@remnic/core 9.69.10 → 9.69.12

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 (580) hide show
  1. package/dist/access-admin-ops-surface.d.ts +15 -13
  2. package/dist/access-admin-ops-surface.js +46 -34
  3. package/dist/access-authorization-probe.d.ts +13 -11
  4. package/dist/access-authorization-probe.js +47 -35
  5. package/dist/access-boundary.d.ts +13 -11
  6. package/dist/access-boundary.js +46 -34
  7. package/dist/access-cli.js +108 -97
  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 +46 -34
  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 +48 -36
  18. package/dist/access-http.d.ts +14 -12
  19. package/dist/access-http.js +67 -53
  20. package/dist/access-identity-continuity-surface.d.ts +10 -9
  21. package/dist/access-identity-continuity-surface.js +46 -34
  22. package/dist/access-lcm-surface.d.ts +13 -11
  23. package/dist/access-lcm-surface.js +46 -34
  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 +58 -45
  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 +46 -34
  31. package/dist/access-observe-write-surface.d.ts +15 -13
  32. package/dist/access-observe-write-surface.js +46 -34
  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 +49 -37
  36. package/dist/access-operations.d.ts +19 -17
  37. package/dist/access-operations.js +54 -42
  38. package/dist/access-recall-concurrency.d.ts +13 -11
  39. package/dist/access-recall-concurrency.js +46 -34
  40. package/dist/access-recall-response.d.ts +13 -11
  41. package/dist/access-recall-response.js +46 -34
  42. package/dist/access-recall-surface.d.ts +13 -11
  43. package/dist/access-recall-surface.js +46 -34
  44. package/dist/access-schema.d.ts +107 -90
  45. package/dist/access-schema.js +7 -5
  46. package/dist/{access-service-DcfM0Vf0.d.ts → access-service-Baz5xW5X.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 +46 -34
  50. package/dist/access-surface-catalog.d.ts +13 -11
  51. package/dist/access-surface-catalog.js +50 -36
  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 +13 -13
  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 +16 -16
  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-D5VPIJN3.js → chunk-227WJVPY.js} +2 -2
  86. package/dist/{chunk-Y3BWCIY2.js → chunk-2EHDPHMD.js} +2 -2
  87. package/dist/{chunk-2LKW6OO7.js → chunk-2XJDAEAM.js} +2 -2
  88. package/dist/{chunk-P23JWI3D.js → chunk-3ITTF7YH.js} +52 -52
  89. package/dist/{chunk-3DT2F5OI.js → chunk-3YKOFCKP.js} +11 -6
  90. package/dist/chunk-3YKOFCKP.js.map +1 -0
  91. package/dist/{chunk-NGP2FPB2.js → chunk-4UVDLNHQ.js} +2 -2
  92. package/dist/{chunk-HXWOVCS6.js → chunk-4WIKMOE3.js} +44 -22
  93. package/dist/chunk-4WIKMOE3.js.map +1 -0
  94. package/dist/{chunk-6RPB2TDG.js → chunk-5HO3QBAD.js} +11 -6
  95. package/dist/chunk-5HO3QBAD.js.map +1 -0
  96. package/dist/{chunk-AYWPIH4M.js → chunk-5P2KNFJZ.js} +149 -25
  97. package/dist/chunk-5P2KNFJZ.js.map +1 -0
  98. package/dist/{chunk-FJMIQTMH.js → chunk-5YQ7RFSO.js} +2 -2
  99. package/dist/{chunk-KQAFEZQX.js → chunk-7LCGFUMB.js} +4 -4
  100. package/dist/{chunk-EESYTBXV.js → chunk-7NCUHD5U.js} +2 -2
  101. package/dist/{chunk-X574KX52.js → chunk-7ZMU4XQT.js} +2 -2
  102. package/dist/{chunk-SG3Z67FB.js → chunk-APZXA4WI.js} +2 -2
  103. package/dist/{chunk-2QSZNTDO.js → chunk-AU7Q3LSC.js} +4 -4
  104. package/dist/{chunk-VGMRI4J6.js → chunk-B75VCEX5.js} +4 -4
  105. package/dist/{chunk-D35XLYQ7.js → chunk-BE4Y6GK6.js} +11 -11
  106. package/dist/{chunk-ELKD5PCD.js → chunk-BEXFNGQ3.js} +3 -3
  107. package/dist/{chunk-U5SRTYFS.js → chunk-BFDOBESV.js} +2 -2
  108. package/dist/{chunk-OLT3YTDH.js → chunk-BIJAWZYW.js} +4 -4
  109. package/dist/{chunk-FU2NYFX6.js → chunk-BO4PWIJY.js} +3 -3
  110. package/dist/{chunk-JMAG7WZ7.js → chunk-BX6GW4KC.js} +2 -2
  111. package/dist/chunk-CC37E3QM.js +198 -0
  112. package/dist/chunk-CC37E3QM.js.map +1 -0
  113. package/dist/{chunk-J2R275FN.js → chunk-CTCGHNWN.js} +4 -4
  114. package/dist/{chunk-X5PIDJ3L.js → chunk-DA4ZMCBU.js} +3 -3
  115. package/dist/{chunk-IVAW3HBF.js → chunk-DH3V7RCQ.js} +21 -13
  116. package/dist/chunk-DH3V7RCQ.js.map +1 -0
  117. package/dist/chunk-DXFG2VGN.js +50 -0
  118. package/dist/chunk-DXFG2VGN.js.map +1 -0
  119. package/dist/{chunk-4OFKZAJG.js → chunk-EAARGPWI.js} +2 -1
  120. package/dist/chunk-EAARGPWI.js.map +1 -0
  121. package/dist/{chunk-H6RSANGQ.js → chunk-ETZ7KKOS.js} +2 -2
  122. package/dist/{chunk-K4E3Y3ZX.js → chunk-G7VEQEMG.js} +2 -1
  123. package/dist/chunk-G7VEQEMG.js.map +1 -0
  124. package/dist/{chunk-XZBXINXZ.js → chunk-GIC6BASP.js} +4 -4
  125. package/dist/{chunk-SXQZMC7R.js → chunk-GR4C3FHT.js} +2 -2
  126. package/dist/{chunk-7DYGPGCT.js → chunk-H5IIBGDM.js} +2 -2
  127. package/dist/{chunk-CNNXMIS6.js → chunk-HFRGCNFY.js} +10 -10
  128. package/dist/chunk-HRATODNO.js +28 -0
  129. package/dist/chunk-HRATODNO.js.map +1 -0
  130. package/dist/{chunk-MAG6M3B6.js → chunk-HTOWFFAI.js} +2 -2
  131. package/dist/chunk-HUSTM6PU.js +27 -0
  132. package/dist/chunk-HUSTM6PU.js.map +1 -0
  133. package/dist/{chunk-FOCMJEHH.js → chunk-I4QAH4SY.js} +3 -3
  134. package/dist/{chunk-FSGCXGK6.js → chunk-I6DUKBUI.js} +2 -2
  135. package/dist/{chunk-VI637ILW.js → chunk-IN673LEP.js} +48 -15
  136. package/dist/chunk-IN673LEP.js.map +1 -0
  137. package/dist/{chunk-6FUMA6AA.js → chunk-JGXMA6HL.js} +2 -2
  138. package/dist/{chunk-TA7UZZMW.js → chunk-JHTF22NQ.js} +2 -2
  139. package/dist/{chunk-DZ3CNJPB.js → chunk-LDOQE34V.js} +2 -2
  140. package/dist/{chunk-MEW53VQJ.js → chunk-LDWIPYJ6.js} +7 -7
  141. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  142. package/dist/{chunk-KJTSWJZN.js → chunk-LF6SHWVV.js} +2 -2
  143. package/dist/{chunk-G6OZZX7P.js → chunk-LJAP4KSW.js} +2 -2
  144. package/dist/{chunk-NV6BTBUI.js → chunk-LJNLLNEM.js} +2 -2
  145. package/dist/{chunk-FFFZEF6B.js → chunk-LUDXSSTW.js} +2 -2
  146. package/dist/{chunk-PCH2CVCS.js → chunk-LWBSEYW3.js} +6 -6
  147. package/dist/chunk-M6RORUO5.js +59 -0
  148. package/dist/chunk-M6RORUO5.js.map +1 -0
  149. package/dist/{chunk-FMUJGGKW.js → chunk-M7DGN6JZ.js} +3 -3
  150. package/dist/{chunk-TZIHB2LP.js → chunk-MNH2GM4O.js} +5 -5
  151. package/dist/{chunk-RACZB5HT.js → chunk-N37X5RU7.js} +4 -4
  152. package/dist/{chunk-LK4TOYPU.js → chunk-NF3NMAG7.js} +2 -2
  153. package/dist/{chunk-QL4U3SJA.js → chunk-NHLEFBE2.js} +11 -3
  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-AG46P24C.js → chunk-NNBZS3DY.js} +4 -4
  158. package/dist/{chunk-LZ2JTO7N.js → chunk-OASGWNYL.js} +2 -2
  159. package/dist/chunk-OEDW4ER7.js +62 -0
  160. package/dist/chunk-OEDW4ER7.js.map +1 -0
  161. package/dist/{chunk-C2JCVZWX.js → chunk-OLBZ2WGG.js} +2 -2
  162. package/dist/{chunk-Z3SQEEB6.js → chunk-OUKBMQ2O.js} +2 -2
  163. package/dist/{chunk-XXW32OL7.js → chunk-OYV6RKPM.js} +1 -1
  164. package/dist/chunk-OYV6RKPM.js.map +1 -0
  165. package/dist/{chunk-2Z3DG5CQ.js → chunk-P6GKRT2H.js} +1 -1
  166. package/dist/{chunk-UGA6PZTX.js → chunk-P7LVYPIX.js} +3 -3
  167. package/dist/{chunk-26JWBSWD.js → chunk-PGCZLHRB.js} +11 -3
  168. package/dist/chunk-PGCZLHRB.js.map +1 -0
  169. package/dist/{chunk-VE45LRCE.js → chunk-QRDSXR3V.js} +2 -2
  170. package/dist/{chunk-KS67VHXA.js → chunk-QUVWFZOU.js} +2 -2
  171. package/dist/{chunk-AI4QFDPR.js → chunk-R7FXPG4T.js} +2 -2
  172. package/dist/chunk-RF2SMMPP.js +37 -0
  173. package/dist/chunk-RF2SMMPP.js.map +1 -0
  174. package/dist/{chunk-X66BHMAU.js → chunk-RJ57OOCD.js} +2 -2
  175. package/dist/chunk-S5G2LAL7.js +354 -0
  176. package/dist/chunk-S5G2LAL7.js.map +1 -0
  177. package/dist/{chunk-VXMKW7YN.js → chunk-TRLCMLX7.js} +2 -2
  178. package/dist/{chunk-ELCMVOQT.js → chunk-V3HUBF7T.js} +2 -2
  179. package/dist/{chunk-KMIAD7JR.js → chunk-VHAKBUBD.js} +2 -2
  180. package/dist/{chunk-GS5IFIVE.js → chunk-VYD63IFH.js} +3 -3
  181. package/dist/chunk-VZIAVM72.js +49 -0
  182. package/dist/chunk-VZIAVM72.js.map +1 -0
  183. package/dist/chunk-WTWQA7BB.js +28 -0
  184. package/dist/chunk-WTWQA7BB.js.map +1 -0
  185. package/dist/{chunk-TBRG2SYY.js → chunk-X4FIZAVQ.js} +94 -52
  186. package/dist/chunk-X4FIZAVQ.js.map +1 -0
  187. package/dist/{chunk-WSFPNCRA.js → chunk-XFPHV65N.js} +2 -2
  188. package/dist/{chunk-JCUG7AXZ.js → chunk-XJJYSX6F.js} +4 -4
  189. package/dist/{chunk-I6DURYZI.js → chunk-XMIAU4CO.js} +2 -2
  190. package/dist/{chunk-PJIGYPO5.js → chunk-XQGFIAG7.js} +2 -2
  191. package/dist/{chunk-B2URC6LJ.js → chunk-YWN3GYI2.js} +2 -2
  192. package/dist/{chunk-TG6JEJDV.js → chunk-Z33VUMKY.js} +3 -3
  193. package/dist/{cli-CFpMhqz5.d.ts → cli-CMtkGBdz.d.ts} +5 -5
  194. package/dist/cli.d.ts +15 -13
  195. package/dist/cli.js +88 -77
  196. package/dist/coding/export-okf-codegraph.d.ts +2 -1
  197. package/dist/coding/export-okf-codegraph.js +13 -13
  198. package/dist/coding/pre-action-gate.d.ts +2 -1
  199. package/dist/coding/pre-action-gate.js +2 -2
  200. package/dist/compounding/engine.d.ts +3 -2
  201. package/dist/compounding/engine.js +15 -14
  202. package/dist/compounding/preference-consolidator.d.ts +2 -1
  203. package/dist/compression-optimizer.d.ts +2 -1
  204. package/dist/config.d.ts +2 -1
  205. package/dist/config.js +6 -5
  206. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  207. package/dist/connectors/codex-materialize-runner.js +13 -13
  208. package/dist/connectors/codex-materialize.d.ts +2 -1
  209. package/dist/connectors/index.d.ts +2 -1
  210. package/dist/connectors/index.js +13 -13
  211. package/dist/consolidation-provenance-check.d.ts +3 -2
  212. package/dist/consolidation-undo.d.ts +3 -2
  213. package/dist/contradiction/index.d.ts +4 -3
  214. package/dist/converge-config.d.ts +2 -1
  215. package/dist/convergence-refresh.d.ts +3 -2
  216. package/dist/convergence-refresh.js +15 -15
  217. package/dist/conversation-index/backend.d.ts +2 -1
  218. package/dist/conversation-index/backend.js +2 -2
  219. package/dist/conversation-index/chunker.d.ts +2 -1
  220. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  221. package/dist/conversation-index/indexer.d.ts +2 -1
  222. package/dist/conversation-index/search.d.ts +2 -1
  223. package/dist/corpus-watermark.d.ts +2 -1
  224. package/dist/corpus-watermark.js +15 -15
  225. package/dist/cross-lingual-recall.d.ts +2 -1
  226. package/dist/day-summary.d.ts +2 -1
  227. package/dist/deep-recall-config.d.ts +32 -0
  228. package/dist/deep-recall-config.js +12 -0
  229. package/dist/deep-recall-http-glue.d.ts +170 -0
  230. package/dist/deep-recall-http-glue.js +31 -0
  231. package/dist/deep-recall-http-glue.js.map +1 -0
  232. package/dist/deep-recall-mcp-tools.d.ts +144 -0
  233. package/dist/deep-recall-mcp-tools.js +8 -0
  234. package/dist/deep-recall-mcp-tools.js.map +1 -0
  235. package/dist/deep-recall-policy-llm.d.ts +37 -0
  236. package/dist/deep-recall-policy-llm.js +19 -0
  237. package/dist/deep-recall-policy-llm.js.map +1 -0
  238. package/dist/deep-recall-renderer.d.ts +16 -0
  239. package/dist/deep-recall-renderer.js +8 -0
  240. package/dist/deep-recall-renderer.js.map +1 -0
  241. package/dist/deep-recall-seeds.d.ts +83 -0
  242. package/dist/deep-recall-seeds.js +8 -0
  243. package/dist/deep-recall-seeds.js.map +1 -0
  244. package/dist/deep-recall.d.ts +97 -0
  245. package/dist/deep-recall.js +13 -0
  246. package/dist/deep-recall.js.map +1 -0
  247. package/dist/delinearize.d.ts +2 -1
  248. package/dist/dependency-propagation-config.d.ts +2 -1
  249. package/dist/{dependency-propagation-delivery-BC3bCEet.d.ts → dependency-propagation-delivery-BZGUecZf.d.ts} +1 -1
  250. package/dist/direct-answer-wiring.d.ts +2 -1
  251. package/dist/direct-answer.d.ts +2 -1
  252. package/dist/embedding-fallback.d.ts +2 -1
  253. package/dist/enrichment/index.d.ts +2 -1
  254. package/dist/entity-origin-fields.d.ts +2 -1
  255. package/dist/entity-retrieval.d.ts +3 -2
  256. package/dist/entity-retrieval.js +13 -13
  257. package/dist/entity-schema.d.ts +2 -1
  258. package/dist/episodic-context.d.ts +2 -1
  259. package/dist/eval-trajectory-contracts.d.ts +2 -1
  260. package/dist/eval-trajectory-store.d.ts +2 -1
  261. package/dist/eval-trajectory.d.ts +2 -1
  262. package/dist/explicit-capture.d.ts +10 -9
  263. package/dist/external-wiki-access.d.ts +13 -11
  264. package/dist/external-wiki-access.js +47 -35
  265. package/dist/external-wiki-collection-registration.d.ts +2 -1
  266. package/dist/external-wiki-collection.d.ts +2 -1
  267. package/dist/external-wiki-mcp-tools.d.ts +13 -11
  268. package/dist/extraction-error-classification.d.ts +2 -1
  269. package/dist/extraction-faithfulness.d.ts +2 -1
  270. package/dist/extraction-judge-telemetry.d.ts +2 -1
  271. package/dist/extraction-judge-training.d.ts +2 -1
  272. package/dist/extraction-judge.d.ts +2 -1
  273. package/dist/extraction-liveness.d.ts +2 -1
  274. package/dist/extraction-normalization.d.ts +2 -1
  275. package/dist/extraction-prompt.d.ts +2 -1
  276. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  277. package/dist/extraction-source-grounding.d.ts +2 -1
  278. package/dist/extraction.d.ts +2 -1
  279. package/dist/extraction.js +15 -15
  280. package/dist/fallback-llm.d.ts +2 -1
  281. package/dist/graph-dashboard-diff.d.ts +2 -1
  282. package/dist/graph-dashboard-key.d.ts +2 -1
  283. package/dist/graph-dashboard-parser.d.ts +2 -1
  284. package/dist/{graph-edge-decay-DGTBFALQ.js → graph-edge-decay-FXGELBFA.js} +4 -4
  285. package/dist/graph-edge-decay-FXGELBFA.js.map +1 -0
  286. package/dist/graph-edge-reinforcement.d.ts +2 -1
  287. package/dist/graph-path-reconstruction.d.ts +2 -1
  288. package/dist/graph-path-scoring.d.ts +2 -1
  289. package/dist/graph-snapshot.d.ts +2 -1
  290. package/dist/graph-snapshot.js +3 -3
  291. package/dist/graph.d.ts +2 -1
  292. package/dist/graph.js +2 -2
  293. package/dist/harmonic-construction.js +3 -3
  294. package/dist/harmonic-retrieval.d.ts +38 -2
  295. package/dist/harmonic-retrieval.js +12 -3
  296. package/dist/importance.d.ts +2 -1
  297. package/dist/importers/index.d.ts +2 -1
  298. package/dist/in-flight-reads.d.ts +2 -1
  299. package/dist/{index-D4hS9uxK.d.ts → index-B4iTvT-w.d.ts} +2 -2
  300. package/dist/index.d.ts +701 -699
  301. package/dist/index.js +126 -115
  302. package/dist/intent.d.ts +2 -1
  303. package/dist/lcm/engine.d.ts +2 -1
  304. package/dist/lcm/index.d.ts +2 -1
  305. package/dist/lcm/tools.d.ts +2 -1
  306. package/dist/lifecycle.d.ts +2 -1
  307. package/dist/live-connectors-runner.d.ts +2 -1
  308. package/dist/local-llm.d.ts +2 -1
  309. package/dist/local-model-endpoint.d.ts +2 -1
  310. package/dist/location/index.d.ts +4 -3
  311. package/dist/location/index.js +15 -15
  312. package/dist/maintenance/memory-governance.d.ts +2 -1
  313. package/dist/maintenance/memory-governance.js +13 -13
  314. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  315. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -13
  316. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  317. package/dist/maintenance/rebuild-memory-projection.js +14 -14
  318. package/dist/{maintenance-BRcc3Hx8.d.ts → maintenance-BBpNqEeJ.d.ts} +3 -3
  319. package/dist/mcp-memory-inspector-app.d.ts +13 -11
  320. package/dist/mcp-read-only-tools.js +1 -1
  321. package/dist/memory-action-policy.d.ts +2 -1
  322. package/dist/memory-cache.d.ts +2 -1
  323. package/dist/memory-controller.d.ts +2 -1
  324. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  325. package/dist/memory-projection-store.d.ts +2 -1
  326. package/dist/memory-provenance.d.ts +2 -1
  327. package/dist/memory-snapshot.d.ts +2 -1
  328. package/dist/memory-subject-cli.d.ts +13 -11
  329. package/dist/memory-subject.d.ts +13 -11
  330. package/dist/memory-worth-outcomes.d.ts +3 -2
  331. package/dist/models-json.d.ts +2 -1
  332. package/dist/namespaces/migrate.d.ts +4 -3
  333. package/dist/namespaces/migrate.js +14 -14
  334. package/dist/namespaces/principal.d.ts +2 -1
  335. package/dist/namespaces/search.d.ts +2 -1
  336. package/dist/namespaces/search.js +9 -9
  337. package/dist/namespaces/storage.d.ts +4 -3
  338. package/dist/namespaces/storage.js +13 -13
  339. package/dist/native-knowledge.d.ts +2 -1
  340. package/dist/offline-sync-impression-drain.d.ts +2 -1
  341. package/dist/offline-sync.js +2 -2
  342. package/dist/operator-doctor-corpus.d.ts +2 -1
  343. package/dist/operator-doctor-corpus.js +16 -16
  344. package/dist/operator-doctor-replica.d.ts +2 -1
  345. package/dist/operator-toolkit.d.ts +4 -3
  346. package/dist/operator-toolkit.js +29 -28
  347. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  348. package/dist/orchestration/maintenance.d.ts +5 -4
  349. package/dist/orchestration/maintenance.js +21 -21
  350. package/dist/{orchestrator-Btq9lzAN.d.ts → orchestrator-DglY1H0w.d.ts} +8 -8
  351. package/dist/orchestrator.d.ts +10 -9
  352. package/dist/orchestrator.js +108 -97
  353. package/dist/patterns-cli.d.ts +2 -1
  354. package/dist/{pipeline-CZoNdFb5.d.ts → pipeline-C7qRsy6g.d.ts} +1 -1
  355. package/dist/policy-runtime.d.ts +2 -1
  356. package/dist/proactive-contention.d.ts +2 -1
  357. package/dist/provenance.d.ts +2 -1
  358. package/dist/{public-http-C9-CHc40.d.ts → public-http-CU-Cwwdb.d.ts} +1 -1
  359. package/dist/{qmd-VIjSCKIE.d.ts → qmd-YRLTa3AE.d.ts} +1 -1
  360. package/dist/qmd-preflight.d.ts +3 -2
  361. package/dist/qmd-recall-cache.d.ts +2 -1
  362. package/dist/qmd.d.ts +3 -2
  363. package/dist/recall-concurrency-config.d.ts +2 -1
  364. package/dist/recall-deep-expand-select.js +4 -44
  365. package/dist/recall-deep-expand-select.js.map +1 -1
  366. package/dist/recall-deep-frontier.js +4 -23
  367. package/dist/recall-deep-frontier.js.map +1 -1
  368. package/dist/recall-deep-rewrite.js +4 -23
  369. package/dist/recall-deep-rewrite.js.map +1 -1
  370. package/dist/recall-disclosure-escalation.d.ts +2 -1
  371. package/dist/recall-explain-renderer.d.ts +2 -1
  372. package/dist/recall-explain-renderer.js +3 -3
  373. package/dist/recall-memory-map.d.ts +2 -1
  374. package/dist/recall-navigate-access.d.ts +2 -1
  375. package/dist/recall-navigate-access.js +2 -2
  376. package/dist/recall-navigate-disclosure.d.ts +2 -1
  377. package/dist/recall-navigate-disclosure.js +1 -1
  378. package/dist/recall-navigate.d.ts +2 -1
  379. package/dist/recall-navigate.js +2 -2
  380. package/dist/recall-planner-llm.d.ts +2 -1
  381. package/dist/recall-state.d.ts +2 -1
  382. package/dist/recall-tag-filter.d.ts +2 -1
  383. package/dist/recall-timings.d.ts +2 -1
  384. package/dist/recall-xray-cli.d.ts +2 -1
  385. package/dist/recall-xray-cli.js +4 -4
  386. package/dist/recall-xray-renderer.d.ts +2 -1
  387. package/dist/recall-xray-renderer.js +3 -3
  388. package/dist/recall-xray.d.ts +2 -1
  389. package/dist/recall-xray.js +2 -2
  390. package/dist/reconcile/cursor.d.ts +2 -1
  391. package/dist/reconcile/manifest.d.ts +2 -1
  392. package/dist/reconcile/plan.d.ts +2 -1
  393. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  394. package/dist/replay/normalizers/claude.d.ts +2 -1
  395. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  396. package/dist/replay/normalizers/shared.d.ts +2 -1
  397. package/dist/replay/runner.d.ts +2 -1
  398. package/dist/replay/types.d.ts +2 -1
  399. package/dist/replica-divergence.d.ts +2 -1
  400. package/dist/replica-peers-config.d.ts +2 -1
  401. package/dist/resolve-auth-token.d.ts +2 -1
  402. package/dist/resume-bundles.js +7 -6
  403. package/dist/retrieval-agents.d.ts +3 -2
  404. package/dist/retrieval-tiers.d.ts +2 -1
  405. package/dist/routing/engine.d.ts +2 -1
  406. package/dist/routing/store.d.ts +2 -1
  407. package/dist/salvage-envelope.d.ts +2 -1
  408. package/dist/schemas.d.ts +176 -176
  409. package/dist/{scope-profiles-DqbxQXIS.d.ts → scope-profiles-BVvqVzJX.d.ts} +1 -1
  410. package/dist/search/embed-helper.d.ts +2 -1
  411. package/dist/search/factory.d.ts +2 -1
  412. package/dist/search/factory.js +8 -8
  413. package/dist/search/index.d.ts +2 -1
  414. package/dist/search/index.js +13 -13
  415. package/dist/search/lancedb-backend.d.ts +2 -1
  416. package/dist/search/lancedb-backend.js +2 -2
  417. package/dist/search/meilisearch-backend.d.ts +2 -1
  418. package/dist/search/meilisearch-backend.js +2 -2
  419. package/dist/search/noop-backend.d.ts +2 -1
  420. package/dist/search/orama-backend.d.ts +2 -1
  421. package/dist/search/orama-backend.js +2 -2
  422. package/dist/search/port.d.ts +2 -1
  423. package/dist/search/remote-backend.d.ts +2 -1
  424. package/dist/{semantic-consolidation-DW3rEUoW.d.ts → semantic-consolidation-BzCI6Kuu.d.ts} +1 -1
  425. package/dist/semantic-consolidation.d.ts +3 -2
  426. package/dist/semantic-consolidation.js +14 -14
  427. package/dist/semantic-rule-promotion.js +13 -13
  428. package/dist/semantic-rule-verifier.d.ts +2 -1
  429. package/dist/semantic-rule-verifier.js +13 -13
  430. package/dist/{service-B2vJU_Bx.d.ts → service-DQ3Gscy5.d.ts} +2 -2
  431. package/dist/session-observer-bands.d.ts +2 -1
  432. package/dist/session-observer-state.d.ts +2 -1
  433. package/dist/shared-context/manager.d.ts +43 -7
  434. package/dist/shared-context/manager.js +2 -1
  435. package/dist/signal.d.ts +2 -1
  436. package/dist/source-agent-qualifier.d.ts +2 -1
  437. package/dist/source-agent-qualifier.js +13 -13
  438. package/dist/standup/build.js +13 -13
  439. package/dist/{storage-6fn7BPmb.d.ts → storage-DmTbQdD0.d.ts} +1 -1
  440. package/dist/storage.d.ts +3 -2
  441. package/dist/storage.js +12 -12
  442. package/dist/subject-config.d.ts +2 -1
  443. package/dist/summarizer.d.ts +2 -1
  444. package/dist/summary-snapshot.d.ts +2 -1
  445. package/dist/support-passport/index.d.ts +16 -14
  446. package/dist/support-passport/index.js +49 -37
  447. package/dist/temporal-supersession.d.ts +3 -2
  448. package/dist/temporal-timeline-recall.d.ts +2 -1
  449. package/dist/temporal-validity.d.ts +2 -1
  450. package/dist/threading.d.ts +2 -1
  451. package/dist/tier-migration.d.ts +3 -2
  452. package/dist/tier-routing.d.ts +2 -1
  453. package/dist/topics.d.ts +2 -1
  454. package/dist/transcript.d.ts +2 -1
  455. package/dist/transfer/capsule-export.js +2 -2
  456. package/dist/transfer/capsule-import.js +2 -2
  457. package/dist/transfer/export-okf.d.ts +2 -1
  458. package/dist/transfer/export-okf.js +14 -14
  459. package/dist/transfer/types.d.ts +78 -78
  460. package/dist/trust-score-stage.d.ts +2 -1
  461. package/dist/trust-score.d.ts +2 -1
  462. package/dist/{types-eM7QIcX2.d.ts → types-CLRTESSD.d.ts} +3 -1
  463. package/dist/types.d.ts +2 -1
  464. package/dist/types.js +1 -1
  465. package/dist/utility-runtime.d.ts +2 -1
  466. package/dist/verified-recall.js +13 -13
  467. package/dist/who-knows-cli.d.ts +13 -11
  468. package/dist/who-knows-cli.js +14 -14
  469. package/dist/who-knows.d.ts +13 -11
  470. package/dist/who-knows.js +13 -13
  471. package/dist/write-envelope.d.ts +2 -1
  472. package/package.json +2 -2
  473. package/src/access-boundary.ts +1 -0
  474. package/src/access-http.ts +5 -5
  475. package/src/access-mcp-output-schemas.ts +1 -0
  476. package/src/access-mcp.ts +3 -3
  477. package/src/access-operations-batch.ts +3 -1
  478. package/src/access-schema.ts +12 -0
  479. package/src/access-service.ts +162 -5
  480. package/src/access-surface-catalog.ts +2 -0
  481. package/src/cli/deep-recall-commands.ts +60 -0
  482. package/src/cli.ts +2 -2
  483. package/src/config.test.ts +19 -0
  484. package/src/config.ts +7 -0
  485. package/src/deep-recall-config.ts +83 -0
  486. package/src/deep-recall-http-glue.ts +75 -0
  487. package/src/deep-recall-mcp-tools.ts +33 -0
  488. package/src/deep-recall-policy-llm.ts +65 -0
  489. package/src/deep-recall-renderer.ts +41 -0
  490. package/src/deep-recall-seeds.ts +134 -0
  491. package/src/deep-recall-surface.test.ts +902 -0
  492. package/src/deep-recall.test.ts +348 -0
  493. package/src/deep-recall.ts +572 -0
  494. package/src/harmonic-retrieval.ts +78 -25
  495. package/src/mcp-read-only-tools.ts +1 -0
  496. package/src/shared-context/envelope-at.test.ts +23 -0
  497. package/src/shared-context/envelope-at.ts +12 -6
  498. package/src/shared-context/envelope-io.ts +184 -0
  499. package/src/shared-context/envelope-wiring.test.ts +193 -0
  500. package/src/shared-context/governance.ts +28 -9
  501. package/src/shared-context/iso-instant.ts +43 -0
  502. package/src/shared-context/manager.ts +74 -15
  503. package/src/shared-context/provenance.ts +3 -26
  504. package/src/shared-context/write-origin.test.ts +145 -0
  505. package/src/types.ts +3 -1
  506. package/dist/chunk-26JWBSWD.js.map +0 -1
  507. package/dist/chunk-3DT2F5OI.js.map +0 -1
  508. package/dist/chunk-4OFKZAJG.js.map +0 -1
  509. package/dist/chunk-6RPB2TDG.js.map +0 -1
  510. package/dist/chunk-AYWPIH4M.js.map +0 -1
  511. package/dist/chunk-HXWOVCS6.js.map +0 -1
  512. package/dist/chunk-IVAW3HBF.js.map +0 -1
  513. package/dist/chunk-K4E3Y3ZX.js.map +0 -1
  514. package/dist/chunk-QL4U3SJA.js.map +0 -1
  515. package/dist/chunk-TBRG2SYY.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-D5VPIJN3.js.map → chunk-227WJVPY.js.map} +0 -0
  519. /package/dist/{chunk-Y3BWCIY2.js.map → chunk-2EHDPHMD.js.map} +0 -0
  520. /package/dist/{chunk-2LKW6OO7.js.map → chunk-2XJDAEAM.js.map} +0 -0
  521. /package/dist/{chunk-P23JWI3D.js.map → chunk-3ITTF7YH.js.map} +0 -0
  522. /package/dist/{chunk-NGP2FPB2.js.map → chunk-4UVDLNHQ.js.map} +0 -0
  523. /package/dist/{chunk-FJMIQTMH.js.map → chunk-5YQ7RFSO.js.map} +0 -0
  524. /package/dist/{chunk-KQAFEZQX.js.map → chunk-7LCGFUMB.js.map} +0 -0
  525. /package/dist/{chunk-EESYTBXV.js.map → chunk-7NCUHD5U.js.map} +0 -0
  526. /package/dist/{chunk-X574KX52.js.map → chunk-7ZMU4XQT.js.map} +0 -0
  527. /package/dist/{chunk-SG3Z67FB.js.map → chunk-APZXA4WI.js.map} +0 -0
  528. /package/dist/{chunk-2QSZNTDO.js.map → chunk-AU7Q3LSC.js.map} +0 -0
  529. /package/dist/{chunk-VGMRI4J6.js.map → chunk-B75VCEX5.js.map} +0 -0
  530. /package/dist/{chunk-D35XLYQ7.js.map → chunk-BE4Y6GK6.js.map} +0 -0
  531. /package/dist/{chunk-ELKD5PCD.js.map → chunk-BEXFNGQ3.js.map} +0 -0
  532. /package/dist/{chunk-U5SRTYFS.js.map → chunk-BFDOBESV.js.map} +0 -0
  533. /package/dist/{chunk-OLT3YTDH.js.map → chunk-BIJAWZYW.js.map} +0 -0
  534. /package/dist/{chunk-FU2NYFX6.js.map → chunk-BO4PWIJY.js.map} +0 -0
  535. /package/dist/{chunk-JMAG7WZ7.js.map → chunk-BX6GW4KC.js.map} +0 -0
  536. /package/dist/{chunk-J2R275FN.js.map → chunk-CTCGHNWN.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-XZBXINXZ.js.map → chunk-GIC6BASP.js.map} +0 -0
  540. /package/dist/{chunk-SXQZMC7R.js.map → chunk-GR4C3FHT.js.map} +0 -0
  541. /package/dist/{chunk-7DYGPGCT.js.map → chunk-H5IIBGDM.js.map} +0 -0
  542. /package/dist/{chunk-CNNXMIS6.js.map → chunk-HFRGCNFY.js.map} +0 -0
  543. /package/dist/{chunk-MAG6M3B6.js.map → chunk-HTOWFFAI.js.map} +0 -0
  544. /package/dist/{chunk-FOCMJEHH.js.map → chunk-I4QAH4SY.js.map} +0 -0
  545. /package/dist/{chunk-FSGCXGK6.js.map → chunk-I6DUKBUI.js.map} +0 -0
  546. /package/dist/{chunk-6FUMA6AA.js.map → chunk-JGXMA6HL.js.map} +0 -0
  547. /package/dist/{chunk-TA7UZZMW.js.map → chunk-JHTF22NQ.js.map} +0 -0
  548. /package/dist/{chunk-DZ3CNJPB.js.map → chunk-LDOQE34V.js.map} +0 -0
  549. /package/dist/{chunk-MEW53VQJ.js.map → chunk-LDWIPYJ6.js.map} +0 -0
  550. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  551. /package/dist/{chunk-KJTSWJZN.js.map → chunk-LF6SHWVV.js.map} +0 -0
  552. /package/dist/{chunk-G6OZZX7P.js.map → chunk-LJAP4KSW.js.map} +0 -0
  553. /package/dist/{chunk-NV6BTBUI.js.map → chunk-LJNLLNEM.js.map} +0 -0
  554. /package/dist/{chunk-FFFZEF6B.js.map → chunk-LUDXSSTW.js.map} +0 -0
  555. /package/dist/{chunk-PCH2CVCS.js.map → chunk-LWBSEYW3.js.map} +0 -0
  556. /package/dist/{chunk-FMUJGGKW.js.map → chunk-M7DGN6JZ.js.map} +0 -0
  557. /package/dist/{chunk-TZIHB2LP.js.map → chunk-MNH2GM4O.js.map} +0 -0
  558. /package/dist/{chunk-RACZB5HT.js.map → chunk-N37X5RU7.js.map} +0 -0
  559. /package/dist/{chunk-LK4TOYPU.js.map → chunk-NF3NMAG7.js.map} +0 -0
  560. /package/dist/{chunk-AG46P24C.js.map → chunk-NNBZS3DY.js.map} +0 -0
  561. /package/dist/{chunk-LZ2JTO7N.js.map → chunk-OASGWNYL.js.map} +0 -0
  562. /package/dist/{chunk-C2JCVZWX.js.map → chunk-OLBZ2WGG.js.map} +0 -0
  563. /package/dist/{chunk-Z3SQEEB6.js.map → chunk-OUKBMQ2O.js.map} +0 -0
  564. /package/dist/{chunk-2Z3DG5CQ.js.map → chunk-P6GKRT2H.js.map} +0 -0
  565. /package/dist/{chunk-UGA6PZTX.js.map → chunk-P7LVYPIX.js.map} +0 -0
  566. /package/dist/{chunk-VE45LRCE.js.map → chunk-QRDSXR3V.js.map} +0 -0
  567. /package/dist/{chunk-KS67VHXA.js.map → chunk-QUVWFZOU.js.map} +0 -0
  568. /package/dist/{chunk-AI4QFDPR.js.map → chunk-R7FXPG4T.js.map} +0 -0
  569. /package/dist/{chunk-X66BHMAU.js.map → chunk-RJ57OOCD.js.map} +0 -0
  570. /package/dist/{chunk-VXMKW7YN.js.map → chunk-TRLCMLX7.js.map} +0 -0
  571. /package/dist/{chunk-ELCMVOQT.js.map → chunk-V3HUBF7T.js.map} +0 -0
  572. /package/dist/{chunk-KMIAD7JR.js.map → chunk-VHAKBUBD.js.map} +0 -0
  573. /package/dist/{chunk-GS5IFIVE.js.map → chunk-VYD63IFH.js.map} +0 -0
  574. /package/dist/{chunk-WSFPNCRA.js.map → chunk-XFPHV65N.js.map} +0 -0
  575. /package/dist/{chunk-JCUG7AXZ.js.map → chunk-XJJYSX6F.js.map} +0 -0
  576. /package/dist/{chunk-I6DURYZI.js.map → chunk-XMIAU4CO.js.map} +0 -0
  577. /package/dist/{chunk-PJIGYPO5.js.map → chunk-XQGFIAG7.js.map} +0 -0
  578. /package/dist/{chunk-B2URC6LJ.js.map → chunk-YWN3GYI2.js.map} +0 -0
  579. /package/dist/{chunk-TG6JEJDV.js.map → chunk-Z33VUMKY.js.map} +0 -0
  580. /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-DcfM0Vf0.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-DcfM0Vf0.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Baz5xW5X.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-Baz5xW5X.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-CFpMhqz5.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-CMtkGBdz.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-C9-CHc40.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-CU-Cwwdb.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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
- label: string;
1236
1236
  id: string;
1237
+ label: string;
1238
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1237
1239
  capture: "at_action" | "historical_lookup" | "fixture";
1238
1240
  locator?: string | undefined;
1239
1241
  }, {
1240
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
- label: string;
1242
1242
  id: string;
1243
+ label: string;
1244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
- label: string;
1261
1261
  id: string;
1262
+ label: string;
1263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1262
1264
  capture: "at_action" | "historical_lookup" | "fixture";
1263
1265
  locator?: string | undefined;
1264
1266
  }, {
1265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
- label: string;
1267
1267
  id: string;
1268
+ label: string;
1269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1276
- label: string;
1277
1277
  id: string;
1278
+ label: string;
1279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1290
- label: string;
1291
1291
  id: string;
1292
+ label: string;
1293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
- label: string;
1309
1309
  id: string;
1310
+ label: string;
1311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
1312
  capture: "at_action" | "historical_lookup" | "fixture";
1311
1313
  locator?: string | undefined;
1312
1314
  }, {
1313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
- label: string;
1315
1315
  id: string;
1316
+ label: string;
1317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1324
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1325
1325
  label: string;
1326
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1327
+ kind: "agent_status";
1326
1328
  role: string;
1327
1329
  agentId: string;
1328
1330
  sessionId: string;
1329
1331
  evidence: {
1330
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
- label: string;
1332
1332
  id: string;
1333
+ label: string;
1334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1333
1335
  capture: "at_action" | "historical_lookup" | "fixture";
1334
1336
  locator?: string | undefined;
1335
1337
  }[];
1336
1338
  detail?: string | undefined;
1337
1339
  }, {
1338
- kind: "agent_status";
1339
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1340
1340
  label: string;
1341
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1342
+ kind: "agent_status";
1341
1343
  role: string;
1342
1344
  agentId: string;
1343
1345
  sessionId: string;
1344
1346
  detail?: string | undefined;
1345
1347
  evidence?: {
1346
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
- label: string;
1348
1348
  id: string;
1349
+ label: string;
1350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
- label: string;
1364
1364
  id: string;
1365
+ label: string;
1366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1365
1367
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1368
  locator?: string | undefined;
1367
1369
  }, {
1368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
- label: string;
1370
1370
  id: string;
1371
+ label: string;
1372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
1379
1380
  summary: string;
1381
+ kind: "agent_output";
1380
1382
  agentId: string;
1381
1383
  sessionId: string;
1382
1384
  evidence: {
1383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
- label: string;
1385
1385
  id: string;
1386
+ label: string;
1387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1386
1388
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1389
  locator?: string | undefined;
1388
1390
  }[];
1389
1391
  outputId: string;
1390
1392
  }, {
1391
- kind: "agent_output";
1392
1393
  summary: string;
1394
+ kind: "agent_output";
1393
1395
  agentId: string;
1394
1396
  sessionId: string;
1395
1397
  outputId: string;
1396
1398
  evidence?: {
1397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
- label: string;
1399
1399
  id: string;
1400
+ label: string;
1401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
- label: string;
1417
1417
  id: string;
1418
+ label: string;
1419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1418
1420
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1421
  locator?: string | undefined;
1420
1422
  }, {
1421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
- label: string;
1423
1423
  id: string;
1424
+ label: string;
1425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
- label: string;
1438
1438
  id: string;
1439
+ label: string;
1440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
- label: string;
1456
1456
  id: string;
1457
+ label: string;
1458
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
- label: string;
1475
1475
  id: string;
1476
+ label: string;
1477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1476
1478
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1479
  locator?: string | undefined;
1478
1480
  }, {
1479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
- label: string;
1481
1481
  id: string;
1482
+ label: string;
1483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1482
1484
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1485
  locator?: string | undefined;
1484
1486
  }>, "many">>;
1485
1487
  }, "strict", z.ZodTypeAny, {
1486
- kind: "conflict_detected";
1487
1488
  summary: string;
1489
+ kind: "conflict_detected";
1488
1490
  evidence: {
1489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
- label: string;
1491
1491
  id: string;
1492
+ label: string;
1493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
1500
1501
  summary: string;
1502
+ kind: "conflict_detected";
1501
1503
  conflictId: string;
1502
1504
  decisionIds: string[];
1503
1505
  agentIds: string[];
1504
1506
  evidence?: {
1505
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
- label: string;
1507
1507
  id: string;
1508
+ label: string;
1509
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
- label: string;
1529
1529
  id: string;
1530
+ label: string;
1531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1530
1532
  capture: "at_action" | "historical_lookup" | "fixture";
1531
1533
  locator?: string | undefined;
1532
1534
  }, {
1533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
- label: string;
1535
1535
  id: string;
1536
+ label: string;
1537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1538
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1539
  locator?: string | undefined;
1538
1540
  }>, "many">>;
1539
1541
  }, "strict", z.ZodTypeAny, {
1540
- kind: "test_result";
1541
1542
  summary: string;
1542
1543
  status: "error" | "failed" | "passed";
1544
+ kind: "test_result";
1543
1545
  command: string;
1544
1546
  evidence: {
1545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
- label: string;
1547
1547
  id: string;
1548
+ label: string;
1549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
1556
- kind: "test_result";
1557
1558
  summary: string;
1558
1559
  status: "error" | "failed" | "passed";
1560
+ kind: "test_result";
1559
1561
  command: string;
1560
1562
  decisionId: string;
1561
1563
  testId: string;
1562
1564
  durationMs?: number | undefined;
1563
1565
  evidence?: {
1564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
- label: string;
1566
1566
  id: string;
1567
+ label: string;
1568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
- label: string;
1589
1589
  id: string;
1590
+ label: string;
1591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
1592
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1593
  locator?: string | undefined;
1592
1594
  }, {
1593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
- label: string;
1595
1595
  id: string;
1596
+ label: string;
1597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1605
- label: string;
1606
1606
  id: string;
1607
+ label: string;
1608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
- label: string;
1627
1627
  id: string;
1628
+ label: string;
1629
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
1640
- label: string;
1641
1641
  id: string;
1642
- }, {
1643
- kind: "agent" | "human";
1644
1642
  label: string;
1643
+ kind: "agent" | "human";
1644
+ }, {
1645
1645
  id: string;
1646
+ label: string;
1647
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
- label: string;
1657
1657
  id: string;
1658
+ label: string;
1659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1658
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1659
1661
  locator?: string | undefined;
1660
1662
  }, {
1661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
- label: string;
1663
1663
  id: string;
1664
+ label: string;
1665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
- label: string;
1672
1672
  id: string;
1673
+ label: string;
1674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1673
1675
  capture: "at_action" | "historical_lookup" | "fixture";
1674
1676
  locator?: string | undefined;
1675
1677
  }[];
1676
1678
  correctionId: string;
1677
1679
  approvedBy: {
1678
- kind: "agent" | "human";
1679
- label: string;
1680
1680
  id: string;
1681
+ label: string;
1682
+ kind: "agent" | "human";
1681
1683
  };
1682
1684
  note?: string | undefined;
1683
1685
  }, {
1684
1686
  kind: "correction_approved";
1685
1687
  correctionId: string;
1686
1688
  approvedBy: {
1687
- kind: "agent" | "human";
1688
- label: string;
1689
1689
  id: string;
1690
+ label: string;
1691
+ kind: "agent" | "human";
1690
1692
  };
1691
1693
  note?: string | undefined;
1692
1694
  evidence?: {
1693
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
- label: string;
1695
1695
  id: string;
1696
+ label: string;
1697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
- label: string;
1713
1713
  id: string;
1714
+ label: string;
1715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1715
1717
  locator?: string | undefined;
1716
1718
  }, {
1717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
- label: string;
1719
1719
  id: string;
1720
+ label: string;
1721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
- label: string;
1728
1728
  id: string;
1729
+ label: string;
1730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
- label: string;
1743
1743
  id: string;
1744
+ label: string;
1745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
- label: string;
1761
1761
  id: string;
1762
+ label: string;
1763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
1764
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1765
  locator?: string | undefined;
1764
1766
  }, {
1765
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
- label: string;
1767
1767
  id: string;
1768
+ label: string;
1769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
- label: string;
1782
1782
  id: string;
1783
+ label: string;
1784
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
- label: string;
1800
1800
  id: string;
1801
+ label: string;
1802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
- label: string;
1818
1818
  id: string;
1819
+ label: string;
1820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
1821
  capture: "at_action" | "historical_lookup" | "fixture";
1820
1822
  locator?: string | undefined;
1821
1823
  }, {
1822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
- label: string;
1824
1824
  id: string;
1825
+ label: string;
1826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
- label: string;
1838
1838
  id: string;
1839
+ label: string;
1840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
- label: string;
1857
1857
  id: string;
1858
+ label: string;
1859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
- label: string;
1874
1874
  id: string;
1875
+ label: string;
1876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1875
1877
  capture: "at_action" | "historical_lookup" | "fixture";
1876
1878
  locator?: string | undefined;
1877
1879
  }, {
1878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
- label: string;
1880
1880
  id: string;
1881
+ label: string;
1882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1881
1883
  capture: "at_action" | "historical_lookup" | "fixture";
1882
1884
  locator?: string | undefined;
1883
1885
  }>, "many">>;
1884
1886
  }, "strict", z.ZodTypeAny, {
1885
- kind: "mission_completed";
1886
1887
  summary: string;
1888
+ kind: "mission_completed";
1887
1889
  outcome: "failed" | "recovered" | "inconclusive";
1888
1890
  evidence: {
1889
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1890
- label: string;
1891
1891
  id: string;
1892
+ label: string;
1893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1892
1894
  capture: "at_action" | "historical_lookup" | "fixture";
1893
1895
  locator?: string | undefined;
1894
1896
  }[];
1895
1897
  }, {
1896
- kind: "mission_completed";
1897
1898
  summary: string;
1899
+ kind: "mission_completed";
1898
1900
  outcome: "failed" | "recovered" | "inconclusive";
1899
1901
  evidence?: {
1900
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
- label: string;
1902
1902
  id: string;
1903
+ label: string;
1904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
- label: string;
1912
1912
  id: string;
1913
+ label: string;
1914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1920
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1921
1921
  label: string;
1922
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1923
+ kind: "agent_status";
1922
1924
  role: string;
1923
1925
  agentId: string;
1924
1926
  sessionId: string;
1925
1927
  evidence: {
1926
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
- label: string;
1928
1928
  id: string;
1929
+ label: string;
1930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1929
1931
  capture: "at_action" | "historical_lookup" | "fixture";
1930
1932
  locator?: string | undefined;
1931
1933
  }[];
1932
1934
  detail?: string | undefined;
1933
1935
  } | {
1934
- kind: "agent_output";
1935
1936
  summary: string;
1937
+ kind: "agent_output";
1936
1938
  agentId: string;
1937
1939
  sessionId: string;
1938
1940
  evidence: {
1939
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
- label: string;
1941
1941
  id: string;
1942
+ label: string;
1943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
- label: string;
1954
1954
  id: string;
1955
+ label: string;
1956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
1963
1964
  summary: string;
1965
+ kind: "conflict_detected";
1964
1966
  evidence: {
1965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
- label: string;
1967
1967
  id: string;
1968
+ label: string;
1969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
1975
- kind: "test_result";
1976
1977
  summary: string;
1977
1978
  status: "error" | "failed" | "passed";
1979
+ kind: "test_result";
1978
1980
  command: string;
1979
1981
  evidence: {
1980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
- label: string;
1982
1982
  id: string;
1983
+ label: string;
1984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
- label: string;
1997
1997
  id: string;
1998
+ label: string;
1999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
- label: string;
2011
2011
  id: string;
2012
+ label: string;
2013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2012
2014
  capture: "at_action" | "historical_lookup" | "fixture";
2013
2015
  locator?: string | undefined;
2014
2016
  }[];
2015
2017
  correctionId: string;
2016
2018
  approvedBy: {
2017
- kind: "agent" | "human";
2018
- label: string;
2019
2019
  id: string;
2020
+ label: string;
2021
+ kind: "agent" | "human";
2020
2022
  };
2021
2023
  note?: string | undefined;
2022
2024
  } | {
2023
2025
  kind: "decision_superseded";
2024
2026
  evidence: {
2025
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2026
- label: string;
2027
2027
  id: string;
2028
+ label: string;
2029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
- label: string;
2042
2042
  id: string;
2043
+ label: string;
2044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
- label: string;
2056
2056
  id: string;
2057
+ label: string;
2058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
2066
2067
  summary: string;
2068
+ kind: "mission_completed";
2067
2069
  outcome: "failed" | "recovered" | "inconclusive";
2068
2070
  evidence: {
2069
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
- label: string;
2071
2071
  id: string;
2072
+ label: string;
2073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
- label: string;
2083
2083
  id: string;
2084
+ label: string;
2085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2086
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2087
  locator?: string | undefined;
2086
2088
  }[] | undefined;
2087
2089
  } | {
2088
- kind: "agent_status";
2089
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2090
2090
  label: string;
2091
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2092
+ kind: "agent_status";
2091
2093
  role: string;
2092
2094
  agentId: string;
2093
2095
  sessionId: string;
2094
2096
  detail?: string | undefined;
2095
2097
  evidence?: {
2096
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
- label: string;
2098
2098
  id: string;
2099
+ label: string;
2100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2099
2101
  capture: "at_action" | "historical_lookup" | "fixture";
2100
2102
  locator?: string | undefined;
2101
2103
  }[] | undefined;
2102
2104
  } | {
2103
- kind: "agent_output";
2104
2105
  summary: string;
2106
+ kind: "agent_output";
2105
2107
  agentId: string;
2106
2108
  sessionId: string;
2107
2109
  outputId: string;
2108
2110
  evidence?: {
2109
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2110
- label: string;
2111
2111
  id: string;
2112
+ label: string;
2113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
- label: string;
2126
2126
  id: string;
2127
+ label: string;
2128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2127
2129
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2130
  locator?: string | undefined;
2129
2131
  }[] | undefined;
2130
2132
  } | {
2131
- kind: "conflict_detected";
2132
2133
  summary: string;
2134
+ kind: "conflict_detected";
2133
2135
  conflictId: string;
2134
2136
  decisionIds: string[];
2135
2137
  agentIds: string[];
2136
2138
  evidence?: {
2137
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
- label: string;
2139
2139
  id: string;
2140
+ label: string;
2141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2140
2142
  capture: "at_action" | "historical_lookup" | "fixture";
2141
2143
  locator?: string | undefined;
2142
2144
  }[] | undefined;
2143
2145
  } | {
2144
- kind: "test_result";
2145
2146
  summary: string;
2146
2147
  status: "error" | "failed" | "passed";
2148
+ kind: "test_result";
2147
2149
  command: string;
2148
2150
  decisionId: string;
2149
2151
  testId: string;
2150
2152
  durationMs?: number | undefined;
2151
2153
  evidence?: {
2152
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
- label: string;
2154
2154
  id: string;
2155
+ label: string;
2156
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2170
- label: string;
2171
2171
  id: string;
2172
+ label: string;
2173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2180
- label: string;
2181
2181
  id: string;
2182
+ label: string;
2183
+ kind: "agent" | "human";
2182
2184
  };
2183
2185
  note?: string | undefined;
2184
2186
  evidence?: {
2185
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
- label: string;
2187
2187
  id: string;
2188
+ label: string;
2189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
- label: string;
2199
2199
  id: string;
2200
+ label: string;
2201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
- label: string;
2214
2214
  id: string;
2215
+ label: string;
2216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
- label: string;
2229
2229
  id: string;
2230
+ label: string;
2231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
2232
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2233
  locator?: string | undefined;
2232
2234
  }[] | undefined;
2233
2235
  } | {
2234
- kind: "mission_completed";
2235
2236
  summary: string;
2237
+ kind: "mission_completed";
2236
2238
  outcome: "failed" | "recovered" | "inconclusive";
2237
2239
  evidence?: {
2238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
- label: string;
2240
2240
  id: string;
2241
+ label: string;
2242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
- label: string;
2263
2263
  id: string;
2264
+ label: string;
2265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2264
2266
  capture: "at_action" | "historical_lookup" | "fixture";
2265
2267
  locator?: string | undefined;
2266
2268
  }, {
2267
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
- label: string;
2269
2269
  id: string;
2270
+ label: string;
2271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
- label: string;
2279
2279
  id: string;
2280
+ label: string;
2281
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2292
- label: string;
2293
2293
  id: string;
2294
+ label: string;
2295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
- label: string;
2311
2311
  id: string;
2312
+ label: string;
2313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
2314
  capture: "at_action" | "historical_lookup" | "fixture";
2313
2315
  locator?: string | undefined;
2314
2316
  }, {
2315
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
- label: string;
2317
2317
  id: string;
2318
+ label: string;
2319
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2326
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2327
2327
  label: string;
2328
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2329
+ kind: "agent_status";
2328
2330
  role: string;
2329
2331
  agentId: string;
2330
2332
  sessionId: string;
2331
2333
  evidence: {
2332
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
- label: string;
2334
2334
  id: string;
2335
+ label: string;
2336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2335
2337
  capture: "at_action" | "historical_lookup" | "fixture";
2336
2338
  locator?: string | undefined;
2337
2339
  }[];
2338
2340
  detail?: string | undefined;
2339
2341
  }, {
2340
- kind: "agent_status";
2341
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2342
2342
  label: string;
2343
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2344
+ kind: "agent_status";
2343
2345
  role: string;
2344
2346
  agentId: string;
2345
2347
  sessionId: string;
2346
2348
  detail?: string | undefined;
2347
2349
  evidence?: {
2348
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
- label: string;
2350
2350
  id: string;
2351
+ label: string;
2352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
- label: string;
2366
2366
  id: string;
2367
+ label: string;
2368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2367
2369
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2370
  locator?: string | undefined;
2369
2371
  }, {
2370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
- label: string;
2372
2372
  id: string;
2373
+ label: string;
2374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
2381
2382
  summary: string;
2383
+ kind: "agent_output";
2382
2384
  agentId: string;
2383
2385
  sessionId: string;
2384
2386
  evidence: {
2385
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
- label: string;
2387
2387
  id: string;
2388
+ label: string;
2389
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2388
2390
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2391
  locator?: string | undefined;
2390
2392
  }[];
2391
2393
  outputId: string;
2392
2394
  }, {
2393
- kind: "agent_output";
2394
2395
  summary: string;
2396
+ kind: "agent_output";
2395
2397
  agentId: string;
2396
2398
  sessionId: string;
2397
2399
  outputId: string;
2398
2400
  evidence?: {
2399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
- label: string;
2401
2401
  id: string;
2402
+ label: string;
2403
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
- label: string;
2419
2419
  id: string;
2420
+ label: string;
2421
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2420
2422
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2423
  locator?: string | undefined;
2422
2424
  }, {
2423
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
- label: string;
2425
2425
  id: string;
2426
+ label: string;
2427
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
- label: string;
2440
2440
  id: string;
2441
+ label: string;
2442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
- label: string;
2458
2458
  id: string;
2459
+ label: string;
2460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
- label: string;
2477
2477
  id: string;
2478
+ label: string;
2479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2478
2480
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2481
  locator?: string | undefined;
2480
2482
  }, {
2481
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
- label: string;
2483
2483
  id: string;
2484
+ label: string;
2485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2484
2486
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2487
  locator?: string | undefined;
2486
2488
  }>, "many">>;
2487
2489
  }, "strict", z.ZodTypeAny, {
2488
- kind: "conflict_detected";
2489
2490
  summary: string;
2491
+ kind: "conflict_detected";
2490
2492
  evidence: {
2491
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
- label: string;
2493
2493
  id: string;
2494
+ label: string;
2495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
2502
2503
  summary: string;
2504
+ kind: "conflict_detected";
2503
2505
  conflictId: string;
2504
2506
  decisionIds: string[];
2505
2507
  agentIds: string[];
2506
2508
  evidence?: {
2507
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
- label: string;
2509
2509
  id: string;
2510
+ label: string;
2511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
- label: string;
2531
2531
  id: string;
2532
+ label: string;
2533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2532
2534
  capture: "at_action" | "historical_lookup" | "fixture";
2533
2535
  locator?: string | undefined;
2534
2536
  }, {
2535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
- label: string;
2537
2537
  id: string;
2538
+ label: string;
2539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2540
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2541
  locator?: string | undefined;
2540
2542
  }>, "many">>;
2541
2543
  }, "strict", z.ZodTypeAny, {
2542
- kind: "test_result";
2543
2544
  summary: string;
2544
2545
  status: "error" | "failed" | "passed";
2546
+ kind: "test_result";
2545
2547
  command: string;
2546
2548
  evidence: {
2547
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
- label: string;
2549
2549
  id: string;
2550
+ label: string;
2551
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
2558
- kind: "test_result";
2559
2560
  summary: string;
2560
2561
  status: "error" | "failed" | "passed";
2562
+ kind: "test_result";
2561
2563
  command: string;
2562
2564
  decisionId: string;
2563
2565
  testId: string;
2564
2566
  durationMs?: number | undefined;
2565
2567
  evidence?: {
2566
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
- label: string;
2568
2568
  id: string;
2569
+ label: string;
2570
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
- label: string;
2591
2591
  id: string;
2592
+ label: string;
2593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
2594
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2595
  locator?: string | undefined;
2594
2596
  }, {
2595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
- label: string;
2597
2597
  id: string;
2598
+ label: string;
2599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2607
- label: string;
2608
2608
  id: string;
2609
+ label: string;
2610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
- label: string;
2629
2629
  id: string;
2630
+ label: string;
2631
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2642
- label: string;
2643
2643
  id: string;
2644
- }, {
2645
- kind: "agent" | "human";
2646
2644
  label: string;
2645
+ kind: "agent" | "human";
2646
+ }, {
2647
2647
  id: string;
2648
+ label: string;
2649
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
- label: string;
2659
2659
  id: string;
2660
+ label: string;
2661
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2660
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2661
2663
  locator?: string | undefined;
2662
2664
  }, {
2663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
- label: string;
2665
2665
  id: string;
2666
+ label: string;
2667
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
- label: string;
2674
2674
  id: string;
2675
+ label: string;
2676
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2675
2677
  capture: "at_action" | "historical_lookup" | "fixture";
2676
2678
  locator?: string | undefined;
2677
2679
  }[];
2678
2680
  correctionId: string;
2679
2681
  approvedBy: {
2680
- kind: "agent" | "human";
2681
- label: string;
2682
2682
  id: string;
2683
+ label: string;
2684
+ kind: "agent" | "human";
2683
2685
  };
2684
2686
  note?: string | undefined;
2685
2687
  }, {
2686
2688
  kind: "correction_approved";
2687
2689
  correctionId: string;
2688
2690
  approvedBy: {
2689
- kind: "agent" | "human";
2690
- label: string;
2691
2691
  id: string;
2692
+ label: string;
2693
+ kind: "agent" | "human";
2692
2694
  };
2693
2695
  note?: string | undefined;
2694
2696
  evidence?: {
2695
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
- label: string;
2697
2697
  id: string;
2698
+ label: string;
2699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
- label: string;
2715
2715
  id: string;
2716
+ label: string;
2717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2717
2719
  locator?: string | undefined;
2718
2720
  }, {
2719
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
- label: string;
2721
2721
  id: string;
2722
+ label: string;
2723
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
- label: string;
2730
2730
  id: string;
2731
+ label: string;
2732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
- label: string;
2745
2745
  id: string;
2746
+ label: string;
2747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
- label: string;
2763
2763
  id: string;
2764
+ label: string;
2765
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
2766
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2767
  locator?: string | undefined;
2766
2768
  }, {
2767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
- label: string;
2769
2769
  id: string;
2770
+ label: string;
2771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
- label: string;
2784
2784
  id: string;
2785
+ label: string;
2786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
- label: string;
2802
2802
  id: string;
2803
+ label: string;
2804
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
- label: string;
2820
2820
  id: string;
2821
+ label: string;
2822
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
2823
  capture: "at_action" | "historical_lookup" | "fixture";
2822
2824
  locator?: string | undefined;
2823
2825
  }, {
2824
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
- label: string;
2826
2826
  id: string;
2827
+ label: string;
2828
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
- label: string;
2840
2840
  id: string;
2841
+ label: string;
2842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
- label: string;
2859
2859
  id: string;
2860
+ label: string;
2861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
- label: string;
2876
2876
  id: string;
2877
+ label: string;
2878
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2877
2879
  capture: "at_action" | "historical_lookup" | "fixture";
2878
2880
  locator?: string | undefined;
2879
2881
  }, {
2880
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
- label: string;
2882
2882
  id: string;
2883
+ label: string;
2884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2883
2885
  capture: "at_action" | "historical_lookup" | "fixture";
2884
2886
  locator?: string | undefined;
2885
2887
  }>, "many">>;
2886
2888
  }, "strict", z.ZodTypeAny, {
2887
- kind: "mission_completed";
2888
2889
  summary: string;
2890
+ kind: "mission_completed";
2889
2891
  outcome: "failed" | "recovered" | "inconclusive";
2890
2892
  evidence: {
2891
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
- label: string;
2893
2893
  id: string;
2894
+ label: string;
2895
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2894
2896
  capture: "at_action" | "historical_lookup" | "fixture";
2895
2897
  locator?: string | undefined;
2896
2898
  }[];
2897
2899
  }, {
2898
- kind: "mission_completed";
2899
2900
  summary: string;
2901
+ kind: "mission_completed";
2900
2902
  outcome: "failed" | "recovered" | "inconclusive";
2901
2903
  evidence?: {
2902
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
- label: string;
2904
2904
  id: string;
2905
+ label: string;
2906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2913
- label: string;
2914
2914
  id: string;
2915
+ label: string;
2916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2922
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2923
2923
  label: string;
2924
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2925
+ kind: "agent_status";
2924
2926
  role: string;
2925
2927
  agentId: string;
2926
2928
  sessionId: string;
2927
2929
  evidence: {
2928
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
- label: string;
2930
2930
  id: string;
2931
+ label: string;
2932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2931
2933
  capture: "at_action" | "historical_lookup" | "fixture";
2932
2934
  locator?: string | undefined;
2933
2935
  }[];
2934
2936
  detail?: string | undefined;
2935
2937
  } | {
2936
- kind: "agent_output";
2937
2938
  summary: string;
2939
+ kind: "agent_output";
2938
2940
  agentId: string;
2939
2941
  sessionId: string;
2940
2942
  evidence: {
2941
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
- label: string;
2943
2943
  id: string;
2944
+ label: string;
2945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2955
- label: string;
2956
2956
  id: string;
2957
+ label: string;
2958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
2965
2966
  summary: string;
2967
+ kind: "conflict_detected";
2966
2968
  evidence: {
2967
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
- label: string;
2969
2969
  id: string;
2970
+ label: string;
2971
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
2977
- kind: "test_result";
2978
2979
  summary: string;
2979
2980
  status: "error" | "failed" | "passed";
2981
+ kind: "test_result";
2980
2982
  command: string;
2981
2983
  evidence: {
2982
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
- label: string;
2984
2984
  id: string;
2985
+ label: string;
2986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2998
- label: string;
2999
2999
  id: string;
3000
+ label: string;
3001
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
- label: string;
3013
3013
  id: string;
3014
+ label: string;
3015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3014
3016
  capture: "at_action" | "historical_lookup" | "fixture";
3015
3017
  locator?: string | undefined;
3016
3018
  }[];
3017
3019
  correctionId: string;
3018
3020
  approvedBy: {
3019
- kind: "agent" | "human";
3020
- label: string;
3021
3021
  id: string;
3022
+ label: string;
3023
+ kind: "agent" | "human";
3022
3024
  };
3023
3025
  note?: string | undefined;
3024
3026
  } | {
3025
3027
  kind: "decision_superseded";
3026
3028
  evidence: {
3027
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
- label: string;
3029
3029
  id: string;
3030
+ label: string;
3031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3043
- label: string;
3044
3044
  id: string;
3045
+ label: string;
3046
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
- label: string;
3058
3058
  id: string;
3059
+ label: string;
3060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
3068
3069
  summary: string;
3070
+ kind: "mission_completed";
3069
3071
  outcome: "failed" | "recovered" | "inconclusive";
3070
3072
  evidence: {
3071
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
- label: string;
3073
3073
  id: string;
3074
+ label: string;
3075
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
- label: string;
3085
3085
  id: string;
3086
+ label: string;
3087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3087
3089
  locator?: string | undefined;
3088
3090
  }[] | undefined;
3089
3091
  } | {
3090
- kind: "agent_status";
3091
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3092
3092
  label: string;
3093
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3094
+ kind: "agent_status";
3093
3095
  role: string;
3094
3096
  agentId: string;
3095
3097
  sessionId: string;
3096
3098
  detail?: string | undefined;
3097
3099
  evidence?: {
3098
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
- label: string;
3100
3100
  id: string;
3101
+ label: string;
3102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3102
3104
  locator?: string | undefined;
3103
3105
  }[] | undefined;
3104
3106
  } | {
3105
- kind: "agent_output";
3106
3107
  summary: string;
3108
+ kind: "agent_output";
3107
3109
  agentId: string;
3108
3110
  sessionId: string;
3109
3111
  outputId: string;
3110
3112
  evidence?: {
3111
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
- label: string;
3113
3113
  id: string;
3114
+ label: string;
3115
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
- label: string;
3128
3128
  id: string;
3129
+ label: string;
3130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
3131
  capture: "at_action" | "historical_lookup" | "fixture";
3130
3132
  locator?: string | undefined;
3131
3133
  }[] | undefined;
3132
3134
  } | {
3133
- kind: "conflict_detected";
3134
3135
  summary: string;
3136
+ kind: "conflict_detected";
3135
3137
  conflictId: string;
3136
3138
  decisionIds: string[];
3137
3139
  agentIds: string[];
3138
3140
  evidence?: {
3139
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
- label: string;
3141
3141
  id: string;
3142
+ label: string;
3143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3142
3144
  capture: "at_action" | "historical_lookup" | "fixture";
3143
3145
  locator?: string | undefined;
3144
3146
  }[] | undefined;
3145
3147
  } | {
3146
- kind: "test_result";
3147
3148
  summary: string;
3148
3149
  status: "error" | "failed" | "passed";
3150
+ kind: "test_result";
3149
3151
  command: string;
3150
3152
  decisionId: string;
3151
3153
  testId: string;
3152
3154
  durationMs?: number | undefined;
3153
3155
  evidence?: {
3154
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
- label: string;
3156
3156
  id: string;
3157
+ label: string;
3158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3172
- label: string;
3173
3173
  id: string;
3174
+ label: string;
3175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3182
- label: string;
3183
3183
  id: string;
3184
+ label: string;
3185
+ kind: "agent" | "human";
3184
3186
  };
3185
3187
  note?: string | undefined;
3186
3188
  evidence?: {
3187
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
- label: string;
3189
3189
  id: string;
3190
+ label: string;
3191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
- label: string;
3201
3201
  id: string;
3202
+ label: string;
3203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
- label: string;
3216
3216
  id: string;
3217
+ label: string;
3218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
- label: string;
3231
3231
  id: string;
3232
+ label: string;
3233
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3232
3234
  capture: "at_action" | "historical_lookup" | "fixture";
3233
3235
  locator?: string | undefined;
3234
3236
  }[] | undefined;
3235
3237
  } | {
3236
- kind: "mission_completed";
3237
3238
  summary: string;
3239
+ kind: "mission_completed";
3238
3240
  outcome: "failed" | "recovered" | "inconclusive";
3239
3241
  evidence?: {
3240
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3241
- label: string;
3242
3242
  id: string;
3243
+ label: string;
3244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
- label: string;
3254
3254
  id: string;
3255
+ label: string;
3256
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3262
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3263
3263
  label: string;
3264
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3265
+ kind: "agent_status";
3264
3266
  role: string;
3265
3267
  agentId: string;
3266
3268
  sessionId: string;
3267
3269
  evidence: {
3268
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3269
- label: string;
3270
3270
  id: string;
3271
+ label: string;
3272
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3271
3273
  capture: "at_action" | "historical_lookup" | "fixture";
3272
3274
  locator?: string | undefined;
3273
3275
  }[];
3274
3276
  detail?: string | undefined;
3275
3277
  } | {
3276
- kind: "agent_output";
3277
3278
  summary: string;
3279
+ kind: "agent_output";
3278
3280
  agentId: string;
3279
3281
  sessionId: string;
3280
3282
  evidence: {
3281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
- label: string;
3283
3283
  id: string;
3284
+ label: string;
3285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
- label: string;
3296
3296
  id: string;
3297
+ label: string;
3298
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3305
3306
  summary: string;
3307
+ kind: "conflict_detected";
3306
3308
  evidence: {
3307
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
- label: string;
3309
3309
  id: string;
3310
+ label: string;
3311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
3317
- kind: "test_result";
3318
3319
  summary: string;
3319
3320
  status: "error" | "failed" | "passed";
3321
+ kind: "test_result";
3320
3322
  command: string;
3321
3323
  evidence: {
3322
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
- label: string;
3324
3324
  id: string;
3325
+ label: string;
3326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
- label: string;
3339
3339
  id: string;
3340
+ label: string;
3341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
- label: string;
3353
3353
  id: string;
3354
+ label: string;
3355
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3354
3356
  capture: "at_action" | "historical_lookup" | "fixture";
3355
3357
  locator?: string | undefined;
3356
3358
  }[];
3357
3359
  correctionId: string;
3358
3360
  approvedBy: {
3359
- kind: "agent" | "human";
3360
- label: string;
3361
3361
  id: string;
3362
+ label: string;
3363
+ kind: "agent" | "human";
3362
3364
  };
3363
3365
  note?: string | undefined;
3364
3366
  } | {
3365
3367
  kind: "decision_superseded";
3366
3368
  evidence: {
3367
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
- label: string;
3369
3369
  id: string;
3370
+ label: string;
3371
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
- label: string;
3384
3384
  id: string;
3385
+ label: string;
3386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
- label: string;
3398
3398
  id: string;
3399
+ label: string;
3400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
3408
3409
  summary: string;
3410
+ kind: "mission_completed";
3409
3411
  outcome: "failed" | "recovered" | "inconclusive";
3410
3412
  evidence: {
3411
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
- label: string;
3413
3413
  id: string;
3414
+ label: string;
3415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
- label: string;
3429
3429
  id: string;
3430
+ label: string;
3431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3430
3432
  capture: "at_action" | "historical_lookup" | "fixture";
3431
3433
  locator?: string | undefined;
3432
3434
  }[] | undefined;
3433
3435
  } | {
3434
- kind: "agent_status";
3435
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3436
3436
  label: string;
3437
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3438
+ kind: "agent_status";
3437
3439
  role: string;
3438
3440
  agentId: string;
3439
3441
  sessionId: string;
3440
3442
  detail?: string | undefined;
3441
3443
  evidence?: {
3442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
- label: string;
3444
3444
  id: string;
3445
+ label: string;
3446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
3447
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3448
  locator?: string | undefined;
3447
3449
  }[] | undefined;
3448
3450
  } | {
3449
- kind: "agent_output";
3450
3451
  summary: string;
3452
+ kind: "agent_output";
3451
3453
  agentId: string;
3452
3454
  sessionId: string;
3453
3455
  outputId: string;
3454
3456
  evidence?: {
3455
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
- label: string;
3457
3457
  id: string;
3458
+ label: string;
3459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
- label: string;
3472
3472
  id: string;
3473
+ label: string;
3474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3476
  locator?: string | undefined;
3475
3477
  }[] | undefined;
3476
3478
  } | {
3477
- kind: "conflict_detected";
3478
3479
  summary: string;
3480
+ kind: "conflict_detected";
3479
3481
  conflictId: string;
3480
3482
  decisionIds: string[];
3481
3483
  agentIds: string[];
3482
3484
  evidence?: {
3483
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
- label: string;
3485
3485
  id: string;
3486
+ label: string;
3487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3486
3488
  capture: "at_action" | "historical_lookup" | "fixture";
3487
3489
  locator?: string | undefined;
3488
3490
  }[] | undefined;
3489
3491
  } | {
3490
- kind: "test_result";
3491
3492
  summary: string;
3492
3493
  status: "error" | "failed" | "passed";
3494
+ kind: "test_result";
3493
3495
  command: string;
3494
3496
  decisionId: string;
3495
3497
  testId: string;
3496
3498
  durationMs?: number | undefined;
3497
3499
  evidence?: {
3498
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3499
- label: string;
3500
3500
  id: string;
3501
+ label: string;
3502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
- label: string;
3517
3517
  id: string;
3518
+ label: string;
3519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3526
- label: string;
3527
3527
  id: string;
3528
+ label: string;
3529
+ kind: "agent" | "human";
3528
3530
  };
3529
3531
  note?: string | undefined;
3530
3532
  evidence?: {
3531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
- label: string;
3533
3533
  id: string;
3534
+ label: string;
3535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3544
- label: string;
3545
3545
  id: string;
3546
+ label: string;
3547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
- label: string;
3560
3560
  id: string;
3561
+ label: string;
3562
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
- label: string;
3575
3575
  id: string;
3576
+ label: string;
3577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3576
3578
  capture: "at_action" | "historical_lookup" | "fixture";
3577
3579
  locator?: string | undefined;
3578
3580
  }[] | undefined;
3579
3581
  } | {
3580
- kind: "mission_completed";
3581
3582
  summary: string;
3583
+ kind: "mission_completed";
3582
3584
  outcome: "failed" | "recovered" | "inconclusive";
3583
3585
  evidence?: {
3584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
- label: string;
3586
3586
  id: string;
3587
+ label: string;
3588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
- label: string;
3618
3618
  id: string;
3619
+ label: string;
3620
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3619
3621
  capture: "at_action" | "historical_lookup" | "fixture";
3620
3622
  locator?: string | undefined;
3621
3623
  }, {
3622
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
- label: string;
3624
3624
  id: string;
3625
+ label: string;
3626
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3633
- label: string;
3634
3634
  id: string;
3635
+ label: string;
3636
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
- label: string;
3648
3648
  id: string;
3649
+ label: string;
3650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
- label: string;
3666
3666
  id: string;
3667
+ label: string;
3668
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
3669
  capture: "at_action" | "historical_lookup" | "fixture";
3668
3670
  locator?: string | undefined;
3669
3671
  }, {
3670
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
- label: string;
3672
3672
  id: string;
3673
+ label: string;
3674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3681
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3682
3682
  label: string;
3683
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3684
+ kind: "agent_status";
3683
3685
  role: string;
3684
3686
  agentId: string;
3685
3687
  sessionId: string;
3686
3688
  evidence: {
3687
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
- label: string;
3689
3689
  id: string;
3690
+ label: string;
3691
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3690
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3693
  locator?: string | undefined;
3692
3694
  }[];
3693
3695
  detail?: string | undefined;
3694
3696
  }, {
3695
- kind: "agent_status";
3696
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3697
3697
  label: string;
3698
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3699
+ kind: "agent_status";
3698
3700
  role: string;
3699
3701
  agentId: string;
3700
3702
  sessionId: string;
3701
3703
  detail?: string | undefined;
3702
3704
  evidence?: {
3703
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
- label: string;
3705
3705
  id: string;
3706
+ label: string;
3707
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
- label: string;
3721
3721
  id: string;
3722
+ label: string;
3723
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3722
3724
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3725
  locator?: string | undefined;
3724
3726
  }, {
3725
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
- label: string;
3727
3727
  id: string;
3728
+ label: string;
3729
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
3736
3737
  summary: string;
3738
+ kind: "agent_output";
3737
3739
  agentId: string;
3738
3740
  sessionId: string;
3739
3741
  evidence: {
3740
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
- label: string;
3742
3742
  id: string;
3743
+ label: string;
3744
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3743
3745
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3746
  locator?: string | undefined;
3745
3747
  }[];
3746
3748
  outputId: string;
3747
3749
  }, {
3748
- kind: "agent_output";
3749
3750
  summary: string;
3751
+ kind: "agent_output";
3750
3752
  agentId: string;
3751
3753
  sessionId: string;
3752
3754
  outputId: string;
3753
3755
  evidence?: {
3754
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
- label: string;
3756
3756
  id: string;
3757
+ label: string;
3758
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
- label: string;
3774
3774
  id: string;
3775
+ label: string;
3776
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3775
3777
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3778
  locator?: string | undefined;
3777
3779
  }, {
3778
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
- label: string;
3780
3780
  id: string;
3781
+ label: string;
3782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
- label: string;
3795
3795
  id: string;
3796
+ label: string;
3797
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
- label: string;
3813
3813
  id: string;
3814
+ label: string;
3815
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
- label: string;
3832
3832
  id: string;
3833
+ label: string;
3834
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3833
3835
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3836
  locator?: string | undefined;
3835
3837
  }, {
3836
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
- label: string;
3838
3838
  id: string;
3839
+ label: string;
3840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3839
3841
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3842
  locator?: string | undefined;
3841
3843
  }>, "many">>;
3842
3844
  }, "strict", z.ZodTypeAny, {
3843
- kind: "conflict_detected";
3844
3845
  summary: string;
3846
+ kind: "conflict_detected";
3845
3847
  evidence: {
3846
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
- label: string;
3848
3848
  id: string;
3849
+ label: string;
3850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3857
3858
  summary: string;
3859
+ kind: "conflict_detected";
3858
3860
  conflictId: string;
3859
3861
  decisionIds: string[];
3860
3862
  agentIds: string[];
3861
3863
  evidence?: {
3862
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
- label: string;
3864
3864
  id: string;
3865
+ label: string;
3866
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
- label: string;
3886
3886
  id: string;
3887
+ label: string;
3888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3887
3889
  capture: "at_action" | "historical_lookup" | "fixture";
3888
3890
  locator?: string | undefined;
3889
3891
  }, {
3890
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
- label: string;
3892
3892
  id: string;
3893
+ label: string;
3894
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3895
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3896
  locator?: string | undefined;
3895
3897
  }>, "many">>;
3896
3898
  }, "strict", z.ZodTypeAny, {
3897
- kind: "test_result";
3898
3899
  summary: string;
3899
3900
  status: "error" | "failed" | "passed";
3901
+ kind: "test_result";
3900
3902
  command: string;
3901
3903
  evidence: {
3902
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
- label: string;
3904
3904
  id: string;
3905
+ label: string;
3906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
3913
- kind: "test_result";
3914
3915
  summary: string;
3915
3916
  status: "error" | "failed" | "passed";
3917
+ kind: "test_result";
3916
3918
  command: string;
3917
3919
  decisionId: string;
3918
3920
  testId: string;
3919
3921
  durationMs?: number | undefined;
3920
3922
  evidence?: {
3921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
- label: string;
3923
3923
  id: string;
3924
+ label: string;
3925
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
- label: string;
3946
3946
  id: string;
3947
+ label: string;
3948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
3949
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3950
  locator?: string | undefined;
3949
3951
  }, {
3950
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
- label: string;
3952
3952
  id: string;
3953
+ label: string;
3954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3962
- label: string;
3963
3963
  id: string;
3964
+ label: string;
3965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
- label: string;
3984
3984
  id: string;
3985
+ label: string;
3986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3997
- label: string;
3998
3998
  id: string;
3999
- }, {
4000
- kind: "agent" | "human";
4001
3999
  label: string;
4000
+ kind: "agent" | "human";
4001
+ }, {
4002
4002
  id: string;
4003
+ label: string;
4004
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
- label: string;
4014
4014
  id: string;
4015
+ label: string;
4016
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4015
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4016
4018
  locator?: string | undefined;
4017
4019
  }, {
4018
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
- label: string;
4020
4020
  id: string;
4021
+ label: string;
4022
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
- label: string;
4029
4029
  id: string;
4030
+ label: string;
4031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4030
4032
  capture: "at_action" | "historical_lookup" | "fixture";
4031
4033
  locator?: string | undefined;
4032
4034
  }[];
4033
4035
  correctionId: string;
4034
4036
  approvedBy: {
4035
- kind: "agent" | "human";
4036
- label: string;
4037
4037
  id: string;
4038
+ label: string;
4039
+ kind: "agent" | "human";
4038
4040
  };
4039
4041
  note?: string | undefined;
4040
4042
  }, {
4041
4043
  kind: "correction_approved";
4042
4044
  correctionId: string;
4043
4045
  approvedBy: {
4044
- kind: "agent" | "human";
4045
- label: string;
4046
4046
  id: string;
4047
+ label: string;
4048
+ kind: "agent" | "human";
4047
4049
  };
4048
4050
  note?: string | undefined;
4049
4051
  evidence?: {
4050
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
- label: string;
4052
4052
  id: string;
4053
+ label: string;
4054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
- label: string;
4070
4070
  id: string;
4071
+ label: string;
4072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4072
4074
  locator?: string | undefined;
4073
4075
  }, {
4074
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
- label: string;
4076
4076
  id: string;
4077
+ label: string;
4078
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
- label: string;
4085
4085
  id: string;
4086
+ label: string;
4087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
- label: string;
4100
4100
  id: string;
4101
+ label: string;
4102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
- label: string;
4118
4118
  id: string;
4119
+ label: string;
4120
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
4121
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4122
  locator?: string | undefined;
4121
4123
  }, {
4122
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
- label: string;
4124
4124
  id: string;
4125
+ label: string;
4126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
- label: string;
4139
4139
  id: string;
4140
+ label: string;
4141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
- label: string;
4157
4157
  id: string;
4158
+ label: string;
4159
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
- label: string;
4175
4175
  id: string;
4176
+ label: string;
4177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
4178
  capture: "at_action" | "historical_lookup" | "fixture";
4177
4179
  locator?: string | undefined;
4178
4180
  }, {
4179
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
- label: string;
4181
4181
  id: string;
4182
+ label: string;
4183
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
- label: string;
4195
4195
  id: string;
4196
+ label: string;
4197
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
- label: string;
4214
4214
  id: string;
4215
+ label: string;
4216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
- label: string;
4231
4231
  id: string;
4232
+ label: string;
4233
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4232
4234
  capture: "at_action" | "historical_lookup" | "fixture";
4233
4235
  locator?: string | undefined;
4234
4236
  }, {
4235
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
- label: string;
4237
4237
  id: string;
4238
+ label: string;
4239
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4238
4240
  capture: "at_action" | "historical_lookup" | "fixture";
4239
4241
  locator?: string | undefined;
4240
4242
  }>, "many">>;
4241
4243
  }, "strict", z.ZodTypeAny, {
4242
- kind: "mission_completed";
4243
4244
  summary: string;
4245
+ kind: "mission_completed";
4244
4246
  outcome: "failed" | "recovered" | "inconclusive";
4245
4247
  evidence: {
4246
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
- label: string;
4248
4248
  id: string;
4249
+ label: string;
4250
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4249
4251
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4252
  locator?: string | undefined;
4251
4253
  }[];
4252
4254
  }, {
4253
- kind: "mission_completed";
4254
4255
  summary: string;
4256
+ kind: "mission_completed";
4255
4257
  outcome: "failed" | "recovered" | "inconclusive";
4256
4258
  evidence?: {
4257
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4258
- label: string;
4259
4259
  id: string;
4260
+ label: string;
4261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4268
- label: string;
4269
4269
  id: string;
4270
+ label: string;
4271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
4277
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4278
4278
  label: string;
4279
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4280
+ kind: "agent_status";
4279
4281
  role: string;
4280
4282
  agentId: string;
4281
4283
  sessionId: string;
4282
4284
  evidence: {
4283
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
- label: string;
4285
4285
  id: string;
4286
+ label: string;
4287
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4286
4288
  capture: "at_action" | "historical_lookup" | "fixture";
4287
4289
  locator?: string | undefined;
4288
4290
  }[];
4289
4291
  detail?: string | undefined;
4290
4292
  } | {
4291
- kind: "agent_output";
4292
4293
  summary: string;
4294
+ kind: "agent_output";
4293
4295
  agentId: string;
4294
4296
  sessionId: string;
4295
4297
  evidence: {
4296
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
- label: string;
4298
4298
  id: string;
4299
+ label: string;
4300
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4310
- label: string;
4311
4311
  id: string;
4312
+ label: string;
4313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
4320
4321
  summary: string;
4322
+ kind: "conflict_detected";
4321
4323
  evidence: {
4322
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
- label: string;
4324
4324
  id: string;
4325
+ label: string;
4326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
4332
- kind: "test_result";
4333
4334
  summary: string;
4334
4335
  status: "error" | "failed" | "passed";
4336
+ kind: "test_result";
4335
4337
  command: string;
4336
4338
  evidence: {
4337
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
- label: string;
4339
4339
  id: string;
4340
+ label: string;
4341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4353
- label: string;
4354
4354
  id: string;
4355
+ label: string;
4356
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4367
- label: string;
4368
4368
  id: string;
4369
+ label: string;
4370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4369
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4370
4372
  locator?: string | undefined;
4371
4373
  }[];
4372
4374
  correctionId: string;
4373
4375
  approvedBy: {
4374
- kind: "agent" | "human";
4375
- label: string;
4376
4376
  id: string;
4377
+ label: string;
4378
+ kind: "agent" | "human";
4377
4379
  };
4378
4380
  note?: string | undefined;
4379
4381
  } | {
4380
4382
  kind: "decision_superseded";
4381
4383
  evidence: {
4382
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
- label: string;
4384
4384
  id: string;
4385
+ label: string;
4386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
- label: string;
4399
4399
  id: string;
4400
+ label: string;
4401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
- label: string;
4413
4413
  id: string;
4414
+ label: string;
4415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4416
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4417
  locator?: string | undefined;
4416
4418
  }[];
@@ -4419,13 +4421,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4421
  recallReceiptId: string;
4420
4422
  staleDecisionAbsent: boolean;
4421
4423
  } | {
4422
- kind: "mission_completed";
4423
4424
  summary: string;
4425
+ kind: "mission_completed";
4424
4426
  outcome: "failed" | "recovered" | "inconclusive";
4425
4427
  evidence: {
4426
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
- label: string;
4428
4428
  id: string;
4429
+ label: string;
4430
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4439
- label: string;
4440
4440
  id: string;
4441
+ label: string;
4442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4441
4443
  capture: "at_action" | "historical_lookup" | "fixture";
4442
4444
  locator?: string | undefined;
4443
4445
  }[] | undefined;
4444
4446
  } | {
4445
- kind: "agent_status";
4446
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4447
4447
  label: string;
4448
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4449
+ kind: "agent_status";
4448
4450
  role: string;
4449
4451
  agentId: string;
4450
4452
  sessionId: string;
4451
4453
  detail?: string | undefined;
4452
4454
  evidence?: {
4453
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4454
- label: string;
4455
4455
  id: string;
4456
+ label: string;
4457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4456
4458
  capture: "at_action" | "historical_lookup" | "fixture";
4457
4459
  locator?: string | undefined;
4458
4460
  }[] | undefined;
4459
4461
  } | {
4460
- kind: "agent_output";
4461
4462
  summary: string;
4463
+ kind: "agent_output";
4462
4464
  agentId: string;
4463
4465
  sessionId: string;
4464
4466
  outputId: string;
4465
4467
  evidence?: {
4466
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4467
- label: string;
4468
4468
  id: string;
4469
+ label: string;
4470
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4482
- label: string;
4483
4483
  id: string;
4484
+ label: string;
4485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4484
4486
  capture: "at_action" | "historical_lookup" | "fixture";
4485
4487
  locator?: string | undefined;
4486
4488
  }[] | undefined;
4487
4489
  } | {
4488
- kind: "conflict_detected";
4489
4490
  summary: string;
4491
+ kind: "conflict_detected";
4490
4492
  conflictId: string;
4491
4493
  decisionIds: string[];
4492
4494
  agentIds: string[];
4493
4495
  evidence?: {
4494
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4495
- label: string;
4496
4496
  id: string;
4497
+ label: string;
4498
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4497
4499
  capture: "at_action" | "historical_lookup" | "fixture";
4498
4500
  locator?: string | undefined;
4499
4501
  }[] | undefined;
4500
4502
  } | {
4501
- kind: "test_result";
4502
4503
  summary: string;
4503
4504
  status: "error" | "failed" | "passed";
4505
+ kind: "test_result";
4504
4506
  command: string;
4505
4507
  decisionId: string;
4506
4508
  testId: string;
4507
4509
  durationMs?: number | undefined;
4508
4510
  evidence?: {
4509
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
- label: string;
4511
4511
  id: string;
4512
+ label: string;
4513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
- label: string;
4528
4528
  id: string;
4529
+ label: string;
4530
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
4537
- label: string;
4538
4538
  id: string;
4539
+ label: string;
4540
+ kind: "agent" | "human";
4539
4541
  };
4540
4542
  note?: string | undefined;
4541
4543
  evidence?: {
4542
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
- label: string;
4544
4544
  id: string;
4545
+ label: string;
4546
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
- label: string;
4556
4556
  id: string;
4557
+ label: string;
4558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
- label: string;
4571
4571
  id: string;
4572
+ label: string;
4573
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4572
4574
  capture: "at_action" | "historical_lookup" | "fixture";
4573
4575
  locator?: string | undefined;
4574
4576
  }[] | undefined;
@@ -4581,63 +4583,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4581
4583
  recallReceiptId: string;
4582
4584
  staleDecisionAbsent: boolean;
4583
4585
  evidence?: {
4584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
- label: string;
4586
4586
  id: string;
4587
+ label: string;
4588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4587
4589
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4590
  locator?: string | undefined;
4589
4591
  }[] | undefined;
4590
4592
  } | {
4591
- kind: "mission_completed";
4592
4593
  summary: string;
4594
+ kind: "mission_completed";
4593
4595
  outcome: "failed" | "recovered" | "inconclusive";
4594
4596
  evidence?: {
4595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
- label: string;
4597
4597
  id: string;
4598
+ label: string;
4599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
4600
  capture: "at_action" | "historical_lookup" | "fixture";
4599
4601
  locator?: string | undefined;
4600
4602
  }[] | undefined;
4601
4603
  }>;
4602
4604
  }, "strict", z.ZodTypeAny, {
4603
- schemaVersion: "1";
4605
+ namespace: string;
4604
4606
  recordedAt: string;
4607
+ schemaVersion: "1";
4605
4608
  payload: {
4606
4609
  kind: "mission_started";
4607
4610
  title: string;
4608
4611
  evidence: {
4609
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4610
- label: string;
4611
4612
  id: string;
4613
+ label: string;
4614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4612
4615
  capture: "at_action" | "historical_lookup" | "fixture";
4613
4616
  locator?: string | undefined;
4614
4617
  }[];
4615
4618
  objective: string;
4616
4619
  runMode: "replay" | "fixture" | "live";
4617
4620
  } | {
4618
- kind: "agent_status";
4619
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4620
4621
  label: string;
4622
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4623
+ kind: "agent_status";
4621
4624
  role: string;
4622
4625
  agentId: string;
4623
4626
  sessionId: string;
4624
4627
  evidence: {
4625
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
- label: string;
4627
4628
  id: string;
4629
+ label: string;
4630
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
4631
  capture: "at_action" | "historical_lookup" | "fixture";
4629
4632
  locator?: string | undefined;
4630
4633
  }[];
4631
4634
  detail?: string | undefined;
4632
4635
  } | {
4633
- kind: "agent_output";
4634
4636
  summary: string;
4637
+ kind: "agent_output";
4635
4638
  agentId: string;
4636
4639
  sessionId: string;
4637
4640
  evidence: {
4638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4639
- label: string;
4640
4641
  id: string;
4642
+ label: string;
4643
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
4644
  capture: "at_action" | "historical_lookup" | "fixture";
4642
4645
  locator?: string | undefined;
4643
4646
  }[];
@@ -4648,9 +4651,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4648
4651
  statement: string;
4649
4652
  sessionId: string;
4650
4653
  evidence: {
4651
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4652
- label: string;
4653
4654
  id: string;
4655
+ label: string;
4656
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4654
4657
  capture: "at_action" | "historical_lookup" | "fixture";
4655
4658
  locator?: string | undefined;
4656
4659
  }[];
@@ -4658,12 +4661,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4658
4661
  decisionId: string;
4659
4662
  confidence?: number | undefined;
4660
4663
  } | {
4661
- kind: "conflict_detected";
4662
4664
  summary: string;
4665
+ kind: "conflict_detected";
4663
4666
  evidence: {
4664
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4665
- label: string;
4666
4667
  id: string;
4668
+ label: string;
4669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
4670
  capture: "at_action" | "historical_lookup" | "fixture";
4668
4671
  locator?: string | undefined;
4669
4672
  }[];
@@ -4671,14 +4674,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4671
4674
  decisionIds: string[];
4672
4675
  agentIds: string[];
4673
4676
  } | {
4674
- kind: "test_result";
4675
4677
  summary: string;
4676
4678
  status: "error" | "failed" | "passed";
4679
+ kind: "test_result";
4677
4680
  command: string;
4678
4681
  evidence: {
4679
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4680
- label: string;
4681
4682
  id: string;
4683
+ label: string;
4684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4682
4685
  capture: "at_action" | "historical_lookup" | "fixture";
4683
4686
  locator?: string | undefined;
4684
4687
  }[];
@@ -4691,9 +4694,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4691
4694
  statement: string;
4692
4695
  rationale: string;
4693
4696
  evidence: {
4694
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4695
- label: string;
4696
4697
  id: string;
4698
+ label: string;
4699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4697
4700
  capture: "at_action" | "historical_lookup" | "fixture";
4698
4701
  locator?: string | undefined;
4699
4702
  }[];
@@ -4705,25 +4708,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4705
4708
  } | {
4706
4709
  kind: "correction_approved";
4707
4710
  evidence: {
4708
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4709
- label: string;
4710
4711
  id: string;
4712
+ label: string;
4713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4711
4714
  capture: "at_action" | "historical_lookup" | "fixture";
4712
4715
  locator?: string | undefined;
4713
4716
  }[];
4714
4717
  correctionId: string;
4715
4718
  approvedBy: {
4716
- kind: "agent" | "human";
4717
- label: string;
4718
4719
  id: string;
4720
+ label: string;
4721
+ kind: "agent" | "human";
4719
4722
  };
4720
4723
  note?: string | undefined;
4721
4724
  } | {
4722
4725
  kind: "decision_superseded";
4723
4726
  evidence: {
4724
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4725
- label: string;
4726
4727
  id: string;
4728
+ label: string;
4729
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4727
4730
  capture: "at_action" | "historical_lookup" | "fixture";
4728
4731
  locator?: string | undefined;
4729
4732
  }[];
@@ -4736,9 +4739,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4736
4739
  agentId: string;
4737
4740
  sessionId: string;
4738
4741
  evidence: {
4739
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4740
- label: string;
4741
4742
  id: string;
4743
+ label: string;
4744
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4742
4745
  capture: "at_action" | "historical_lookup" | "fixture";
4743
4746
  locator?: string | undefined;
4744
4747
  }[];
@@ -4750,9 +4753,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4750
4753
  agentId: string;
4751
4754
  sessionId: string;
4752
4755
  evidence: {
4753
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4754
- label: string;
4755
4756
  id: string;
4757
+ label: string;
4758
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4756
4759
  capture: "at_action" | "historical_lookup" | "fixture";
4757
4760
  locator?: string | undefined;
4758
4761
  }[];
@@ -4761,63 +4764,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4761
4764
  recallReceiptId: string;
4762
4765
  staleDecisionAbsent: boolean;
4763
4766
  } | {
4764
- kind: "mission_completed";
4765
4767
  summary: string;
4768
+ kind: "mission_completed";
4766
4769
  outcome: "failed" | "recovered" | "inconclusive";
4767
4770
  evidence: {
4768
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4769
- label: string;
4770
4771
  id: string;
4772
+ label: string;
4773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4771
4774
  capture: "at_action" | "historical_lookup" | "fixture";
4772
4775
  locator?: string | undefined;
4773
4776
  }[];
4774
4777
  };
4775
- 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
- schemaVersion: "1";
4784
+ namespace: string;
4783
4785
  recordedAt: string;
4786
+ schemaVersion: "1";
4784
4787
  payload: {
4785
4788
  kind: "mission_started";
4786
4789
  title: string;
4787
4790
  objective: string;
4788
4791
  runMode: "replay" | "fixture" | "live";
4789
4792
  evidence?: {
4790
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4791
- label: string;
4792
4793
  id: string;
4794
+ label: string;
4795
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4793
4796
  capture: "at_action" | "historical_lookup" | "fixture";
4794
4797
  locator?: string | undefined;
4795
4798
  }[] | undefined;
4796
4799
  } | {
4797
- kind: "agent_status";
4798
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4799
4800
  label: string;
4801
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4802
+ kind: "agent_status";
4800
4803
  role: string;
4801
4804
  agentId: string;
4802
4805
  sessionId: string;
4803
4806
  detail?: string | undefined;
4804
4807
  evidence?: {
4805
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4806
- label: string;
4807
4808
  id: string;
4809
+ label: string;
4810
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4808
4811
  capture: "at_action" | "historical_lookup" | "fixture";
4809
4812
  locator?: string | undefined;
4810
4813
  }[] | undefined;
4811
4814
  } | {
4812
- kind: "agent_output";
4813
4815
  summary: string;
4816
+ kind: "agent_output";
4814
4817
  agentId: string;
4815
4818
  sessionId: string;
4816
4819
  outputId: string;
4817
4820
  evidence?: {
4818
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4819
- label: string;
4820
4821
  id: string;
4822
+ label: string;
4823
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4821
4824
  capture: "at_action" | "historical_lookup" | "fixture";
4822
4825
  locator?: string | undefined;
4823
4826
  }[] | undefined;
@@ -4830,37 +4833,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4830
4833
  decisionId: string;
4831
4834
  confidence?: number | undefined;
4832
4835
  evidence?: {
4833
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4834
- label: string;
4835
4836
  id: string;
4837
+ label: string;
4838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4836
4839
  capture: "at_action" | "historical_lookup" | "fixture";
4837
4840
  locator?: string | undefined;
4838
4841
  }[] | undefined;
4839
4842
  } | {
4840
- kind: "conflict_detected";
4841
4843
  summary: string;
4844
+ kind: "conflict_detected";
4842
4845
  conflictId: string;
4843
4846
  decisionIds: string[];
4844
4847
  agentIds: string[];
4845
4848
  evidence?: {
4846
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4847
- label: string;
4848
4849
  id: string;
4850
+ label: string;
4851
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4849
4852
  capture: "at_action" | "historical_lookup" | "fixture";
4850
4853
  locator?: string | undefined;
4851
4854
  }[] | undefined;
4852
4855
  } | {
4853
- kind: "test_result";
4854
4856
  summary: string;
4855
4857
  status: "error" | "failed" | "passed";
4858
+ kind: "test_result";
4856
4859
  command: string;
4857
4860
  decisionId: string;
4858
4861
  testId: string;
4859
4862
  durationMs?: number | undefined;
4860
4863
  evidence?: {
4861
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4862
- label: string;
4863
4864
  id: string;
4865
+ label: string;
4866
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4864
4867
  capture: "at_action" | "historical_lookup" | "fixture";
4865
4868
  locator?: string | undefined;
4866
4869
  }[] | undefined;
@@ -4875,9 +4878,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4875
4878
  supersedesDecisionIds: string[];
4876
4879
  proposedBy: string;
4877
4880
  evidence?: {
4878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4879
- label: string;
4880
4881
  id: string;
4882
+ label: string;
4883
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4881
4884
  capture: "at_action" | "historical_lookup" | "fixture";
4882
4885
  locator?: string | undefined;
4883
4886
  }[] | undefined;
@@ -4885,15 +4888,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4885
4888
  kind: "correction_approved";
4886
4889
  correctionId: string;
4887
4890
  approvedBy: {
4888
- kind: "agent" | "human";
4889
- label: string;
4890
4891
  id: string;
4892
+ label: string;
4893
+ kind: "agent" | "human";
4891
4894
  };
4892
4895
  note?: string | undefined;
4893
4896
  evidence?: {
4894
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4895
- label: string;
4896
4897
  id: string;
4898
+ label: string;
4899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4897
4900
  capture: "at_action" | "historical_lookup" | "fixture";
4898
4901
  locator?: string | undefined;
4899
4902
  }[] | undefined;
@@ -4903,9 +4906,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4903
4906
  correctionId: string;
4904
4907
  replacementDecisionId: string;
4905
4908
  evidence?: {
4906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4907
- label: string;
4908
4909
  id: string;
4910
+ label: string;
4911
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4909
4912
  capture: "at_action" | "historical_lookup" | "fixture";
4910
4913
  locator?: string | undefined;
4911
4914
  }[] | undefined;
@@ -4918,9 +4921,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4918
4921
  recallReceiptId: string;
4919
4922
  capturedAtAction: boolean;
4920
4923
  evidence?: {
4921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4922
- label: string;
4923
4924
  id: string;
4925
+ label: string;
4926
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4924
4927
  capture: "at_action" | "historical_lookup" | "fixture";
4925
4928
  locator?: string | undefined;
4926
4929
  }[] | undefined;
@@ -4933,25 +4936,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4933
4936
  recallReceiptId: string;
4934
4937
  staleDecisionAbsent: boolean;
4935
4938
  evidence?: {
4936
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4937
- label: string;
4938
4939
  id: string;
4940
+ label: string;
4941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4939
4942
  capture: "at_action" | "historical_lookup" | "fixture";
4940
4943
  locator?: string | undefined;
4941
4944
  }[] | undefined;
4942
4945
  } | {
4943
- kind: "mission_completed";
4944
4946
  summary: string;
4947
+ kind: "mission_completed";
4945
4948
  outcome: "failed" | "recovered" | "inconclusive";
4946
4949
  evidence?: {
4947
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4948
- label: string;
4949
4950
  id: string;
4951
+ label: string;
4952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4950
4953
  capture: "at_action" | "historical_lookup" | "fixture";
4951
4954
  locator?: string | undefined;
4952
4955
  }[] | undefined;
4953
4956
  };
4954
- namespace: string;
4955
4957
  eventId: string;
4956
4958
  occurredAt: string;
4957
4959
  missionId: string;