@remnic/core 9.57.5 → 9.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/dist/access-admin-ops-surface.d.ts +12 -11
  2. package/dist/access-admin-ops-surface.js +25 -24
  3. package/dist/access-authorization-probe.d.ts +12 -11
  4. package/dist/access-authorization-probe.js +26 -25
  5. package/dist/access-boundary.d.ts +12 -11
  6. package/dist/access-boundary.js +25 -24
  7. package/dist/access-cli.js +77 -76
  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 +12 -11
  11. package/dist/access-extraction-force-flush.js +25 -24
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +12 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +12 -11
  15. package/dist/access-http-offline-stream.d.ts +12 -11
  16. package/dist/access-http-query.js +25 -24
  17. package/dist/access-http.d.ts +13 -12
  18. package/dist/access-http.js +36 -35
  19. package/dist/access-identity-continuity-surface.d.ts +10 -9
  20. package/dist/access-identity-continuity-surface.js +25 -24
  21. package/dist/access-lcm-surface.d.ts +12 -11
  22. package/dist/access-lcm-surface.js +25 -24
  23. package/dist/access-mcp.d.ts +12 -11
  24. package/dist/access-mcp.js +32 -31
  25. package/dist/access-memory-search-fanout.d.ts +2 -2
  26. package/dist/{access-namespace-preflight-Bpt-SYP0.d.ts → access-namespace-preflight-TBXz-8s_.d.ts} +1 -1
  27. package/dist/access-namespace-preflight.d.ts +3 -3
  28. package/dist/access-namespace-preflight.js +25 -24
  29. package/dist/access-observe-write-surface.d.ts +12 -11
  30. package/dist/access-observe-write-surface.js +25 -24
  31. package/dist/access-offline-manifest.d.ts +10 -9
  32. package/dist/access-operations-batch.js +27 -26
  33. package/dist/access-operations.d.ts +15 -14
  34. package/dist/access-operations.js +31 -30
  35. package/dist/access-recall-concurrency.d.ts +12 -11
  36. package/dist/access-recall-concurrency.js +25 -24
  37. package/dist/access-recall-response.d.ts +12 -11
  38. package/dist/access-recall-response.js +25 -24
  39. package/dist/access-recall-surface.d.ts +12 -11
  40. package/dist/access-recall-surface.js +25 -24
  41. package/dist/access-schema.d.ts +88 -88
  42. package/dist/access-schema.js +3 -3
  43. package/dist/{access-service-D9xXmKvd.d.ts → access-service-BQkRul4d.d.ts} +71 -71
  44. package/dist/access-service-helpers.d.ts +12 -11
  45. package/dist/access-service.d.ts +12 -11
  46. package/dist/access-service.js +25 -24
  47. package/dist/access-surface-catalog.d.ts +12 -11
  48. package/dist/access-surface-catalog.js +27 -26
  49. package/dist/access-surface-catalog.js.map +1 -1
  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/active-recall.js +1 -1
  55. package/dist/ambient-provenance.d.ts +1 -1
  56. package/dist/artifact-search.d.ts +1 -1
  57. package/dist/behavior-learner.d.ts +1 -1
  58. package/dist/behavior-signals.d.ts +1 -1
  59. package/dist/bootstrap.d.ts +10 -9
  60. package/dist/briefing-window.d.ts +2 -2
  61. package/dist/briefing.d.ts +2 -2
  62. package/dist/briefing.js +10 -10
  63. package/dist/buffer-surprise-report.d.ts +1 -1
  64. package/dist/buffer-surprise.js +4 -3
  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-BasnO3Bw.d.ts → catalog-z1UerMbh.d.ts} +1 -1
  72. package/dist/causal-behavior.d.ts +2 -1
  73. package/dist/causal-consolidation.d.ts +1 -1
  74. package/dist/causal-consolidation.js +14 -13
  75. package/dist/causal-consolidation.js.map +1 -1
  76. package/dist/causal-trajectory-graph.d.ts +1 -1
  77. package/dist/{chunk-P4BC54KI.js → chunk-2GBFKHBZ.js} +14 -38
  78. package/dist/chunk-2GBFKHBZ.js.map +1 -0
  79. package/dist/{chunk-YTZA7U6Q.js → chunk-2VHCLHZ5.js} +3 -3
  80. package/dist/{chunk-NEJQ65NV.js → chunk-4CLE2LXB.js} +2 -2
  81. package/dist/{chunk-3VFVQDZO.js → chunk-4IIKJOYM.js} +1 -1
  82. package/dist/{chunk-3VFVQDZO.js.map → chunk-4IIKJOYM.js.map} +1 -1
  83. package/dist/{chunk-JLNBQWZ2.js → chunk-5JMAGU26.js} +7 -6
  84. package/dist/{chunk-JLNBQWZ2.js.map → chunk-5JMAGU26.js.map} +1 -1
  85. package/dist/{chunk-VDX2J7OX.js → chunk-5W7CTZ2E.js} +4 -4
  86. package/dist/{chunk-CZUHNJHX.js → chunk-6C7Q6NG3.js} +13 -13
  87. package/dist/chunk-6TBIWIAG.js +201 -0
  88. package/dist/chunk-6TBIWIAG.js.map +1 -0
  89. package/dist/{chunk-4O6R3GPK.js → chunk-6W2ISYUV.js} +4 -4
  90. package/dist/{chunk-3AJOJOFP.js → chunk-77DAFTUU.js} +3 -3
  91. package/dist/{chunk-IKT6ZVO7.js → chunk-7DHFB5SG.js} +3 -3
  92. package/dist/{chunk-SFR7J2G6.js → chunk-7G34CBKS.js} +2 -2
  93. package/dist/{chunk-IT57AOMC.js → chunk-AH2NX6S7.js} +3 -3
  94. package/dist/{chunk-HYQJQGD3.js → chunk-AM4T6CHX.js} +49 -35
  95. package/dist/chunk-AM4T6CHX.js.map +1 -0
  96. package/dist/{chunk-Z54EM5YZ.js → chunk-B2QHVLJO.js} +60 -30
  97. package/dist/chunk-B2QHVLJO.js.map +1 -0
  98. package/dist/{chunk-FI3PIOOI.js → chunk-B4CSPFYN.js} +8 -8
  99. package/dist/{chunk-7PJARJS4.js → chunk-BPM6UHUL.js} +2 -2
  100. package/dist/{chunk-PPUTUOC3.js → chunk-BTHDQOF4.js} +5 -5
  101. package/dist/{chunk-AW4A4XOP.js → chunk-CZGOLAEW.js} +41 -41
  102. package/dist/{chunk-5PGYCWA7.js → chunk-DE6YCZEE.js} +2 -2
  103. package/dist/{chunk-JOA4Q765.js → chunk-EUYWQ7TS.js} +2 -2
  104. package/dist/{chunk-O5AFC5KM.js → chunk-EWL5DICB.js} +2 -2
  105. package/dist/{chunk-4YZCIK5E.js → chunk-EZXGJJXM.js} +2 -2
  106. package/dist/{chunk-GXIY65UH.js → chunk-FI5EAP4N.js} +2 -2
  107. package/dist/{chunk-YOKSRIFI.js → chunk-FUWS2MNJ.js} +4 -4
  108. package/dist/{chunk-6RK2X7BR.js → chunk-G3JFFUKR.js} +2 -2
  109. package/dist/{chunk-VANZKHTN.js → chunk-G5OB4XZX.js} +4 -4
  110. package/dist/{chunk-66SLUXKM.js → chunk-HK6KYIF6.js} +2 -2
  111. package/dist/{chunk-XBGLEOID.js → chunk-I4BLRM7X.js} +9 -9
  112. package/dist/{chunk-5ZIWRMZM.js → chunk-IVKIODHO.js} +7 -6
  113. package/dist/chunk-IVKIODHO.js.map +1 -0
  114. package/dist/{chunk-6SX4MY5Q.js → chunk-J65AKOD6.js} +2 -2
  115. package/dist/{chunk-BPWZDHFM.js → chunk-J6QIAYNR.js} +2 -2
  116. package/dist/{chunk-XL3TATMJ.js → chunk-JHMAYABJ.js} +4 -4
  117. package/dist/{chunk-F7M36OG2.js → chunk-JNWISMYG.js} +10 -10
  118. package/dist/{chunk-VYIXCMUP.js → chunk-KBIIE57I.js} +3 -3
  119. package/dist/{chunk-QKPDN325.js → chunk-KF75ANST.js} +6 -3
  120. package/dist/chunk-KF75ANST.js.map +1 -0
  121. package/dist/{chunk-24PNX2GF.js → chunk-KXYMU4IN.js} +3 -3
  122. package/dist/{chunk-FKTD7IVS.js → chunk-L3JVAM5Q.js} +2 -2
  123. package/dist/{chunk-5QHDXMXP.js → chunk-LLZKOSGM.js} +1 -1
  124. package/dist/{chunk-5QHDXMXP.js.map → chunk-LLZKOSGM.js.map} +1 -1
  125. package/dist/{chunk-LIF6DO6U.js → chunk-MG7GI4TT.js} +2 -2
  126. package/dist/{chunk-RUZM6Z52.js → chunk-MMZK2DWN.js} +1 -1
  127. package/dist/{chunk-NTJ6TY44.js → chunk-ODAE36PG.js} +3 -3
  128. package/dist/{chunk-QFN4U7AG.js → chunk-ODZKV2F7.js} +3 -3
  129. package/dist/{chunk-QFN4U7AG.js.map → chunk-ODZKV2F7.js.map} +1 -1
  130. package/dist/{chunk-YLHM5BQQ.js → chunk-OLX2HJFW.js} +4 -4
  131. package/dist/{chunk-DNC4A7RS.js → chunk-OU7RWWW6.js} +2 -2
  132. package/dist/{chunk-L3LRWDJW.js → chunk-OV36CROW.js} +3 -3
  133. package/dist/{chunk-BXLOS5AJ.js → chunk-OWHERGF2.js} +2 -2
  134. package/dist/{chunk-CSV34HIW.js → chunk-P5OYNV7B.js} +2 -2
  135. package/dist/{chunk-SNW3YRO6.js → chunk-P6GOYLHN.js} +2 -2
  136. package/dist/{chunk-C5B3CIMJ.js → chunk-PFPNUFKZ.js} +109 -59
  137. package/dist/chunk-PFPNUFKZ.js.map +1 -0
  138. package/dist/{chunk-USGKHF36.js → chunk-QUJC22CT.js} +2 -2
  139. package/dist/{chunk-BVRREV3N.js → chunk-R7IV3EUJ.js} +2 -2
  140. package/dist/{chunk-KSXJOC4F.js → chunk-RDFF2NAU.js} +18 -8
  141. package/dist/chunk-RDFF2NAU.js.map +1 -0
  142. package/dist/{chunk-D4LVHPOA.js → chunk-RXN7Z2V5.js} +3 -3
  143. package/dist/{chunk-7VSHDLJQ.js → chunk-T2VJ2EO5.js} +6 -6
  144. package/dist/chunk-TOTT6S2V.js +20 -0
  145. package/dist/chunk-TOTT6S2V.js.map +1 -0
  146. package/dist/{chunk-U7BMN33M.js → chunk-UBSM6TZP.js} +2 -2
  147. package/dist/{chunk-DQEMWVMT.js → chunk-UVYI6VIX.js} +1 -1
  148. package/dist/{chunk-U7XLOSG2.js → chunk-VIM6QH4D.js} +2 -2
  149. package/dist/{chunk-LJJWFV2Q.js → chunk-VJXSAJFW.js} +2 -2
  150. package/dist/{chunk-HZC3OECF.js → chunk-VOKK4WCG.js} +2 -2
  151. package/dist/{chunk-LTAVSOZW.js → chunk-WVP2I6C5.js} +5 -4
  152. package/dist/chunk-WVP2I6C5.js.map +1 -0
  153. package/dist/{chunk-LRDP2AC2.js → chunk-YBCZTBN2.js} +2 -2
  154. package/dist/{chunk-USAUBGBC.js → chunk-YKZFX2HQ.js} +2 -2
  155. package/dist/{chunk-I2GIYTRU.js → chunk-ZOGOOSB3.js} +2 -2
  156. package/dist/{chunk-PBGWYM3H.js → chunk-ZPUIRTIZ.js} +27 -15
  157. package/dist/chunk-ZPUIRTIZ.js.map +1 -0
  158. package/dist/chunking.d.ts +3 -1
  159. package/dist/chunking.js +8 -3
  160. package/dist/{cli-DTOkYhKI.d.ts → cli-DsyVvOFP.d.ts} +5 -5
  161. package/dist/cli.d.ts +14 -13
  162. package/dist/cli.js +57 -56
  163. package/dist/coding/pre-action-gate.d.ts +1 -1
  164. package/dist/compounding/engine.d.ts +2 -2
  165. package/dist/compounding/engine.js +10 -10
  166. package/dist/compounding/preference-consolidator.d.ts +2 -1
  167. package/dist/compression-optimizer.d.ts +1 -1
  168. package/dist/config.d.ts +1 -1
  169. package/dist/config.js +1 -1
  170. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  171. package/dist/connectors/codex-materialize-runner.js +12 -11
  172. package/dist/connectors/codex-materialize.d.ts +7 -12
  173. package/dist/connectors/codex-materialize.js +2 -1
  174. package/dist/connectors/index.d.ts +1 -1
  175. package/dist/connectors/index.js +12 -11
  176. package/dist/consolidation-provenance-check.d.ts +2 -2
  177. package/dist/consolidation-undo.d.ts +2 -2
  178. package/dist/contradiction/index.d.ts +2 -2
  179. package/dist/contradiction/index.js +4 -4
  180. package/dist/converge-config.d.ts +1 -1
  181. package/dist/convergence-refresh.d.ts +2 -2
  182. package/dist/convergence-refresh.js +12 -12
  183. package/dist/conversation-index/backend.d.ts +1 -1
  184. package/dist/conversation-index/chunker.d.ts +1 -1
  185. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  186. package/dist/conversation-index/indexer.d.ts +1 -1
  187. package/dist/conversation-index/search.d.ts +1 -1
  188. package/dist/corpus-watermark.d.ts +1 -1
  189. package/dist/corpus-watermark.js +12 -12
  190. package/dist/day-summary.d.ts +1 -1
  191. package/dist/day-summary.js +3 -2
  192. package/dist/delinearize.d.ts +1 -1
  193. package/dist/dependency-propagation-config.d.ts +1 -1
  194. package/dist/{dependency-propagation-delivery-C_K_AHcv.d.ts → dependency-propagation-delivery-DdwSc1qh.d.ts} +1 -1
  195. package/dist/direct-answer-wiring.d.ts +1 -1
  196. package/dist/direct-answer.d.ts +1 -1
  197. package/dist/embedding-fallback.d.ts +1 -1
  198. package/dist/enrichment/index.d.ts +1 -1
  199. package/dist/entity-retrieval.d.ts +2 -2
  200. package/dist/entity-retrieval.js +10 -10
  201. package/dist/entity-schema.d.ts +1 -1
  202. package/dist/explicit-capture.d.ts +10 -9
  203. package/dist/external-wiki-access.d.ts +12 -11
  204. package/dist/external-wiki-access.js +26 -25
  205. package/dist/external-wiki-collection-registration.d.ts +1 -1
  206. package/dist/external-wiki-collection.d.ts +1 -1
  207. package/dist/external-wiki-mcp-tools.d.ts +12 -11
  208. package/dist/extraction-error-classification.d.ts +1 -1
  209. package/dist/extraction-faithfulness.d.ts +1 -1
  210. package/dist/extraction-judge-telemetry.d.ts +1 -1
  211. package/dist/extraction-judge-training.d.ts +1 -1
  212. package/dist/extraction-judge.d.ts +1 -1
  213. package/dist/extraction-liveness.d.ts +1 -1
  214. package/dist/extraction-normalization.d.ts +1 -1
  215. package/dist/extraction-prompt.d.ts +1 -1
  216. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  217. package/dist/extraction-source-grounding.d.ts +1 -1
  218. package/dist/extraction.d.ts +1 -1
  219. package/dist/extraction.js +16 -15
  220. package/dist/fallback-llm.d.ts +1 -1
  221. package/dist/graph-dashboard-diff.d.ts +1 -1
  222. package/dist/graph-dashboard-key.d.ts +1 -1
  223. package/dist/graph-dashboard-parser.d.ts +1 -1
  224. package/dist/graph-edge-reinforcement.d.ts +1 -1
  225. package/dist/graph-path-reconstruction.d.ts +1 -1
  226. package/dist/graph-path-scoring.d.ts +1 -1
  227. package/dist/graph-snapshot.d.ts +1 -1
  228. package/dist/graph.d.ts +1 -1
  229. package/dist/harmonic-retrieval.js +1 -1
  230. package/dist/importance.d.ts +1 -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 +698 -697
  234. package/dist/index.js +81 -80
  235. package/dist/intent.d.ts +1 -1
  236. package/dist/lcm/archive.d.ts +3 -2
  237. package/dist/lcm/archive.js +2 -1
  238. package/dist/lcm/engine.d.ts +2 -1
  239. package/dist/lcm/engine.js +5 -4
  240. package/dist/lcm/index.d.ts +2 -1
  241. package/dist/lcm/index.js +7 -6
  242. package/dist/lcm/recall.d.ts +1 -0
  243. package/dist/lcm/summarizer.d.ts +1 -0
  244. package/dist/lcm/summarizer.js +3 -2
  245. package/dist/lcm/tools.d.ts +2 -1
  246. package/dist/lifecycle.d.ts +1 -1
  247. package/dist/live-connectors-runner.d.ts +1 -1
  248. package/dist/local-llm.d.ts +2 -3
  249. package/dist/local-llm.js +2 -1
  250. package/dist/local-model-endpoint.d.ts +1 -1
  251. package/dist/maintenance/memory-governance.d.ts +1 -1
  252. package/dist/maintenance/memory-governance.js +10 -10
  253. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  254. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -10
  255. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  256. package/dist/maintenance/rebuild-memory-projection.js +11 -11
  257. package/dist/{maintenance-DdP931i9.d.ts → maintenance-DvkiF7fm.d.ts} +3 -3
  258. package/dist/mcp-memory-inspector-app.d.ts +12 -11
  259. package/dist/memory-action-policy.d.ts +1 -1
  260. package/dist/memory-cache.d.ts +1 -1
  261. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  262. package/dist/memory-projection-store.d.ts +1 -1
  263. package/dist/memory-provenance.d.ts +1 -1
  264. package/dist/memory-snapshot.d.ts +1 -1
  265. package/dist/memory-worth-outcomes.d.ts +2 -2
  266. package/dist/models-json.d.ts +1 -1
  267. package/dist/namespaces/migrate.d.ts +3 -3
  268. package/dist/namespaces/migrate.js +11 -11
  269. package/dist/namespaces/principal.d.ts +1 -1
  270. package/dist/namespaces/search.d.ts +1 -1
  271. package/dist/namespaces/search.js +7 -7
  272. package/dist/namespaces/storage.d.ts +3 -3
  273. package/dist/namespaces/storage.js +10 -10
  274. package/dist/native-knowledge.d.ts +1 -1
  275. package/dist/offline-sync-impression-drain.d.ts +1 -1
  276. package/dist/operator-doctor-corpus.d.ts +1 -1
  277. package/dist/operator-doctor-corpus.js +13 -13
  278. package/dist/operator-doctor-replica.d.ts +1 -1
  279. package/dist/operator-toolkit.d.ts +3 -3
  280. package/dist/operator-toolkit.js +18 -18
  281. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  282. package/dist/orchestration/maintenance.d.ts +4 -4
  283. package/dist/orchestration/maintenance.js +15 -15
  284. package/dist/{orchestrator-DxUWX7gs.d.ts → orchestrator-CXPIzs3D.d.ts} +9 -9
  285. package/dist/orchestrator.d.ts +10 -9
  286. package/dist/orchestrator.js +77 -76
  287. package/dist/patterns-cli.d.ts +1 -1
  288. package/dist/{pipeline-BKUMU1vU.d.ts → pipeline-BuYWU9rt.d.ts} +1 -1
  289. package/dist/policy-runtime.d.ts +1 -1
  290. package/dist/proactive-contention.d.ts +1 -1
  291. package/dist/provenance.d.ts +1 -1
  292. package/dist/{public-http-C01DLhAp.d.ts → public-http-m9x1Qyzn.d.ts} +1 -1
  293. package/dist/{qmd-DJP-GLFe.d.ts → qmd-DYnrPw-m.d.ts} +1 -1
  294. package/dist/qmd-preflight.d.ts +2 -2
  295. package/dist/qmd-recall-cache.d.ts +1 -1
  296. package/dist/qmd.d.ts +2 -2
  297. package/dist/recall-concurrency-config.d.ts +1 -1
  298. package/dist/recall-disclosure-escalation.d.ts +1 -1
  299. package/dist/recall-explain-renderer.d.ts +1 -1
  300. package/dist/recall-explain-renderer.js +4 -3
  301. package/dist/recall-memory-map.d.ts +1 -1
  302. package/dist/recall-planner-llm.d.ts +1 -1
  303. package/dist/recall-state.d.ts +1 -1
  304. package/dist/recall-tag-filter.d.ts +1 -1
  305. package/dist/recall-timings.d.ts +1 -1
  306. package/dist/recall-xray-cli.d.ts +1 -1
  307. package/dist/recall-xray-cli.js +5 -4
  308. package/dist/recall-xray-renderer.d.ts +1 -1
  309. package/dist/recall-xray-renderer.js +4 -3
  310. package/dist/recall-xray.d.ts +2 -7
  311. package/dist/recall-xray.js +3 -2
  312. package/dist/reconcile/cursor.d.ts +1 -1
  313. package/dist/reconcile/manifest.d.ts +1 -1
  314. package/dist/reconcile/plan.d.ts +1 -1
  315. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  316. package/dist/replay/normalizers/claude.d.ts +1 -1
  317. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  318. package/dist/replay/normalizers/shared.d.ts +1 -1
  319. package/dist/replay/runner.d.ts +1 -1
  320. package/dist/replay/types.d.ts +1 -1
  321. package/dist/replica-divergence.d.ts +1 -1
  322. package/dist/replica-peers-config.d.ts +1 -1
  323. package/dist/resolve-auth-token.d.ts +1 -1
  324. package/dist/resume-bundles.js +4 -3
  325. package/dist/retrieval-agents.d.ts +2 -2
  326. package/dist/retrieval-tiers.d.ts +1 -1
  327. package/dist/routing/engine.d.ts +1 -1
  328. package/dist/routing/store.d.ts +1 -1
  329. package/dist/salvage-envelope.d.ts +1 -1
  330. package/dist/schemas.d.ts +138 -138
  331. package/dist/{scope-profiles-CaKcnB-6.d.ts → scope-profiles-C1QG4Cmv.d.ts} +1 -1
  332. package/dist/search/embed-helper.d.ts +1 -1
  333. package/dist/search/factory.d.ts +1 -1
  334. package/dist/search/factory.js +6 -6
  335. package/dist/search/index.d.ts +1 -1
  336. package/dist/search/index.js +11 -11
  337. package/dist/search/lancedb-backend.d.ts +1 -1
  338. package/dist/search/lancedb-backend.js +2 -2
  339. package/dist/search/meilisearch-backend.d.ts +1 -1
  340. package/dist/search/meilisearch-backend.js +2 -2
  341. package/dist/search/noop-backend.d.ts +1 -1
  342. package/dist/search/orama-backend.d.ts +1 -1
  343. package/dist/search/orama-backend.js +2 -2
  344. package/dist/search/port.d.ts +1 -1
  345. package/dist/search/remote-backend.d.ts +1 -1
  346. package/dist/semantic-chunking.js +3 -2
  347. package/dist/{semantic-consolidation-P0eMWqh-.d.ts → semantic-consolidation-DMeX8XS0.d.ts} +1 -1
  348. package/dist/semantic-consolidation.d.ts +2 -2
  349. package/dist/semantic-consolidation.js +14 -13
  350. package/dist/semantic-rule-promotion.js +10 -10
  351. package/dist/semantic-rule-verifier.d.ts +1 -1
  352. package/dist/semantic-rule-verifier.js +10 -10
  353. package/dist/{service-D5GQLxq_.d.ts → service-CT3ENiTO.d.ts} +2 -2
  354. package/dist/session-observer-bands.d.ts +1 -1
  355. package/dist/session-observer-state.d.ts +1 -1
  356. package/dist/session-observer-state.js +1 -1
  357. package/dist/shared-context/manager.d.ts +9 -9
  358. package/dist/signal.d.ts +1 -1
  359. package/dist/source-agent-qualifier.d.ts +1 -1
  360. package/dist/source-agent-qualifier.js +12 -11
  361. package/dist/{storage-DIyil2ll.d.ts → storage-B0L76y7N.d.ts} +1 -1
  362. package/dist/storage.d.ts +2 -2
  363. package/dist/storage.js +9 -9
  364. package/dist/summarizer.d.ts +1 -1
  365. package/dist/summarizer.js +3 -2
  366. package/dist/summary-snapshot.d.ts +1 -1
  367. package/dist/support-passport/index.d.ts +15 -14
  368. package/dist/support-passport/index.js +28 -27
  369. package/dist/temporal-supersession.d.ts +2 -2
  370. package/dist/temporal-timeline-recall.d.ts +1 -1
  371. package/dist/temporal-validity.d.ts +1 -1
  372. package/dist/threading.d.ts +1 -1
  373. package/dist/tier-migration.d.ts +2 -2
  374. package/dist/tier-routing.d.ts +1 -1
  375. package/dist/token-estimate.d.ts +10 -0
  376. package/dist/token-estimate.js +8 -0
  377. package/dist/token-estimate.js.map +1 -0
  378. package/dist/topics.d.ts +1 -1
  379. package/dist/transcript.d.ts +1 -6
  380. package/dist/transcript.js +2 -1
  381. package/dist/transfer/backup.js +2 -2
  382. package/dist/transfer/capsule-export.js +2 -2
  383. package/dist/transfer/capsule-import.js +2 -2
  384. package/dist/transfer/types.d.ts +66 -66
  385. package/dist/trust-score-stage.d.ts +1 -1
  386. package/dist/trust-score.d.ts +1 -1
  387. package/dist/{types-CbXieHKr.d.ts → types-D7pB0QwO.d.ts} +1 -1
  388. package/dist/types.d.ts +1 -1
  389. package/dist/types.js +1 -1
  390. package/dist/utility-runtime.d.ts +1 -1
  391. package/dist/verified-recall.js +10 -10
  392. package/dist/write-envelope.d.ts +1 -1
  393. package/package.json +12 -2
  394. package/src/chunking.ts +124 -45
  395. package/src/config.ts +2 -0
  396. package/src/connectors/codex-materialize.ts +21 -26
  397. package/src/lcm/archive.ts +4 -5
  398. package/src/lcm/engine.ts +55 -34
  399. package/src/lcm/summarizer.ts +27 -16
  400. package/src/lcm-engine.test.ts +82 -2
  401. package/src/local-llm.ts +4 -6
  402. package/src/memory-extension-host/render-extensions-block.ts +3 -9
  403. package/src/orchestration/recall-section-coordinator.ts +93 -27
  404. package/src/recall-token-budget.test.ts +51 -0
  405. package/src/recall-xray.ts +4 -11
  406. package/src/semantic-chunking.ts +14 -59
  407. package/src/session-observer-state.ts +3 -3
  408. package/src/testing/subjects/recall-budget.test.ts +21 -5
  409. package/src/token-estimate.test.ts +38 -0
  410. package/src/token-estimate.ts +22 -0
  411. package/src/transcript.test.ts +38 -3
  412. package/src/transcript.ts +58 -59
  413. package/src/types.ts +1 -1
  414. package/dist/chunk-5ZIWRMZM.js.map +0 -1
  415. package/dist/chunk-C5B3CIMJ.js.map +0 -1
  416. package/dist/chunk-HYQJQGD3.js.map +0 -1
  417. package/dist/chunk-KSXJOC4F.js.map +0 -1
  418. package/dist/chunk-LTAVSOZW.js.map +0 -1
  419. package/dist/chunk-P4BC54KI.js.map +0 -1
  420. package/dist/chunk-PBGWYM3H.js.map +0 -1
  421. package/dist/chunk-QKPDN325.js.map +0 -1
  422. package/dist/chunk-UQ7RN5HK.js +0 -126
  423. package/dist/chunk-UQ7RN5HK.js.map +0 -1
  424. package/dist/chunk-Z54EM5YZ.js.map +0 -1
  425. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
  426. /package/dist/{chunk-YTZA7U6Q.js.map → chunk-2VHCLHZ5.js.map} +0 -0
  427. /package/dist/{chunk-NEJQ65NV.js.map → chunk-4CLE2LXB.js.map} +0 -0
  428. /package/dist/{chunk-VDX2J7OX.js.map → chunk-5W7CTZ2E.js.map} +0 -0
  429. /package/dist/{chunk-CZUHNJHX.js.map → chunk-6C7Q6NG3.js.map} +0 -0
  430. /package/dist/{chunk-4O6R3GPK.js.map → chunk-6W2ISYUV.js.map} +0 -0
  431. /package/dist/{chunk-3AJOJOFP.js.map → chunk-77DAFTUU.js.map} +0 -0
  432. /package/dist/{chunk-IKT6ZVO7.js.map → chunk-7DHFB5SG.js.map} +0 -0
  433. /package/dist/{chunk-SFR7J2G6.js.map → chunk-7G34CBKS.js.map} +0 -0
  434. /package/dist/{chunk-IT57AOMC.js.map → chunk-AH2NX6S7.js.map} +0 -0
  435. /package/dist/{chunk-FI3PIOOI.js.map → chunk-B4CSPFYN.js.map} +0 -0
  436. /package/dist/{chunk-7PJARJS4.js.map → chunk-BPM6UHUL.js.map} +0 -0
  437. /package/dist/{chunk-PPUTUOC3.js.map → chunk-BTHDQOF4.js.map} +0 -0
  438. /package/dist/{chunk-AW4A4XOP.js.map → chunk-CZGOLAEW.js.map} +0 -0
  439. /package/dist/{chunk-5PGYCWA7.js.map → chunk-DE6YCZEE.js.map} +0 -0
  440. /package/dist/{chunk-JOA4Q765.js.map → chunk-EUYWQ7TS.js.map} +0 -0
  441. /package/dist/{chunk-O5AFC5KM.js.map → chunk-EWL5DICB.js.map} +0 -0
  442. /package/dist/{chunk-4YZCIK5E.js.map → chunk-EZXGJJXM.js.map} +0 -0
  443. /package/dist/{chunk-GXIY65UH.js.map → chunk-FI5EAP4N.js.map} +0 -0
  444. /package/dist/{chunk-YOKSRIFI.js.map → chunk-FUWS2MNJ.js.map} +0 -0
  445. /package/dist/{chunk-6RK2X7BR.js.map → chunk-G3JFFUKR.js.map} +0 -0
  446. /package/dist/{chunk-VANZKHTN.js.map → chunk-G5OB4XZX.js.map} +0 -0
  447. /package/dist/{chunk-66SLUXKM.js.map → chunk-HK6KYIF6.js.map} +0 -0
  448. /package/dist/{chunk-XBGLEOID.js.map → chunk-I4BLRM7X.js.map} +0 -0
  449. /package/dist/{chunk-6SX4MY5Q.js.map → chunk-J65AKOD6.js.map} +0 -0
  450. /package/dist/{chunk-BPWZDHFM.js.map → chunk-J6QIAYNR.js.map} +0 -0
  451. /package/dist/{chunk-XL3TATMJ.js.map → chunk-JHMAYABJ.js.map} +0 -0
  452. /package/dist/{chunk-F7M36OG2.js.map → chunk-JNWISMYG.js.map} +0 -0
  453. /package/dist/{chunk-VYIXCMUP.js.map → chunk-KBIIE57I.js.map} +0 -0
  454. /package/dist/{chunk-24PNX2GF.js.map → chunk-KXYMU4IN.js.map} +0 -0
  455. /package/dist/{chunk-FKTD7IVS.js.map → chunk-L3JVAM5Q.js.map} +0 -0
  456. /package/dist/{chunk-LIF6DO6U.js.map → chunk-MG7GI4TT.js.map} +0 -0
  457. /package/dist/{chunk-RUZM6Z52.js.map → chunk-MMZK2DWN.js.map} +0 -0
  458. /package/dist/{chunk-NTJ6TY44.js.map → chunk-ODAE36PG.js.map} +0 -0
  459. /package/dist/{chunk-YLHM5BQQ.js.map → chunk-OLX2HJFW.js.map} +0 -0
  460. /package/dist/{chunk-DNC4A7RS.js.map → chunk-OU7RWWW6.js.map} +0 -0
  461. /package/dist/{chunk-L3LRWDJW.js.map → chunk-OV36CROW.js.map} +0 -0
  462. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-OWHERGF2.js.map} +0 -0
  463. /package/dist/{chunk-CSV34HIW.js.map → chunk-P5OYNV7B.js.map} +0 -0
  464. /package/dist/{chunk-SNW3YRO6.js.map → chunk-P6GOYLHN.js.map} +0 -0
  465. /package/dist/{chunk-USGKHF36.js.map → chunk-QUJC22CT.js.map} +0 -0
  466. /package/dist/{chunk-BVRREV3N.js.map → chunk-R7IV3EUJ.js.map} +0 -0
  467. /package/dist/{chunk-D4LVHPOA.js.map → chunk-RXN7Z2V5.js.map} +0 -0
  468. /package/dist/{chunk-7VSHDLJQ.js.map → chunk-T2VJ2EO5.js.map} +0 -0
  469. /package/dist/{chunk-U7BMN33M.js.map → chunk-UBSM6TZP.js.map} +0 -0
  470. /package/dist/{chunk-DQEMWVMT.js.map → chunk-UVYI6VIX.js.map} +0 -0
  471. /package/dist/{chunk-U7XLOSG2.js.map → chunk-VIM6QH4D.js.map} +0 -0
  472. /package/dist/{chunk-LJJWFV2Q.js.map → chunk-VJXSAJFW.js.map} +0 -0
  473. /package/dist/{chunk-HZC3OECF.js.map → chunk-VOKK4WCG.js.map} +0 -0
  474. /package/dist/{chunk-LRDP2AC2.js.map → chunk-YBCZTBN2.js.map} +0 -0
  475. /package/dist/{chunk-USAUBGBC.js.map → chunk-YKZFX2HQ.js.map} +0 -0
  476. /package/dist/{chunk-I2GIYTRU.js.map → chunk-ZOGOOSB3.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
5
5
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
6
6
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
7
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DxUWX7gs.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-CXPIzs3D.js';
8
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
9
9
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
10
10
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
@@ -15,8 +15,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
15
15
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
16
16
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
17
17
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
18
- import { S as StorageManager, a as MeetingRecordStore } from './storage-DIyil2ll.js';
19
- 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-DIyil2ll.js';
18
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-B0L76y7N.js';
19
+ 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-B0L76y7N.js';
20
20
  import { SealedMemoryEnvelope } from './write-envelope.js';
21
21
  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';
22
22
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -25,13 +25,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
25
25
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
26
26
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
27
27
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
28
- import { C as CodingContext, bi as CodingModeConfig, aQ 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, w 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, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aS as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-CbXieHKr.js';
29
- export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aN as FusedMeeting, bL as FusedSegmentProvenance, b0 as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, aR as MeetingActivitySnapshot, aL as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bZ as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-CbXieHKr.js';
28
+ import { C as CodingContext, bi as CodingModeConfig, aQ 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, w 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, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aS as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-D7pB0QwO.js';
29
+ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aN as FusedMeeting, bL as FusedSegmentProvenance, b0 as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, aR as MeetingActivitySnapshot, aL as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bZ as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-D7pB0QwO.js';
30
30
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
31
31
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
32
32
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
33
- import { f as EngramAccessService } from './access-service-D9xXmKvd.js';
34
- 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-D9xXmKvd.js';
33
+ import { f as EngramAccessService } from './access-service-BQkRul4d.js';
34
+ 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-BQkRul4d.js';
35
35
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
36
36
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
37
37
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -39,23 +39,23 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
39
39
  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';
40
40
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
41
41
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
42
- export { Q as QmdClient } from './qmd-DJP-GLFe.js';
42
+ export { Q as QmdClient } from './qmd-DYnrPw-m.js';
43
43
  export { LanceDbBackend } from './search/lancedb-backend.js';
44
44
  export { OramaBackend } from './search/orama-backend.js';
45
45
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
46
46
  export { buildEntityRecallSection } from './entity-retrieval.js';
47
47
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
48
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-BasnO3Bw.js';
48
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-z1UerMbh.js';
49
49
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
50
50
  export { storagePathHash } from './storage-paths.js';
51
51
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
52
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DTOkYhKI.js';
52
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DsyVvOFP.js';
53
53
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
54
54
  export { EngramMcpServer } from './access-mcp.js';
55
55
  import { BoundOperation } from './access-boundary.js';
56
56
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
57
57
  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';
58
- 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-C01DLhAp.js';
58
+ 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-m9x1Qyzn.js';
59
59
  import { z } from 'zod';
60
60
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
61
61
  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';
@@ -79,8 +79,8 @@ export { initLogger, log } from './logger.js';
79
79
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
80
80
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
81
81
  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';
82
- import { D as DiscoveredExtension } from './semantic-consolidation-P0eMWqh-.js';
83
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-P0eMWqh-.js';
82
+ import { D as DiscoveredExtension } from './semantic-consolidation-DMeX8XS0.js';
83
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DMeX8XS0.js';
84
84
  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';
85
85
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
86
86
  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';
@@ -95,11 +95,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
95
95
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
96
96
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
97
97
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
98
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-BKUMU1vU.js';
99
- 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-D5GQLxq_.js';
100
- 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-D5GQLxq_.js';
101
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DdP931i9.js';
102
- 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-DdP931i9.js';
98
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-BuYWU9rt.js';
99
+ 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-CT3ENiTO.js';
100
+ 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-CT3ENiTO.js';
101
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DvkiF7fm.js';
102
+ 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-DvkiF7fm.js';
103
103
  import { SearchExecutionOptions } from './search/port.js';
104
104
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
105
105
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -117,7 +117,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
117
117
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
118
118
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
119
119
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
120
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-CaKcnB-6.js';
120
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-C1QG4Cmv.js';
121
121
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
122
122
  export { ContinuityImprovementLoop } from './types-continuity.js';
123
123
  export { EngramAccessInputError } from './access-errors.js';
@@ -166,7 +166,7 @@ import './conversation-index/chunker.js';
166
166
  import './conversation-index/backend.js';
167
167
  import './faiss-adapter-BHecI1fF.js';
168
168
  import './runtime/child-process.js';
169
- import './dependency-propagation-delivery-C_K_AHcv.js';
169
+ import './dependency-propagation-delivery-DdwSc1qh.js';
170
170
  import './namespaces/storage.js';
171
171
  import './threading.js';
172
172
  import './graph-444E-DrF.js';
@@ -176,6 +176,7 @@ import './session-observer-state.js';
176
176
  import './replay/types.js';
177
177
  import './lcm/engine.js';
178
178
  import './lcm/archive.js';
179
+ import './token-estimate.js';
179
180
  import './lcm/summarizer.js';
180
181
  import './lcm/dag.js';
181
182
  import './lcm/recall.js';
@@ -185,7 +186,7 @@ import './policy-runtime.js';
185
186
  import './profiling.js';
186
187
  import './schemas.js';
187
188
  import './extraction-error-classification.js';
188
- import './access-namespace-preflight-Bpt-SYP0.js';
189
+ import './access-namespace-preflight-TBXz-8s_.js';
189
190
  import './recall-explain-renderer.js';
190
191
  import './access-citation.js';
191
192
  import './access-health-types.js';
@@ -948,15 +949,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
948
949
  locator: z.ZodOptional<z.ZodString>;
949
950
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
950
951
  }, "strict", z.ZodTypeAny, {
951
- id: string;
952
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
952
953
  label: string;
953
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
+ id: string;
954
955
  capture: "at_action" | "historical_lookup" | "fixture";
955
956
  locator?: string | undefined;
956
957
  }, {
957
- id: string;
958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
958
959
  label: string;
959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
960
+ id: string;
960
961
  capture: "at_action" | "historical_lookup" | "fixture";
961
962
  locator?: string | undefined;
962
963
  }>;
@@ -973,15 +974,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
973
974
  locator: z.ZodOptional<z.ZodString>;
974
975
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
975
976
  }, "strict", z.ZodTypeAny, {
976
- id: string;
977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
977
978
  label: string;
978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
+ id: string;
979
980
  capture: "at_action" | "historical_lookup" | "fixture";
980
981
  locator?: string | undefined;
981
982
  }, {
982
- id: string;
983
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
983
984
  label: string;
984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
985
+ id: string;
985
986
  capture: "at_action" | "historical_lookup" | "fixture";
986
987
  locator?: string | undefined;
987
988
  }>, "many">>;
@@ -989,9 +990,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
989
990
  kind: "mission_started";
990
991
  title: string;
991
992
  evidence: {
992
- id: string;
993
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
993
994
  label: string;
994
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
995
+ id: string;
995
996
  capture: "at_action" | "historical_lookup" | "fixture";
996
997
  locator?: string | undefined;
997
998
  }[];
@@ -1003,9 +1004,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1003
1004
  objective: string;
1004
1005
  runMode: "replay" | "fixture" | "live";
1005
1006
  evidence?: {
1006
- id: string;
1007
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1007
1008
  label: string;
1008
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1009
+ id: string;
1009
1010
  capture: "at_action" | "historical_lookup" | "fixture";
1010
1011
  locator?: string | undefined;
1011
1012
  }[] | undefined;
@@ -1021,15 +1022,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1021
1022
  locator: z.ZodOptional<z.ZodString>;
1022
1023
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1023
1024
  }, "strict", z.ZodTypeAny, {
1024
- id: string;
1025
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1025
1026
  label: string;
1026
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
+ id: string;
1027
1028
  capture: "at_action" | "historical_lookup" | "fixture";
1028
1029
  locator?: string | undefined;
1029
1030
  }, {
1030
- id: string;
1031
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1031
1032
  label: string;
1032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1033
+ id: string;
1033
1034
  capture: "at_action" | "historical_lookup" | "fixture";
1034
1035
  locator?: string | undefined;
1035
1036
  }>, "many">>;
@@ -1037,32 +1038,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1037
1038
  sessionId: z.ZodString;
1038
1039
  kind: z.ZodLiteral<"agent_status">;
1039
1040
  }, "strict", z.ZodTypeAny, {
1040
- label: string;
1041
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1042
1041
  kind: "agent_status";
1042
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1043
+ label: string;
1043
1044
  role: string;
1044
1045
  agentId: string;
1045
1046
  sessionId: string;
1046
1047
  evidence: {
1047
- id: string;
1048
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1048
1049
  label: string;
1049
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
+ id: string;
1050
1051
  capture: "at_action" | "historical_lookup" | "fixture";
1051
1052
  locator?: string | undefined;
1052
1053
  }[];
1053
1054
  detail?: string | undefined;
1054
1055
  }, {
1055
- label: string;
1056
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1057
1056
  kind: "agent_status";
1057
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1058
+ label: string;
1058
1059
  role: string;
1059
1060
  agentId: string;
1060
1061
  sessionId: string;
1061
1062
  detail?: string | undefined;
1062
1063
  evidence?: {
1063
- id: string;
1064
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1064
1065
  label: string;
1065
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1066
+ id: string;
1066
1067
  capture: "at_action" | "historical_lookup" | "fixture";
1067
1068
  locator?: string | undefined;
1068
1069
  }[] | undefined;
@@ -1076,15 +1077,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1076
1077
  locator: z.ZodOptional<z.ZodString>;
1077
1078
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1078
1079
  }, "strict", z.ZodTypeAny, {
1079
- id: string;
1080
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1080
1081
  label: string;
1081
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
+ id: string;
1082
1083
  capture: "at_action" | "historical_lookup" | "fixture";
1083
1084
  locator?: string | undefined;
1084
1085
  }, {
1085
- id: string;
1086
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1086
1087
  label: string;
1087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1088
+ id: string;
1088
1089
  capture: "at_action" | "historical_lookup" | "fixture";
1089
1090
  locator?: string | undefined;
1090
1091
  }>, "many">>;
@@ -1092,28 +1093,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1092
1093
  sessionId: z.ZodString;
1093
1094
  kind: z.ZodLiteral<"agent_output">;
1094
1095
  }, "strict", z.ZodTypeAny, {
1095
- summary: string;
1096
1096
  kind: "agent_output";
1097
+ summary: string;
1097
1098
  agentId: string;
1098
1099
  sessionId: string;
1099
1100
  evidence: {
1100
- id: string;
1101
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1101
1102
  label: string;
1102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
+ id: string;
1103
1104
  capture: "at_action" | "historical_lookup" | "fixture";
1104
1105
  locator?: string | undefined;
1105
1106
  }[];
1106
1107
  outputId: string;
1107
1108
  }, {
1108
- summary: string;
1109
1109
  kind: "agent_output";
1110
+ summary: string;
1110
1111
  agentId: string;
1111
1112
  sessionId: string;
1112
1113
  outputId: string;
1113
1114
  evidence?: {
1114
- id: string;
1115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1115
1116
  label: string;
1116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
+ id: string;
1117
1118
  capture: "at_action" | "historical_lookup" | "fixture";
1118
1119
  locator?: string | undefined;
1119
1120
  }[] | undefined;
@@ -1129,15 +1130,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1129
1130
  locator: z.ZodOptional<z.ZodString>;
1130
1131
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1131
1132
  }, "strict", z.ZodTypeAny, {
1132
- id: string;
1133
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1133
1134
  label: string;
1134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
+ id: string;
1135
1136
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1137
  locator?: string | undefined;
1137
1138
  }, {
1138
- id: string;
1139
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1139
1140
  label: string;
1140
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1141
+ id: string;
1141
1142
  capture: "at_action" | "historical_lookup" | "fixture";
1142
1143
  locator?: string | undefined;
1143
1144
  }>, "many">>;
@@ -1150,9 +1151,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1150
1151
  statement: string;
1151
1152
  sessionId: string;
1152
1153
  evidence: {
1153
- id: string;
1154
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1154
1155
  label: string;
1155
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1156
+ id: string;
1156
1157
  capture: "at_action" | "historical_lookup" | "fixture";
1157
1158
  locator?: string | undefined;
1158
1159
  }[];
@@ -1168,9 +1169,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1168
1169
  decisionId: string;
1169
1170
  confidence?: number | undefined;
1170
1171
  evidence?: {
1171
- id: string;
1172
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1172
1173
  label: string;
1173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1174
+ id: string;
1174
1175
  capture: "at_action" | "historical_lookup" | "fixture";
1175
1176
  locator?: string | undefined;
1176
1177
  }[] | undefined;
@@ -1187,25 +1188,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1187
1188
  locator: z.ZodOptional<z.ZodString>;
1188
1189
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1189
1190
  }, "strict", z.ZodTypeAny, {
1190
- id: string;
1191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1191
1192
  label: string;
1192
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1193
+ id: string;
1193
1194
  capture: "at_action" | "historical_lookup" | "fixture";
1194
1195
  locator?: string | undefined;
1195
1196
  }, {
1196
- id: string;
1197
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1197
1198
  label: string;
1198
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1199
+ id: string;
1199
1200
  capture: "at_action" | "historical_lookup" | "fixture";
1200
1201
  locator?: string | undefined;
1201
1202
  }>, "many">>;
1202
1203
  }, "strict", z.ZodTypeAny, {
1203
- summary: string;
1204
1204
  kind: "conflict_detected";
1205
+ summary: string;
1205
1206
  evidence: {
1206
- id: string;
1207
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1207
1208
  label: string;
1208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
+ id: string;
1209
1210
  capture: "at_action" | "historical_lookup" | "fixture";
1210
1211
  locator?: string | undefined;
1211
1212
  }[];
@@ -1213,15 +1214,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1213
1214
  decisionIds: string[];
1214
1215
  agentIds: string[];
1215
1216
  }, {
1216
- summary: string;
1217
1217
  kind: "conflict_detected";
1218
+ summary: string;
1218
1219
  conflictId: string;
1219
1220
  decisionIds: string[];
1220
1221
  agentIds: string[];
1221
1222
  evidence?: {
1222
- id: string;
1223
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1223
1224
  label: string;
1224
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1225
+ id: string;
1225
1226
  capture: "at_action" | "historical_lookup" | "fixture";
1226
1227
  locator?: string | undefined;
1227
1228
  }[] | undefined;
@@ -1241,27 +1242,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1241
1242
  locator: z.ZodOptional<z.ZodString>;
1242
1243
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1243
1244
  }, "strict", z.ZodTypeAny, {
1244
- id: string;
1245
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
1246
  label: string;
1246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
+ id: string;
1247
1248
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1249
  locator?: string | undefined;
1249
1250
  }, {
1250
- id: string;
1251
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1251
1252
  label: string;
1252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1253
+ id: string;
1253
1254
  capture: "at_action" | "historical_lookup" | "fixture";
1254
1255
  locator?: string | undefined;
1255
1256
  }>, "many">>;
1256
1257
  }, "strict", z.ZodTypeAny, {
1258
+ kind: "test_result";
1257
1259
  summary: string;
1258
1260
  status: "error" | "failed" | "passed";
1259
- kind: "test_result";
1260
1261
  command: string;
1261
1262
  evidence: {
1262
- id: string;
1263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
1264
  label: string;
1264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1265
+ id: string;
1265
1266
  capture: "at_action" | "historical_lookup" | "fixture";
1266
1267
  locator?: string | undefined;
1267
1268
  }[];
@@ -1270,17 +1271,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1270
1271
  durationMs?: number | undefined;
1271
1272
  correctionId?: string | undefined;
1272
1273
  }, {
1274
+ kind: "test_result";
1273
1275
  summary: string;
1274
1276
  status: "error" | "failed" | "passed";
1275
- kind: "test_result";
1276
1277
  command: string;
1277
1278
  decisionId: string;
1278
1279
  testId: string;
1279
1280
  durationMs?: number | undefined;
1280
1281
  evidence?: {
1281
- id: string;
1282
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
1283
  label: string;
1283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
+ id: string;
1284
1285
  capture: "at_action" | "historical_lookup" | "fixture";
1285
1286
  locator?: string | undefined;
1286
1287
  }[] | undefined;
@@ -1301,15 +1302,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1301
1302
  locator: z.ZodOptional<z.ZodString>;
1302
1303
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1303
1304
  }, "strict", z.ZodTypeAny, {
1304
- id: string;
1305
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1305
1306
  label: string;
1306
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
+ id: string;
1307
1308
  capture: "at_action" | "historical_lookup" | "fixture";
1308
1309
  locator?: string | undefined;
1309
1310
  }, {
1310
- id: string;
1311
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1311
1312
  label: string;
1312
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
+ id: string;
1313
1314
  capture: "at_action" | "historical_lookup" | "fixture";
1314
1315
  locator?: string | undefined;
1315
1316
  }>, "many">>;
@@ -1318,9 +1319,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1318
1319
  statement: string;
1319
1320
  rationale: string;
1320
1321
  evidence: {
1321
- id: string;
1322
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1322
1323
  label: string;
1323
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1324
+ id: string;
1324
1325
  capture: "at_action" | "historical_lookup" | "fixture";
1325
1326
  locator?: string | undefined;
1326
1327
  }[];
@@ -1339,9 +1340,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1339
1340
  supersedesDecisionIds: string[];
1340
1341
  proposedBy: string;
1341
1342
  evidence?: {
1342
- id: string;
1343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1343
1344
  label: string;
1344
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
+ id: string;
1345
1346
  capture: "at_action" | "historical_lookup" | "fixture";
1346
1347
  locator?: string | undefined;
1347
1348
  }[] | undefined;
@@ -1353,13 +1354,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1353
1354
  id: z.ZodString;
1354
1355
  label: z.ZodString;
1355
1356
  }, "strict", z.ZodTypeAny, {
1356
- id: string;
1357
- label: string;
1358
1357
  kind: "agent" | "human";
1359
- }, {
1360
- id: string;
1361
1358
  label: string;
1359
+ id: string;
1360
+ }, {
1362
1361
  kind: "agent" | "human";
1362
+ label: string;
1363
+ id: string;
1363
1364
  }>;
1364
1365
  note: z.ZodOptional<z.ZodString>;
1365
1366
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1369,47 +1370,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1369
1370
  locator: z.ZodOptional<z.ZodString>;
1370
1371
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1371
1372
  }, "strict", z.ZodTypeAny, {
1372
- id: string;
1373
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1374
  label: string;
1374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
+ id: string;
1375
1376
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1377
  locator?: string | undefined;
1377
1378
  }, {
1378
- id: string;
1379
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
1380
  label: string;
1380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
+ id: string;
1381
1382
  capture: "at_action" | "historical_lookup" | "fixture";
1382
1383
  locator?: string | undefined;
1383
1384
  }>, "many">>;
1384
1385
  }, "strict", z.ZodTypeAny, {
1385
1386
  kind: "correction_approved";
1386
1387
  evidence: {
1387
- id: string;
1388
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1389
  label: string;
1389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
+ id: string;
1390
1391
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1392
  locator?: string | undefined;
1392
1393
  }[];
1393
1394
  correctionId: string;
1394
1395
  approvedBy: {
1395
- id: string;
1396
- label: string;
1397
1396
  kind: "agent" | "human";
1397
+ label: string;
1398
+ id: string;
1398
1399
  };
1399
1400
  note?: string | undefined;
1400
1401
  }, {
1401
1402
  kind: "correction_approved";
1402
1403
  correctionId: string;
1403
1404
  approvedBy: {
1404
- id: string;
1405
- label: string;
1406
1405
  kind: "agent" | "human";
1406
+ label: string;
1407
+ id: string;
1407
1408
  };
1408
1409
  note?: string | undefined;
1409
1410
  evidence?: {
1410
- id: string;
1411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
1412
  label: string;
1412
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
+ id: string;
1413
1414
  capture: "at_action" | "historical_lookup" | "fixture";
1414
1415
  locator?: string | undefined;
1415
1416
  }[] | undefined;
@@ -1425,24 +1426,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1425
1426
  locator: z.ZodOptional<z.ZodString>;
1426
1427
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1427
1428
  }, "strict", z.ZodTypeAny, {
1428
- id: string;
1429
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1429
1430
  label: string;
1430
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
+ id: string;
1431
1432
  capture: "at_action" | "historical_lookup" | "fixture";
1432
1433
  locator?: string | undefined;
1433
1434
  }, {
1434
- id: string;
1435
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
1436
  label: string;
1436
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
+ id: string;
1437
1438
  capture: "at_action" | "historical_lookup" | "fixture";
1438
1439
  locator?: string | undefined;
1439
1440
  }>, "many">>;
1440
1441
  }, "strict", z.ZodTypeAny, {
1441
1442
  kind: "decision_superseded";
1442
1443
  evidence: {
1443
- id: string;
1444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
1445
  label: string;
1445
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1446
+ id: string;
1446
1447
  capture: "at_action" | "historical_lookup" | "fixture";
1447
1448
  locator?: string | undefined;
1448
1449
  }[];
@@ -1455,9 +1456,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1455
1456
  correctionId: string;
1456
1457
  replacementDecisionId: string;
1457
1458
  evidence?: {
1458
- id: string;
1459
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
1460
  label: string;
1460
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
+ id: string;
1461
1462
  capture: "at_action" | "historical_lookup" | "fixture";
1462
1463
  locator?: string | undefined;
1463
1464
  }[] | undefined;
@@ -1473,15 +1474,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1473
1474
  locator: z.ZodOptional<z.ZodString>;
1474
1475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1475
1476
  }, "strict", z.ZodTypeAny, {
1476
- id: string;
1477
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
1478
  label: string;
1478
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
+ id: string;
1479
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1481
  locator?: string | undefined;
1481
1482
  }, {
1482
- id: string;
1483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1483
1484
  label: string;
1484
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
+ id: string;
1485
1486
  capture: "at_action" | "historical_lookup" | "fixture";
1486
1487
  locator?: string | undefined;
1487
1488
  }>, "many">>;
@@ -1494,9 +1495,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1494
1495
  agentId: string;
1495
1496
  sessionId: string;
1496
1497
  evidence: {
1497
- id: string;
1498
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1498
1499
  label: string;
1499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
+ id: string;
1500
1501
  capture: "at_action" | "historical_lookup" | "fixture";
1501
1502
  locator?: string | undefined;
1502
1503
  }[];
@@ -1512,9 +1513,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1512
1513
  recallReceiptId: string;
1513
1514
  capturedAtAction: boolean;
1514
1515
  evidence?: {
1515
- id: string;
1516
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1516
1517
  label: string;
1517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
+ id: string;
1518
1519
  capture: "at_action" | "historical_lookup" | "fixture";
1519
1520
  locator?: string | undefined;
1520
1521
  }[] | undefined;
@@ -1530,15 +1531,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1530
1531
  locator: z.ZodOptional<z.ZodString>;
1531
1532
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1532
1533
  }, "strict", z.ZodTypeAny, {
1533
- id: string;
1534
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1535
  label: string;
1535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
+ id: string;
1536
1537
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1538
  locator?: string | undefined;
1538
1539
  }, {
1539
- id: string;
1540
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1541
  label: string;
1541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
+ id: string;
1542
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1544
  locator?: string | undefined;
1544
1545
  }>, "many">>;
@@ -1550,9 +1551,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1550
1551
  agentId: string;
1551
1552
  sessionId: string;
1552
1553
  evidence: {
1553
- id: string;
1554
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1554
1555
  label: string;
1555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
+ id: string;
1556
1557
  capture: "at_action" | "historical_lookup" | "fixture";
1557
1558
  locator?: string | undefined;
1558
1559
  }[];
@@ -1569,9 +1570,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1569
1570
  recallReceiptId: string;
1570
1571
  staleDecisionAbsent: boolean;
1571
1572
  evidence?: {
1572
- id: string;
1573
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1573
1574
  label: string;
1574
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1575
+ id: string;
1575
1576
  capture: "at_action" | "historical_lookup" | "fixture";
1576
1577
  locator?: string | undefined;
1577
1578
  }[] | undefined;
@@ -1586,37 +1587,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1586
1587
  locator: z.ZodOptional<z.ZodString>;
1587
1588
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1588
1589
  }, "strict", z.ZodTypeAny, {
1589
- id: string;
1590
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
1591
  label: string;
1591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
+ id: string;
1592
1593
  capture: "at_action" | "historical_lookup" | "fixture";
1593
1594
  locator?: string | undefined;
1594
1595
  }, {
1595
- id: string;
1596
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
1597
  label: string;
1597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
+ id: string;
1598
1599
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1600
  locator?: string | undefined;
1600
1601
  }>, "many">>;
1601
1602
  }, "strict", z.ZodTypeAny, {
1602
- summary: string;
1603
1603
  kind: "mission_completed";
1604
+ summary: string;
1604
1605
  outcome: "failed" | "recovered" | "inconclusive";
1605
1606
  evidence: {
1606
- id: string;
1607
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1607
1608
  label: string;
1608
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
+ id: string;
1609
1610
  capture: "at_action" | "historical_lookup" | "fixture";
1610
1611
  locator?: string | undefined;
1611
1612
  }[];
1612
1613
  }, {
1613
- summary: string;
1614
1614
  kind: "mission_completed";
1615
+ summary: string;
1615
1616
  outcome: "failed" | "recovered" | "inconclusive";
1616
1617
  evidence?: {
1617
- id: string;
1618
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1618
1619
  label: string;
1619
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
+ id: string;
1620
1621
  capture: "at_action" | "historical_lookup" | "fixture";
1621
1622
  locator?: string | undefined;
1622
1623
  }[] | undefined;
@@ -1624,38 +1625,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1624
1625
  kind: "mission_started";
1625
1626
  title: string;
1626
1627
  evidence: {
1627
- id: string;
1628
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1628
1629
  label: string;
1629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
+ id: string;
1630
1631
  capture: "at_action" | "historical_lookup" | "fixture";
1631
1632
  locator?: string | undefined;
1632
1633
  }[];
1633
1634
  objective: string;
1634
1635
  runMode: "replay" | "fixture" | "live";
1635
1636
  } | {
1636
- label: string;
1637
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1638
1637
  kind: "agent_status";
1638
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1639
+ label: string;
1639
1640
  role: string;
1640
1641
  agentId: string;
1641
1642
  sessionId: string;
1642
1643
  evidence: {
1643
- id: string;
1644
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1644
1645
  label: string;
1645
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1646
+ id: string;
1646
1647
  capture: "at_action" | "historical_lookup" | "fixture";
1647
1648
  locator?: string | undefined;
1648
1649
  }[];
1649
1650
  detail?: string | undefined;
1650
1651
  } | {
1651
- summary: string;
1652
1652
  kind: "agent_output";
1653
+ summary: string;
1653
1654
  agentId: string;
1654
1655
  sessionId: string;
1655
1656
  evidence: {
1656
- id: string;
1657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
1658
  label: string;
1658
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
+ id: string;
1659
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1660
1661
  locator?: string | undefined;
1661
1662
  }[];
@@ -1666,9 +1667,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1666
1667
  statement: string;
1667
1668
  sessionId: string;
1668
1669
  evidence: {
1669
- id: string;
1670
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1670
1671
  label: string;
1671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
+ id: string;
1672
1673
  capture: "at_action" | "historical_lookup" | "fixture";
1673
1674
  locator?: string | undefined;
1674
1675
  }[];
@@ -1676,12 +1677,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1676
1677
  decisionId: string;
1677
1678
  confidence?: number | undefined;
1678
1679
  } | {
1679
- summary: string;
1680
1680
  kind: "conflict_detected";
1681
+ summary: string;
1681
1682
  evidence: {
1682
- id: string;
1683
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1683
1684
  label: string;
1684
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1685
+ id: string;
1685
1686
  capture: "at_action" | "historical_lookup" | "fixture";
1686
1687
  locator?: string | undefined;
1687
1688
  }[];
@@ -1689,14 +1690,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1689
1690
  decisionIds: string[];
1690
1691
  agentIds: string[];
1691
1692
  } | {
1693
+ kind: "test_result";
1692
1694
  summary: string;
1693
1695
  status: "error" | "failed" | "passed";
1694
- kind: "test_result";
1695
1696
  command: string;
1696
1697
  evidence: {
1697
- id: string;
1698
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1699
  label: string;
1699
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
+ id: string;
1700
1701
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1702
  locator?: string | undefined;
1702
1703
  }[];
@@ -1709,9 +1710,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1709
1710
  statement: string;
1710
1711
  rationale: string;
1711
1712
  evidence: {
1712
- id: string;
1713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
1714
  label: string;
1714
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
+ id: string;
1715
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1717
  locator?: string | undefined;
1717
1718
  }[];
@@ -1723,25 +1724,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1723
1724
  } | {
1724
1725
  kind: "correction_approved";
1725
1726
  evidence: {
1726
- id: string;
1727
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1728
  label: string;
1728
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
+ id: string;
1729
1730
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1731
  locator?: string | undefined;
1731
1732
  }[];
1732
1733
  correctionId: string;
1733
1734
  approvedBy: {
1734
- id: string;
1735
- label: string;
1736
1735
  kind: "agent" | "human";
1736
+ label: string;
1737
+ id: string;
1737
1738
  };
1738
1739
  note?: string | undefined;
1739
1740
  } | {
1740
1741
  kind: "decision_superseded";
1741
1742
  evidence: {
1742
- id: string;
1743
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1743
1744
  label: string;
1744
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1745
+ id: string;
1745
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1746
1747
  locator?: string | undefined;
1747
1748
  }[];
@@ -1754,9 +1755,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1754
1755
  agentId: string;
1755
1756
  sessionId: string;
1756
1757
  evidence: {
1757
- id: string;
1758
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1758
1759
  label: string;
1759
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
+ id: string;
1760
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1761
1762
  locator?: string | undefined;
1762
1763
  }[];
@@ -1768,9 +1769,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1768
1769
  agentId: string;
1769
1770
  sessionId: string;
1770
1771
  evidence: {
1771
- id: string;
1772
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
1773
  label: string;
1773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
+ id: string;
1774
1775
  capture: "at_action" | "historical_lookup" | "fixture";
1775
1776
  locator?: string | undefined;
1776
1777
  }[];
@@ -1779,13 +1780,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1779
1780
  recallReceiptId: string;
1780
1781
  staleDecisionAbsent: boolean;
1781
1782
  } | {
1782
- summary: string;
1783
1783
  kind: "mission_completed";
1784
+ summary: string;
1784
1785
  outcome: "failed" | "recovered" | "inconclusive";
1785
1786
  evidence: {
1786
- id: string;
1787
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
1788
  label: string;
1788
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1789
+ id: string;
1789
1790
  capture: "at_action" | "historical_lookup" | "fixture";
1790
1791
  locator?: string | undefined;
1791
1792
  }[];
@@ -1795,37 +1796,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1795
1796
  objective: string;
1796
1797
  runMode: "replay" | "fixture" | "live";
1797
1798
  evidence?: {
1798
- id: string;
1799
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1800
  label: string;
1800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
+ id: string;
1801
1802
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1803
  locator?: string | undefined;
1803
1804
  }[] | undefined;
1804
1805
  } | {
1805
- label: string;
1806
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1807
1806
  kind: "agent_status";
1807
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1808
+ label: string;
1808
1809
  role: string;
1809
1810
  agentId: string;
1810
1811
  sessionId: string;
1811
1812
  detail?: string | undefined;
1812
1813
  evidence?: {
1813
- id: string;
1814
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1814
1815
  label: string;
1815
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
+ id: string;
1816
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1817
1818
  locator?: string | undefined;
1818
1819
  }[] | undefined;
1819
1820
  } | {
1820
- summary: string;
1821
1821
  kind: "agent_output";
1822
+ summary: string;
1822
1823
  agentId: string;
1823
1824
  sessionId: string;
1824
1825
  outputId: string;
1825
1826
  evidence?: {
1826
- id: string;
1827
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
1828
  label: string;
1828
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
+ id: string;
1829
1830
  capture: "at_action" | "historical_lookup" | "fixture";
1830
1831
  locator?: string | undefined;
1831
1832
  }[] | undefined;
@@ -1838,37 +1839,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1838
1839
  decisionId: string;
1839
1840
  confidence?: number | undefined;
1840
1841
  evidence?: {
1841
- id: string;
1842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1842
1843
  label: string;
1843
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
+ id: string;
1844
1845
  capture: "at_action" | "historical_lookup" | "fixture";
1845
1846
  locator?: string | undefined;
1846
1847
  }[] | undefined;
1847
1848
  } | {
1848
- summary: string;
1849
1849
  kind: "conflict_detected";
1850
+ summary: string;
1850
1851
  conflictId: string;
1851
1852
  decisionIds: string[];
1852
1853
  agentIds: string[];
1853
1854
  evidence?: {
1854
- id: string;
1855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1855
1856
  label: string;
1856
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
+ id: string;
1857
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1858
1859
  locator?: string | undefined;
1859
1860
  }[] | undefined;
1860
1861
  } | {
1862
+ kind: "test_result";
1861
1863
  summary: string;
1862
1864
  status: "error" | "failed" | "passed";
1863
- kind: "test_result";
1864
1865
  command: string;
1865
1866
  decisionId: string;
1866
1867
  testId: string;
1867
1868
  durationMs?: number | undefined;
1868
1869
  evidence?: {
1869
- id: string;
1870
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
1871
  label: string;
1871
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1872
+ id: string;
1872
1873
  capture: "at_action" | "historical_lookup" | "fixture";
1873
1874
  locator?: string | undefined;
1874
1875
  }[] | undefined;
@@ -1883,9 +1884,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1883
1884
  supersedesDecisionIds: string[];
1884
1885
  proposedBy: string;
1885
1886
  evidence?: {
1886
- id: string;
1887
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1887
1888
  label: string;
1888
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
+ id: string;
1889
1890
  capture: "at_action" | "historical_lookup" | "fixture";
1890
1891
  locator?: string | undefined;
1891
1892
  }[] | undefined;
@@ -1893,15 +1894,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1893
1894
  kind: "correction_approved";
1894
1895
  correctionId: string;
1895
1896
  approvedBy: {
1896
- id: string;
1897
- label: string;
1898
1897
  kind: "agent" | "human";
1898
+ label: string;
1899
+ id: string;
1899
1900
  };
1900
1901
  note?: string | undefined;
1901
1902
  evidence?: {
1902
- id: string;
1903
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
1904
  label: string;
1904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
+ id: string;
1905
1906
  capture: "at_action" | "historical_lookup" | "fixture";
1906
1907
  locator?: string | undefined;
1907
1908
  }[] | undefined;
@@ -1911,9 +1912,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1911
1912
  correctionId: string;
1912
1913
  replacementDecisionId: string;
1913
1914
  evidence?: {
1914
- id: string;
1915
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1916
  label: string;
1916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
+ id: string;
1917
1918
  capture: "at_action" | "historical_lookup" | "fixture";
1918
1919
  locator?: string | undefined;
1919
1920
  }[] | undefined;
@@ -1926,9 +1927,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1926
1927
  recallReceiptId: string;
1927
1928
  capturedAtAction: boolean;
1928
1929
  evidence?: {
1929
- id: string;
1930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1930
1931
  label: string;
1931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1932
+ id: string;
1932
1933
  capture: "at_action" | "historical_lookup" | "fixture";
1933
1934
  locator?: string | undefined;
1934
1935
  }[] | undefined;
@@ -1941,20 +1942,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1941
1942
  recallReceiptId: string;
1942
1943
  staleDecisionAbsent: boolean;
1943
1944
  evidence?: {
1944
- id: string;
1945
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1945
1946
  label: string;
1946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
+ id: string;
1947
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1948
1949
  locator?: string | undefined;
1949
1950
  }[] | undefined;
1950
1951
  } | {
1951
- summary: string;
1952
1952
  kind: "mission_completed";
1953
+ summary: string;
1953
1954
  outcome: "failed" | "recovered" | "inconclusive";
1954
1955
  evidence?: {
1955
- id: string;
1956
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
1957
  label: string;
1957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
+ id: string;
1958
1959
  capture: "at_action" | "historical_lookup" | "fixture";
1959
1960
  locator?: string | undefined;
1960
1961
  }[] | undefined;
@@ -1975,15 +1976,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1975
1976
  locator: z.ZodOptional<z.ZodString>;
1976
1977
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1977
1978
  }, "strict", z.ZodTypeAny, {
1978
- id: string;
1979
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1979
1980
  label: string;
1980
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
+ id: string;
1981
1982
  capture: "at_action" | "historical_lookup" | "fixture";
1982
1983
  locator?: string | undefined;
1983
1984
  }, {
1984
- id: string;
1985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
1986
  label: string;
1986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
+ id: string;
1987
1988
  capture: "at_action" | "historical_lookup" | "fixture";
1988
1989
  locator?: string | undefined;
1989
1990
  }>, "many">>;
@@ -1991,9 +1992,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1991
1992
  kind: "mission_started";
1992
1993
  title: string;
1993
1994
  evidence: {
1994
- id: string;
1995
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1995
1996
  label: string;
1996
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
+ id: string;
1997
1998
  capture: "at_action" | "historical_lookup" | "fixture";
1998
1999
  locator?: string | undefined;
1999
2000
  }[];
@@ -2005,9 +2006,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2005
2006
  objective: string;
2006
2007
  runMode: "replay" | "fixture" | "live";
2007
2008
  evidence?: {
2008
- id: string;
2009
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
2010
  label: string;
2010
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
+ id: string;
2011
2012
  capture: "at_action" | "historical_lookup" | "fixture";
2012
2013
  locator?: string | undefined;
2013
2014
  }[] | undefined;
@@ -2023,15 +2024,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2023
2024
  locator: z.ZodOptional<z.ZodString>;
2024
2025
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2025
2026
  }, "strict", z.ZodTypeAny, {
2026
- id: string;
2027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2027
2028
  label: string;
2028
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
+ id: string;
2029
2030
  capture: "at_action" | "historical_lookup" | "fixture";
2030
2031
  locator?: string | undefined;
2031
2032
  }, {
2032
- id: string;
2033
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2033
2034
  label: string;
2034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
+ id: string;
2035
2036
  capture: "at_action" | "historical_lookup" | "fixture";
2036
2037
  locator?: string | undefined;
2037
2038
  }>, "many">>;
@@ -2039,32 +2040,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2039
2040
  sessionId: z.ZodString;
2040
2041
  kind: z.ZodLiteral<"agent_status">;
2041
2042
  }, "strict", z.ZodTypeAny, {
2042
- label: string;
2043
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2044
2043
  kind: "agent_status";
2044
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2045
+ label: string;
2045
2046
  role: string;
2046
2047
  agentId: string;
2047
2048
  sessionId: string;
2048
2049
  evidence: {
2049
- id: string;
2050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
2051
  label: string;
2051
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
+ id: string;
2052
2053
  capture: "at_action" | "historical_lookup" | "fixture";
2053
2054
  locator?: string | undefined;
2054
2055
  }[];
2055
2056
  detail?: string | undefined;
2056
2057
  }, {
2057
- label: string;
2058
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2059
2058
  kind: "agent_status";
2059
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2060
+ label: string;
2060
2061
  role: string;
2061
2062
  agentId: string;
2062
2063
  sessionId: string;
2063
2064
  detail?: string | undefined;
2064
2065
  evidence?: {
2065
- id: string;
2066
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2066
2067
  label: string;
2067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
+ id: string;
2068
2069
  capture: "at_action" | "historical_lookup" | "fixture";
2069
2070
  locator?: string | undefined;
2070
2071
  }[] | undefined;
@@ -2078,15 +2079,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2078
2079
  locator: z.ZodOptional<z.ZodString>;
2079
2080
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2080
2081
  }, "strict", z.ZodTypeAny, {
2081
- id: string;
2082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2083
  label: string;
2083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
+ id: string;
2084
2085
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2086
  locator?: string | undefined;
2086
2087
  }, {
2087
- id: string;
2088
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2089
  label: string;
2089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2090
+ id: string;
2090
2091
  capture: "at_action" | "historical_lookup" | "fixture";
2091
2092
  locator?: string | undefined;
2092
2093
  }>, "many">>;
@@ -2094,28 +2095,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2094
2095
  sessionId: z.ZodString;
2095
2096
  kind: z.ZodLiteral<"agent_output">;
2096
2097
  }, "strict", z.ZodTypeAny, {
2097
- summary: string;
2098
2098
  kind: "agent_output";
2099
+ summary: string;
2099
2100
  agentId: string;
2100
2101
  sessionId: string;
2101
2102
  evidence: {
2102
- id: string;
2103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2104
  label: string;
2104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
+ id: string;
2105
2106
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2107
  locator?: string | undefined;
2107
2108
  }[];
2108
2109
  outputId: string;
2109
2110
  }, {
2110
- summary: string;
2111
2111
  kind: "agent_output";
2112
+ summary: string;
2112
2113
  agentId: string;
2113
2114
  sessionId: string;
2114
2115
  outputId: string;
2115
2116
  evidence?: {
2116
- id: string;
2117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
2118
  label: string;
2118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
+ id: string;
2119
2120
  capture: "at_action" | "historical_lookup" | "fixture";
2120
2121
  locator?: string | undefined;
2121
2122
  }[] | undefined;
@@ -2131,15 +2132,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2131
2132
  locator: z.ZodOptional<z.ZodString>;
2132
2133
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2133
2134
  }, "strict", z.ZodTypeAny, {
2134
- id: string;
2135
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2135
2136
  label: string;
2136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
+ id: string;
2137
2138
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2139
  locator?: string | undefined;
2139
2140
  }, {
2140
- id: string;
2141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2141
2142
  label: string;
2142
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2143
+ id: string;
2143
2144
  capture: "at_action" | "historical_lookup" | "fixture";
2144
2145
  locator?: string | undefined;
2145
2146
  }>, "many">>;
@@ -2152,9 +2153,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2152
2153
  statement: string;
2153
2154
  sessionId: string;
2154
2155
  evidence: {
2155
- id: string;
2156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2156
2157
  label: string;
2157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
+ id: string;
2158
2159
  capture: "at_action" | "historical_lookup" | "fixture";
2159
2160
  locator?: string | undefined;
2160
2161
  }[];
@@ -2170,9 +2171,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2170
2171
  decisionId: string;
2171
2172
  confidence?: number | undefined;
2172
2173
  evidence?: {
2173
- id: string;
2174
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2175
  label: string;
2175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
+ id: string;
2176
2177
  capture: "at_action" | "historical_lookup" | "fixture";
2177
2178
  locator?: string | undefined;
2178
2179
  }[] | undefined;
@@ -2189,25 +2190,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2189
2190
  locator: z.ZodOptional<z.ZodString>;
2190
2191
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2191
2192
  }, "strict", z.ZodTypeAny, {
2192
- id: string;
2193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
2194
  label: string;
2194
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
+ id: string;
2195
2196
  capture: "at_action" | "historical_lookup" | "fixture";
2196
2197
  locator?: string | undefined;
2197
2198
  }, {
2198
- id: string;
2199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2199
2200
  label: string;
2200
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
+ id: string;
2201
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2202
2203
  locator?: string | undefined;
2203
2204
  }>, "many">>;
2204
2205
  }, "strict", z.ZodTypeAny, {
2205
- summary: string;
2206
2206
  kind: "conflict_detected";
2207
+ summary: string;
2207
2208
  evidence: {
2208
- id: string;
2209
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2209
2210
  label: string;
2210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
+ id: string;
2211
2212
  capture: "at_action" | "historical_lookup" | "fixture";
2212
2213
  locator?: string | undefined;
2213
2214
  }[];
@@ -2215,15 +2216,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2215
2216
  decisionIds: string[];
2216
2217
  agentIds: string[];
2217
2218
  }, {
2218
- summary: string;
2219
2219
  kind: "conflict_detected";
2220
+ summary: string;
2220
2221
  conflictId: string;
2221
2222
  decisionIds: string[];
2222
2223
  agentIds: string[];
2223
2224
  evidence?: {
2224
- id: string;
2225
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2225
2226
  label: string;
2226
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2227
+ id: string;
2227
2228
  capture: "at_action" | "historical_lookup" | "fixture";
2228
2229
  locator?: string | undefined;
2229
2230
  }[] | undefined;
@@ -2243,27 +2244,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2243
2244
  locator: z.ZodOptional<z.ZodString>;
2244
2245
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2245
2246
  }, "strict", z.ZodTypeAny, {
2246
- id: string;
2247
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2247
2248
  label: string;
2248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
+ id: string;
2249
2250
  capture: "at_action" | "historical_lookup" | "fixture";
2250
2251
  locator?: string | undefined;
2251
2252
  }, {
2252
- id: string;
2253
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2253
2254
  label: string;
2254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2255
+ id: string;
2255
2256
  capture: "at_action" | "historical_lookup" | "fixture";
2256
2257
  locator?: string | undefined;
2257
2258
  }>, "many">>;
2258
2259
  }, "strict", z.ZodTypeAny, {
2260
+ kind: "test_result";
2259
2261
  summary: string;
2260
2262
  status: "error" | "failed" | "passed";
2261
- kind: "test_result";
2262
2263
  command: string;
2263
2264
  evidence: {
2264
- id: string;
2265
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
2266
  label: string;
2266
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2267
+ id: string;
2267
2268
  capture: "at_action" | "historical_lookup" | "fixture";
2268
2269
  locator?: string | undefined;
2269
2270
  }[];
@@ -2272,17 +2273,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2272
2273
  durationMs?: number | undefined;
2273
2274
  correctionId?: string | undefined;
2274
2275
  }, {
2276
+ kind: "test_result";
2275
2277
  summary: string;
2276
2278
  status: "error" | "failed" | "passed";
2277
- kind: "test_result";
2278
2279
  command: string;
2279
2280
  decisionId: string;
2280
2281
  testId: string;
2281
2282
  durationMs?: number | undefined;
2282
2283
  evidence?: {
2283
- id: string;
2284
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
2285
  label: string;
2285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
+ id: string;
2286
2287
  capture: "at_action" | "historical_lookup" | "fixture";
2287
2288
  locator?: string | undefined;
2288
2289
  }[] | undefined;
@@ -2303,15 +2304,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2303
2304
  locator: z.ZodOptional<z.ZodString>;
2304
2305
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2305
2306
  }, "strict", z.ZodTypeAny, {
2306
- id: string;
2307
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2307
2308
  label: string;
2308
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
+ id: string;
2309
2310
  capture: "at_action" | "historical_lookup" | "fixture";
2310
2311
  locator?: string | undefined;
2311
2312
  }, {
2312
- id: string;
2313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2313
2314
  label: string;
2314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
+ id: string;
2315
2316
  capture: "at_action" | "historical_lookup" | "fixture";
2316
2317
  locator?: string | undefined;
2317
2318
  }>, "many">>;
@@ -2320,9 +2321,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2320
2321
  statement: string;
2321
2322
  rationale: string;
2322
2323
  evidence: {
2323
- id: string;
2324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2324
2325
  label: string;
2325
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2326
+ id: string;
2326
2327
  capture: "at_action" | "historical_lookup" | "fixture";
2327
2328
  locator?: string | undefined;
2328
2329
  }[];
@@ -2341,9 +2342,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2341
2342
  supersedesDecisionIds: string[];
2342
2343
  proposedBy: string;
2343
2344
  evidence?: {
2344
- id: string;
2345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2345
2346
  label: string;
2346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
+ id: string;
2347
2348
  capture: "at_action" | "historical_lookup" | "fixture";
2348
2349
  locator?: string | undefined;
2349
2350
  }[] | undefined;
@@ -2355,13 +2356,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2355
2356
  id: z.ZodString;
2356
2357
  label: z.ZodString;
2357
2358
  }, "strict", z.ZodTypeAny, {
2358
- id: string;
2359
- label: string;
2360
2359
  kind: "agent" | "human";
2361
- }, {
2362
- id: string;
2363
2360
  label: string;
2361
+ id: string;
2362
+ }, {
2364
2363
  kind: "agent" | "human";
2364
+ label: string;
2365
+ id: string;
2365
2366
  }>;
2366
2367
  note: z.ZodOptional<z.ZodString>;
2367
2368
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2371,47 +2372,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2371
2372
  locator: z.ZodOptional<z.ZodString>;
2372
2373
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2373
2374
  }, "strict", z.ZodTypeAny, {
2374
- id: string;
2375
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2376
  label: string;
2376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
+ id: string;
2377
2378
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2379
  locator?: string | undefined;
2379
2380
  }, {
2380
- id: string;
2381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
2382
  label: string;
2382
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
+ id: string;
2383
2384
  capture: "at_action" | "historical_lookup" | "fixture";
2384
2385
  locator?: string | undefined;
2385
2386
  }>, "many">>;
2386
2387
  }, "strict", z.ZodTypeAny, {
2387
2388
  kind: "correction_approved";
2388
2389
  evidence: {
2389
- id: string;
2390
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2391
  label: string;
2391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
+ id: string;
2392
2393
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2394
  locator?: string | undefined;
2394
2395
  }[];
2395
2396
  correctionId: string;
2396
2397
  approvedBy: {
2397
- id: string;
2398
- label: string;
2399
2398
  kind: "agent" | "human";
2399
+ label: string;
2400
+ id: string;
2400
2401
  };
2401
2402
  note?: string | undefined;
2402
2403
  }, {
2403
2404
  kind: "correction_approved";
2404
2405
  correctionId: string;
2405
2406
  approvedBy: {
2406
- id: string;
2407
- label: string;
2408
2407
  kind: "agent" | "human";
2408
+ label: string;
2409
+ id: string;
2409
2410
  };
2410
2411
  note?: string | undefined;
2411
2412
  evidence?: {
2412
- id: string;
2413
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
2414
  label: string;
2414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
+ id: string;
2415
2416
  capture: "at_action" | "historical_lookup" | "fixture";
2416
2417
  locator?: string | undefined;
2417
2418
  }[] | undefined;
@@ -2427,24 +2428,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2427
2428
  locator: z.ZodOptional<z.ZodString>;
2428
2429
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2429
2430
  }, "strict", z.ZodTypeAny, {
2430
- id: string;
2431
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2431
2432
  label: string;
2432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
+ id: string;
2433
2434
  capture: "at_action" | "historical_lookup" | "fixture";
2434
2435
  locator?: string | undefined;
2435
2436
  }, {
2436
- id: string;
2437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
2438
  label: string;
2438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
+ id: string;
2439
2440
  capture: "at_action" | "historical_lookup" | "fixture";
2440
2441
  locator?: string | undefined;
2441
2442
  }>, "many">>;
2442
2443
  }, "strict", z.ZodTypeAny, {
2443
2444
  kind: "decision_superseded";
2444
2445
  evidence: {
2445
- id: string;
2446
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
2447
  label: string;
2447
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2448
+ id: string;
2448
2449
  capture: "at_action" | "historical_lookup" | "fixture";
2449
2450
  locator?: string | undefined;
2450
2451
  }[];
@@ -2457,9 +2458,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2457
2458
  correctionId: string;
2458
2459
  replacementDecisionId: string;
2459
2460
  evidence?: {
2460
- id: string;
2461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
2462
  label: string;
2462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
+ id: string;
2463
2464
  capture: "at_action" | "historical_lookup" | "fixture";
2464
2465
  locator?: string | undefined;
2465
2466
  }[] | undefined;
@@ -2475,15 +2476,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2475
2476
  locator: z.ZodOptional<z.ZodString>;
2476
2477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2477
2478
  }, "strict", z.ZodTypeAny, {
2478
- id: string;
2479
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
2480
  label: string;
2480
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
+ id: string;
2481
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2483
  locator?: string | undefined;
2483
2484
  }, {
2484
- id: string;
2485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2485
2486
  label: string;
2486
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
+ id: string;
2487
2488
  capture: "at_action" | "historical_lookup" | "fixture";
2488
2489
  locator?: string | undefined;
2489
2490
  }>, "many">>;
@@ -2496,9 +2497,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2496
2497
  agentId: string;
2497
2498
  sessionId: string;
2498
2499
  evidence: {
2499
- id: string;
2500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2500
2501
  label: string;
2501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
+ id: string;
2502
2503
  capture: "at_action" | "historical_lookup" | "fixture";
2503
2504
  locator?: string | undefined;
2504
2505
  }[];
@@ -2514,9 +2515,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2514
2515
  recallReceiptId: string;
2515
2516
  capturedAtAction: boolean;
2516
2517
  evidence?: {
2517
- id: string;
2518
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2518
2519
  label: string;
2519
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
+ id: string;
2520
2521
  capture: "at_action" | "historical_lookup" | "fixture";
2521
2522
  locator?: string | undefined;
2522
2523
  }[] | undefined;
@@ -2532,15 +2533,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2532
2533
  locator: z.ZodOptional<z.ZodString>;
2533
2534
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2534
2535
  }, "strict", z.ZodTypeAny, {
2535
- id: string;
2536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2537
  label: string;
2537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
+ id: string;
2538
2539
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2540
  locator?: string | undefined;
2540
2541
  }, {
2541
- id: string;
2542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2543
  label: string;
2543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
+ id: string;
2544
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2546
  locator?: string | undefined;
2546
2547
  }>, "many">>;
@@ -2552,9 +2553,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2552
2553
  agentId: string;
2553
2554
  sessionId: string;
2554
2555
  evidence: {
2555
- id: string;
2556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2556
2557
  label: string;
2557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
+ id: string;
2558
2559
  capture: "at_action" | "historical_lookup" | "fixture";
2559
2560
  locator?: string | undefined;
2560
2561
  }[];
@@ -2571,9 +2572,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2571
2572
  recallReceiptId: string;
2572
2573
  staleDecisionAbsent: boolean;
2573
2574
  evidence?: {
2574
- id: string;
2575
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2575
2576
  label: string;
2576
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2577
+ id: string;
2577
2578
  capture: "at_action" | "historical_lookup" | "fixture";
2578
2579
  locator?: string | undefined;
2579
2580
  }[] | undefined;
@@ -2588,37 +2589,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2588
2589
  locator: z.ZodOptional<z.ZodString>;
2589
2590
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2590
2591
  }, "strict", z.ZodTypeAny, {
2591
- id: string;
2592
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
2593
  label: string;
2593
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
+ id: string;
2594
2595
  capture: "at_action" | "historical_lookup" | "fixture";
2595
2596
  locator?: string | undefined;
2596
2597
  }, {
2597
- id: string;
2598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
2599
  label: string;
2599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
+ id: string;
2600
2601
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2602
  locator?: string | undefined;
2602
2603
  }>, "many">>;
2603
2604
  }, "strict", z.ZodTypeAny, {
2604
- summary: string;
2605
2605
  kind: "mission_completed";
2606
+ summary: string;
2606
2607
  outcome: "failed" | "recovered" | "inconclusive";
2607
2608
  evidence: {
2608
- id: string;
2609
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2609
2610
  label: string;
2610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
+ id: string;
2611
2612
  capture: "at_action" | "historical_lookup" | "fixture";
2612
2613
  locator?: string | undefined;
2613
2614
  }[];
2614
2615
  }, {
2615
- summary: string;
2616
2616
  kind: "mission_completed";
2617
+ summary: string;
2617
2618
  outcome: "failed" | "recovered" | "inconclusive";
2618
2619
  evidence?: {
2619
- id: string;
2620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2620
2621
  label: string;
2621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
+ id: string;
2622
2623
  capture: "at_action" | "historical_lookup" | "fixture";
2623
2624
  locator?: string | undefined;
2624
2625
  }[] | undefined;
@@ -2626,38 +2627,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2626
2627
  kind: "mission_started";
2627
2628
  title: string;
2628
2629
  evidence: {
2629
- id: string;
2630
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2630
2631
  label: string;
2631
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
+ id: string;
2632
2633
  capture: "at_action" | "historical_lookup" | "fixture";
2633
2634
  locator?: string | undefined;
2634
2635
  }[];
2635
2636
  objective: string;
2636
2637
  runMode: "replay" | "fixture" | "live";
2637
2638
  } | {
2638
- label: string;
2639
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2640
2639
  kind: "agent_status";
2640
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2641
+ label: string;
2641
2642
  role: string;
2642
2643
  agentId: string;
2643
2644
  sessionId: string;
2644
2645
  evidence: {
2645
- id: string;
2646
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2646
2647
  label: string;
2647
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2648
+ id: string;
2648
2649
  capture: "at_action" | "historical_lookup" | "fixture";
2649
2650
  locator?: string | undefined;
2650
2651
  }[];
2651
2652
  detail?: string | undefined;
2652
2653
  } | {
2653
- summary: string;
2654
2654
  kind: "agent_output";
2655
+ summary: string;
2655
2656
  agentId: string;
2656
2657
  sessionId: string;
2657
2658
  evidence: {
2658
- id: string;
2659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
2660
  label: string;
2660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
+ id: string;
2661
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2662
2663
  locator?: string | undefined;
2663
2664
  }[];
@@ -2668,9 +2669,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2668
2669
  statement: string;
2669
2670
  sessionId: string;
2670
2671
  evidence: {
2671
- id: string;
2672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2672
2673
  label: string;
2673
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
+ id: string;
2674
2675
  capture: "at_action" | "historical_lookup" | "fixture";
2675
2676
  locator?: string | undefined;
2676
2677
  }[];
@@ -2678,12 +2679,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2678
2679
  decisionId: string;
2679
2680
  confidence?: number | undefined;
2680
2681
  } | {
2681
- summary: string;
2682
2682
  kind: "conflict_detected";
2683
+ summary: string;
2683
2684
  evidence: {
2684
- id: string;
2685
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2685
2686
  label: string;
2686
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2687
+ id: string;
2687
2688
  capture: "at_action" | "historical_lookup" | "fixture";
2688
2689
  locator?: string | undefined;
2689
2690
  }[];
@@ -2691,14 +2692,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2691
2692
  decisionIds: string[];
2692
2693
  agentIds: string[];
2693
2694
  } | {
2695
+ kind: "test_result";
2694
2696
  summary: string;
2695
2697
  status: "error" | "failed" | "passed";
2696
- kind: "test_result";
2697
2698
  command: string;
2698
2699
  evidence: {
2699
- id: string;
2700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2701
  label: string;
2701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
+ id: string;
2702
2703
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2704
  locator?: string | undefined;
2704
2705
  }[];
@@ -2711,9 +2712,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2711
2712
  statement: string;
2712
2713
  rationale: string;
2713
2714
  evidence: {
2714
- id: string;
2715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
2716
  label: string;
2716
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
+ id: string;
2717
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2719
  locator?: string | undefined;
2719
2720
  }[];
@@ -2725,25 +2726,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2725
2726
  } | {
2726
2727
  kind: "correction_approved";
2727
2728
  evidence: {
2728
- id: string;
2729
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2730
  label: string;
2730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
+ id: string;
2731
2732
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2733
  locator?: string | undefined;
2733
2734
  }[];
2734
2735
  correctionId: string;
2735
2736
  approvedBy: {
2736
- id: string;
2737
- label: string;
2738
2737
  kind: "agent" | "human";
2738
+ label: string;
2739
+ id: string;
2739
2740
  };
2740
2741
  note?: string | undefined;
2741
2742
  } | {
2742
2743
  kind: "decision_superseded";
2743
2744
  evidence: {
2744
- id: string;
2745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2745
2746
  label: string;
2746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2747
+ id: string;
2747
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2748
2749
  locator?: string | undefined;
2749
2750
  }[];
@@ -2756,9 +2757,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2756
2757
  agentId: string;
2757
2758
  sessionId: string;
2758
2759
  evidence: {
2759
- id: string;
2760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2760
2761
  label: string;
2761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
+ id: string;
2762
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2763
2764
  locator?: string | undefined;
2764
2765
  }[];
@@ -2770,9 +2771,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2770
2771
  agentId: string;
2771
2772
  sessionId: string;
2772
2773
  evidence: {
2773
- id: string;
2774
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
2775
  label: string;
2775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
+ id: string;
2776
2777
  capture: "at_action" | "historical_lookup" | "fixture";
2777
2778
  locator?: string | undefined;
2778
2779
  }[];
@@ -2781,13 +2782,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2781
2782
  recallReceiptId: string;
2782
2783
  staleDecisionAbsent: boolean;
2783
2784
  } | {
2784
- summary: string;
2785
2785
  kind: "mission_completed";
2786
+ summary: string;
2786
2787
  outcome: "failed" | "recovered" | "inconclusive";
2787
2788
  evidence: {
2788
- id: string;
2789
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
2790
  label: string;
2790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2791
+ id: string;
2791
2792
  capture: "at_action" | "historical_lookup" | "fixture";
2792
2793
  locator?: string | undefined;
2793
2794
  }[];
@@ -2797,37 +2798,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2797
2798
  objective: string;
2798
2799
  runMode: "replay" | "fixture" | "live";
2799
2800
  evidence?: {
2800
- id: string;
2801
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2802
  label: string;
2802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
+ id: string;
2803
2804
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2805
  locator?: string | undefined;
2805
2806
  }[] | undefined;
2806
2807
  } | {
2807
- label: string;
2808
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2809
2808
  kind: "agent_status";
2809
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2810
+ label: string;
2810
2811
  role: string;
2811
2812
  agentId: string;
2812
2813
  sessionId: string;
2813
2814
  detail?: string | undefined;
2814
2815
  evidence?: {
2815
- id: string;
2816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2816
2817
  label: string;
2817
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
+ id: string;
2818
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2819
2820
  locator?: string | undefined;
2820
2821
  }[] | undefined;
2821
2822
  } | {
2822
- summary: string;
2823
2823
  kind: "agent_output";
2824
+ summary: string;
2824
2825
  agentId: string;
2825
2826
  sessionId: string;
2826
2827
  outputId: string;
2827
2828
  evidence?: {
2828
- id: string;
2829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
2830
  label: string;
2830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
+ id: string;
2831
2832
  capture: "at_action" | "historical_lookup" | "fixture";
2832
2833
  locator?: string | undefined;
2833
2834
  }[] | undefined;
@@ -2840,37 +2841,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2840
2841
  decisionId: string;
2841
2842
  confidence?: number | undefined;
2842
2843
  evidence?: {
2843
- id: string;
2844
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2844
2845
  label: string;
2845
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
+ id: string;
2846
2847
  capture: "at_action" | "historical_lookup" | "fixture";
2847
2848
  locator?: string | undefined;
2848
2849
  }[] | undefined;
2849
2850
  } | {
2850
- summary: string;
2851
2851
  kind: "conflict_detected";
2852
+ summary: string;
2852
2853
  conflictId: string;
2853
2854
  decisionIds: string[];
2854
2855
  agentIds: string[];
2855
2856
  evidence?: {
2856
- id: string;
2857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2857
2858
  label: string;
2858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
+ id: string;
2859
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2860
2861
  locator?: string | undefined;
2861
2862
  }[] | undefined;
2862
2863
  } | {
2864
+ kind: "test_result";
2863
2865
  summary: string;
2864
2866
  status: "error" | "failed" | "passed";
2865
- kind: "test_result";
2866
2867
  command: string;
2867
2868
  decisionId: string;
2868
2869
  testId: string;
2869
2870
  durationMs?: number | undefined;
2870
2871
  evidence?: {
2871
- id: string;
2872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
2873
  label: string;
2873
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2874
+ id: string;
2874
2875
  capture: "at_action" | "historical_lookup" | "fixture";
2875
2876
  locator?: string | undefined;
2876
2877
  }[] | undefined;
@@ -2885,9 +2886,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2885
2886
  supersedesDecisionIds: string[];
2886
2887
  proposedBy: string;
2887
2888
  evidence?: {
2888
- id: string;
2889
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2889
2890
  label: string;
2890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2891
+ id: string;
2891
2892
  capture: "at_action" | "historical_lookup" | "fixture";
2892
2893
  locator?: string | undefined;
2893
2894
  }[] | undefined;
@@ -2895,15 +2896,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2895
2896
  kind: "correction_approved";
2896
2897
  correctionId: string;
2897
2898
  approvedBy: {
2898
- id: string;
2899
- label: string;
2900
2899
  kind: "agent" | "human";
2900
+ label: string;
2901
+ id: string;
2901
2902
  };
2902
2903
  note?: string | undefined;
2903
2904
  evidence?: {
2904
- id: string;
2905
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
2906
  label: string;
2906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
+ id: string;
2907
2908
  capture: "at_action" | "historical_lookup" | "fixture";
2908
2909
  locator?: string | undefined;
2909
2910
  }[] | undefined;
@@ -2913,9 +2914,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2913
2914
  correctionId: string;
2914
2915
  replacementDecisionId: string;
2915
2916
  evidence?: {
2916
- id: string;
2917
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2918
  label: string;
2918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
+ id: string;
2919
2920
  capture: "at_action" | "historical_lookup" | "fixture";
2920
2921
  locator?: string | undefined;
2921
2922
  }[] | undefined;
@@ -2928,9 +2929,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2928
2929
  recallReceiptId: string;
2929
2930
  capturedAtAction: boolean;
2930
2931
  evidence?: {
2931
- id: string;
2932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2932
2933
  label: string;
2933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2934
+ id: string;
2934
2935
  capture: "at_action" | "historical_lookup" | "fixture";
2935
2936
  locator?: string | undefined;
2936
2937
  }[] | undefined;
@@ -2943,20 +2944,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2943
2944
  recallReceiptId: string;
2944
2945
  staleDecisionAbsent: boolean;
2945
2946
  evidence?: {
2946
- id: string;
2947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2947
2948
  label: string;
2948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
+ id: string;
2949
2950
  capture: "at_action" | "historical_lookup" | "fixture";
2950
2951
  locator?: string | undefined;
2951
2952
  }[] | undefined;
2952
2953
  } | {
2953
- summary: string;
2954
2954
  kind: "mission_completed";
2955
+ summary: string;
2955
2956
  outcome: "failed" | "recovered" | "inconclusive";
2956
2957
  evidence?: {
2957
- id: string;
2958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2958
2959
  label: string;
2959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2960
+ id: string;
2960
2961
  capture: "at_action" | "historical_lookup" | "fixture";
2961
2962
  locator?: string | undefined;
2962
2963
  }[] | undefined;
@@ -2966,38 +2967,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2966
2967
  kind: "mission_started";
2967
2968
  title: string;
2968
2969
  evidence: {
2969
- id: string;
2970
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2970
2971
  label: string;
2971
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
+ id: string;
2972
2973
  capture: "at_action" | "historical_lookup" | "fixture";
2973
2974
  locator?: string | undefined;
2974
2975
  }[];
2975
2976
  objective: string;
2976
2977
  runMode: "replay" | "fixture" | "live";
2977
2978
  } | {
2978
- label: string;
2979
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2980
2979
  kind: "agent_status";
2980
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2981
+ label: string;
2981
2982
  role: string;
2982
2983
  agentId: string;
2983
2984
  sessionId: string;
2984
2985
  evidence: {
2985
- id: string;
2986
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2986
2987
  label: string;
2987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
+ id: string;
2988
2989
  capture: "at_action" | "historical_lookup" | "fixture";
2989
2990
  locator?: string | undefined;
2990
2991
  }[];
2991
2992
  detail?: string | undefined;
2992
2993
  } | {
2993
- summary: string;
2994
2994
  kind: "agent_output";
2995
+ summary: string;
2995
2996
  agentId: string;
2996
2997
  sessionId: string;
2997
2998
  evidence: {
2998
- id: string;
2999
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2999
3000
  label: string;
3000
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3001
+ id: string;
3001
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3002
3003
  locator?: string | undefined;
3003
3004
  }[];
@@ -3008,9 +3009,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3008
3009
  statement: string;
3009
3010
  sessionId: string;
3010
3011
  evidence: {
3011
- id: string;
3012
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
3013
  label: string;
3013
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3014
+ id: string;
3014
3015
  capture: "at_action" | "historical_lookup" | "fixture";
3015
3016
  locator?: string | undefined;
3016
3017
  }[];
@@ -3018,12 +3019,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3018
3019
  decisionId: string;
3019
3020
  confidence?: number | undefined;
3020
3021
  } | {
3021
- summary: string;
3022
3022
  kind: "conflict_detected";
3023
+ summary: string;
3023
3024
  evidence: {
3024
- id: string;
3025
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3025
3026
  label: string;
3026
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3027
+ id: string;
3027
3028
  capture: "at_action" | "historical_lookup" | "fixture";
3028
3029
  locator?: string | undefined;
3029
3030
  }[];
@@ -3031,14 +3032,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3031
3032
  decisionIds: string[];
3032
3033
  agentIds: string[];
3033
3034
  } | {
3035
+ kind: "test_result";
3034
3036
  summary: string;
3035
3037
  status: "error" | "failed" | "passed";
3036
- kind: "test_result";
3037
3038
  command: string;
3038
3039
  evidence: {
3039
- id: string;
3040
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
3041
  label: string;
3041
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
+ id: string;
3042
3043
  capture: "at_action" | "historical_lookup" | "fixture";
3043
3044
  locator?: string | undefined;
3044
3045
  }[];
@@ -3051,9 +3052,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3051
3052
  statement: string;
3052
3053
  rationale: string;
3053
3054
  evidence: {
3054
- id: string;
3055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3055
3056
  label: string;
3056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
+ id: string;
3057
3058
  capture: "at_action" | "historical_lookup" | "fixture";
3058
3059
  locator?: string | undefined;
3059
3060
  }[];
@@ -3065,25 +3066,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3065
3066
  } | {
3066
3067
  kind: "correction_approved";
3067
3068
  evidence: {
3068
- id: string;
3069
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3069
3070
  label: string;
3070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
+ id: string;
3071
3072
  capture: "at_action" | "historical_lookup" | "fixture";
3072
3073
  locator?: string | undefined;
3073
3074
  }[];
3074
3075
  correctionId: string;
3075
3076
  approvedBy: {
3076
- id: string;
3077
- label: string;
3078
3077
  kind: "agent" | "human";
3078
+ label: string;
3079
+ id: string;
3079
3080
  };
3080
3081
  note?: string | undefined;
3081
3082
  } | {
3082
3083
  kind: "decision_superseded";
3083
3084
  evidence: {
3084
- id: string;
3085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3085
3086
  label: string;
3086
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
+ id: string;
3087
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3088
3089
  locator?: string | undefined;
3089
3090
  }[];
@@ -3096,9 +3097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3096
3097
  agentId: string;
3097
3098
  sessionId: string;
3098
3099
  evidence: {
3099
- id: string;
3100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3100
3101
  label: string;
3101
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
+ id: string;
3102
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3103
3104
  locator?: string | undefined;
3104
3105
  }[];
@@ -3110,9 +3111,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3110
3111
  agentId: string;
3111
3112
  sessionId: string;
3112
3113
  evidence: {
3113
- id: string;
3114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3114
3115
  label: string;
3115
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
+ id: string;
3116
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3117
3118
  locator?: string | undefined;
3118
3119
  }[];
@@ -3121,13 +3122,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3121
3122
  recallReceiptId: string;
3122
3123
  staleDecisionAbsent: boolean;
3123
3124
  } | {
3124
- summary: string;
3125
3125
  kind: "mission_completed";
3126
+ summary: string;
3126
3127
  outcome: "failed" | "recovered" | "inconclusive";
3127
3128
  evidence: {
3128
- id: string;
3129
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
3130
  label: string;
3130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
+ id: string;
3131
3132
  capture: "at_action" | "historical_lookup" | "fixture";
3132
3133
  locator?: string | undefined;
3133
3134
  }[];
@@ -3141,37 +3142,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3141
3142
  objective: string;
3142
3143
  runMode: "replay" | "fixture" | "live";
3143
3144
  evidence?: {
3144
- id: string;
3145
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3145
3146
  label: string;
3146
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
+ id: string;
3147
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3148
3149
  locator?: string | undefined;
3149
3150
  }[] | undefined;
3150
3151
  } | {
3151
- label: string;
3152
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3153
3152
  kind: "agent_status";
3153
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3154
+ label: string;
3154
3155
  role: string;
3155
3156
  agentId: string;
3156
3157
  sessionId: string;
3157
3158
  detail?: string | undefined;
3158
3159
  evidence?: {
3159
- id: string;
3160
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
3161
  label: string;
3161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
+ id: string;
3162
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3164
  locator?: string | undefined;
3164
3165
  }[] | undefined;
3165
3166
  } | {
3166
- summary: string;
3167
3167
  kind: "agent_output";
3168
+ summary: string;
3168
3169
  agentId: string;
3169
3170
  sessionId: string;
3170
3171
  outputId: string;
3171
3172
  evidence?: {
3172
- id: string;
3173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3173
3174
  label: string;
3174
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
+ id: string;
3175
3176
  capture: "at_action" | "historical_lookup" | "fixture";
3176
3177
  locator?: string | undefined;
3177
3178
  }[] | undefined;
@@ -3184,37 +3185,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3184
3185
  decisionId: string;
3185
3186
  confidence?: number | undefined;
3186
3187
  evidence?: {
3187
- id: string;
3188
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3189
  label: string;
3189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
+ id: string;
3190
3191
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3192
  locator?: string | undefined;
3192
3193
  }[] | undefined;
3193
3194
  } | {
3194
- summary: string;
3195
3195
  kind: "conflict_detected";
3196
+ summary: string;
3196
3197
  conflictId: string;
3197
3198
  decisionIds: string[];
3198
3199
  agentIds: string[];
3199
3200
  evidence?: {
3200
- id: string;
3201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
3202
  label: string;
3202
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
+ id: string;
3203
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3204
3205
  locator?: string | undefined;
3205
3206
  }[] | undefined;
3206
3207
  } | {
3208
+ kind: "test_result";
3207
3209
  summary: string;
3208
3210
  status: "error" | "failed" | "passed";
3209
- kind: "test_result";
3210
3211
  command: string;
3211
3212
  decisionId: string;
3212
3213
  testId: string;
3213
3214
  durationMs?: number | undefined;
3214
3215
  evidence?: {
3215
- id: string;
3216
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
3217
  label: string;
3217
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
+ id: string;
3218
3219
  capture: "at_action" | "historical_lookup" | "fixture";
3219
3220
  locator?: string | undefined;
3220
3221
  }[] | undefined;
@@ -3229,9 +3230,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3229
3230
  supersedesDecisionIds: string[];
3230
3231
  proposedBy: string;
3231
3232
  evidence?: {
3232
- id: string;
3233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3233
3234
  label: string;
3234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
+ id: string;
3235
3236
  capture: "at_action" | "historical_lookup" | "fixture";
3236
3237
  locator?: string | undefined;
3237
3238
  }[] | undefined;
@@ -3239,15 +3240,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3239
3240
  kind: "correction_approved";
3240
3241
  correctionId: string;
3241
3242
  approvedBy: {
3242
- id: string;
3243
- label: string;
3244
3243
  kind: "agent" | "human";
3244
+ label: string;
3245
+ id: string;
3245
3246
  };
3246
3247
  note?: string | undefined;
3247
3248
  evidence?: {
3248
- id: string;
3249
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3249
3250
  label: string;
3250
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3251
+ id: string;
3251
3252
  capture: "at_action" | "historical_lookup" | "fixture";
3252
3253
  locator?: string | undefined;
3253
3254
  }[] | undefined;
@@ -3257,9 +3258,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3257
3258
  correctionId: string;
3258
3259
  replacementDecisionId: string;
3259
3260
  evidence?: {
3260
- id: string;
3261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3261
3262
  label: string;
3262
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
+ id: string;
3263
3264
  capture: "at_action" | "historical_lookup" | "fixture";
3264
3265
  locator?: string | undefined;
3265
3266
  }[] | undefined;
@@ -3272,9 +3273,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3272
3273
  recallReceiptId: string;
3273
3274
  capturedAtAction: boolean;
3274
3275
  evidence?: {
3275
- id: string;
3276
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3277
  label: string;
3277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
+ id: string;
3278
3279
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3280
  locator?: string | undefined;
3280
3281
  }[] | undefined;
@@ -3287,20 +3288,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3287
3288
  recallReceiptId: string;
3288
3289
  staleDecisionAbsent: boolean;
3289
3290
  evidence?: {
3290
- id: string;
3291
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
3292
  label: string;
3292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
+ id: string;
3293
3294
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3295
  locator?: string | undefined;
3295
3296
  }[] | undefined;
3296
3297
  } | {
3297
- summary: string;
3298
3298
  kind: "mission_completed";
3299
+ summary: string;
3299
3300
  outcome: "failed" | "recovered" | "inconclusive";
3300
3301
  evidence?: {
3301
- id: string;
3302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
3303
  label: string;
3303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
+ id: string;
3304
3305
  capture: "at_action" | "historical_lookup" | "fixture";
3305
3306
  locator?: string | undefined;
3306
3307
  }[] | undefined;
@@ -3330,15 +3331,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3330
3331
  locator: z.ZodOptional<z.ZodString>;
3331
3332
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3332
3333
  }, "strict", z.ZodTypeAny, {
3333
- id: string;
3334
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
3335
  label: string;
3335
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
+ id: string;
3336
3337
  capture: "at_action" | "historical_lookup" | "fixture";
3337
3338
  locator?: string | undefined;
3338
3339
  }, {
3339
- id: string;
3340
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3340
3341
  label: string;
3341
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
+ id: string;
3342
3343
  capture: "at_action" | "historical_lookup" | "fixture";
3343
3344
  locator?: string | undefined;
3344
3345
  }>, "many">>;
@@ -3346,9 +3347,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3346
3347
  kind: "mission_started";
3347
3348
  title: string;
3348
3349
  evidence: {
3349
- id: string;
3350
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3350
3351
  label: string;
3351
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
+ id: string;
3352
3353
  capture: "at_action" | "historical_lookup" | "fixture";
3353
3354
  locator?: string | undefined;
3354
3355
  }[];
@@ -3360,9 +3361,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3360
3361
  objective: string;
3361
3362
  runMode: "replay" | "fixture" | "live";
3362
3363
  evidence?: {
3363
- id: string;
3364
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
3365
  label: string;
3365
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3366
+ id: string;
3366
3367
  capture: "at_action" | "historical_lookup" | "fixture";
3367
3368
  locator?: string | undefined;
3368
3369
  }[] | undefined;
@@ -3378,15 +3379,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3378
3379
  locator: z.ZodOptional<z.ZodString>;
3379
3380
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3380
3381
  }, "strict", z.ZodTypeAny, {
3381
- id: string;
3382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3382
3383
  label: string;
3383
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
+ id: string;
3384
3385
  capture: "at_action" | "historical_lookup" | "fixture";
3385
3386
  locator?: string | undefined;
3386
3387
  }, {
3387
- id: string;
3388
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3388
3389
  label: string;
3389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
+ id: string;
3390
3391
  capture: "at_action" | "historical_lookup" | "fixture";
3391
3392
  locator?: string | undefined;
3392
3393
  }>, "many">>;
@@ -3394,32 +3395,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3394
3395
  sessionId: z.ZodString;
3395
3396
  kind: z.ZodLiteral<"agent_status">;
3396
3397
  }, "strict", z.ZodTypeAny, {
3397
- label: string;
3398
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3399
3398
  kind: "agent_status";
3399
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3400
+ label: string;
3400
3401
  role: string;
3401
3402
  agentId: string;
3402
3403
  sessionId: string;
3403
3404
  evidence: {
3404
- id: string;
3405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3405
3406
  label: string;
3406
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
+ id: string;
3407
3408
  capture: "at_action" | "historical_lookup" | "fixture";
3408
3409
  locator?: string | undefined;
3409
3410
  }[];
3410
3411
  detail?: string | undefined;
3411
3412
  }, {
3412
- label: string;
3413
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3414
3413
  kind: "agent_status";
3414
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3415
+ label: string;
3415
3416
  role: string;
3416
3417
  agentId: string;
3417
3418
  sessionId: string;
3418
3419
  detail?: string | undefined;
3419
3420
  evidence?: {
3420
- id: string;
3421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3421
3422
  label: string;
3422
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
+ id: string;
3423
3424
  capture: "at_action" | "historical_lookup" | "fixture";
3424
3425
  locator?: string | undefined;
3425
3426
  }[] | undefined;
@@ -3433,15 +3434,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3433
3434
  locator: z.ZodOptional<z.ZodString>;
3434
3435
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3435
3436
  }, "strict", z.ZodTypeAny, {
3436
- id: string;
3437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
3438
  label: string;
3438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
+ id: string;
3439
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3441
  locator?: string | undefined;
3441
3442
  }, {
3442
- id: string;
3443
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3444
  label: string;
3444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
+ id: string;
3445
3446
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3447
  locator?: string | undefined;
3447
3448
  }>, "many">>;
@@ -3449,28 +3450,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3449
3450
  sessionId: z.ZodString;
3450
3451
  kind: z.ZodLiteral<"agent_output">;
3451
3452
  }, "strict", z.ZodTypeAny, {
3452
- summary: string;
3453
3453
  kind: "agent_output";
3454
+ summary: string;
3454
3455
  agentId: string;
3455
3456
  sessionId: string;
3456
3457
  evidence: {
3457
- id: string;
3458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
3459
  label: string;
3459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
+ id: string;
3460
3461
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3462
  locator?: string | undefined;
3462
3463
  }[];
3463
3464
  outputId: string;
3464
3465
  }, {
3465
- summary: string;
3466
3466
  kind: "agent_output";
3467
+ summary: string;
3467
3468
  agentId: string;
3468
3469
  sessionId: string;
3469
3470
  outputId: string;
3470
3471
  evidence?: {
3471
- id: string;
3472
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
3473
  label: string;
3473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
+ id: string;
3474
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3475
3476
  locator?: string | undefined;
3476
3477
  }[] | undefined;
@@ -3486,15 +3487,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3486
3487
  locator: z.ZodOptional<z.ZodString>;
3487
3488
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3488
3489
  }, "strict", z.ZodTypeAny, {
3489
- id: string;
3490
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3491
  label: string;
3491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
+ id: string;
3492
3493
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3494
  locator?: string | undefined;
3494
3495
  }, {
3495
- id: string;
3496
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3496
3497
  label: string;
3497
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3498
+ id: string;
3498
3499
  capture: "at_action" | "historical_lookup" | "fixture";
3499
3500
  locator?: string | undefined;
3500
3501
  }>, "many">>;
@@ -3507,9 +3508,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3507
3508
  statement: string;
3508
3509
  sessionId: string;
3509
3510
  evidence: {
3510
- id: string;
3511
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3511
3512
  label: string;
3512
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3513
+ id: string;
3513
3514
  capture: "at_action" | "historical_lookup" | "fixture";
3514
3515
  locator?: string | undefined;
3515
3516
  }[];
@@ -3525,9 +3526,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3525
3526
  decisionId: string;
3526
3527
  confidence?: number | undefined;
3527
3528
  evidence?: {
3528
- id: string;
3529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3529
3530
  label: string;
3530
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
+ id: string;
3531
3532
  capture: "at_action" | "historical_lookup" | "fixture";
3532
3533
  locator?: string | undefined;
3533
3534
  }[] | undefined;
@@ -3544,25 +3545,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3544
3545
  locator: z.ZodOptional<z.ZodString>;
3545
3546
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3546
3547
  }, "strict", z.ZodTypeAny, {
3547
- id: string;
3548
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3549
  label: string;
3549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
+ id: string;
3550
3551
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3552
  locator?: string | undefined;
3552
3553
  }, {
3553
- id: string;
3554
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
3555
  label: string;
3555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
+ id: string;
3556
3557
  capture: "at_action" | "historical_lookup" | "fixture";
3557
3558
  locator?: string | undefined;
3558
3559
  }>, "many">>;
3559
3560
  }, "strict", z.ZodTypeAny, {
3560
- summary: string;
3561
3561
  kind: "conflict_detected";
3562
+ summary: string;
3562
3563
  evidence: {
3563
- id: string;
3564
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
3565
  label: string;
3565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
+ id: string;
3566
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3567
3568
  locator?: string | undefined;
3568
3569
  }[];
@@ -3570,15 +3571,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3570
3571
  decisionIds: string[];
3571
3572
  agentIds: string[];
3572
3573
  }, {
3573
- summary: string;
3574
3574
  kind: "conflict_detected";
3575
+ summary: string;
3575
3576
  conflictId: string;
3576
3577
  decisionIds: string[];
3577
3578
  agentIds: string[];
3578
3579
  evidence?: {
3579
- id: string;
3580
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
3581
  label: string;
3581
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
+ id: string;
3582
3583
  capture: "at_action" | "historical_lookup" | "fixture";
3583
3584
  locator?: string | undefined;
3584
3585
  }[] | undefined;
@@ -3598,27 +3599,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3598
3599
  locator: z.ZodOptional<z.ZodString>;
3599
3600
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3600
3601
  }, "strict", z.ZodTypeAny, {
3601
- id: string;
3602
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3602
3603
  label: string;
3603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
+ id: string;
3604
3605
  capture: "at_action" | "historical_lookup" | "fixture";
3605
3606
  locator?: string | undefined;
3606
3607
  }, {
3607
- id: string;
3608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3608
3609
  label: string;
3609
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3610
+ id: string;
3610
3611
  capture: "at_action" | "historical_lookup" | "fixture";
3611
3612
  locator?: string | undefined;
3612
3613
  }>, "many">>;
3613
3614
  }, "strict", z.ZodTypeAny, {
3615
+ kind: "test_result";
3614
3616
  summary: string;
3615
3617
  status: "error" | "failed" | "passed";
3616
- kind: "test_result";
3617
3618
  command: string;
3618
3619
  evidence: {
3619
- id: string;
3620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
3621
  label: string;
3621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
+ id: string;
3622
3623
  capture: "at_action" | "historical_lookup" | "fixture";
3623
3624
  locator?: string | undefined;
3624
3625
  }[];
@@ -3627,17 +3628,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3627
3628
  durationMs?: number | undefined;
3628
3629
  correctionId?: string | undefined;
3629
3630
  }, {
3631
+ kind: "test_result";
3630
3632
  summary: string;
3631
3633
  status: "error" | "failed" | "passed";
3632
- kind: "test_result";
3633
3634
  command: string;
3634
3635
  decisionId: string;
3635
3636
  testId: string;
3636
3637
  durationMs?: number | undefined;
3637
3638
  evidence?: {
3638
- id: string;
3639
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
3640
  label: string;
3640
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
+ id: string;
3641
3642
  capture: "at_action" | "historical_lookup" | "fixture";
3642
3643
  locator?: string | undefined;
3643
3644
  }[] | undefined;
@@ -3658,15 +3659,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3658
3659
  locator: z.ZodOptional<z.ZodString>;
3659
3660
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3660
3661
  }, "strict", z.ZodTypeAny, {
3661
- id: string;
3662
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
3663
  label: string;
3663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
+ id: string;
3664
3665
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3666
  locator?: string | undefined;
3666
3667
  }, {
3667
- id: string;
3668
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3668
3669
  label: string;
3669
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
+ id: string;
3670
3671
  capture: "at_action" | "historical_lookup" | "fixture";
3671
3672
  locator?: string | undefined;
3672
3673
  }>, "many">>;
@@ -3675,9 +3676,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3675
3676
  statement: string;
3676
3677
  rationale: string;
3677
3678
  evidence: {
3678
- id: string;
3679
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3679
3680
  label: string;
3680
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
+ id: string;
3681
3682
  capture: "at_action" | "historical_lookup" | "fixture";
3682
3683
  locator?: string | undefined;
3683
3684
  }[];
@@ -3696,9 +3697,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3696
3697
  supersedesDecisionIds: string[];
3697
3698
  proposedBy: string;
3698
3699
  evidence?: {
3699
- id: string;
3700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3700
3701
  label: string;
3701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3702
+ id: string;
3702
3703
  capture: "at_action" | "historical_lookup" | "fixture";
3703
3704
  locator?: string | undefined;
3704
3705
  }[] | undefined;
@@ -3710,13 +3711,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3710
3711
  id: z.ZodString;
3711
3712
  label: z.ZodString;
3712
3713
  }, "strict", z.ZodTypeAny, {
3713
- id: string;
3714
- label: string;
3715
3714
  kind: "agent" | "human";
3716
- }, {
3717
- id: string;
3718
3715
  label: string;
3716
+ id: string;
3717
+ }, {
3719
3718
  kind: "agent" | "human";
3719
+ label: string;
3720
+ id: string;
3720
3721
  }>;
3721
3722
  note: z.ZodOptional<z.ZodString>;
3722
3723
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3726,47 +3727,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3726
3727
  locator: z.ZodOptional<z.ZodString>;
3727
3728
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3728
3729
  }, "strict", z.ZodTypeAny, {
3729
- id: string;
3730
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3731
  label: string;
3731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
+ id: string;
3732
3733
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3734
  locator?: string | undefined;
3734
3735
  }, {
3735
- id: string;
3736
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
3737
  label: string;
3737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
+ id: string;
3738
3739
  capture: "at_action" | "historical_lookup" | "fixture";
3739
3740
  locator?: string | undefined;
3740
3741
  }>, "many">>;
3741
3742
  }, "strict", z.ZodTypeAny, {
3742
3743
  kind: "correction_approved";
3743
3744
  evidence: {
3744
- id: string;
3745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3746
  label: string;
3746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
+ id: string;
3747
3748
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3749
  locator?: string | undefined;
3749
3750
  }[];
3750
3751
  correctionId: string;
3751
3752
  approvedBy: {
3752
- id: string;
3753
- label: string;
3754
3753
  kind: "agent" | "human";
3754
+ label: string;
3755
+ id: string;
3755
3756
  };
3756
3757
  note?: string | undefined;
3757
3758
  }, {
3758
3759
  kind: "correction_approved";
3759
3760
  correctionId: string;
3760
3761
  approvedBy: {
3761
- id: string;
3762
- label: string;
3763
3762
  kind: "agent" | "human";
3763
+ label: string;
3764
+ id: string;
3764
3765
  };
3765
3766
  note?: string | undefined;
3766
3767
  evidence?: {
3767
- id: string;
3768
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
3769
  label: string;
3769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
+ id: string;
3770
3771
  capture: "at_action" | "historical_lookup" | "fixture";
3771
3772
  locator?: string | undefined;
3772
3773
  }[] | undefined;
@@ -3782,24 +3783,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3782
3783
  locator: z.ZodOptional<z.ZodString>;
3783
3784
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3784
3785
  }, "strict", z.ZodTypeAny, {
3785
- id: string;
3786
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3786
3787
  label: string;
3787
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
+ id: string;
3788
3789
  capture: "at_action" | "historical_lookup" | "fixture";
3789
3790
  locator?: string | undefined;
3790
3791
  }, {
3791
- id: string;
3792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
3793
  label: string;
3793
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
+ id: string;
3794
3795
  capture: "at_action" | "historical_lookup" | "fixture";
3795
3796
  locator?: string | undefined;
3796
3797
  }>, "many">>;
3797
3798
  }, "strict", z.ZodTypeAny, {
3798
3799
  kind: "decision_superseded";
3799
3800
  evidence: {
3800
- id: string;
3801
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
3802
  label: string;
3802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3803
+ id: string;
3803
3804
  capture: "at_action" | "historical_lookup" | "fixture";
3804
3805
  locator?: string | undefined;
3805
3806
  }[];
@@ -3812,9 +3813,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3812
3813
  correctionId: string;
3813
3814
  replacementDecisionId: string;
3814
3815
  evidence?: {
3815
- id: string;
3816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
3817
  label: string;
3817
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
+ id: string;
3818
3819
  capture: "at_action" | "historical_lookup" | "fixture";
3819
3820
  locator?: string | undefined;
3820
3821
  }[] | undefined;
@@ -3830,15 +3831,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3830
3831
  locator: z.ZodOptional<z.ZodString>;
3831
3832
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3832
3833
  }, "strict", z.ZodTypeAny, {
3833
- id: string;
3834
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
3835
  label: string;
3835
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
+ id: string;
3836
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3838
  locator?: string | undefined;
3838
3839
  }, {
3839
- id: string;
3840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3840
3841
  label: string;
3841
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
+ id: string;
3842
3843
  capture: "at_action" | "historical_lookup" | "fixture";
3843
3844
  locator?: string | undefined;
3844
3845
  }>, "many">>;
@@ -3851,9 +3852,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3851
3852
  agentId: string;
3852
3853
  sessionId: string;
3853
3854
  evidence: {
3854
- id: string;
3855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3855
3856
  label: string;
3856
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
+ id: string;
3857
3858
  capture: "at_action" | "historical_lookup" | "fixture";
3858
3859
  locator?: string | undefined;
3859
3860
  }[];
@@ -3869,9 +3870,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3869
3870
  recallReceiptId: string;
3870
3871
  capturedAtAction: boolean;
3871
3872
  evidence?: {
3872
- id: string;
3873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3873
3874
  label: string;
3874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
+ id: string;
3875
3876
  capture: "at_action" | "historical_lookup" | "fixture";
3876
3877
  locator?: string | undefined;
3877
3878
  }[] | undefined;
@@ -3887,15 +3888,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3887
3888
  locator: z.ZodOptional<z.ZodString>;
3888
3889
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3889
3890
  }, "strict", z.ZodTypeAny, {
3890
- id: string;
3891
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3892
  label: string;
3892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
+ id: string;
3893
3894
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3895
  locator?: string | undefined;
3895
3896
  }, {
3896
- id: string;
3897
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3898
  label: string;
3898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
+ id: string;
3899
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3901
  locator?: string | undefined;
3901
3902
  }>, "many">>;
@@ -3907,9 +3908,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3907
3908
  agentId: string;
3908
3909
  sessionId: string;
3909
3910
  evidence: {
3910
- id: string;
3911
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3911
3912
  label: string;
3912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
+ id: string;
3913
3914
  capture: "at_action" | "historical_lookup" | "fixture";
3914
3915
  locator?: string | undefined;
3915
3916
  }[];
@@ -3926,9 +3927,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3926
3927
  recallReceiptId: string;
3927
3928
  staleDecisionAbsent: boolean;
3928
3929
  evidence?: {
3929
- id: string;
3930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3930
3931
  label: string;
3931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3932
+ id: string;
3932
3933
  capture: "at_action" | "historical_lookup" | "fixture";
3933
3934
  locator?: string | undefined;
3934
3935
  }[] | undefined;
@@ -3943,37 +3944,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3943
3944
  locator: z.ZodOptional<z.ZodString>;
3944
3945
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3945
3946
  }, "strict", z.ZodTypeAny, {
3946
- id: string;
3947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
3948
  label: string;
3948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
+ id: string;
3949
3950
  capture: "at_action" | "historical_lookup" | "fixture";
3950
3951
  locator?: string | undefined;
3951
3952
  }, {
3952
- id: string;
3953
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
3954
  label: string;
3954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
+ id: string;
3955
3956
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3957
  locator?: string | undefined;
3957
3958
  }>, "many">>;
3958
3959
  }, "strict", z.ZodTypeAny, {
3959
- summary: string;
3960
3960
  kind: "mission_completed";
3961
+ summary: string;
3961
3962
  outcome: "failed" | "recovered" | "inconclusive";
3962
3963
  evidence: {
3963
- id: string;
3964
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3964
3965
  label: string;
3965
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
+ id: string;
3966
3967
  capture: "at_action" | "historical_lookup" | "fixture";
3967
3968
  locator?: string | undefined;
3968
3969
  }[];
3969
3970
  }, {
3970
- summary: string;
3971
3971
  kind: "mission_completed";
3972
+ summary: string;
3972
3973
  outcome: "failed" | "recovered" | "inconclusive";
3973
3974
  evidence?: {
3974
- id: string;
3975
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3975
3976
  label: string;
3976
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
+ id: string;
3977
3978
  capture: "at_action" | "historical_lookup" | "fixture";
3978
3979
  locator?: string | undefined;
3979
3980
  }[] | undefined;
@@ -3981,38 +3982,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3981
3982
  kind: "mission_started";
3982
3983
  title: string;
3983
3984
  evidence: {
3984
- id: string;
3985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3985
3986
  label: string;
3986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
+ id: string;
3987
3988
  capture: "at_action" | "historical_lookup" | "fixture";
3988
3989
  locator?: string | undefined;
3989
3990
  }[];
3990
3991
  objective: string;
3991
3992
  runMode: "replay" | "fixture" | "live";
3992
3993
  } | {
3993
- label: string;
3994
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3995
3994
  kind: "agent_status";
3995
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3996
+ label: string;
3996
3997
  role: string;
3997
3998
  agentId: string;
3998
3999
  sessionId: string;
3999
4000
  evidence: {
4000
- id: string;
4001
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4001
4002
  label: string;
4002
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4003
+ id: string;
4003
4004
  capture: "at_action" | "historical_lookup" | "fixture";
4004
4005
  locator?: string | undefined;
4005
4006
  }[];
4006
4007
  detail?: string | undefined;
4007
4008
  } | {
4008
- summary: string;
4009
4009
  kind: "agent_output";
4010
+ summary: string;
4010
4011
  agentId: string;
4011
4012
  sessionId: string;
4012
4013
  evidence: {
4013
- id: string;
4014
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
4015
  label: string;
4015
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
+ id: string;
4016
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4017
4018
  locator?: string | undefined;
4018
4019
  }[];
@@ -4023,9 +4024,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4023
4024
  statement: string;
4024
4025
  sessionId: string;
4025
4026
  evidence: {
4026
- id: string;
4027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4027
4028
  label: string;
4028
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
+ id: string;
4029
4030
  capture: "at_action" | "historical_lookup" | "fixture";
4030
4031
  locator?: string | undefined;
4031
4032
  }[];
@@ -4033,12 +4034,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4033
4034
  decisionId: string;
4034
4035
  confidence?: number | undefined;
4035
4036
  } | {
4036
- summary: string;
4037
4037
  kind: "conflict_detected";
4038
+ summary: string;
4038
4039
  evidence: {
4039
- id: string;
4040
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4040
4041
  label: string;
4041
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4042
+ id: string;
4042
4043
  capture: "at_action" | "historical_lookup" | "fixture";
4043
4044
  locator?: string | undefined;
4044
4045
  }[];
@@ -4046,14 +4047,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4046
4047
  decisionIds: string[];
4047
4048
  agentIds: string[];
4048
4049
  } | {
4050
+ kind: "test_result";
4049
4051
  summary: string;
4050
4052
  status: "error" | "failed" | "passed";
4051
- kind: "test_result";
4052
4053
  command: string;
4053
4054
  evidence: {
4054
- id: string;
4055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4056
  label: string;
4056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
+ id: string;
4057
4058
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4059
  locator?: string | undefined;
4059
4060
  }[];
@@ -4066,9 +4067,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4066
4067
  statement: string;
4067
4068
  rationale: string;
4068
4069
  evidence: {
4069
- id: string;
4070
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
4071
  label: string;
4071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
+ id: string;
4072
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4074
  locator?: string | undefined;
4074
4075
  }[];
@@ -4080,25 +4081,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4080
4081
  } | {
4081
4082
  kind: "correction_approved";
4082
4083
  evidence: {
4083
- id: string;
4084
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4085
  label: string;
4085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
+ id: string;
4086
4087
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4088
  locator?: string | undefined;
4088
4089
  }[];
4089
4090
  correctionId: string;
4090
4091
  approvedBy: {
4091
- id: string;
4092
- label: string;
4093
4092
  kind: "agent" | "human";
4093
+ label: string;
4094
+ id: string;
4094
4095
  };
4095
4096
  note?: string | undefined;
4096
4097
  } | {
4097
4098
  kind: "decision_superseded";
4098
4099
  evidence: {
4099
- id: string;
4100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4100
4101
  label: string;
4101
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4102
+ id: string;
4102
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4103
4104
  locator?: string | undefined;
4104
4105
  }[];
@@ -4111,9 +4112,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4111
4112
  agentId: string;
4112
4113
  sessionId: string;
4113
4114
  evidence: {
4114
- id: string;
4115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4115
4116
  label: string;
4116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
+ id: string;
4117
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4118
4119
  locator?: string | undefined;
4119
4120
  }[];
@@ -4125,9 +4126,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4125
4126
  agentId: string;
4126
4127
  sessionId: string;
4127
4128
  evidence: {
4128
- id: string;
4129
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
4130
  label: string;
4130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
+ id: string;
4131
4132
  capture: "at_action" | "historical_lookup" | "fixture";
4132
4133
  locator?: string | undefined;
4133
4134
  }[];
@@ -4136,13 +4137,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4136
4137
  recallReceiptId: string;
4137
4138
  staleDecisionAbsent: boolean;
4138
4139
  } | {
4139
- summary: string;
4140
4140
  kind: "mission_completed";
4141
+ summary: string;
4141
4142
  outcome: "failed" | "recovered" | "inconclusive";
4142
4143
  evidence: {
4143
- id: string;
4144
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
4145
  label: string;
4145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4146
+ id: string;
4146
4147
  capture: "at_action" | "historical_lookup" | "fixture";
4147
4148
  locator?: string | undefined;
4148
4149
  }[];
@@ -4152,37 +4153,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4152
4153
  objective: string;
4153
4154
  runMode: "replay" | "fixture" | "live";
4154
4155
  evidence?: {
4155
- id: string;
4156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4157
  label: string;
4157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
+ id: string;
4158
4159
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4160
  locator?: string | undefined;
4160
4161
  }[] | undefined;
4161
4162
  } | {
4162
- label: string;
4163
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4164
4163
  kind: "agent_status";
4164
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4165
+ label: string;
4165
4166
  role: string;
4166
4167
  agentId: string;
4167
4168
  sessionId: string;
4168
4169
  detail?: string | undefined;
4169
4170
  evidence?: {
4170
- id: string;
4171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4171
4172
  label: string;
4172
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
+ id: string;
4173
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4174
4175
  locator?: string | undefined;
4175
4176
  }[] | undefined;
4176
4177
  } | {
4177
- summary: string;
4178
4178
  kind: "agent_output";
4179
+ summary: string;
4179
4180
  agentId: string;
4180
4181
  sessionId: string;
4181
4182
  outputId: string;
4182
4183
  evidence?: {
4183
- id: string;
4184
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
4185
  label: string;
4185
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
+ id: string;
4186
4187
  capture: "at_action" | "historical_lookup" | "fixture";
4187
4188
  locator?: string | undefined;
4188
4189
  }[] | undefined;
@@ -4195,37 +4196,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4195
4196
  decisionId: string;
4196
4197
  confidence?: number | undefined;
4197
4198
  evidence?: {
4198
- id: string;
4199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4199
4200
  label: string;
4200
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
+ id: string;
4201
4202
  capture: "at_action" | "historical_lookup" | "fixture";
4202
4203
  locator?: string | undefined;
4203
4204
  }[] | undefined;
4204
4205
  } | {
4205
- summary: string;
4206
4206
  kind: "conflict_detected";
4207
+ summary: string;
4207
4208
  conflictId: string;
4208
4209
  decisionIds: string[];
4209
4210
  agentIds: string[];
4210
4211
  evidence?: {
4211
- id: string;
4212
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4212
4213
  label: string;
4213
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
+ id: string;
4214
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4215
4216
  locator?: string | undefined;
4216
4217
  }[] | undefined;
4217
4218
  } | {
4219
+ kind: "test_result";
4218
4220
  summary: string;
4219
4221
  status: "error" | "failed" | "passed";
4220
- kind: "test_result";
4221
4222
  command: string;
4222
4223
  decisionId: string;
4223
4224
  testId: string;
4224
4225
  durationMs?: number | undefined;
4225
4226
  evidence?: {
4226
- id: string;
4227
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
4228
  label: string;
4228
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4229
+ id: string;
4229
4230
  capture: "at_action" | "historical_lookup" | "fixture";
4230
4231
  locator?: string | undefined;
4231
4232
  }[] | undefined;
@@ -4240,9 +4241,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4240
4241
  supersedesDecisionIds: string[];
4241
4242
  proposedBy: string;
4242
4243
  evidence?: {
4243
- id: string;
4244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4244
4245
  label: string;
4245
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
+ id: string;
4246
4247
  capture: "at_action" | "historical_lookup" | "fixture";
4247
4248
  locator?: string | undefined;
4248
4249
  }[] | undefined;
@@ -4250,15 +4251,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4250
4251
  kind: "correction_approved";
4251
4252
  correctionId: string;
4252
4253
  approvedBy: {
4253
- id: string;
4254
- label: string;
4255
4254
  kind: "agent" | "human";
4255
+ label: string;
4256
+ id: string;
4256
4257
  };
4257
4258
  note?: string | undefined;
4258
4259
  evidence?: {
4259
- id: string;
4260
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
4261
  label: string;
4261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
+ id: string;
4262
4263
  capture: "at_action" | "historical_lookup" | "fixture";
4263
4264
  locator?: string | undefined;
4264
4265
  }[] | undefined;
@@ -4268,9 +4269,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4268
4269
  correctionId: string;
4269
4270
  replacementDecisionId: string;
4270
4271
  evidence?: {
4271
- id: string;
4272
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4273
  label: string;
4273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
+ id: string;
4274
4275
  capture: "at_action" | "historical_lookup" | "fixture";
4275
4276
  locator?: string | undefined;
4276
4277
  }[] | undefined;
@@ -4283,9 +4284,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4283
4284
  recallReceiptId: string;
4284
4285
  capturedAtAction: boolean;
4285
4286
  evidence?: {
4286
- id: string;
4287
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4287
4288
  label: string;
4288
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
+ id: string;
4289
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4290
4291
  locator?: string | undefined;
4291
4292
  }[] | undefined;
@@ -4298,64 +4299,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4298
4299
  recallReceiptId: string;
4299
4300
  staleDecisionAbsent: boolean;
4300
4301
  evidence?: {
4301
- id: string;
4302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4302
4303
  label: string;
4303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
+ id: string;
4304
4305
  capture: "at_action" | "historical_lookup" | "fixture";
4305
4306
  locator?: string | undefined;
4306
4307
  }[] | undefined;
4307
4308
  } | {
4308
- summary: string;
4309
4309
  kind: "mission_completed";
4310
+ summary: string;
4310
4311
  outcome: "failed" | "recovered" | "inconclusive";
4311
4312
  evidence?: {
4312
- id: string;
4313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4313
4314
  label: string;
4314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4315
+ id: string;
4315
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4316
4317
  locator?: string | undefined;
4317
4318
  }[] | undefined;
4318
4319
  }>;
4319
4320
  }, "strict", z.ZodTypeAny, {
4320
- namespace: string;
4321
- recordedAt: string;
4322
4321
  schemaVersion: "1";
4322
+ recordedAt: string;
4323
4323
  payload: {
4324
4324
  kind: "mission_started";
4325
4325
  title: string;
4326
4326
  evidence: {
4327
- id: string;
4327
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4328
4328
  label: string;
4329
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
+ id: string;
4330
4330
  capture: "at_action" | "historical_lookup" | "fixture";
4331
4331
  locator?: string | undefined;
4332
4332
  }[];
4333
4333
  objective: string;
4334
4334
  runMode: "replay" | "fixture" | "live";
4335
4335
  } | {
4336
- label: string;
4337
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4338
4336
  kind: "agent_status";
4337
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4338
+ label: string;
4339
4339
  role: string;
4340
4340
  agentId: string;
4341
4341
  sessionId: string;
4342
4342
  evidence: {
4343
- id: string;
4343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
4344
  label: string;
4345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
+ id: string;
4346
4346
  capture: "at_action" | "historical_lookup" | "fixture";
4347
4347
  locator?: string | undefined;
4348
4348
  }[];
4349
4349
  detail?: string | undefined;
4350
4350
  } | {
4351
- summary: string;
4352
4351
  kind: "agent_output";
4352
+ summary: string;
4353
4353
  agentId: string;
4354
4354
  sessionId: string;
4355
4355
  evidence: {
4356
- id: string;
4356
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
4357
  label: string;
4358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
+ id: string;
4359
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4360
4360
  locator?: string | undefined;
4361
4361
  }[];
@@ -4366,9 +4366,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4366
4366
  statement: string;
4367
4367
  sessionId: string;
4368
4368
  evidence: {
4369
- id: string;
4369
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4370
4370
  label: string;
4371
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
+ id: string;
4372
4372
  capture: "at_action" | "historical_lookup" | "fixture";
4373
4373
  locator?: string | undefined;
4374
4374
  }[];
@@ -4376,12 +4376,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4376
4376
  decisionId: string;
4377
4377
  confidence?: number | undefined;
4378
4378
  } | {
4379
- summary: string;
4380
4379
  kind: "conflict_detected";
4380
+ summary: string;
4381
4381
  evidence: {
4382
- id: string;
4382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4383
  label: string;
4384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
+ id: string;
4385
4385
  capture: "at_action" | "historical_lookup" | "fixture";
4386
4386
  locator?: string | undefined;
4387
4387
  }[];
@@ -4389,14 +4389,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4389
4389
  decisionIds: string[];
4390
4390
  agentIds: string[];
4391
4391
  } | {
4392
+ kind: "test_result";
4392
4393
  summary: string;
4393
4394
  status: "error" | "failed" | "passed";
4394
- kind: "test_result";
4395
4395
  command: string;
4396
4396
  evidence: {
4397
- id: string;
4397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
4398
  label: string;
4399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
+ id: string;
4400
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4401
4401
  locator?: string | undefined;
4402
4402
  }[];
@@ -4409,9 +4409,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4409
4409
  statement: string;
4410
4410
  rationale: string;
4411
4411
  evidence: {
4412
- id: string;
4412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
4413
  label: string;
4414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
+ id: string;
4415
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4416
  locator?: string | undefined;
4417
4417
  }[];
@@ -4423,25 +4423,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4423
4423
  } | {
4424
4424
  kind: "correction_approved";
4425
4425
  evidence: {
4426
- id: string;
4426
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4427
  label: string;
4428
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
+ id: string;
4429
4429
  capture: "at_action" | "historical_lookup" | "fixture";
4430
4430
  locator?: string | undefined;
4431
4431
  }[];
4432
4432
  correctionId: string;
4433
4433
  approvedBy: {
4434
- id: string;
4435
- label: string;
4436
4434
  kind: "agent" | "human";
4435
+ label: string;
4436
+ id: string;
4437
4437
  };
4438
4438
  note?: string | undefined;
4439
4439
  } | {
4440
4440
  kind: "decision_superseded";
4441
4441
  evidence: {
4442
- id: string;
4442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
4443
  label: string;
4444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
+ id: string;
4445
4445
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4446
  locator?: string | undefined;
4447
4447
  }[];
@@ -4454,9 +4454,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4454
4454
  agentId: string;
4455
4455
  sessionId: string;
4456
4456
  evidence: {
4457
- id: string;
4457
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4458
  label: string;
4459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
+ id: string;
4460
4460
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4461
  locator?: string | undefined;
4462
4462
  }[];
@@ -4468,9 +4468,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4468
4468
  agentId: string;
4469
4469
  sessionId: string;
4470
4470
  evidence: {
4471
- id: string;
4471
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4472
4472
  label: string;
4473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
+ id: string;
4474
4474
  capture: "at_action" | "historical_lookup" | "fixture";
4475
4475
  locator?: string | undefined;
4476
4476
  }[];
@@ -4479,63 +4479,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4479
4479
  recallReceiptId: string;
4480
4480
  staleDecisionAbsent: boolean;
4481
4481
  } | {
4482
- summary: string;
4483
4482
  kind: "mission_completed";
4483
+ summary: string;
4484
4484
  outcome: "failed" | "recovered" | "inconclusive";
4485
4485
  evidence: {
4486
- id: string;
4486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4487
4487
  label: string;
4488
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
+ id: string;
4489
4489
  capture: "at_action" | "historical_lookup" | "fixture";
4490
4490
  locator?: string | undefined;
4491
4491
  }[];
4492
4492
  };
4493
+ namespace: string;
4493
4494
  eventId: string;
4494
4495
  occurredAt: string;
4495
4496
  missionId: string;
4496
4497
  authenticatedPrincipal?: string | undefined;
4497
4498
  idempotencyKey?: string | undefined;
4498
4499
  }, {
4499
- namespace: string;
4500
- recordedAt: string;
4501
4500
  schemaVersion: "1";
4501
+ recordedAt: string;
4502
4502
  payload: {
4503
4503
  kind: "mission_started";
4504
4504
  title: string;
4505
4505
  objective: string;
4506
4506
  runMode: "replay" | "fixture" | "live";
4507
4507
  evidence?: {
4508
- id: string;
4508
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4509
4509
  label: string;
4510
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
+ id: string;
4511
4511
  capture: "at_action" | "historical_lookup" | "fixture";
4512
4512
  locator?: string | undefined;
4513
4513
  }[] | undefined;
4514
4514
  } | {
4515
- label: string;
4516
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4517
4515
  kind: "agent_status";
4516
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4517
+ label: string;
4518
4518
  role: string;
4519
4519
  agentId: string;
4520
4520
  sessionId: string;
4521
4521
  detail?: string | undefined;
4522
4522
  evidence?: {
4523
- id: string;
4523
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4524
4524
  label: string;
4525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
+ id: string;
4526
4526
  capture: "at_action" | "historical_lookup" | "fixture";
4527
4527
  locator?: string | undefined;
4528
4528
  }[] | undefined;
4529
4529
  } | {
4530
- summary: string;
4531
4530
  kind: "agent_output";
4531
+ summary: string;
4532
4532
  agentId: string;
4533
4533
  sessionId: string;
4534
4534
  outputId: string;
4535
4535
  evidence?: {
4536
- id: string;
4536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4537
4537
  label: string;
4538
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
+ id: string;
4539
4539
  capture: "at_action" | "historical_lookup" | "fixture";
4540
4540
  locator?: string | undefined;
4541
4541
  }[] | undefined;
@@ -4548,37 +4548,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4548
4548
  decisionId: string;
4549
4549
  confidence?: number | undefined;
4550
4550
  evidence?: {
4551
- id: string;
4551
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4552
4552
  label: string;
4553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
+ id: string;
4554
4554
  capture: "at_action" | "historical_lookup" | "fixture";
4555
4555
  locator?: string | undefined;
4556
4556
  }[] | undefined;
4557
4557
  } | {
4558
- summary: string;
4559
4558
  kind: "conflict_detected";
4559
+ summary: string;
4560
4560
  conflictId: string;
4561
4561
  decisionIds: string[];
4562
4562
  agentIds: string[];
4563
4563
  evidence?: {
4564
- id: string;
4564
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
4565
  label: string;
4566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
+ id: string;
4567
4567
  capture: "at_action" | "historical_lookup" | "fixture";
4568
4568
  locator?: string | undefined;
4569
4569
  }[] | undefined;
4570
4570
  } | {
4571
+ kind: "test_result";
4571
4572
  summary: string;
4572
4573
  status: "error" | "failed" | "passed";
4573
- kind: "test_result";
4574
4574
  command: string;
4575
4575
  decisionId: string;
4576
4576
  testId: string;
4577
4577
  durationMs?: number | undefined;
4578
4578
  evidence?: {
4579
- id: string;
4579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
4580
  label: string;
4581
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
+ id: string;
4582
4582
  capture: "at_action" | "historical_lookup" | "fixture";
4583
4583
  locator?: string | undefined;
4584
4584
  }[] | undefined;
@@ -4593,9 +4593,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4593
4593
  supersedesDecisionIds: string[];
4594
4594
  proposedBy: string;
4595
4595
  evidence?: {
4596
- id: string;
4596
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4597
4597
  label: string;
4598
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
+ id: string;
4599
4599
  capture: "at_action" | "historical_lookup" | "fixture";
4600
4600
  locator?: string | undefined;
4601
4601
  }[] | undefined;
@@ -4603,15 +4603,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4603
4603
  kind: "correction_approved";
4604
4604
  correctionId: string;
4605
4605
  approvedBy: {
4606
- id: string;
4607
- label: string;
4608
4606
  kind: "agent" | "human";
4607
+ label: string;
4608
+ id: string;
4609
4609
  };
4610
4610
  note?: string | undefined;
4611
4611
  evidence?: {
4612
- id: string;
4612
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
4613
  label: string;
4614
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
+ id: string;
4615
4615
  capture: "at_action" | "historical_lookup" | "fixture";
4616
4616
  locator?: string | undefined;
4617
4617
  }[] | undefined;
@@ -4621,9 +4621,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4621
4621
  correctionId: string;
4622
4622
  replacementDecisionId: string;
4623
4623
  evidence?: {
4624
- id: string;
4624
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4625
4625
  label: string;
4626
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
+ id: string;
4627
4627
  capture: "at_action" | "historical_lookup" | "fixture";
4628
4628
  locator?: string | undefined;
4629
4629
  }[] | undefined;
@@ -4636,9 +4636,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4636
4636
  recallReceiptId: string;
4637
4637
  capturedAtAction: boolean;
4638
4638
  evidence?: {
4639
- id: string;
4639
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
4640
  label: string;
4641
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
+ id: string;
4642
4642
  capture: "at_action" | "historical_lookup" | "fixture";
4643
4643
  locator?: string | undefined;
4644
4644
  }[] | undefined;
@@ -4651,24 +4651,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4651
4651
  recallReceiptId: string;
4652
4652
  staleDecisionAbsent: boolean;
4653
4653
  evidence?: {
4654
- id: string;
4654
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4655
4655
  label: string;
4656
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
+ id: string;
4657
4657
  capture: "at_action" | "historical_lookup" | "fixture";
4658
4658
  locator?: string | undefined;
4659
4659
  }[] | undefined;
4660
4660
  } | {
4661
- summary: string;
4662
4661
  kind: "mission_completed";
4662
+ summary: string;
4663
4663
  outcome: "failed" | "recovered" | "inconclusive";
4664
4664
  evidence?: {
4665
- id: string;
4665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
4666
  label: string;
4667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
+ id: string;
4668
4668
  capture: "at_action" | "historical_lookup" | "fixture";
4669
4669
  locator?: string | undefined;
4670
4670
  }[] | undefined;
4671
4671
  };
4672
+ namespace: string;
4672
4673
  eventId: string;
4673
4674
  occurredAt: string;
4674
4675
  missionId: string;