@remnic/core 9.69.9 → 9.69.11

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 (577) hide show
  1. package/dist/access-admin-ops-surface.d.ts +15 -13
  2. package/dist/access-admin-ops-surface.js +41 -28
  3. package/dist/access-authorization-probe.d.ts +13 -11
  4. package/dist/access-authorization-probe.js +42 -29
  5. package/dist/access-boundary.d.ts +13 -11
  6. package/dist/access-boundary.js +41 -28
  7. package/dist/access-cli.js +101 -89
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +2 -1
  10. package/dist/access-extraction-force-flush.d.ts +13 -11
  11. package/dist/access-extraction-force-flush.js +41 -28
  12. package/dist/access-health-types.d.ts +2 -1
  13. package/dist/access-http-lcm-compaction.d.ts +13 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +13 -11
  15. package/dist/access-http-offline-stream.d.ts +13 -11
  16. package/dist/access-http-query.d.ts +3 -2
  17. package/dist/access-http-query.js +43 -30
  18. package/dist/access-http.d.ts +14 -12
  19. package/dist/access-http.js +62 -47
  20. package/dist/access-identity-continuity-surface.d.ts +10 -9
  21. package/dist/access-identity-continuity-surface.js +41 -28
  22. package/dist/access-lcm-surface.d.ts +13 -11
  23. package/dist/access-lcm-surface.js +41 -28
  24. package/dist/access-mcp-output-schemas.js +1 -1
  25. package/dist/access-mcp.d.ts +13 -11
  26. package/dist/access-mcp.js +53 -39
  27. package/dist/access-memory-search-fanout.d.ts +3 -2
  28. package/dist/{access-namespace-preflight-S8fhQcCo.d.ts → access-namespace-preflight-Cy0yPsaE.d.ts} +1 -1
  29. package/dist/access-namespace-preflight.d.ts +4 -3
  30. package/dist/access-namespace-preflight.js +41 -28
  31. package/dist/access-observe-write-surface.d.ts +15 -13
  32. package/dist/access-observe-write-surface.js +41 -28
  33. package/dist/access-offline-manifest.d.ts +10 -9
  34. package/dist/access-offline-manifest.js +3 -3
  35. package/dist/access-operations-batch.js +44 -31
  36. package/dist/access-operations.d.ts +19 -17
  37. package/dist/access-operations.js +49 -36
  38. package/dist/access-recall-concurrency.d.ts +13 -11
  39. package/dist/access-recall-concurrency.js +41 -28
  40. package/dist/access-recall-response.d.ts +13 -11
  41. package/dist/access-recall-response.js +41 -28
  42. package/dist/access-recall-surface.d.ts +13 -11
  43. package/dist/access-recall-surface.js +41 -28
  44. package/dist/access-schema.d.ts +107 -90
  45. package/dist/access-schema.js +5 -3
  46. package/dist/{access-service-LbwWl05g.d.ts → access-service-Cqfk3dD1.d.ts} +89 -72
  47. package/dist/access-service-helpers.d.ts +13 -11
  48. package/dist/access-service.d.ts +13 -11
  49. package/dist/access-service.js +41 -28
  50. package/dist/access-surface-catalog.d.ts +13 -11
  51. package/dist/access-surface-catalog.js +45 -30
  52. package/dist/access-surface-catalog.js.map +1 -1
  53. package/dist/access-wearables-meetings-surface.d.ts +4 -3
  54. package/dist/action-confidence.d.ts +2 -1
  55. package/dist/active-memory-bridge.d.ts +2 -1
  56. package/dist/active-recall.d.ts +2 -1
  57. package/dist/active-recall.js +6 -5
  58. package/dist/active-recall.js.map +1 -1
  59. package/dist/adapters/index.js +4 -4
  60. package/dist/adapters/registry.js +2 -2
  61. package/dist/ambient-provenance.d.ts +2 -1
  62. package/dist/artifact-search.d.ts +2 -1
  63. package/dist/behavior-learner.d.ts +2 -1
  64. package/dist/behavior-signals.d.ts +2 -1
  65. package/dist/bootstrap.d.ts +10 -9
  66. package/dist/briefing-window.d.ts +3 -2
  67. package/dist/briefing.d.ts +3 -2
  68. package/dist/briefing.js +8 -8
  69. package/dist/buffer-surprise-report.d.ts +2 -1
  70. package/dist/buffer-turn-helpers.d.ts +2 -1
  71. package/dist/buffer.d.ts +3 -2
  72. package/dist/bulk-import/index.d.ts +4 -3
  73. package/dist/calibration.d.ts +2 -1
  74. package/dist/capabilities.d.ts +2 -1
  75. package/dist/{catalog-BmBXTtOs.d.ts → catalog-9X8WpZNO.d.ts} +1 -1
  76. package/dist/causal-behavior.d.ts +2 -1
  77. package/dist/causal-behavior.js +2 -2
  78. package/dist/causal-chain.js +2 -2
  79. package/dist/causal-consolidation.d.ts +2 -1
  80. package/dist/causal-consolidation.js +11 -11
  81. package/dist/causal-retrieval.js +2 -2
  82. package/dist/causal-trajectory-graph.d.ts +2 -1
  83. package/dist/causal-trajectory-graph.js +2 -2
  84. package/dist/causal-trajectory.js +1 -1
  85. package/dist/{chunk-DKZR56A3.js → chunk-227WJVPY.js} +2 -2
  86. package/dist/{chunk-RXS4SQ5S.js → chunk-2EHDPHMD.js} +2 -2
  87. package/dist/{chunk-ZPN6SSWA.js → chunk-2XJDAEAM.js} +2 -2
  88. package/dist/{chunk-J3JEW5CT.js → chunk-3GCK6ONU.js} +2 -2
  89. package/dist/{chunk-44HBCMOA.js → chunk-3ITTF7YH.js} +51 -51
  90. package/dist/{chunk-754GA2UE.js → chunk-3YKOFCKP.js} +11 -6
  91. package/dist/chunk-3YKOFCKP.js.map +1 -0
  92. package/dist/{chunk-GD7D7WP2.js → chunk-4UVDLNHQ.js} +2 -2
  93. package/dist/{chunk-IGUWU5BD.js → chunk-4WIKMOE3.js} +44 -22
  94. package/dist/chunk-4WIKMOE3.js.map +1 -0
  95. package/dist/{chunk-LVYO2HZJ.js → chunk-5HO3QBAD.js} +11 -6
  96. package/dist/chunk-5HO3QBAD.js.map +1 -0
  97. package/dist/{chunk-3QWF54M4.js → chunk-5P2KNFJZ.js} +149 -25
  98. package/dist/chunk-5P2KNFJZ.js.map +1 -0
  99. package/dist/{chunk-YVMTXBJJ.js → chunk-5YQ7RFSO.js} +2 -2
  100. package/dist/{chunk-4PJYD2L3.js → chunk-6TOWUN2R.js} +3 -3
  101. package/dist/{chunk-HINMCD7V.js → chunk-7NCUHD5U.js} +2 -2
  102. package/dist/{chunk-QHYSECIG.js → chunk-7ZMU4XQT.js} +2 -2
  103. package/dist/{chunk-GISV63M2.js → chunk-APZXA4WI.js} +2 -2
  104. package/dist/{chunk-2QSZNTDO.js → chunk-AU7Q3LSC.js} +4 -4
  105. package/dist/{chunk-G4MCAHMF.js → chunk-B75VCEX5.js} +5 -5
  106. package/dist/{chunk-DJZWNKFO.js → chunk-BE4Y6GK6.js} +2 -2
  107. package/dist/{chunk-E5WTGEWX.js → chunk-BEXFNGQ3.js} +3 -3
  108. package/dist/{chunk-SO73GYOZ.js → chunk-BFDOBESV.js} +2 -2
  109. package/dist/{chunk-OLT3YTDH.js → chunk-BIJAWZYW.js} +4 -4
  110. package/dist/{chunk-X5TGZAP2.js → chunk-BO4PWIJY.js} +3 -3
  111. package/dist/{chunk-JMAG7WZ7.js → chunk-BX6GW4KC.js} +2 -2
  112. package/dist/chunk-C5C7IJ4Q.js +27 -0
  113. package/dist/chunk-C5C7IJ4Q.js.map +1 -0
  114. package/dist/chunk-CC37E3QM.js +198 -0
  115. package/dist/chunk-CC37E3QM.js.map +1 -0
  116. package/dist/{chunk-X5PIDJ3L.js → chunk-DA4ZMCBU.js} +3 -3
  117. package/dist/{chunk-PEOFTEUC.js → chunk-DH3V7RCQ.js} +21 -13
  118. package/dist/chunk-DH3V7RCQ.js.map +1 -0
  119. package/dist/chunk-DXFG2VGN.js +50 -0
  120. package/dist/chunk-DXFG2VGN.js.map +1 -0
  121. package/dist/{chunk-4OFKZAJG.js → chunk-EAARGPWI.js} +2 -1
  122. package/dist/chunk-EAARGPWI.js.map +1 -0
  123. package/dist/{chunk-H6RSANGQ.js → chunk-ETZ7KKOS.js} +2 -2
  124. package/dist/{chunk-K4E3Y3ZX.js → chunk-G7VEQEMG.js} +2 -1
  125. package/dist/chunk-G7VEQEMG.js.map +1 -0
  126. package/dist/{chunk-SXQZMC7R.js → chunk-GR4C3FHT.js} +2 -2
  127. package/dist/{chunk-S6AHHQ6C.js → chunk-H5IIBGDM.js} +2 -2
  128. package/dist/{chunk-GFGQOZGG.js → chunk-HFRGCNFY.js} +10 -10
  129. package/dist/chunk-HRATODNO.js +28 -0
  130. package/dist/chunk-HRATODNO.js.map +1 -0
  131. package/dist/{chunk-MAG6M3B6.js → chunk-HTOWFFAI.js} +2 -2
  132. package/dist/chunk-HUSTM6PU.js +27 -0
  133. package/dist/chunk-HUSTM6PU.js.map +1 -0
  134. package/dist/{chunk-KAVQ5GYY.js → chunk-I4QAH4SY.js} +3 -3
  135. package/dist/{chunk-2MW3UQNX.js → chunk-I6DUKBUI.js} +2 -2
  136. package/dist/{chunk-VI637ILW.js → chunk-IN673LEP.js} +48 -15
  137. package/dist/chunk-IN673LEP.js.map +1 -0
  138. package/dist/{chunk-YHCBJULX.js → chunk-JGXMA6HL.js} +2 -2
  139. package/dist/{chunk-TA7UZZMW.js → chunk-JHTF22NQ.js} +2 -2
  140. package/dist/{chunk-ANN5VMHT.js → chunk-LDOQE34V.js} +2 -2
  141. package/dist/{chunk-MEW53VQJ.js → chunk-LDWIPYJ6.js} +7 -7
  142. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  143. package/dist/{chunk-H3HOC6UT.js → chunk-LF6SHWVV.js} +2 -2
  144. package/dist/{chunk-QGUFN25Q.js → chunk-LJAP4KSW.js} +2 -2
  145. package/dist/{chunk-JAU4MRKB.js → chunk-LJNLLNEM.js} +2 -2
  146. package/dist/{chunk-6C57JBJ3.js → chunk-LUDXSSTW.js} +2 -2
  147. package/dist/{chunk-YJPFTF57.js → chunk-LWBSEYW3.js} +6 -6
  148. package/dist/chunk-M6RORUO5.js +59 -0
  149. package/dist/chunk-M6RORUO5.js.map +1 -0
  150. package/dist/{chunk-PRK4WTPU.js → chunk-M7DGN6JZ.js} +3 -3
  151. package/dist/{chunk-EN75MUTO.js → chunk-MNH2GM4O.js} +5 -5
  152. package/dist/{chunk-LK4TOYPU.js → chunk-NF3NMAG7.js} +2 -2
  153. package/dist/{chunk-M5UJJUON.js → chunk-NHLEFBE2.js} +10 -2
  154. package/dist/chunk-NHLEFBE2.js.map +1 -0
  155. package/dist/chunk-NN5CQTAJ.js +42 -0
  156. package/dist/chunk-NN5CQTAJ.js.map +1 -0
  157. package/dist/{chunk-VGTXHTWU.js → chunk-OASGWNYL.js} +2 -2
  158. package/dist/chunk-OEDW4ER7.js +62 -0
  159. package/dist/chunk-OEDW4ER7.js.map +1 -0
  160. package/dist/{chunk-C2JCVZWX.js → chunk-OLBZ2WGG.js} +2 -2
  161. package/dist/{chunk-Z3SQEEB6.js → chunk-OUKBMQ2O.js} +2 -2
  162. package/dist/{chunk-XXW32OL7.js → chunk-OYV6RKPM.js} +1 -1
  163. package/dist/chunk-OYV6RKPM.js.map +1 -0
  164. package/dist/{chunk-2Z3DG5CQ.js → chunk-P6GKRT2H.js} +1 -1
  165. package/dist/{chunk-A3WMMQAH.js → chunk-P7LVYPIX.js} +3 -3
  166. package/dist/{chunk-26JWBSWD.js → chunk-PGCZLHRB.js} +11 -3
  167. package/dist/chunk-PGCZLHRB.js.map +1 -0
  168. package/dist/{chunk-Y3WMJAZ3.js → chunk-QRDSXR3V.js} +2 -2
  169. package/dist/{chunk-NDE7CH6C.js → chunk-QUVWFZOU.js} +2 -2
  170. package/dist/{chunk-M5GBTETG.js → chunk-R7FXPG4T.js} +2 -2
  171. package/dist/chunk-RF2SMMPP.js +37 -0
  172. package/dist/chunk-RF2SMMPP.js.map +1 -0
  173. package/dist/{chunk-X66BHMAU.js → chunk-RJ57OOCD.js} +2 -2
  174. package/dist/chunk-S5G2LAL7.js +354 -0
  175. package/dist/chunk-S5G2LAL7.js.map +1 -0
  176. package/dist/{chunk-VOPOPTZ7.js → chunk-TRLCMLX7.js} +2 -2
  177. package/dist/{chunk-KZMFU7YL.js → chunk-V3HUBF7T.js} +2 -2
  178. package/dist/{chunk-KLL5SPER.js → chunk-VHAKBUBD.js} +2 -2
  179. package/dist/{chunk-WF2WCZCR.js → chunk-VYD63IFH.js} +3 -3
  180. package/dist/chunk-VZIAVM72.js +49 -0
  181. package/dist/chunk-VZIAVM72.js.map +1 -0
  182. package/dist/chunk-WTWQA7BB.js +28 -0
  183. package/dist/chunk-WTWQA7BB.js.map +1 -0
  184. package/dist/{chunk-J55NAXDH.js → chunk-X4FIZAVQ.js} +82 -40
  185. package/dist/chunk-X4FIZAVQ.js.map +1 -0
  186. package/dist/{chunk-3FXXFLVK.js → chunk-XFPHV65N.js} +2 -2
  187. package/dist/{chunk-JCUG7AXZ.js → chunk-XJJYSX6F.js} +4 -4
  188. package/dist/{chunk-NAZROP6I.js → chunk-XMIAU4CO.js} +2 -2
  189. package/dist/{chunk-LHGIBXVX.js → chunk-XQGFIAG7.js} +2 -2
  190. package/dist/{chunk-5TBO7CDR.js → chunk-YSSAGB2O.js} +4 -23
  191. package/dist/chunk-YSSAGB2O.js.map +1 -0
  192. package/dist/{chunk-IWO4HEOL.js → chunk-YWN3GYI2.js} +2 -2
  193. package/dist/{chunk-IIO4C3YL.js → chunk-Z33VUMKY.js} +3 -3
  194. package/dist/{cli-Bvy4jdBu.d.ts → cli-Dk-lM_tI.d.ts} +5 -5
  195. package/dist/cli.d.ts +15 -13
  196. package/dist/cli.js +80 -68
  197. package/dist/coding/export-okf-codegraph.d.ts +2 -1
  198. package/dist/coding/export-okf-codegraph.js +8 -8
  199. package/dist/coding/pre-action-gate.d.ts +2 -1
  200. package/dist/coding/pre-action-gate.js +2 -2
  201. package/dist/compounding/engine.d.ts +3 -2
  202. package/dist/compounding/engine.js +10 -9
  203. package/dist/compounding/preference-consolidator.d.ts +2 -1
  204. package/dist/compression-optimizer.d.ts +2 -1
  205. package/dist/config.d.ts +2 -1
  206. package/dist/config.js +6 -5
  207. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  208. package/dist/connectors/codex-materialize-runner.js +8 -8
  209. package/dist/connectors/codex-materialize.d.ts +2 -1
  210. package/dist/connectors/index.d.ts +2 -1
  211. package/dist/connectors/index.js +10 -9
  212. package/dist/consolidation-provenance-check.d.ts +3 -2
  213. package/dist/consolidation-undo.d.ts +3 -2
  214. package/dist/contradiction/index.d.ts +4 -3
  215. package/dist/converge-config.d.ts +2 -1
  216. package/dist/convergence-refresh.d.ts +3 -2
  217. package/dist/convergence-refresh.js +10 -10
  218. package/dist/conversation-index/backend.d.ts +2 -1
  219. package/dist/conversation-index/backend.js +2 -2
  220. package/dist/conversation-index/chunker.d.ts +2 -1
  221. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  222. package/dist/conversation-index/indexer.d.ts +2 -1
  223. package/dist/conversation-index/search.d.ts +2 -1
  224. package/dist/corpus-watermark.d.ts +2 -1
  225. package/dist/corpus-watermark.js +10 -10
  226. package/dist/cross-lingual-recall.d.ts +2 -1
  227. package/dist/day-summary.d.ts +2 -1
  228. package/dist/deep-recall-config.d.ts +32 -0
  229. package/dist/deep-recall-config.js +12 -0
  230. package/dist/deep-recall-http-glue.d.ts +170 -0
  231. package/dist/deep-recall-http-glue.js +31 -0
  232. package/dist/deep-recall-http-glue.js.map +1 -0
  233. package/dist/deep-recall-mcp-tools.d.ts +144 -0
  234. package/dist/deep-recall-mcp-tools.js +8 -0
  235. package/dist/deep-recall-mcp-tools.js.map +1 -0
  236. package/dist/deep-recall-policy-llm.d.ts +37 -0
  237. package/dist/deep-recall-policy-llm.js +19 -0
  238. package/dist/deep-recall-policy-llm.js.map +1 -0
  239. package/dist/deep-recall-renderer.d.ts +16 -0
  240. package/dist/deep-recall-renderer.js +8 -0
  241. package/dist/deep-recall-renderer.js.map +1 -0
  242. package/dist/deep-recall-seeds.d.ts +83 -0
  243. package/dist/deep-recall-seeds.js +8 -0
  244. package/dist/deep-recall-seeds.js.map +1 -0
  245. package/dist/deep-recall.d.ts +97 -0
  246. package/dist/deep-recall.js +13 -0
  247. package/dist/deep-recall.js.map +1 -0
  248. package/dist/delinearize.d.ts +2 -1
  249. package/dist/dependency-propagation-config.d.ts +2 -1
  250. package/dist/{dependency-propagation-delivery-BC3bCEet.d.ts → dependency-propagation-delivery-BZGUecZf.d.ts} +1 -1
  251. package/dist/direct-answer-wiring.d.ts +2 -1
  252. package/dist/direct-answer.d.ts +2 -1
  253. package/dist/embedding-fallback.d.ts +2 -1
  254. package/dist/enrichment/index.d.ts +2 -1
  255. package/dist/entity-origin-fields.d.ts +2 -1
  256. package/dist/entity-retrieval.d.ts +3 -2
  257. package/dist/entity-retrieval.js +8 -8
  258. package/dist/entity-schema.d.ts +2 -1
  259. package/dist/episodic-context.d.ts +2 -1
  260. package/dist/eval-trajectory-contracts.d.ts +2 -1
  261. package/dist/eval-trajectory-store.d.ts +2 -1
  262. package/dist/eval-trajectory.d.ts +2 -1
  263. package/dist/explicit-capture.d.ts +10 -9
  264. package/dist/external-wiki-access.d.ts +13 -11
  265. package/dist/external-wiki-access.js +42 -29
  266. package/dist/external-wiki-collection-registration.d.ts +2 -1
  267. package/dist/external-wiki-collection.d.ts +2 -1
  268. package/dist/external-wiki-mcp-tools.d.ts +13 -11
  269. package/dist/extraction-error-classification.d.ts +2 -1
  270. package/dist/extraction-faithfulness.d.ts +2 -1
  271. package/dist/extraction-judge-telemetry.d.ts +2 -1
  272. package/dist/extraction-judge-training.d.ts +2 -1
  273. package/dist/extraction-judge.d.ts +2 -1
  274. package/dist/extraction-liveness.d.ts +2 -1
  275. package/dist/extraction-normalization.d.ts +2 -1
  276. package/dist/extraction-prompt.d.ts +2 -1
  277. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  278. package/dist/extraction-source-grounding.d.ts +2 -1
  279. package/dist/extraction.d.ts +2 -1
  280. package/dist/extraction.js +14 -13
  281. package/dist/fallback-llm.d.ts +2 -1
  282. package/dist/graph-dashboard-diff.d.ts +2 -1
  283. package/dist/graph-dashboard-key.d.ts +2 -1
  284. package/dist/graph-dashboard-parser.d.ts +2 -1
  285. package/dist/{graph-edge-decay-DGTBFALQ.js → graph-edge-decay-FXGELBFA.js} +4 -4
  286. package/dist/graph-edge-decay-FXGELBFA.js.map +1 -0
  287. package/dist/graph-edge-reinforcement.d.ts +2 -1
  288. package/dist/graph-path-reconstruction.d.ts +2 -1
  289. package/dist/graph-path-scoring.d.ts +2 -1
  290. package/dist/graph-snapshot.d.ts +2 -1
  291. package/dist/graph-snapshot.js +3 -3
  292. package/dist/graph.d.ts +2 -1
  293. package/dist/graph.js +2 -2
  294. package/dist/harmonic-construction.js +3 -3
  295. package/dist/harmonic-retrieval.d.ts +38 -2
  296. package/dist/harmonic-retrieval.js +12 -3
  297. package/dist/importance.d.ts +2 -1
  298. package/dist/importers/index.d.ts +2 -1
  299. package/dist/in-flight-reads.d.ts +2 -1
  300. package/dist/{index-D4hS9uxK.d.ts → index-B4iTvT-w.d.ts} +2 -2
  301. package/dist/index.d.ts +701 -699
  302. package/dist/index.js +118 -106
  303. package/dist/intent.d.ts +2 -1
  304. package/dist/lcm/engine.d.ts +2 -1
  305. package/dist/lcm/index.d.ts +2 -1
  306. package/dist/lcm/tools.d.ts +2 -1
  307. package/dist/lifecycle.d.ts +2 -1
  308. package/dist/live-connectors-runner.d.ts +2 -1
  309. package/dist/local-llm.d.ts +2 -1
  310. package/dist/local-model-endpoint.d.ts +2 -1
  311. package/dist/location/index.d.ts +4 -3
  312. package/dist/location/index.js +10 -10
  313. package/dist/maintenance/memory-governance.d.ts +2 -1
  314. package/dist/maintenance/memory-governance.js +8 -8
  315. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  316. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
  317. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  318. package/dist/maintenance/rebuild-memory-projection.js +9 -9
  319. package/dist/{maintenance-BRcc3Hx8.d.ts → maintenance-BBpNqEeJ.d.ts} +3 -3
  320. package/dist/mcp-memory-inspector-app.d.ts +13 -11
  321. package/dist/mcp-read-only-tools.js +1 -1
  322. package/dist/memory-action-policy.d.ts +2 -1
  323. package/dist/memory-cache.d.ts +2 -1
  324. package/dist/memory-controller.d.ts +2 -1
  325. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  326. package/dist/memory-projection-store.d.ts +2 -1
  327. package/dist/memory-provenance.d.ts +2 -1
  328. package/dist/memory-snapshot.d.ts +2 -1
  329. package/dist/memory-subject-cli.d.ts +13 -11
  330. package/dist/memory-subject.d.ts +13 -11
  331. package/dist/memory-worth-outcomes.d.ts +3 -2
  332. package/dist/models-json.d.ts +2 -1
  333. package/dist/namespaces/migrate.d.ts +4 -3
  334. package/dist/namespaces/migrate.js +9 -9
  335. package/dist/namespaces/principal.d.ts +2 -1
  336. package/dist/namespaces/search.d.ts +2 -1
  337. package/dist/namespaces/search.js +4 -4
  338. package/dist/namespaces/storage.d.ts +4 -3
  339. package/dist/namespaces/storage.js +8 -8
  340. package/dist/native-knowledge.d.ts +2 -1
  341. package/dist/offline-sync-impression-drain.d.ts +2 -1
  342. package/dist/offline-sync.js +2 -2
  343. package/dist/operator-doctor-corpus.d.ts +2 -1
  344. package/dist/operator-doctor-corpus.js +11 -11
  345. package/dist/operator-doctor-replica.d.ts +2 -1
  346. package/dist/operator-toolkit.d.ts +4 -3
  347. package/dist/operator-toolkit.js +24 -23
  348. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  349. package/dist/orchestration/maintenance.d.ts +5 -4
  350. package/dist/orchestration/maintenance.js +16 -16
  351. package/dist/{orchestrator-Btq9lzAN.d.ts → orchestrator-DglY1H0w.d.ts} +8 -8
  352. package/dist/orchestrator.d.ts +10 -9
  353. package/dist/orchestrator.js +101 -89
  354. package/dist/patterns-cli.d.ts +2 -1
  355. package/dist/{pipeline-CZoNdFb5.d.ts → pipeline-C7qRsy6g.d.ts} +1 -1
  356. package/dist/policy-runtime.d.ts +2 -1
  357. package/dist/proactive-contention.d.ts +2 -1
  358. package/dist/provenance.d.ts +2 -1
  359. package/dist/{public-http-2MyshWxl.d.ts → public-http-CPpCsi35.d.ts} +1 -1
  360. package/dist/{qmd-VIjSCKIE.d.ts → qmd-YRLTa3AE.d.ts} +1 -1
  361. package/dist/qmd-preflight.d.ts +3 -2
  362. package/dist/qmd-recall-cache.d.ts +2 -1
  363. package/dist/qmd.d.ts +3 -2
  364. package/dist/recall-concurrency-config.d.ts +2 -1
  365. package/dist/recall-deep-expand-select.js +4 -44
  366. package/dist/recall-deep-expand-select.js.map +1 -1
  367. package/dist/recall-deep-frontier.js +4 -23
  368. package/dist/recall-deep-frontier.js.map +1 -1
  369. package/dist/recall-deep-rewrite.js +4 -23
  370. package/dist/recall-deep-rewrite.js.map +1 -1
  371. package/dist/recall-disclosure-escalation.d.ts +2 -1
  372. package/dist/recall-explain-renderer.d.ts +2 -1
  373. package/dist/recall-explain-renderer.js +3 -3
  374. package/dist/recall-memory-map.d.ts +2 -1
  375. package/dist/recall-navigate-access.d.ts +2 -1
  376. package/dist/recall-navigate-access.js +2 -2
  377. package/dist/recall-navigate-disclosure.d.ts +2 -1
  378. package/dist/recall-navigate-disclosure.js +1 -1
  379. package/dist/recall-navigate.d.ts +2 -1
  380. package/dist/recall-navigate.js +2 -2
  381. package/dist/recall-planner-llm.d.ts +2 -1
  382. package/dist/recall-state.d.ts +2 -1
  383. package/dist/recall-tag-filter.d.ts +2 -1
  384. package/dist/recall-timings.d.ts +2 -1
  385. package/dist/recall-xray-cli.d.ts +2 -1
  386. package/dist/recall-xray-cli.js +4 -4
  387. package/dist/recall-xray-renderer.d.ts +2 -1
  388. package/dist/recall-xray-renderer.js +3 -3
  389. package/dist/recall-xray.d.ts +2 -1
  390. package/dist/recall-xray.js +2 -2
  391. package/dist/reconcile/cursor.d.ts +2 -1
  392. package/dist/reconcile/manifest.d.ts +2 -1
  393. package/dist/reconcile/plan.d.ts +2 -1
  394. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  395. package/dist/replay/normalizers/claude.d.ts +2 -1
  396. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  397. package/dist/replay/normalizers/shared.d.ts +2 -1
  398. package/dist/replay/runner.d.ts +2 -1
  399. package/dist/replay/types.d.ts +2 -1
  400. package/dist/replica-divergence.d.ts +2 -1
  401. package/dist/replica-peers-config.d.ts +2 -1
  402. package/dist/resolve-auth-token.d.ts +2 -1
  403. package/dist/resume-bundles.js +7 -6
  404. package/dist/retrieval-agents.d.ts +3 -2
  405. package/dist/retrieval-tiers.d.ts +2 -1
  406. package/dist/routing/engine.d.ts +2 -1
  407. package/dist/routing/store.d.ts +2 -1
  408. package/dist/runtime/http-transport.d.ts +4 -0
  409. package/dist/runtime/http-transport.js +10 -0
  410. package/dist/runtime/http-transport.js.map +1 -0
  411. package/dist/salvage-envelope.d.ts +2 -1
  412. package/dist/schemas.d.ts +176 -176
  413. package/dist/{scope-profiles-DqbxQXIS.d.ts → scope-profiles-BVvqVzJX.d.ts} +1 -1
  414. package/dist/search/embed-helper.d.ts +2 -1
  415. package/dist/search/factory.d.ts +2 -1
  416. package/dist/search/factory.js +3 -3
  417. package/dist/search/index.d.ts +2 -1
  418. package/dist/search/index.js +3 -3
  419. package/dist/search/lancedb-backend.d.ts +2 -1
  420. package/dist/search/meilisearch-backend.d.ts +2 -1
  421. package/dist/search/noop-backend.d.ts +2 -1
  422. package/dist/search/orama-backend.d.ts +2 -1
  423. package/dist/search/port.d.ts +2 -1
  424. package/dist/search/remote-backend.d.ts +2 -1
  425. package/dist/{semantic-consolidation-DW3rEUoW.d.ts → semantic-consolidation-BzCI6Kuu.d.ts} +1 -1
  426. package/dist/semantic-consolidation.d.ts +3 -2
  427. package/dist/semantic-consolidation.js +9 -9
  428. package/dist/semantic-rule-promotion.js +8 -8
  429. package/dist/semantic-rule-verifier.d.ts +2 -1
  430. package/dist/semantic-rule-verifier.js +8 -8
  431. package/dist/{service-B2vJU_Bx.d.ts → service-DQ3Gscy5.d.ts} +2 -2
  432. package/dist/session-observer-bands.d.ts +2 -1
  433. package/dist/session-observer-state.d.ts +2 -1
  434. package/dist/shared-context/manager.d.ts +43 -7
  435. package/dist/shared-context/manager.js +2 -1
  436. package/dist/signal.d.ts +2 -1
  437. package/dist/source-agent-qualifier.d.ts +2 -1
  438. package/dist/source-agent-qualifier.js +12 -11
  439. package/dist/standup/build.js +8 -8
  440. package/dist/{storage-6fn7BPmb.d.ts → storage-DmTbQdD0.d.ts} +1 -1
  441. package/dist/storage.d.ts +3 -2
  442. package/dist/storage.js +7 -7
  443. package/dist/subject-config.d.ts +2 -1
  444. package/dist/summarizer.d.ts +2 -1
  445. package/dist/summary-snapshot.d.ts +2 -1
  446. package/dist/support-passport/index.d.ts +16 -14
  447. package/dist/support-passport/index.js +44 -31
  448. package/dist/temporal-supersession.d.ts +3 -2
  449. package/dist/temporal-timeline-recall.d.ts +2 -1
  450. package/dist/temporal-validity.d.ts +2 -1
  451. package/dist/threading.d.ts +2 -1
  452. package/dist/tier-migration.d.ts +3 -2
  453. package/dist/tier-routing.d.ts +2 -1
  454. package/dist/topics.d.ts +2 -1
  455. package/dist/transcript.d.ts +2 -1
  456. package/dist/transfer/export-okf.d.ts +2 -1
  457. package/dist/transfer/export-okf.js +9 -9
  458. package/dist/transfer/types.d.ts +78 -78
  459. package/dist/trust-score-stage.d.ts +2 -1
  460. package/dist/trust-score.d.ts +2 -1
  461. package/dist/{types-eM7QIcX2.d.ts → types-CLRTESSD.d.ts} +3 -1
  462. package/dist/types.d.ts +2 -1
  463. package/dist/types.js +1 -1
  464. package/dist/utility-runtime.d.ts +2 -1
  465. package/dist/verified-recall.js +8 -8
  466. package/dist/who-knows-cli.d.ts +13 -11
  467. package/dist/who-knows-cli.js +9 -9
  468. package/dist/who-knows.d.ts +13 -11
  469. package/dist/who-knows.js +8 -8
  470. package/dist/write-envelope.d.ts +2 -1
  471. package/package.json +12 -2
  472. package/src/access-boundary.ts +1 -0
  473. package/src/access-http.ts +5 -5
  474. package/src/access-mcp-output-schemas.ts +1 -0
  475. package/src/access-mcp.ts +3 -3
  476. package/src/access-operations-batch.ts +3 -1
  477. package/src/access-schema.ts +12 -0
  478. package/src/access-service.ts +162 -5
  479. package/src/access-surface-catalog.ts +2 -0
  480. package/src/cli/deep-recall-commands.ts +60 -0
  481. package/src/cli.ts +2 -2
  482. package/src/config.test.ts +19 -0
  483. package/src/config.ts +7 -0
  484. package/src/deep-recall-config.ts +83 -0
  485. package/src/deep-recall-http-glue.ts +75 -0
  486. package/src/deep-recall-mcp-tools.ts +33 -0
  487. package/src/deep-recall-policy-llm.ts +65 -0
  488. package/src/deep-recall-renderer.ts +41 -0
  489. package/src/deep-recall-seeds.ts +134 -0
  490. package/src/deep-recall-surface.test.ts +902 -0
  491. package/src/deep-recall.test.ts +348 -0
  492. package/src/deep-recall.ts +572 -0
  493. package/src/harmonic-retrieval.ts +78 -25
  494. package/src/mcp-read-only-tools.ts +1 -0
  495. package/src/shared-context/envelope-at.test.ts +23 -0
  496. package/src/shared-context/envelope-at.ts +12 -6
  497. package/src/shared-context/envelope-io.ts +184 -0
  498. package/src/shared-context/envelope-wiring.test.ts +193 -0
  499. package/src/shared-context/governance.ts +28 -9
  500. package/src/shared-context/iso-instant.ts +43 -0
  501. package/src/shared-context/manager.ts +74 -15
  502. package/src/shared-context/provenance.ts +3 -26
  503. package/src/shared-context/write-origin.test.ts +145 -0
  504. package/src/types.ts +3 -1
  505. package/dist/chunk-26JWBSWD.js.map +0 -1
  506. package/dist/chunk-3QWF54M4.js.map +0 -1
  507. package/dist/chunk-4OFKZAJG.js.map +0 -1
  508. package/dist/chunk-5TBO7CDR.js.map +0 -1
  509. package/dist/chunk-754GA2UE.js.map +0 -1
  510. package/dist/chunk-IGUWU5BD.js.map +0 -1
  511. package/dist/chunk-J55NAXDH.js.map +0 -1
  512. package/dist/chunk-K4E3Y3ZX.js.map +0 -1
  513. package/dist/chunk-LVYO2HZJ.js.map +0 -1
  514. package/dist/chunk-M5UJJUON.js.map +0 -1
  515. package/dist/chunk-PEOFTEUC.js.map +0 -1
  516. package/dist/chunk-VI637ILW.js.map +0 -1
  517. package/dist/chunk-XXW32OL7.js.map +0 -1
  518. /package/dist/{chunk-DKZR56A3.js.map → chunk-227WJVPY.js.map} +0 -0
  519. /package/dist/{chunk-RXS4SQ5S.js.map → chunk-2EHDPHMD.js.map} +0 -0
  520. /package/dist/{chunk-ZPN6SSWA.js.map → chunk-2XJDAEAM.js.map} +0 -0
  521. /package/dist/{chunk-J3JEW5CT.js.map → chunk-3GCK6ONU.js.map} +0 -0
  522. /package/dist/{chunk-44HBCMOA.js.map → chunk-3ITTF7YH.js.map} +0 -0
  523. /package/dist/{chunk-GD7D7WP2.js.map → chunk-4UVDLNHQ.js.map} +0 -0
  524. /package/dist/{chunk-YVMTXBJJ.js.map → chunk-5YQ7RFSO.js.map} +0 -0
  525. /package/dist/{chunk-4PJYD2L3.js.map → chunk-6TOWUN2R.js.map} +0 -0
  526. /package/dist/{chunk-HINMCD7V.js.map → chunk-7NCUHD5U.js.map} +0 -0
  527. /package/dist/{chunk-QHYSECIG.js.map → chunk-7ZMU4XQT.js.map} +0 -0
  528. /package/dist/{chunk-GISV63M2.js.map → chunk-APZXA4WI.js.map} +0 -0
  529. /package/dist/{chunk-2QSZNTDO.js.map → chunk-AU7Q3LSC.js.map} +0 -0
  530. /package/dist/{chunk-G4MCAHMF.js.map → chunk-B75VCEX5.js.map} +0 -0
  531. /package/dist/{chunk-DJZWNKFO.js.map → chunk-BE4Y6GK6.js.map} +0 -0
  532. /package/dist/{chunk-E5WTGEWX.js.map → chunk-BEXFNGQ3.js.map} +0 -0
  533. /package/dist/{chunk-SO73GYOZ.js.map → chunk-BFDOBESV.js.map} +0 -0
  534. /package/dist/{chunk-OLT3YTDH.js.map → chunk-BIJAWZYW.js.map} +0 -0
  535. /package/dist/{chunk-X5TGZAP2.js.map → chunk-BO4PWIJY.js.map} +0 -0
  536. /package/dist/{chunk-JMAG7WZ7.js.map → chunk-BX6GW4KC.js.map} +0 -0
  537. /package/dist/{chunk-X5PIDJ3L.js.map → chunk-DA4ZMCBU.js.map} +0 -0
  538. /package/dist/{chunk-H6RSANGQ.js.map → chunk-ETZ7KKOS.js.map} +0 -0
  539. /package/dist/{chunk-SXQZMC7R.js.map → chunk-GR4C3FHT.js.map} +0 -0
  540. /package/dist/{chunk-S6AHHQ6C.js.map → chunk-H5IIBGDM.js.map} +0 -0
  541. /package/dist/{chunk-GFGQOZGG.js.map → chunk-HFRGCNFY.js.map} +0 -0
  542. /package/dist/{chunk-MAG6M3B6.js.map → chunk-HTOWFFAI.js.map} +0 -0
  543. /package/dist/{chunk-KAVQ5GYY.js.map → chunk-I4QAH4SY.js.map} +0 -0
  544. /package/dist/{chunk-2MW3UQNX.js.map → chunk-I6DUKBUI.js.map} +0 -0
  545. /package/dist/{chunk-YHCBJULX.js.map → chunk-JGXMA6HL.js.map} +0 -0
  546. /package/dist/{chunk-TA7UZZMW.js.map → chunk-JHTF22NQ.js.map} +0 -0
  547. /package/dist/{chunk-ANN5VMHT.js.map → chunk-LDOQE34V.js.map} +0 -0
  548. /package/dist/{chunk-MEW53VQJ.js.map → chunk-LDWIPYJ6.js.map} +0 -0
  549. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  550. /package/dist/{chunk-H3HOC6UT.js.map → chunk-LF6SHWVV.js.map} +0 -0
  551. /package/dist/{chunk-QGUFN25Q.js.map → chunk-LJAP4KSW.js.map} +0 -0
  552. /package/dist/{chunk-JAU4MRKB.js.map → chunk-LJNLLNEM.js.map} +0 -0
  553. /package/dist/{chunk-6C57JBJ3.js.map → chunk-LUDXSSTW.js.map} +0 -0
  554. /package/dist/{chunk-YJPFTF57.js.map → chunk-LWBSEYW3.js.map} +0 -0
  555. /package/dist/{chunk-PRK4WTPU.js.map → chunk-M7DGN6JZ.js.map} +0 -0
  556. /package/dist/{chunk-EN75MUTO.js.map → chunk-MNH2GM4O.js.map} +0 -0
  557. /package/dist/{chunk-LK4TOYPU.js.map → chunk-NF3NMAG7.js.map} +0 -0
  558. /package/dist/{chunk-VGTXHTWU.js.map → chunk-OASGWNYL.js.map} +0 -0
  559. /package/dist/{chunk-C2JCVZWX.js.map → chunk-OLBZ2WGG.js.map} +0 -0
  560. /package/dist/{chunk-Z3SQEEB6.js.map → chunk-OUKBMQ2O.js.map} +0 -0
  561. /package/dist/{chunk-2Z3DG5CQ.js.map → chunk-P6GKRT2H.js.map} +0 -0
  562. /package/dist/{chunk-A3WMMQAH.js.map → chunk-P7LVYPIX.js.map} +0 -0
  563. /package/dist/{chunk-Y3WMJAZ3.js.map → chunk-QRDSXR3V.js.map} +0 -0
  564. /package/dist/{chunk-NDE7CH6C.js.map → chunk-QUVWFZOU.js.map} +0 -0
  565. /package/dist/{chunk-M5GBTETG.js.map → chunk-R7FXPG4T.js.map} +0 -0
  566. /package/dist/{chunk-X66BHMAU.js.map → chunk-RJ57OOCD.js.map} +0 -0
  567. /package/dist/{chunk-VOPOPTZ7.js.map → chunk-TRLCMLX7.js.map} +0 -0
  568. /package/dist/{chunk-KZMFU7YL.js.map → chunk-V3HUBF7T.js.map} +0 -0
  569. /package/dist/{chunk-KLL5SPER.js.map → chunk-VHAKBUBD.js.map} +0 -0
  570. /package/dist/{chunk-WF2WCZCR.js.map → chunk-VYD63IFH.js.map} +0 -0
  571. /package/dist/{chunk-3FXXFLVK.js.map → chunk-XFPHV65N.js.map} +0 -0
  572. /package/dist/{chunk-JCUG7AXZ.js.map → chunk-XJJYSX6F.js.map} +0 -0
  573. /package/dist/{chunk-NAZROP6I.js.map → chunk-XMIAU4CO.js.map} +0 -0
  574. /package/dist/{chunk-LHGIBXVX.js.map → chunk-XQGFIAG7.js.map} +0 -0
  575. /package/dist/{chunk-IWO4HEOL.js.map → chunk-YWN3GYI2.js.map} +0 -0
  576. /package/dist/{chunk-IIO4C3YL.js.map → chunk-Z33VUMKY.js.map} +0 -0
  577. /package/dist/{graph-edge-decay-DGTBFALQ.js.map → deep-recall-config.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -7,20 +7,20 @@ export { resolveRemnicConfigRecord } from './config-record.js';
7
7
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
8
8
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
9
9
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
10
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-Btq9lzAN.js';
10
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DglY1H0w.js';
11
11
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
12
12
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
13
13
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
14
- import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-D4hS9uxK.js';
15
- export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-D4hS9uxK.js';
14
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-B4iTvT-w.js';
15
+ export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-B4iTvT-w.js';
16
16
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
17
17
  export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisLineReceipt, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
18
18
  export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
19
19
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
20
20
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
21
21
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
22
- import { S as StorageManager, a as MeetingRecordStore } from './storage-6fn7BPmb.js';
23
- 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-6fn7BPmb.js';
22
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-DmTbQdD0.js';
23
+ 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-DmTbQdD0.js';
24
24
  import { SealedMemoryEnvelope } from './write-envelope.js';
25
25
  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';
26
26
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -29,13 +29,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
29
29
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
30
30
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
31
31
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
32
- import { C as CodingContext, bw as CodingModeConfig, aW as FusionConversationInput, bx as FusedSpeaker, by as FusedSegment, bz as FusedDisagreement, bA as FusionOptions, aY as WearableConversation, bB as FusionDayResult, P as PluginConfig, bC as ParsedSkillBundle, Z as SkillBundle, bD as MemoryDriftState, bE as DriftDetectionConfig, bF as CodingKnowledgeConfig, ax as SubjectGuardMode, y as MemoryCategory, bG as WearableCleanupSettings, bH as WearableFusionConfig, aZ as WearableSourceSettings, b1 as WearablesConfig, b0 as WearableSourceConnector, bI as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bJ as WearableDayTranscriptMeta, b4 as WearableDayTranscript, aN as ActivitySnapshot, bK as ActivityDayMeta, bL as ActivityDayDigest, aQ as ActivitySourceClient, bM as ActivitySourceCheck, bN as ActivitySnapshotPage, aO as ActivityConfig, bO as ActivityTimelineQaConfig, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bP as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bQ as MeetingAudioWindow, bR as MeetingAppSpan } from './types-eM7QIcX2.js';
33
- export { bS as ACTION_GATE_DEFAULTS, bT as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bU as ActionGateAdvisory, bV as ActionGateAuditRecord, bW as ActionGateAuditSink, bX as ActionGateCandidate, bY as ActionGateCandidateQuery, bZ as ActionGateCandidateSource, b_ as ActionGateConfig, b$ as ActionGateDecision, c0 as ActionGateRequest, c1 as ActionGateService, c2 as ActionGateServiceDependencies, c3 as ActionGateSourceResult, c4 as ActionGateStatus, c5 as ActivityExtractionMode, aP as ActivitySourceConfig, c6 as ActivityTimelineConfig, c7 as ActivityTimelineJournalConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, c8 as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, c9 as BriefingWindow, aa as BufferSurpriseEvent, ca as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, cb as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, cc as CodexCompatConfig, bu as ConsolidationObservation, cd as DEFAULT_RECALL_DISCLOSURE, ce as DRIFT_DETECTION_DEFAULTS, cf as DisagreementKind, cg as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, ch as FailureMemorySourceDependencies, ci as FusedContribution, cj as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, ck as FusedSegmentProvenance, b5 as FusedWearableConversation, cl as FusionSegmentInput, G as GatewayConfig, cm as ImportSourceRole, ab as ImportTurn, cn as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, co as MeetingScreenContextEvent, cp as MeetingSummaryMode, ay as MemoryActionEligibilityContext, cq as MemoryActionEligibilitySource, ai as MemoryActionType, cr as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cs as MemoryObservation, ct as MemoryScope, cu as NormalizedActionIntent, cv as PRE_ACTION_FINGERPRINT_VERSION, cw as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cx as PRE_ACTION_WARNING_VERSION, cy as PreActionFailureGate, cz as PreActionGateDependencies, cA as PreActionGateRequest, cB as PreActionGateResult, cC as PreActionGateStatus, cD as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cE as RecallDriftAnnotation, cF as SKILL_FILE_NAME, u as SecretRef, cG as SegmentPickReason, cH as SkillProjectionConfig, cI as WearableAuthCheck, cJ as WearableFetchOptions, cK as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cL as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cM as WearableTranscriptSegment, cN as actionTermsFor, cO as buildProcedureMarkdownBody, cP as createFailureMemoryCandidateSource, cQ as createTrajectoryCandidateSource, cR as isFailureClassMemory, cS as isImportRole, cT as isRecallDisclosure, cU as normalizeActionIntent, cV as parseActionGateConfig, cW as parseDriftDetectionConfig, cX as parseDriftProvenance, cY as parseIsoTimestamp, cZ as parseProcedureStepsFromBody, c_ as parseSkillBundle, c$ as parseSkillProjectionConfig, d0 as projectProceduresToSkills, d1 as renderSkillBundle, d2 as sanitizePayloadString, d3 as sanitizeSkillSlug, d4 as serializeDriftProvenance, d5 as validateImportTurn } from './types-eM7QIcX2.js';
32
+ import { C as CodingContext, bw as CodingModeConfig, aW as FusionConversationInput, bx as FusedSpeaker, by as FusedSegment, bz as FusedDisagreement, bA as FusionOptions, aY as WearableConversation, bB as FusionDayResult, P as PluginConfig, bC as ParsedSkillBundle, Z as SkillBundle, bD as MemoryDriftState, bE as DriftDetectionConfig, bF as CodingKnowledgeConfig, ax as SubjectGuardMode, y as MemoryCategory, bG as WearableCleanupSettings, bH as WearableFusionConfig, aZ as WearableSourceSettings, b1 as WearablesConfig, b0 as WearableSourceConnector, bI as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bJ as WearableDayTranscriptMeta, b4 as WearableDayTranscript, aN as ActivitySnapshot, bK as ActivityDayMeta, bL as ActivityDayDigest, aQ as ActivitySourceClient, bM as ActivitySourceCheck, bN as ActivitySnapshotPage, aO as ActivityConfig, bO as ActivityTimelineQaConfig, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bP as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bQ as MeetingAudioWindow, bR as MeetingAppSpan } from './types-CLRTESSD.js';
33
+ export { bS as ACTION_GATE_DEFAULTS, bT as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bU as ActionGateAdvisory, bV as ActionGateAuditRecord, bW as ActionGateAuditSink, bX as ActionGateCandidate, bY as ActionGateCandidateQuery, bZ as ActionGateCandidateSource, b_ as ActionGateConfig, b$ as ActionGateDecision, c0 as ActionGateRequest, c1 as ActionGateService, c2 as ActionGateServiceDependencies, c3 as ActionGateSourceResult, c4 as ActionGateStatus, c5 as ActivityExtractionMode, aP as ActivitySourceConfig, c6 as ActivityTimelineConfig, c7 as ActivityTimelineJournalConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, c8 as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, c9 as BriefingWindow, aa as BufferSurpriseEvent, ca as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, cb as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, cc as CodexCompatConfig, bu as ConsolidationObservation, cd as DEFAULT_RECALL_DISCLOSURE, ce as DRIFT_DETECTION_DEFAULTS, cf as DisagreementKind, cg as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, ch as FailureMemorySourceDependencies, ci as FusedContribution, cj as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, ck as FusedSegmentProvenance, b5 as FusedWearableConversation, cl as FusionSegmentInput, G as GatewayConfig, cm as ImportSourceRole, ab as ImportTurn, cn as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, co as MeetingScreenContextEvent, cp as MeetingSummaryMode, ay as MemoryActionEligibilityContext, cq as MemoryActionEligibilitySource, ai as MemoryActionType, cr as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cs as MemoryObservation, ct as MemoryScope, cu as NormalizedActionIntent, cv as PRE_ACTION_FINGERPRINT_VERSION, cw as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cx as PRE_ACTION_WARNING_VERSION, cy as PreActionFailureGate, cz as PreActionGateDependencies, cA as PreActionGateRequest, cB as PreActionGateResult, cC as PreActionGateStatus, cD as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cE as RecallDriftAnnotation, cF as SKILL_FILE_NAME, u as SecretRef, cG as SegmentPickReason, cH as SkillProjectionConfig, cI as WearableAuthCheck, cJ as WearableFetchOptions, cK as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cL as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cM as WearableTranscriptSegment, cN as actionTermsFor, cO as buildProcedureMarkdownBody, cP as createFailureMemoryCandidateSource, cQ as createTrajectoryCandidateSource, cR as isFailureClassMemory, cS as isImportRole, cT as isRecallDisclosure, cU as normalizeActionIntent, cV as parseActionGateConfig, cW as parseDriftDetectionConfig, cX as parseDriftProvenance, cY as parseIsoTimestamp, cZ as parseProcedureStepsFromBody, c_ as parseSkillBundle, c$ as parseSkillProjectionConfig, d0 as projectProceduresToSkills, d1 as renderSkillBundle, d2 as sanitizePayloadString, d3 as sanitizeSkillSlug, d4 as serializeDriftProvenance, d5 as validateImportTurn } from './types-CLRTESSD.js';
34
34
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
35
35
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
36
36
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
37
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-LbwWl05g.js';
38
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-LbwWl05g.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cqfk3dD1.js';
38
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-Cqfk3dD1.js';
39
39
  import { LocalLlmClient } from './local-llm.js';
40
40
  import { FallbackLlmClient } from './fallback-llm.js';
41
41
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -48,20 +48,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
48
48
  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';
49
49
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
50
50
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
51
- export { Q as QmdClient } from './qmd-VIjSCKIE.js';
51
+ export { Q as QmdClient } from './qmd-YRLTa3AE.js';
52
52
  export { LanceDbBackend } from './search/lancedb-backend.js';
53
53
  export { OramaBackend } from './search/orama-backend.js';
54
54
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
55
55
  export { buildEntityRecallSection } from './entity-retrieval.js';
56
56
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
57
- export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-BmBXTtOs.js';
57
+ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-9X8WpZNO.js';
58
58
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
59
59
  export { storagePathHash } from './storage-paths.js';
60
60
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
61
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bvy4jdBu.js';
61
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Dk-lM_tI.js';
62
62
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
63
63
  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';
64
- 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-2MyshWxl.js';
64
+ 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-CPpCsi35.js';
65
65
  import { z } from 'zod';
66
66
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
67
67
  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';
@@ -86,8 +86,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
86
86
  export { initLogger, log } from './logger.js';
87
87
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
88
88
  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';
89
- import { D as DiscoveredExtension } from './semantic-consolidation-DW3rEUoW.js';
90
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DW3rEUoW.js';
89
+ import { D as DiscoveredExtension } from './semantic-consolidation-BzCI6Kuu.js';
90
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-BzCI6Kuu.js';
91
91
  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';
92
92
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
93
93
  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';
@@ -102,11 +102,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
102
102
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
103
103
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
104
104
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
105
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CZoNdFb5.js';
106
- 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-B2vJU_Bx.js';
107
- 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-B2vJU_Bx.js';
108
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-BRcc3Hx8.js';
109
- 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-BRcc3Hx8.js';
105
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-C7qRsy6g.js';
106
+ 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-DQ3Gscy5.js';
107
+ 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-DQ3Gscy5.js';
108
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-BBpNqEeJ.js';
109
+ 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-BBpNqEeJ.js';
110
110
  import { SearchExecutionOptions } from './search/port.js';
111
111
  import { BetterSqlite3Database } from './runtime/better-sqlite.js';
112
112
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
@@ -124,7 +124,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
124
124
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
125
125
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
126
126
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
127
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-DqbxQXIS.js';
127
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-BVvqVzJX.js';
128
128
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
129
129
  export { BuildEvalTrajectoryReportOptions, EvalTrajectoryReader, EvalTrajectoryReaderResult, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader } from './eval-trajectory.js';
130
130
  export { ActiveContextAdapter, ActiveContextMessage, ActiveContextPlan, MemoryControllerActionFamily, MemoryControllerChoice, MemoryControllerConfig, MemoryControllerCoordinator, MemoryControllerDeps, MemoryControllerEvent, MemoryControllerEvidence, MemoryControllerEvidenceReport, MemoryControllerExecutors, MemoryControllerMode, MemoryControllerPairedSeedEvidence, MemoryControllerReceipt, MemoryControllerRecorder, MemoryControllerReportReader, MemoryControllerRunResult, MemoryControllerState, chooseAction, computeEvidenceReportHash, controllerConfigHash, evaluateActiveGates, hashControllerState, verifyEvidenceReport } from './memory-controller.js';
@@ -143,6 +143,7 @@ import './bounded-jsonl-state.js';
143
143
  import './operator-doctor-types.js';
144
144
  import './contradiction-config.js';
145
145
  import './graph-path-scoring-config.js';
146
+ import './deep-recall-config.js';
146
147
  import './objective-state.js';
147
148
  import './recall-state.js';
148
149
  import './utils/serialize-mutations.js';
@@ -179,7 +180,7 @@ import './conversation-index/chunker.js';
179
180
  import './conversation-index/backend.js';
180
181
  import './faiss-adapter-BHecI1fF.js';
181
182
  import './runtime/child-process.js';
182
- import './dependency-propagation-delivery-BC3bCEet.js';
183
+ import './dependency-propagation-delivery-BZGUecZf.js';
183
184
  import './namespaces/storage.js';
184
185
  import './threading.js';
185
186
  import './graph-444E-DrF.js';
@@ -199,7 +200,7 @@ import './profiling.js';
199
200
  import './schemas.js';
200
201
  import './extraction-error-classification.js';
201
202
  import 'node:stream';
202
- import './access-namespace-preflight-S8fhQcCo.js';
203
+ import './access-namespace-preflight-Cy0yPsaE.js';
203
204
  import './recall-explain-renderer.js';
204
205
  import './access-citation.js';
205
206
  import './access-health-types.js';
@@ -208,6 +209,7 @@ import 'node:async_hooks';
208
209
  import './replica-divergence.js';
209
210
  import './explicit-capture.js';
210
211
  import './access-wearables-meetings-surface.js';
212
+ import './deep-recall.js';
211
213
  import './graph-snapshot.js';
212
214
  import './access-offline-manifest.js';
213
215
  import './reconcile/manifest.js';
@@ -1231,15 +1233,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1231
1233
  locator: z.ZodOptional<z.ZodString>;
1232
1234
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1233
1235
  }, "strict", z.ZodTypeAny, {
1234
- id: string;
1236
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
1237
  label: string;
1236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1238
+ id: string;
1237
1239
  capture: "at_action" | "historical_lookup" | "fixture";
1238
1240
  locator?: string | undefined;
1239
1241
  }, {
1240
- id: string;
1242
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
1243
  label: string;
1242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1244
+ id: string;
1243
1245
  capture: "at_action" | "historical_lookup" | "fixture";
1244
1246
  locator?: string | undefined;
1245
1247
  }>;
@@ -1256,15 +1258,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1256
1258
  locator: z.ZodOptional<z.ZodString>;
1257
1259
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1258
1260
  }, "strict", z.ZodTypeAny, {
1259
- id: string;
1261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
1262
  label: string;
1261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
+ id: string;
1262
1264
  capture: "at_action" | "historical_lookup" | "fixture";
1263
1265
  locator?: string | undefined;
1264
1266
  }, {
1265
- id: string;
1267
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1268
  label: string;
1267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1269
+ id: string;
1268
1270
  capture: "at_action" | "historical_lookup" | "fixture";
1269
1271
  locator?: string | undefined;
1270
1272
  }>, "many">>;
@@ -1272,9 +1274,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1272
1274
  kind: "mission_started";
1273
1275
  title: string;
1274
1276
  evidence: {
1275
- id: string;
1277
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1276
1278
  label: string;
1277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1279
+ id: string;
1278
1280
  capture: "at_action" | "historical_lookup" | "fixture";
1279
1281
  locator?: string | undefined;
1280
1282
  }[];
@@ -1286,9 +1288,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1286
1288
  objective: string;
1287
1289
  runMode: "replay" | "fixture" | "live";
1288
1290
  evidence?: {
1289
- id: string;
1291
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1290
1292
  label: string;
1291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1293
+ id: string;
1292
1294
  capture: "at_action" | "historical_lookup" | "fixture";
1293
1295
  locator?: string | undefined;
1294
1296
  }[] | undefined;
@@ -1304,15 +1306,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1304
1306
  locator: z.ZodOptional<z.ZodString>;
1305
1307
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1306
1308
  }, "strict", z.ZodTypeAny, {
1307
- id: string;
1309
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
1310
  label: string;
1309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1311
+ id: string;
1310
1312
  capture: "at_action" | "historical_lookup" | "fixture";
1311
1313
  locator?: string | undefined;
1312
1314
  }, {
1313
- id: string;
1315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1316
  label: string;
1315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1317
+ id: string;
1316
1318
  capture: "at_action" | "historical_lookup" | "fixture";
1317
1319
  locator?: string | undefined;
1318
1320
  }>, "many">>;
@@ -1320,32 +1322,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1320
1322
  sessionId: z.ZodString;
1321
1323
  kind: z.ZodLiteral<"agent_status">;
1322
1324
  }, "strict", z.ZodTypeAny, {
1323
- label: string;
1324
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1325
1325
  kind: "agent_status";
1326
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1327
+ label: string;
1326
1328
  role: string;
1327
1329
  agentId: string;
1328
1330
  sessionId: string;
1329
1331
  evidence: {
1330
- id: string;
1332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
1333
  label: string;
1332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1334
+ id: string;
1333
1335
  capture: "at_action" | "historical_lookup" | "fixture";
1334
1336
  locator?: string | undefined;
1335
1337
  }[];
1336
1338
  detail?: string | undefined;
1337
1339
  }, {
1338
- label: string;
1339
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1340
1340
  kind: "agent_status";
1341
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1342
+ label: string;
1341
1343
  role: string;
1342
1344
  agentId: string;
1343
1345
  sessionId: string;
1344
1346
  detail?: string | undefined;
1345
1347
  evidence?: {
1346
- id: string;
1348
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
1349
  label: string;
1348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1350
+ id: string;
1349
1351
  capture: "at_action" | "historical_lookup" | "fixture";
1350
1352
  locator?: string | undefined;
1351
1353
  }[] | undefined;
@@ -1359,15 +1361,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1361
  locator: z.ZodOptional<z.ZodString>;
1360
1362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1361
1363
  }, "strict", z.ZodTypeAny, {
1362
- id: string;
1364
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1365
  label: string;
1364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1366
+ id: string;
1365
1367
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1368
  locator?: string | undefined;
1367
1369
  }, {
1368
- id: string;
1370
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1371
  label: string;
1370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1372
+ id: string;
1371
1373
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1374
  locator?: string | undefined;
1373
1375
  }>, "many">>;
@@ -1375,28 +1377,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1375
1377
  sessionId: z.ZodString;
1376
1378
  kind: z.ZodLiteral<"agent_output">;
1377
1379
  }, "strict", z.ZodTypeAny, {
1378
- summary: string;
1379
1380
  kind: "agent_output";
1381
+ summary: string;
1380
1382
  agentId: string;
1381
1383
  sessionId: string;
1382
1384
  evidence: {
1383
- id: string;
1385
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
1386
  label: string;
1385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1387
+ id: string;
1386
1388
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1389
  locator?: string | undefined;
1388
1390
  }[];
1389
1391
  outputId: string;
1390
1392
  }, {
1391
- summary: string;
1392
1393
  kind: "agent_output";
1394
+ summary: string;
1393
1395
  agentId: string;
1394
1396
  sessionId: string;
1395
1397
  outputId: string;
1396
1398
  evidence?: {
1397
- id: string;
1399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
1400
  label: string;
1399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1401
+ id: string;
1400
1402
  capture: "at_action" | "historical_lookup" | "fixture";
1401
1403
  locator?: string | undefined;
1402
1404
  }[] | undefined;
@@ -1412,15 +1414,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1412
1414
  locator: z.ZodOptional<z.ZodString>;
1413
1415
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1414
1416
  }, "strict", z.ZodTypeAny, {
1415
- id: string;
1417
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1418
  label: string;
1417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1419
+ id: string;
1418
1420
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1421
  locator?: string | undefined;
1420
1422
  }, {
1421
- id: string;
1423
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1424
  label: string;
1423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1425
+ id: string;
1424
1426
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1427
  locator?: string | undefined;
1426
1428
  }>, "many">>;
@@ -1433,9 +1435,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1433
1435
  statement: string;
1434
1436
  sessionId: string;
1435
1437
  evidence: {
1436
- id: string;
1438
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
1439
  label: string;
1438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1440
+ id: string;
1439
1441
  capture: "at_action" | "historical_lookup" | "fixture";
1440
1442
  locator?: string | undefined;
1441
1443
  }[];
@@ -1451,9 +1453,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1451
1453
  decisionId: string;
1452
1454
  confidence?: number | undefined;
1453
1455
  evidence?: {
1454
- id: string;
1456
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
1457
  label: string;
1456
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1458
+ id: string;
1457
1459
  capture: "at_action" | "historical_lookup" | "fixture";
1458
1460
  locator?: string | undefined;
1459
1461
  }[] | undefined;
@@ -1470,25 +1472,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1470
1472
  locator: z.ZodOptional<z.ZodString>;
1471
1473
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1472
1474
  }, "strict", z.ZodTypeAny, {
1473
- id: string;
1475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1476
  label: string;
1475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
+ id: string;
1476
1478
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1479
  locator?: string | undefined;
1478
1480
  }, {
1479
- id: string;
1481
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1482
  label: string;
1481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1483
+ id: string;
1482
1484
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1485
  locator?: string | undefined;
1484
1486
  }>, "many">>;
1485
1487
  }, "strict", z.ZodTypeAny, {
1486
- summary: string;
1487
1488
  kind: "conflict_detected";
1489
+ summary: string;
1488
1490
  evidence: {
1489
- id: string;
1491
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
1492
  label: string;
1491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1493
+ id: string;
1492
1494
  capture: "at_action" | "historical_lookup" | "fixture";
1493
1495
  locator?: string | undefined;
1494
1496
  }[];
@@ -1496,15 +1498,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1496
1498
  decisionIds: string[];
1497
1499
  agentIds: string[];
1498
1500
  }, {
1499
- summary: string;
1500
1501
  kind: "conflict_detected";
1502
+ summary: string;
1501
1503
  conflictId: string;
1502
1504
  decisionIds: string[];
1503
1505
  agentIds: string[];
1504
1506
  evidence?: {
1505
- id: string;
1507
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
1508
  label: string;
1507
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1509
+ id: string;
1508
1510
  capture: "at_action" | "historical_lookup" | "fixture";
1509
1511
  locator?: string | undefined;
1510
1512
  }[] | undefined;
@@ -1524,27 +1526,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1524
1526
  locator: z.ZodOptional<z.ZodString>;
1525
1527
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1526
1528
  }, "strict", z.ZodTypeAny, {
1527
- id: string;
1529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
1530
  label: string;
1529
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1531
+ id: string;
1530
1532
  capture: "at_action" | "historical_lookup" | "fixture";
1531
1533
  locator?: string | undefined;
1532
1534
  }, {
1533
- id: string;
1535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1536
  label: string;
1535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1537
+ id: string;
1536
1538
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1539
  locator?: string | undefined;
1538
1540
  }>, "many">>;
1539
1541
  }, "strict", z.ZodTypeAny, {
1542
+ kind: "test_result";
1540
1543
  summary: string;
1541
1544
  status: "error" | "failed" | "passed";
1542
- kind: "test_result";
1543
1545
  command: string;
1544
1546
  evidence: {
1545
- id: string;
1547
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1548
  label: string;
1547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1549
+ id: string;
1548
1550
  capture: "at_action" | "historical_lookup" | "fixture";
1549
1551
  locator?: string | undefined;
1550
1552
  }[];
@@ -1553,17 +1555,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1553
1555
  durationMs?: number | undefined;
1554
1556
  correctionId?: string | undefined;
1555
1557
  }, {
1558
+ kind: "test_result";
1556
1559
  summary: string;
1557
1560
  status: "error" | "failed" | "passed";
1558
- kind: "test_result";
1559
1561
  command: string;
1560
1562
  decisionId: string;
1561
1563
  testId: string;
1562
1564
  durationMs?: number | undefined;
1563
1565
  evidence?: {
1564
- id: string;
1566
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
1567
  label: string;
1566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1568
+ id: string;
1567
1569
  capture: "at_action" | "historical_lookup" | "fixture";
1568
1570
  locator?: string | undefined;
1569
1571
  }[] | undefined;
@@ -1584,15 +1586,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1584
1586
  locator: z.ZodOptional<z.ZodString>;
1585
1587
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1586
1588
  }, "strict", z.ZodTypeAny, {
1587
- id: string;
1589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1590
  label: string;
1589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1591
+ id: string;
1590
1592
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1593
  locator?: string | undefined;
1592
1594
  }, {
1593
- id: string;
1595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1596
  label: string;
1595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
+ id: string;
1596
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1599
  locator?: string | undefined;
1598
1600
  }>, "many">>;
@@ -1601,9 +1603,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1601
1603
  statement: string;
1602
1604
  rationale: string;
1603
1605
  evidence: {
1604
- id: string;
1606
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1605
1607
  label: string;
1606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1608
+ id: string;
1607
1609
  capture: "at_action" | "historical_lookup" | "fixture";
1608
1610
  locator?: string | undefined;
1609
1611
  }[];
@@ -1622,9 +1624,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1622
1624
  supersedesDecisionIds: string[];
1623
1625
  proposedBy: string;
1624
1626
  evidence?: {
1625
- id: string;
1627
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
1628
  label: string;
1627
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1629
+ id: string;
1628
1630
  capture: "at_action" | "historical_lookup" | "fixture";
1629
1631
  locator?: string | undefined;
1630
1632
  }[] | undefined;
@@ -1636,13 +1638,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1636
1638
  id: z.ZodString;
1637
1639
  label: z.ZodString;
1638
1640
  }, "strict", z.ZodTypeAny, {
1639
- id: string;
1640
- label: string;
1641
1641
  kind: "agent" | "human";
1642
- }, {
1643
- id: string;
1644
1642
  label: string;
1643
+ id: string;
1644
+ }, {
1645
1645
  kind: "agent" | "human";
1646
+ label: string;
1647
+ id: string;
1646
1648
  }>;
1647
1649
  note: z.ZodOptional<z.ZodString>;
1648
1650
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1652,47 +1654,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1652
1654
  locator: z.ZodOptional<z.ZodString>;
1653
1655
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1654
1656
  }, "strict", z.ZodTypeAny, {
1655
- id: string;
1657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1658
  label: string;
1657
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
+ id: string;
1658
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1659
1661
  locator?: string | undefined;
1660
1662
  }, {
1661
- id: string;
1663
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1664
  label: string;
1663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1665
+ id: string;
1664
1666
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1667
  locator?: string | undefined;
1666
1668
  }>, "many">>;
1667
1669
  }, "strict", z.ZodTypeAny, {
1668
1670
  kind: "correction_approved";
1669
1671
  evidence: {
1670
- id: string;
1672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1673
  label: string;
1672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1674
+ id: string;
1673
1675
  capture: "at_action" | "historical_lookup" | "fixture";
1674
1676
  locator?: string | undefined;
1675
1677
  }[];
1676
1678
  correctionId: string;
1677
1679
  approvedBy: {
1678
- id: string;
1679
- label: string;
1680
1680
  kind: "agent" | "human";
1681
+ label: string;
1682
+ id: string;
1681
1683
  };
1682
1684
  note?: string | undefined;
1683
1685
  }, {
1684
1686
  kind: "correction_approved";
1685
1687
  correctionId: string;
1686
1688
  approvedBy: {
1687
- id: string;
1688
- label: string;
1689
1689
  kind: "agent" | "human";
1690
+ label: string;
1691
+ id: string;
1690
1692
  };
1691
1693
  note?: string | undefined;
1692
1694
  evidence?: {
1693
- id: string;
1695
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
1696
  label: string;
1695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1697
+ id: string;
1696
1698
  capture: "at_action" | "historical_lookup" | "fixture";
1697
1699
  locator?: string | undefined;
1698
1700
  }[] | undefined;
@@ -1708,24 +1710,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1708
1710
  locator: z.ZodOptional<z.ZodString>;
1709
1711
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1710
1712
  }, "strict", z.ZodTypeAny, {
1711
- id: string;
1713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1714
  label: string;
1713
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
+ id: string;
1714
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1715
1717
  locator?: string | undefined;
1716
1718
  }, {
1717
- id: string;
1719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1720
  label: string;
1719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1721
+ id: string;
1720
1722
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1723
  locator?: string | undefined;
1722
1724
  }>, "many">>;
1723
1725
  }, "strict", z.ZodTypeAny, {
1724
1726
  kind: "decision_superseded";
1725
1727
  evidence: {
1726
- id: string;
1728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1729
  label: string;
1728
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1730
+ id: string;
1729
1731
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1732
  locator?: string | undefined;
1731
1733
  }[];
@@ -1738,9 +1740,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1738
1740
  correctionId: string;
1739
1741
  replacementDecisionId: string;
1740
1742
  evidence?: {
1741
- id: string;
1743
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
1744
  label: string;
1743
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1745
+ id: string;
1744
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1745
1747
  locator?: string | undefined;
1746
1748
  }[] | undefined;
@@ -1756,15 +1758,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1756
1758
  locator: z.ZodOptional<z.ZodString>;
1757
1759
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1758
1760
  }, "strict", z.ZodTypeAny, {
1759
- id: string;
1761
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1762
  label: string;
1761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1763
+ id: string;
1762
1764
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1765
  locator?: string | undefined;
1764
1766
  }, {
1765
- id: string;
1767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1768
  label: string;
1767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1769
+ id: string;
1768
1770
  capture: "at_action" | "historical_lookup" | "fixture";
1769
1771
  locator?: string | undefined;
1770
1772
  }>, "many">>;
@@ -1777,9 +1779,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1777
1779
  agentId: string;
1778
1780
  sessionId: string;
1779
1781
  evidence: {
1780
- id: string;
1782
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1783
  label: string;
1782
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1784
+ id: string;
1783
1785
  capture: "at_action" | "historical_lookup" | "fixture";
1784
1786
  locator?: string | undefined;
1785
1787
  }[];
@@ -1795,9 +1797,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1795
1797
  recallReceiptId: string;
1796
1798
  capturedAtAction: boolean;
1797
1799
  evidence?: {
1798
- id: string;
1800
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1801
  label: string;
1800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1802
+ id: string;
1801
1803
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1804
  locator?: string | undefined;
1803
1805
  }[] | undefined;
@@ -1813,15 +1815,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1813
1815
  locator: z.ZodOptional<z.ZodString>;
1814
1816
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1815
1817
  }, "strict", z.ZodTypeAny, {
1816
- id: string;
1818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
1819
  label: string;
1818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1820
+ id: string;
1819
1821
  capture: "at_action" | "historical_lookup" | "fixture";
1820
1822
  locator?: string | undefined;
1821
1823
  }, {
1822
- id: string;
1824
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1825
  label: string;
1824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1826
+ id: string;
1825
1827
  capture: "at_action" | "historical_lookup" | "fixture";
1826
1828
  locator?: string | undefined;
1827
1829
  }>, "many">>;
@@ -1833,9 +1835,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1833
1835
  agentId: string;
1834
1836
  sessionId: string;
1835
1837
  evidence: {
1836
- id: string;
1838
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
1839
  label: string;
1838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1840
+ id: string;
1839
1841
  capture: "at_action" | "historical_lookup" | "fixture";
1840
1842
  locator?: string | undefined;
1841
1843
  }[];
@@ -1852,9 +1854,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1852
1854
  recallReceiptId: string;
1853
1855
  staleDecisionAbsent: boolean;
1854
1856
  evidence?: {
1855
- id: string;
1857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
1858
  label: string;
1857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1859
+ id: string;
1858
1860
  capture: "at_action" | "historical_lookup" | "fixture";
1859
1861
  locator?: string | undefined;
1860
1862
  }[] | undefined;
@@ -1869,37 +1871,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1869
1871
  locator: z.ZodOptional<z.ZodString>;
1870
1872
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1871
1873
  }, "strict", z.ZodTypeAny, {
1872
- id: string;
1874
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1875
  label: string;
1874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1876
+ id: string;
1875
1877
  capture: "at_action" | "historical_lookup" | "fixture";
1876
1878
  locator?: string | undefined;
1877
1879
  }, {
1878
- id: string;
1880
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1881
  label: string;
1880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1882
+ id: string;
1881
1883
  capture: "at_action" | "historical_lookup" | "fixture";
1882
1884
  locator?: string | undefined;
1883
1885
  }>, "many">>;
1884
1886
  }, "strict", z.ZodTypeAny, {
1885
- summary: string;
1886
1887
  kind: "mission_completed";
1888
+ summary: string;
1887
1889
  outcome: "failed" | "recovered" | "inconclusive";
1888
1890
  evidence: {
1889
- id: string;
1891
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1890
1892
  label: string;
1891
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1893
+ id: string;
1892
1894
  capture: "at_action" | "historical_lookup" | "fixture";
1893
1895
  locator?: string | undefined;
1894
1896
  }[];
1895
1897
  }, {
1896
- summary: string;
1897
1898
  kind: "mission_completed";
1899
+ summary: string;
1898
1900
  outcome: "failed" | "recovered" | "inconclusive";
1899
1901
  evidence?: {
1900
- id: string;
1902
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1903
  label: string;
1902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1904
+ id: string;
1903
1905
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1906
  locator?: string | undefined;
1905
1907
  }[] | undefined;
@@ -1907,38 +1909,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1907
1909
  kind: "mission_started";
1908
1910
  title: string;
1909
1911
  evidence: {
1910
- id: string;
1912
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
1913
  label: string;
1912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1914
+ id: string;
1913
1915
  capture: "at_action" | "historical_lookup" | "fixture";
1914
1916
  locator?: string | undefined;
1915
1917
  }[];
1916
1918
  objective: string;
1917
1919
  runMode: "replay" | "fixture" | "live";
1918
1920
  } | {
1919
- label: string;
1920
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1921
1921
  kind: "agent_status";
1922
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1923
+ label: string;
1922
1924
  role: string;
1923
1925
  agentId: string;
1924
1926
  sessionId: string;
1925
1927
  evidence: {
1926
- id: string;
1928
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1929
  label: string;
1928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1930
+ id: string;
1929
1931
  capture: "at_action" | "historical_lookup" | "fixture";
1930
1932
  locator?: string | undefined;
1931
1933
  }[];
1932
1934
  detail?: string | undefined;
1933
1935
  } | {
1934
- summary: string;
1935
1936
  kind: "agent_output";
1937
+ summary: string;
1936
1938
  agentId: string;
1937
1939
  sessionId: string;
1938
1940
  evidence: {
1939
- id: string;
1941
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
1942
  label: string;
1941
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1943
+ id: string;
1942
1944
  capture: "at_action" | "historical_lookup" | "fixture";
1943
1945
  locator?: string | undefined;
1944
1946
  }[];
@@ -1949,9 +1951,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1949
1951
  statement: string;
1950
1952
  sessionId: string;
1951
1953
  evidence: {
1952
- id: string;
1954
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1955
  label: string;
1954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
+ id: string;
1955
1957
  capture: "at_action" | "historical_lookup" | "fixture";
1956
1958
  locator?: string | undefined;
1957
1959
  }[];
@@ -1959,12 +1961,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1959
1961
  decisionId: string;
1960
1962
  confidence?: number | undefined;
1961
1963
  } | {
1962
- summary: string;
1963
1964
  kind: "conflict_detected";
1965
+ summary: string;
1964
1966
  evidence: {
1965
- id: string;
1967
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
1968
  label: string;
1967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1969
+ id: string;
1968
1970
  capture: "at_action" | "historical_lookup" | "fixture";
1969
1971
  locator?: string | undefined;
1970
1972
  }[];
@@ -1972,14 +1974,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1972
1974
  decisionIds: string[];
1973
1975
  agentIds: string[];
1974
1976
  } | {
1977
+ kind: "test_result";
1975
1978
  summary: string;
1976
1979
  status: "error" | "failed" | "passed";
1977
- kind: "test_result";
1978
1980
  command: string;
1979
1981
  evidence: {
1980
- id: string;
1982
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1983
  label: string;
1982
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1984
+ id: string;
1983
1985
  capture: "at_action" | "historical_lookup" | "fixture";
1984
1986
  locator?: string | undefined;
1985
1987
  }[];
@@ -1992,9 +1994,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1992
1994
  statement: string;
1993
1995
  rationale: string;
1994
1996
  evidence: {
1995
- id: string;
1997
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
1998
  label: string;
1997
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1999
+ id: string;
1998
2000
  capture: "at_action" | "historical_lookup" | "fixture";
1999
2001
  locator?: string | undefined;
2000
2002
  }[];
@@ -2006,25 +2008,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2006
2008
  } | {
2007
2009
  kind: "correction_approved";
2008
2010
  evidence: {
2009
- id: string;
2011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2012
  label: string;
2011
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2013
+ id: string;
2012
2014
  capture: "at_action" | "historical_lookup" | "fixture";
2013
2015
  locator?: string | undefined;
2014
2016
  }[];
2015
2017
  correctionId: string;
2016
2018
  approvedBy: {
2017
- id: string;
2018
- label: string;
2019
2019
  kind: "agent" | "human";
2020
+ label: string;
2021
+ id: string;
2020
2022
  };
2021
2023
  note?: string | undefined;
2022
2024
  } | {
2023
2025
  kind: "decision_superseded";
2024
2026
  evidence: {
2025
- id: string;
2027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2026
2028
  label: string;
2027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
+ id: string;
2028
2030
  capture: "at_action" | "historical_lookup" | "fixture";
2029
2031
  locator?: string | undefined;
2030
2032
  }[];
@@ -2037,9 +2039,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2037
2039
  agentId: string;
2038
2040
  sessionId: string;
2039
2041
  evidence: {
2040
- id: string;
2042
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
2043
  label: string;
2042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2044
+ id: string;
2043
2045
  capture: "at_action" | "historical_lookup" | "fixture";
2044
2046
  locator?: string | undefined;
2045
2047
  }[];
@@ -2051,9 +2053,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2051
2053
  agentId: string;
2052
2054
  sessionId: string;
2053
2055
  evidence: {
2054
- id: string;
2056
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
2057
  label: string;
2056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2058
+ id: string;
2057
2059
  capture: "at_action" | "historical_lookup" | "fixture";
2058
2060
  locator?: string | undefined;
2059
2061
  }[];
@@ -2062,13 +2064,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2062
2064
  recallReceiptId: string;
2063
2065
  staleDecisionAbsent: boolean;
2064
2066
  } | {
2065
- summary: string;
2066
2067
  kind: "mission_completed";
2068
+ summary: string;
2067
2069
  outcome: "failed" | "recovered" | "inconclusive";
2068
2070
  evidence: {
2069
- id: string;
2071
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
2072
  label: string;
2071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2073
+ id: string;
2072
2074
  capture: "at_action" | "historical_lookup" | "fixture";
2073
2075
  locator?: string | undefined;
2074
2076
  }[];
@@ -2078,37 +2080,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2078
2080
  objective: string;
2079
2081
  runMode: "replay" | "fixture" | "live";
2080
2082
  evidence?: {
2081
- id: string;
2083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2084
  label: string;
2083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2085
+ id: string;
2084
2086
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2087
  locator?: string | undefined;
2086
2088
  }[] | undefined;
2087
2089
  } | {
2088
- label: string;
2089
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2090
2090
  kind: "agent_status";
2091
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2092
+ label: string;
2091
2093
  role: string;
2092
2094
  agentId: string;
2093
2095
  sessionId: string;
2094
2096
  detail?: string | undefined;
2095
2097
  evidence?: {
2096
- id: string;
2098
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
2099
  label: string;
2098
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2100
+ id: string;
2099
2101
  capture: "at_action" | "historical_lookup" | "fixture";
2100
2102
  locator?: string | undefined;
2101
2103
  }[] | undefined;
2102
2104
  } | {
2103
- summary: string;
2104
2105
  kind: "agent_output";
2106
+ summary: string;
2105
2107
  agentId: string;
2106
2108
  sessionId: string;
2107
2109
  outputId: string;
2108
2110
  evidence?: {
2109
- id: string;
2111
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2110
2112
  label: string;
2111
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2113
+ id: string;
2112
2114
  capture: "at_action" | "historical_lookup" | "fixture";
2113
2115
  locator?: string | undefined;
2114
2116
  }[] | undefined;
@@ -2121,37 +2123,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2121
2123
  decisionId: string;
2122
2124
  confidence?: number | undefined;
2123
2125
  evidence?: {
2124
- id: string;
2126
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
2127
  label: string;
2126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2128
+ id: string;
2127
2129
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2130
  locator?: string | undefined;
2129
2131
  }[] | undefined;
2130
2132
  } | {
2131
- summary: string;
2132
2133
  kind: "conflict_detected";
2134
+ summary: string;
2133
2135
  conflictId: string;
2134
2136
  decisionIds: string[];
2135
2137
  agentIds: string[];
2136
2138
  evidence?: {
2137
- id: string;
2139
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
2140
  label: string;
2139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2141
+ id: string;
2140
2142
  capture: "at_action" | "historical_lookup" | "fixture";
2141
2143
  locator?: string | undefined;
2142
2144
  }[] | undefined;
2143
2145
  } | {
2146
+ kind: "test_result";
2144
2147
  summary: string;
2145
2148
  status: "error" | "failed" | "passed";
2146
- kind: "test_result";
2147
2149
  command: string;
2148
2150
  decisionId: string;
2149
2151
  testId: string;
2150
2152
  durationMs?: number | undefined;
2151
2153
  evidence?: {
2152
- id: string;
2154
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2155
  label: string;
2154
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2156
+ id: string;
2155
2157
  capture: "at_action" | "historical_lookup" | "fixture";
2156
2158
  locator?: string | undefined;
2157
2159
  }[] | undefined;
@@ -2166,9 +2168,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2166
2168
  supersedesDecisionIds: string[];
2167
2169
  proposedBy: string;
2168
2170
  evidence?: {
2169
- id: string;
2171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2170
2172
  label: string;
2171
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2173
+ id: string;
2172
2174
  capture: "at_action" | "historical_lookup" | "fixture";
2173
2175
  locator?: string | undefined;
2174
2176
  }[] | undefined;
@@ -2176,15 +2178,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2176
2178
  kind: "correction_approved";
2177
2179
  correctionId: string;
2178
2180
  approvedBy: {
2179
- id: string;
2180
- label: string;
2181
2181
  kind: "agent" | "human";
2182
+ label: string;
2183
+ id: string;
2182
2184
  };
2183
2185
  note?: string | undefined;
2184
2186
  evidence?: {
2185
- id: string;
2187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
2188
  label: string;
2187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2189
+ id: string;
2188
2190
  capture: "at_action" | "historical_lookup" | "fixture";
2189
2191
  locator?: string | undefined;
2190
2192
  }[] | undefined;
@@ -2194,9 +2196,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2194
2196
  correctionId: string;
2195
2197
  replacementDecisionId: string;
2196
2198
  evidence?: {
2197
- id: string;
2199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
2200
  label: string;
2199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
+ id: string;
2200
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2201
2203
  locator?: string | undefined;
2202
2204
  }[] | undefined;
@@ -2209,9 +2211,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2209
2211
  recallReceiptId: string;
2210
2212
  capturedAtAction: boolean;
2211
2213
  evidence?: {
2212
- id: string;
2214
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2215
  label: string;
2214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2216
+ id: string;
2215
2217
  capture: "at_action" | "historical_lookup" | "fixture";
2216
2218
  locator?: string | undefined;
2217
2219
  }[] | undefined;
@@ -2224,20 +2226,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2224
2226
  recallReceiptId: string;
2225
2227
  staleDecisionAbsent: boolean;
2226
2228
  evidence?: {
2227
- id: string;
2229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2230
  label: string;
2229
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2231
+ id: string;
2230
2232
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2233
  locator?: string | undefined;
2232
2234
  }[] | undefined;
2233
2235
  } | {
2234
- summary: string;
2235
2236
  kind: "mission_completed";
2237
+ summary: string;
2236
2238
  outcome: "failed" | "recovered" | "inconclusive";
2237
2239
  evidence?: {
2238
- id: string;
2240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2241
  label: string;
2240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2242
+ id: string;
2241
2243
  capture: "at_action" | "historical_lookup" | "fixture";
2242
2244
  locator?: string | undefined;
2243
2245
  }[] | undefined;
@@ -2258,15 +2260,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2258
2260
  locator: z.ZodOptional<z.ZodString>;
2259
2261
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2260
2262
  }, "strict", z.ZodTypeAny, {
2261
- id: string;
2263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2264
  label: string;
2263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
+ id: string;
2264
2266
  capture: "at_action" | "historical_lookup" | "fixture";
2265
2267
  locator?: string | undefined;
2266
2268
  }, {
2267
- id: string;
2269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2270
  label: string;
2269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2271
+ id: string;
2270
2272
  capture: "at_action" | "historical_lookup" | "fixture";
2271
2273
  locator?: string | undefined;
2272
2274
  }>, "many">>;
@@ -2274,9 +2276,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2274
2276
  kind: "mission_started";
2275
2277
  title: string;
2276
2278
  evidence: {
2277
- id: string;
2279
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
2280
  label: string;
2279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2281
+ id: string;
2280
2282
  capture: "at_action" | "historical_lookup" | "fixture";
2281
2283
  locator?: string | undefined;
2282
2284
  }[];
@@ -2288,9 +2290,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2288
2290
  objective: string;
2289
2291
  runMode: "replay" | "fixture" | "live";
2290
2292
  evidence?: {
2291
- id: string;
2293
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2292
2294
  label: string;
2293
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2295
+ id: string;
2294
2296
  capture: "at_action" | "historical_lookup" | "fixture";
2295
2297
  locator?: string | undefined;
2296
2298
  }[] | undefined;
@@ -2306,15 +2308,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2306
2308
  locator: z.ZodOptional<z.ZodString>;
2307
2309
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2308
2310
  }, "strict", z.ZodTypeAny, {
2309
- id: string;
2311
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
2312
  label: string;
2311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2313
+ id: string;
2312
2314
  capture: "at_action" | "historical_lookup" | "fixture";
2313
2315
  locator?: string | undefined;
2314
2316
  }, {
2315
- id: string;
2317
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2318
  label: string;
2317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2319
+ id: string;
2318
2320
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2321
  locator?: string | undefined;
2320
2322
  }>, "many">>;
@@ -2322,32 +2324,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2322
2324
  sessionId: z.ZodString;
2323
2325
  kind: z.ZodLiteral<"agent_status">;
2324
2326
  }, "strict", z.ZodTypeAny, {
2325
- label: string;
2326
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2327
2327
  kind: "agent_status";
2328
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2329
+ label: string;
2328
2330
  role: string;
2329
2331
  agentId: string;
2330
2332
  sessionId: string;
2331
2333
  evidence: {
2332
- id: string;
2334
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
2335
  label: string;
2334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2336
+ id: string;
2335
2337
  capture: "at_action" | "historical_lookup" | "fixture";
2336
2338
  locator?: string | undefined;
2337
2339
  }[];
2338
2340
  detail?: string | undefined;
2339
2341
  }, {
2340
- label: string;
2341
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2342
2342
  kind: "agent_status";
2343
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2344
+ label: string;
2343
2345
  role: string;
2344
2346
  agentId: string;
2345
2347
  sessionId: string;
2346
2348
  detail?: string | undefined;
2347
2349
  evidence?: {
2348
- id: string;
2350
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2351
  label: string;
2350
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2352
+ id: string;
2351
2353
  capture: "at_action" | "historical_lookup" | "fixture";
2352
2354
  locator?: string | undefined;
2353
2355
  }[] | undefined;
@@ -2361,15 +2363,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2363
  locator: z.ZodOptional<z.ZodString>;
2362
2364
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2363
2365
  }, "strict", z.ZodTypeAny, {
2364
- id: string;
2366
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2367
  label: string;
2366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2368
+ id: string;
2367
2369
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2370
  locator?: string | undefined;
2369
2371
  }, {
2370
- id: string;
2372
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2373
  label: string;
2372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2374
+ id: string;
2373
2375
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2376
  locator?: string | undefined;
2375
2377
  }>, "many">>;
@@ -2377,28 +2379,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2377
2379
  sessionId: z.ZodString;
2378
2380
  kind: z.ZodLiteral<"agent_output">;
2379
2381
  }, "strict", z.ZodTypeAny, {
2380
- summary: string;
2381
2382
  kind: "agent_output";
2383
+ summary: string;
2382
2384
  agentId: string;
2383
2385
  sessionId: string;
2384
2386
  evidence: {
2385
- id: string;
2387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
2388
  label: string;
2387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2389
+ id: string;
2388
2390
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2391
  locator?: string | undefined;
2390
2392
  }[];
2391
2393
  outputId: string;
2392
2394
  }, {
2393
- summary: string;
2394
2395
  kind: "agent_output";
2396
+ summary: string;
2395
2397
  agentId: string;
2396
2398
  sessionId: string;
2397
2399
  outputId: string;
2398
2400
  evidence?: {
2399
- id: string;
2401
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
2402
  label: string;
2401
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2403
+ id: string;
2402
2404
  capture: "at_action" | "historical_lookup" | "fixture";
2403
2405
  locator?: string | undefined;
2404
2406
  }[] | undefined;
@@ -2414,15 +2416,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2414
2416
  locator: z.ZodOptional<z.ZodString>;
2415
2417
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2416
2418
  }, "strict", z.ZodTypeAny, {
2417
- id: string;
2419
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2420
  label: string;
2419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2421
+ id: string;
2420
2422
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2423
  locator?: string | undefined;
2422
2424
  }, {
2423
- id: string;
2425
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2426
  label: string;
2425
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2427
+ id: string;
2426
2428
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2429
  locator?: string | undefined;
2428
2430
  }>, "many">>;
@@ -2435,9 +2437,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2435
2437
  statement: string;
2436
2438
  sessionId: string;
2437
2439
  evidence: {
2438
- id: string;
2440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
2441
  label: string;
2440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2442
+ id: string;
2441
2443
  capture: "at_action" | "historical_lookup" | "fixture";
2442
2444
  locator?: string | undefined;
2443
2445
  }[];
@@ -2453,9 +2455,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2453
2455
  decisionId: string;
2454
2456
  confidence?: number | undefined;
2455
2457
  evidence?: {
2456
- id: string;
2458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
2459
  label: string;
2458
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2460
+ id: string;
2459
2461
  capture: "at_action" | "historical_lookup" | "fixture";
2460
2462
  locator?: string | undefined;
2461
2463
  }[] | undefined;
@@ -2472,25 +2474,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2472
2474
  locator: z.ZodOptional<z.ZodString>;
2473
2475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2474
2476
  }, "strict", z.ZodTypeAny, {
2475
- id: string;
2477
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2478
  label: string;
2477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
+ id: string;
2478
2480
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2481
  locator?: string | undefined;
2480
2482
  }, {
2481
- id: string;
2483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2484
  label: string;
2483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2485
+ id: string;
2484
2486
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2487
  locator?: string | undefined;
2486
2488
  }>, "many">>;
2487
2489
  }, "strict", z.ZodTypeAny, {
2488
- summary: string;
2489
2490
  kind: "conflict_detected";
2491
+ summary: string;
2490
2492
  evidence: {
2491
- id: string;
2493
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
2494
  label: string;
2493
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2495
+ id: string;
2494
2496
  capture: "at_action" | "historical_lookup" | "fixture";
2495
2497
  locator?: string | undefined;
2496
2498
  }[];
@@ -2498,15 +2500,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2498
2500
  decisionIds: string[];
2499
2501
  agentIds: string[];
2500
2502
  }, {
2501
- summary: string;
2502
2503
  kind: "conflict_detected";
2504
+ summary: string;
2503
2505
  conflictId: string;
2504
2506
  decisionIds: string[];
2505
2507
  agentIds: string[];
2506
2508
  evidence?: {
2507
- id: string;
2509
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
2510
  label: string;
2509
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2511
+ id: string;
2510
2512
  capture: "at_action" | "historical_lookup" | "fixture";
2511
2513
  locator?: string | undefined;
2512
2514
  }[] | undefined;
@@ -2526,27 +2528,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2526
2528
  locator: z.ZodOptional<z.ZodString>;
2527
2529
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2528
2530
  }, "strict", z.ZodTypeAny, {
2529
- id: string;
2531
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
2532
  label: string;
2531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2533
+ id: string;
2532
2534
  capture: "at_action" | "historical_lookup" | "fixture";
2533
2535
  locator?: string | undefined;
2534
2536
  }, {
2535
- id: string;
2537
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2538
  label: string;
2537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2539
+ id: string;
2538
2540
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2541
  locator?: string | undefined;
2540
2542
  }>, "many">>;
2541
2543
  }, "strict", z.ZodTypeAny, {
2544
+ kind: "test_result";
2542
2545
  summary: string;
2543
2546
  status: "error" | "failed" | "passed";
2544
- kind: "test_result";
2545
2547
  command: string;
2546
2548
  evidence: {
2547
- id: string;
2549
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2550
  label: string;
2549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2551
+ id: string;
2550
2552
  capture: "at_action" | "historical_lookup" | "fixture";
2551
2553
  locator?: string | undefined;
2552
2554
  }[];
@@ -2555,17 +2557,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2555
2557
  durationMs?: number | undefined;
2556
2558
  correctionId?: string | undefined;
2557
2559
  }, {
2560
+ kind: "test_result";
2558
2561
  summary: string;
2559
2562
  status: "error" | "failed" | "passed";
2560
- kind: "test_result";
2561
2563
  command: string;
2562
2564
  decisionId: string;
2563
2565
  testId: string;
2564
2566
  durationMs?: number | undefined;
2565
2567
  evidence?: {
2566
- id: string;
2568
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
2569
  label: string;
2568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2570
+ id: string;
2569
2571
  capture: "at_action" | "historical_lookup" | "fixture";
2570
2572
  locator?: string | undefined;
2571
2573
  }[] | undefined;
@@ -2586,15 +2588,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2586
2588
  locator: z.ZodOptional<z.ZodString>;
2587
2589
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2588
2590
  }, "strict", z.ZodTypeAny, {
2589
- id: string;
2591
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2592
  label: string;
2591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2593
+ id: string;
2592
2594
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2595
  locator?: string | undefined;
2594
2596
  }, {
2595
- id: string;
2597
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2598
  label: string;
2597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
+ id: string;
2598
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2601
  locator?: string | undefined;
2600
2602
  }>, "many">>;
@@ -2603,9 +2605,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2603
2605
  statement: string;
2604
2606
  rationale: string;
2605
2607
  evidence: {
2606
- id: string;
2608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2607
2609
  label: string;
2608
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2610
+ id: string;
2609
2611
  capture: "at_action" | "historical_lookup" | "fixture";
2610
2612
  locator?: string | undefined;
2611
2613
  }[];
@@ -2624,9 +2626,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2624
2626
  supersedesDecisionIds: string[];
2625
2627
  proposedBy: string;
2626
2628
  evidence?: {
2627
- id: string;
2629
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
2630
  label: string;
2629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2631
+ id: string;
2630
2632
  capture: "at_action" | "historical_lookup" | "fixture";
2631
2633
  locator?: string | undefined;
2632
2634
  }[] | undefined;
@@ -2638,13 +2640,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2638
2640
  id: z.ZodString;
2639
2641
  label: z.ZodString;
2640
2642
  }, "strict", z.ZodTypeAny, {
2641
- id: string;
2642
- label: string;
2643
2643
  kind: "agent" | "human";
2644
- }, {
2645
- id: string;
2646
2644
  label: string;
2645
+ id: string;
2646
+ }, {
2647
2647
  kind: "agent" | "human";
2648
+ label: string;
2649
+ id: string;
2648
2650
  }>;
2649
2651
  note: z.ZodOptional<z.ZodString>;
2650
2652
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2654,47 +2656,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2654
2656
  locator: z.ZodOptional<z.ZodString>;
2655
2657
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2656
2658
  }, "strict", z.ZodTypeAny, {
2657
- id: string;
2659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2660
  label: string;
2659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
+ id: string;
2660
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2661
2663
  locator?: string | undefined;
2662
2664
  }, {
2663
- id: string;
2665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2666
  label: string;
2665
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2667
+ id: string;
2666
2668
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2669
  locator?: string | undefined;
2668
2670
  }>, "many">>;
2669
2671
  }, "strict", z.ZodTypeAny, {
2670
2672
  kind: "correction_approved";
2671
2673
  evidence: {
2672
- id: string;
2674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2675
  label: string;
2674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2676
+ id: string;
2675
2677
  capture: "at_action" | "historical_lookup" | "fixture";
2676
2678
  locator?: string | undefined;
2677
2679
  }[];
2678
2680
  correctionId: string;
2679
2681
  approvedBy: {
2680
- id: string;
2681
- label: string;
2682
2682
  kind: "agent" | "human";
2683
+ label: string;
2684
+ id: string;
2683
2685
  };
2684
2686
  note?: string | undefined;
2685
2687
  }, {
2686
2688
  kind: "correction_approved";
2687
2689
  correctionId: string;
2688
2690
  approvedBy: {
2689
- id: string;
2690
- label: string;
2691
2691
  kind: "agent" | "human";
2692
+ label: string;
2693
+ id: string;
2692
2694
  };
2693
2695
  note?: string | undefined;
2694
2696
  evidence?: {
2695
- id: string;
2697
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
2698
  label: string;
2697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2699
+ id: string;
2698
2700
  capture: "at_action" | "historical_lookup" | "fixture";
2699
2701
  locator?: string | undefined;
2700
2702
  }[] | undefined;
@@ -2710,24 +2712,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2710
2712
  locator: z.ZodOptional<z.ZodString>;
2711
2713
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2712
2714
  }, "strict", z.ZodTypeAny, {
2713
- id: string;
2715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2716
  label: string;
2715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
+ id: string;
2716
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2717
2719
  locator?: string | undefined;
2718
2720
  }, {
2719
- id: string;
2721
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2722
  label: string;
2721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2723
+ id: string;
2722
2724
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2725
  locator?: string | undefined;
2724
2726
  }>, "many">>;
2725
2727
  }, "strict", z.ZodTypeAny, {
2726
2728
  kind: "decision_superseded";
2727
2729
  evidence: {
2728
- id: string;
2730
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2731
  label: string;
2730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2732
+ id: string;
2731
2733
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2734
  locator?: string | undefined;
2733
2735
  }[];
@@ -2740,9 +2742,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2740
2742
  correctionId: string;
2741
2743
  replacementDecisionId: string;
2742
2744
  evidence?: {
2743
- id: string;
2745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
2746
  label: string;
2745
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2747
+ id: string;
2746
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2747
2749
  locator?: string | undefined;
2748
2750
  }[] | undefined;
@@ -2758,15 +2760,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2758
2760
  locator: z.ZodOptional<z.ZodString>;
2759
2761
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2760
2762
  }, "strict", z.ZodTypeAny, {
2761
- id: string;
2763
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2764
  label: string;
2763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2765
+ id: string;
2764
2766
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2767
  locator?: string | undefined;
2766
2768
  }, {
2767
- id: string;
2769
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2770
  label: string;
2769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2771
+ id: string;
2770
2772
  capture: "at_action" | "historical_lookup" | "fixture";
2771
2773
  locator?: string | undefined;
2772
2774
  }>, "many">>;
@@ -2779,9 +2781,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2779
2781
  agentId: string;
2780
2782
  sessionId: string;
2781
2783
  evidence: {
2782
- id: string;
2784
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2785
  label: string;
2784
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2786
+ id: string;
2785
2787
  capture: "at_action" | "historical_lookup" | "fixture";
2786
2788
  locator?: string | undefined;
2787
2789
  }[];
@@ -2797,9 +2799,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2797
2799
  recallReceiptId: string;
2798
2800
  capturedAtAction: boolean;
2799
2801
  evidence?: {
2800
- id: string;
2802
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2803
  label: string;
2802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2804
+ id: string;
2803
2805
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2806
  locator?: string | undefined;
2805
2807
  }[] | undefined;
@@ -2815,15 +2817,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2815
2817
  locator: z.ZodOptional<z.ZodString>;
2816
2818
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2817
2819
  }, "strict", z.ZodTypeAny, {
2818
- id: string;
2820
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
2821
  label: string;
2820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2822
+ id: string;
2821
2823
  capture: "at_action" | "historical_lookup" | "fixture";
2822
2824
  locator?: string | undefined;
2823
2825
  }, {
2824
- id: string;
2826
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2827
  label: string;
2826
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2828
+ id: string;
2827
2829
  capture: "at_action" | "historical_lookup" | "fixture";
2828
2830
  locator?: string | undefined;
2829
2831
  }>, "many">>;
@@ -2835,9 +2837,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2835
2837
  agentId: string;
2836
2838
  sessionId: string;
2837
2839
  evidence: {
2838
- id: string;
2840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
2841
  label: string;
2840
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2842
+ id: string;
2841
2843
  capture: "at_action" | "historical_lookup" | "fixture";
2842
2844
  locator?: string | undefined;
2843
2845
  }[];
@@ -2854,9 +2856,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2854
2856
  recallReceiptId: string;
2855
2857
  staleDecisionAbsent: boolean;
2856
2858
  evidence?: {
2857
- id: string;
2859
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
2860
  label: string;
2859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2861
+ id: string;
2860
2862
  capture: "at_action" | "historical_lookup" | "fixture";
2861
2863
  locator?: string | undefined;
2862
2864
  }[] | undefined;
@@ -2871,37 +2873,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2871
2873
  locator: z.ZodOptional<z.ZodString>;
2872
2874
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2873
2875
  }, "strict", z.ZodTypeAny, {
2874
- id: string;
2876
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2877
  label: string;
2876
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2878
+ id: string;
2877
2879
  capture: "at_action" | "historical_lookup" | "fixture";
2878
2880
  locator?: string | undefined;
2879
2881
  }, {
2880
- id: string;
2882
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2883
  label: string;
2882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2884
+ id: string;
2883
2885
  capture: "at_action" | "historical_lookup" | "fixture";
2884
2886
  locator?: string | undefined;
2885
2887
  }>, "many">>;
2886
2888
  }, "strict", z.ZodTypeAny, {
2887
- summary: string;
2888
2889
  kind: "mission_completed";
2890
+ summary: string;
2889
2891
  outcome: "failed" | "recovered" | "inconclusive";
2890
2892
  evidence: {
2891
- id: string;
2893
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2894
  label: string;
2893
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2895
+ id: string;
2894
2896
  capture: "at_action" | "historical_lookup" | "fixture";
2895
2897
  locator?: string | undefined;
2896
2898
  }[];
2897
2899
  }, {
2898
- summary: string;
2899
2900
  kind: "mission_completed";
2901
+ summary: string;
2900
2902
  outcome: "failed" | "recovered" | "inconclusive";
2901
2903
  evidence?: {
2902
- id: string;
2904
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
2905
  label: string;
2904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2906
+ id: string;
2905
2907
  capture: "at_action" | "historical_lookup" | "fixture";
2906
2908
  locator?: string | undefined;
2907
2909
  }[] | undefined;
@@ -2909,38 +2911,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2909
2911
  kind: "mission_started";
2910
2912
  title: string;
2911
2913
  evidence: {
2912
- id: string;
2914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2913
2915
  label: string;
2914
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2916
+ id: string;
2915
2917
  capture: "at_action" | "historical_lookup" | "fixture";
2916
2918
  locator?: string | undefined;
2917
2919
  }[];
2918
2920
  objective: string;
2919
2921
  runMode: "replay" | "fixture" | "live";
2920
2922
  } | {
2921
- label: string;
2922
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2923
2923
  kind: "agent_status";
2924
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2925
+ label: string;
2924
2926
  role: string;
2925
2927
  agentId: string;
2926
2928
  sessionId: string;
2927
2929
  evidence: {
2928
- id: string;
2930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
2931
  label: string;
2930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2932
+ id: string;
2931
2933
  capture: "at_action" | "historical_lookup" | "fixture";
2932
2934
  locator?: string | undefined;
2933
2935
  }[];
2934
2936
  detail?: string | undefined;
2935
2937
  } | {
2936
- summary: string;
2937
2938
  kind: "agent_output";
2939
+ summary: string;
2938
2940
  agentId: string;
2939
2941
  sessionId: string;
2940
2942
  evidence: {
2941
- id: string;
2943
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
2944
  label: string;
2943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2945
+ id: string;
2944
2946
  capture: "at_action" | "historical_lookup" | "fixture";
2945
2947
  locator?: string | undefined;
2946
2948
  }[];
@@ -2951,9 +2953,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2951
2953
  statement: string;
2952
2954
  sessionId: string;
2953
2955
  evidence: {
2954
- id: string;
2956
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2955
2957
  label: string;
2956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2958
+ id: string;
2957
2959
  capture: "at_action" | "historical_lookup" | "fixture";
2958
2960
  locator?: string | undefined;
2959
2961
  }[];
@@ -2961,12 +2963,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2961
2963
  decisionId: string;
2962
2964
  confidence?: number | undefined;
2963
2965
  } | {
2964
- summary: string;
2965
2966
  kind: "conflict_detected";
2967
+ summary: string;
2966
2968
  evidence: {
2967
- id: string;
2969
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
2970
  label: string;
2969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2971
+ id: string;
2970
2972
  capture: "at_action" | "historical_lookup" | "fixture";
2971
2973
  locator?: string | undefined;
2972
2974
  }[];
@@ -2974,14 +2976,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2974
2976
  decisionIds: string[];
2975
2977
  agentIds: string[];
2976
2978
  } | {
2979
+ kind: "test_result";
2977
2980
  summary: string;
2978
2981
  status: "error" | "failed" | "passed";
2979
- kind: "test_result";
2980
2982
  command: string;
2981
2983
  evidence: {
2982
- id: string;
2984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
2985
  label: string;
2984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2986
+ id: string;
2985
2987
  capture: "at_action" | "historical_lookup" | "fixture";
2986
2988
  locator?: string | undefined;
2987
2989
  }[];
@@ -2994,9 +2996,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2994
2996
  statement: string;
2995
2997
  rationale: string;
2996
2998
  evidence: {
2997
- id: string;
2999
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2998
3000
  label: string;
2999
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3001
+ id: string;
3000
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3001
3003
  locator?: string | undefined;
3002
3004
  }[];
@@ -3008,25 +3010,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3008
3010
  } | {
3009
3011
  kind: "correction_approved";
3010
3012
  evidence: {
3011
- id: string;
3013
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
3014
  label: string;
3013
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3015
+ id: string;
3014
3016
  capture: "at_action" | "historical_lookup" | "fixture";
3015
3017
  locator?: string | undefined;
3016
3018
  }[];
3017
3019
  correctionId: string;
3018
3020
  approvedBy: {
3019
- id: string;
3020
- label: string;
3021
3021
  kind: "agent" | "human";
3022
+ label: string;
3023
+ id: string;
3022
3024
  };
3023
3025
  note?: string | undefined;
3024
3026
  } | {
3025
3027
  kind: "decision_superseded";
3026
3028
  evidence: {
3027
- id: string;
3029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
3030
  label: string;
3029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3031
+ id: string;
3030
3032
  capture: "at_action" | "historical_lookup" | "fixture";
3031
3033
  locator?: string | undefined;
3032
3034
  }[];
@@ -3039,9 +3041,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3039
3041
  agentId: string;
3040
3042
  sessionId: string;
3041
3043
  evidence: {
3042
- id: string;
3044
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3043
3045
  label: string;
3044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3046
+ id: string;
3045
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3046
3048
  locator?: string | undefined;
3047
3049
  }[];
@@ -3053,9 +3055,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3053
3055
  agentId: string;
3054
3056
  sessionId: string;
3055
3057
  evidence: {
3056
- id: string;
3058
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3059
  label: string;
3058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3060
+ id: string;
3059
3061
  capture: "at_action" | "historical_lookup" | "fixture";
3060
3062
  locator?: string | undefined;
3061
3063
  }[];
@@ -3064,13 +3066,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3064
3066
  recallReceiptId: string;
3065
3067
  staleDecisionAbsent: boolean;
3066
3068
  } | {
3067
- summary: string;
3068
3069
  kind: "mission_completed";
3070
+ summary: string;
3069
3071
  outcome: "failed" | "recovered" | "inconclusive";
3070
3072
  evidence: {
3071
- id: string;
3073
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
3074
  label: string;
3073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3075
+ id: string;
3074
3076
  capture: "at_action" | "historical_lookup" | "fixture";
3075
3077
  locator?: string | undefined;
3076
3078
  }[];
@@ -3080,37 +3082,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3080
3082
  objective: string;
3081
3083
  runMode: "replay" | "fixture" | "live";
3082
3084
  evidence?: {
3083
- id: string;
3085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
3086
  label: string;
3085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
+ id: string;
3086
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3087
3089
  locator?: string | undefined;
3088
3090
  }[] | undefined;
3089
3091
  } | {
3090
- label: string;
3091
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3092
3092
  kind: "agent_status";
3093
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3094
+ label: string;
3093
3095
  role: string;
3094
3096
  agentId: string;
3095
3097
  sessionId: string;
3096
3098
  detail?: string | undefined;
3097
3099
  evidence?: {
3098
- id: string;
3100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
3101
  label: string;
3100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
+ id: string;
3101
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3102
3104
  locator?: string | undefined;
3103
3105
  }[] | undefined;
3104
3106
  } | {
3105
- summary: string;
3106
3107
  kind: "agent_output";
3108
+ summary: string;
3107
3109
  agentId: string;
3108
3110
  sessionId: string;
3109
3111
  outputId: string;
3110
3112
  evidence?: {
3111
- id: string;
3113
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
3114
  label: string;
3113
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3115
+ id: string;
3114
3116
  capture: "at_action" | "historical_lookup" | "fixture";
3115
3117
  locator?: string | undefined;
3116
3118
  }[] | undefined;
@@ -3123,37 +3125,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3123
3125
  decisionId: string;
3124
3126
  confidence?: number | undefined;
3125
3127
  evidence?: {
3126
- id: string;
3128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
3129
  label: string;
3128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3130
+ id: string;
3129
3131
  capture: "at_action" | "historical_lookup" | "fixture";
3130
3132
  locator?: string | undefined;
3131
3133
  }[] | undefined;
3132
3134
  } | {
3133
- summary: string;
3134
3135
  kind: "conflict_detected";
3136
+ summary: string;
3135
3137
  conflictId: string;
3136
3138
  decisionIds: string[];
3137
3139
  agentIds: string[];
3138
3140
  evidence?: {
3139
- id: string;
3141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
3142
  label: string;
3141
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3143
+ id: string;
3142
3144
  capture: "at_action" | "historical_lookup" | "fixture";
3143
3145
  locator?: string | undefined;
3144
3146
  }[] | undefined;
3145
3147
  } | {
3148
+ kind: "test_result";
3146
3149
  summary: string;
3147
3150
  status: "error" | "failed" | "passed";
3148
- kind: "test_result";
3149
3151
  command: string;
3150
3152
  decisionId: string;
3151
3153
  testId: string;
3152
3154
  durationMs?: number | undefined;
3153
3155
  evidence?: {
3154
- id: string;
3156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3157
  label: string;
3156
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3158
+ id: string;
3157
3159
  capture: "at_action" | "historical_lookup" | "fixture";
3158
3160
  locator?: string | undefined;
3159
3161
  }[] | undefined;
@@ -3168,9 +3170,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3168
3170
  supersedesDecisionIds: string[];
3169
3171
  proposedBy: string;
3170
3172
  evidence?: {
3171
- id: string;
3173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3172
3174
  label: string;
3173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
+ id: string;
3174
3176
  capture: "at_action" | "historical_lookup" | "fixture";
3175
3177
  locator?: string | undefined;
3176
3178
  }[] | undefined;
@@ -3178,15 +3180,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3178
3180
  kind: "correction_approved";
3179
3181
  correctionId: string;
3180
3182
  approvedBy: {
3181
- id: string;
3182
- label: string;
3183
3183
  kind: "agent" | "human";
3184
+ label: string;
3185
+ id: string;
3184
3186
  };
3185
3187
  note?: string | undefined;
3186
3188
  evidence?: {
3187
- id: string;
3189
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3190
  label: string;
3189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3191
+ id: string;
3190
3192
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3193
  locator?: string | undefined;
3192
3194
  }[] | undefined;
@@ -3196,9 +3198,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3196
3198
  correctionId: string;
3197
3199
  replacementDecisionId: string;
3198
3200
  evidence?: {
3199
- id: string;
3201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3202
  label: string;
3201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
+ id: string;
3202
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3203
3205
  locator?: string | undefined;
3204
3206
  }[] | undefined;
@@ -3211,9 +3213,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3211
3213
  recallReceiptId: string;
3212
3214
  capturedAtAction: boolean;
3213
3215
  evidence?: {
3214
- id: string;
3216
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
3217
  label: string;
3216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
+ id: string;
3217
3219
  capture: "at_action" | "historical_lookup" | "fixture";
3218
3220
  locator?: string | undefined;
3219
3221
  }[] | undefined;
@@ -3226,20 +3228,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3226
3228
  recallReceiptId: string;
3227
3229
  staleDecisionAbsent: boolean;
3228
3230
  evidence?: {
3229
- id: string;
3231
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3232
  label: string;
3231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3233
+ id: string;
3232
3234
  capture: "at_action" | "historical_lookup" | "fixture";
3233
3235
  locator?: string | undefined;
3234
3236
  }[] | undefined;
3235
3237
  } | {
3236
- summary: string;
3237
3238
  kind: "mission_completed";
3239
+ summary: string;
3238
3240
  outcome: "failed" | "recovered" | "inconclusive";
3239
3241
  evidence?: {
3240
- id: string;
3242
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3241
3243
  label: string;
3242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3244
+ id: string;
3243
3245
  capture: "at_action" | "historical_lookup" | "fixture";
3244
3246
  locator?: string | undefined;
3245
3247
  }[] | undefined;
@@ -3249,38 +3251,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3249
3251
  kind: "mission_started";
3250
3252
  title: string;
3251
3253
  evidence: {
3252
- id: string;
3254
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
3255
  label: string;
3254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3256
+ id: string;
3255
3257
  capture: "at_action" | "historical_lookup" | "fixture";
3256
3258
  locator?: string | undefined;
3257
3259
  }[];
3258
3260
  objective: string;
3259
3261
  runMode: "replay" | "fixture" | "live";
3260
3262
  } | {
3261
- label: string;
3262
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3263
3263
  kind: "agent_status";
3264
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3265
+ label: string;
3264
3266
  role: string;
3265
3267
  agentId: string;
3266
3268
  sessionId: string;
3267
3269
  evidence: {
3268
- id: string;
3270
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3269
3271
  label: string;
3270
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3272
+ id: string;
3271
3273
  capture: "at_action" | "historical_lookup" | "fixture";
3272
3274
  locator?: string | undefined;
3273
3275
  }[];
3274
3276
  detail?: string | undefined;
3275
3277
  } | {
3276
- summary: string;
3277
3278
  kind: "agent_output";
3279
+ summary: string;
3278
3280
  agentId: string;
3279
3281
  sessionId: string;
3280
3282
  evidence: {
3281
- id: string;
3283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3284
  label: string;
3283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3285
+ id: string;
3284
3286
  capture: "at_action" | "historical_lookup" | "fixture";
3285
3287
  locator?: string | undefined;
3286
3288
  }[];
@@ -3291,9 +3293,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3291
3293
  statement: string;
3292
3294
  sessionId: string;
3293
3295
  evidence: {
3294
- id: string;
3296
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3297
  label: string;
3296
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3298
+ id: string;
3297
3299
  capture: "at_action" | "historical_lookup" | "fixture";
3298
3300
  locator?: string | undefined;
3299
3301
  }[];
@@ -3301,12 +3303,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3301
3303
  decisionId: string;
3302
3304
  confidence?: number | undefined;
3303
3305
  } | {
3304
- summary: string;
3305
3306
  kind: "conflict_detected";
3307
+ summary: string;
3306
3308
  evidence: {
3307
- id: string;
3309
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3310
  label: string;
3309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3311
+ id: string;
3310
3312
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3313
  locator?: string | undefined;
3312
3314
  }[];
@@ -3314,14 +3316,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3314
3316
  decisionIds: string[];
3315
3317
  agentIds: string[];
3316
3318
  } | {
3319
+ kind: "test_result";
3317
3320
  summary: string;
3318
3321
  status: "error" | "failed" | "passed";
3319
- kind: "test_result";
3320
3322
  command: string;
3321
3323
  evidence: {
3322
- id: string;
3324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
3325
  label: string;
3324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3326
+ id: string;
3325
3327
  capture: "at_action" | "historical_lookup" | "fixture";
3326
3328
  locator?: string | undefined;
3327
3329
  }[];
@@ -3334,9 +3336,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3334
3336
  statement: string;
3335
3337
  rationale: string;
3336
3338
  evidence: {
3337
- id: string;
3339
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
3340
  label: string;
3339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
+ id: string;
3340
3342
  capture: "at_action" | "historical_lookup" | "fixture";
3341
3343
  locator?: string | undefined;
3342
3344
  }[];
@@ -3348,25 +3350,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3348
3350
  } | {
3349
3351
  kind: "correction_approved";
3350
3352
  evidence: {
3351
- id: string;
3353
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
3354
  label: string;
3353
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3355
+ id: string;
3354
3356
  capture: "at_action" | "historical_lookup" | "fixture";
3355
3357
  locator?: string | undefined;
3356
3358
  }[];
3357
3359
  correctionId: string;
3358
3360
  approvedBy: {
3359
- id: string;
3360
- label: string;
3361
3361
  kind: "agent" | "human";
3362
+ label: string;
3363
+ id: string;
3362
3364
  };
3363
3365
  note?: string | undefined;
3364
3366
  } | {
3365
3367
  kind: "decision_superseded";
3366
3368
  evidence: {
3367
- id: string;
3369
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3370
  label: string;
3369
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3371
+ id: string;
3370
3372
  capture: "at_action" | "historical_lookup" | "fixture";
3371
3373
  locator?: string | undefined;
3372
3374
  }[];
@@ -3379,9 +3381,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3379
3381
  agentId: string;
3380
3382
  sessionId: string;
3381
3383
  evidence: {
3382
- id: string;
3384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
3385
  label: string;
3384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
+ id: string;
3385
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3386
3388
  locator?: string | undefined;
3387
3389
  }[];
@@ -3393,9 +3395,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3393
3395
  agentId: string;
3394
3396
  sessionId: string;
3395
3397
  evidence: {
3396
- id: string;
3398
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
3399
  label: string;
3398
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
+ id: string;
3399
3401
  capture: "at_action" | "historical_lookup" | "fixture";
3400
3402
  locator?: string | undefined;
3401
3403
  }[];
@@ -3404,13 +3406,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3404
3406
  recallReceiptId: string;
3405
3407
  staleDecisionAbsent: boolean;
3406
3408
  } | {
3407
- summary: string;
3408
3409
  kind: "mission_completed";
3410
+ summary: string;
3409
3411
  outcome: "failed" | "recovered" | "inconclusive";
3410
3412
  evidence: {
3411
- id: string;
3413
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
3414
  label: string;
3413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3415
+ id: string;
3414
3416
  capture: "at_action" | "historical_lookup" | "fixture";
3415
3417
  locator?: string | undefined;
3416
3418
  }[];
@@ -3424,37 +3426,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3424
3426
  objective: string;
3425
3427
  runMode: "replay" | "fixture" | "live";
3426
3428
  evidence?: {
3427
- id: string;
3429
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
3430
  label: string;
3429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3431
+ id: string;
3430
3432
  capture: "at_action" | "historical_lookup" | "fixture";
3431
3433
  locator?: string | undefined;
3432
3434
  }[] | undefined;
3433
3435
  } | {
3434
- label: string;
3435
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3436
3436
  kind: "agent_status";
3437
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3438
+ label: string;
3437
3439
  role: string;
3438
3440
  agentId: string;
3439
3441
  sessionId: string;
3440
3442
  detail?: string | undefined;
3441
3443
  evidence?: {
3442
- id: string;
3444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3445
  label: string;
3444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3446
+ id: string;
3445
3447
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3448
  locator?: string | undefined;
3447
3449
  }[] | undefined;
3448
3450
  } | {
3449
- summary: string;
3450
3451
  kind: "agent_output";
3452
+ summary: string;
3451
3453
  agentId: string;
3452
3454
  sessionId: string;
3453
3455
  outputId: string;
3454
3456
  evidence?: {
3455
- id: string;
3457
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
3458
  label: string;
3457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3459
+ id: string;
3458
3460
  capture: "at_action" | "historical_lookup" | "fixture";
3459
3461
  locator?: string | undefined;
3460
3462
  }[] | undefined;
@@ -3467,37 +3469,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3467
3469
  decisionId: string;
3468
3470
  confidence?: number | undefined;
3469
3471
  evidence?: {
3470
- id: string;
3472
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
3473
  label: string;
3472
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
+ id: string;
3473
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3476
  locator?: string | undefined;
3475
3477
  }[] | undefined;
3476
3478
  } | {
3477
- summary: string;
3478
3479
  kind: "conflict_detected";
3480
+ summary: string;
3479
3481
  conflictId: string;
3480
3482
  decisionIds: string[];
3481
3483
  agentIds: string[];
3482
3484
  evidence?: {
3483
- id: string;
3485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
3486
  label: string;
3485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3487
+ id: string;
3486
3488
  capture: "at_action" | "historical_lookup" | "fixture";
3487
3489
  locator?: string | undefined;
3488
3490
  }[] | undefined;
3489
3491
  } | {
3492
+ kind: "test_result";
3490
3493
  summary: string;
3491
3494
  status: "error" | "failed" | "passed";
3492
- kind: "test_result";
3493
3495
  command: string;
3494
3496
  decisionId: string;
3495
3497
  testId: string;
3496
3498
  durationMs?: number | undefined;
3497
3499
  evidence?: {
3498
- id: string;
3500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3499
3501
  label: string;
3500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3502
+ id: string;
3501
3503
  capture: "at_action" | "historical_lookup" | "fixture";
3502
3504
  locator?: string | undefined;
3503
3505
  }[] | undefined;
@@ -3512,9 +3514,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3512
3514
  supersedesDecisionIds: string[];
3513
3515
  proposedBy: string;
3514
3516
  evidence?: {
3515
- id: string;
3517
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
3518
  label: string;
3517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3519
+ id: string;
3518
3520
  capture: "at_action" | "historical_lookup" | "fixture";
3519
3521
  locator?: string | undefined;
3520
3522
  }[] | undefined;
@@ -3522,15 +3524,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3522
3524
  kind: "correction_approved";
3523
3525
  correctionId: string;
3524
3526
  approvedBy: {
3525
- id: string;
3526
- label: string;
3527
3527
  kind: "agent" | "human";
3528
+ label: string;
3529
+ id: string;
3528
3530
  };
3529
3531
  note?: string | undefined;
3530
3532
  evidence?: {
3531
- id: string;
3533
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
3534
  label: string;
3533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3535
+ id: string;
3534
3536
  capture: "at_action" | "historical_lookup" | "fixture";
3535
3537
  locator?: string | undefined;
3536
3538
  }[] | undefined;
@@ -3540,9 +3542,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3540
3542
  correctionId: string;
3541
3543
  replacementDecisionId: string;
3542
3544
  evidence?: {
3543
- id: string;
3545
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3544
3546
  label: string;
3545
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3547
+ id: string;
3546
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3547
3549
  locator?: string | undefined;
3548
3550
  }[] | undefined;
@@ -3555,9 +3557,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3555
3557
  recallReceiptId: string;
3556
3558
  capturedAtAction: boolean;
3557
3559
  evidence?: {
3558
- id: string;
3560
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3561
  label: string;
3560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3562
+ id: string;
3561
3563
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3564
  locator?: string | undefined;
3563
3565
  }[] | undefined;
@@ -3570,20 +3572,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3570
3572
  recallReceiptId: string;
3571
3573
  staleDecisionAbsent: boolean;
3572
3574
  evidence?: {
3573
- id: string;
3575
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
3576
  label: string;
3575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3577
+ id: string;
3576
3578
  capture: "at_action" | "historical_lookup" | "fixture";
3577
3579
  locator?: string | undefined;
3578
3580
  }[] | undefined;
3579
3581
  } | {
3580
- summary: string;
3581
3582
  kind: "mission_completed";
3583
+ summary: string;
3582
3584
  outcome: "failed" | "recovered" | "inconclusive";
3583
3585
  evidence?: {
3584
- id: string;
3586
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
3587
  label: string;
3586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3588
+ id: string;
3587
3589
  capture: "at_action" | "historical_lookup" | "fixture";
3588
3590
  locator?: string | undefined;
3589
3591
  }[] | undefined;
@@ -3613,15 +3615,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3613
3615
  locator: z.ZodOptional<z.ZodString>;
3614
3616
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3615
3617
  }, "strict", z.ZodTypeAny, {
3616
- id: string;
3618
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
3619
  label: string;
3618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
+ id: string;
3619
3621
  capture: "at_action" | "historical_lookup" | "fixture";
3620
3622
  locator?: string | undefined;
3621
3623
  }, {
3622
- id: string;
3624
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3625
  label: string;
3624
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3626
+ id: string;
3625
3627
  capture: "at_action" | "historical_lookup" | "fixture";
3626
3628
  locator?: string | undefined;
3627
3629
  }>, "many">>;
@@ -3629,9 +3631,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3629
3631
  kind: "mission_started";
3630
3632
  title: string;
3631
3633
  evidence: {
3632
- id: string;
3634
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3633
3635
  label: string;
3634
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3636
+ id: string;
3635
3637
  capture: "at_action" | "historical_lookup" | "fixture";
3636
3638
  locator?: string | undefined;
3637
3639
  }[];
@@ -3643,9 +3645,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3643
3645
  objective: string;
3644
3646
  runMode: "replay" | "fixture" | "live";
3645
3647
  evidence?: {
3646
- id: string;
3648
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
3649
  label: string;
3648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3650
+ id: string;
3649
3651
  capture: "at_action" | "historical_lookup" | "fixture";
3650
3652
  locator?: string | undefined;
3651
3653
  }[] | undefined;
@@ -3661,15 +3663,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3661
3663
  locator: z.ZodOptional<z.ZodString>;
3662
3664
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3663
3665
  }, "strict", z.ZodTypeAny, {
3664
- id: string;
3666
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
3667
  label: string;
3666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3668
+ id: string;
3667
3669
  capture: "at_action" | "historical_lookup" | "fixture";
3668
3670
  locator?: string | undefined;
3669
3671
  }, {
3670
- id: string;
3672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3673
  label: string;
3672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3674
+ id: string;
3673
3675
  capture: "at_action" | "historical_lookup" | "fixture";
3674
3676
  locator?: string | undefined;
3675
3677
  }>, "many">>;
@@ -3677,32 +3679,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3677
3679
  sessionId: z.ZodString;
3678
3680
  kind: z.ZodLiteral<"agent_status">;
3679
3681
  }, "strict", z.ZodTypeAny, {
3680
- label: string;
3681
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3682
3682
  kind: "agent_status";
3683
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3684
+ label: string;
3683
3685
  role: string;
3684
3686
  agentId: string;
3685
3687
  sessionId: string;
3686
3688
  evidence: {
3687
- id: string;
3689
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
3690
  label: string;
3689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3691
+ id: string;
3690
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3693
  locator?: string | undefined;
3692
3694
  }[];
3693
3695
  detail?: string | undefined;
3694
3696
  }, {
3695
- label: string;
3696
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3697
3697
  kind: "agent_status";
3698
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3699
+ label: string;
3698
3700
  role: string;
3699
3701
  agentId: string;
3700
3702
  sessionId: string;
3701
3703
  detail?: string | undefined;
3702
3704
  evidence?: {
3703
- id: string;
3705
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
3706
  label: string;
3705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3707
+ id: string;
3706
3708
  capture: "at_action" | "historical_lookup" | "fixture";
3707
3709
  locator?: string | undefined;
3708
3710
  }[] | undefined;
@@ -3716,15 +3718,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3718
  locator: z.ZodOptional<z.ZodString>;
3717
3719
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3718
3720
  }, "strict", z.ZodTypeAny, {
3719
- id: string;
3721
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3722
  label: string;
3721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3723
+ id: string;
3722
3724
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3725
  locator?: string | undefined;
3724
3726
  }, {
3725
- id: string;
3727
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3728
  label: string;
3727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3729
+ id: string;
3728
3730
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3731
  locator?: string | undefined;
3730
3732
  }>, "many">>;
@@ -3732,28 +3734,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3732
3734
  sessionId: z.ZodString;
3733
3735
  kind: z.ZodLiteral<"agent_output">;
3734
3736
  }, "strict", z.ZodTypeAny, {
3735
- summary: string;
3736
3737
  kind: "agent_output";
3738
+ summary: string;
3737
3739
  agentId: string;
3738
3740
  sessionId: string;
3739
3741
  evidence: {
3740
- id: string;
3742
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
3743
  label: string;
3742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3744
+ id: string;
3743
3745
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3746
  locator?: string | undefined;
3745
3747
  }[];
3746
3748
  outputId: string;
3747
3749
  }, {
3748
- summary: string;
3749
3750
  kind: "agent_output";
3751
+ summary: string;
3750
3752
  agentId: string;
3751
3753
  sessionId: string;
3752
3754
  outputId: string;
3753
3755
  evidence?: {
3754
- id: string;
3756
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
3757
  label: string;
3756
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3758
+ id: string;
3757
3759
  capture: "at_action" | "historical_lookup" | "fixture";
3758
3760
  locator?: string | undefined;
3759
3761
  }[] | undefined;
@@ -3769,15 +3771,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3769
3771
  locator: z.ZodOptional<z.ZodString>;
3770
3772
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3771
3773
  }, "strict", z.ZodTypeAny, {
3772
- id: string;
3774
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3775
  label: string;
3774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3776
+ id: string;
3775
3777
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3778
  locator?: string | undefined;
3777
3779
  }, {
3778
- id: string;
3780
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3781
  label: string;
3780
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3782
+ id: string;
3781
3783
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3784
  locator?: string | undefined;
3783
3785
  }>, "many">>;
@@ -3790,9 +3792,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3790
3792
  statement: string;
3791
3793
  sessionId: string;
3792
3794
  evidence: {
3793
- id: string;
3795
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
3796
  label: string;
3795
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3797
+ id: string;
3796
3798
  capture: "at_action" | "historical_lookup" | "fixture";
3797
3799
  locator?: string | undefined;
3798
3800
  }[];
@@ -3808,9 +3810,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3808
3810
  decisionId: string;
3809
3811
  confidence?: number | undefined;
3810
3812
  evidence?: {
3811
- id: string;
3813
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
3814
  label: string;
3813
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3815
+ id: string;
3814
3816
  capture: "at_action" | "historical_lookup" | "fixture";
3815
3817
  locator?: string | undefined;
3816
3818
  }[] | undefined;
@@ -3827,25 +3829,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3827
3829
  locator: z.ZodOptional<z.ZodString>;
3828
3830
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3829
3831
  }, "strict", z.ZodTypeAny, {
3830
- id: string;
3832
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3833
  label: string;
3832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
+ id: string;
3833
3835
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3836
  locator?: string | undefined;
3835
3837
  }, {
3836
- id: string;
3838
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3839
  label: string;
3838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3840
+ id: string;
3839
3841
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3842
  locator?: string | undefined;
3841
3843
  }>, "many">>;
3842
3844
  }, "strict", z.ZodTypeAny, {
3843
- summary: string;
3844
3845
  kind: "conflict_detected";
3846
+ summary: string;
3845
3847
  evidence: {
3846
- id: string;
3848
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
3849
  label: string;
3848
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3850
+ id: string;
3849
3851
  capture: "at_action" | "historical_lookup" | "fixture";
3850
3852
  locator?: string | undefined;
3851
3853
  }[];
@@ -3853,15 +3855,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3853
3855
  decisionIds: string[];
3854
3856
  agentIds: string[];
3855
3857
  }, {
3856
- summary: string;
3857
3858
  kind: "conflict_detected";
3859
+ summary: string;
3858
3860
  conflictId: string;
3859
3861
  decisionIds: string[];
3860
3862
  agentIds: string[];
3861
3863
  evidence?: {
3862
- id: string;
3864
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
3865
  label: string;
3864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3866
+ id: string;
3865
3867
  capture: "at_action" | "historical_lookup" | "fixture";
3866
3868
  locator?: string | undefined;
3867
3869
  }[] | undefined;
@@ -3881,27 +3883,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3881
3883
  locator: z.ZodOptional<z.ZodString>;
3882
3884
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3883
3885
  }, "strict", z.ZodTypeAny, {
3884
- id: string;
3886
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
3887
  label: string;
3886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3888
+ id: string;
3887
3889
  capture: "at_action" | "historical_lookup" | "fixture";
3888
3890
  locator?: string | undefined;
3889
3891
  }, {
3890
- id: string;
3892
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3893
  label: string;
3892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3894
+ id: string;
3893
3895
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3896
  locator?: string | undefined;
3895
3897
  }>, "many">>;
3896
3898
  }, "strict", z.ZodTypeAny, {
3899
+ kind: "test_result";
3897
3900
  summary: string;
3898
3901
  status: "error" | "failed" | "passed";
3899
- kind: "test_result";
3900
3902
  command: string;
3901
3903
  evidence: {
3902
- id: string;
3904
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3905
  label: string;
3904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3906
+ id: string;
3905
3907
  capture: "at_action" | "historical_lookup" | "fixture";
3906
3908
  locator?: string | undefined;
3907
3909
  }[];
@@ -3910,17 +3912,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3910
3912
  durationMs?: number | undefined;
3911
3913
  correctionId?: string | undefined;
3912
3914
  }, {
3915
+ kind: "test_result";
3913
3916
  summary: string;
3914
3917
  status: "error" | "failed" | "passed";
3915
- kind: "test_result";
3916
3918
  command: string;
3917
3919
  decisionId: string;
3918
3920
  testId: string;
3919
3921
  durationMs?: number | undefined;
3920
3922
  evidence?: {
3921
- id: string;
3923
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
3924
  label: string;
3923
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3925
+ id: string;
3924
3926
  capture: "at_action" | "historical_lookup" | "fixture";
3925
3927
  locator?: string | undefined;
3926
3928
  }[] | undefined;
@@ -3941,15 +3943,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3941
3943
  locator: z.ZodOptional<z.ZodString>;
3942
3944
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3943
3945
  }, "strict", z.ZodTypeAny, {
3944
- id: string;
3946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3947
  label: string;
3946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3948
+ id: string;
3947
3949
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3950
  locator?: string | undefined;
3949
3951
  }, {
3950
- id: string;
3952
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3953
  label: string;
3952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
+ id: string;
3953
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3954
3956
  locator?: string | undefined;
3955
3957
  }>, "many">>;
@@ -3958,9 +3960,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3958
3960
  statement: string;
3959
3961
  rationale: string;
3960
3962
  evidence: {
3961
- id: string;
3963
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3962
3964
  label: string;
3963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3965
+ id: string;
3964
3966
  capture: "at_action" | "historical_lookup" | "fixture";
3965
3967
  locator?: string | undefined;
3966
3968
  }[];
@@ -3979,9 +3981,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3979
3981
  supersedesDecisionIds: string[];
3980
3982
  proposedBy: string;
3981
3983
  evidence?: {
3982
- id: string;
3984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
3985
  label: string;
3984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3986
+ id: string;
3985
3987
  capture: "at_action" | "historical_lookup" | "fixture";
3986
3988
  locator?: string | undefined;
3987
3989
  }[] | undefined;
@@ -3993,13 +3995,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3993
3995
  id: z.ZodString;
3994
3996
  label: z.ZodString;
3995
3997
  }, "strict", z.ZodTypeAny, {
3996
- id: string;
3997
- label: string;
3998
3998
  kind: "agent" | "human";
3999
- }, {
4000
- id: string;
4001
3999
  label: string;
4000
+ id: string;
4001
+ }, {
4002
4002
  kind: "agent" | "human";
4003
+ label: string;
4004
+ id: string;
4003
4005
  }>;
4004
4006
  note: z.ZodOptional<z.ZodString>;
4005
4007
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4009,47 +4011,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4009
4011
  locator: z.ZodOptional<z.ZodString>;
4010
4012
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4011
4013
  }, "strict", z.ZodTypeAny, {
4012
- id: string;
4014
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4015
  label: string;
4014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
+ id: string;
4015
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4016
4018
  locator?: string | undefined;
4017
4019
  }, {
4018
- id: string;
4020
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4021
  label: string;
4020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4022
+ id: string;
4021
4023
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4024
  locator?: string | undefined;
4023
4025
  }>, "many">>;
4024
4026
  }, "strict", z.ZodTypeAny, {
4025
4027
  kind: "correction_approved";
4026
4028
  evidence: {
4027
- id: string;
4029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4030
  label: string;
4029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4031
+ id: string;
4030
4032
  capture: "at_action" | "historical_lookup" | "fixture";
4031
4033
  locator?: string | undefined;
4032
4034
  }[];
4033
4035
  correctionId: string;
4034
4036
  approvedBy: {
4035
- id: string;
4036
- label: string;
4037
4037
  kind: "agent" | "human";
4038
+ label: string;
4039
+ id: string;
4038
4040
  };
4039
4041
  note?: string | undefined;
4040
4042
  }, {
4041
4043
  kind: "correction_approved";
4042
4044
  correctionId: string;
4043
4045
  approvedBy: {
4044
- id: string;
4045
- label: string;
4046
4046
  kind: "agent" | "human";
4047
+ label: string;
4048
+ id: string;
4047
4049
  };
4048
4050
  note?: string | undefined;
4049
4051
  evidence?: {
4050
- id: string;
4052
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
4053
  label: string;
4052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4054
+ id: string;
4053
4055
  capture: "at_action" | "historical_lookup" | "fixture";
4054
4056
  locator?: string | undefined;
4055
4057
  }[] | undefined;
@@ -4065,24 +4067,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4065
4067
  locator: z.ZodOptional<z.ZodString>;
4066
4068
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4067
4069
  }, "strict", z.ZodTypeAny, {
4068
- id: string;
4070
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4071
  label: string;
4070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
+ id: string;
4071
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4072
4074
  locator?: string | undefined;
4073
4075
  }, {
4074
- id: string;
4076
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4077
  label: string;
4076
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4078
+ id: string;
4077
4079
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4080
  locator?: string | undefined;
4079
4081
  }>, "many">>;
4080
4082
  }, "strict", z.ZodTypeAny, {
4081
4083
  kind: "decision_superseded";
4082
4084
  evidence: {
4083
- id: string;
4085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4086
  label: string;
4085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4087
+ id: string;
4086
4088
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4089
  locator?: string | undefined;
4088
4090
  }[];
@@ -4095,9 +4097,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4095
4097
  correctionId: string;
4096
4098
  replacementDecisionId: string;
4097
4099
  evidence?: {
4098
- id: string;
4100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
4101
  label: string;
4100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4102
+ id: string;
4101
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4102
4104
  locator?: string | undefined;
4103
4105
  }[] | undefined;
@@ -4113,15 +4115,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4113
4115
  locator: z.ZodOptional<z.ZodString>;
4114
4116
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4115
4117
  }, "strict", z.ZodTypeAny, {
4116
- id: string;
4118
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4119
  label: string;
4118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4120
+ id: string;
4119
4121
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4122
  locator?: string | undefined;
4121
4123
  }, {
4122
- id: string;
4124
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4125
  label: string;
4124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4126
+ id: string;
4125
4127
  capture: "at_action" | "historical_lookup" | "fixture";
4126
4128
  locator?: string | undefined;
4127
4129
  }>, "many">>;
@@ -4134,9 +4136,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4134
4136
  agentId: string;
4135
4137
  sessionId: string;
4136
4138
  evidence: {
4137
- id: string;
4139
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4140
  label: string;
4139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4141
+ id: string;
4140
4142
  capture: "at_action" | "historical_lookup" | "fixture";
4141
4143
  locator?: string | undefined;
4142
4144
  }[];
@@ -4152,9 +4154,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4152
4154
  recallReceiptId: string;
4153
4155
  capturedAtAction: boolean;
4154
4156
  evidence?: {
4155
- id: string;
4157
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4158
  label: string;
4157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4159
+ id: string;
4158
4160
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4161
  locator?: string | undefined;
4160
4162
  }[] | undefined;
@@ -4170,15 +4172,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4170
4172
  locator: z.ZodOptional<z.ZodString>;
4171
4173
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4172
4174
  }, "strict", z.ZodTypeAny, {
4173
- id: string;
4175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
4176
  label: string;
4175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4177
+ id: string;
4176
4178
  capture: "at_action" | "historical_lookup" | "fixture";
4177
4179
  locator?: string | undefined;
4178
4180
  }, {
4179
- id: string;
4181
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4182
  label: string;
4181
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4183
+ id: string;
4182
4184
  capture: "at_action" | "historical_lookup" | "fixture";
4183
4185
  locator?: string | undefined;
4184
4186
  }>, "many">>;
@@ -4190,9 +4192,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4190
4192
  agentId: string;
4191
4193
  sessionId: string;
4192
4194
  evidence: {
4193
- id: string;
4195
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
4196
  label: string;
4195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4197
+ id: string;
4196
4198
  capture: "at_action" | "historical_lookup" | "fixture";
4197
4199
  locator?: string | undefined;
4198
4200
  }[];
@@ -4209,9 +4211,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4209
4211
  recallReceiptId: string;
4210
4212
  staleDecisionAbsent: boolean;
4211
4213
  evidence?: {
4212
- id: string;
4214
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
4215
  label: string;
4214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4216
+ id: string;
4215
4217
  capture: "at_action" | "historical_lookup" | "fixture";
4216
4218
  locator?: string | undefined;
4217
4219
  }[] | undefined;
@@ -4226,37 +4228,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4226
4228
  locator: z.ZodOptional<z.ZodString>;
4227
4229
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4228
4230
  }, "strict", z.ZodTypeAny, {
4229
- id: string;
4231
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4232
  label: string;
4231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4233
+ id: string;
4232
4234
  capture: "at_action" | "historical_lookup" | "fixture";
4233
4235
  locator?: string | undefined;
4234
4236
  }, {
4235
- id: string;
4237
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4238
  label: string;
4237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4239
+ id: string;
4238
4240
  capture: "at_action" | "historical_lookup" | "fixture";
4239
4241
  locator?: string | undefined;
4240
4242
  }>, "many">>;
4241
4243
  }, "strict", z.ZodTypeAny, {
4242
- summary: string;
4243
4244
  kind: "mission_completed";
4245
+ summary: string;
4244
4246
  outcome: "failed" | "recovered" | "inconclusive";
4245
4247
  evidence: {
4246
- id: string;
4248
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4249
  label: string;
4248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4250
+ id: string;
4249
4251
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4252
  locator?: string | undefined;
4251
4253
  }[];
4252
4254
  }, {
4253
- summary: string;
4254
4255
  kind: "mission_completed";
4256
+ summary: string;
4255
4257
  outcome: "failed" | "recovered" | "inconclusive";
4256
4258
  evidence?: {
4257
- id: string;
4259
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4258
4260
  label: string;
4259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4261
+ id: string;
4260
4262
  capture: "at_action" | "historical_lookup" | "fixture";
4261
4263
  locator?: string | undefined;
4262
4264
  }[] | undefined;
@@ -4264,38 +4266,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4264
4266
  kind: "mission_started";
4265
4267
  title: string;
4266
4268
  evidence: {
4267
- id: string;
4269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4268
4270
  label: string;
4269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4271
+ id: string;
4270
4272
  capture: "at_action" | "historical_lookup" | "fixture";
4271
4273
  locator?: string | undefined;
4272
4274
  }[];
4273
4275
  objective: string;
4274
4276
  runMode: "replay" | "fixture" | "live";
4275
4277
  } | {
4276
- label: string;
4277
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4278
4278
  kind: "agent_status";
4279
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4280
+ label: string;
4279
4281
  role: string;
4280
4282
  agentId: string;
4281
4283
  sessionId: string;
4282
4284
  evidence: {
4283
- id: string;
4285
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
4286
  label: string;
4285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4287
+ id: string;
4286
4288
  capture: "at_action" | "historical_lookup" | "fixture";
4287
4289
  locator?: string | undefined;
4288
4290
  }[];
4289
4291
  detail?: string | undefined;
4290
4292
  } | {
4291
- summary: string;
4292
4293
  kind: "agent_output";
4294
+ summary: string;
4293
4295
  agentId: string;
4294
4296
  sessionId: string;
4295
4297
  evidence: {
4296
- id: string;
4298
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
4299
  label: string;
4298
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4300
+ id: string;
4299
4301
  capture: "at_action" | "historical_lookup" | "fixture";
4300
4302
  locator?: string | undefined;
4301
4303
  }[];
@@ -4306,9 +4308,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4306
4308
  statement: string;
4307
4309
  sessionId: string;
4308
4310
  evidence: {
4309
- id: string;
4311
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4310
4312
  label: string;
4311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4313
+ id: string;
4312
4314
  capture: "at_action" | "historical_lookup" | "fixture";
4313
4315
  locator?: string | undefined;
4314
4316
  }[];
@@ -4316,12 +4318,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4316
4318
  decisionId: string;
4317
4319
  confidence?: number | undefined;
4318
4320
  } | {
4319
- summary: string;
4320
4321
  kind: "conflict_detected";
4322
+ summary: string;
4321
4323
  evidence: {
4322
- id: string;
4324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4325
  label: string;
4324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4326
+ id: string;
4325
4327
  capture: "at_action" | "historical_lookup" | "fixture";
4326
4328
  locator?: string | undefined;
4327
4329
  }[];
@@ -4329,14 +4331,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4329
4331
  decisionIds: string[];
4330
4332
  agentIds: string[];
4331
4333
  } | {
4334
+ kind: "test_result";
4332
4335
  summary: string;
4333
4336
  status: "error" | "failed" | "passed";
4334
- kind: "test_result";
4335
4337
  command: string;
4336
4338
  evidence: {
4337
- id: string;
4339
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
4340
  label: string;
4339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4341
+ id: string;
4340
4342
  capture: "at_action" | "historical_lookup" | "fixture";
4341
4343
  locator?: string | undefined;
4342
4344
  }[];
@@ -4349,9 +4351,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4349
4351
  statement: string;
4350
4352
  rationale: string;
4351
4353
  evidence: {
4352
- id: string;
4354
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4353
4355
  label: string;
4354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4356
+ id: string;
4355
4357
  capture: "at_action" | "historical_lookup" | "fixture";
4356
4358
  locator?: string | undefined;
4357
4359
  }[];
@@ -4363,25 +4365,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4363
4365
  } | {
4364
4366
  kind: "correction_approved";
4365
4367
  evidence: {
4366
- id: string;
4368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4367
4369
  label: string;
4368
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4370
+ id: string;
4369
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4370
4372
  locator?: string | undefined;
4371
4373
  }[];
4372
4374
  correctionId: string;
4373
4375
  approvedBy: {
4374
- id: string;
4375
- label: string;
4376
4376
  kind: "agent" | "human";
4377
+ label: string;
4378
+ id: string;
4377
4379
  };
4378
4380
  note?: string | undefined;
4379
4381
  } | {
4380
4382
  kind: "decision_superseded";
4381
4383
  evidence: {
4382
- id: string;
4384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4385
  label: string;
4384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
+ id: string;
4385
4387
  capture: "at_action" | "historical_lookup" | "fixture";
4386
4388
  locator?: string | undefined;
4387
4389
  }[];
@@ -4394,9 +4396,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4394
4396
  agentId: string;
4395
4397
  sessionId: string;
4396
4398
  evidence: {
4397
- id: string;
4399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
4400
  label: string;
4399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
+ id: string;
4400
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4401
4403
  locator?: string | undefined;
4402
4404
  }[];
@@ -4408,9 +4410,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4408
4410
  agentId: string;
4409
4411
  sessionId: string;
4410
4412
  evidence: {
4411
- id: string;
4413
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4414
  label: string;
4413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4415
+ id: string;
4414
4416
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4417
  locator?: string | undefined;
4416
4418
  }[];
@@ -4419,13 +4421,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4421
  recallReceiptId: string;
4420
4422
  staleDecisionAbsent: boolean;
4421
4423
  } | {
4422
- summary: string;
4423
4424
  kind: "mission_completed";
4425
+ summary: string;
4424
4426
  outcome: "failed" | "recovered" | "inconclusive";
4425
4427
  evidence: {
4426
- id: string;
4428
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4429
  label: string;
4428
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
+ id: string;
4429
4431
  capture: "at_action" | "historical_lookup" | "fixture";
4430
4432
  locator?: string | undefined;
4431
4433
  }[];
@@ -4435,37 +4437,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4435
4437
  objective: string;
4436
4438
  runMode: "replay" | "fixture" | "live";
4437
4439
  evidence?: {
4438
- id: string;
4440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4439
4441
  label: string;
4440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
+ id: string;
4441
4443
  capture: "at_action" | "historical_lookup" | "fixture";
4442
4444
  locator?: string | undefined;
4443
4445
  }[] | undefined;
4444
4446
  } | {
4445
- label: string;
4446
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4447
4447
  kind: "agent_status";
4448
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4449
+ label: string;
4448
4450
  role: string;
4449
4451
  agentId: string;
4450
4452
  sessionId: string;
4451
4453
  detail?: string | undefined;
4452
4454
  evidence?: {
4453
- id: string;
4455
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4454
4456
  label: string;
4455
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
+ id: string;
4456
4458
  capture: "at_action" | "historical_lookup" | "fixture";
4457
4459
  locator?: string | undefined;
4458
4460
  }[] | undefined;
4459
4461
  } | {
4460
- summary: string;
4461
4462
  kind: "agent_output";
4463
+ summary: string;
4462
4464
  agentId: string;
4463
4465
  sessionId: string;
4464
4466
  outputId: string;
4465
4467
  evidence?: {
4466
- id: string;
4468
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4467
4469
  label: string;
4468
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4470
+ id: string;
4469
4471
  capture: "at_action" | "historical_lookup" | "fixture";
4470
4472
  locator?: string | undefined;
4471
4473
  }[] | undefined;
@@ -4478,37 +4480,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4478
4480
  decisionId: string;
4479
4481
  confidence?: number | undefined;
4480
4482
  evidence?: {
4481
- id: string;
4483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4482
4484
  label: string;
4483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4485
+ id: string;
4484
4486
  capture: "at_action" | "historical_lookup" | "fixture";
4485
4487
  locator?: string | undefined;
4486
4488
  }[] | undefined;
4487
4489
  } | {
4488
- summary: string;
4489
4490
  kind: "conflict_detected";
4491
+ summary: string;
4490
4492
  conflictId: string;
4491
4493
  decisionIds: string[];
4492
4494
  agentIds: string[];
4493
4495
  evidence?: {
4494
- id: string;
4496
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4495
4497
  label: string;
4496
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4498
+ id: string;
4497
4499
  capture: "at_action" | "historical_lookup" | "fixture";
4498
4500
  locator?: string | undefined;
4499
4501
  }[] | undefined;
4500
4502
  } | {
4503
+ kind: "test_result";
4501
4504
  summary: string;
4502
4505
  status: "error" | "failed" | "passed";
4503
- kind: "test_result";
4504
4506
  command: string;
4505
4507
  decisionId: string;
4506
4508
  testId: string;
4507
4509
  durationMs?: number | undefined;
4508
4510
  evidence?: {
4509
- id: string;
4511
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4512
  label: string;
4511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4513
+ id: string;
4512
4514
  capture: "at_action" | "historical_lookup" | "fixture";
4513
4515
  locator?: string | undefined;
4514
4516
  }[] | undefined;
@@ -4523,9 +4525,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4523
4525
  supersedesDecisionIds: string[];
4524
4526
  proposedBy: string;
4525
4527
  evidence?: {
4526
- id: string;
4528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
4529
  label: string;
4528
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4530
+ id: string;
4529
4531
  capture: "at_action" | "historical_lookup" | "fixture";
4530
4532
  locator?: string | undefined;
4531
4533
  }[] | undefined;
@@ -4533,15 +4535,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4533
4535
  kind: "correction_approved";
4534
4536
  correctionId: string;
4535
4537
  approvedBy: {
4536
- id: string;
4537
- label: string;
4538
4538
  kind: "agent" | "human";
4539
+ label: string;
4540
+ id: string;
4539
4541
  };
4540
4542
  note?: string | undefined;
4541
4543
  evidence?: {
4542
- id: string;
4544
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4545
  label: string;
4544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4546
+ id: string;
4545
4547
  capture: "at_action" | "historical_lookup" | "fixture";
4546
4548
  locator?: string | undefined;
4547
4549
  }[] | undefined;
@@ -4551,9 +4553,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4551
4553
  correctionId: string;
4552
4554
  replacementDecisionId: string;
4553
4555
  evidence?: {
4554
- id: string;
4556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4557
  label: string;
4556
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
+ id: string;
4557
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4558
4560
  locator?: string | undefined;
4559
4561
  }[] | undefined;
@@ -4566,9 +4568,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4566
4568
  recallReceiptId: string;
4567
4569
  capturedAtAction: boolean;
4568
4570
  evidence?: {
4569
- id: string;
4571
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
4572
  label: string;
4571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4573
+ id: string;
4572
4574
  capture: "at_action" | "historical_lookup" | "fixture";
4573
4575
  locator?: string | undefined;
4574
4576
  }[] | undefined;
@@ -4581,64 +4583,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4581
4583
  recallReceiptId: string;
4582
4584
  staleDecisionAbsent: boolean;
4583
4585
  evidence?: {
4584
- id: string;
4586
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
4587
  label: string;
4586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4588
+ id: string;
4587
4589
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4590
  locator?: string | undefined;
4589
4591
  }[] | undefined;
4590
4592
  } | {
4591
- summary: string;
4592
4593
  kind: "mission_completed";
4594
+ summary: string;
4593
4595
  outcome: "failed" | "recovered" | "inconclusive";
4594
4596
  evidence?: {
4595
- id: string;
4597
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
4598
  label: string;
4597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4599
+ id: string;
4598
4600
  capture: "at_action" | "historical_lookup" | "fixture";
4599
4601
  locator?: string | undefined;
4600
4602
  }[] | undefined;
4601
4603
  }>;
4602
4604
  }, "strict", z.ZodTypeAny, {
4603
- namespace: string;
4604
- recordedAt: string;
4605
4605
  schemaVersion: "1";
4606
+ recordedAt: string;
4606
4607
  payload: {
4607
4608
  kind: "mission_started";
4608
4609
  title: string;
4609
4610
  evidence: {
4610
- id: string;
4611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4611
4612
  label: string;
4612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
+ id: string;
4613
4614
  capture: "at_action" | "historical_lookup" | "fixture";
4614
4615
  locator?: string | undefined;
4615
4616
  }[];
4616
4617
  objective: string;
4617
4618
  runMode: "replay" | "fixture" | "live";
4618
4619
  } | {
4619
- label: string;
4620
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4621
4620
  kind: "agent_status";
4621
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4622
+ label: string;
4622
4623
  role: string;
4623
4624
  agentId: string;
4624
4625
  sessionId: string;
4625
4626
  evidence: {
4626
- id: string;
4627
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4627
4628
  label: string;
4628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4629
+ id: string;
4629
4630
  capture: "at_action" | "historical_lookup" | "fixture";
4630
4631
  locator?: string | undefined;
4631
4632
  }[];
4632
4633
  detail?: string | undefined;
4633
4634
  } | {
4634
- summary: string;
4635
4635
  kind: "agent_output";
4636
+ summary: string;
4636
4637
  agentId: string;
4637
4638
  sessionId: string;
4638
4639
  evidence: {
4639
- id: string;
4640
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
4641
  label: string;
4641
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4642
+ id: string;
4642
4643
  capture: "at_action" | "historical_lookup" | "fixture";
4643
4644
  locator?: string | undefined;
4644
4645
  }[];
@@ -4649,9 +4650,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4649
4650
  statement: string;
4650
4651
  sessionId: string;
4651
4652
  evidence: {
4652
- id: string;
4653
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4653
4654
  label: string;
4654
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4655
+ id: string;
4655
4656
  capture: "at_action" | "historical_lookup" | "fixture";
4656
4657
  locator?: string | undefined;
4657
4658
  }[];
@@ -4659,12 +4660,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4659
4660
  decisionId: string;
4660
4661
  confidence?: number | undefined;
4661
4662
  } | {
4662
- summary: string;
4663
4663
  kind: "conflict_detected";
4664
+ summary: string;
4664
4665
  evidence: {
4665
- id: string;
4666
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
4667
  label: string;
4667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4668
+ id: string;
4668
4669
  capture: "at_action" | "historical_lookup" | "fixture";
4669
4670
  locator?: string | undefined;
4670
4671
  }[];
@@ -4672,14 +4673,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4672
4673
  decisionIds: string[];
4673
4674
  agentIds: string[];
4674
4675
  } | {
4676
+ kind: "test_result";
4675
4677
  summary: string;
4676
4678
  status: "error" | "failed" | "passed";
4677
- kind: "test_result";
4678
4679
  command: string;
4679
4680
  evidence: {
4680
- id: string;
4681
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4681
4682
  label: string;
4682
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4683
+ id: string;
4683
4684
  capture: "at_action" | "historical_lookup" | "fixture";
4684
4685
  locator?: string | undefined;
4685
4686
  }[];
@@ -4692,9 +4693,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4692
4693
  statement: string;
4693
4694
  rationale: string;
4694
4695
  evidence: {
4695
- id: string;
4696
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4696
4697
  label: string;
4697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4698
+ id: string;
4698
4699
  capture: "at_action" | "historical_lookup" | "fixture";
4699
4700
  locator?: string | undefined;
4700
4701
  }[];
@@ -4706,25 +4707,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4706
4707
  } | {
4707
4708
  kind: "correction_approved";
4708
4709
  evidence: {
4709
- id: string;
4710
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4710
4711
  label: string;
4711
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4712
+ id: string;
4712
4713
  capture: "at_action" | "historical_lookup" | "fixture";
4713
4714
  locator?: string | undefined;
4714
4715
  }[];
4715
4716
  correctionId: string;
4716
4717
  approvedBy: {
4717
- id: string;
4718
- label: string;
4719
4718
  kind: "agent" | "human";
4719
+ label: string;
4720
+ id: string;
4720
4721
  };
4721
4722
  note?: string | undefined;
4722
4723
  } | {
4723
4724
  kind: "decision_superseded";
4724
4725
  evidence: {
4725
- id: string;
4726
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4726
4727
  label: string;
4727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4728
+ id: string;
4728
4729
  capture: "at_action" | "historical_lookup" | "fixture";
4729
4730
  locator?: string | undefined;
4730
4731
  }[];
@@ -4737,9 +4738,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4737
4738
  agentId: string;
4738
4739
  sessionId: string;
4739
4740
  evidence: {
4740
- id: string;
4741
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4741
4742
  label: string;
4742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4743
+ id: string;
4743
4744
  capture: "at_action" | "historical_lookup" | "fixture";
4744
4745
  locator?: string | undefined;
4745
4746
  }[];
@@ -4751,9 +4752,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4751
4752
  agentId: string;
4752
4753
  sessionId: string;
4753
4754
  evidence: {
4754
- id: string;
4755
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4755
4756
  label: string;
4756
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4757
+ id: string;
4757
4758
  capture: "at_action" | "historical_lookup" | "fixture";
4758
4759
  locator?: string | undefined;
4759
4760
  }[];
@@ -4762,63 +4763,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4762
4763
  recallReceiptId: string;
4763
4764
  staleDecisionAbsent: boolean;
4764
4765
  } | {
4765
- summary: string;
4766
4766
  kind: "mission_completed";
4767
+ summary: string;
4767
4768
  outcome: "failed" | "recovered" | "inconclusive";
4768
4769
  evidence: {
4769
- id: string;
4770
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4770
4771
  label: string;
4771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4772
+ id: string;
4772
4773
  capture: "at_action" | "historical_lookup" | "fixture";
4773
4774
  locator?: string | undefined;
4774
4775
  }[];
4775
4776
  };
4777
+ namespace: string;
4776
4778
  eventId: string;
4777
4779
  occurredAt: string;
4778
4780
  missionId: string;
4779
4781
  idempotencyKey?: string | undefined;
4780
4782
  authenticatedPrincipal?: string | undefined;
4781
4783
  }, {
4782
- namespace: string;
4783
- recordedAt: string;
4784
4784
  schemaVersion: "1";
4785
+ recordedAt: string;
4785
4786
  payload: {
4786
4787
  kind: "mission_started";
4787
4788
  title: string;
4788
4789
  objective: string;
4789
4790
  runMode: "replay" | "fixture" | "live";
4790
4791
  evidence?: {
4791
- id: string;
4792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4792
4793
  label: string;
4793
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4794
+ id: string;
4794
4795
  capture: "at_action" | "historical_lookup" | "fixture";
4795
4796
  locator?: string | undefined;
4796
4797
  }[] | undefined;
4797
4798
  } | {
4798
- label: string;
4799
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4800
4799
  kind: "agent_status";
4800
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4801
+ label: string;
4801
4802
  role: string;
4802
4803
  agentId: string;
4803
4804
  sessionId: string;
4804
4805
  detail?: string | undefined;
4805
4806
  evidence?: {
4806
- id: string;
4807
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4807
4808
  label: string;
4808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4809
+ id: string;
4809
4810
  capture: "at_action" | "historical_lookup" | "fixture";
4810
4811
  locator?: string | undefined;
4811
4812
  }[] | undefined;
4812
4813
  } | {
4813
- summary: string;
4814
4814
  kind: "agent_output";
4815
+ summary: string;
4815
4816
  agentId: string;
4816
4817
  sessionId: string;
4817
4818
  outputId: string;
4818
4819
  evidence?: {
4819
- id: string;
4820
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4820
4821
  label: string;
4821
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4822
+ id: string;
4822
4823
  capture: "at_action" | "historical_lookup" | "fixture";
4823
4824
  locator?: string | undefined;
4824
4825
  }[] | undefined;
@@ -4831,37 +4832,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4831
4832
  decisionId: string;
4832
4833
  confidence?: number | undefined;
4833
4834
  evidence?: {
4834
- id: string;
4835
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4835
4836
  label: string;
4836
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4837
+ id: string;
4837
4838
  capture: "at_action" | "historical_lookup" | "fixture";
4838
4839
  locator?: string | undefined;
4839
4840
  }[] | undefined;
4840
4841
  } | {
4841
- summary: string;
4842
4842
  kind: "conflict_detected";
4843
+ summary: string;
4843
4844
  conflictId: string;
4844
4845
  decisionIds: string[];
4845
4846
  agentIds: string[];
4846
4847
  evidence?: {
4847
- id: string;
4848
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4848
4849
  label: string;
4849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4850
+ id: string;
4850
4851
  capture: "at_action" | "historical_lookup" | "fixture";
4851
4852
  locator?: string | undefined;
4852
4853
  }[] | undefined;
4853
4854
  } | {
4855
+ kind: "test_result";
4854
4856
  summary: string;
4855
4857
  status: "error" | "failed" | "passed";
4856
- kind: "test_result";
4857
4858
  command: string;
4858
4859
  decisionId: string;
4859
4860
  testId: string;
4860
4861
  durationMs?: number | undefined;
4861
4862
  evidence?: {
4862
- id: string;
4863
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4863
4864
  label: string;
4864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4865
+ id: string;
4865
4866
  capture: "at_action" | "historical_lookup" | "fixture";
4866
4867
  locator?: string | undefined;
4867
4868
  }[] | undefined;
@@ -4876,9 +4877,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4876
4877
  supersedesDecisionIds: string[];
4877
4878
  proposedBy: string;
4878
4879
  evidence?: {
4879
- id: string;
4880
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4880
4881
  label: string;
4881
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4882
+ id: string;
4882
4883
  capture: "at_action" | "historical_lookup" | "fixture";
4883
4884
  locator?: string | undefined;
4884
4885
  }[] | undefined;
@@ -4886,15 +4887,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4886
4887
  kind: "correction_approved";
4887
4888
  correctionId: string;
4888
4889
  approvedBy: {
4889
- id: string;
4890
- label: string;
4891
4890
  kind: "agent" | "human";
4891
+ label: string;
4892
+ id: string;
4892
4893
  };
4893
4894
  note?: string | undefined;
4894
4895
  evidence?: {
4895
- id: string;
4896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
4897
  label: string;
4897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4898
+ id: string;
4898
4899
  capture: "at_action" | "historical_lookup" | "fixture";
4899
4900
  locator?: string | undefined;
4900
4901
  }[] | undefined;
@@ -4904,9 +4905,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4904
4905
  correctionId: string;
4905
4906
  replacementDecisionId: string;
4906
4907
  evidence?: {
4907
- id: string;
4908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4908
4909
  label: string;
4909
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4910
+ id: string;
4910
4911
  capture: "at_action" | "historical_lookup" | "fixture";
4911
4912
  locator?: string | undefined;
4912
4913
  }[] | undefined;
@@ -4919,9 +4920,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4919
4920
  recallReceiptId: string;
4920
4921
  capturedAtAction: boolean;
4921
4922
  evidence?: {
4922
- id: string;
4923
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4923
4924
  label: string;
4924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4925
+ id: string;
4925
4926
  capture: "at_action" | "historical_lookup" | "fixture";
4926
4927
  locator?: string | undefined;
4927
4928
  }[] | undefined;
@@ -4934,24 +4935,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4934
4935
  recallReceiptId: string;
4935
4936
  staleDecisionAbsent: boolean;
4936
4937
  evidence?: {
4937
- id: string;
4938
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4938
4939
  label: string;
4939
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4940
+ id: string;
4940
4941
  capture: "at_action" | "historical_lookup" | "fixture";
4941
4942
  locator?: string | undefined;
4942
4943
  }[] | undefined;
4943
4944
  } | {
4944
- summary: string;
4945
4945
  kind: "mission_completed";
4946
+ summary: string;
4946
4947
  outcome: "failed" | "recovered" | "inconclusive";
4947
4948
  evidence?: {
4948
- id: string;
4949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4949
4950
  label: string;
4950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4951
+ id: string;
4951
4952
  capture: "at_action" | "historical_lookup" | "fixture";
4952
4953
  locator?: string | undefined;
4953
4954
  }[] | undefined;
4954
4955
  };
4956
+ namespace: string;
4955
4957
  eventId: string;
4956
4958
  occurredAt: string;
4957
4959
  missionId: string;