@remnic/core 9.57.6 → 9.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (474) 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-4DO8XMq6.d.ts → access-service-BogiG4Dy.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-P6WBAR27.js → chunk-2GBFKHBZ.js} +9 -9
  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-LMXUWAXW.js → chunk-6TBIWIAG.js} +9 -8
  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-DUHMYBVE.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-TEHPIMXD.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-REVMY7RA.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.js +2 -1
  159. package/dist/{cli-CQdYilcx.d.ts → cli-CTgFjmDs.d.ts} +5 -5
  160. package/dist/cli.d.ts +14 -13
  161. package/dist/cli.js +57 -56
  162. package/dist/coding/pre-action-gate.d.ts +1 -1
  163. package/dist/compounding/engine.d.ts +2 -2
  164. package/dist/compounding/engine.js +10 -10
  165. package/dist/compounding/preference-consolidator.d.ts +2 -1
  166. package/dist/compression-optimizer.d.ts +1 -1
  167. package/dist/config.d.ts +1 -1
  168. package/dist/config.js +1 -1
  169. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  170. package/dist/connectors/codex-materialize-runner.js +12 -11
  171. package/dist/connectors/codex-materialize.d.ts +7 -12
  172. package/dist/connectors/codex-materialize.js +2 -1
  173. package/dist/connectors/index.d.ts +1 -1
  174. package/dist/connectors/index.js +12 -11
  175. package/dist/consolidation-provenance-check.d.ts +2 -2
  176. package/dist/consolidation-undo.d.ts +2 -2
  177. package/dist/contradiction/index.d.ts +2 -2
  178. package/dist/contradiction/index.js +4 -4
  179. package/dist/converge-config.d.ts +1 -1
  180. package/dist/convergence-refresh.d.ts +2 -2
  181. package/dist/convergence-refresh.js +12 -12
  182. package/dist/conversation-index/backend.d.ts +1 -1
  183. package/dist/conversation-index/chunker.d.ts +1 -1
  184. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  185. package/dist/conversation-index/indexer.d.ts +1 -1
  186. package/dist/conversation-index/search.d.ts +1 -1
  187. package/dist/corpus-watermark.d.ts +1 -1
  188. package/dist/corpus-watermark.js +12 -12
  189. package/dist/day-summary.d.ts +1 -1
  190. package/dist/day-summary.js +3 -2
  191. package/dist/delinearize.d.ts +1 -1
  192. package/dist/dependency-propagation-config.d.ts +1 -1
  193. package/dist/{dependency-propagation-delivery-C_K_AHcv.d.ts → dependency-propagation-delivery-DdwSc1qh.d.ts} +1 -1
  194. package/dist/direct-answer-wiring.d.ts +1 -1
  195. package/dist/direct-answer.d.ts +1 -1
  196. package/dist/embedding-fallback.d.ts +1 -1
  197. package/dist/enrichment/index.d.ts +1 -1
  198. package/dist/entity-retrieval.d.ts +2 -2
  199. package/dist/entity-retrieval.js +10 -10
  200. package/dist/entity-schema.d.ts +1 -1
  201. package/dist/explicit-capture.d.ts +10 -9
  202. package/dist/external-wiki-access.d.ts +12 -11
  203. package/dist/external-wiki-access.js +26 -25
  204. package/dist/external-wiki-collection-registration.d.ts +1 -1
  205. package/dist/external-wiki-collection.d.ts +1 -1
  206. package/dist/external-wiki-mcp-tools.d.ts +12 -11
  207. package/dist/extraction-error-classification.d.ts +1 -1
  208. package/dist/extraction-faithfulness.d.ts +1 -1
  209. package/dist/extraction-judge-telemetry.d.ts +1 -1
  210. package/dist/extraction-judge-training.d.ts +1 -1
  211. package/dist/extraction-judge.d.ts +1 -1
  212. package/dist/extraction-liveness.d.ts +1 -1
  213. package/dist/extraction-normalization.d.ts +1 -1
  214. package/dist/extraction-prompt.d.ts +1 -1
  215. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  216. package/dist/extraction-source-grounding.d.ts +1 -1
  217. package/dist/extraction.d.ts +1 -1
  218. package/dist/extraction.js +16 -15
  219. package/dist/fallback-llm.d.ts +1 -1
  220. package/dist/graph-dashboard-diff.d.ts +1 -1
  221. package/dist/graph-dashboard-key.d.ts +1 -1
  222. package/dist/graph-dashboard-parser.d.ts +1 -1
  223. package/dist/graph-edge-reinforcement.d.ts +1 -1
  224. package/dist/graph-path-reconstruction.d.ts +1 -1
  225. package/dist/graph-path-scoring.d.ts +1 -1
  226. package/dist/graph-snapshot.d.ts +1 -1
  227. package/dist/graph.d.ts +1 -1
  228. package/dist/harmonic-retrieval.js +1 -1
  229. package/dist/importance.d.ts +1 -1
  230. package/dist/importers/index.d.ts +1 -1
  231. package/dist/in-flight-reads.d.ts +1 -1
  232. package/dist/index.d.ts +698 -697
  233. package/dist/index.js +81 -80
  234. package/dist/intent.d.ts +1 -1
  235. package/dist/lcm/archive.d.ts +3 -2
  236. package/dist/lcm/archive.js +2 -1
  237. package/dist/lcm/engine.d.ts +2 -1
  238. package/dist/lcm/engine.js +5 -4
  239. package/dist/lcm/index.d.ts +2 -1
  240. package/dist/lcm/index.js +7 -6
  241. package/dist/lcm/recall.d.ts +1 -0
  242. package/dist/lcm/summarizer.d.ts +1 -0
  243. package/dist/lcm/summarizer.js +3 -2
  244. package/dist/lcm/tools.d.ts +2 -1
  245. package/dist/lifecycle.d.ts +1 -1
  246. package/dist/live-connectors-runner.d.ts +1 -1
  247. package/dist/local-llm.d.ts +2 -3
  248. package/dist/local-llm.js +2 -1
  249. package/dist/local-model-endpoint.d.ts +1 -1
  250. package/dist/maintenance/memory-governance.d.ts +1 -1
  251. package/dist/maintenance/memory-governance.js +10 -10
  252. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  253. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -10
  254. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  255. package/dist/maintenance/rebuild-memory-projection.js +11 -11
  256. package/dist/{maintenance-DdP931i9.d.ts → maintenance-DvkiF7fm.d.ts} +3 -3
  257. package/dist/mcp-memory-inspector-app.d.ts +12 -11
  258. package/dist/memory-action-policy.d.ts +1 -1
  259. package/dist/memory-cache.d.ts +1 -1
  260. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  261. package/dist/memory-projection-store.d.ts +1 -1
  262. package/dist/memory-provenance.d.ts +1 -1
  263. package/dist/memory-snapshot.d.ts +1 -1
  264. package/dist/memory-worth-outcomes.d.ts +2 -2
  265. package/dist/models-json.d.ts +1 -1
  266. package/dist/namespaces/migrate.d.ts +3 -3
  267. package/dist/namespaces/migrate.js +11 -11
  268. package/dist/namespaces/principal.d.ts +1 -1
  269. package/dist/namespaces/search.d.ts +1 -1
  270. package/dist/namespaces/search.js +7 -7
  271. package/dist/namespaces/storage.d.ts +3 -3
  272. package/dist/namespaces/storage.js +10 -10
  273. package/dist/native-knowledge.d.ts +1 -1
  274. package/dist/offline-sync-impression-drain.d.ts +1 -1
  275. package/dist/operator-doctor-corpus.d.ts +1 -1
  276. package/dist/operator-doctor-corpus.js +13 -13
  277. package/dist/operator-doctor-replica.d.ts +1 -1
  278. package/dist/operator-toolkit.d.ts +3 -3
  279. package/dist/operator-toolkit.js +18 -18
  280. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  281. package/dist/orchestration/maintenance.d.ts +4 -4
  282. package/dist/orchestration/maintenance.js +15 -15
  283. package/dist/{orchestrator-DxUWX7gs.d.ts → orchestrator-CXPIzs3D.d.ts} +9 -9
  284. package/dist/orchestrator.d.ts +10 -9
  285. package/dist/orchestrator.js +77 -76
  286. package/dist/patterns-cli.d.ts +1 -1
  287. package/dist/{pipeline-BKUMU1vU.d.ts → pipeline-BuYWU9rt.d.ts} +1 -1
  288. package/dist/policy-runtime.d.ts +1 -1
  289. package/dist/proactive-contention.d.ts +1 -1
  290. package/dist/provenance.d.ts +1 -1
  291. package/dist/{public-http-Dw0bJhcC.d.ts → public-http-CEwDOGO7.d.ts} +1 -1
  292. package/dist/{qmd-DJP-GLFe.d.ts → qmd-DYnrPw-m.d.ts} +1 -1
  293. package/dist/qmd-preflight.d.ts +2 -2
  294. package/dist/qmd-recall-cache.d.ts +1 -1
  295. package/dist/qmd.d.ts +2 -2
  296. package/dist/recall-concurrency-config.d.ts +1 -1
  297. package/dist/recall-disclosure-escalation.d.ts +1 -1
  298. package/dist/recall-explain-renderer.d.ts +1 -1
  299. package/dist/recall-explain-renderer.js +4 -3
  300. package/dist/recall-memory-map.d.ts +1 -1
  301. package/dist/recall-planner-llm.d.ts +1 -1
  302. package/dist/recall-state.d.ts +1 -1
  303. package/dist/recall-tag-filter.d.ts +1 -1
  304. package/dist/recall-timings.d.ts +1 -1
  305. package/dist/recall-xray-cli.d.ts +1 -1
  306. package/dist/recall-xray-cli.js +5 -4
  307. package/dist/recall-xray-renderer.d.ts +1 -1
  308. package/dist/recall-xray-renderer.js +4 -3
  309. package/dist/recall-xray.d.ts +2 -7
  310. package/dist/recall-xray.js +3 -2
  311. package/dist/reconcile/cursor.d.ts +1 -1
  312. package/dist/reconcile/manifest.d.ts +1 -1
  313. package/dist/reconcile/plan.d.ts +1 -1
  314. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  315. package/dist/replay/normalizers/claude.d.ts +1 -1
  316. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  317. package/dist/replay/normalizers/shared.d.ts +1 -1
  318. package/dist/replay/runner.d.ts +1 -1
  319. package/dist/replay/types.d.ts +1 -1
  320. package/dist/replica-divergence.d.ts +1 -1
  321. package/dist/replica-peers-config.d.ts +1 -1
  322. package/dist/resolve-auth-token.d.ts +1 -1
  323. package/dist/resume-bundles.js +4 -3
  324. package/dist/retrieval-agents.d.ts +2 -2
  325. package/dist/retrieval-tiers.d.ts +1 -1
  326. package/dist/routing/engine.d.ts +1 -1
  327. package/dist/routing/store.d.ts +1 -1
  328. package/dist/salvage-envelope.d.ts +1 -1
  329. package/dist/schemas.d.ts +138 -138
  330. package/dist/{scope-profiles-CaKcnB-6.d.ts → scope-profiles-C1QG4Cmv.d.ts} +1 -1
  331. package/dist/search/embed-helper.d.ts +1 -1
  332. package/dist/search/factory.d.ts +1 -1
  333. package/dist/search/factory.js +6 -6
  334. package/dist/search/index.d.ts +1 -1
  335. package/dist/search/index.js +11 -11
  336. package/dist/search/lancedb-backend.d.ts +1 -1
  337. package/dist/search/lancedb-backend.js +2 -2
  338. package/dist/search/meilisearch-backend.d.ts +1 -1
  339. package/dist/search/meilisearch-backend.js +2 -2
  340. package/dist/search/noop-backend.d.ts +1 -1
  341. package/dist/search/orama-backend.d.ts +1 -1
  342. package/dist/search/orama-backend.js +2 -2
  343. package/dist/search/port.d.ts +1 -1
  344. package/dist/search/remote-backend.d.ts +1 -1
  345. package/dist/semantic-chunking.js +3 -2
  346. package/dist/{semantic-consolidation-P0eMWqh-.d.ts → semantic-consolidation-DMeX8XS0.d.ts} +1 -1
  347. package/dist/semantic-consolidation.d.ts +2 -2
  348. package/dist/semantic-consolidation.js +14 -13
  349. package/dist/semantic-rule-promotion.js +10 -10
  350. package/dist/semantic-rule-verifier.d.ts +1 -1
  351. package/dist/semantic-rule-verifier.js +10 -10
  352. package/dist/{service-D5GQLxq_.d.ts → service-CT3ENiTO.d.ts} +2 -2
  353. package/dist/session-observer-bands.d.ts +1 -1
  354. package/dist/session-observer-state.d.ts +1 -1
  355. package/dist/session-observer-state.js +1 -1
  356. package/dist/shared-context/manager.d.ts +9 -9
  357. package/dist/signal.d.ts +1 -1
  358. package/dist/source-agent-qualifier.d.ts +1 -1
  359. package/dist/source-agent-qualifier.js +12 -11
  360. package/dist/{storage-DIyil2ll.d.ts → storage-B0L76y7N.d.ts} +1 -1
  361. package/dist/storage.d.ts +2 -2
  362. package/dist/storage.js +9 -9
  363. package/dist/summarizer.d.ts +1 -1
  364. package/dist/summarizer.js +3 -2
  365. package/dist/summary-snapshot.d.ts +1 -1
  366. package/dist/support-passport/index.d.ts +15 -14
  367. package/dist/support-passport/index.js +28 -27
  368. package/dist/temporal-supersession.d.ts +2 -2
  369. package/dist/temporal-timeline-recall.d.ts +1 -1
  370. package/dist/temporal-validity.d.ts +1 -1
  371. package/dist/threading.d.ts +1 -1
  372. package/dist/tier-migration.d.ts +2 -2
  373. package/dist/tier-routing.d.ts +1 -1
  374. package/dist/token-estimate.d.ts +10 -0
  375. package/dist/token-estimate.js +8 -0
  376. package/dist/token-estimate.js.map +1 -0
  377. package/dist/topics.d.ts +1 -1
  378. package/dist/transcript.d.ts +1 -6
  379. package/dist/transcript.js +2 -1
  380. package/dist/transfer/backup.js +2 -2
  381. package/dist/transfer/capsule-export.js +2 -2
  382. package/dist/transfer/capsule-import.js +2 -2
  383. package/dist/transfer/types.d.ts +66 -66
  384. package/dist/trust-score-stage.d.ts +1 -1
  385. package/dist/trust-score.d.ts +1 -1
  386. package/dist/{types-CbXieHKr.d.ts → types-D7pB0QwO.d.ts} +1 -1
  387. package/dist/types.d.ts +1 -1
  388. package/dist/types.js +1 -1
  389. package/dist/utility-runtime.d.ts +1 -1
  390. package/dist/verified-recall.js +10 -10
  391. package/dist/write-envelope.d.ts +1 -1
  392. package/package.json +12 -2
  393. package/src/chunking.ts +6 -12
  394. package/src/config.ts +2 -0
  395. package/src/connectors/codex-materialize.ts +21 -26
  396. package/src/lcm/archive.ts +4 -5
  397. package/src/lcm/engine.ts +55 -34
  398. package/src/lcm/summarizer.ts +27 -16
  399. package/src/lcm-engine.test.ts +82 -2
  400. package/src/local-llm.ts +4 -6
  401. package/src/memory-extension-host/render-extensions-block.ts +3 -9
  402. package/src/orchestration/recall-section-coordinator.ts +93 -27
  403. package/src/recall-token-budget.test.ts +51 -0
  404. package/src/recall-xray.ts +4 -11
  405. package/src/semantic-chunking.ts +5 -12
  406. package/src/session-observer-state.ts +3 -3
  407. package/src/testing/subjects/recall-budget.test.ts +21 -5
  408. package/src/token-estimate.test.ts +38 -0
  409. package/src/token-estimate.ts +22 -0
  410. package/src/transcript.test.ts +38 -3
  411. package/src/transcript.ts +58 -59
  412. package/src/types.ts +1 -1
  413. package/dist/chunk-5ZIWRMZM.js.map +0 -1
  414. package/dist/chunk-HYQJQGD3.js.map +0 -1
  415. package/dist/chunk-KSXJOC4F.js.map +0 -1
  416. package/dist/chunk-LMXUWAXW.js.map +0 -1
  417. package/dist/chunk-LTAVSOZW.js.map +0 -1
  418. package/dist/chunk-P6WBAR27.js.map +0 -1
  419. package/dist/chunk-PBGWYM3H.js.map +0 -1
  420. package/dist/chunk-QKPDN325.js.map +0 -1
  421. package/dist/chunk-REVMY7RA.js.map +0 -1
  422. package/dist/chunk-Z54EM5YZ.js.map +0 -1
  423. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
  424. /package/dist/{chunk-YTZA7U6Q.js.map → chunk-2VHCLHZ5.js.map} +0 -0
  425. /package/dist/{chunk-NEJQ65NV.js.map → chunk-4CLE2LXB.js.map} +0 -0
  426. /package/dist/{chunk-VDX2J7OX.js.map → chunk-5W7CTZ2E.js.map} +0 -0
  427. /package/dist/{chunk-CZUHNJHX.js.map → chunk-6C7Q6NG3.js.map} +0 -0
  428. /package/dist/{chunk-4O6R3GPK.js.map → chunk-6W2ISYUV.js.map} +0 -0
  429. /package/dist/{chunk-3AJOJOFP.js.map → chunk-77DAFTUU.js.map} +0 -0
  430. /package/dist/{chunk-IKT6ZVO7.js.map → chunk-7DHFB5SG.js.map} +0 -0
  431. /package/dist/{chunk-SFR7J2G6.js.map → chunk-7G34CBKS.js.map} +0 -0
  432. /package/dist/{chunk-IT57AOMC.js.map → chunk-AH2NX6S7.js.map} +0 -0
  433. /package/dist/{chunk-FI3PIOOI.js.map → chunk-B4CSPFYN.js.map} +0 -0
  434. /package/dist/{chunk-7PJARJS4.js.map → chunk-BPM6UHUL.js.map} +0 -0
  435. /package/dist/{chunk-PPUTUOC3.js.map → chunk-BTHDQOF4.js.map} +0 -0
  436. /package/dist/{chunk-DUHMYBVE.js.map → chunk-CZGOLAEW.js.map} +0 -0
  437. /package/dist/{chunk-5PGYCWA7.js.map → chunk-DE6YCZEE.js.map} +0 -0
  438. /package/dist/{chunk-JOA4Q765.js.map → chunk-EUYWQ7TS.js.map} +0 -0
  439. /package/dist/{chunk-O5AFC5KM.js.map → chunk-EWL5DICB.js.map} +0 -0
  440. /package/dist/{chunk-4YZCIK5E.js.map → chunk-EZXGJJXM.js.map} +0 -0
  441. /package/dist/{chunk-GXIY65UH.js.map → chunk-FI5EAP4N.js.map} +0 -0
  442. /package/dist/{chunk-YOKSRIFI.js.map → chunk-FUWS2MNJ.js.map} +0 -0
  443. /package/dist/{chunk-6RK2X7BR.js.map → chunk-G3JFFUKR.js.map} +0 -0
  444. /package/dist/{chunk-VANZKHTN.js.map → chunk-G5OB4XZX.js.map} +0 -0
  445. /package/dist/{chunk-TEHPIMXD.js.map → chunk-HK6KYIF6.js.map} +0 -0
  446. /package/dist/{chunk-XBGLEOID.js.map → chunk-I4BLRM7X.js.map} +0 -0
  447. /package/dist/{chunk-6SX4MY5Q.js.map → chunk-J65AKOD6.js.map} +0 -0
  448. /package/dist/{chunk-BPWZDHFM.js.map → chunk-J6QIAYNR.js.map} +0 -0
  449. /package/dist/{chunk-XL3TATMJ.js.map → chunk-JHMAYABJ.js.map} +0 -0
  450. /package/dist/{chunk-F7M36OG2.js.map → chunk-JNWISMYG.js.map} +0 -0
  451. /package/dist/{chunk-VYIXCMUP.js.map → chunk-KBIIE57I.js.map} +0 -0
  452. /package/dist/{chunk-24PNX2GF.js.map → chunk-KXYMU4IN.js.map} +0 -0
  453. /package/dist/{chunk-FKTD7IVS.js.map → chunk-L3JVAM5Q.js.map} +0 -0
  454. /package/dist/{chunk-LIF6DO6U.js.map → chunk-MG7GI4TT.js.map} +0 -0
  455. /package/dist/{chunk-RUZM6Z52.js.map → chunk-MMZK2DWN.js.map} +0 -0
  456. /package/dist/{chunk-NTJ6TY44.js.map → chunk-ODAE36PG.js.map} +0 -0
  457. /package/dist/{chunk-YLHM5BQQ.js.map → chunk-OLX2HJFW.js.map} +0 -0
  458. /package/dist/{chunk-DNC4A7RS.js.map → chunk-OU7RWWW6.js.map} +0 -0
  459. /package/dist/{chunk-L3LRWDJW.js.map → chunk-OV36CROW.js.map} +0 -0
  460. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-OWHERGF2.js.map} +0 -0
  461. /package/dist/{chunk-CSV34HIW.js.map → chunk-P5OYNV7B.js.map} +0 -0
  462. /package/dist/{chunk-SNW3YRO6.js.map → chunk-P6GOYLHN.js.map} +0 -0
  463. /package/dist/{chunk-USGKHF36.js.map → chunk-QUJC22CT.js.map} +0 -0
  464. /package/dist/{chunk-BVRREV3N.js.map → chunk-R7IV3EUJ.js.map} +0 -0
  465. /package/dist/{chunk-D4LVHPOA.js.map → chunk-RXN7Z2V5.js.map} +0 -0
  466. /package/dist/{chunk-7VSHDLJQ.js.map → chunk-T2VJ2EO5.js.map} +0 -0
  467. /package/dist/{chunk-U7BMN33M.js.map → chunk-UBSM6TZP.js.map} +0 -0
  468. /package/dist/{chunk-DQEMWVMT.js.map → chunk-UVYI6VIX.js.map} +0 -0
  469. /package/dist/{chunk-U7XLOSG2.js.map → chunk-VIM6QH4D.js.map} +0 -0
  470. /package/dist/{chunk-LJJWFV2Q.js.map → chunk-VJXSAJFW.js.map} +0 -0
  471. /package/dist/{chunk-HZC3OECF.js.map → chunk-VOKK4WCG.js.map} +0 -0
  472. /package/dist/{chunk-LRDP2AC2.js.map → chunk-YBCZTBN2.js.map} +0 -0
  473. /package/dist/{chunk-USAUBGBC.js.map → chunk-YKZFX2HQ.js.map} +0 -0
  474. /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-4DO8XMq6.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-4DO8XMq6.js';
33
+ import { f as EngramAccessService } from './access-service-BogiG4Dy.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-BogiG4Dy.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-CQdYilcx.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-CTgFjmDs.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-Dw0bJhcC.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-CEwDOGO7.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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
952
- label: string;
953
952
  id: string;
953
+ label: string;
954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
955
  capture: "at_action" | "historical_lookup" | "fixture";
955
956
  locator?: string | undefined;
956
957
  }, {
957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
958
- label: string;
959
958
  id: string;
959
+ label: string;
960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
977
- label: string;
978
977
  id: string;
978
+ label: string;
979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
980
  capture: "at_action" | "historical_lookup" | "fixture";
980
981
  locator?: string | undefined;
981
982
  }, {
982
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
983
- label: string;
984
983
  id: string;
984
+ label: string;
985
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
993
- label: string;
994
993
  id: string;
994
+ label: string;
995
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1007
- label: string;
1008
1007
  id: string;
1008
+ label: string;
1009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1025
- label: string;
1026
1025
  id: string;
1026
+ label: string;
1027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
1028
  capture: "at_action" | "historical_lookup" | "fixture";
1028
1029
  locator?: string | undefined;
1029
1030
  }, {
1030
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1031
- label: string;
1032
1031
  id: string;
1032
+ label: string;
1033
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1041
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1042
1041
  label: string;
1042
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1043
+ kind: "agent_status";
1043
1044
  role: string;
1044
1045
  agentId: string;
1045
1046
  sessionId: string;
1046
1047
  evidence: {
1047
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1048
- label: string;
1049
1048
  id: string;
1049
+ label: string;
1050
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
1051
  capture: "at_action" | "historical_lookup" | "fixture";
1051
1052
  locator?: string | undefined;
1052
1053
  }[];
1053
1054
  detail?: string | undefined;
1054
1055
  }, {
1055
- kind: "agent_status";
1056
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1057
1056
  label: string;
1057
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1058
+ kind: "agent_status";
1058
1059
  role: string;
1059
1060
  agentId: string;
1060
1061
  sessionId: string;
1061
1062
  detail?: string | undefined;
1062
1063
  evidence?: {
1063
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1064
- label: string;
1065
1064
  id: string;
1065
+ label: string;
1066
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1080
- label: string;
1081
1080
  id: string;
1081
+ label: string;
1082
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
1083
  capture: "at_action" | "historical_lookup" | "fixture";
1083
1084
  locator?: string | undefined;
1084
1085
  }, {
1085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1086
- label: string;
1087
1086
  id: string;
1087
+ label: string;
1088
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
1096
1096
  summary: string;
1097
+ kind: "agent_output";
1097
1098
  agentId: string;
1098
1099
  sessionId: string;
1099
1100
  evidence: {
1100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1101
- label: string;
1102
1101
  id: string;
1102
+ label: string;
1103
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
1104
  capture: "at_action" | "historical_lookup" | "fixture";
1104
1105
  locator?: string | undefined;
1105
1106
  }[];
1106
1107
  outputId: string;
1107
1108
  }, {
1108
- kind: "agent_output";
1109
1109
  summary: string;
1110
+ kind: "agent_output";
1110
1111
  agentId: string;
1111
1112
  sessionId: string;
1112
1113
  outputId: string;
1113
1114
  evidence?: {
1114
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1115
- label: string;
1116
1115
  id: string;
1116
+ label: string;
1117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1133
- label: string;
1134
1133
  id: string;
1134
+ label: string;
1135
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
1136
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1137
  locator?: string | undefined;
1137
1138
  }, {
1138
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1139
- label: string;
1140
1139
  id: string;
1140
+ label: string;
1141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1154
- label: string;
1155
1154
  id: string;
1155
+ label: string;
1156
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1172
- label: string;
1173
1172
  id: string;
1173
+ label: string;
1174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1191
- label: string;
1192
1191
  id: string;
1192
+ label: string;
1193
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1193
1194
  capture: "at_action" | "historical_lookup" | "fixture";
1194
1195
  locator?: string | undefined;
1195
1196
  }, {
1196
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1197
- label: string;
1198
1197
  id: string;
1198
+ label: string;
1199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1199
1200
  capture: "at_action" | "historical_lookup" | "fixture";
1200
1201
  locator?: string | undefined;
1201
1202
  }>, "many">>;
1202
1203
  }, "strict", z.ZodTypeAny, {
1203
- kind: "conflict_detected";
1204
1204
  summary: string;
1205
+ kind: "conflict_detected";
1205
1206
  evidence: {
1206
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1207
- label: string;
1208
1207
  id: string;
1208
+ label: string;
1209
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
1217
1217
  summary: string;
1218
+ kind: "conflict_detected";
1218
1219
  conflictId: string;
1219
1220
  decisionIds: string[];
1220
1221
  agentIds: string[];
1221
1222
  evidence?: {
1222
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1223
- label: string;
1224
1223
  id: string;
1224
+ label: string;
1225
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
- label: string;
1246
1245
  id: string;
1246
+ label: string;
1247
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1248
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1249
  locator?: string | undefined;
1249
1250
  }, {
1250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1251
- label: string;
1252
1251
  id: string;
1252
+ label: string;
1253
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1253
1254
  capture: "at_action" | "historical_lookup" | "fixture";
1254
1255
  locator?: string | undefined;
1255
1256
  }>, "many">>;
1256
1257
  }, "strict", z.ZodTypeAny, {
1257
- kind: "test_result";
1258
1258
  summary: string;
1259
1259
  status: "error" | "failed" | "passed";
1260
+ kind: "test_result";
1260
1261
  command: string;
1261
1262
  evidence: {
1262
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
- label: string;
1264
1263
  id: string;
1264
+ label: string;
1265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
1273
- kind: "test_result";
1274
1274
  summary: string;
1275
1275
  status: "error" | "failed" | "passed";
1276
+ kind: "test_result";
1276
1277
  command: string;
1277
1278
  decisionId: string;
1278
1279
  testId: string;
1279
1280
  durationMs?: number | undefined;
1280
1281
  evidence?: {
1281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
- label: string;
1283
1282
  id: string;
1283
+ label: string;
1284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1305
- label: string;
1306
1305
  id: string;
1306
+ label: string;
1307
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
1308
  capture: "at_action" | "historical_lookup" | "fixture";
1308
1309
  locator?: string | undefined;
1309
1310
  }, {
1310
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1311
- label: string;
1312
1311
  id: string;
1312
+ label: string;
1313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1322
- label: string;
1323
1322
  id: string;
1323
+ label: string;
1324
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1343
- label: string;
1344
1343
  id: string;
1344
+ label: string;
1345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
1357
- label: string;
1358
1357
  id: string;
1359
- }, {
1360
- kind: "agent" | "human";
1361
1358
  label: string;
1359
+ kind: "agent" | "human";
1360
+ }, {
1362
1361
  id: string;
1362
+ label: string;
1363
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
- label: string;
1374
1373
  id: string;
1374
+ label: string;
1375
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
1376
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1377
  locator?: string | undefined;
1377
1378
  }, {
1378
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
- label: string;
1380
1379
  id: string;
1380
+ label: string;
1381
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
- label: string;
1389
1388
  id: string;
1389
+ label: string;
1390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
1391
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1392
  locator?: string | undefined;
1392
1393
  }[];
1393
1394
  correctionId: string;
1394
1395
  approvedBy: {
1395
- kind: "agent" | "human";
1396
- label: string;
1397
1396
  id: string;
1397
+ label: string;
1398
+ kind: "agent" | "human";
1398
1399
  };
1399
1400
  note?: string | undefined;
1400
1401
  }, {
1401
1402
  kind: "correction_approved";
1402
1403
  correctionId: string;
1403
1404
  approvedBy: {
1404
- kind: "agent" | "human";
1405
- label: string;
1406
1405
  id: string;
1406
+ label: string;
1407
+ kind: "agent" | "human";
1407
1408
  };
1408
1409
  note?: string | undefined;
1409
1410
  evidence?: {
1410
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
- label: string;
1412
1411
  id: string;
1412
+ label: string;
1413
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1429
- label: string;
1430
1429
  id: string;
1430
+ label: string;
1431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
1432
  capture: "at_action" | "historical_lookup" | "fixture";
1432
1433
  locator?: string | undefined;
1433
1434
  }, {
1434
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
- label: string;
1436
1435
  id: string;
1436
+ label: string;
1437
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
- label: string;
1445
1444
  id: string;
1445
+ label: string;
1446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
- label: string;
1460
1459
  id: string;
1460
+ label: string;
1461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
- label: string;
1478
1477
  id: string;
1478
+ label: string;
1479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1481
  locator?: string | undefined;
1481
1482
  }, {
1482
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1483
- label: string;
1484
1483
  id: string;
1484
+ label: string;
1485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1498
- label: string;
1499
1498
  id: string;
1499
+ label: string;
1500
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1516
- label: string;
1517
1516
  id: string;
1517
+ label: string;
1518
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
1519
  capture: "at_action" | "historical_lookup" | "fixture";
1519
1520
  locator?: string | undefined;
1520
1521
  }[] | 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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
- label: string;
1535
1534
  id: string;
1535
+ label: string;
1536
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1537
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1538
  locator?: string | undefined;
1538
1539
  }, {
1539
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
- label: string;
1541
1540
  id: string;
1541
+ label: string;
1542
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1554
- label: string;
1555
1554
  id: string;
1555
+ label: string;
1556
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
1557
  capture: "at_action" | "historical_lookup" | "fixture";
1557
1558
  locator?: string | undefined;
1558
1559
  }[];
@@ -1569,9 +1570,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1569
1570
  recallReceiptId: string;
1570
1571
  staleDecisionAbsent: boolean;
1571
1572
  evidence?: {
1572
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1573
- label: string;
1574
1573
  id: string;
1574
+ label: string;
1575
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
- label: string;
1591
1590
  id: string;
1591
+ label: string;
1592
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
1593
  capture: "at_action" | "historical_lookup" | "fixture";
1593
1594
  locator?: string | undefined;
1594
1595
  }, {
1595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
- label: string;
1597
1596
  id: string;
1597
+ label: string;
1598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1599
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1600
  locator?: string | undefined;
1600
1601
  }>, "many">>;
1601
1602
  }, "strict", z.ZodTypeAny, {
1602
- kind: "mission_completed";
1603
1603
  summary: string;
1604
+ kind: "mission_completed";
1604
1605
  outcome: "failed" | "recovered" | "inconclusive";
1605
1606
  evidence: {
1606
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1607
- label: string;
1608
1607
  id: string;
1608
+ label: string;
1609
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1610
  capture: "at_action" | "historical_lookup" | "fixture";
1610
1611
  locator?: string | undefined;
1611
1612
  }[];
1612
1613
  }, {
1613
- kind: "mission_completed";
1614
1614
  summary: string;
1615
+ kind: "mission_completed";
1615
1616
  outcome: "failed" | "recovered" | "inconclusive";
1616
1617
  evidence?: {
1617
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1618
- label: string;
1619
1618
  id: string;
1619
+ label: string;
1620
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1628
- label: string;
1629
1628
  id: string;
1629
+ label: string;
1630
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1637
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1638
1637
  label: string;
1638
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1639
+ kind: "agent_status";
1639
1640
  role: string;
1640
1641
  agentId: string;
1641
1642
  sessionId: string;
1642
1643
  evidence: {
1643
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1644
- label: string;
1645
1644
  id: string;
1645
+ label: string;
1646
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1646
1647
  capture: "at_action" | "historical_lookup" | "fixture";
1647
1648
  locator?: string | undefined;
1648
1649
  }[];
1649
1650
  detail?: string | undefined;
1650
1651
  } | {
1651
- kind: "agent_output";
1652
1652
  summary: string;
1653
+ kind: "agent_output";
1653
1654
  agentId: string;
1654
1655
  sessionId: string;
1655
1656
  evidence: {
1656
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
- label: string;
1658
1657
  id: string;
1658
+ label: string;
1659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1670
- label: string;
1671
1670
  id: string;
1671
+ label: string;
1672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
1680
1680
  summary: string;
1681
+ kind: "conflict_detected";
1681
1682
  evidence: {
1682
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1683
- label: string;
1684
1683
  id: string;
1684
+ label: string;
1685
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
1692
- kind: "test_result";
1693
1693
  summary: string;
1694
1694
  status: "error" | "failed" | "passed";
1695
+ kind: "test_result";
1695
1696
  command: string;
1696
1697
  evidence: {
1697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
- label: string;
1699
1698
  id: string;
1699
+ label: string;
1700
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1701
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1702
  locator?: string | undefined;
1702
1703
  }[];
@@ -1709,9 +1710,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1709
1710
  statement: string;
1710
1711
  rationale: string;
1711
1712
  evidence: {
1712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
- label: string;
1714
1713
  id: string;
1714
+ label: string;
1715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1717
  locator?: string | undefined;
1717
1718
  }[];
@@ -1723,25 +1724,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1723
1724
  } | {
1724
1725
  kind: "correction_approved";
1725
1726
  evidence: {
1726
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
- label: string;
1728
1727
  id: string;
1728
+ label: string;
1729
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
1730
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1731
  locator?: string | undefined;
1731
1732
  }[];
1732
1733
  correctionId: string;
1733
1734
  approvedBy: {
1734
- kind: "agent" | "human";
1735
- label: string;
1736
1735
  id: string;
1736
+ label: string;
1737
+ kind: "agent" | "human";
1737
1738
  };
1738
1739
  note?: string | undefined;
1739
1740
  } | {
1740
1741
  kind: "decision_superseded";
1741
1742
  evidence: {
1742
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1743
- label: string;
1744
1743
  id: string;
1744
+ label: string;
1745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1758
- label: string;
1759
1758
  id: string;
1759
+ label: string;
1760
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
- label: string;
1773
1772
  id: string;
1773
+ label: string;
1774
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
1783
1783
  summary: string;
1784
+ kind: "mission_completed";
1784
1785
  outcome: "failed" | "recovered" | "inconclusive";
1785
1786
  evidence: {
1786
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
- label: string;
1788
1787
  id: string;
1788
+ label: string;
1789
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
- label: string;
1800
1799
  id: string;
1800
+ label: string;
1801
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
1802
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1803
  locator?: string | undefined;
1803
1804
  }[] | undefined;
1804
1805
  } | {
1805
- kind: "agent_status";
1806
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1807
1806
  label: string;
1807
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1808
+ kind: "agent_status";
1808
1809
  role: string;
1809
1810
  agentId: string;
1810
1811
  sessionId: string;
1811
1812
  detail?: string | undefined;
1812
1813
  evidence?: {
1813
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1814
- label: string;
1815
1814
  id: string;
1815
+ label: string;
1816
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1817
1818
  locator?: string | undefined;
1818
1819
  }[] | undefined;
1819
1820
  } | {
1820
- kind: "agent_output";
1821
1821
  summary: string;
1822
+ kind: "agent_output";
1822
1823
  agentId: string;
1823
1824
  sessionId: string;
1824
1825
  outputId: string;
1825
1826
  evidence?: {
1826
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
- label: string;
1828
1827
  id: string;
1828
+ label: string;
1829
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1842
- label: string;
1843
1842
  id: string;
1843
+ label: string;
1844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
1845
  capture: "at_action" | "historical_lookup" | "fixture";
1845
1846
  locator?: string | undefined;
1846
1847
  }[] | undefined;
1847
1848
  } | {
1848
- kind: "conflict_detected";
1849
1849
  summary: string;
1850
+ kind: "conflict_detected";
1850
1851
  conflictId: string;
1851
1852
  decisionIds: string[];
1852
1853
  agentIds: string[];
1853
1854
  evidence?: {
1854
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1855
- label: string;
1856
1855
  id: string;
1856
+ label: string;
1857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1858
1859
  locator?: string | undefined;
1859
1860
  }[] | undefined;
1860
1861
  } | {
1861
- kind: "test_result";
1862
1862
  summary: string;
1863
1863
  status: "error" | "failed" | "passed";
1864
+ kind: "test_result";
1864
1865
  command: string;
1865
1866
  decisionId: string;
1866
1867
  testId: string;
1867
1868
  durationMs?: number | undefined;
1868
1869
  evidence?: {
1869
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
- label: string;
1871
1870
  id: string;
1871
+ label: string;
1872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1887
- label: string;
1888
1887
  id: string;
1888
+ label: string;
1889
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
1897
- label: string;
1898
1897
  id: string;
1898
+ label: string;
1899
+ kind: "agent" | "human";
1899
1900
  };
1900
1901
  note?: string | undefined;
1901
1902
  evidence?: {
1902
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
- label: string;
1904
1903
  id: string;
1904
+ label: string;
1905
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
- label: string;
1916
1915
  id: string;
1916
+ label: string;
1917
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1930
- label: string;
1931
1930
  id: string;
1931
+ label: string;
1932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1945
- label: string;
1946
1945
  id: string;
1946
+ label: string;
1947
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1948
1949
  locator?: string | undefined;
1949
1950
  }[] | undefined;
1950
1951
  } | {
1951
- kind: "mission_completed";
1952
1952
  summary: string;
1953
+ kind: "mission_completed";
1953
1954
  outcome: "failed" | "recovered" | "inconclusive";
1954
1955
  evidence?: {
1955
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
- label: string;
1957
1956
  id: string;
1957
+ label: string;
1958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1979
- label: string;
1980
1979
  id: string;
1980
+ label: string;
1981
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1982
  capture: "at_action" | "historical_lookup" | "fixture";
1982
1983
  locator?: string | undefined;
1983
1984
  }, {
1984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
- label: string;
1986
1985
  id: string;
1986
+ label: string;
1987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1995
- label: string;
1996
1995
  id: string;
1996
+ label: string;
1997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
- label: string;
2010
2009
  id: string;
2010
+ label: string;
2011
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2027
- label: string;
2028
2027
  id: string;
2028
+ label: string;
2029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
2030
  capture: "at_action" | "historical_lookup" | "fixture";
2030
2031
  locator?: string | undefined;
2031
2032
  }, {
2032
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2033
- label: string;
2034
2033
  id: string;
2034
+ label: string;
2035
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2043
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2044
2043
  label: string;
2044
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2045
+ kind: "agent_status";
2045
2046
  role: string;
2046
2047
  agentId: string;
2047
2048
  sessionId: string;
2048
2049
  evidence: {
2049
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
- label: string;
2051
2050
  id: string;
2051
+ label: string;
2052
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
2053
  capture: "at_action" | "historical_lookup" | "fixture";
2053
2054
  locator?: string | undefined;
2054
2055
  }[];
2055
2056
  detail?: string | undefined;
2056
2057
  }, {
2057
- kind: "agent_status";
2058
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2059
2058
  label: string;
2059
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2060
+ kind: "agent_status";
2060
2061
  role: string;
2061
2062
  agentId: string;
2062
2063
  sessionId: string;
2063
2064
  detail?: string | undefined;
2064
2065
  evidence?: {
2065
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2066
- label: string;
2067
2066
  id: string;
2067
+ label: string;
2068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
- label: string;
2083
2082
  id: string;
2083
+ label: string;
2084
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2085
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2086
  locator?: string | undefined;
2086
2087
  }, {
2087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
- label: string;
2089
2088
  id: string;
2089
+ label: string;
2090
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
2098
2098
  summary: string;
2099
+ kind: "agent_output";
2099
2100
  agentId: string;
2100
2101
  sessionId: string;
2101
2102
  evidence: {
2102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
- label: string;
2104
2103
  id: string;
2104
+ label: string;
2105
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
2106
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2107
  locator?: string | undefined;
2107
2108
  }[];
2108
2109
  outputId: string;
2109
2110
  }, {
2110
- kind: "agent_output";
2111
2111
  summary: string;
2112
+ kind: "agent_output";
2112
2113
  agentId: string;
2113
2114
  sessionId: string;
2114
2115
  outputId: string;
2115
2116
  evidence?: {
2116
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
- label: string;
2118
2117
  id: string;
2118
+ label: string;
2119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2135
- label: string;
2136
2135
  id: string;
2136
+ label: string;
2137
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
2138
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2139
  locator?: string | undefined;
2139
2140
  }, {
2140
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2141
- label: string;
2142
2141
  id: string;
2142
+ label: string;
2143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2156
- label: string;
2157
2156
  id: string;
2157
+ label: string;
2158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
- label: string;
2175
2174
  id: string;
2175
+ label: string;
2176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
- label: string;
2194
2193
  id: string;
2194
+ label: string;
2195
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
2196
  capture: "at_action" | "historical_lookup" | "fixture";
2196
2197
  locator?: string | undefined;
2197
2198
  }, {
2198
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2199
- label: string;
2200
2199
  id: string;
2200
+ label: string;
2201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2202
2203
  locator?: string | undefined;
2203
2204
  }>, "many">>;
2204
2205
  }, "strict", z.ZodTypeAny, {
2205
- kind: "conflict_detected";
2206
2206
  summary: string;
2207
+ kind: "conflict_detected";
2207
2208
  evidence: {
2208
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2209
- label: string;
2210
2209
  id: string;
2210
+ label: string;
2211
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
2219
2219
  summary: string;
2220
+ kind: "conflict_detected";
2220
2221
  conflictId: string;
2221
2222
  decisionIds: string[];
2222
2223
  agentIds: string[];
2223
2224
  evidence?: {
2224
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2225
- label: string;
2226
2225
  id: string;
2226
+ label: string;
2227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2247
- label: string;
2248
2247
  id: string;
2248
+ label: string;
2249
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2250
  capture: "at_action" | "historical_lookup" | "fixture";
2250
2251
  locator?: string | undefined;
2251
2252
  }, {
2252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2253
- label: string;
2254
2253
  id: string;
2254
+ label: string;
2255
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2255
2256
  capture: "at_action" | "historical_lookup" | "fixture";
2256
2257
  locator?: string | undefined;
2257
2258
  }>, "many">>;
2258
2259
  }, "strict", z.ZodTypeAny, {
2259
- kind: "test_result";
2260
2260
  summary: string;
2261
2261
  status: "error" | "failed" | "passed";
2262
+ kind: "test_result";
2262
2263
  command: string;
2263
2264
  evidence: {
2264
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
- label: string;
2266
2265
  id: string;
2266
+ label: string;
2267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
2275
- kind: "test_result";
2276
2276
  summary: string;
2277
2277
  status: "error" | "failed" | "passed";
2278
+ kind: "test_result";
2278
2279
  command: string;
2279
2280
  decisionId: string;
2280
2281
  testId: string;
2281
2282
  durationMs?: number | undefined;
2282
2283
  evidence?: {
2283
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
- label: string;
2285
2284
  id: string;
2285
+ label: string;
2286
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2307
- label: string;
2308
2307
  id: string;
2308
+ label: string;
2309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
2310
  capture: "at_action" | "historical_lookup" | "fixture";
2310
2311
  locator?: string | undefined;
2311
2312
  }, {
2312
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2313
- label: string;
2314
2313
  id: string;
2314
+ label: string;
2315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2324
- label: string;
2325
2324
  id: string;
2325
+ label: string;
2326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2345
- label: string;
2346
2345
  id: string;
2346
+ label: string;
2347
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2359
- label: string;
2360
2359
  id: string;
2361
- }, {
2362
- kind: "agent" | "human";
2363
2360
  label: string;
2361
+ kind: "agent" | "human";
2362
+ }, {
2364
2363
  id: string;
2364
+ label: string;
2365
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
- label: string;
2376
2375
  id: string;
2376
+ label: string;
2377
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
2378
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2379
  locator?: string | undefined;
2379
2380
  }, {
2380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
- label: string;
2382
2381
  id: string;
2382
+ label: string;
2383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
- label: string;
2391
2390
  id: string;
2391
+ label: string;
2392
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
2393
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2394
  locator?: string | undefined;
2394
2395
  }[];
2395
2396
  correctionId: string;
2396
2397
  approvedBy: {
2397
- kind: "agent" | "human";
2398
- label: string;
2399
2398
  id: string;
2399
+ label: string;
2400
+ kind: "agent" | "human";
2400
2401
  };
2401
2402
  note?: string | undefined;
2402
2403
  }, {
2403
2404
  kind: "correction_approved";
2404
2405
  correctionId: string;
2405
2406
  approvedBy: {
2406
- kind: "agent" | "human";
2407
- label: string;
2408
2407
  id: string;
2408
+ label: string;
2409
+ kind: "agent" | "human";
2409
2410
  };
2410
2411
  note?: string | undefined;
2411
2412
  evidence?: {
2412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
- label: string;
2414
2413
  id: string;
2414
+ label: string;
2415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2431
- label: string;
2432
2431
  id: string;
2432
+ label: string;
2433
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
2434
  capture: "at_action" | "historical_lookup" | "fixture";
2434
2435
  locator?: string | undefined;
2435
2436
  }, {
2436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
- label: string;
2438
2437
  id: string;
2438
+ label: string;
2439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
- label: string;
2447
2446
  id: string;
2447
+ label: string;
2448
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
- label: string;
2462
2461
  id: string;
2462
+ label: string;
2463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
- label: string;
2480
2479
  id: string;
2480
+ label: string;
2481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2483
  locator?: string | undefined;
2483
2484
  }, {
2484
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2485
- label: string;
2486
2485
  id: string;
2486
+ label: string;
2487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2500
- label: string;
2501
2500
  id: string;
2501
+ label: string;
2502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2518
- label: string;
2519
2518
  id: string;
2519
+ label: string;
2520
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
2521
  capture: "at_action" | "historical_lookup" | "fixture";
2521
2522
  locator?: string | undefined;
2522
2523
  }[] | 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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
- label: string;
2537
2536
  id: string;
2537
+ label: string;
2538
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2539
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2540
  locator?: string | undefined;
2540
2541
  }, {
2541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
- label: string;
2543
2542
  id: string;
2543
+ label: string;
2544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2556
- label: string;
2557
2556
  id: string;
2557
+ label: string;
2558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
2559
  capture: "at_action" | "historical_lookup" | "fixture";
2559
2560
  locator?: string | undefined;
2560
2561
  }[];
@@ -2571,9 +2572,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2571
2572
  recallReceiptId: string;
2572
2573
  staleDecisionAbsent: boolean;
2573
2574
  evidence?: {
2574
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2575
- label: string;
2576
2575
  id: string;
2576
+ label: string;
2577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
- label: string;
2593
2592
  id: string;
2593
+ label: string;
2594
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
2595
  capture: "at_action" | "historical_lookup" | "fixture";
2595
2596
  locator?: string | undefined;
2596
2597
  }, {
2597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
- label: string;
2599
2598
  id: string;
2599
+ label: string;
2600
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2601
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2602
  locator?: string | undefined;
2602
2603
  }>, "many">>;
2603
2604
  }, "strict", z.ZodTypeAny, {
2604
- kind: "mission_completed";
2605
2605
  summary: string;
2606
+ kind: "mission_completed";
2606
2607
  outcome: "failed" | "recovered" | "inconclusive";
2607
2608
  evidence: {
2608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2609
- label: string;
2610
2609
  id: string;
2610
+ label: string;
2611
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2612
  capture: "at_action" | "historical_lookup" | "fixture";
2612
2613
  locator?: string | undefined;
2613
2614
  }[];
2614
2615
  }, {
2615
- kind: "mission_completed";
2616
2616
  summary: string;
2617
+ kind: "mission_completed";
2617
2618
  outcome: "failed" | "recovered" | "inconclusive";
2618
2619
  evidence?: {
2619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2620
- label: string;
2621
2620
  id: string;
2621
+ label: string;
2622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2630
- label: string;
2631
2630
  id: string;
2631
+ label: string;
2632
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2639
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2640
2639
  label: string;
2640
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2641
+ kind: "agent_status";
2641
2642
  role: string;
2642
2643
  agentId: string;
2643
2644
  sessionId: string;
2644
2645
  evidence: {
2645
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2646
- label: string;
2647
2646
  id: string;
2647
+ label: string;
2648
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2648
2649
  capture: "at_action" | "historical_lookup" | "fixture";
2649
2650
  locator?: string | undefined;
2650
2651
  }[];
2651
2652
  detail?: string | undefined;
2652
2653
  } | {
2653
- kind: "agent_output";
2654
2654
  summary: string;
2655
+ kind: "agent_output";
2655
2656
  agentId: string;
2656
2657
  sessionId: string;
2657
2658
  evidence: {
2658
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
- label: string;
2660
2659
  id: string;
2660
+ label: string;
2661
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2672
- label: string;
2673
2672
  id: string;
2673
+ label: string;
2674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
2682
2682
  summary: string;
2683
+ kind: "conflict_detected";
2683
2684
  evidence: {
2684
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2685
- label: string;
2686
2685
  id: string;
2686
+ label: string;
2687
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
2694
- kind: "test_result";
2695
2695
  summary: string;
2696
2696
  status: "error" | "failed" | "passed";
2697
+ kind: "test_result";
2697
2698
  command: string;
2698
2699
  evidence: {
2699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
- label: string;
2701
2700
  id: string;
2701
+ label: string;
2702
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2703
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2704
  locator?: string | undefined;
2704
2705
  }[];
@@ -2711,9 +2712,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2711
2712
  statement: string;
2712
2713
  rationale: string;
2713
2714
  evidence: {
2714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
- label: string;
2716
2715
  id: string;
2716
+ label: string;
2717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2719
  locator?: string | undefined;
2719
2720
  }[];
@@ -2725,25 +2726,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2725
2726
  } | {
2726
2727
  kind: "correction_approved";
2727
2728
  evidence: {
2728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
- label: string;
2730
2729
  id: string;
2730
+ label: string;
2731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
2732
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2733
  locator?: string | undefined;
2733
2734
  }[];
2734
2735
  correctionId: string;
2735
2736
  approvedBy: {
2736
- kind: "agent" | "human";
2737
- label: string;
2738
2737
  id: string;
2738
+ label: string;
2739
+ kind: "agent" | "human";
2739
2740
  };
2740
2741
  note?: string | undefined;
2741
2742
  } | {
2742
2743
  kind: "decision_superseded";
2743
2744
  evidence: {
2744
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2745
- label: string;
2746
2745
  id: string;
2746
+ label: string;
2747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2760
- label: string;
2761
2760
  id: string;
2761
+ label: string;
2762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
- label: string;
2775
2774
  id: string;
2775
+ label: string;
2776
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
2785
2785
  summary: string;
2786
+ kind: "mission_completed";
2786
2787
  outcome: "failed" | "recovered" | "inconclusive";
2787
2788
  evidence: {
2788
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
- label: string;
2790
2789
  id: string;
2790
+ label: string;
2791
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
- label: string;
2802
2801
  id: string;
2802
+ label: string;
2803
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
2804
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2805
  locator?: string | undefined;
2805
2806
  }[] | undefined;
2806
2807
  } | {
2807
- kind: "agent_status";
2808
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2809
2808
  label: string;
2809
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2810
+ kind: "agent_status";
2810
2811
  role: string;
2811
2812
  agentId: string;
2812
2813
  sessionId: string;
2813
2814
  detail?: string | undefined;
2814
2815
  evidence?: {
2815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2816
- label: string;
2817
2816
  id: string;
2817
+ label: string;
2818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2819
2820
  locator?: string | undefined;
2820
2821
  }[] | undefined;
2821
2822
  } | {
2822
- kind: "agent_output";
2823
2823
  summary: string;
2824
+ kind: "agent_output";
2824
2825
  agentId: string;
2825
2826
  sessionId: string;
2826
2827
  outputId: string;
2827
2828
  evidence?: {
2828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
- label: string;
2830
2829
  id: string;
2830
+ label: string;
2831
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2844
- label: string;
2845
2844
  id: string;
2845
+ label: string;
2846
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
2847
  capture: "at_action" | "historical_lookup" | "fixture";
2847
2848
  locator?: string | undefined;
2848
2849
  }[] | undefined;
2849
2850
  } | {
2850
- kind: "conflict_detected";
2851
2851
  summary: string;
2852
+ kind: "conflict_detected";
2852
2853
  conflictId: string;
2853
2854
  decisionIds: string[];
2854
2855
  agentIds: string[];
2855
2856
  evidence?: {
2856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2857
- label: string;
2858
2857
  id: string;
2858
+ label: string;
2859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2860
2861
  locator?: string | undefined;
2861
2862
  }[] | undefined;
2862
2863
  } | {
2863
- kind: "test_result";
2864
2864
  summary: string;
2865
2865
  status: "error" | "failed" | "passed";
2866
+ kind: "test_result";
2866
2867
  command: string;
2867
2868
  decisionId: string;
2868
2869
  testId: string;
2869
2870
  durationMs?: number | undefined;
2870
2871
  evidence?: {
2871
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
- label: string;
2873
2872
  id: string;
2873
+ label: string;
2874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2889
- label: string;
2890
2889
  id: string;
2890
+ label: string;
2891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2899
- label: string;
2900
2899
  id: string;
2900
+ label: string;
2901
+ kind: "agent" | "human";
2901
2902
  };
2902
2903
  note?: string | undefined;
2903
2904
  evidence?: {
2904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
- label: string;
2906
2905
  id: string;
2906
+ label: string;
2907
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
- label: string;
2918
2917
  id: string;
2918
+ label: string;
2919
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2932
- label: string;
2933
2932
  id: string;
2933
+ label: string;
2934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2947
- label: string;
2948
2947
  id: string;
2948
+ label: string;
2949
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
2950
  capture: "at_action" | "historical_lookup" | "fixture";
2950
2951
  locator?: string | undefined;
2951
2952
  }[] | undefined;
2952
2953
  } | {
2953
- kind: "mission_completed";
2954
2954
  summary: string;
2955
+ kind: "mission_completed";
2955
2956
  outcome: "failed" | "recovered" | "inconclusive";
2956
2957
  evidence?: {
2957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2958
- label: string;
2959
2958
  id: string;
2959
+ label: string;
2960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2970
- label: string;
2971
2970
  id: string;
2971
+ label: string;
2972
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2979
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2980
2979
  label: string;
2980
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2981
+ kind: "agent_status";
2981
2982
  role: string;
2982
2983
  agentId: string;
2983
2984
  sessionId: string;
2984
2985
  evidence: {
2985
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2986
- label: string;
2987
2986
  id: string;
2987
+ label: string;
2988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
2989
  capture: "at_action" | "historical_lookup" | "fixture";
2989
2990
  locator?: string | undefined;
2990
2991
  }[];
2991
2992
  detail?: string | undefined;
2992
2993
  } | {
2993
- kind: "agent_output";
2994
2994
  summary: string;
2995
+ kind: "agent_output";
2995
2996
  agentId: string;
2996
2997
  sessionId: string;
2997
2998
  evidence: {
2998
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2999
- label: string;
3000
2999
  id: string;
3000
+ label: string;
3001
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
- label: string;
3013
3012
  id: string;
3013
+ label: string;
3014
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3022
3022
  summary: string;
3023
+ kind: "conflict_detected";
3023
3024
  evidence: {
3024
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3025
- label: string;
3026
3025
  id: string;
3026
+ label: string;
3027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
3034
- kind: "test_result";
3035
3035
  summary: string;
3036
3036
  status: "error" | "failed" | "passed";
3037
+ kind: "test_result";
3037
3038
  command: string;
3038
3039
  evidence: {
3039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
- label: string;
3041
3040
  id: string;
3041
+ label: string;
3042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
3043
  capture: "at_action" | "historical_lookup" | "fixture";
3043
3044
  locator?: string | undefined;
3044
3045
  }[];
@@ -3051,9 +3052,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3051
3052
  statement: string;
3052
3053
  rationale: string;
3053
3054
  evidence: {
3054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3055
- label: string;
3056
3055
  id: string;
3056
+ label: string;
3057
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3058
  capture: "at_action" | "historical_lookup" | "fixture";
3058
3059
  locator?: string | undefined;
3059
3060
  }[];
@@ -3065,25 +3066,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3065
3066
  } | {
3066
3067
  kind: "correction_approved";
3067
3068
  evidence: {
3068
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3069
- label: string;
3070
3069
  id: string;
3070
+ label: string;
3071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3072
  capture: "at_action" | "historical_lookup" | "fixture";
3072
3073
  locator?: string | undefined;
3073
3074
  }[];
3074
3075
  correctionId: string;
3075
3076
  approvedBy: {
3076
- kind: "agent" | "human";
3077
- label: string;
3078
3077
  id: string;
3078
+ label: string;
3079
+ kind: "agent" | "human";
3079
3080
  };
3080
3081
  note?: string | undefined;
3081
3082
  } | {
3082
3083
  kind: "decision_superseded";
3083
3084
  evidence: {
3084
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3085
- label: string;
3086
3085
  id: string;
3086
+ label: string;
3087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3100
- label: string;
3101
3100
  id: string;
3101
+ label: string;
3102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3114
- label: string;
3115
3114
  id: string;
3115
+ label: string;
3116
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3117
3118
  locator?: string | undefined;
3118
3119
  }[];
@@ -3121,13 +3122,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3121
3122
  recallReceiptId: string;
3122
3123
  staleDecisionAbsent: boolean;
3123
3124
  } | {
3124
- kind: "mission_completed";
3125
3125
  summary: string;
3126
+ kind: "mission_completed";
3126
3127
  outcome: "failed" | "recovered" | "inconclusive";
3127
3128
  evidence: {
3128
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
- label: string;
3130
3129
  id: string;
3130
+ label: string;
3131
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3145
- label: string;
3146
3145
  id: string;
3146
+ label: string;
3147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3148
3149
  locator?: string | undefined;
3149
3150
  }[] | undefined;
3150
3151
  } | {
3151
- kind: "agent_status";
3152
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3153
3152
  label: string;
3153
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3154
+ kind: "agent_status";
3154
3155
  role: string;
3155
3156
  agentId: string;
3156
3157
  sessionId: string;
3157
3158
  detail?: string | undefined;
3158
3159
  evidence?: {
3159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
- label: string;
3161
3160
  id: string;
3161
+ label: string;
3162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3164
  locator?: string | undefined;
3164
3165
  }[] | undefined;
3165
3166
  } | {
3166
- kind: "agent_output";
3167
3167
  summary: string;
3168
+ kind: "agent_output";
3168
3169
  agentId: string;
3169
3170
  sessionId: string;
3170
3171
  outputId: string;
3171
3172
  evidence?: {
3172
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3173
- label: string;
3174
3173
  id: string;
3174
+ label: string;
3175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
- label: string;
3189
3188
  id: string;
3189
+ label: string;
3190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
3191
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3192
  locator?: string | undefined;
3192
3193
  }[] | undefined;
3193
3194
  } | {
3194
- kind: "conflict_detected";
3195
3195
  summary: string;
3196
+ kind: "conflict_detected";
3196
3197
  conflictId: string;
3197
3198
  decisionIds: string[];
3198
3199
  agentIds: string[];
3199
3200
  evidence?: {
3200
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
- label: string;
3202
3201
  id: string;
3202
+ label: string;
3203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3204
3205
  locator?: string | undefined;
3205
3206
  }[] | undefined;
3206
3207
  } | {
3207
- kind: "test_result";
3208
3208
  summary: string;
3209
3209
  status: "error" | "failed" | "passed";
3210
+ kind: "test_result";
3210
3211
  command: string;
3211
3212
  decisionId: string;
3212
3213
  testId: string;
3213
3214
  durationMs?: number | undefined;
3214
3215
  evidence?: {
3215
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
- label: string;
3217
3216
  id: string;
3217
+ label: string;
3218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3233
- label: string;
3234
3233
  id: string;
3234
+ label: string;
3235
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3243
- label: string;
3244
3243
  id: string;
3244
+ label: string;
3245
+ kind: "agent" | "human";
3245
3246
  };
3246
3247
  note?: string | undefined;
3247
3248
  evidence?: {
3248
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3249
- label: string;
3250
3249
  id: string;
3250
+ label: string;
3251
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3261
- label: string;
3262
3261
  id: string;
3262
+ label: string;
3263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
- label: string;
3277
3276
  id: string;
3277
+ label: string;
3278
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
3279
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3280
  locator?: string | undefined;
3280
3281
  }[] | undefined;
@@ -3287,20 +3288,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3287
3288
  recallReceiptId: string;
3288
3289
  staleDecisionAbsent: boolean;
3289
3290
  evidence?: {
3290
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
- label: string;
3292
3291
  id: string;
3292
+ label: string;
3293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
3294
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3295
  locator?: string | undefined;
3295
3296
  }[] | undefined;
3296
3297
  } | {
3297
- kind: "mission_completed";
3298
3298
  summary: string;
3299
+ kind: "mission_completed";
3299
3300
  outcome: "failed" | "recovered" | "inconclusive";
3300
3301
  evidence?: {
3301
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
- label: string;
3303
3302
  id: string;
3303
+ label: string;
3304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
- label: string;
3335
3334
  id: string;
3335
+ label: string;
3336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
3337
  capture: "at_action" | "historical_lookup" | "fixture";
3337
3338
  locator?: string | undefined;
3338
3339
  }, {
3339
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3340
- label: string;
3341
3340
  id: string;
3341
+ label: string;
3342
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3350
- label: string;
3351
3350
  id: string;
3351
+ label: string;
3352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
- label: string;
3365
3364
  id: string;
3365
+ label: string;
3366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3382
- label: string;
3383
3382
  id: string;
3383
+ label: string;
3384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
3385
  capture: "at_action" | "historical_lookup" | "fixture";
3385
3386
  locator?: string | undefined;
3386
3387
  }, {
3387
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3388
- label: string;
3389
3388
  id: string;
3389
+ label: string;
3390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3398
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3399
3398
  label: string;
3399
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3400
+ kind: "agent_status";
3400
3401
  role: string;
3401
3402
  agentId: string;
3402
3403
  sessionId: string;
3403
3404
  evidence: {
3404
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3405
- label: string;
3406
3405
  id: string;
3406
+ label: string;
3407
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
3408
  capture: "at_action" | "historical_lookup" | "fixture";
3408
3409
  locator?: string | undefined;
3409
3410
  }[];
3410
3411
  detail?: string | undefined;
3411
3412
  }, {
3412
- kind: "agent_status";
3413
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3414
3413
  label: string;
3414
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3415
+ kind: "agent_status";
3415
3416
  role: string;
3416
3417
  agentId: string;
3417
3418
  sessionId: string;
3418
3419
  detail?: string | undefined;
3419
3420
  evidence?: {
3420
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3421
- label: string;
3422
3421
  id: string;
3422
+ label: string;
3423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
- label: string;
3438
3437
  id: string;
3438
+ label: string;
3439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3441
  locator?: string | undefined;
3441
3442
  }, {
3442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
- label: string;
3444
3443
  id: string;
3444
+ label: string;
3445
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
3453
3453
  summary: string;
3454
+ kind: "agent_output";
3454
3455
  agentId: string;
3455
3456
  sessionId: string;
3456
3457
  evidence: {
3457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
- label: string;
3459
3458
  id: string;
3459
+ label: string;
3460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3461
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3462
  locator?: string | undefined;
3462
3463
  }[];
3463
3464
  outputId: string;
3464
3465
  }, {
3465
- kind: "agent_output";
3466
3466
  summary: string;
3467
+ kind: "agent_output";
3467
3468
  agentId: string;
3468
3469
  sessionId: string;
3469
3470
  outputId: string;
3470
3471
  evidence?: {
3471
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
- label: string;
3473
3472
  id: string;
3473
+ label: string;
3474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
- label: string;
3491
3490
  id: string;
3491
+ label: string;
3492
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3493
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3494
  locator?: string | undefined;
3494
3495
  }, {
3495
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3496
- label: string;
3497
3496
  id: string;
3497
+ label: string;
3498
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3511
- label: string;
3512
3511
  id: string;
3512
+ label: string;
3513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3529
- label: string;
3530
3529
  id: string;
3530
+ label: string;
3531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
- label: string;
3549
3548
  id: string;
3549
+ label: string;
3550
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3551
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3552
  locator?: string | undefined;
3552
3553
  }, {
3553
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
- label: string;
3555
3554
  id: string;
3555
+ label: string;
3556
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
3557
  capture: "at_action" | "historical_lookup" | "fixture";
3557
3558
  locator?: string | undefined;
3558
3559
  }>, "many">>;
3559
3560
  }, "strict", z.ZodTypeAny, {
3560
- kind: "conflict_detected";
3561
3561
  summary: string;
3562
+ kind: "conflict_detected";
3562
3563
  evidence: {
3563
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
- label: string;
3565
3564
  id: string;
3565
+ label: string;
3566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3574
3574
  summary: string;
3575
+ kind: "conflict_detected";
3575
3576
  conflictId: string;
3576
3577
  decisionIds: string[];
3577
3578
  agentIds: string[];
3578
3579
  evidence?: {
3579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
- label: string;
3581
3580
  id: string;
3581
+ label: string;
3582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3602
- label: string;
3603
3602
  id: string;
3603
+ label: string;
3604
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3605
  capture: "at_action" | "historical_lookup" | "fixture";
3605
3606
  locator?: string | undefined;
3606
3607
  }, {
3607
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3608
- label: string;
3609
3608
  id: string;
3609
+ label: string;
3610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3610
3611
  capture: "at_action" | "historical_lookup" | "fixture";
3611
3612
  locator?: string | undefined;
3612
3613
  }>, "many">>;
3613
3614
  }, "strict", z.ZodTypeAny, {
3614
- kind: "test_result";
3615
3615
  summary: string;
3616
3616
  status: "error" | "failed" | "passed";
3617
+ kind: "test_result";
3617
3618
  command: string;
3618
3619
  evidence: {
3619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
- label: string;
3621
3620
  id: string;
3621
+ label: string;
3622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
3630
- kind: "test_result";
3631
3631
  summary: string;
3632
3632
  status: "error" | "failed" | "passed";
3633
+ kind: "test_result";
3633
3634
  command: string;
3634
3635
  decisionId: string;
3635
3636
  testId: string;
3636
3637
  durationMs?: number | undefined;
3637
3638
  evidence?: {
3638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
- label: string;
3640
3639
  id: string;
3640
+ label: string;
3641
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
- label: string;
3663
3662
  id: string;
3663
+ label: string;
3664
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
3665
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3666
  locator?: string | undefined;
3666
3667
  }, {
3667
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3668
- label: string;
3669
3668
  id: string;
3669
+ label: string;
3670
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3679
- label: string;
3680
3679
  id: string;
3680
+ label: string;
3681
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3700
- label: string;
3701
3700
  id: string;
3701
+ label: string;
3702
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3714
- label: string;
3715
3714
  id: string;
3716
- }, {
3717
- kind: "agent" | "human";
3718
3715
  label: string;
3716
+ kind: "agent" | "human";
3717
+ }, {
3719
3718
  id: string;
3719
+ label: string;
3720
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
- label: string;
3731
3730
  id: string;
3731
+ label: string;
3732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
3733
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3734
  locator?: string | undefined;
3734
3735
  }, {
3735
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
- label: string;
3737
3736
  id: string;
3737
+ label: string;
3738
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
- label: string;
3746
3745
  id: string;
3746
+ label: string;
3747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
3748
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3749
  locator?: string | undefined;
3749
3750
  }[];
3750
3751
  correctionId: string;
3751
3752
  approvedBy: {
3752
- kind: "agent" | "human";
3753
- label: string;
3754
3753
  id: string;
3754
+ label: string;
3755
+ kind: "agent" | "human";
3755
3756
  };
3756
3757
  note?: string | undefined;
3757
3758
  }, {
3758
3759
  kind: "correction_approved";
3759
3760
  correctionId: string;
3760
3761
  approvedBy: {
3761
- kind: "agent" | "human";
3762
- label: string;
3763
3762
  id: string;
3763
+ label: string;
3764
+ kind: "agent" | "human";
3764
3765
  };
3765
3766
  note?: string | undefined;
3766
3767
  evidence?: {
3767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
- label: string;
3769
3768
  id: string;
3769
+ label: string;
3770
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3786
- label: string;
3787
3786
  id: string;
3787
+ label: string;
3788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
3789
  capture: "at_action" | "historical_lookup" | "fixture";
3789
3790
  locator?: string | undefined;
3790
3791
  }, {
3791
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
- label: string;
3793
3792
  id: string;
3793
+ label: string;
3794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
- label: string;
3802
3801
  id: string;
3802
+ label: string;
3803
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
- label: string;
3817
3816
  id: string;
3817
+ label: string;
3818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
- label: string;
3835
3834
  id: string;
3835
+ label: string;
3836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3838
  locator?: string | undefined;
3838
3839
  }, {
3839
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3840
- label: string;
3841
3840
  id: string;
3841
+ label: string;
3842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3855
- label: string;
3856
3855
  id: string;
3856
+ label: string;
3857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3873
- label: string;
3874
3873
  id: string;
3874
+ label: string;
3875
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
3876
  capture: "at_action" | "historical_lookup" | "fixture";
3876
3877
  locator?: string | undefined;
3877
3878
  }[] | 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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
- label: string;
3892
3891
  id: string;
3892
+ label: string;
3893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3894
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3895
  locator?: string | undefined;
3895
3896
  }, {
3896
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
- label: string;
3898
3897
  id: string;
3898
+ label: string;
3899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3911
- label: string;
3912
3911
  id: string;
3912
+ label: string;
3913
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
3914
  capture: "at_action" | "historical_lookup" | "fixture";
3914
3915
  locator?: string | undefined;
3915
3916
  }[];
@@ -3926,9 +3927,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3926
3927
  recallReceiptId: string;
3927
3928
  staleDecisionAbsent: boolean;
3928
3929
  evidence?: {
3929
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3930
- label: string;
3931
3930
  id: string;
3931
+ label: string;
3932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
- label: string;
3948
3947
  id: string;
3948
+ label: string;
3949
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
3950
  capture: "at_action" | "historical_lookup" | "fixture";
3950
3951
  locator?: string | undefined;
3951
3952
  }, {
3952
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
- label: string;
3954
3953
  id: string;
3954
+ label: string;
3955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3956
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3957
  locator?: string | undefined;
3957
3958
  }>, "many">>;
3958
3959
  }, "strict", z.ZodTypeAny, {
3959
- kind: "mission_completed";
3960
3960
  summary: string;
3961
+ kind: "mission_completed";
3961
3962
  outcome: "failed" | "recovered" | "inconclusive";
3962
3963
  evidence: {
3963
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3964
- label: string;
3965
3964
  id: string;
3965
+ label: string;
3966
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3967
  capture: "at_action" | "historical_lookup" | "fixture";
3967
3968
  locator?: string | undefined;
3968
3969
  }[];
3969
3970
  }, {
3970
- kind: "mission_completed";
3971
3971
  summary: string;
3972
+ kind: "mission_completed";
3972
3973
  outcome: "failed" | "recovered" | "inconclusive";
3973
3974
  evidence?: {
3974
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3975
- label: string;
3976
3975
  id: string;
3976
+ label: string;
3977
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3985
- label: string;
3986
3985
  id: string;
3986
+ label: string;
3987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3994
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3995
3994
  label: string;
3995
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3996
+ kind: "agent_status";
3996
3997
  role: string;
3997
3998
  agentId: string;
3998
3999
  sessionId: string;
3999
4000
  evidence: {
4000
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4001
- label: string;
4002
4001
  id: string;
4002
+ label: string;
4003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4003
4004
  capture: "at_action" | "historical_lookup" | "fixture";
4004
4005
  locator?: string | undefined;
4005
4006
  }[];
4006
4007
  detail?: string | undefined;
4007
4008
  } | {
4008
- kind: "agent_output";
4009
4009
  summary: string;
4010
+ kind: "agent_output";
4010
4011
  agentId: string;
4011
4012
  sessionId: string;
4012
4013
  evidence: {
4013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
- label: string;
4015
4014
  id: string;
4015
+ label: string;
4016
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4027
- label: string;
4028
4027
  id: string;
4028
+ label: string;
4029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
4037
4037
  summary: string;
4038
+ kind: "conflict_detected";
4038
4039
  evidence: {
4039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4040
- label: string;
4041
4040
  id: string;
4041
+ label: string;
4042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
4049
- kind: "test_result";
4050
4050
  summary: string;
4051
4051
  status: "error" | "failed" | "passed";
4052
+ kind: "test_result";
4052
4053
  command: string;
4053
4054
  evidence: {
4054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
- label: string;
4056
4055
  id: string;
4056
+ label: string;
4057
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4058
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4059
  locator?: string | undefined;
4059
4060
  }[];
@@ -4066,9 +4067,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4066
4067
  statement: string;
4067
4068
  rationale: string;
4068
4069
  evidence: {
4069
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
- label: string;
4071
4070
  id: string;
4071
+ label: string;
4072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4074
  locator?: string | undefined;
4074
4075
  }[];
@@ -4080,25 +4081,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4080
4081
  } | {
4081
4082
  kind: "correction_approved";
4082
4083
  evidence: {
4083
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
- label: string;
4085
4084
  id: string;
4085
+ label: string;
4086
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
4087
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4088
  locator?: string | undefined;
4088
4089
  }[];
4089
4090
  correctionId: string;
4090
4091
  approvedBy: {
4091
- kind: "agent" | "human";
4092
- label: string;
4093
4092
  id: string;
4093
+ label: string;
4094
+ kind: "agent" | "human";
4094
4095
  };
4095
4096
  note?: string | undefined;
4096
4097
  } | {
4097
4098
  kind: "decision_superseded";
4098
4099
  evidence: {
4099
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4100
- label: string;
4101
4100
  id: string;
4101
+ label: string;
4102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4115
- label: string;
4116
4115
  id: string;
4116
+ label: string;
4117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
- label: string;
4130
4129
  id: string;
4130
+ label: string;
4131
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
4140
4140
  summary: string;
4141
+ kind: "mission_completed";
4141
4142
  outcome: "failed" | "recovered" | "inconclusive";
4142
4143
  evidence: {
4143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
- label: string;
4145
4144
  id: string;
4145
+ label: string;
4146
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
- label: string;
4157
4156
  id: string;
4157
+ label: string;
4158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
4159
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4160
  locator?: string | undefined;
4160
4161
  }[] | undefined;
4161
4162
  } | {
4162
- kind: "agent_status";
4163
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4164
4163
  label: string;
4164
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4165
+ kind: "agent_status";
4165
4166
  role: string;
4166
4167
  agentId: string;
4167
4168
  sessionId: string;
4168
4169
  detail?: string | undefined;
4169
4170
  evidence?: {
4170
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4171
- label: string;
4172
4171
  id: string;
4172
+ label: string;
4173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4174
4175
  locator?: string | undefined;
4175
4176
  }[] | undefined;
4176
4177
  } | {
4177
- kind: "agent_output";
4178
4178
  summary: string;
4179
+ kind: "agent_output";
4179
4180
  agentId: string;
4180
4181
  sessionId: string;
4181
4182
  outputId: string;
4182
4183
  evidence?: {
4183
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
- label: string;
4185
4184
  id: string;
4185
+ label: string;
4186
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4199
- label: string;
4200
4199
  id: string;
4200
+ label: string;
4201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
4202
  capture: "at_action" | "historical_lookup" | "fixture";
4202
4203
  locator?: string | undefined;
4203
4204
  }[] | undefined;
4204
4205
  } | {
4205
- kind: "conflict_detected";
4206
4206
  summary: string;
4207
+ kind: "conflict_detected";
4207
4208
  conflictId: string;
4208
4209
  decisionIds: string[];
4209
4210
  agentIds: string[];
4210
4211
  evidence?: {
4211
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4212
- label: string;
4213
4212
  id: string;
4213
+ label: string;
4214
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4215
4216
  locator?: string | undefined;
4216
4217
  }[] | undefined;
4217
4218
  } | {
4218
- kind: "test_result";
4219
4219
  summary: string;
4220
4220
  status: "error" | "failed" | "passed";
4221
+ kind: "test_result";
4221
4222
  command: string;
4222
4223
  decisionId: string;
4223
4224
  testId: string;
4224
4225
  durationMs?: number | undefined;
4225
4226
  evidence?: {
4226
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
- label: string;
4228
4227
  id: string;
4228
+ label: string;
4229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4244
- label: string;
4245
4244
  id: string;
4245
+ label: string;
4246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
4254
- label: string;
4255
4254
  id: string;
4255
+ label: string;
4256
+ kind: "agent" | "human";
4256
4257
  };
4257
4258
  note?: string | undefined;
4258
4259
  evidence?: {
4259
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
- label: string;
4261
4260
  id: string;
4261
+ label: string;
4262
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
- label: string;
4273
4272
  id: string;
4273
+ label: string;
4274
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4287
- label: string;
4288
4287
  id: string;
4288
+ label: string;
4289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4290
4291
  locator?: string | undefined;
4291
4292
  }[] | undefined;
@@ -4298,63 +4299,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4298
4299
  recallReceiptId: string;
4299
4300
  staleDecisionAbsent: boolean;
4300
4301
  evidence?: {
4301
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4302
- label: string;
4303
4302
  id: string;
4303
+ label: string;
4304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
4305
  capture: "at_action" | "historical_lookup" | "fixture";
4305
4306
  locator?: string | undefined;
4306
4307
  }[] | undefined;
4307
4308
  } | {
4308
- kind: "mission_completed";
4309
4309
  summary: string;
4310
+ kind: "mission_completed";
4310
4311
  outcome: "failed" | "recovered" | "inconclusive";
4311
4312
  evidence?: {
4312
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4313
- label: string;
4314
4313
  id: string;
4314
+ label: string;
4315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4315
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4316
4317
  locator?: string | undefined;
4317
4318
  }[] | undefined;
4318
4319
  }>;
4319
4320
  }, "strict", z.ZodTypeAny, {
4320
- schemaVersion: "1";
4321
+ namespace: string;
4321
4322
  recordedAt: string;
4323
+ schemaVersion: "1";
4322
4324
  payload: {
4323
4325
  kind: "mission_started";
4324
4326
  title: string;
4325
4327
  evidence: {
4326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
- label: string;
4328
4328
  id: string;
4329
+ label: string;
4330
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
4331
  capture: "at_action" | "historical_lookup" | "fixture";
4330
4332
  locator?: string | undefined;
4331
4333
  }[];
4332
4334
  objective: string;
4333
4335
  runMode: "replay" | "fixture" | "live";
4334
4336
  } | {
4335
- kind: "agent_status";
4336
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4337
4337
  label: string;
4338
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4339
+ kind: "agent_status";
4338
4340
  role: string;
4339
4341
  agentId: string;
4340
4342
  sessionId: string;
4341
4343
  evidence: {
4342
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4343
- label: string;
4344
4344
  id: string;
4345
+ label: string;
4346
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
4347
  capture: "at_action" | "historical_lookup" | "fixture";
4346
4348
  locator?: string | undefined;
4347
4349
  }[];
4348
4350
  detail?: string | undefined;
4349
4351
  } | {
4350
- kind: "agent_output";
4351
4352
  summary: string;
4353
+ kind: "agent_output";
4352
4354
  agentId: string;
4353
4355
  sessionId: string;
4354
4356
  evidence: {
4355
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4356
- label: string;
4357
4357
  id: string;
4358
+ label: string;
4359
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
4360
  capture: "at_action" | "historical_lookup" | "fixture";
4359
4361
  locator?: string | undefined;
4360
4362
  }[];
@@ -4365,9 +4367,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4365
4367
  statement: string;
4366
4368
  sessionId: string;
4367
4369
  evidence: {
4368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4369
- label: string;
4370
4370
  id: string;
4371
+ label: string;
4372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4372
4374
  locator?: string | undefined;
4373
4375
  }[];
@@ -4375,12 +4377,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4375
4377
  decisionId: string;
4376
4378
  confidence?: number | undefined;
4377
4379
  } | {
4378
- kind: "conflict_detected";
4379
4380
  summary: string;
4381
+ kind: "conflict_detected";
4380
4382
  evidence: {
4381
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4382
- label: string;
4383
4383
  id: string;
4384
+ label: string;
4385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
4386
  capture: "at_action" | "historical_lookup" | "fixture";
4385
4387
  locator?: string | undefined;
4386
4388
  }[];
@@ -4388,14 +4390,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4388
4390
  decisionIds: string[];
4389
4391
  agentIds: string[];
4390
4392
  } | {
4391
- kind: "test_result";
4392
4393
  summary: string;
4393
4394
  status: "error" | "failed" | "passed";
4395
+ kind: "test_result";
4394
4396
  command: string;
4395
4397
  evidence: {
4396
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4397
- label: string;
4398
4398
  id: string;
4399
+ label: string;
4400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
4401
  capture: "at_action" | "historical_lookup" | "fixture";
4400
4402
  locator?: string | undefined;
4401
4403
  }[];
@@ -4408,9 +4410,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4408
4410
  statement: string;
4409
4411
  rationale: string;
4410
4412
  evidence: {
4411
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
- label: string;
4413
4413
  id: string;
4414
+ label: string;
4415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4416
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4417
  locator?: string | undefined;
4416
4418
  }[];
@@ -4422,25 +4424,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4422
4424
  } | {
4423
4425
  kind: "correction_approved";
4424
4426
  evidence: {
4425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4426
- label: string;
4427
4427
  id: string;
4428
+ label: string;
4429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
4430
  capture: "at_action" | "historical_lookup" | "fixture";
4429
4431
  locator?: string | undefined;
4430
4432
  }[];
4431
4433
  correctionId: string;
4432
4434
  approvedBy: {
4433
- kind: "agent" | "human";
4434
- label: string;
4435
4435
  id: string;
4436
+ label: string;
4437
+ kind: "agent" | "human";
4436
4438
  };
4437
4439
  note?: string | undefined;
4438
4440
  } | {
4439
4441
  kind: "decision_superseded";
4440
4442
  evidence: {
4441
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
- label: string;
4443
4443
  id: string;
4444
+ label: string;
4445
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
4446
  capture: "at_action" | "historical_lookup" | "fixture";
4445
4447
  locator?: string | undefined;
4446
4448
  }[];
@@ -4453,9 +4455,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4453
4455
  agentId: string;
4454
4456
  sessionId: string;
4455
4457
  evidence: {
4456
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
- label: string;
4458
4458
  id: string;
4459
+ label: string;
4460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
4461
  capture: "at_action" | "historical_lookup" | "fixture";
4460
4462
  locator?: string | undefined;
4461
4463
  }[];
@@ -4467,9 +4469,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4467
4469
  agentId: string;
4468
4470
  sessionId: string;
4469
4471
  evidence: {
4470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
- label: string;
4472
4472
  id: string;
4473
+ label: string;
4474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4475
  capture: "at_action" | "historical_lookup" | "fixture";
4474
4476
  locator?: string | undefined;
4475
4477
  }[];
@@ -4478,63 +4480,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4478
4480
  recallReceiptId: string;
4479
4481
  staleDecisionAbsent: boolean;
4480
4482
  } | {
4481
- kind: "mission_completed";
4482
4483
  summary: string;
4484
+ kind: "mission_completed";
4483
4485
  outcome: "failed" | "recovered" | "inconclusive";
4484
4486
  evidence: {
4485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
- label: string;
4487
4487
  id: string;
4488
+ label: string;
4489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4490
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4491
  locator?: string | undefined;
4490
4492
  }[];
4491
4493
  };
4492
- 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
- schemaVersion: "1";
4500
+ namespace: string;
4500
4501
  recordedAt: string;
4502
+ schemaVersion: "1";
4501
4503
  payload: {
4502
4504
  kind: "mission_started";
4503
4505
  title: string;
4504
4506
  objective: string;
4505
4507
  runMode: "replay" | "fixture" | "live";
4506
4508
  evidence?: {
4507
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4508
- label: string;
4509
4509
  id: string;
4510
+ label: string;
4511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4512
  capture: "at_action" | "historical_lookup" | "fixture";
4511
4513
  locator?: string | undefined;
4512
4514
  }[] | undefined;
4513
4515
  } | {
4514
- kind: "agent_status";
4515
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4516
4516
  label: string;
4517
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4518
+ kind: "agent_status";
4517
4519
  role: string;
4518
4520
  agentId: string;
4519
4521
  sessionId: string;
4520
4522
  detail?: string | undefined;
4521
4523
  evidence?: {
4522
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4523
- label: string;
4524
4524
  id: string;
4525
+ label: string;
4526
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
4527
  capture: "at_action" | "historical_lookup" | "fixture";
4526
4528
  locator?: string | undefined;
4527
4529
  }[] | undefined;
4528
4530
  } | {
4529
- kind: "agent_output";
4530
4531
  summary: string;
4532
+ kind: "agent_output";
4531
4533
  agentId: string;
4532
4534
  sessionId: string;
4533
4535
  outputId: string;
4534
4536
  evidence?: {
4535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4536
- label: string;
4537
4537
  id: string;
4538
+ label: string;
4539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
4540
  capture: "at_action" | "historical_lookup" | "fixture";
4539
4541
  locator?: string | undefined;
4540
4542
  }[] | undefined;
@@ -4547,37 +4549,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4547
4549
  decisionId: string;
4548
4550
  confidence?: number | undefined;
4549
4551
  evidence?: {
4550
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4551
- label: string;
4552
4552
  id: string;
4553
+ label: string;
4554
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
4555
  capture: "at_action" | "historical_lookup" | "fixture";
4554
4556
  locator?: string | undefined;
4555
4557
  }[] | undefined;
4556
4558
  } | {
4557
- kind: "conflict_detected";
4558
4559
  summary: string;
4560
+ kind: "conflict_detected";
4559
4561
  conflictId: string;
4560
4562
  decisionIds: string[];
4561
4563
  agentIds: string[];
4562
4564
  evidence?: {
4563
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
- label: string;
4565
4565
  id: string;
4566
+ label: string;
4567
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
4568
  capture: "at_action" | "historical_lookup" | "fixture";
4567
4569
  locator?: string | undefined;
4568
4570
  }[] | undefined;
4569
4571
  } | {
4570
- kind: "test_result";
4571
4572
  summary: string;
4572
4573
  status: "error" | "failed" | "passed";
4574
+ kind: "test_result";
4573
4575
  command: string;
4574
4576
  decisionId: string;
4575
4577
  testId: string;
4576
4578
  durationMs?: number | undefined;
4577
4579
  evidence?: {
4578
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4579
- label: string;
4580
4580
  id: string;
4581
+ label: string;
4582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
4583
  capture: "at_action" | "historical_lookup" | "fixture";
4582
4584
  locator?: string | undefined;
4583
4585
  }[] | undefined;
@@ -4592,9 +4594,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4592
4594
  supersedesDecisionIds: string[];
4593
4595
  proposedBy: string;
4594
4596
  evidence?: {
4595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
- label: string;
4597
4597
  id: string;
4598
+ label: string;
4599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
4600
  capture: "at_action" | "historical_lookup" | "fixture";
4599
4601
  locator?: string | undefined;
4600
4602
  }[] | undefined;
@@ -4602,15 +4604,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4602
4604
  kind: "correction_approved";
4603
4605
  correctionId: string;
4604
4606
  approvedBy: {
4605
- kind: "agent" | "human";
4606
- label: string;
4607
4607
  id: string;
4608
+ label: string;
4609
+ kind: "agent" | "human";
4608
4610
  };
4609
4611
  note?: string | undefined;
4610
4612
  evidence?: {
4611
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4612
- label: string;
4613
4613
  id: string;
4614
+ label: string;
4615
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
4616
  capture: "at_action" | "historical_lookup" | "fixture";
4615
4617
  locator?: string | undefined;
4616
4618
  }[] | undefined;
@@ -4620,9 +4622,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4620
4622
  correctionId: string;
4621
4623
  replacementDecisionId: string;
4622
4624
  evidence?: {
4623
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4624
- label: string;
4625
4625
  id: string;
4626
+ label: string;
4627
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
4628
  capture: "at_action" | "historical_lookup" | "fixture";
4627
4629
  locator?: string | undefined;
4628
4630
  }[] | undefined;
@@ -4635,9 +4637,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4635
4637
  recallReceiptId: string;
4636
4638
  capturedAtAction: boolean;
4637
4639
  evidence?: {
4638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4639
- label: string;
4640
4640
  id: string;
4641
+ label: string;
4642
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
4643
  capture: "at_action" | "historical_lookup" | "fixture";
4642
4644
  locator?: string | undefined;
4643
4645
  }[] | undefined;
@@ -4650,25 +4652,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4650
4652
  recallReceiptId: string;
4651
4653
  staleDecisionAbsent: boolean;
4652
4654
  evidence?: {
4653
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4654
- label: string;
4655
4655
  id: string;
4656
+ label: string;
4657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
4658
  capture: "at_action" | "historical_lookup" | "fixture";
4657
4659
  locator?: string | undefined;
4658
4660
  }[] | undefined;
4659
4661
  } | {
4660
- kind: "mission_completed";
4661
4662
  summary: string;
4663
+ kind: "mission_completed";
4662
4664
  outcome: "failed" | "recovered" | "inconclusive";
4663
4665
  evidence?: {
4664
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4665
- label: string;
4666
4666
  id: string;
4667
+ label: string;
4668
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
4669
  capture: "at_action" | "historical_lookup" | "fixture";
4668
4670
  locator?: string | undefined;
4669
4671
  }[] | undefined;
4670
4672
  };
4671
- namespace: string;
4672
4673
  eventId: string;
4673
4674
  occurredAt: string;
4674
4675
  missionId: string;