@remnic/core 9.45.3 → 9.45.5

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 (766) hide show
  1. package/dist/abort-error.d.ts +2 -1
  2. package/dist/abort-error.js +3 -1
  3. package/dist/access-admin-ops-surface.d.ts +14 -10
  4. package/dist/access-admin-ops-surface.js +84 -75
  5. package/dist/access-audit.js +2 -2
  6. package/dist/access-authorization-probe.d.ts +14 -10
  7. package/dist/access-authorization-probe.js +85 -76
  8. package/dist/access-boundary.d.ts +15 -11
  9. package/dist/access-boundary.js +84 -75
  10. package/dist/access-citation-namespace.js +2 -2
  11. package/dist/access-cli.js +191 -177
  12. package/dist/access-cli.js.map +1 -1
  13. package/dist/access-coding-context-resolution.d.ts +16 -0
  14. package/dist/access-coding-context-resolution.js +13 -0
  15. package/dist/access-coding-context-resolution.js.map +1 -0
  16. package/dist/access-extraction-force-flush.d.ts +14 -10
  17. package/dist/access-extraction-force-flush.js +84 -75
  18. package/dist/access-health-types.d.ts +2 -1
  19. package/dist/access-http-lcm-compaction.d.ts +16 -12
  20. package/dist/access-http-lcm-compaction.js +3 -3
  21. package/dist/access-http-lifecycle-flush.d.ts +14 -10
  22. package/dist/access-http-lifecycle-flush.js +2 -2
  23. package/dist/access-http-offline-stream.d.ts +123 -0
  24. package/dist/access-http-offline-stream.js +10 -0
  25. package/dist/access-http-offline-stream.js.map +1 -0
  26. package/dist/access-http-query.js +84 -75
  27. package/dist/access-http.d.ts +15 -11
  28. package/dist/access-http.js +104 -90
  29. package/dist/access-identity-continuity-surface.d.ts +9 -8
  30. package/dist/access-identity-continuity-surface.js +84 -75
  31. package/dist/access-lcm-surface.d.ts +14 -10
  32. package/dist/access-lcm-surface.js +84 -75
  33. package/dist/access-mcp-output-schemas.js +1 -1
  34. package/dist/access-mcp.d.ts +14 -10
  35. package/dist/access-mcp.js +95 -82
  36. package/dist/access-memory-search-fanout.d.ts +3 -2
  37. package/dist/{access-namespace-preflight-5yZ4g6F8.d.ts → access-namespace-preflight-CWUDwB4M.d.ts} +1 -1
  38. package/dist/access-namespace-preflight.d.ts +4 -3
  39. package/dist/access-namespace-preflight.js +84 -75
  40. package/dist/access-observe-helpers.d.ts +1 -0
  41. package/dist/access-observe-helpers.js +1 -1
  42. package/dist/access-observe-write-surface.d.ts +16 -10
  43. package/dist/access-observe-write-surface.js +84 -75
  44. package/dist/access-offline-manifest.d.ts +104 -0
  45. package/dist/access-offline-manifest.js +45 -0
  46. package/dist/access-offline-manifest.js.map +1 -0
  47. package/dist/access-operations-batch.js +86 -77
  48. package/dist/access-operations.d.ts +18 -14
  49. package/dist/access-operations.js +91 -79
  50. package/dist/access-recall-concurrency.d.ts +16 -26
  51. package/dist/access-recall-concurrency.js +86 -76
  52. package/dist/access-recall-response.d.ts +18 -14
  53. package/dist/access-recall-response.js +84 -75
  54. package/dist/access-recall-surface.d.ts +29 -24
  55. package/dist/access-recall-surface.js +84 -75
  56. package/dist/access-schema.d.ts +84 -84
  57. package/dist/access-schema.js +3 -3
  58. package/dist/{access-service-CiJRsgAB.d.ts → access-service-CNN89xyn.d.ts} +25 -16
  59. package/dist/access-service-helpers.d.ts +14 -10
  60. package/dist/access-service.d.ts +14 -10
  61. package/dist/access-service.js +84 -75
  62. package/dist/access-surface-catalog.d.ts +14 -10
  63. package/dist/access-surface-catalog.js +4 -0
  64. package/dist/access-surface-catalog.js.map +1 -1
  65. package/dist/access-wearables-meetings-surface.d.ts +4 -3
  66. package/dist/action-confidence.d.ts +2 -1
  67. package/dist/active-memory-bridge.d.ts +2 -1
  68. package/dist/active-recall.d.ts +2 -1
  69. package/dist/active-recall.js +10 -8
  70. package/dist/active-recall.js.map +1 -1
  71. package/dist/adapters/index.js +4 -4
  72. package/dist/adapters/registry.js +2 -2
  73. package/dist/{auto-sync-5OE5QOZB.js → auto-sync-UPTUVE4X.js} +6 -6
  74. package/dist/behavior-learner.d.ts +2 -1
  75. package/dist/behavior-learner.js +1 -1
  76. package/dist/behavior-signals.d.ts +2 -1
  77. package/dist/bootstrap.d.ts +9 -8
  78. package/dist/briefing.d.ts +3 -2
  79. package/dist/briefing.js +24 -22
  80. package/dist/buffer-surprise-report.d.ts +2 -1
  81. package/dist/buffer-turn-helpers.d.ts +2 -1
  82. package/dist/buffer.d.ts +3 -2
  83. package/dist/buffer.js +12 -11
  84. package/dist/bulk-import/index.d.ts +4 -3
  85. package/dist/calibration.d.ts +2 -1
  86. package/dist/capabilities.d.ts +2 -1
  87. package/dist/{capsule-merge-IDWJPCWK.js → capsule-merge-Q6AR3XL7.js} +67 -54
  88. package/dist/capsule-merge-Q6AR3XL7.js.map +1 -0
  89. package/dist/{catalog-scBmy0sO.d.ts → catalog-bctMURhN.d.ts} +1 -1
  90. package/dist/causal-behavior.d.ts +2 -1
  91. package/dist/causal-behavior.js +2 -2
  92. package/dist/causal-chain.js +2 -2
  93. package/dist/causal-consolidation.d.ts +2 -1
  94. package/dist/causal-consolidation.js +28 -26
  95. package/dist/causal-consolidation.js.map +1 -1
  96. package/dist/causal-retrieval.js +2 -2
  97. package/dist/causal-trajectory-graph.d.ts +2 -1
  98. package/dist/causal-trajectory.js +1 -1
  99. package/dist/{chunk-E5UK4VPE.js → chunk-2FSTB6BJ.js} +5 -5
  100. package/dist/{chunk-5ZE7QHTK.js → chunk-2X2T2UVE.js} +5 -5
  101. package/dist/{chunk-P4DRWEYC.js → chunk-3COYXTGM.js} +2 -2
  102. package/dist/{chunk-5IVLTFOV.js → chunk-44N6ESJ4.js} +2 -2
  103. package/dist/{chunk-DL7ZD3JH.js → chunk-4FBVAGV3.js} +14 -9
  104. package/dist/chunk-4FBVAGV3.js.map +1 -0
  105. package/dist/{chunk-WOCNN776.js → chunk-4POAMKV6.js} +100 -41
  106. package/dist/chunk-4POAMKV6.js.map +1 -0
  107. package/dist/{chunk-HO3QBJEY.js → chunk-5546W5SI.js} +2 -2
  108. package/dist/{chunk-AAIUERNB.js → chunk-5QJQHBLE.js} +6 -6
  109. package/dist/{chunk-6CZPDBJS.js → chunk-5U7ID3EZ.js} +3 -3
  110. package/dist/{chunk-RN7DY3FC.js → chunk-6ISC4AVB.js} +31 -12
  111. package/dist/chunk-6ISC4AVB.js.map +1 -0
  112. package/dist/chunk-773TRRGT.js +36 -0
  113. package/dist/chunk-773TRRGT.js.map +1 -0
  114. package/dist/chunk-7T4TOGMS.js +242 -0
  115. package/dist/chunk-7T4TOGMS.js.map +1 -0
  116. package/dist/{chunk-DLVPUX7U.js → chunk-7YKVM5H3.js} +8 -6
  117. package/dist/chunk-7YKVM5H3.js.map +1 -0
  118. package/dist/chunk-7YQ6ESEA.js +322 -0
  119. package/dist/chunk-7YQ6ESEA.js.map +1 -0
  120. package/dist/{chunk-DNWXFTLD.js → chunk-A4IJCD2Z.js} +2 -2
  121. package/dist/{chunk-3CE77VAP.js → chunk-A4JMGKCD.js} +87 -74
  122. package/dist/chunk-A4JMGKCD.js.map +1 -0
  123. package/dist/chunk-A5KNZSNA.js +26 -0
  124. package/dist/chunk-A5KNZSNA.js.map +1 -0
  125. package/dist/{chunk-PKNLM44P.js → chunk-AC5OWJLV.js} +9 -9
  126. package/dist/{chunk-LZ4LDKHZ.js → chunk-AMAUBUKY.js} +6 -6
  127. package/dist/{chunk-CUM2BBPN.js → chunk-AUMWZSE7.js} +19 -10
  128. package/dist/chunk-AUMWZSE7.js.map +1 -0
  129. package/dist/{chunk-BUE5E2HL.js → chunk-BGLY7EEM.js} +5 -314
  130. package/dist/chunk-BGLY7EEM.js.map +1 -0
  131. package/dist/chunk-BIPBQQFI.js +44 -0
  132. package/dist/chunk-BIPBQQFI.js.map +1 -0
  133. package/dist/{chunk-S5SLVSVY.js → chunk-BQIFZ2MP.js} +5 -5
  134. package/dist/chunk-BTTPKDIL.js +34 -0
  135. package/dist/{chunk-PVGDJXVK.js.map → chunk-BTTPKDIL.js.map} +1 -1
  136. package/dist/chunk-CK5KOVHW.js +69 -0
  137. package/dist/chunk-CK5KOVHW.js.map +1 -0
  138. package/dist/{chunk-Q6IP2ARR.js → chunk-CSOYVTRX.js} +2 -2
  139. package/dist/{chunk-XOQSEF7X.js → chunk-CVILPI77.js} +6 -6
  140. package/dist/{chunk-VWAXN2BN.js → chunk-CX4ZUMC6.js} +91 -83
  141. package/dist/chunk-CX4ZUMC6.js.map +1 -0
  142. package/dist/{chunk-NVRYW264.js → chunk-DAJPRXBR.js} +16 -13
  143. package/dist/chunk-DAJPRXBR.js.map +1 -0
  144. package/dist/{chunk-J7VGGECD.js → chunk-DZPFMQZ7.js} +1 -1
  145. package/dist/chunk-DZPFMQZ7.js.map +1 -0
  146. package/dist/{chunk-4LMA77JH.js → chunk-E5XQIWAL.js} +3 -3
  147. package/dist/{chunk-WUNIWKY4.js → chunk-ELIL2A37.js} +6 -6
  148. package/dist/{chunk-OQ5PRDDS.js → chunk-ERZ2R42X.js} +6 -6
  149. package/dist/{chunk-U7GW7NE7.js → chunk-FIK3CQNA.js} +10 -10
  150. package/dist/{chunk-D3J5SLQK.js → chunk-FR27HBBA.js} +81 -20
  151. package/dist/chunk-FR27HBBA.js.map +1 -0
  152. package/dist/{chunk-E6PNLPGJ.js → chunk-FUCYDRE5.js} +838 -480
  153. package/dist/chunk-FUCYDRE5.js.map +1 -0
  154. package/dist/{chunk-HZFHQ4AQ.js → chunk-G7A5HLUS.js} +23 -17
  155. package/dist/chunk-G7A5HLUS.js.map +1 -0
  156. package/dist/{chunk-33PLLLL7.js → chunk-GFCVUY6G.js} +6 -6
  157. package/dist/{chunk-HREE4JHI.js → chunk-GODSPTOT.js} +477 -278
  158. package/dist/chunk-GODSPTOT.js.map +1 -0
  159. package/dist/{chunk-S2NCTZGJ.js → chunk-GRUYA45P.js} +15 -15
  160. package/dist/chunk-GRUYA45P.js.map +1 -0
  161. package/dist/{chunk-VUPTKTDV.js → chunk-GUAL4PQH.js} +3 -3
  162. package/dist/{chunk-CINZGPSJ.js → chunk-GUMZC2BO.js} +2 -2
  163. package/dist/{chunk-H24WNPA2.js → chunk-GWFSVJ4P.js} +3 -3
  164. package/dist/{chunk-7XC2HX75.js → chunk-GYPQL6XN.js} +157 -16
  165. package/dist/chunk-GYPQL6XN.js.map +1 -0
  166. package/dist/{chunk-TSH56VPU.js → chunk-HAYSYUAB.js} +2 -2
  167. package/dist/{chunk-PDLBLTOK.js → chunk-HC3PBX23.js} +9 -9
  168. package/dist/{chunk-TDHTVMPG.js → chunk-HFPASSFV.js} +7 -2
  169. package/dist/chunk-HFPASSFV.js.map +1 -0
  170. package/dist/chunk-J2WC5LF4.js +395 -0
  171. package/dist/chunk-J2WC5LF4.js.map +1 -0
  172. package/dist/{chunk-KXB4VXHY.js → chunk-JIYDRBVZ.js} +2 -2
  173. package/dist/chunk-JV3C2MNQ.js +74 -0
  174. package/dist/chunk-JV3C2MNQ.js.map +1 -0
  175. package/dist/{chunk-HLPD7B7P.js → chunk-JZH4LWHB.js} +2 -2
  176. package/dist/{chunk-AV5ZEH4M.js → chunk-KVJRXN2E.js} +2 -2
  177. package/dist/{chunk-WFTIGIIS.js → chunk-L6CQ7WIW.js} +5 -5
  178. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  179. package/dist/{chunk-EJUEXZHX.js → chunk-LLJMAULE.js} +2 -2
  180. package/dist/{chunk-N5Z4EVOR.js → chunk-LNEWDF2A.js} +36 -11
  181. package/dist/chunk-LNEWDF2A.js.map +1 -0
  182. package/dist/{chunk-QN25OCUF.js → chunk-LPYDOLSM.js} +5 -5
  183. package/dist/{chunk-AS7YMSL6.js → chunk-M23RF3LJ.js} +4 -4
  184. package/dist/{chunk-OAEQLRCY.js → chunk-MO4HSXHZ.js} +5 -5
  185. package/dist/{chunk-ECK75GDJ.js → chunk-N3LL5NEU.js} +43 -24
  186. package/dist/chunk-N3LL5NEU.js.map +1 -0
  187. package/dist/chunk-NEF7LR5J.js +29 -0
  188. package/dist/chunk-NEF7LR5J.js.map +1 -0
  189. package/dist/{chunk-3F2LKUMU.js → chunk-NIS256NW.js} +2 -2
  190. package/dist/{chunk-YIAA2X3D.js → chunk-NK5RGJ65.js} +3 -3
  191. package/dist/chunk-NLDVVWCL.js +84 -0
  192. package/dist/chunk-NLDVVWCL.js.map +1 -0
  193. package/dist/{chunk-4J7G5SY4.js → chunk-NZBZ7IS2.js} +72 -24
  194. package/dist/chunk-NZBZ7IS2.js.map +1 -0
  195. package/dist/{chunk-3TBLDMJA.js → chunk-O4KMGRXE.js} +5 -2
  196. package/dist/chunk-O4KMGRXE.js.map +1 -0
  197. package/dist/{chunk-7TWUCYER.js → chunk-PNRA7FAD.js} +7 -7
  198. package/dist/{chunk-5I4M26Q7.js → chunk-QBSFOKY6.js} +4 -4
  199. package/dist/{chunk-E53DSZEN.js → chunk-QR6G5KF4.js} +3 -3
  200. package/dist/{chunk-CJ2ZR7UA.js → chunk-QUENPGWZ.js} +261 -211
  201. package/dist/chunk-QUENPGWZ.js.map +1 -0
  202. package/dist/{chunk-4UH4BTGK.js → chunk-QVJPH7SH.js} +84 -84
  203. package/dist/{chunk-UYLMNVY6.js → chunk-R3KHKU7M.js} +16 -9
  204. package/dist/chunk-R3KHKU7M.js.map +1 -0
  205. package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
  206. package/dist/{chunk-WDISJRMG.js → chunk-RMMVQQA6.js} +2 -2
  207. package/dist/{chunk-JVLCVFQ4.js → chunk-RNHVVMFN.js} +3 -3
  208. package/dist/{chunk-QJAQNXWI.js → chunk-RVO6TCTU.js} +81 -84
  209. package/dist/chunk-RVO6TCTU.js.map +1 -0
  210. package/dist/chunk-S2HLHAZ4.js +16 -0
  211. package/dist/chunk-S2HLHAZ4.js.map +1 -0
  212. package/dist/{chunk-KWMXR7XS.js → chunk-S2V7RUCL.js} +8 -1
  213. package/dist/{chunk-KWMXR7XS.js.map → chunk-S2V7RUCL.js.map} +1 -1
  214. package/dist/{chunk-5SM35XZR.js → chunk-S5NZBKKQ.js} +2 -2
  215. package/dist/{chunk-VNA7W7QF.js → chunk-SVH57F5Z.js} +12 -4
  216. package/dist/chunk-SVH57F5Z.js.map +1 -0
  217. package/dist/{chunk-WIPEXG6R.js → chunk-SXIMQLGV.js} +2 -2
  218. package/dist/{chunk-RVLJEII5.js → chunk-SYUBB3WM.js} +256 -187
  219. package/dist/chunk-SYUBB3WM.js.map +1 -0
  220. package/dist/{chunk-VCD4PSK2.js → chunk-TQZ4DVBC.js} +7 -4
  221. package/dist/chunk-TQZ4DVBC.js.map +1 -0
  222. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  223. package/dist/{chunk-YV32N67O.js → chunk-URS5GSM7.js} +1 -1
  224. package/dist/chunk-URS5GSM7.js.map +1 -0
  225. package/dist/{chunk-4B77XSG5.js → chunk-UV72DEZD.js} +5 -5
  226. package/dist/{chunk-BJKPPZ6Z.js → chunk-UW66OZTD.js} +2 -2
  227. package/dist/{chunk-XYTOI63Z.js → chunk-V2TNYF6Q.js} +19 -11
  228. package/dist/chunk-V2TNYF6Q.js.map +1 -0
  229. package/dist/{chunk-S2BBISHU.js → chunk-VANZKHTN.js} +3 -3
  230. package/dist/chunk-VHFXP27N.js +250 -0
  231. package/dist/chunk-VHFXP27N.js.map +1 -0
  232. package/dist/chunk-VL35ZFSZ.js +102 -0
  233. package/dist/chunk-VL35ZFSZ.js.map +1 -0
  234. package/dist/{chunk-3Y224NYC.js → chunk-VYISFWVX.js} +2 -2
  235. package/dist/{chunk-JE7EK33X.js → chunk-W2V7UESE.js} +2 -2
  236. package/dist/{chunk-TIHMZFIV.js → chunk-W3IC7QOY.js} +3 -3
  237. package/dist/{chunk-NRV4Y3PM.js → chunk-W4FBGYGK.js} +1 -1
  238. package/dist/{chunk-P2BM76KT.js → chunk-WAS4HV46.js} +174 -43
  239. package/dist/chunk-WAS4HV46.js.map +1 -0
  240. package/dist/{chunk-57QKLRBV.js → chunk-WB7JSQCP.js} +2 -1
  241. package/dist/chunk-WB7JSQCP.js.map +1 -0
  242. package/dist/{chunk-A5OJCXZL.js → chunk-WZ3TOIDW.js} +15 -4
  243. package/dist/chunk-WZ3TOIDW.js.map +1 -0
  244. package/dist/{chunk-MU7ZHSZE.js → chunk-WZFAPHIK.js} +2 -2
  245. package/dist/{chunk-T2TTP3KU.js → chunk-X4IDNPOS.js} +2 -2
  246. package/dist/{chunk-UVIKWC7M.js → chunk-XAGYS7X6.js} +17 -17
  247. package/dist/{chunk-BLAKS3CP.js → chunk-XL3TATMJ.js} +3 -3
  248. package/dist/{chunk-W4XJFLAL.js → chunk-XPRJSHNI.js} +2 -2
  249. package/dist/{chunk-5TFP4CUL.js → chunk-XQ3HXAQH.js} +14 -11
  250. package/dist/chunk-XQ3HXAQH.js.map +1 -0
  251. package/dist/{chunk-E6EE5B67.js → chunk-YK6BDDHP.js} +4 -4
  252. package/dist/{chunk-ES36HTSC.js → chunk-YLHM5BQQ.js} +3 -3
  253. package/dist/{chunk-ULARSG5Z.js → chunk-YN6ASZUG.js} +10 -8
  254. package/dist/{chunk-ULARSG5Z.js.map → chunk-YN6ASZUG.js.map} +1 -1
  255. package/dist/{chunk-VOUOLGIP.js → chunk-YRFAYOFQ.js} +11 -13
  256. package/dist/chunk-YRFAYOFQ.js.map +1 -0
  257. package/dist/{chunk-IKKWIPYN.js → chunk-YYQAKIDJ.js} +37 -1
  258. package/dist/chunk-YYQAKIDJ.js.map +1 -0
  259. package/dist/{chunk-GF22HWS2.js → chunk-Z54EM5YZ.js} +4 -4
  260. package/dist/{chunk-64UDOIMI.js → chunk-ZLQ37WJX.js} +2 -2
  261. package/dist/{cli-BUGN3d6_.d.ts → cli-BHBswmUa.d.ts} +5 -5
  262. package/dist/cli.d.ts +16 -12
  263. package/dist/cli.js +138 -123
  264. package/dist/compounding/engine.d.ts +3 -2
  265. package/dist/compounding/engine.js +25 -23
  266. package/dist/compounding/preference-consolidator.d.ts +2 -1
  267. package/dist/compression-optimizer.d.ts +2 -1
  268. package/dist/config.d.ts +2 -1
  269. package/dist/config.js +10 -8
  270. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  271. package/dist/connectors/codex-materialize-runner.js +24 -22
  272. package/dist/connectors/codex-materialize.d.ts +2 -1
  273. package/dist/connectors/index.d.ts +2 -1
  274. package/dist/connectors/index.js +27 -25
  275. package/dist/consolidation-provenance-check.d.ts +3 -2
  276. package/dist/consolidation-provenance-check.js +4 -4
  277. package/dist/consolidation-undo.d.ts +3 -2
  278. package/dist/consolidation-undo.js +10 -7
  279. package/dist/consolidation-undo.js.map +1 -1
  280. package/dist/contradiction/index.d.ts +3 -2
  281. package/dist/converge-config.d.ts +2 -1
  282. package/dist/convergence-refresh.d.ts +4 -3
  283. package/dist/convergence-refresh.js +28 -26
  284. package/dist/conversation-index/backend.d.ts +2 -1
  285. package/dist/conversation-index/backend.js +2 -2
  286. package/dist/conversation-index/chunker.d.ts +2 -1
  287. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  288. package/dist/conversation-index/indexer.d.ts +2 -1
  289. package/dist/conversation-index/search.d.ts +2 -1
  290. package/dist/corpus-watermark.d.ts +2 -1
  291. package/dist/corpus-watermark.js +43 -41
  292. package/dist/day-summary.d.ts +2 -1
  293. package/dist/delinearize.d.ts +2 -1
  294. package/dist/direct-answer-wiring.d.ts +2 -1
  295. package/dist/direct-answer-wiring.js +2 -2
  296. package/dist/direct-answer.d.ts +2 -1
  297. package/dist/embedding-fallback.d.ts +2 -1
  298. package/dist/embedding-fallback.js +2 -2
  299. package/dist/enrichment/index.d.ts +2 -1
  300. package/dist/entity-retrieval-boundaries.js +1 -1
  301. package/dist/entity-retrieval.d.ts +3 -2
  302. package/dist/entity-retrieval.js +25 -23
  303. package/dist/entity-schema.d.ts +2 -1
  304. package/dist/explicit-capture.d.ts +9 -8
  305. package/dist/explicit-capture.js +11 -9
  306. package/dist/external-wiki-access.d.ts +127 -0
  307. package/dist/external-wiki-access.js +187 -0
  308. package/dist/external-wiki-access.js.map +1 -0
  309. package/dist/external-wiki-cli.d.ts +13 -0
  310. package/dist/external-wiki-cli.js +10 -0
  311. package/dist/external-wiki-cli.js.map +1 -0
  312. package/dist/external-wiki-collection-registration.d.ts +39 -0
  313. package/dist/external-wiki-collection-registration.js +79 -0
  314. package/dist/external-wiki-collection-registration.js.map +1 -0
  315. package/dist/external-wiki-collection.d.ts +50 -0
  316. package/dist/external-wiki-collection.js +387 -0
  317. package/dist/external-wiki-collection.js.map +1 -0
  318. package/dist/external-wiki-config.d.ts +13 -0
  319. package/dist/external-wiki-config.js +13 -0
  320. package/dist/external-wiki-config.js.map +1 -0
  321. package/dist/external-wiki-guard.d.ts +11 -0
  322. package/dist/external-wiki-guard.js +18 -0
  323. package/dist/external-wiki-guard.js.map +1 -0
  324. package/dist/external-wiki-mcp-tools.d.ts +123 -0
  325. package/dist/external-wiki-mcp-tools.js +8 -0
  326. package/dist/external-wiki-mcp-tools.js.map +1 -0
  327. package/dist/external-wiki-search.d.ts +42 -0
  328. package/dist/external-wiki-search.js +11 -0
  329. package/dist/external-wiki-search.js.map +1 -0
  330. package/dist/external-wiki.d.ts +39 -0
  331. package/dist/external-wiki.js +14 -0
  332. package/dist/external-wiki.js.map +1 -0
  333. package/dist/extraction-error-classification.d.ts +2 -1
  334. package/dist/extraction-faithfulness.d.ts +2 -1
  335. package/dist/extraction-judge-telemetry.d.ts +2 -1
  336. package/dist/extraction-judge-training.d.ts +2 -1
  337. package/dist/extraction-judge.d.ts +2 -1
  338. package/dist/extraction-liveness.d.ts +2 -1
  339. package/dist/extraction-source-grounding-helpers.d.ts +5 -3
  340. package/dist/extraction-source-grounding-helpers.js +1 -1
  341. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  342. package/dist/extraction-source-grounding-rules.js +2 -2
  343. package/dist/extraction-source-grounding.d.ts +2 -1
  344. package/dist/extraction-source-grounding.js +5 -5
  345. package/dist/extraction.d.ts +2 -1
  346. package/dist/extraction.js +46 -43
  347. package/dist/fallback-llm.d.ts +2 -1
  348. package/dist/{first-start-migration-F2QJD66E.js → first-start-migration-ZSHEFEI3.js} +10 -12
  349. package/dist/{first-start-migration-F2QJD66E.js.map → first-start-migration-ZSHEFEI3.js.map} +1 -1
  350. package/dist/graph-dashboard-diff.d.ts +2 -1
  351. package/dist/graph-dashboard-key.d.ts +2 -1
  352. package/dist/graph-dashboard-parser.d.ts +2 -1
  353. package/dist/graph-edge-reinforcement.d.ts +2 -1
  354. package/dist/graph-snapshot.d.ts +2 -1
  355. package/dist/graph.d.ts +2 -1
  356. package/dist/harmonic-retrieval.js +2 -2
  357. package/dist/importance.d.ts +2 -1
  358. package/dist/importers/index.d.ts +2 -1
  359. package/dist/in-flight-reads.d.ts +2 -1
  360. package/dist/index.d.ts +443 -430
  361. package/dist/index.js +304 -269
  362. package/dist/intent.d.ts +2 -1
  363. package/dist/lcm/engine.d.ts +2 -1
  364. package/dist/lcm/engine.js +2 -2
  365. package/dist/lcm/index.d.ts +2 -1
  366. package/dist/lcm/index.js +7 -7
  367. package/dist/lcm/tools.d.ts +2 -1
  368. package/dist/lifecycle.d.ts +2 -1
  369. package/dist/live-connectors-runner.d.ts +2 -1
  370. package/dist/local-llm.d.ts +2 -1
  371. package/dist/local-llm.js +2 -2
  372. package/dist/local-model-endpoint.d.ts +2 -1
  373. package/dist/maintenance/memory-governance.d.ts +2 -1
  374. package/dist/maintenance/memory-governance.js +25 -23
  375. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  376. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +25 -23
  377. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  378. package/dist/maintenance/rebuild-memory-projection.js +27 -25
  379. package/dist/{maintenance-LbuS2rUA.d.ts → maintenance-CoRikzIt.d.ts} +3 -3
  380. package/dist/mcp-memory-inspector-app.d.ts +14 -10
  381. package/dist/mcp-read-only-tools.js +1 -1
  382. package/dist/memory-action-policy.d.ts +2 -1
  383. package/dist/memory-cache.d.ts +2 -1
  384. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  385. package/dist/memory-projection-store.d.ts +2 -1
  386. package/dist/memory-provenance.d.ts +2 -1
  387. package/dist/memory-snapshot.d.ts +10 -0
  388. package/dist/memory-snapshot.js +8 -0
  389. package/dist/memory-snapshot.js.map +1 -0
  390. package/dist/memory-worth-outcomes.d.ts +3 -2
  391. package/dist/models-json.d.ts +2 -1
  392. package/dist/namespaces/migrate.d.ts +4 -3
  393. package/dist/namespaces/migrate.js +41 -39
  394. package/dist/namespaces/principal.d.ts +2 -1
  395. package/dist/namespaces/search.d.ts +2 -1
  396. package/dist/namespaces/search.js +18 -18
  397. package/dist/namespaces/storage.d.ts +4 -3
  398. package/dist/namespaces/storage.js +24 -22
  399. package/dist/native-knowledge.d.ts +2 -1
  400. package/dist/offline-sync-impression-drain.d.ts +2 -1
  401. package/dist/offline-sync-impression-drain.js +11 -9
  402. package/dist/offline-sync.d.ts +29 -3
  403. package/dist/offline-sync.js +6 -2
  404. package/dist/operator-doctor-corpus.d.ts +2 -1
  405. package/dist/operator-doctor-corpus.js +46 -44
  406. package/dist/operator-doctor-replica.d.ts +2 -1
  407. package/dist/operator-doctor-replica.js +3 -3
  408. package/dist/operator-toolkit.d.ts +4 -3
  409. package/dist/operator-toolkit.js +60 -55
  410. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  411. package/dist/orchestration/maintenance.d.ts +5 -4
  412. package/dist/orchestration/maintenance.js +37 -33
  413. package/dist/{orchestrator-rHiWt32X.d.ts → orchestrator-BJeq7Pw1.d.ts} +14 -7
  414. package/dist/orchestrator.d.ts +9 -8
  415. package/dist/orchestrator.js +200 -186
  416. package/dist/page-versioning.js +3 -3
  417. package/dist/patterns-cli.d.ts +2 -1
  418. package/dist/{pipeline-W_97O8BV.d.ts → pipeline-CNjY4wk3.d.ts} +1 -1
  419. package/dist/policy-runtime.d.ts +2 -1
  420. package/dist/policy-runtime.js +1 -1
  421. package/dist/proactive-contention.d.ts +2 -1
  422. package/dist/provenance.d.ts +2 -1
  423. package/dist/provenance.js +2 -2
  424. package/dist/{qmd-LWtMofAf.d.ts → qmd-C0UDZidt.d.ts} +9 -7
  425. package/dist/qmd-preflight.d.ts +5 -4
  426. package/dist/qmd-preflight.js +2 -2
  427. package/dist/qmd-recall-cache.d.ts +2 -1
  428. package/dist/qmd.d.ts +4 -3
  429. package/dist/qmd.js +8 -8
  430. package/dist/recall-concurrency-config.d.ts +2 -1
  431. package/dist/recall-disclosure-escalation.d.ts +2 -1
  432. package/dist/recall-explain-renderer.d.ts +2 -1
  433. package/dist/recall-explain-renderer.js +3 -3
  434. package/dist/recall-memory-map.d.ts +2 -1
  435. package/dist/recall-planner-llm.d.ts +2 -1
  436. package/dist/recall-state.d.ts +2 -1
  437. package/dist/recall-tag-filter.d.ts +2 -1
  438. package/dist/recall-timings.d.ts +2 -1
  439. package/dist/recall-xray-cli.d.ts +2 -1
  440. package/dist/recall-xray-cli.js +4 -4
  441. package/dist/recall-xray-renderer.d.ts +2 -1
  442. package/dist/recall-xray-renderer.js +3 -3
  443. package/dist/recall-xray.d.ts +8 -1
  444. package/dist/recall-xray.js +2 -2
  445. package/dist/reconcile/cursor.d.ts +12 -2
  446. package/dist/reconcile/cursor.js +46 -7
  447. package/dist/reconcile/cursor.js.map +1 -1
  448. package/dist/reconcile/manifest.d.ts +9 -2
  449. package/dist/reconcile/manifest.js +15 -268
  450. package/dist/reconcile/manifest.js.map +1 -1
  451. package/dist/reconcile/plan.d.ts +4 -1
  452. package/dist/reconcile/plan.js +4 -4
  453. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  454. package/dist/replay/normalizers/claude.d.ts +2 -1
  455. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  456. package/dist/replay/normalizers/shared.d.ts +2 -1
  457. package/dist/replay/runner.d.ts +2 -1
  458. package/dist/replay/types.d.ts +2 -1
  459. package/dist/replica-divergence.d.ts +2 -1
  460. package/dist/replica-divergence.js +2 -2
  461. package/dist/replica-peers-config.d.ts +2 -1
  462. package/dist/resolve-auth-token.d.ts +2 -1
  463. package/dist/resume-bundles.js +12 -10
  464. package/dist/retrieval-agents.d.ts +4 -3
  465. package/dist/retrieval-agents.js +2 -2
  466. package/dist/retrieval-tiers.d.ts +2 -1
  467. package/dist/routing/engine.d.ts +2 -1
  468. package/dist/routing/store.d.ts +2 -1
  469. package/dist/salvage-envelope.d.ts +2 -1
  470. package/dist/schemas.d.ts +54 -54
  471. package/dist/{scope-profiles-BiQKOE-p.d.ts → scope-profiles-BJzp2F5A.d.ts} +1 -1
  472. package/dist/search/embed-helper.d.ts +2 -1
  473. package/dist/search/embed-helper.js +3 -3
  474. package/dist/search/factory.d.ts +4 -2
  475. package/dist/search/factory.js +20 -18
  476. package/dist/search/index.d.ts +2 -1
  477. package/dist/search/index.js +20 -20
  478. package/dist/search/lancedb-backend.d.ts +2 -1
  479. package/dist/search/lancedb-backend.js +4 -4
  480. package/dist/search/meilisearch-backend.d.ts +2 -1
  481. package/dist/search/meilisearch-backend.js +4 -4
  482. package/dist/search/noop-backend.d.ts +2 -1
  483. package/dist/search/orama-backend.d.ts +2 -1
  484. package/dist/search/orama-backend.js +4 -4
  485. package/dist/search/port.d.ts +18 -1
  486. package/dist/search/port.js +1 -1
  487. package/dist/search/remote-backend.d.ts +2 -1
  488. package/dist/search/remote-backend.js +2 -2
  489. package/dist/secure-store/index.js +2 -2
  490. package/dist/{semantic-consolidation-dHYCyqgh.d.ts → semantic-consolidation-D4KAZO2G.d.ts} +1 -1
  491. package/dist/semantic-consolidation.d.ts +3 -2
  492. package/dist/semantic-consolidation.js +26 -24
  493. package/dist/semantic-rule-promotion.js +24 -22
  494. package/dist/semantic-rule-verifier.d.ts +2 -1
  495. package/dist/semantic-rule-verifier.js +25 -23
  496. package/dist/{service-DJG3KCQ4.d.ts → service-DWC4tq7p.d.ts} +2 -2
  497. package/dist/session-observer-bands.d.ts +2 -1
  498. package/dist/session-observer-state.d.ts +2 -1
  499. package/dist/shared-context/manager.d.ts +10 -9
  500. package/dist/shared-context/manager.js +2 -2
  501. package/dist/signal.d.ts +2 -1
  502. package/dist/source-agent-qualifier.d.ts +2 -1
  503. package/dist/source-agent-qualifier.js +43 -40
  504. package/dist/{storage-F9FVh-w9.d.ts → storage-DPGjB-8e.d.ts} +28 -13
  505. package/dist/storage.d.ts +3 -2
  506. package/dist/storage.js +26 -24
  507. package/dist/summarizer.d.ts +2 -1
  508. package/dist/summarizer.js +5 -5
  509. package/dist/summary-snapshot.d.ts +2 -1
  510. package/dist/temporal-supersession.d.ts +3 -2
  511. package/dist/temporal-timeline-recall.d.ts +2 -1
  512. package/dist/temporal-validity.d.ts +2 -1
  513. package/dist/threading.d.ts +2 -1
  514. package/dist/tier-migration.d.ts +3 -2
  515. package/dist/tier-migration.js +1 -1
  516. package/dist/tier-routing.d.ts +2 -1
  517. package/dist/tool-scoped-memory.d.ts +5 -1
  518. package/dist/tool-scoped-memory.js +3 -1
  519. package/dist/topics.d.ts +2 -1
  520. package/dist/transcript.d.ts +2 -1
  521. package/dist/transfer/capsule-import.js +4 -4
  522. package/dist/transfer/types.d.ts +66 -66
  523. package/dist/trust-score-stage.d.ts +2 -1
  524. package/dist/trust-score.d.ts +2 -1
  525. package/dist/{types-rEwubvim.d.ts → types-yX_FwERf.d.ts} +8 -1
  526. package/dist/types.d.ts +2 -1
  527. package/dist/types.js +1 -1
  528. package/dist/utility-runtime.d.ts +2 -1
  529. package/dist/verified-recall.js +25 -23
  530. package/dist/write-envelope.d.ts +2 -1
  531. package/package.json +2 -2
  532. package/src/abort-error.ts +17 -0
  533. package/src/access-admin-ops-surface.ts +1 -0
  534. package/src/access-boundary.ts +1 -0
  535. package/src/access-coding-context-resolution.ts +42 -0
  536. package/src/access-extraction-force-flush.ts +38 -2
  537. package/src/access-http-lcm-compaction.ts +5 -2
  538. package/src/access-http-offline-stream.ts +80 -0
  539. package/src/access-http.test.ts +310 -3
  540. package/src/access-http.ts +84 -77
  541. package/src/access-mcp-output-schemas.ts +36 -0
  542. package/src/access-mcp.test.ts +95 -1
  543. package/src/access-mcp.ts +7 -9
  544. package/src/access-observe-helpers.ts +64 -22
  545. package/src/access-observe-write-surface.ts +8 -0
  546. package/src/access-offline-manifest.ts +54 -0
  547. package/src/access-operations-batch.ts +3 -3
  548. package/src/access-operations.ts +13 -7
  549. package/src/access-recall-concurrency.ts +3 -27
  550. package/src/access-recall-surface.ts +3 -0
  551. package/src/access-service-health.test.ts +32 -7
  552. package/src/access-service-namespace.test.ts +55 -0
  553. package/src/access-service-observe-idempotency.test.ts +34 -2
  554. package/src/access-service-observe-lcm-parity.test.ts +183 -23
  555. package/src/access-service-observe-scope.test.ts +160 -1
  556. package/src/access-service-offline-file-content.test.ts +345 -1
  557. package/src/access-service.ts +88 -62
  558. package/src/access-surface-catalog.ts +4 -0
  559. package/src/admin/admin-surfaces.ts +2 -0
  560. package/src/binary-lifecycle/pipeline.test.ts +106 -1
  561. package/src/binary-lifecycle/pipeline.ts +3 -0
  562. package/src/coding/git-context.test.ts +47 -0
  563. package/src/coding/git-context.ts +129 -27
  564. package/src/config.test.ts +24 -0
  565. package/src/config.ts +9 -12
  566. package/src/connector-provenance.test.ts +101 -0
  567. package/src/consolidation-undo.ts +3 -0
  568. package/src/convergence-refresh.ts +14 -2
  569. package/src/correction/correction-access-wiring.ts +9 -7
  570. package/src/correction/correction-executor.test.ts +206 -2
  571. package/src/correction/correction-executor.ts +29 -20
  572. package/src/correction/correction-planner.test.ts +36 -0
  573. package/src/correction/correction-planner.ts +9 -15
  574. package/src/correction/correction-service.ts +3 -1
  575. package/src/correction/correction-storage-integration.test.ts +77 -0
  576. package/src/correction/correction-surfaces.test.ts +41 -28
  577. package/src/correction/passive-capture.test.ts +59 -0
  578. package/src/correction/passive-capture.ts +4 -1
  579. package/src/entity-retrieval-boundaries.ts +17 -4
  580. package/src/entity-retrieval.ts +27 -6
  581. package/src/external-wiki-access.test.ts +65 -0
  582. package/src/external-wiki-access.ts +31 -0
  583. package/src/external-wiki-cli.ts +100 -0
  584. package/src/external-wiki-collection-registration.test.ts +163 -0
  585. package/src/external-wiki-collection-registration.ts +101 -0
  586. package/src/external-wiki-collection.test.ts +502 -0
  587. package/src/external-wiki-collection.ts +503 -0
  588. package/src/external-wiki-config.test.ts +135 -0
  589. package/src/external-wiki-config.ts +100 -0
  590. package/src/external-wiki-guard.ts +83 -0
  591. package/src/external-wiki-mcp-tools.ts +23 -0
  592. package/src/external-wiki-search.test.ts +367 -0
  593. package/src/external-wiki-search.ts +362 -0
  594. package/src/external-wiki.test.ts +240 -0
  595. package/src/external-wiki.ts +427 -0
  596. package/src/extraction-scope-source-agent.test.ts +21 -0
  597. package/src/extraction-source-grounding-helpers.ts +243 -53
  598. package/src/extraction-source-grounding-rules.ts +133 -39
  599. package/src/extraction-source-grounding.test.ts +363 -33
  600. package/src/extraction-timeout.test.ts +1 -0
  601. package/src/extraction-watermark.test.ts +150 -7
  602. package/src/extraction.ts +8 -1
  603. package/src/index.ts +9 -5
  604. package/src/maintenance/first-start-migration.ts +11 -11
  605. package/src/mcp-read-only-tools.ts +1 -0
  606. package/src/memory-snapshot.ts +15 -0
  607. package/src/offline-sync.test.ts +194 -0
  608. package/src/offline-sync.ts +217 -13
  609. package/src/orchestration/external-wiki-recall-guard.test.ts +94 -0
  610. package/src/orchestration/extraction-persist.ts +19 -2
  611. package/src/orchestration/extraction-run-helpers.ts +37 -19
  612. package/src/orchestration/extraction-run.test.ts +171 -2
  613. package/src/orchestration/extraction-run.ts +11 -13
  614. package/src/orchestration/extraction-watermark.ts +106 -17
  615. package/src/orchestration/generic-recall-paths.ts +14 -0
  616. package/src/orchestration/orchestrator-helpers.ts +2 -0
  617. package/src/orchestration/orchestrator-init.ts +9 -0
  618. package/src/orchestration/recall-internal-deps.ts +6 -0
  619. package/src/orchestration/recall-internal.ts +154 -33
  620. package/src/orchestration/recall-rerank-coordinator.ts +60 -25
  621. package/src/orchestration/recall-search-pipeline.test.ts +75 -1
  622. package/src/orchestration/recall-search-pipeline.ts +50 -10
  623. package/src/orchestrator-convergence-refresh.test.ts +36 -2
  624. package/src/orchestrator.ts +13 -3
  625. package/src/page-versioning.ts +5 -19
  626. package/src/procedural/procedure-recall.ts +5 -1
  627. package/src/provenance-surfaces.test.ts +3 -0
  628. package/src/qmd-client.test.ts +78 -17
  629. package/src/qmd.test.ts +24 -0
  630. package/src/qmd.ts +224 -315
  631. package/src/recall-explain-renderer.ts +3 -0
  632. package/src/recall-rerank-coordinator.test.ts +61 -0
  633. package/src/recall-xray-renderer.test.ts +6 -0
  634. package/src/recall-xray.test.ts +88 -1
  635. package/src/recall-xray.ts +15 -0
  636. package/src/reconcile/cursor.test.ts +48 -0
  637. package/src/reconcile/cursor.ts +58 -11
  638. package/src/reconcile/manifest.test.ts +4 -0
  639. package/src/reconcile/manifest.ts +41 -51
  640. package/src/reconcile/plan.test.ts +4 -0
  641. package/src/reconcile/plan.ts +28 -16
  642. package/src/search/factory.ts +6 -6
  643. package/src/search/port.ts +25 -9
  644. package/src/secure-store/secure-fs.ts +20 -12
  645. package/src/secure-store/secure-store.test.ts +41 -2
  646. package/src/spaces/index.test.ts +61 -2
  647. package/src/spaces/index.ts +44 -18
  648. package/src/storage/entity-alias-config.ts +97 -0
  649. package/src/storage/entity-canonical-id-lock.ts +53 -23
  650. package/src/storage/entity-canonical-id-migration.ts +53 -22
  651. package/src/storage/entity-canonical-id-references.ts +3 -0
  652. package/src/storage/entity-id-safety.ts +7 -0
  653. package/src/storage/entity-store.ts +6 -2
  654. package/src/storage/memory-frontmatter-metadata.ts +4 -9
  655. package/src/storage/memory-migration-serialization.ts +10 -15
  656. package/src/storage/tombstone-blocked-capture-mutation.ts +52 -64
  657. package/src/storage/tombstone-blocked-capture-sync.ts +244 -199
  658. package/src/storage-contract/cache-coherence.test.ts +99 -0
  659. package/src/storage-deletion-revisions.test.ts +91 -0
  660. package/src/storage-fact-hash-index-defer.test.ts +460 -170
  661. package/src/storage.ts +572 -284
  662. package/src/testing/subjects/first-start-tier-migration.test.ts +75 -0
  663. package/src/tier-migration.ts +10 -12
  664. package/src/tool-scoped-memory.ts +10 -0
  665. package/src/transfer/capsule-import.ts +13 -0
  666. package/src/transfer/capsule-merge.ts +13 -0
  667. package/src/trust-score-recall-paths.test.ts +75 -1
  668. package/src/types.ts +7 -3
  669. package/dist/capsule-merge-IDWJPCWK.js.map +0 -1
  670. package/dist/chunk-3CE77VAP.js.map +0 -1
  671. package/dist/chunk-3TBLDMJA.js.map +0 -1
  672. package/dist/chunk-4J7G5SY4.js.map +0 -1
  673. package/dist/chunk-57QKLRBV.js.map +0 -1
  674. package/dist/chunk-5TFP4CUL.js.map +0 -1
  675. package/dist/chunk-7XC2HX75.js.map +0 -1
  676. package/dist/chunk-A5OJCXZL.js.map +0 -1
  677. package/dist/chunk-BUE5E2HL.js.map +0 -1
  678. package/dist/chunk-CJ2ZR7UA.js.map +0 -1
  679. package/dist/chunk-CUM2BBPN.js.map +0 -1
  680. package/dist/chunk-D3J5SLQK.js.map +0 -1
  681. package/dist/chunk-DL7ZD3JH.js.map +0 -1
  682. package/dist/chunk-DLVPUX7U.js.map +0 -1
  683. package/dist/chunk-E6PNLPGJ.js.map +0 -1
  684. package/dist/chunk-ECK75GDJ.js.map +0 -1
  685. package/dist/chunk-HREE4JHI.js.map +0 -1
  686. package/dist/chunk-HZFHQ4AQ.js.map +0 -1
  687. package/dist/chunk-IKKWIPYN.js.map +0 -1
  688. package/dist/chunk-J7VGGECD.js.map +0 -1
  689. package/dist/chunk-N5Z4EVOR.js.map +0 -1
  690. package/dist/chunk-NVRYW264.js.map +0 -1
  691. package/dist/chunk-P2BM76KT.js.map +0 -1
  692. package/dist/chunk-PVGDJXVK.js +0 -21
  693. package/dist/chunk-QJAQNXWI.js.map +0 -1
  694. package/dist/chunk-RN7DY3FC.js.map +0 -1
  695. package/dist/chunk-RVLJEII5.js.map +0 -1
  696. package/dist/chunk-S2NCTZGJ.js.map +0 -1
  697. package/dist/chunk-TDHTVMPG.js.map +0 -1
  698. package/dist/chunk-UYLMNVY6.js.map +0 -1
  699. package/dist/chunk-VCD4PSK2.js.map +0 -1
  700. package/dist/chunk-VNA7W7QF.js.map +0 -1
  701. package/dist/chunk-VOUOLGIP.js.map +0 -1
  702. package/dist/chunk-VWAXN2BN.js.map +0 -1
  703. package/dist/chunk-WOCNN776.js.map +0 -1
  704. package/dist/chunk-XYTOI63Z.js.map +0 -1
  705. package/dist/chunk-YV32N67O.js.map +0 -1
  706. /package/dist/{auto-sync-5OE5QOZB.js.map → auto-sync-UPTUVE4X.js.map} +0 -0
  707. /package/dist/{chunk-E5UK4VPE.js.map → chunk-2FSTB6BJ.js.map} +0 -0
  708. /package/dist/{chunk-5ZE7QHTK.js.map → chunk-2X2T2UVE.js.map} +0 -0
  709. /package/dist/{chunk-P4DRWEYC.js.map → chunk-3COYXTGM.js.map} +0 -0
  710. /package/dist/{chunk-5IVLTFOV.js.map → chunk-44N6ESJ4.js.map} +0 -0
  711. /package/dist/{chunk-HO3QBJEY.js.map → chunk-5546W5SI.js.map} +0 -0
  712. /package/dist/{chunk-AAIUERNB.js.map → chunk-5QJQHBLE.js.map} +0 -0
  713. /package/dist/{chunk-6CZPDBJS.js.map → chunk-5U7ID3EZ.js.map} +0 -0
  714. /package/dist/{chunk-DNWXFTLD.js.map → chunk-A4IJCD2Z.js.map} +0 -0
  715. /package/dist/{chunk-PKNLM44P.js.map → chunk-AC5OWJLV.js.map} +0 -0
  716. /package/dist/{chunk-LZ4LDKHZ.js.map → chunk-AMAUBUKY.js.map} +0 -0
  717. /package/dist/{chunk-S5SLVSVY.js.map → chunk-BQIFZ2MP.js.map} +0 -0
  718. /package/dist/{chunk-Q6IP2ARR.js.map → chunk-CSOYVTRX.js.map} +0 -0
  719. /package/dist/{chunk-XOQSEF7X.js.map → chunk-CVILPI77.js.map} +0 -0
  720. /package/dist/{chunk-4LMA77JH.js.map → chunk-E5XQIWAL.js.map} +0 -0
  721. /package/dist/{chunk-WUNIWKY4.js.map → chunk-ELIL2A37.js.map} +0 -0
  722. /package/dist/{chunk-OQ5PRDDS.js.map → chunk-ERZ2R42X.js.map} +0 -0
  723. /package/dist/{chunk-U7GW7NE7.js.map → chunk-FIK3CQNA.js.map} +0 -0
  724. /package/dist/{chunk-33PLLLL7.js.map → chunk-GFCVUY6G.js.map} +0 -0
  725. /package/dist/{chunk-VUPTKTDV.js.map → chunk-GUAL4PQH.js.map} +0 -0
  726. /package/dist/{chunk-CINZGPSJ.js.map → chunk-GUMZC2BO.js.map} +0 -0
  727. /package/dist/{chunk-H24WNPA2.js.map → chunk-GWFSVJ4P.js.map} +0 -0
  728. /package/dist/{chunk-TSH56VPU.js.map → chunk-HAYSYUAB.js.map} +0 -0
  729. /package/dist/{chunk-PDLBLTOK.js.map → chunk-HC3PBX23.js.map} +0 -0
  730. /package/dist/{chunk-KXB4VXHY.js.map → chunk-JIYDRBVZ.js.map} +0 -0
  731. /package/dist/{chunk-HLPD7B7P.js.map → chunk-JZH4LWHB.js.map} +0 -0
  732. /package/dist/{chunk-AV5ZEH4M.js.map → chunk-KVJRXN2E.js.map} +0 -0
  733. /package/dist/{chunk-WFTIGIIS.js.map → chunk-L6CQ7WIW.js.map} +0 -0
  734. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  735. /package/dist/{chunk-EJUEXZHX.js.map → chunk-LLJMAULE.js.map} +0 -0
  736. /package/dist/{chunk-QN25OCUF.js.map → chunk-LPYDOLSM.js.map} +0 -0
  737. /package/dist/{chunk-AS7YMSL6.js.map → chunk-M23RF3LJ.js.map} +0 -0
  738. /package/dist/{chunk-OAEQLRCY.js.map → chunk-MO4HSXHZ.js.map} +0 -0
  739. /package/dist/{chunk-3F2LKUMU.js.map → chunk-NIS256NW.js.map} +0 -0
  740. /package/dist/{chunk-YIAA2X3D.js.map → chunk-NK5RGJ65.js.map} +0 -0
  741. /package/dist/{chunk-7TWUCYER.js.map → chunk-PNRA7FAD.js.map} +0 -0
  742. /package/dist/{chunk-5I4M26Q7.js.map → chunk-QBSFOKY6.js.map} +0 -0
  743. /package/dist/{chunk-E53DSZEN.js.map → chunk-QR6G5KF4.js.map} +0 -0
  744. /package/dist/{chunk-4UH4BTGK.js.map → chunk-QVJPH7SH.js.map} +0 -0
  745. /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
  746. /package/dist/{chunk-WDISJRMG.js.map → chunk-RMMVQQA6.js.map} +0 -0
  747. /package/dist/{chunk-JVLCVFQ4.js.map → chunk-RNHVVMFN.js.map} +0 -0
  748. /package/dist/{chunk-5SM35XZR.js.map → chunk-S5NZBKKQ.js.map} +0 -0
  749. /package/dist/{chunk-WIPEXG6R.js.map → chunk-SXIMQLGV.js.map} +0 -0
  750. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  751. /package/dist/{chunk-4B77XSG5.js.map → chunk-UV72DEZD.js.map} +0 -0
  752. /package/dist/{chunk-BJKPPZ6Z.js.map → chunk-UW66OZTD.js.map} +0 -0
  753. /package/dist/{chunk-S2BBISHU.js.map → chunk-VANZKHTN.js.map} +0 -0
  754. /package/dist/{chunk-3Y224NYC.js.map → chunk-VYISFWVX.js.map} +0 -0
  755. /package/dist/{chunk-JE7EK33X.js.map → chunk-W2V7UESE.js.map} +0 -0
  756. /package/dist/{chunk-TIHMZFIV.js.map → chunk-W3IC7QOY.js.map} +0 -0
  757. /package/dist/{chunk-NRV4Y3PM.js.map → chunk-W4FBGYGK.js.map} +0 -0
  758. /package/dist/{chunk-MU7ZHSZE.js.map → chunk-WZFAPHIK.js.map} +0 -0
  759. /package/dist/{chunk-T2TTP3KU.js.map → chunk-X4IDNPOS.js.map} +0 -0
  760. /package/dist/{chunk-UVIKWC7M.js.map → chunk-XAGYS7X6.js.map} +0 -0
  761. /package/dist/{chunk-BLAKS3CP.js.map → chunk-XL3TATMJ.js.map} +0 -0
  762. /package/dist/{chunk-W4XJFLAL.js.map → chunk-XPRJSHNI.js.map} +0 -0
  763. /package/dist/{chunk-E6EE5B67.js.map → chunk-YK6BDDHP.js.map} +0 -0
  764. /package/dist/{chunk-ES36HTSC.js.map → chunk-YLHM5BQQ.js.map} +0 -0
  765. /package/dist/{chunk-GF22HWS2.js.map → chunk-Z54EM5YZ.js.map} +0 -0
  766. /package/dist/{chunk-64UDOIMI.js.map → chunk-ZLQ37WJX.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-resolver.js';
2
2
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
3
3
  export { resolveRemnicConfigRecord } from './config-record.js';
4
+ export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
5
+ export { runExternalWikiCliCommand } from './external-wiki-cli.js';
4
6
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
5
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-rHiWt32X.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BJeq7Pw1.js';
6
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
7
9
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
8
10
  export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
@@ -12,8 +14,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
12
14
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
13
15
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
14
16
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
15
- import { S as StorageManager, a as MeetingRecordStore } from './storage-F9FVh-w9.js';
16
- 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-F9FVh-w9.js';
17
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-DPGjB-8e.js';
18
+ 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-DPGjB-8e.js';
17
19
  import { SealedMemoryEnvelope } from './write-envelope.js';
18
20
  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';
19
21
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -22,13 +24,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
22
24
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
23
25
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
24
26
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
25
- import { ba as CodingContext, bg as CodingModeConfig, b7 as FusionConversationInput, bh as FusedSpeaker, bi as FusedSegment, bj as FusedDisagreement, bk as FusionOptions, aW as WearableConversation, bl as FusionDayResult, P as PluginConfig, bm as CodingKnowledgeConfig, v as MemoryCategory, bn as WearableCleanupSettings, bo as WearableFusionConfig, aX as WearableSourceSettings, a$ as WearablesConfig, a_ as WearableSourceConnector, b3 as WearableCorrectionRule, bp as WearableDayTranscriptMeta, b2 as WearableDayTranscript, aE as ActivitySnapshot, bq as ActivityDayMeta, br as ActivityDayDigest, aH as ActivitySourceClient, bs as ActivitySourceCheck, bt as ActivitySnapshotPage, aF as ActivityConfig, J as ExtractionResult, x as MemoryStatus, ap as ImportanceScore, bu as MeetingsDetectionConfig, b6 as MeetingsDetectionInput, b9 as DetectedMeeting, b5 as MeetingsConfig, aL as MeetingRecord, bv as MeetingAudioWindow, bw as MeetingAppSpan } from './types-rEwubvim.js';
26
- export { bx as ActivityExtractionMode, aG as ActivitySourceConfig, t as AgentAccessAuthToken, g as BriefingActiveThread, by as BriefingConfig, e as BriefingFocus, d as BriefingFollowup, bz as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bA as BriefingWindow, a7 as BufferSurpriseEvent, bB as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bC as BulkImportSourceAdapter, f as CalendarEvent, C as CalendarSource, bD as CodexCompatConfig, bf as ConsolidationObservation, bE as DEFAULT_RECALL_DISCLOSURE, bF as DisagreementKind, E as EntityFile, an as EntityStructuredSection, bG as ExtractedFact, bH as FusedContribution, bI as FusedConversationProvenance, aK as FusedDayFile, aJ as FusedDayMeta, aN as FusedMeeting, bJ as FusedSegmentProvenance, aI as FusedWearableConversation, bK as FusionSegmentInput, G as GatewayConfig, bL as ImportSourceRole, a8 as ImportTurn, bM as ImportTurnValidationIssue, b8 as MeetingActivitySnapshot, b4 as MeetingBuildInput, aM as MeetingDetectionSource, bN as MeetingScreenContextEvent, bO as MeetingSummaryMode, ar as MemoryActionEligibilityContext, bP as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bQ as MemoryObservation, bR as MemoryScope, bS as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, s as SecretRef, bT as SegmentPickReason, bU as WearableAuthCheck, bV as WearableFetchOptions, bW as WearableFetchPage, aZ as WearableMemoryMode, aY as WearableNativeMemory, bX as WearableNativeMemoryPage, b1 as WearableSourceStatus, b0 as WearableSyncSummary, bY as WearableTranscriptSegment, bZ as isImportRole, b_ as isRecallDisclosure, b$ as parseIsoTimestamp, c0 as validateImportTurn } from './types-rEwubvim.js';
27
+ import { C as CodingContext, bg as CodingModeConfig, b8 as FusionConversationInput, bh as FusedSpeaker, bi as FusedSegment, bj as FusedDisagreement, bk as FusionOptions, aX as WearableConversation, bl as FusionDayResult, P as PluginConfig, bm as CodingKnowledgeConfig, w as MemoryCategory, bn as WearableCleanupSettings, bo as WearableFusionConfig, aY as WearableSourceSettings, b0 as WearablesConfig, a$ as WearableSourceConnector, b4 as WearableCorrectionRule, bp as WearableDayTranscriptMeta, b3 as WearableDayTranscript, aF as ActivitySnapshot, bq as ActivityDayMeta, br as ActivityDayDigest, aI as ActivitySourceClient, bs as ActivitySourceCheck, bt as ActivitySnapshotPage, aG as ActivityConfig, K as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bu as MeetingsDetectionConfig, b7 as MeetingsDetectionInput, ba as DetectedMeeting, b6 as MeetingsConfig, aM as MeetingRecord, bv as MeetingAudioWindow, bw as MeetingAppSpan } from './types-yX_FwERf.js';
28
+ export { bx as ActivityExtractionMode, aH as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, by as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bz as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bA as BriefingWindow, a9 as BufferSurpriseEvent, bB as BulkImportError, ab as BulkImportOptions, ad as BulkImportResult, ac as BulkImportSource, bC as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bD as CodexCompatConfig, bf as ConsolidationObservation, bE as DEFAULT_RECALL_DISCLOSURE, bF as DisagreementKind, E as EntityFile, ao as EntityStructuredSection, bG as ExtractedFact, bH as FusedContribution, bI as FusedConversationProvenance, aL as FusedDayFile, aK as FusedDayMeta, aO as FusedMeeting, bJ as FusedSegmentProvenance, aJ as FusedWearableConversation, bK as FusionSegmentInput, G as GatewayConfig, bL as ImportSourceRole, aa as ImportTurn, bM as ImportTurnValidationIssue, b9 as MeetingActivitySnapshot, b5 as MeetingBuildInput, aN as MeetingDetectionSource, bN as MeetingScreenContextEvent, bO as MeetingSummaryMode, as as MemoryActionEligibilityContext, bP as MemoryActionEligibilitySource, ah as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bQ as MemoryObservation, bR as MemoryScope, bS as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bT as SegmentPickReason, bU as WearableAuthCheck, bV as WearableFetchOptions, bW as WearableFetchPage, a_ as WearableMemoryMode, aZ as WearableNativeMemory, bX as WearableNativeMemoryPage, b2 as WearableSourceStatus, b1 as WearableSyncSummary, bY as WearableTranscriptSegment, bZ as isImportRole, b_ as isRecallDisclosure, b$ as parseIsoTimestamp, c0 as validateImportTurn } from './types-yX_FwERf.js';
27
29
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
28
30
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
29
31
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
30
- import { f as EngramAccessService } from './access-service-CiJRsgAB.js';
31
- export { P as ProcedureStatsConfigSnapshot, I as ProcedureStatsRecent, J as ProcedureStatsReport, K as ProcedureStatusCounts, L as computeProcedureStats, N as formatProcedureStatsText } from './access-service-CiJRsgAB.js';
32
+ import { f as EngramAccessService } from './access-service-CNN89xyn.js';
33
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-CNN89xyn.js';
32
34
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
33
35
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
34
36
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -36,13 +38,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
36
38
  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';
37
39
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
38
40
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
39
- export { Q as QmdClient } from './qmd-LWtMofAf.js';
41
+ export { Q as QmdClient } from './qmd-C0UDZidt.js';
40
42
  export { LanceDbBackend } from './search/lancedb-backend.js';
41
43
  export { OramaBackend } from './search/orama-backend.js';
42
44
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
43
45
  export { buildEntityRecallSection } from './entity-retrieval.js';
44
46
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
45
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-scBmy0sO.js';
47
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-bctMURhN.js';
46
48
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
47
49
  export { storagePathHash } from './storage-paths.js';
48
50
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -70,9 +72,9 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
70
72
  export { initLogger, log } from './logger.js';
71
73
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
72
74
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
73
- 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_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
74
- import { D as DiscoveredExtension } from './semantic-consolidation-dHYCyqgh.js';
75
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-dHYCyqgh.js';
75
+ 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, OfflineSyncFileTarget, 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';
76
+ import { D as DiscoveredExtension } from './semantic-consolidation-D4KAZO2G.js';
77
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-D4KAZO2G.js';
76
78
  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';
77
79
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
78
80
  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';
@@ -87,12 +89,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
87
89
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
88
90
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
89
91
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
90
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-W_97O8BV.js';
91
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BUGN3d6_.js';
92
- 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-DJG3KCQ4.js';
93
- 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-DJG3KCQ4.js';
94
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-LbuS2rUA.js';
95
- 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-LbuS2rUA.js';
92
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CNjY4wk3.js';
93
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BHBswmUa.js';
94
+ 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-DWC4tq7p.js';
95
+ 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-DWC4tq7p.js';
96
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-CoRikzIt.js';
97
+ 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-CoRikzIt.js';
96
98
  import { SearchExecutionOptions } from './search/port.js';
97
99
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
98
100
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -110,9 +112,10 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
110
112
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
111
113
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
112
114
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
113
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-BiQKOE-p.js';
115
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-BJzp2F5A.js';
114
116
  export { ContinuityImprovementLoop } from './types-continuity.js';
115
117
  export { EngramAccessInputError } from './access-errors.js';
118
+ export { ExternalWikiRoot } from './external-wiki-config.js';
116
119
  export { expandTildePath } from './utils/path.js';
117
120
  export { normalizeAttributePairs } from './structured-attributes.js';
118
121
  import './bounded-jsonl-state.js';
@@ -171,7 +174,7 @@ import './policy-runtime.js';
171
174
  import './profiling.js';
172
175
  import './schemas.js';
173
176
  import './extraction-error-classification.js';
174
- import './access-namespace-preflight-5yZ4g6F8.js';
177
+ import './access-namespace-preflight-CWUDwB4M.js';
175
178
  import './recall-explain-renderer.js';
176
179
  import './access-citation.js';
177
180
  import './access-health-types.js';
@@ -183,6 +186,9 @@ import './access-wearables-meetings-surface.js';
183
186
  import './graph-snapshot.js';
184
187
  import './transfer/capsule-export.js';
185
188
  import './capsule-cli.js';
189
+ import './access-offline-manifest.js';
190
+ import './reconcile/manifest.js';
191
+ import './reconcile/plan.js';
186
192
  import './qmd-status.js';
187
193
  import './search/embed-helper.js';
188
194
  import 'node:http';
@@ -493,6 +499,8 @@ declare function parseIsoOffsetTimestamp(value: string): number | null;
493
499
  */
494
500
  declare function parseFlexibleIsoTimestamp(value: string): number | null;
495
501
 
502
+ declare function withRawEntityPageMutation<T>(baseDir: string, filePath: string, task: (refreshLock: () => Promise<boolean>) => Promise<T>): Promise<T>;
503
+
496
504
  /**
497
505
  * Intent-gated recall for active procedure memories (issue #519).
498
506
  */
@@ -501,7 +509,10 @@ declare function parseFlexibleIsoTimestamp(value: string): number | null;
501
509
  * Build markdown for the recall pipeline when procedural memory is enabled and
502
510
  * the prompt looks like task initiation.
503
511
  */
504
- declare function buildProcedureRecallSection(storage: StorageManager, prompt: string, config: PluginConfig): Promise<string | null>;
512
+ declare function buildProcedureRecallSection(storage: StorageManager, prompt: string, config: PluginConfig, options?: {
513
+ partitionToolScoped?: boolean;
514
+ requestingConnector?: string;
515
+ }): Promise<string | null>;
505
516
 
506
517
  /**
507
518
  * Procedural memory types (issue #519).
@@ -875,15 +886,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
875
886
  locator: z.ZodOptional<z.ZodString>;
876
887
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
877
888
  }, "strict", z.ZodTypeAny, {
878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
879
889
  id: string;
880
890
  label: string;
891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
881
892
  capture: "at_action" | "historical_lookup" | "fixture";
882
893
  locator?: string | undefined;
883
894
  }, {
884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
885
895
  id: string;
886
896
  label: string;
897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
887
898
  capture: "at_action" | "historical_lookup" | "fixture";
888
899
  locator?: string | undefined;
889
900
  }>;
@@ -900,15 +911,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
900
911
  locator: z.ZodOptional<z.ZodString>;
901
912
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
902
913
  }, "strict", z.ZodTypeAny, {
903
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
904
914
  id: string;
905
915
  label: string;
916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
906
917
  capture: "at_action" | "historical_lookup" | "fixture";
907
918
  locator?: string | undefined;
908
919
  }, {
909
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
910
920
  id: string;
911
921
  label: string;
922
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
912
923
  capture: "at_action" | "historical_lookup" | "fixture";
913
924
  locator?: string | undefined;
914
925
  }>, "many">>;
@@ -916,9 +927,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
916
927
  kind: "mission_started";
917
928
  title: string;
918
929
  evidence: {
919
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
920
930
  id: string;
921
931
  label: string;
932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
922
933
  capture: "at_action" | "historical_lookup" | "fixture";
923
934
  locator?: string | undefined;
924
935
  }[];
@@ -930,9 +941,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
930
941
  objective: string;
931
942
  runMode: "replay" | "fixture" | "live";
932
943
  evidence?: {
933
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
934
944
  id: string;
935
945
  label: string;
946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
936
947
  capture: "at_action" | "historical_lookup" | "fixture";
937
948
  locator?: string | undefined;
938
949
  }[] | undefined;
@@ -948,15 +959,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
948
959
  locator: z.ZodOptional<z.ZodString>;
949
960
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
950
961
  }, "strict", z.ZodTypeAny, {
951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
952
962
  id: string;
953
963
  label: string;
964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
965
  capture: "at_action" | "historical_lookup" | "fixture";
955
966
  locator?: string | undefined;
956
967
  }, {
957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
958
968
  id: string;
959
969
  label: string;
970
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
960
971
  capture: "at_action" | "historical_lookup" | "fixture";
961
972
  locator?: string | undefined;
962
973
  }>, "many">>;
@@ -964,32 +975,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
964
975
  sessionId: z.ZodString;
965
976
  kind: z.ZodLiteral<"agent_status">;
966
977
  }, "strict", z.ZodTypeAny, {
967
- kind: "agent_status";
978
+ label: string;
968
979
  status: "failed" | "complete" | "blocked" | "working" | "idle";
980
+ kind: "agent_status";
969
981
  role: string;
970
- label: string;
971
982
  agentId: string;
972
983
  sessionId: string;
973
984
  evidence: {
974
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
975
985
  id: string;
976
986
  label: string;
987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
977
988
  capture: "at_action" | "historical_lookup" | "fixture";
978
989
  locator?: string | undefined;
979
990
  }[];
980
991
  detail?: string | undefined;
981
992
  }, {
982
- kind: "agent_status";
993
+ label: string;
983
994
  status: "failed" | "complete" | "blocked" | "working" | "idle";
995
+ kind: "agent_status";
984
996
  role: string;
985
- label: string;
986
997
  agentId: string;
987
998
  sessionId: string;
988
999
  detail?: string | undefined;
989
1000
  evidence?: {
990
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
991
1001
  id: string;
992
1002
  label: string;
1003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
993
1004
  capture: "at_action" | "historical_lookup" | "fixture";
994
1005
  locator?: string | undefined;
995
1006
  }[] | undefined;
@@ -1003,15 +1014,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1003
1014
  locator: z.ZodOptional<z.ZodString>;
1004
1015
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1005
1016
  }, "strict", z.ZodTypeAny, {
1006
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1007
1017
  id: string;
1008
1018
  label: string;
1019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1009
1020
  capture: "at_action" | "historical_lookup" | "fixture";
1010
1021
  locator?: string | undefined;
1011
1022
  }, {
1012
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1013
1023
  id: string;
1014
1024
  label: string;
1025
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1015
1026
  capture: "at_action" | "historical_lookup" | "fixture";
1016
1027
  locator?: string | undefined;
1017
1028
  }>, "many">>;
@@ -1019,28 +1030,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1019
1030
  sessionId: z.ZodString;
1020
1031
  kind: z.ZodLiteral<"agent_output">;
1021
1032
  }, "strict", z.ZodTypeAny, {
1022
- kind: "agent_output";
1023
1033
  summary: string;
1034
+ kind: "agent_output";
1024
1035
  agentId: string;
1025
1036
  sessionId: string;
1026
1037
  evidence: {
1027
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1028
1038
  id: string;
1029
1039
  label: string;
1040
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1030
1041
  capture: "at_action" | "historical_lookup" | "fixture";
1031
1042
  locator?: string | undefined;
1032
1043
  }[];
1033
1044
  outputId: string;
1034
1045
  }, {
1035
- kind: "agent_output";
1036
1046
  summary: string;
1047
+ kind: "agent_output";
1037
1048
  agentId: string;
1038
1049
  sessionId: string;
1039
1050
  outputId: string;
1040
1051
  evidence?: {
1041
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1042
1052
  id: string;
1043
1053
  label: string;
1054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1044
1055
  capture: "at_action" | "historical_lookup" | "fixture";
1045
1056
  locator?: string | undefined;
1046
1057
  }[] | undefined;
@@ -1056,15 +1067,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1056
1067
  locator: z.ZodOptional<z.ZodString>;
1057
1068
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1058
1069
  }, "strict", z.ZodTypeAny, {
1059
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1060
1070
  id: string;
1061
1071
  label: string;
1072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1062
1073
  capture: "at_action" | "historical_lookup" | "fixture";
1063
1074
  locator?: string | undefined;
1064
1075
  }, {
1065
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1066
1076
  id: string;
1067
1077
  label: string;
1078
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1068
1079
  capture: "at_action" | "historical_lookup" | "fixture";
1069
1080
  locator?: string | undefined;
1070
1081
  }>, "many">>;
@@ -1077,9 +1088,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1077
1088
  statement: string;
1078
1089
  sessionId: string;
1079
1090
  evidence: {
1080
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1081
1091
  id: string;
1082
1092
  label: string;
1093
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1083
1094
  capture: "at_action" | "historical_lookup" | "fixture";
1084
1095
  locator?: string | undefined;
1085
1096
  }[];
@@ -1095,9 +1106,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1095
1106
  decisionId: string;
1096
1107
  confidence?: number | undefined;
1097
1108
  evidence?: {
1098
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1099
1109
  id: string;
1100
1110
  label: string;
1111
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1101
1112
  capture: "at_action" | "historical_lookup" | "fixture";
1102
1113
  locator?: string | undefined;
1103
1114
  }[] | undefined;
@@ -1114,25 +1125,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1114
1125
  locator: z.ZodOptional<z.ZodString>;
1115
1126
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1116
1127
  }, "strict", z.ZodTypeAny, {
1117
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1118
1128
  id: string;
1119
1129
  label: string;
1130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1120
1131
  capture: "at_action" | "historical_lookup" | "fixture";
1121
1132
  locator?: string | undefined;
1122
1133
  }, {
1123
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1124
1134
  id: string;
1125
1135
  label: string;
1136
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1126
1137
  capture: "at_action" | "historical_lookup" | "fixture";
1127
1138
  locator?: string | undefined;
1128
1139
  }>, "many">>;
1129
1140
  }, "strict", z.ZodTypeAny, {
1130
- kind: "conflict_detected";
1131
1141
  summary: string;
1142
+ kind: "conflict_detected";
1132
1143
  evidence: {
1133
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1134
1144
  id: string;
1135
1145
  label: string;
1146
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1136
1147
  capture: "at_action" | "historical_lookup" | "fixture";
1137
1148
  locator?: string | undefined;
1138
1149
  }[];
@@ -1140,15 +1151,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1140
1151
  decisionIds: string[];
1141
1152
  agentIds: string[];
1142
1153
  }, {
1143
- kind: "conflict_detected";
1144
1154
  summary: string;
1155
+ kind: "conflict_detected";
1145
1156
  conflictId: string;
1146
1157
  decisionIds: string[];
1147
1158
  agentIds: string[];
1148
1159
  evidence?: {
1149
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1150
1160
  id: string;
1151
1161
  label: string;
1162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1152
1163
  capture: "at_action" | "historical_lookup" | "fixture";
1153
1164
  locator?: string | undefined;
1154
1165
  }[] | undefined;
@@ -1168,27 +1179,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1168
1179
  locator: z.ZodOptional<z.ZodString>;
1169
1180
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1170
1181
  }, "strict", z.ZodTypeAny, {
1171
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1172
1182
  id: string;
1173
1183
  label: string;
1184
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1174
1185
  capture: "at_action" | "historical_lookup" | "fixture";
1175
1186
  locator?: string | undefined;
1176
1187
  }, {
1177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1178
1188
  id: string;
1179
1189
  label: string;
1190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1180
1191
  capture: "at_action" | "historical_lookup" | "fixture";
1181
1192
  locator?: string | undefined;
1182
1193
  }>, "many">>;
1183
1194
  }, "strict", z.ZodTypeAny, {
1184
- kind: "test_result";
1185
1195
  summary: string;
1186
1196
  status: "error" | "failed" | "passed";
1197
+ kind: "test_result";
1187
1198
  command: string;
1188
1199
  evidence: {
1189
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1190
1200
  id: string;
1191
1201
  label: string;
1202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1192
1203
  capture: "at_action" | "historical_lookup" | "fixture";
1193
1204
  locator?: string | undefined;
1194
1205
  }[];
@@ -1197,17 +1208,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1197
1208
  durationMs?: number | undefined;
1198
1209
  correctionId?: string | undefined;
1199
1210
  }, {
1200
- kind: "test_result";
1201
1211
  summary: string;
1202
1212
  status: "error" | "failed" | "passed";
1213
+ kind: "test_result";
1203
1214
  command: string;
1204
1215
  decisionId: string;
1205
1216
  testId: string;
1206
1217
  durationMs?: number | undefined;
1207
1218
  evidence?: {
1208
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
1219
  id: string;
1210
1220
  label: string;
1221
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1211
1222
  capture: "at_action" | "historical_lookup" | "fixture";
1212
1223
  locator?: string | undefined;
1213
1224
  }[] | undefined;
@@ -1228,15 +1239,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1228
1239
  locator: z.ZodOptional<z.ZodString>;
1229
1240
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1230
1241
  }, "strict", z.ZodTypeAny, {
1231
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1232
1242
  id: string;
1233
1243
  label: string;
1244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1234
1245
  capture: "at_action" | "historical_lookup" | "fixture";
1235
1246
  locator?: string | undefined;
1236
1247
  }, {
1237
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1238
1248
  id: string;
1239
1249
  label: string;
1250
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1240
1251
  capture: "at_action" | "historical_lookup" | "fixture";
1241
1252
  locator?: string | undefined;
1242
1253
  }>, "many">>;
@@ -1245,9 +1256,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1245
1256
  rationale: string;
1246
1257
  statement: string;
1247
1258
  evidence: {
1248
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1259
  id: string;
1250
1260
  label: string;
1261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1251
1262
  capture: "at_action" | "historical_lookup" | "fixture";
1252
1263
  locator?: string | undefined;
1253
1264
  }[];
@@ -1266,9 +1277,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1266
1277
  supersedesDecisionIds: string[];
1267
1278
  proposedBy: string;
1268
1279
  evidence?: {
1269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
1280
  id: string;
1271
1281
  label: string;
1282
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1272
1283
  capture: "at_action" | "historical_lookup" | "fixture";
1273
1284
  locator?: string | undefined;
1274
1285
  }[] | undefined;
@@ -1280,13 +1291,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1280
1291
  id: z.ZodString;
1281
1292
  label: z.ZodString;
1282
1293
  }, "strict", z.ZodTypeAny, {
1283
- kind: "agent" | "human";
1284
1294
  id: string;
1285
1295
  label: string;
1286
- }, {
1287
1296
  kind: "agent" | "human";
1297
+ }, {
1288
1298
  id: string;
1289
1299
  label: string;
1300
+ kind: "agent" | "human";
1290
1301
  }>;
1291
1302
  note: z.ZodOptional<z.ZodString>;
1292
1303
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1296,47 +1307,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1296
1307
  locator: z.ZodOptional<z.ZodString>;
1297
1308
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1298
1309
  }, "strict", z.ZodTypeAny, {
1299
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1300
1310
  id: string;
1301
1311
  label: string;
1312
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1302
1313
  capture: "at_action" | "historical_lookup" | "fixture";
1303
1314
  locator?: string | undefined;
1304
1315
  }, {
1305
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1306
1316
  id: string;
1307
1317
  label: string;
1318
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
1319
  capture: "at_action" | "historical_lookup" | "fixture";
1309
1320
  locator?: string | undefined;
1310
1321
  }>, "many">>;
1311
1322
  }, "strict", z.ZodTypeAny, {
1312
1323
  kind: "correction_approved";
1313
1324
  evidence: {
1314
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
1325
  id: string;
1316
1326
  label: string;
1327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1317
1328
  capture: "at_action" | "historical_lookup" | "fixture";
1318
1329
  locator?: string | undefined;
1319
1330
  }[];
1320
1331
  correctionId: string;
1321
1332
  approvedBy: {
1322
- kind: "agent" | "human";
1323
1333
  id: string;
1324
1334
  label: string;
1335
+ kind: "agent" | "human";
1325
1336
  };
1326
1337
  note?: string | undefined;
1327
1338
  }, {
1328
1339
  kind: "correction_approved";
1329
1340
  correctionId: string;
1330
1341
  approvedBy: {
1331
- kind: "agent" | "human";
1332
1342
  id: string;
1333
1343
  label: string;
1344
+ kind: "agent" | "human";
1334
1345
  };
1335
1346
  note?: string | undefined;
1336
1347
  evidence?: {
1337
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1338
1348
  id: string;
1339
1349
  label: string;
1350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1340
1351
  capture: "at_action" | "historical_lookup" | "fixture";
1341
1352
  locator?: string | undefined;
1342
1353
  }[] | undefined;
@@ -1352,24 +1363,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1352
1363
  locator: z.ZodOptional<z.ZodString>;
1353
1364
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1354
1365
  }, "strict", z.ZodTypeAny, {
1355
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1356
1366
  id: string;
1357
1367
  label: string;
1368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1358
1369
  capture: "at_action" | "historical_lookup" | "fixture";
1359
1370
  locator?: string | undefined;
1360
1371
  }, {
1361
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1362
1372
  id: string;
1363
1373
  label: string;
1374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1364
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1365
1376
  locator?: string | undefined;
1366
1377
  }>, "many">>;
1367
1378
  }, "strict", z.ZodTypeAny, {
1368
1379
  kind: "decision_superseded";
1369
1380
  evidence: {
1370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1371
1381
  id: string;
1372
1382
  label: string;
1383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1384
  capture: "at_action" | "historical_lookup" | "fixture";
1374
1385
  locator?: string | undefined;
1375
1386
  }[];
@@ -1382,9 +1393,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1382
1393
  correctionId: string;
1383
1394
  replacementDecisionId: string;
1384
1395
  evidence?: {
1385
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1386
1396
  id: string;
1387
1397
  label: string;
1398
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1399
  capture: "at_action" | "historical_lookup" | "fixture";
1389
1400
  locator?: string | undefined;
1390
1401
  }[] | undefined;
@@ -1400,15 +1411,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1400
1411
  locator: z.ZodOptional<z.ZodString>;
1401
1412
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1402
1413
  }, "strict", z.ZodTypeAny, {
1403
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
1414
  id: string;
1405
1415
  label: string;
1416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1406
1417
  capture: "at_action" | "historical_lookup" | "fixture";
1407
1418
  locator?: string | undefined;
1408
1419
  }, {
1409
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1410
1420
  id: string;
1411
1421
  label: string;
1422
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1412
1423
  capture: "at_action" | "historical_lookup" | "fixture";
1413
1424
  locator?: string | undefined;
1414
1425
  }>, "many">>;
@@ -1421,9 +1432,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1421
1432
  agentId: string;
1422
1433
  sessionId: string;
1423
1434
  evidence: {
1424
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1425
1435
  id: string;
1426
1436
  label: string;
1437
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1427
1438
  capture: "at_action" | "historical_lookup" | "fixture";
1428
1439
  locator?: string | undefined;
1429
1440
  }[];
@@ -1439,9 +1450,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1439
1450
  recallReceiptId: string;
1440
1451
  capturedAtAction: boolean;
1441
1452
  evidence?: {
1442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1443
1453
  id: string;
1444
1454
  label: string;
1455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1445
1456
  capture: "at_action" | "historical_lookup" | "fixture";
1446
1457
  locator?: string | undefined;
1447
1458
  }[] | undefined;
@@ -1457,15 +1468,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1457
1468
  locator: z.ZodOptional<z.ZodString>;
1458
1469
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1459
1470
  }, "strict", z.ZodTypeAny, {
1460
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
1471
  id: string;
1462
1472
  label: string;
1473
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1463
1474
  capture: "at_action" | "historical_lookup" | "fixture";
1464
1475
  locator?: string | undefined;
1465
1476
  }, {
1466
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1467
1477
  id: string;
1468
1478
  label: string;
1479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1469
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1470
1481
  locator?: string | undefined;
1471
1482
  }>, "many">>;
@@ -1477,9 +1488,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1477
1488
  agentId: string;
1478
1489
  sessionId: string;
1479
1490
  evidence: {
1480
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
1491
  id: string;
1482
1492
  label: string;
1493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1483
1494
  capture: "at_action" | "historical_lookup" | "fixture";
1484
1495
  locator?: string | undefined;
1485
1496
  }[];
@@ -1496,9 +1507,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1496
1507
  recallReceiptId: string;
1497
1508
  staleDecisionAbsent: boolean;
1498
1509
  evidence?: {
1499
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
1510
  id: string;
1501
1511
  label: string;
1512
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
1513
  capture: "at_action" | "historical_lookup" | "fixture";
1503
1514
  locator?: string | undefined;
1504
1515
  }[] | undefined;
@@ -1513,37 +1524,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1513
1524
  locator: z.ZodOptional<z.ZodString>;
1514
1525
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1515
1526
  }, "strict", z.ZodTypeAny, {
1516
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1517
1527
  id: string;
1518
1528
  label: string;
1529
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1519
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1520
1531
  locator?: string | undefined;
1521
1532
  }, {
1522
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1523
1533
  id: string;
1524
1534
  label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1525
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1526
1537
  locator?: string | undefined;
1527
1538
  }>, "many">>;
1528
1539
  }, "strict", z.ZodTypeAny, {
1529
- kind: "mission_completed";
1530
1540
  summary: string;
1541
+ kind: "mission_completed";
1531
1542
  outcome: "failed" | "recovered" | "inconclusive";
1532
1543
  evidence: {
1533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1544
  id: string;
1535
1545
  label: string;
1546
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1547
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1548
  locator?: string | undefined;
1538
1549
  }[];
1539
1550
  }, {
1540
- kind: "mission_completed";
1541
1551
  summary: string;
1552
+ kind: "mission_completed";
1542
1553
  outcome: "failed" | "recovered" | "inconclusive";
1543
1554
  evidence?: {
1544
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1545
1555
  id: string;
1546
1556
  label: string;
1557
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1547
1558
  capture: "at_action" | "historical_lookup" | "fixture";
1548
1559
  locator?: string | undefined;
1549
1560
  }[] | undefined;
@@ -1551,38 +1562,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1551
1562
  kind: "mission_started";
1552
1563
  title: string;
1553
1564
  evidence: {
1554
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1555
1565
  id: string;
1556
1566
  label: string;
1567
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1557
1568
  capture: "at_action" | "historical_lookup" | "fixture";
1558
1569
  locator?: string | undefined;
1559
1570
  }[];
1560
1571
  objective: string;
1561
1572
  runMode: "replay" | "fixture" | "live";
1562
1573
  } | {
1563
- kind: "agent_status";
1574
+ label: string;
1564
1575
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1576
+ kind: "agent_status";
1565
1577
  role: string;
1566
- label: string;
1567
1578
  agentId: string;
1568
1579
  sessionId: string;
1569
1580
  evidence: {
1570
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1571
1581
  id: string;
1572
1582
  label: string;
1583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1573
1584
  capture: "at_action" | "historical_lookup" | "fixture";
1574
1585
  locator?: string | undefined;
1575
1586
  }[];
1576
1587
  detail?: string | undefined;
1577
1588
  } | {
1578
- kind: "agent_output";
1579
1589
  summary: string;
1590
+ kind: "agent_output";
1580
1591
  agentId: string;
1581
1592
  sessionId: string;
1582
1593
  evidence: {
1583
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1584
1594
  id: string;
1585
1595
  label: string;
1596
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1586
1597
  capture: "at_action" | "historical_lookup" | "fixture";
1587
1598
  locator?: string | undefined;
1588
1599
  }[];
@@ -1593,9 +1604,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1593
1604
  statement: string;
1594
1605
  sessionId: string;
1595
1606
  evidence: {
1596
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
1607
  id: string;
1598
1608
  label: string;
1609
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1599
1610
  capture: "at_action" | "historical_lookup" | "fixture";
1600
1611
  locator?: string | undefined;
1601
1612
  }[];
@@ -1603,12 +1614,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1603
1614
  decisionId: string;
1604
1615
  confidence?: number | undefined;
1605
1616
  } | {
1606
- kind: "conflict_detected";
1607
1617
  summary: string;
1618
+ kind: "conflict_detected";
1608
1619
  evidence: {
1609
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1610
1620
  id: string;
1611
1621
  label: string;
1622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1612
1623
  capture: "at_action" | "historical_lookup" | "fixture";
1613
1624
  locator?: string | undefined;
1614
1625
  }[];
@@ -1616,14 +1627,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1616
1627
  decisionIds: string[];
1617
1628
  agentIds: string[];
1618
1629
  } | {
1619
- kind: "test_result";
1620
1630
  summary: string;
1621
1631
  status: "error" | "failed" | "passed";
1632
+ kind: "test_result";
1622
1633
  command: string;
1623
1634
  evidence: {
1624
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1625
1635
  id: string;
1626
1636
  label: string;
1637
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1627
1638
  capture: "at_action" | "historical_lookup" | "fixture";
1628
1639
  locator?: string | undefined;
1629
1640
  }[];
@@ -1636,9 +1647,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1636
1647
  rationale: string;
1637
1648
  statement: string;
1638
1649
  evidence: {
1639
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1640
1650
  id: string;
1641
1651
  label: string;
1652
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1642
1653
  capture: "at_action" | "historical_lookup" | "fixture";
1643
1654
  locator?: string | undefined;
1644
1655
  }[];
@@ -1650,25 +1661,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1650
1661
  } | {
1651
1662
  kind: "correction_approved";
1652
1663
  evidence: {
1653
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1654
1664
  id: string;
1655
1665
  label: string;
1666
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1667
  capture: "at_action" | "historical_lookup" | "fixture";
1657
1668
  locator?: string | undefined;
1658
1669
  }[];
1659
1670
  correctionId: string;
1660
1671
  approvedBy: {
1661
- kind: "agent" | "human";
1662
1672
  id: string;
1663
1673
  label: string;
1674
+ kind: "agent" | "human";
1664
1675
  };
1665
1676
  note?: string | undefined;
1666
1677
  } | {
1667
1678
  kind: "decision_superseded";
1668
1679
  evidence: {
1669
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1670
1680
  id: string;
1671
1681
  label: string;
1682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
1683
  capture: "at_action" | "historical_lookup" | "fixture";
1673
1684
  locator?: string | undefined;
1674
1685
  }[];
@@ -1681,9 +1692,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1681
1692
  agentId: string;
1682
1693
  sessionId: string;
1683
1694
  evidence: {
1684
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1685
1695
  id: string;
1686
1696
  label: string;
1697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1687
1698
  capture: "at_action" | "historical_lookup" | "fixture";
1688
1699
  locator?: string | undefined;
1689
1700
  }[];
@@ -1695,9 +1706,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1695
1706
  agentId: string;
1696
1707
  sessionId: string;
1697
1708
  evidence: {
1698
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1699
1709
  id: string;
1700
1710
  label: string;
1711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1701
1712
  capture: "at_action" | "historical_lookup" | "fixture";
1702
1713
  locator?: string | undefined;
1703
1714
  }[];
@@ -1706,13 +1717,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1706
1717
  recallReceiptId: string;
1707
1718
  staleDecisionAbsent: boolean;
1708
1719
  } | {
1709
- kind: "mission_completed";
1710
1720
  summary: string;
1721
+ kind: "mission_completed";
1711
1722
  outcome: "failed" | "recovered" | "inconclusive";
1712
1723
  evidence: {
1713
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
1724
  id: string;
1715
1725
  label: string;
1726
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
1727
  capture: "at_action" | "historical_lookup" | "fixture";
1717
1728
  locator?: string | undefined;
1718
1729
  }[];
@@ -1722,37 +1733,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1722
1733
  objective: string;
1723
1734
  runMode: "replay" | "fixture" | "live";
1724
1735
  evidence?: {
1725
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1726
1736
  id: string;
1727
1737
  label: string;
1738
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1728
1739
  capture: "at_action" | "historical_lookup" | "fixture";
1729
1740
  locator?: string | undefined;
1730
1741
  }[] | undefined;
1731
1742
  } | {
1732
- kind: "agent_status";
1743
+ label: string;
1733
1744
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1745
+ kind: "agent_status";
1734
1746
  role: string;
1735
- label: string;
1736
1747
  agentId: string;
1737
1748
  sessionId: string;
1738
1749
  detail?: string | undefined;
1739
1750
  evidence?: {
1740
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1741
1751
  id: string;
1742
1752
  label: string;
1753
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1743
1754
  capture: "at_action" | "historical_lookup" | "fixture";
1744
1755
  locator?: string | undefined;
1745
1756
  }[] | undefined;
1746
1757
  } | {
1747
- kind: "agent_output";
1748
1758
  summary: string;
1759
+ kind: "agent_output";
1749
1760
  agentId: string;
1750
1761
  sessionId: string;
1751
1762
  outputId: string;
1752
1763
  evidence?: {
1753
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1754
1764
  id: string;
1755
1765
  label: string;
1766
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1756
1767
  capture: "at_action" | "historical_lookup" | "fixture";
1757
1768
  locator?: string | undefined;
1758
1769
  }[] | undefined;
@@ -1765,37 +1776,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1765
1776
  decisionId: string;
1766
1777
  confidence?: number | undefined;
1767
1778
  evidence?: {
1768
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1769
1779
  id: string;
1770
1780
  label: string;
1781
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1771
1782
  capture: "at_action" | "historical_lookup" | "fixture";
1772
1783
  locator?: string | undefined;
1773
1784
  }[] | undefined;
1774
1785
  } | {
1775
- kind: "conflict_detected";
1776
1786
  summary: string;
1787
+ kind: "conflict_detected";
1777
1788
  conflictId: string;
1778
1789
  decisionIds: string[];
1779
1790
  agentIds: string[];
1780
1791
  evidence?: {
1781
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1782
1792
  id: string;
1783
1793
  label: string;
1794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1784
1795
  capture: "at_action" | "historical_lookup" | "fixture";
1785
1796
  locator?: string | undefined;
1786
1797
  }[] | undefined;
1787
1798
  } | {
1788
- kind: "test_result";
1789
1799
  summary: string;
1790
1800
  status: "error" | "failed" | "passed";
1801
+ kind: "test_result";
1791
1802
  command: string;
1792
1803
  decisionId: string;
1793
1804
  testId: string;
1794
1805
  durationMs?: number | undefined;
1795
1806
  evidence?: {
1796
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1797
1807
  id: string;
1798
1808
  label: string;
1809
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1810
  capture: "at_action" | "historical_lookup" | "fixture";
1800
1811
  locator?: string | undefined;
1801
1812
  }[] | undefined;
@@ -1810,9 +1821,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1810
1821
  supersedesDecisionIds: string[];
1811
1822
  proposedBy: string;
1812
1823
  evidence?: {
1813
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1814
1824
  id: string;
1815
1825
  label: string;
1826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
1827
  capture: "at_action" | "historical_lookup" | "fixture";
1817
1828
  locator?: string | undefined;
1818
1829
  }[] | undefined;
@@ -1820,15 +1831,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1820
1831
  kind: "correction_approved";
1821
1832
  correctionId: string;
1822
1833
  approvedBy: {
1823
- kind: "agent" | "human";
1824
1834
  id: string;
1825
1835
  label: string;
1836
+ kind: "agent" | "human";
1826
1837
  };
1827
1838
  note?: string | undefined;
1828
1839
  evidence?: {
1829
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1830
1840
  id: string;
1831
1841
  label: string;
1842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
1843
  capture: "at_action" | "historical_lookup" | "fixture";
1833
1844
  locator?: string | undefined;
1834
1845
  }[] | undefined;
@@ -1838,9 +1849,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1838
1849
  correctionId: string;
1839
1850
  replacementDecisionId: string;
1840
1851
  evidence?: {
1841
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1842
1852
  id: string;
1843
1853
  label: string;
1854
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
1855
  capture: "at_action" | "historical_lookup" | "fixture";
1845
1856
  locator?: string | undefined;
1846
1857
  }[] | undefined;
@@ -1853,9 +1864,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1853
1864
  recallReceiptId: string;
1854
1865
  capturedAtAction: boolean;
1855
1866
  evidence?: {
1856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
1867
  id: string;
1858
1868
  label: string;
1869
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1859
1870
  capture: "at_action" | "historical_lookup" | "fixture";
1860
1871
  locator?: string | undefined;
1861
1872
  }[] | undefined;
@@ -1868,20 +1879,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1868
1879
  recallReceiptId: string;
1869
1880
  staleDecisionAbsent: boolean;
1870
1881
  evidence?: {
1871
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1872
1882
  id: string;
1873
1883
  label: string;
1884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
1885
  capture: "at_action" | "historical_lookup" | "fixture";
1875
1886
  locator?: string | undefined;
1876
1887
  }[] | undefined;
1877
1888
  } | {
1878
- kind: "mission_completed";
1879
1889
  summary: string;
1890
+ kind: "mission_completed";
1880
1891
  outcome: "failed" | "recovered" | "inconclusive";
1881
1892
  evidence?: {
1882
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
1893
  id: string;
1884
1894
  label: string;
1895
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
1896
  capture: "at_action" | "historical_lookup" | "fixture";
1886
1897
  locator?: string | undefined;
1887
1898
  }[] | undefined;
@@ -1902,15 +1913,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1902
1913
  locator: z.ZodOptional<z.ZodString>;
1903
1914
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1904
1915
  }, "strict", z.ZodTypeAny, {
1905
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1906
1916
  id: string;
1907
1917
  label: string;
1918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1908
1919
  capture: "at_action" | "historical_lookup" | "fixture";
1909
1920
  locator?: string | undefined;
1910
1921
  }, {
1911
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1912
1922
  id: string;
1913
1923
  label: string;
1924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1914
1925
  capture: "at_action" | "historical_lookup" | "fixture";
1915
1926
  locator?: string | undefined;
1916
1927
  }>, "many">>;
@@ -1918,9 +1929,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1918
1929
  kind: "mission_started";
1919
1930
  title: string;
1920
1931
  evidence: {
1921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
1932
  id: string;
1923
1933
  label: string;
1934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1924
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1925
1936
  locator?: string | undefined;
1926
1937
  }[];
@@ -1932,9 +1943,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1932
1943
  objective: string;
1933
1944
  runMode: "replay" | "fixture" | "live";
1934
1945
  evidence?: {
1935
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1936
1946
  id: string;
1937
1947
  label: string;
1948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1938
1949
  capture: "at_action" | "historical_lookup" | "fixture";
1939
1950
  locator?: string | undefined;
1940
1951
  }[] | undefined;
@@ -1950,15 +1961,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1950
1961
  locator: z.ZodOptional<z.ZodString>;
1951
1962
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1952
1963
  }, "strict", z.ZodTypeAny, {
1953
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1954
1964
  id: string;
1955
1965
  label: string;
1966
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
1967
  capture: "at_action" | "historical_lookup" | "fixture";
1957
1968
  locator?: string | undefined;
1958
1969
  }, {
1959
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
1970
  id: string;
1961
1971
  label: string;
1972
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1962
1973
  capture: "at_action" | "historical_lookup" | "fixture";
1963
1974
  locator?: string | undefined;
1964
1975
  }>, "many">>;
@@ -1966,32 +1977,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1966
1977
  sessionId: z.ZodString;
1967
1978
  kind: z.ZodLiteral<"agent_status">;
1968
1979
  }, "strict", z.ZodTypeAny, {
1969
- kind: "agent_status";
1980
+ label: string;
1970
1981
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1982
+ kind: "agent_status";
1971
1983
  role: string;
1972
- label: string;
1973
1984
  agentId: string;
1974
1985
  sessionId: string;
1975
1986
  evidence: {
1976
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1977
1987
  id: string;
1978
1988
  label: string;
1989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1979
1990
  capture: "at_action" | "historical_lookup" | "fixture";
1980
1991
  locator?: string | undefined;
1981
1992
  }[];
1982
1993
  detail?: string | undefined;
1983
1994
  }, {
1984
- kind: "agent_status";
1995
+ label: string;
1985
1996
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1997
+ kind: "agent_status";
1986
1998
  role: string;
1987
- label: string;
1988
1999
  agentId: string;
1989
2000
  sessionId: string;
1990
2001
  detail?: string | undefined;
1991
2002
  evidence?: {
1992
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1993
2003
  id: string;
1994
2004
  label: string;
2005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1995
2006
  capture: "at_action" | "historical_lookup" | "fixture";
1996
2007
  locator?: string | undefined;
1997
2008
  }[] | undefined;
@@ -2005,15 +2016,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2005
2016
  locator: z.ZodOptional<z.ZodString>;
2006
2017
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2007
2018
  }, "strict", z.ZodTypeAny, {
2008
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
2019
  id: string;
2010
2020
  label: string;
2021
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
2022
  capture: "at_action" | "historical_lookup" | "fixture";
2012
2023
  locator?: string | undefined;
2013
2024
  }, {
2014
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2015
2025
  id: string;
2016
2026
  label: string;
2027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2017
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2018
2029
  locator?: string | undefined;
2019
2030
  }>, "many">>;
@@ -2021,28 +2032,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2021
2032
  sessionId: z.ZodString;
2022
2033
  kind: z.ZodLiteral<"agent_output">;
2023
2034
  }, "strict", z.ZodTypeAny, {
2024
- kind: "agent_output";
2025
2035
  summary: string;
2036
+ kind: "agent_output";
2026
2037
  agentId: string;
2027
2038
  sessionId: string;
2028
2039
  evidence: {
2029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2040
  id: string;
2031
2041
  label: string;
2042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2043
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2044
  locator?: string | undefined;
2034
2045
  }[];
2035
2046
  outputId: string;
2036
2047
  }, {
2037
- kind: "agent_output";
2038
2048
  summary: string;
2049
+ kind: "agent_output";
2039
2050
  agentId: string;
2040
2051
  sessionId: string;
2041
2052
  outputId: string;
2042
2053
  evidence?: {
2043
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2044
2054
  id: string;
2045
2055
  label: string;
2056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2046
2057
  capture: "at_action" | "historical_lookup" | "fixture";
2047
2058
  locator?: string | undefined;
2048
2059
  }[] | undefined;
@@ -2058,15 +2069,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2058
2069
  locator: z.ZodOptional<z.ZodString>;
2059
2070
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2060
2071
  }, "strict", z.ZodTypeAny, {
2061
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2062
2072
  id: string;
2063
2073
  label: string;
2074
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2064
2075
  capture: "at_action" | "historical_lookup" | "fixture";
2065
2076
  locator?: string | undefined;
2066
2077
  }, {
2067
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
2078
  id: string;
2069
2079
  label: string;
2080
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
2081
  capture: "at_action" | "historical_lookup" | "fixture";
2071
2082
  locator?: string | undefined;
2072
2083
  }>, "many">>;
@@ -2079,9 +2090,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2079
2090
  statement: string;
2080
2091
  sessionId: string;
2081
2092
  evidence: {
2082
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2083
2093
  id: string;
2084
2094
  label: string;
2095
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2085
2096
  capture: "at_action" | "historical_lookup" | "fixture";
2086
2097
  locator?: string | undefined;
2087
2098
  }[];
@@ -2097,9 +2108,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2097
2108
  decisionId: string;
2098
2109
  confidence?: number | undefined;
2099
2110
  evidence?: {
2100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
2111
  id: string;
2102
2112
  label: string;
2113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2114
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2115
  locator?: string | undefined;
2105
2116
  }[] | undefined;
@@ -2116,25 +2127,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2116
2127
  locator: z.ZodOptional<z.ZodString>;
2117
2128
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2118
2129
  }, "strict", z.ZodTypeAny, {
2119
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2120
2130
  id: string;
2121
2131
  label: string;
2132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2122
2133
  capture: "at_action" | "historical_lookup" | "fixture";
2123
2134
  locator?: string | undefined;
2124
2135
  }, {
2125
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2126
2136
  id: string;
2127
2137
  label: string;
2138
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2128
2139
  capture: "at_action" | "historical_lookup" | "fixture";
2129
2140
  locator?: string | undefined;
2130
2141
  }>, "many">>;
2131
2142
  }, "strict", z.ZodTypeAny, {
2132
- kind: "conflict_detected";
2133
2143
  summary: string;
2144
+ kind: "conflict_detected";
2134
2145
  evidence: {
2135
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2136
2146
  id: string;
2137
2147
  label: string;
2148
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
2149
  capture: "at_action" | "historical_lookup" | "fixture";
2139
2150
  locator?: string | undefined;
2140
2151
  }[];
@@ -2142,15 +2153,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2142
2153
  decisionIds: string[];
2143
2154
  agentIds: string[];
2144
2155
  }, {
2145
- kind: "conflict_detected";
2146
2156
  summary: string;
2157
+ kind: "conflict_detected";
2147
2158
  conflictId: string;
2148
2159
  decisionIds: string[];
2149
2160
  agentIds: string[];
2150
2161
  evidence?: {
2151
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2152
2162
  id: string;
2153
2163
  label: string;
2164
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2154
2165
  capture: "at_action" | "historical_lookup" | "fixture";
2155
2166
  locator?: string | undefined;
2156
2167
  }[] | undefined;
@@ -2170,27 +2181,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2170
2181
  locator: z.ZodOptional<z.ZodString>;
2171
2182
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2172
2183
  }, "strict", z.ZodTypeAny, {
2173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2184
  id: string;
2175
2185
  label: string;
2186
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
2187
  capture: "at_action" | "historical_lookup" | "fixture";
2177
2188
  locator?: string | undefined;
2178
2189
  }, {
2179
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2180
2190
  id: string;
2181
2191
  label: string;
2192
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2182
2193
  capture: "at_action" | "historical_lookup" | "fixture";
2183
2194
  locator?: string | undefined;
2184
2195
  }>, "many">>;
2185
2196
  }, "strict", z.ZodTypeAny, {
2186
- kind: "test_result";
2187
2197
  summary: string;
2188
2198
  status: "error" | "failed" | "passed";
2199
+ kind: "test_result";
2189
2200
  command: string;
2190
2201
  evidence: {
2191
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2202
  id: string;
2193
2203
  label: string;
2204
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2194
2205
  capture: "at_action" | "historical_lookup" | "fixture";
2195
2206
  locator?: string | undefined;
2196
2207
  }[];
@@ -2199,17 +2210,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2199
2210
  durationMs?: number | undefined;
2200
2211
  correctionId?: string | undefined;
2201
2212
  }, {
2202
- kind: "test_result";
2203
2213
  summary: string;
2204
2214
  status: "error" | "failed" | "passed";
2215
+ kind: "test_result";
2205
2216
  command: string;
2206
2217
  decisionId: string;
2207
2218
  testId: string;
2208
2219
  durationMs?: number | undefined;
2209
2220
  evidence?: {
2210
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
2221
  id: string;
2212
2222
  label: string;
2223
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2224
  capture: "at_action" | "historical_lookup" | "fixture";
2214
2225
  locator?: string | undefined;
2215
2226
  }[] | undefined;
@@ -2230,15 +2241,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2230
2241
  locator: z.ZodOptional<z.ZodString>;
2231
2242
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2232
2243
  }, "strict", z.ZodTypeAny, {
2233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
2244
  id: string;
2235
2245
  label: string;
2246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2236
2247
  capture: "at_action" | "historical_lookup" | "fixture";
2237
2248
  locator?: string | undefined;
2238
2249
  }, {
2239
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2240
2250
  id: string;
2241
2251
  label: string;
2252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2242
2253
  capture: "at_action" | "historical_lookup" | "fixture";
2243
2254
  locator?: string | undefined;
2244
2255
  }>, "many">>;
@@ -2247,9 +2258,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2247
2258
  rationale: string;
2248
2259
  statement: string;
2249
2260
  evidence: {
2250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2261
  id: string;
2252
2262
  label: string;
2263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2253
2264
  capture: "at_action" | "historical_lookup" | "fixture";
2254
2265
  locator?: string | undefined;
2255
2266
  }[];
@@ -2268,9 +2279,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2268
2279
  supersedesDecisionIds: string[];
2269
2280
  proposedBy: string;
2270
2281
  evidence?: {
2271
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
2282
  id: string;
2273
2283
  label: string;
2284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2274
2285
  capture: "at_action" | "historical_lookup" | "fixture";
2275
2286
  locator?: string | undefined;
2276
2287
  }[] | undefined;
@@ -2282,13 +2293,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2282
2293
  id: z.ZodString;
2283
2294
  label: z.ZodString;
2284
2295
  }, "strict", z.ZodTypeAny, {
2285
- kind: "agent" | "human";
2286
2296
  id: string;
2287
2297
  label: string;
2288
- }, {
2289
2298
  kind: "agent" | "human";
2299
+ }, {
2290
2300
  id: string;
2291
2301
  label: string;
2302
+ kind: "agent" | "human";
2292
2303
  }>;
2293
2304
  note: z.ZodOptional<z.ZodString>;
2294
2305
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2298,47 +2309,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2298
2309
  locator: z.ZodOptional<z.ZodString>;
2299
2310
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2300
2311
  }, "strict", z.ZodTypeAny, {
2301
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2302
2312
  id: string;
2303
2313
  label: string;
2314
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2304
2315
  capture: "at_action" | "historical_lookup" | "fixture";
2305
2316
  locator?: string | undefined;
2306
2317
  }, {
2307
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2308
2318
  id: string;
2309
2319
  label: string;
2320
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
2321
  capture: "at_action" | "historical_lookup" | "fixture";
2311
2322
  locator?: string | undefined;
2312
2323
  }>, "many">>;
2313
2324
  }, "strict", z.ZodTypeAny, {
2314
2325
  kind: "correction_approved";
2315
2326
  evidence: {
2316
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
2327
  id: string;
2318
2328
  label: string;
2329
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2319
2330
  capture: "at_action" | "historical_lookup" | "fixture";
2320
2331
  locator?: string | undefined;
2321
2332
  }[];
2322
2333
  correctionId: string;
2323
2334
  approvedBy: {
2324
- kind: "agent" | "human";
2325
2335
  id: string;
2326
2336
  label: string;
2337
+ kind: "agent" | "human";
2327
2338
  };
2328
2339
  note?: string | undefined;
2329
2340
  }, {
2330
2341
  kind: "correction_approved";
2331
2342
  correctionId: string;
2332
2343
  approvedBy: {
2333
- kind: "agent" | "human";
2334
2344
  id: string;
2335
2345
  label: string;
2346
+ kind: "agent" | "human";
2336
2347
  };
2337
2348
  note?: string | undefined;
2338
2349
  evidence?: {
2339
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2340
2350
  id: string;
2341
2351
  label: string;
2352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2342
2353
  capture: "at_action" | "historical_lookup" | "fixture";
2343
2354
  locator?: string | undefined;
2344
2355
  }[] | undefined;
@@ -2354,24 +2365,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2354
2365
  locator: z.ZodOptional<z.ZodString>;
2355
2366
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2356
2367
  }, "strict", z.ZodTypeAny, {
2357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2358
2368
  id: string;
2359
2369
  label: string;
2370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2360
2371
  capture: "at_action" | "historical_lookup" | "fixture";
2361
2372
  locator?: string | undefined;
2362
2373
  }, {
2363
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2364
2374
  id: string;
2365
2375
  label: string;
2376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2366
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2367
2378
  locator?: string | undefined;
2368
2379
  }>, "many">>;
2369
2380
  }, "strict", z.ZodTypeAny, {
2370
2381
  kind: "decision_superseded";
2371
2382
  evidence: {
2372
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2373
2383
  id: string;
2374
2384
  label: string;
2385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2386
  capture: "at_action" | "historical_lookup" | "fixture";
2376
2387
  locator?: string | undefined;
2377
2388
  }[];
@@ -2384,9 +2395,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2384
2395
  correctionId: string;
2385
2396
  replacementDecisionId: string;
2386
2397
  evidence?: {
2387
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2388
2398
  id: string;
2389
2399
  label: string;
2400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2401
  capture: "at_action" | "historical_lookup" | "fixture";
2391
2402
  locator?: string | undefined;
2392
2403
  }[] | undefined;
@@ -2402,15 +2413,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2402
2413
  locator: z.ZodOptional<z.ZodString>;
2403
2414
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2404
2415
  }, "strict", z.ZodTypeAny, {
2405
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
2416
  id: string;
2407
2417
  label: string;
2418
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2408
2419
  capture: "at_action" | "historical_lookup" | "fixture";
2409
2420
  locator?: string | undefined;
2410
2421
  }, {
2411
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2412
2422
  id: string;
2413
2423
  label: string;
2424
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2414
2425
  capture: "at_action" | "historical_lookup" | "fixture";
2415
2426
  locator?: string | undefined;
2416
2427
  }>, "many">>;
@@ -2423,9 +2434,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2423
2434
  agentId: string;
2424
2435
  sessionId: string;
2425
2436
  evidence: {
2426
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2427
2437
  id: string;
2428
2438
  label: string;
2439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2429
2440
  capture: "at_action" | "historical_lookup" | "fixture";
2430
2441
  locator?: string | undefined;
2431
2442
  }[];
@@ -2441,9 +2452,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2441
2452
  recallReceiptId: string;
2442
2453
  capturedAtAction: boolean;
2443
2454
  evidence?: {
2444
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2445
2455
  id: string;
2446
2456
  label: string;
2457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2447
2458
  capture: "at_action" | "historical_lookup" | "fixture";
2448
2459
  locator?: string | undefined;
2449
2460
  }[] | undefined;
@@ -2459,15 +2470,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2459
2470
  locator: z.ZodOptional<z.ZodString>;
2460
2471
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2461
2472
  }, "strict", z.ZodTypeAny, {
2462
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
2473
  id: string;
2464
2474
  label: string;
2475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2465
2476
  capture: "at_action" | "historical_lookup" | "fixture";
2466
2477
  locator?: string | undefined;
2467
2478
  }, {
2468
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2469
2479
  id: string;
2470
2480
  label: string;
2481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2471
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2472
2483
  locator?: string | undefined;
2473
2484
  }>, "many">>;
@@ -2479,9 +2490,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2479
2490
  agentId: string;
2480
2491
  sessionId: string;
2481
2492
  evidence: {
2482
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
2493
  id: string;
2484
2494
  label: string;
2495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2485
2496
  capture: "at_action" | "historical_lookup" | "fixture";
2486
2497
  locator?: string | undefined;
2487
2498
  }[];
@@ -2498,9 +2509,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2498
2509
  recallReceiptId: string;
2499
2510
  staleDecisionAbsent: boolean;
2500
2511
  evidence?: {
2501
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
2512
  id: string;
2503
2513
  label: string;
2514
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
2515
  capture: "at_action" | "historical_lookup" | "fixture";
2505
2516
  locator?: string | undefined;
2506
2517
  }[] | undefined;
@@ -2515,37 +2526,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2515
2526
  locator: z.ZodOptional<z.ZodString>;
2516
2527
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2517
2528
  }, "strict", z.ZodTypeAny, {
2518
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2519
2529
  id: string;
2520
2530
  label: string;
2531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2521
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2522
2533
  locator?: string | undefined;
2523
2534
  }, {
2524
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2525
2535
  id: string;
2526
2536
  label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2527
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2528
2539
  locator?: string | undefined;
2529
2540
  }>, "many">>;
2530
2541
  }, "strict", z.ZodTypeAny, {
2531
- kind: "mission_completed";
2532
2542
  summary: string;
2543
+ kind: "mission_completed";
2533
2544
  outcome: "failed" | "recovered" | "inconclusive";
2534
2545
  evidence: {
2535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2546
  id: string;
2537
2547
  label: string;
2548
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2549
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2550
  locator?: string | undefined;
2540
2551
  }[];
2541
2552
  }, {
2542
- kind: "mission_completed";
2543
2553
  summary: string;
2554
+ kind: "mission_completed";
2544
2555
  outcome: "failed" | "recovered" | "inconclusive";
2545
2556
  evidence?: {
2546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2547
2557
  id: string;
2548
2558
  label: string;
2559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2549
2560
  capture: "at_action" | "historical_lookup" | "fixture";
2550
2561
  locator?: string | undefined;
2551
2562
  }[] | undefined;
@@ -2553,38 +2564,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2553
2564
  kind: "mission_started";
2554
2565
  title: string;
2555
2566
  evidence: {
2556
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2557
2567
  id: string;
2558
2568
  label: string;
2569
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2559
2570
  capture: "at_action" | "historical_lookup" | "fixture";
2560
2571
  locator?: string | undefined;
2561
2572
  }[];
2562
2573
  objective: string;
2563
2574
  runMode: "replay" | "fixture" | "live";
2564
2575
  } | {
2565
- kind: "agent_status";
2576
+ label: string;
2566
2577
  status: "failed" | "complete" | "blocked" | "working" | "idle";
2578
+ kind: "agent_status";
2567
2579
  role: string;
2568
- label: string;
2569
2580
  agentId: string;
2570
2581
  sessionId: string;
2571
2582
  evidence: {
2572
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2573
2583
  id: string;
2574
2584
  label: string;
2585
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2575
2586
  capture: "at_action" | "historical_lookup" | "fixture";
2576
2587
  locator?: string | undefined;
2577
2588
  }[];
2578
2589
  detail?: string | undefined;
2579
2590
  } | {
2580
- kind: "agent_output";
2581
2591
  summary: string;
2592
+ kind: "agent_output";
2582
2593
  agentId: string;
2583
2594
  sessionId: string;
2584
2595
  evidence: {
2585
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2586
2596
  id: string;
2587
2597
  label: string;
2598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2588
2599
  capture: "at_action" | "historical_lookup" | "fixture";
2589
2600
  locator?: string | undefined;
2590
2601
  }[];
@@ -2595,9 +2606,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2595
2606
  statement: string;
2596
2607
  sessionId: string;
2597
2608
  evidence: {
2598
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
2609
  id: string;
2600
2610
  label: string;
2611
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2601
2612
  capture: "at_action" | "historical_lookup" | "fixture";
2602
2613
  locator?: string | undefined;
2603
2614
  }[];
@@ -2605,12 +2616,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2605
2616
  decisionId: string;
2606
2617
  confidence?: number | undefined;
2607
2618
  } | {
2608
- kind: "conflict_detected";
2609
2619
  summary: string;
2620
+ kind: "conflict_detected";
2610
2621
  evidence: {
2611
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2612
2622
  id: string;
2613
2623
  label: string;
2624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2614
2625
  capture: "at_action" | "historical_lookup" | "fixture";
2615
2626
  locator?: string | undefined;
2616
2627
  }[];
@@ -2618,14 +2629,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2618
2629
  decisionIds: string[];
2619
2630
  agentIds: string[];
2620
2631
  } | {
2621
- kind: "test_result";
2622
2632
  summary: string;
2623
2633
  status: "error" | "failed" | "passed";
2634
+ kind: "test_result";
2624
2635
  command: string;
2625
2636
  evidence: {
2626
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2627
2637
  id: string;
2628
2638
  label: string;
2639
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2629
2640
  capture: "at_action" | "historical_lookup" | "fixture";
2630
2641
  locator?: string | undefined;
2631
2642
  }[];
@@ -2638,9 +2649,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2638
2649
  rationale: string;
2639
2650
  statement: string;
2640
2651
  evidence: {
2641
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2642
2652
  id: string;
2643
2653
  label: string;
2654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2644
2655
  capture: "at_action" | "historical_lookup" | "fixture";
2645
2656
  locator?: string | undefined;
2646
2657
  }[];
@@ -2652,25 +2663,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2652
2663
  } | {
2653
2664
  kind: "correction_approved";
2654
2665
  evidence: {
2655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2656
2666
  id: string;
2657
2667
  label: string;
2668
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2669
  capture: "at_action" | "historical_lookup" | "fixture";
2659
2670
  locator?: string | undefined;
2660
2671
  }[];
2661
2672
  correctionId: string;
2662
2673
  approvedBy: {
2663
- kind: "agent" | "human";
2664
2674
  id: string;
2665
2675
  label: string;
2676
+ kind: "agent" | "human";
2666
2677
  };
2667
2678
  note?: string | undefined;
2668
2679
  } | {
2669
2680
  kind: "decision_superseded";
2670
2681
  evidence: {
2671
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2672
2682
  id: string;
2673
2683
  label: string;
2684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
2685
  capture: "at_action" | "historical_lookup" | "fixture";
2675
2686
  locator?: string | undefined;
2676
2687
  }[];
@@ -2683,9 +2694,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2683
2694
  agentId: string;
2684
2695
  sessionId: string;
2685
2696
  evidence: {
2686
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2687
2697
  id: string;
2688
2698
  label: string;
2699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2689
2700
  capture: "at_action" | "historical_lookup" | "fixture";
2690
2701
  locator?: string | undefined;
2691
2702
  }[];
@@ -2697,9 +2708,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2697
2708
  agentId: string;
2698
2709
  sessionId: string;
2699
2710
  evidence: {
2700
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2701
2711
  id: string;
2702
2712
  label: string;
2713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2703
2714
  capture: "at_action" | "historical_lookup" | "fixture";
2704
2715
  locator?: string | undefined;
2705
2716
  }[];
@@ -2708,13 +2719,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2708
2719
  recallReceiptId: string;
2709
2720
  staleDecisionAbsent: boolean;
2710
2721
  } | {
2711
- kind: "mission_completed";
2712
2722
  summary: string;
2723
+ kind: "mission_completed";
2713
2724
  outcome: "failed" | "recovered" | "inconclusive";
2714
2725
  evidence: {
2715
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
2726
  id: string;
2717
2727
  label: string;
2728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
2729
  capture: "at_action" | "historical_lookup" | "fixture";
2719
2730
  locator?: string | undefined;
2720
2731
  }[];
@@ -2724,37 +2735,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2724
2735
  objective: string;
2725
2736
  runMode: "replay" | "fixture" | "live";
2726
2737
  evidence?: {
2727
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2728
2738
  id: string;
2729
2739
  label: string;
2740
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2730
2741
  capture: "at_action" | "historical_lookup" | "fixture";
2731
2742
  locator?: string | undefined;
2732
2743
  }[] | undefined;
2733
2744
  } | {
2734
- kind: "agent_status";
2745
+ label: string;
2735
2746
  status: "failed" | "complete" | "blocked" | "working" | "idle";
2747
+ kind: "agent_status";
2736
2748
  role: string;
2737
- label: string;
2738
2749
  agentId: string;
2739
2750
  sessionId: string;
2740
2751
  detail?: string | undefined;
2741
2752
  evidence?: {
2742
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2743
2753
  id: string;
2744
2754
  label: string;
2755
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2745
2756
  capture: "at_action" | "historical_lookup" | "fixture";
2746
2757
  locator?: string | undefined;
2747
2758
  }[] | undefined;
2748
2759
  } | {
2749
- kind: "agent_output";
2750
2760
  summary: string;
2761
+ kind: "agent_output";
2751
2762
  agentId: string;
2752
2763
  sessionId: string;
2753
2764
  outputId: string;
2754
2765
  evidence?: {
2755
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2756
2766
  id: string;
2757
2767
  label: string;
2768
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2758
2769
  capture: "at_action" | "historical_lookup" | "fixture";
2759
2770
  locator?: string | undefined;
2760
2771
  }[] | undefined;
@@ -2767,37 +2778,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2767
2778
  decisionId: string;
2768
2779
  confidence?: number | undefined;
2769
2780
  evidence?: {
2770
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2771
2781
  id: string;
2772
2782
  label: string;
2783
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2773
2784
  capture: "at_action" | "historical_lookup" | "fixture";
2774
2785
  locator?: string | undefined;
2775
2786
  }[] | undefined;
2776
2787
  } | {
2777
- kind: "conflict_detected";
2778
2788
  summary: string;
2789
+ kind: "conflict_detected";
2779
2790
  conflictId: string;
2780
2791
  decisionIds: string[];
2781
2792
  agentIds: string[];
2782
2793
  evidence?: {
2783
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2784
2794
  id: string;
2785
2795
  label: string;
2796
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2786
2797
  capture: "at_action" | "historical_lookup" | "fixture";
2787
2798
  locator?: string | undefined;
2788
2799
  }[] | undefined;
2789
2800
  } | {
2790
- kind: "test_result";
2791
2801
  summary: string;
2792
2802
  status: "error" | "failed" | "passed";
2803
+ kind: "test_result";
2793
2804
  command: string;
2794
2805
  decisionId: string;
2795
2806
  testId: string;
2796
2807
  durationMs?: number | undefined;
2797
2808
  evidence?: {
2798
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2799
2809
  id: string;
2800
2810
  label: string;
2811
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2812
  capture: "at_action" | "historical_lookup" | "fixture";
2802
2813
  locator?: string | undefined;
2803
2814
  }[] | undefined;
@@ -2812,9 +2823,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2812
2823
  supersedesDecisionIds: string[];
2813
2824
  proposedBy: string;
2814
2825
  evidence?: {
2815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2816
2826
  id: string;
2817
2827
  label: string;
2828
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
2829
  capture: "at_action" | "historical_lookup" | "fixture";
2819
2830
  locator?: string | undefined;
2820
2831
  }[] | undefined;
@@ -2822,15 +2833,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2822
2833
  kind: "correction_approved";
2823
2834
  correctionId: string;
2824
2835
  approvedBy: {
2825
- kind: "agent" | "human";
2826
2836
  id: string;
2827
2837
  label: string;
2838
+ kind: "agent" | "human";
2828
2839
  };
2829
2840
  note?: string | undefined;
2830
2841
  evidence?: {
2831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2832
2842
  id: string;
2833
2843
  label: string;
2844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
2845
  capture: "at_action" | "historical_lookup" | "fixture";
2835
2846
  locator?: string | undefined;
2836
2847
  }[] | undefined;
@@ -2840,9 +2851,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2840
2851
  correctionId: string;
2841
2852
  replacementDecisionId: string;
2842
2853
  evidence?: {
2843
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2844
2854
  id: string;
2845
2855
  label: string;
2856
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
2857
  capture: "at_action" | "historical_lookup" | "fixture";
2847
2858
  locator?: string | undefined;
2848
2859
  }[] | undefined;
@@ -2855,9 +2866,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2855
2866
  recallReceiptId: string;
2856
2867
  capturedAtAction: boolean;
2857
2868
  evidence?: {
2858
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
2869
  id: string;
2860
2870
  label: string;
2871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2861
2872
  capture: "at_action" | "historical_lookup" | "fixture";
2862
2873
  locator?: string | undefined;
2863
2874
  }[] | undefined;
@@ -2870,20 +2881,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2870
2881
  recallReceiptId: string;
2871
2882
  staleDecisionAbsent: boolean;
2872
2883
  evidence?: {
2873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2874
2884
  id: string;
2875
2885
  label: string;
2886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2887
  capture: "at_action" | "historical_lookup" | "fixture";
2877
2888
  locator?: string | undefined;
2878
2889
  }[] | undefined;
2879
2890
  } | {
2880
- kind: "mission_completed";
2881
2891
  summary: string;
2892
+ kind: "mission_completed";
2882
2893
  outcome: "failed" | "recovered" | "inconclusive";
2883
2894
  evidence?: {
2884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2885
2895
  id: string;
2886
2896
  label: string;
2897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
2898
  capture: "at_action" | "historical_lookup" | "fixture";
2888
2899
  locator?: string | undefined;
2889
2900
  }[] | undefined;
@@ -2893,38 +2904,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2893
2904
  kind: "mission_started";
2894
2905
  title: string;
2895
2906
  evidence: {
2896
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2897
2907
  id: string;
2898
2908
  label: string;
2909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2899
2910
  capture: "at_action" | "historical_lookup" | "fixture";
2900
2911
  locator?: string | undefined;
2901
2912
  }[];
2902
2913
  objective: string;
2903
2914
  runMode: "replay" | "fixture" | "live";
2904
2915
  } | {
2905
- kind: "agent_status";
2916
+ label: string;
2906
2917
  status: "failed" | "complete" | "blocked" | "working" | "idle";
2918
+ kind: "agent_status";
2907
2919
  role: string;
2908
- label: string;
2909
2920
  agentId: string;
2910
2921
  sessionId: string;
2911
2922
  evidence: {
2912
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2913
2923
  id: string;
2914
2924
  label: string;
2925
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2915
2926
  capture: "at_action" | "historical_lookup" | "fixture";
2916
2927
  locator?: string | undefined;
2917
2928
  }[];
2918
2929
  detail?: string | undefined;
2919
2930
  } | {
2920
- kind: "agent_output";
2921
2931
  summary: string;
2932
+ kind: "agent_output";
2922
2933
  agentId: string;
2923
2934
  sessionId: string;
2924
2935
  evidence: {
2925
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2926
2936
  id: string;
2927
2937
  label: string;
2938
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2928
2939
  capture: "at_action" | "historical_lookup" | "fixture";
2929
2940
  locator?: string | undefined;
2930
2941
  }[];
@@ -2935,9 +2946,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2935
2946
  statement: string;
2936
2947
  sessionId: string;
2937
2948
  evidence: {
2938
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2939
2949
  id: string;
2940
2950
  label: string;
2951
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2941
2952
  capture: "at_action" | "historical_lookup" | "fixture";
2942
2953
  locator?: string | undefined;
2943
2954
  }[];
@@ -2945,12 +2956,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2945
2956
  decisionId: string;
2946
2957
  confidence?: number | undefined;
2947
2958
  } | {
2948
- kind: "conflict_detected";
2949
2959
  summary: string;
2960
+ kind: "conflict_detected";
2950
2961
  evidence: {
2951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2952
2962
  id: string;
2953
2963
  label: string;
2964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2954
2965
  capture: "at_action" | "historical_lookup" | "fixture";
2955
2966
  locator?: string | undefined;
2956
2967
  }[];
@@ -2958,14 +2969,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2958
2969
  decisionIds: string[];
2959
2970
  agentIds: string[];
2960
2971
  } | {
2961
- kind: "test_result";
2962
2972
  summary: string;
2963
2973
  status: "error" | "failed" | "passed";
2974
+ kind: "test_result";
2964
2975
  command: string;
2965
2976
  evidence: {
2966
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2967
2977
  id: string;
2968
2978
  label: string;
2979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2969
2980
  capture: "at_action" | "historical_lookup" | "fixture";
2970
2981
  locator?: string | undefined;
2971
2982
  }[];
@@ -2978,9 +2989,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2978
2989
  rationale: string;
2979
2990
  statement: string;
2980
2991
  evidence: {
2981
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2982
2992
  id: string;
2983
2993
  label: string;
2994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2984
2995
  capture: "at_action" | "historical_lookup" | "fixture";
2985
2996
  locator?: string | undefined;
2986
2997
  }[];
@@ -2992,25 +3003,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2992
3003
  } | {
2993
3004
  kind: "correction_approved";
2994
3005
  evidence: {
2995
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2996
3006
  id: string;
2997
3007
  label: string;
3008
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2998
3009
  capture: "at_action" | "historical_lookup" | "fixture";
2999
3010
  locator?: string | undefined;
3000
3011
  }[];
3001
3012
  correctionId: string;
3002
3013
  approvedBy: {
3003
- kind: "agent" | "human";
3004
3014
  id: string;
3005
3015
  label: string;
3016
+ kind: "agent" | "human";
3006
3017
  };
3007
3018
  note?: string | undefined;
3008
3019
  } | {
3009
3020
  kind: "decision_superseded";
3010
3021
  evidence: {
3011
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
3022
  id: string;
3013
3023
  label: string;
3024
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3014
3025
  capture: "at_action" | "historical_lookup" | "fixture";
3015
3026
  locator?: string | undefined;
3016
3027
  }[];
@@ -3023,9 +3034,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3023
3034
  agentId: string;
3024
3035
  sessionId: string;
3025
3036
  evidence: {
3026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3027
3037
  id: string;
3028
3038
  label: string;
3039
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3029
3040
  capture: "at_action" | "historical_lookup" | "fixture";
3030
3041
  locator?: string | undefined;
3031
3042
  }[];
@@ -3037,9 +3048,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3037
3048
  agentId: string;
3038
3049
  sessionId: string;
3039
3050
  evidence: {
3040
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3041
3051
  id: string;
3042
3052
  label: string;
3053
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3043
3054
  capture: "at_action" | "historical_lookup" | "fixture";
3044
3055
  locator?: string | undefined;
3045
3056
  }[];
@@ -3048,13 +3059,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3048
3059
  recallReceiptId: string;
3049
3060
  staleDecisionAbsent: boolean;
3050
3061
  } | {
3051
- kind: "mission_completed";
3052
3062
  summary: string;
3063
+ kind: "mission_completed";
3053
3064
  outcome: "failed" | "recovered" | "inconclusive";
3054
3065
  evidence: {
3055
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3056
3066
  id: string;
3057
3067
  label: string;
3068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3058
3069
  capture: "at_action" | "historical_lookup" | "fixture";
3059
3070
  locator?: string | undefined;
3060
3071
  }[];
@@ -3068,37 +3079,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3068
3079
  objective: string;
3069
3080
  runMode: "replay" | "fixture" | "live";
3070
3081
  evidence?: {
3071
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
3082
  id: string;
3073
3083
  label: string;
3084
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3074
3085
  capture: "at_action" | "historical_lookup" | "fixture";
3075
3086
  locator?: string | undefined;
3076
3087
  }[] | undefined;
3077
3088
  } | {
3078
- kind: "agent_status";
3089
+ label: string;
3079
3090
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3091
+ kind: "agent_status";
3080
3092
  role: string;
3081
- label: string;
3082
3093
  agentId: string;
3083
3094
  sessionId: string;
3084
3095
  detail?: string | undefined;
3085
3096
  evidence?: {
3086
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
3097
  id: string;
3088
3098
  label: string;
3099
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3089
3100
  capture: "at_action" | "historical_lookup" | "fixture";
3090
3101
  locator?: string | undefined;
3091
3102
  }[] | undefined;
3092
3103
  } | {
3093
- kind: "agent_output";
3094
3104
  summary: string;
3105
+ kind: "agent_output";
3095
3106
  agentId: string;
3096
3107
  sessionId: string;
3097
3108
  outputId: string;
3098
3109
  evidence?: {
3099
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3100
3110
  id: string;
3101
3111
  label: string;
3112
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
3113
  capture: "at_action" | "historical_lookup" | "fixture";
3103
3114
  locator?: string | undefined;
3104
3115
  }[] | undefined;
@@ -3111,37 +3122,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3111
3122
  decisionId: string;
3112
3123
  confidence?: number | undefined;
3113
3124
  evidence?: {
3114
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3115
3125
  id: string;
3116
3126
  label: string;
3127
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3117
3128
  capture: "at_action" | "historical_lookup" | "fixture";
3118
3129
  locator?: string | undefined;
3119
3130
  }[] | undefined;
3120
3131
  } | {
3121
- kind: "conflict_detected";
3122
3132
  summary: string;
3133
+ kind: "conflict_detected";
3123
3134
  conflictId: string;
3124
3135
  decisionIds: string[];
3125
3136
  agentIds: string[];
3126
3137
  evidence?: {
3127
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3128
3138
  id: string;
3129
3139
  label: string;
3140
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3130
3141
  capture: "at_action" | "historical_lookup" | "fixture";
3131
3142
  locator?: string | undefined;
3132
3143
  }[] | undefined;
3133
3144
  } | {
3134
- kind: "test_result";
3135
3145
  summary: string;
3136
3146
  status: "error" | "failed" | "passed";
3147
+ kind: "test_result";
3137
3148
  command: string;
3138
3149
  decisionId: string;
3139
3150
  testId: string;
3140
3151
  durationMs?: number | undefined;
3141
3152
  evidence?: {
3142
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3143
3153
  id: string;
3144
3154
  label: string;
3155
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3145
3156
  capture: "at_action" | "historical_lookup" | "fixture";
3146
3157
  locator?: string | undefined;
3147
3158
  }[] | undefined;
@@ -3156,9 +3167,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3156
3167
  supersedesDecisionIds: string[];
3157
3168
  proposedBy: string;
3158
3169
  evidence?: {
3159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
3170
  id: string;
3161
3171
  label: string;
3172
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
3173
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3174
  locator?: string | undefined;
3164
3175
  }[] | undefined;
@@ -3166,15 +3177,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3166
3177
  kind: "correction_approved";
3167
3178
  correctionId: string;
3168
3179
  approvedBy: {
3169
- kind: "agent" | "human";
3170
3180
  id: string;
3171
3181
  label: string;
3182
+ kind: "agent" | "human";
3172
3183
  };
3173
3184
  note?: string | undefined;
3174
3185
  evidence?: {
3175
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
3186
  id: string;
3177
3187
  label: string;
3188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3178
3189
  capture: "at_action" | "historical_lookup" | "fixture";
3179
3190
  locator?: string | undefined;
3180
3191
  }[] | undefined;
@@ -3184,9 +3195,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3184
3195
  correctionId: string;
3185
3196
  replacementDecisionId: string;
3186
3197
  evidence?: {
3187
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3198
  id: string;
3189
3199
  label: string;
3200
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
3201
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3202
  locator?: string | undefined;
3192
3203
  }[] | undefined;
@@ -3199,9 +3210,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3199
3210
  recallReceiptId: string;
3200
3211
  capturedAtAction: boolean;
3201
3212
  evidence?: {
3202
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
3213
  id: string;
3204
3214
  label: string;
3215
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3205
3216
  capture: "at_action" | "historical_lookup" | "fixture";
3206
3217
  locator?: string | undefined;
3207
3218
  }[] | undefined;
@@ -3214,20 +3225,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3214
3225
  recallReceiptId: string;
3215
3226
  staleDecisionAbsent: boolean;
3216
3227
  evidence?: {
3217
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
3228
  id: string;
3219
3229
  label: string;
3230
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
3231
  capture: "at_action" | "historical_lookup" | "fixture";
3221
3232
  locator?: string | undefined;
3222
3233
  }[] | undefined;
3223
3234
  } | {
3224
- kind: "mission_completed";
3225
3235
  summary: string;
3236
+ kind: "mission_completed";
3226
3237
  outcome: "failed" | "recovered" | "inconclusive";
3227
3238
  evidence?: {
3228
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3229
3239
  id: string;
3230
3240
  label: string;
3241
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3231
3242
  capture: "at_action" | "historical_lookup" | "fixture";
3232
3243
  locator?: string | undefined;
3233
3244
  }[] | undefined;
@@ -3257,15 +3268,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3257
3268
  locator: z.ZodOptional<z.ZodString>;
3258
3269
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3259
3270
  }, "strict", z.ZodTypeAny, {
3260
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3261
3271
  id: string;
3262
3272
  label: string;
3273
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
3274
  capture: "at_action" | "historical_lookup" | "fixture";
3264
3275
  locator?: string | undefined;
3265
3276
  }, {
3266
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3267
3277
  id: string;
3268
3278
  label: string;
3279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3269
3280
  capture: "at_action" | "historical_lookup" | "fixture";
3270
3281
  locator?: string | undefined;
3271
3282
  }>, "many">>;
@@ -3273,9 +3284,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3273
3284
  kind: "mission_started";
3274
3285
  title: string;
3275
3286
  evidence: {
3276
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
3287
  id: string;
3278
3288
  label: string;
3289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3279
3290
  capture: "at_action" | "historical_lookup" | "fixture";
3280
3291
  locator?: string | undefined;
3281
3292
  }[];
@@ -3287,9 +3298,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3287
3298
  objective: string;
3288
3299
  runMode: "replay" | "fixture" | "live";
3289
3300
  evidence?: {
3290
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
3301
  id: string;
3292
3302
  label: string;
3303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
3304
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3305
  locator?: string | undefined;
3295
3306
  }[] | undefined;
@@ -3305,15 +3316,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3305
3316
  locator: z.ZodOptional<z.ZodString>;
3306
3317
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3307
3318
  }, "strict", z.ZodTypeAny, {
3308
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3309
3319
  id: string;
3310
3320
  label: string;
3321
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3311
3322
  capture: "at_action" | "historical_lookup" | "fixture";
3312
3323
  locator?: string | undefined;
3313
3324
  }, {
3314
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3315
3325
  id: string;
3316
3326
  label: string;
3327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3317
3328
  capture: "at_action" | "historical_lookup" | "fixture";
3318
3329
  locator?: string | undefined;
3319
3330
  }>, "many">>;
@@ -3321,32 +3332,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3321
3332
  sessionId: z.ZodString;
3322
3333
  kind: z.ZodLiteral<"agent_status">;
3323
3334
  }, "strict", z.ZodTypeAny, {
3324
- kind: "agent_status";
3335
+ label: string;
3325
3336
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3337
+ kind: "agent_status";
3326
3338
  role: string;
3327
- label: string;
3328
3339
  agentId: string;
3329
3340
  sessionId: string;
3330
3341
  evidence: {
3331
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3332
3342
  id: string;
3333
3343
  label: string;
3344
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
3345
  capture: "at_action" | "historical_lookup" | "fixture";
3335
3346
  locator?: string | undefined;
3336
3347
  }[];
3337
3348
  detail?: string | undefined;
3338
3349
  }, {
3339
- kind: "agent_status";
3350
+ label: string;
3340
3351
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3352
+ kind: "agent_status";
3341
3353
  role: string;
3342
- label: string;
3343
3354
  agentId: string;
3344
3355
  sessionId: string;
3345
3356
  detail?: string | undefined;
3346
3357
  evidence?: {
3347
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3348
3358
  id: string;
3349
3359
  label: string;
3360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3350
3361
  capture: "at_action" | "historical_lookup" | "fixture";
3351
3362
  locator?: string | undefined;
3352
3363
  }[] | undefined;
@@ -3360,15 +3371,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3360
3371
  locator: z.ZodOptional<z.ZodString>;
3361
3372
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3362
3373
  }, "strict", z.ZodTypeAny, {
3363
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
3374
  id: string;
3365
3375
  label: string;
3376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3366
3377
  capture: "at_action" | "historical_lookup" | "fixture";
3367
3378
  locator?: string | undefined;
3368
3379
  }, {
3369
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3370
3380
  id: string;
3371
3381
  label: string;
3382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
3383
  capture: "at_action" | "historical_lookup" | "fixture";
3373
3384
  locator?: string | undefined;
3374
3385
  }>, "many">>;
@@ -3376,28 +3387,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3376
3387
  sessionId: z.ZodString;
3377
3388
  kind: z.ZodLiteral<"agent_output">;
3378
3389
  }, "strict", z.ZodTypeAny, {
3379
- kind: "agent_output";
3380
3390
  summary: string;
3391
+ kind: "agent_output";
3381
3392
  agentId: string;
3382
3393
  sessionId: string;
3383
3394
  evidence: {
3384
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3385
3395
  id: string;
3386
3396
  label: string;
3397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3398
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3399
  locator?: string | undefined;
3389
3400
  }[];
3390
3401
  outputId: string;
3391
3402
  }, {
3392
- kind: "agent_output";
3393
3403
  summary: string;
3404
+ kind: "agent_output";
3394
3405
  agentId: string;
3395
3406
  sessionId: string;
3396
3407
  outputId: string;
3397
3408
  evidence?: {
3398
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3399
3409
  id: string;
3400
3410
  label: string;
3411
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3401
3412
  capture: "at_action" | "historical_lookup" | "fixture";
3402
3413
  locator?: string | undefined;
3403
3414
  }[] | undefined;
@@ -3413,15 +3424,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3413
3424
  locator: z.ZodOptional<z.ZodString>;
3414
3425
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3415
3426
  }, "strict", z.ZodTypeAny, {
3416
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3417
3427
  id: string;
3418
3428
  label: string;
3429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3419
3430
  capture: "at_action" | "historical_lookup" | "fixture";
3420
3431
  locator?: string | undefined;
3421
3432
  }, {
3422
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
3433
  id: string;
3424
3434
  label: string;
3435
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3425
3436
  capture: "at_action" | "historical_lookup" | "fixture";
3426
3437
  locator?: string | undefined;
3427
3438
  }>, "many">>;
@@ -3434,9 +3445,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3434
3445
  statement: string;
3435
3446
  sessionId: string;
3436
3447
  evidence: {
3437
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3438
3448
  id: string;
3439
3449
  label: string;
3450
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3440
3451
  capture: "at_action" | "historical_lookup" | "fixture";
3441
3452
  locator?: string | undefined;
3442
3453
  }[];
@@ -3452,9 +3463,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3452
3463
  decisionId: string;
3453
3464
  confidence?: number | undefined;
3454
3465
  evidence?: {
3455
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
3466
  id: string;
3457
3467
  label: string;
3468
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
3469
  capture: "at_action" | "historical_lookup" | "fixture";
3459
3470
  locator?: string | undefined;
3460
3471
  }[] | undefined;
@@ -3471,25 +3482,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3471
3482
  locator: z.ZodOptional<z.ZodString>;
3472
3483
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3473
3484
  }, "strict", z.ZodTypeAny, {
3474
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
3485
  id: string;
3476
3486
  label: string;
3487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3477
3488
  capture: "at_action" | "historical_lookup" | "fixture";
3478
3489
  locator?: string | undefined;
3479
3490
  }, {
3480
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3481
3491
  id: string;
3482
3492
  label: string;
3493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3483
3494
  capture: "at_action" | "historical_lookup" | "fixture";
3484
3495
  locator?: string | undefined;
3485
3496
  }>, "many">>;
3486
3497
  }, "strict", z.ZodTypeAny, {
3487
- kind: "conflict_detected";
3488
3498
  summary: string;
3499
+ kind: "conflict_detected";
3489
3500
  evidence: {
3490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
3501
  id: string;
3492
3502
  label: string;
3503
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3493
3504
  capture: "at_action" | "historical_lookup" | "fixture";
3494
3505
  locator?: string | undefined;
3495
3506
  }[];
@@ -3497,15 +3508,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3497
3508
  decisionIds: string[];
3498
3509
  agentIds: string[];
3499
3510
  }, {
3500
- kind: "conflict_detected";
3501
3511
  summary: string;
3512
+ kind: "conflict_detected";
3502
3513
  conflictId: string;
3503
3514
  decisionIds: string[];
3504
3515
  agentIds: string[];
3505
3516
  evidence?: {
3506
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3507
3517
  id: string;
3508
3518
  label: string;
3519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3509
3520
  capture: "at_action" | "historical_lookup" | "fixture";
3510
3521
  locator?: string | undefined;
3511
3522
  }[] | undefined;
@@ -3525,27 +3536,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3525
3536
  locator: z.ZodOptional<z.ZodString>;
3526
3537
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3527
3538
  }, "strict", z.ZodTypeAny, {
3528
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3529
3539
  id: string;
3530
3540
  label: string;
3541
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
3542
  capture: "at_action" | "historical_lookup" | "fixture";
3532
3543
  locator?: string | undefined;
3533
3544
  }, {
3534
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3535
3545
  id: string;
3536
3546
  label: string;
3547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3537
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3538
3549
  locator?: string | undefined;
3539
3550
  }>, "many">>;
3540
3551
  }, "strict", z.ZodTypeAny, {
3541
- kind: "test_result";
3542
3552
  summary: string;
3543
3553
  status: "error" | "failed" | "passed";
3554
+ kind: "test_result";
3544
3555
  command: string;
3545
3556
  evidence: {
3546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3547
3557
  id: string;
3548
3558
  label: string;
3559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3549
3560
  capture: "at_action" | "historical_lookup" | "fixture";
3550
3561
  locator?: string | undefined;
3551
3562
  }[];
@@ -3554,17 +3565,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3554
3565
  durationMs?: number | undefined;
3555
3566
  correctionId?: string | undefined;
3556
3567
  }, {
3557
- kind: "test_result";
3558
3568
  summary: string;
3559
3569
  status: "error" | "failed" | "passed";
3570
+ kind: "test_result";
3560
3571
  command: string;
3561
3572
  decisionId: string;
3562
3573
  testId: string;
3563
3574
  durationMs?: number | undefined;
3564
3575
  evidence?: {
3565
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
3576
  id: string;
3567
3577
  label: string;
3578
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
3579
  capture: "at_action" | "historical_lookup" | "fixture";
3569
3580
  locator?: string | undefined;
3570
3581
  }[] | undefined;
@@ -3585,15 +3596,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3585
3596
  locator: z.ZodOptional<z.ZodString>;
3586
3597
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3587
3598
  }, "strict", z.ZodTypeAny, {
3588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
3599
  id: string;
3590
3600
  label: string;
3601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
3602
  capture: "at_action" | "historical_lookup" | "fixture";
3592
3603
  locator?: string | undefined;
3593
3604
  }, {
3594
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3595
3605
  id: string;
3596
3606
  label: string;
3607
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3597
3608
  capture: "at_action" | "historical_lookup" | "fixture";
3598
3609
  locator?: string | undefined;
3599
3610
  }>, "many">>;
@@ -3602,9 +3613,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3602
3613
  rationale: string;
3603
3614
  statement: string;
3604
3615
  evidence: {
3605
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3616
  id: string;
3607
3617
  label: string;
3618
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3608
3619
  capture: "at_action" | "historical_lookup" | "fixture";
3609
3620
  locator?: string | undefined;
3610
3621
  }[];
@@ -3623,9 +3634,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3623
3634
  supersedesDecisionIds: string[];
3624
3635
  proposedBy: string;
3625
3636
  evidence?: {
3626
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
3637
  id: string;
3628
3638
  label: string;
3639
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3629
3640
  capture: "at_action" | "historical_lookup" | "fixture";
3630
3641
  locator?: string | undefined;
3631
3642
  }[] | undefined;
@@ -3637,13 +3648,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3637
3648
  id: z.ZodString;
3638
3649
  label: z.ZodString;
3639
3650
  }, "strict", z.ZodTypeAny, {
3640
- kind: "agent" | "human";
3641
3651
  id: string;
3642
3652
  label: string;
3643
- }, {
3644
3653
  kind: "agent" | "human";
3654
+ }, {
3645
3655
  id: string;
3646
3656
  label: string;
3657
+ kind: "agent" | "human";
3647
3658
  }>;
3648
3659
  note: z.ZodOptional<z.ZodString>;
3649
3660
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3653,47 +3664,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3653
3664
  locator: z.ZodOptional<z.ZodString>;
3654
3665
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3655
3666
  }, "strict", z.ZodTypeAny, {
3656
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3657
3667
  id: string;
3658
3668
  label: string;
3669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3659
3670
  capture: "at_action" | "historical_lookup" | "fixture";
3660
3671
  locator?: string | undefined;
3661
3672
  }, {
3662
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3663
3673
  id: string;
3664
3674
  label: string;
3675
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
3676
  capture: "at_action" | "historical_lookup" | "fixture";
3666
3677
  locator?: string | undefined;
3667
3678
  }>, "many">>;
3668
3679
  }, "strict", z.ZodTypeAny, {
3669
3680
  kind: "correction_approved";
3670
3681
  evidence: {
3671
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
3682
  id: string;
3673
3683
  label: string;
3684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3674
3685
  capture: "at_action" | "historical_lookup" | "fixture";
3675
3686
  locator?: string | undefined;
3676
3687
  }[];
3677
3688
  correctionId: string;
3678
3689
  approvedBy: {
3679
- kind: "agent" | "human";
3680
3690
  id: string;
3681
3691
  label: string;
3692
+ kind: "agent" | "human";
3682
3693
  };
3683
3694
  note?: string | undefined;
3684
3695
  }, {
3685
3696
  kind: "correction_approved";
3686
3697
  correctionId: string;
3687
3698
  approvedBy: {
3688
- kind: "agent" | "human";
3689
3699
  id: string;
3690
3700
  label: string;
3701
+ kind: "agent" | "human";
3691
3702
  };
3692
3703
  note?: string | undefined;
3693
3704
  evidence?: {
3694
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3695
3705
  id: string;
3696
3706
  label: string;
3707
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3697
3708
  capture: "at_action" | "historical_lookup" | "fixture";
3698
3709
  locator?: string | undefined;
3699
3710
  }[] | undefined;
@@ -3709,24 +3720,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3709
3720
  locator: z.ZodOptional<z.ZodString>;
3710
3721
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3711
3722
  }, "strict", z.ZodTypeAny, {
3712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3713
3723
  id: string;
3714
3724
  label: string;
3725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3715
3726
  capture: "at_action" | "historical_lookup" | "fixture";
3716
3727
  locator?: string | undefined;
3717
3728
  }, {
3718
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3719
3729
  id: string;
3720
3730
  label: string;
3731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3721
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3722
3733
  locator?: string | undefined;
3723
3734
  }>, "many">>;
3724
3735
  }, "strict", z.ZodTypeAny, {
3725
3736
  kind: "decision_superseded";
3726
3737
  evidence: {
3727
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3728
3738
  id: string;
3729
3739
  label: string;
3740
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3741
  capture: "at_action" | "historical_lookup" | "fixture";
3731
3742
  locator?: string | undefined;
3732
3743
  }[];
@@ -3739,9 +3750,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3739
3750
  correctionId: string;
3740
3751
  replacementDecisionId: string;
3741
3752
  evidence?: {
3742
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3743
3753
  id: string;
3744
3754
  label: string;
3755
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3756
  capture: "at_action" | "historical_lookup" | "fixture";
3746
3757
  locator?: string | undefined;
3747
3758
  }[] | undefined;
@@ -3757,15 +3768,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3757
3768
  locator: z.ZodOptional<z.ZodString>;
3758
3769
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3759
3770
  }, "strict", z.ZodTypeAny, {
3760
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
3771
  id: string;
3762
3772
  label: string;
3773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3763
3774
  capture: "at_action" | "historical_lookup" | "fixture";
3764
3775
  locator?: string | undefined;
3765
3776
  }, {
3766
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3767
3777
  id: string;
3768
3778
  label: string;
3779
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3769
3780
  capture: "at_action" | "historical_lookup" | "fixture";
3770
3781
  locator?: string | undefined;
3771
3782
  }>, "many">>;
@@ -3778,9 +3789,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3778
3789
  agentId: string;
3779
3790
  sessionId: string;
3780
3791
  evidence: {
3781
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3782
3792
  id: string;
3783
3793
  label: string;
3794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3784
3795
  capture: "at_action" | "historical_lookup" | "fixture";
3785
3796
  locator?: string | undefined;
3786
3797
  }[];
@@ -3796,9 +3807,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3796
3807
  recallReceiptId: string;
3797
3808
  capturedAtAction: boolean;
3798
3809
  evidence?: {
3799
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3800
3810
  id: string;
3801
3811
  label: string;
3812
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3802
3813
  capture: "at_action" | "historical_lookup" | "fixture";
3803
3814
  locator?: string | undefined;
3804
3815
  }[] | undefined;
@@ -3814,15 +3825,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3814
3825
  locator: z.ZodOptional<z.ZodString>;
3815
3826
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3816
3827
  }, "strict", z.ZodTypeAny, {
3817
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
3828
  id: string;
3819
3829
  label: string;
3830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3820
3831
  capture: "at_action" | "historical_lookup" | "fixture";
3821
3832
  locator?: string | undefined;
3822
3833
  }, {
3823
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3824
3834
  id: string;
3825
3835
  label: string;
3836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3826
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3827
3838
  locator?: string | undefined;
3828
3839
  }>, "many">>;
@@ -3834,9 +3845,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3834
3845
  agentId: string;
3835
3846
  sessionId: string;
3836
3847
  evidence: {
3837
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
3848
  id: string;
3839
3849
  label: string;
3850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3840
3851
  capture: "at_action" | "historical_lookup" | "fixture";
3841
3852
  locator?: string | undefined;
3842
3853
  }[];
@@ -3853,9 +3864,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3853
3864
  recallReceiptId: string;
3854
3865
  staleDecisionAbsent: boolean;
3855
3866
  evidence?: {
3856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
3867
  id: string;
3858
3868
  label: string;
3869
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
3870
  capture: "at_action" | "historical_lookup" | "fixture";
3860
3871
  locator?: string | undefined;
3861
3872
  }[] | undefined;
@@ -3870,37 +3881,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3870
3881
  locator: z.ZodOptional<z.ZodString>;
3871
3882
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3872
3883
  }, "strict", z.ZodTypeAny, {
3873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3874
3884
  id: string;
3875
3885
  label: string;
3886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3876
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3877
3888
  locator?: string | undefined;
3878
3889
  }, {
3879
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3880
3890
  id: string;
3881
3891
  label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3882
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3883
3894
  locator?: string | undefined;
3884
3895
  }>, "many">>;
3885
3896
  }, "strict", z.ZodTypeAny, {
3886
- kind: "mission_completed";
3887
3897
  summary: string;
3898
+ kind: "mission_completed";
3888
3899
  outcome: "failed" | "recovered" | "inconclusive";
3889
3900
  evidence: {
3890
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3901
  id: string;
3892
3902
  label: string;
3903
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3904
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3905
  locator?: string | undefined;
3895
3906
  }[];
3896
3907
  }, {
3897
- kind: "mission_completed";
3898
3908
  summary: string;
3909
+ kind: "mission_completed";
3899
3910
  outcome: "failed" | "recovered" | "inconclusive";
3900
3911
  evidence?: {
3901
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3902
3912
  id: string;
3903
3913
  label: string;
3914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3904
3915
  capture: "at_action" | "historical_lookup" | "fixture";
3905
3916
  locator?: string | undefined;
3906
3917
  }[] | undefined;
@@ -3908,38 +3919,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3908
3919
  kind: "mission_started";
3909
3920
  title: string;
3910
3921
  evidence: {
3911
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3912
3922
  id: string;
3913
3923
  label: string;
3924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3914
3925
  capture: "at_action" | "historical_lookup" | "fixture";
3915
3926
  locator?: string | undefined;
3916
3927
  }[];
3917
3928
  objective: string;
3918
3929
  runMode: "replay" | "fixture" | "live";
3919
3930
  } | {
3920
- kind: "agent_status";
3931
+ label: string;
3921
3932
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3933
+ kind: "agent_status";
3922
3934
  role: string;
3923
- label: string;
3924
3935
  agentId: string;
3925
3936
  sessionId: string;
3926
3937
  evidence: {
3927
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3928
3938
  id: string;
3929
3939
  label: string;
3940
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3930
3941
  capture: "at_action" | "historical_lookup" | "fixture";
3931
3942
  locator?: string | undefined;
3932
3943
  }[];
3933
3944
  detail?: string | undefined;
3934
3945
  } | {
3935
- kind: "agent_output";
3936
3946
  summary: string;
3947
+ kind: "agent_output";
3937
3948
  agentId: string;
3938
3949
  sessionId: string;
3939
3950
  evidence: {
3940
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3941
3951
  id: string;
3942
3952
  label: string;
3953
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3943
3954
  capture: "at_action" | "historical_lookup" | "fixture";
3944
3955
  locator?: string | undefined;
3945
3956
  }[];
@@ -3950,9 +3961,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3950
3961
  statement: string;
3951
3962
  sessionId: string;
3952
3963
  evidence: {
3953
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
3964
  id: string;
3955
3965
  label: string;
3966
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3956
3967
  capture: "at_action" | "historical_lookup" | "fixture";
3957
3968
  locator?: string | undefined;
3958
3969
  }[];
@@ -3960,12 +3971,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3960
3971
  decisionId: string;
3961
3972
  confidence?: number | undefined;
3962
3973
  } | {
3963
- kind: "conflict_detected";
3964
3974
  summary: string;
3975
+ kind: "conflict_detected";
3965
3976
  evidence: {
3966
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3967
3977
  id: string;
3968
3978
  label: string;
3979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3969
3980
  capture: "at_action" | "historical_lookup" | "fixture";
3970
3981
  locator?: string | undefined;
3971
3982
  }[];
@@ -3973,14 +3984,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3973
3984
  decisionIds: string[];
3974
3985
  agentIds: string[];
3975
3986
  } | {
3976
- kind: "test_result";
3977
3987
  summary: string;
3978
3988
  status: "error" | "failed" | "passed";
3989
+ kind: "test_result";
3979
3990
  command: string;
3980
3991
  evidence: {
3981
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3982
3992
  id: string;
3983
3993
  label: string;
3994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3984
3995
  capture: "at_action" | "historical_lookup" | "fixture";
3985
3996
  locator?: string | undefined;
3986
3997
  }[];
@@ -3993,9 +4004,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3993
4004
  rationale: string;
3994
4005
  statement: string;
3995
4006
  evidence: {
3996
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3997
4007
  id: string;
3998
4008
  label: string;
4009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3999
4010
  capture: "at_action" | "historical_lookup" | "fixture";
4000
4011
  locator?: string | undefined;
4001
4012
  }[];
@@ -4007,25 +4018,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4007
4018
  } | {
4008
4019
  kind: "correction_approved";
4009
4020
  evidence: {
4010
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4011
4021
  id: string;
4012
4022
  label: string;
4023
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4024
  capture: "at_action" | "historical_lookup" | "fixture";
4014
4025
  locator?: string | undefined;
4015
4026
  }[];
4016
4027
  correctionId: string;
4017
4028
  approvedBy: {
4018
- kind: "agent" | "human";
4019
4029
  id: string;
4020
4030
  label: string;
4031
+ kind: "agent" | "human";
4021
4032
  };
4022
4033
  note?: string | undefined;
4023
4034
  } | {
4024
4035
  kind: "decision_superseded";
4025
4036
  evidence: {
4026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4027
4037
  id: string;
4028
4038
  label: string;
4039
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
4040
  capture: "at_action" | "historical_lookup" | "fixture";
4030
4041
  locator?: string | undefined;
4031
4042
  }[];
@@ -4038,9 +4049,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4038
4049
  agentId: string;
4039
4050
  sessionId: string;
4040
4051
  evidence: {
4041
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4042
4052
  id: string;
4043
4053
  label: string;
4054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4044
4055
  capture: "at_action" | "historical_lookup" | "fixture";
4045
4056
  locator?: string | undefined;
4046
4057
  }[];
@@ -4052,9 +4063,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4052
4063
  agentId: string;
4053
4064
  sessionId: string;
4054
4065
  evidence: {
4055
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4056
4066
  id: string;
4057
4067
  label: string;
4068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4058
4069
  capture: "at_action" | "historical_lookup" | "fixture";
4059
4070
  locator?: string | undefined;
4060
4071
  }[];
@@ -4063,13 +4074,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4063
4074
  recallReceiptId: string;
4064
4075
  staleDecisionAbsent: boolean;
4065
4076
  } | {
4066
- kind: "mission_completed";
4067
4077
  summary: string;
4078
+ kind: "mission_completed";
4068
4079
  outcome: "failed" | "recovered" | "inconclusive";
4069
4080
  evidence: {
4070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
4081
  id: string;
4072
4082
  label: string;
4083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
4084
  capture: "at_action" | "historical_lookup" | "fixture";
4074
4085
  locator?: string | undefined;
4075
4086
  }[];
@@ -4079,37 +4090,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4079
4090
  objective: string;
4080
4091
  runMode: "replay" | "fixture" | "live";
4081
4092
  evidence?: {
4082
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4083
4093
  id: string;
4084
4094
  label: string;
4095
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4085
4096
  capture: "at_action" | "historical_lookup" | "fixture";
4086
4097
  locator?: string | undefined;
4087
4098
  }[] | undefined;
4088
4099
  } | {
4089
- kind: "agent_status";
4100
+ label: string;
4090
4101
  status: "failed" | "complete" | "blocked" | "working" | "idle";
4102
+ kind: "agent_status";
4091
4103
  role: string;
4092
- label: string;
4093
4104
  agentId: string;
4094
4105
  sessionId: string;
4095
4106
  detail?: string | undefined;
4096
4107
  evidence?: {
4097
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4098
4108
  id: string;
4099
4109
  label: string;
4110
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4100
4111
  capture: "at_action" | "historical_lookup" | "fixture";
4101
4112
  locator?: string | undefined;
4102
4113
  }[] | undefined;
4103
4114
  } | {
4104
- kind: "agent_output";
4105
4115
  summary: string;
4116
+ kind: "agent_output";
4106
4117
  agentId: string;
4107
4118
  sessionId: string;
4108
4119
  outputId: string;
4109
4120
  evidence?: {
4110
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4111
4121
  id: string;
4112
4122
  label: string;
4123
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4113
4124
  capture: "at_action" | "historical_lookup" | "fixture";
4114
4125
  locator?: string | undefined;
4115
4126
  }[] | undefined;
@@ -4122,37 +4133,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4122
4133
  decisionId: string;
4123
4134
  confidence?: number | undefined;
4124
4135
  evidence?: {
4125
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4126
4136
  id: string;
4127
4137
  label: string;
4138
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4128
4139
  capture: "at_action" | "historical_lookup" | "fixture";
4129
4140
  locator?: string | undefined;
4130
4141
  }[] | undefined;
4131
4142
  } | {
4132
- kind: "conflict_detected";
4133
4143
  summary: string;
4144
+ kind: "conflict_detected";
4134
4145
  conflictId: string;
4135
4146
  decisionIds: string[];
4136
4147
  agentIds: string[];
4137
4148
  evidence?: {
4138
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4139
4149
  id: string;
4140
4150
  label: string;
4151
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4141
4152
  capture: "at_action" | "historical_lookup" | "fixture";
4142
4153
  locator?: string | undefined;
4143
4154
  }[] | undefined;
4144
4155
  } | {
4145
- kind: "test_result";
4146
4156
  summary: string;
4147
4157
  status: "error" | "failed" | "passed";
4158
+ kind: "test_result";
4148
4159
  command: string;
4149
4160
  decisionId: string;
4150
4161
  testId: string;
4151
4162
  durationMs?: number | undefined;
4152
4163
  evidence?: {
4153
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4154
4164
  id: string;
4155
4165
  label: string;
4166
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4167
  capture: "at_action" | "historical_lookup" | "fixture";
4157
4168
  locator?: string | undefined;
4158
4169
  }[] | undefined;
@@ -4167,9 +4178,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4167
4178
  supersedesDecisionIds: string[];
4168
4179
  proposedBy: string;
4169
4180
  evidence?: {
4170
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4171
4181
  id: string;
4172
4182
  label: string;
4183
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
4184
  capture: "at_action" | "historical_lookup" | "fixture";
4174
4185
  locator?: string | undefined;
4175
4186
  }[] | undefined;
@@ -4177,15 +4188,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4177
4188
  kind: "correction_approved";
4178
4189
  correctionId: string;
4179
4190
  approvedBy: {
4180
- kind: "agent" | "human";
4181
4191
  id: string;
4182
4192
  label: string;
4193
+ kind: "agent" | "human";
4183
4194
  };
4184
4195
  note?: string | undefined;
4185
4196
  evidence?: {
4186
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4187
4197
  id: string;
4188
4198
  label: string;
4199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
4200
  capture: "at_action" | "historical_lookup" | "fixture";
4190
4201
  locator?: string | undefined;
4191
4202
  }[] | undefined;
@@ -4195,9 +4206,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4195
4206
  correctionId: string;
4196
4207
  replacementDecisionId: string;
4197
4208
  evidence?: {
4198
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4199
4209
  id: string;
4200
4210
  label: string;
4211
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
4212
  capture: "at_action" | "historical_lookup" | "fixture";
4202
4213
  locator?: string | undefined;
4203
4214
  }[] | undefined;
@@ -4210,9 +4221,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4210
4221
  recallReceiptId: string;
4211
4222
  capturedAtAction: boolean;
4212
4223
  evidence?: {
4213
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
4224
  id: string;
4215
4225
  label: string;
4226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4216
4227
  capture: "at_action" | "historical_lookup" | "fixture";
4217
4228
  locator?: string | undefined;
4218
4229
  }[] | undefined;
@@ -4225,63 +4236,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4225
4236
  recallReceiptId: string;
4226
4237
  staleDecisionAbsent: boolean;
4227
4238
  evidence?: {
4228
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4229
4239
  id: string;
4230
4240
  label: string;
4241
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
4242
  capture: "at_action" | "historical_lookup" | "fixture";
4232
4243
  locator?: string | undefined;
4233
4244
  }[] | undefined;
4234
4245
  } | {
4235
- kind: "mission_completed";
4236
4246
  summary: string;
4247
+ kind: "mission_completed";
4237
4248
  outcome: "failed" | "recovered" | "inconclusive";
4238
4249
  evidence?: {
4239
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4240
4250
  id: string;
4241
4251
  label: string;
4252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
4253
  capture: "at_action" | "historical_lookup" | "fixture";
4243
4254
  locator?: string | undefined;
4244
4255
  }[] | undefined;
4245
4256
  }>;
4246
4257
  }, "strict", z.ZodTypeAny, {
4258
+ namespace: string;
4247
4259
  recordedAt: string;
4248
4260
  schemaVersion: "1";
4249
4261
  payload: {
4250
4262
  kind: "mission_started";
4251
4263
  title: string;
4252
4264
  evidence: {
4253
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4254
4265
  id: string;
4255
4266
  label: string;
4267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4256
4268
  capture: "at_action" | "historical_lookup" | "fixture";
4257
4269
  locator?: string | undefined;
4258
4270
  }[];
4259
4271
  objective: string;
4260
4272
  runMode: "replay" | "fixture" | "live";
4261
4273
  } | {
4262
- kind: "agent_status";
4274
+ label: string;
4263
4275
  status: "failed" | "complete" | "blocked" | "working" | "idle";
4276
+ kind: "agent_status";
4264
4277
  role: string;
4265
- label: string;
4266
4278
  agentId: string;
4267
4279
  sessionId: string;
4268
4280
  evidence: {
4269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4270
4281
  id: string;
4271
4282
  label: string;
4283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4284
  capture: "at_action" | "historical_lookup" | "fixture";
4273
4285
  locator?: string | undefined;
4274
4286
  }[];
4275
4287
  detail?: string | undefined;
4276
4288
  } | {
4277
- kind: "agent_output";
4278
4289
  summary: string;
4290
+ kind: "agent_output";
4279
4291
  agentId: string;
4280
4292
  sessionId: string;
4281
4293
  evidence: {
4282
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4283
4294
  id: string;
4284
4295
  label: string;
4296
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
4297
  capture: "at_action" | "historical_lookup" | "fixture";
4286
4298
  locator?: string | undefined;
4287
4299
  }[];
@@ -4292,9 +4304,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4292
4304
  statement: string;
4293
4305
  sessionId: string;
4294
4306
  evidence: {
4295
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4296
4307
  id: string;
4297
4308
  label: string;
4309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4298
4310
  capture: "at_action" | "historical_lookup" | "fixture";
4299
4311
  locator?: string | undefined;
4300
4312
  }[];
@@ -4302,12 +4314,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4302
4314
  decisionId: string;
4303
4315
  confidence?: number | undefined;
4304
4316
  } | {
4305
- kind: "conflict_detected";
4306
4317
  summary: string;
4318
+ kind: "conflict_detected";
4307
4319
  evidence: {
4308
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4309
4320
  id: string;
4310
4321
  label: string;
4322
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4311
4323
  capture: "at_action" | "historical_lookup" | "fixture";
4312
4324
  locator?: string | undefined;
4313
4325
  }[];
@@ -4315,14 +4327,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4315
4327
  decisionIds: string[];
4316
4328
  agentIds: string[];
4317
4329
  } | {
4318
- kind: "test_result";
4319
4330
  summary: string;
4320
4331
  status: "error" | "failed" | "passed";
4332
+ kind: "test_result";
4321
4333
  command: string;
4322
4334
  evidence: {
4323
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4324
4335
  id: string;
4325
4336
  label: string;
4337
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4326
4338
  capture: "at_action" | "historical_lookup" | "fixture";
4327
4339
  locator?: string | undefined;
4328
4340
  }[];
@@ -4335,9 +4347,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4335
4347
  rationale: string;
4336
4348
  statement: string;
4337
4349
  evidence: {
4338
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4339
4350
  id: string;
4340
4351
  label: string;
4352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4341
4353
  capture: "at_action" | "historical_lookup" | "fixture";
4342
4354
  locator?: string | undefined;
4343
4355
  }[];
@@ -4349,25 +4361,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4349
4361
  } | {
4350
4362
  kind: "correction_approved";
4351
4363
  evidence: {
4352
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4353
4364
  id: string;
4354
4365
  label: string;
4366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4355
4367
  capture: "at_action" | "historical_lookup" | "fixture";
4356
4368
  locator?: string | undefined;
4357
4369
  }[];
4358
4370
  correctionId: string;
4359
4371
  approvedBy: {
4360
- kind: "agent" | "human";
4361
4372
  id: string;
4362
4373
  label: string;
4374
+ kind: "agent" | "human";
4363
4375
  };
4364
4376
  note?: string | undefined;
4365
4377
  } | {
4366
4378
  kind: "decision_superseded";
4367
4379
  evidence: {
4368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4369
4380
  id: string;
4370
4381
  label: string;
4382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4383
  capture: "at_action" | "historical_lookup" | "fixture";
4372
4384
  locator?: string | undefined;
4373
4385
  }[];
@@ -4380,9 +4392,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4380
4392
  agentId: string;
4381
4393
  sessionId: string;
4382
4394
  evidence: {
4383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
4395
  id: string;
4385
4396
  label: string;
4397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
4398
  capture: "at_action" | "historical_lookup" | "fixture";
4387
4399
  locator?: string | undefined;
4388
4400
  }[];
@@ -4394,9 +4406,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4394
4406
  agentId: string;
4395
4407
  sessionId: string;
4396
4408
  evidence: {
4397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
4409
  id: string;
4399
4410
  label: string;
4411
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4400
4412
  capture: "at_action" | "historical_lookup" | "fixture";
4401
4413
  locator?: string | undefined;
4402
4414
  }[];
@@ -4405,24 +4417,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4405
4417
  recallReceiptId: string;
4406
4418
  staleDecisionAbsent: boolean;
4407
4419
  } | {
4408
- kind: "mission_completed";
4409
4420
  summary: string;
4421
+ kind: "mission_completed";
4410
4422
  outcome: "failed" | "recovered" | "inconclusive";
4411
4423
  evidence: {
4412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
4424
  id: string;
4414
4425
  label: string;
4426
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4415
4427
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4428
  locator?: string | undefined;
4417
4429
  }[];
4418
4430
  };
4419
- namespace: string;
4420
4431
  eventId: string;
4421
4432
  occurredAt: string;
4422
4433
  missionId: string;
4423
4434
  authenticatedPrincipal?: string | undefined;
4424
4435
  idempotencyKey?: string | undefined;
4425
4436
  }, {
4437
+ namespace: string;
4426
4438
  recordedAt: string;
4427
4439
  schemaVersion: "1";
4428
4440
  payload: {
@@ -4431,37 +4443,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4431
4443
  objective: string;
4432
4444
  runMode: "replay" | "fixture" | "live";
4433
4445
  evidence?: {
4434
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4435
4446
  id: string;
4436
4447
  label: string;
4448
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4437
4449
  capture: "at_action" | "historical_lookup" | "fixture";
4438
4450
  locator?: string | undefined;
4439
4451
  }[] | undefined;
4440
4452
  } | {
4441
- kind: "agent_status";
4453
+ label: string;
4442
4454
  status: "failed" | "complete" | "blocked" | "working" | "idle";
4455
+ kind: "agent_status";
4443
4456
  role: string;
4444
- label: string;
4445
4457
  agentId: string;
4446
4458
  sessionId: string;
4447
4459
  detail?: string | undefined;
4448
4460
  evidence?: {
4449
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4450
4461
  id: string;
4451
4462
  label: string;
4463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4452
4464
  capture: "at_action" | "historical_lookup" | "fixture";
4453
4465
  locator?: string | undefined;
4454
4466
  }[] | undefined;
4455
4467
  } | {
4456
- kind: "agent_output";
4457
4468
  summary: string;
4469
+ kind: "agent_output";
4458
4470
  agentId: string;
4459
4471
  sessionId: string;
4460
4472
  outputId: string;
4461
4473
  evidence?: {
4462
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4463
4474
  id: string;
4464
4475
  label: string;
4476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4465
4477
  capture: "at_action" | "historical_lookup" | "fixture";
4466
4478
  locator?: string | undefined;
4467
4479
  }[] | undefined;
@@ -4474,37 +4486,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4474
4486
  decisionId: string;
4475
4487
  confidence?: number | undefined;
4476
4488
  evidence?: {
4477
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4478
4489
  id: string;
4479
4490
  label: string;
4491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4480
4492
  capture: "at_action" | "historical_lookup" | "fixture";
4481
4493
  locator?: string | undefined;
4482
4494
  }[] | undefined;
4483
4495
  } | {
4484
- kind: "conflict_detected";
4485
4496
  summary: string;
4497
+ kind: "conflict_detected";
4486
4498
  conflictId: string;
4487
4499
  decisionIds: string[];
4488
4500
  agentIds: string[];
4489
4501
  evidence?: {
4490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4491
4502
  id: string;
4492
4503
  label: string;
4504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4493
4505
  capture: "at_action" | "historical_lookup" | "fixture";
4494
4506
  locator?: string | undefined;
4495
4507
  }[] | undefined;
4496
4508
  } | {
4497
- kind: "test_result";
4498
4509
  summary: string;
4499
4510
  status: "error" | "failed" | "passed";
4511
+ kind: "test_result";
4500
4512
  command: string;
4501
4513
  decisionId: string;
4502
4514
  testId: string;
4503
4515
  durationMs?: number | undefined;
4504
4516
  evidence?: {
4505
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4506
4517
  id: string;
4507
4518
  label: string;
4519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4508
4520
  capture: "at_action" | "historical_lookup" | "fixture";
4509
4521
  locator?: string | undefined;
4510
4522
  }[] | undefined;
@@ -4519,9 +4531,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4519
4531
  supersedesDecisionIds: string[];
4520
4532
  proposedBy: string;
4521
4533
  evidence?: {
4522
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4523
4534
  id: string;
4524
4535
  label: string;
4536
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
4537
  capture: "at_action" | "historical_lookup" | "fixture";
4526
4538
  locator?: string | undefined;
4527
4539
  }[] | undefined;
@@ -4529,15 +4541,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4529
4541
  kind: "correction_approved";
4530
4542
  correctionId: string;
4531
4543
  approvedBy: {
4532
- kind: "agent" | "human";
4533
4544
  id: string;
4534
4545
  label: string;
4546
+ kind: "agent" | "human";
4535
4547
  };
4536
4548
  note?: string | undefined;
4537
4549
  evidence?: {
4538
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4539
4550
  id: string;
4540
4551
  label: string;
4552
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4541
4553
  capture: "at_action" | "historical_lookup" | "fixture";
4542
4554
  locator?: string | undefined;
4543
4555
  }[] | undefined;
@@ -4547,9 +4559,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4547
4559
  correctionId: string;
4548
4560
  replacementDecisionId: string;
4549
4561
  evidence?: {
4550
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4551
4562
  id: string;
4552
4563
  label: string;
4564
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
4565
  capture: "at_action" | "historical_lookup" | "fixture";
4554
4566
  locator?: string | undefined;
4555
4567
  }[] | undefined;
@@ -4562,9 +4574,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4562
4574
  recallReceiptId: string;
4563
4575
  capturedAtAction: boolean;
4564
4576
  evidence?: {
4565
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
4577
  id: string;
4567
4578
  label: string;
4579
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
4580
  capture: "at_action" | "historical_lookup" | "fixture";
4569
4581
  locator?: string | undefined;
4570
4582
  }[] | undefined;
@@ -4577,25 +4589,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4577
4589
  recallReceiptId: string;
4578
4590
  staleDecisionAbsent: boolean;
4579
4591
  evidence?: {
4580
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
4592
  id: string;
4582
4593
  label: string;
4594
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
4595
  capture: "at_action" | "historical_lookup" | "fixture";
4584
4596
  locator?: string | undefined;
4585
4597
  }[] | undefined;
4586
4598
  } | {
4587
- kind: "mission_completed";
4588
4599
  summary: string;
4600
+ kind: "mission_completed";
4589
4601
  outcome: "failed" | "recovered" | "inconclusive";
4590
4602
  evidence?: {
4591
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4592
4603
  id: string;
4593
4604
  label: string;
4605
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4594
4606
  capture: "at_action" | "historical_lookup" | "fixture";
4595
4607
  locator?: string | undefined;
4596
4608
  }[] | undefined;
4597
4609
  };
4598
- namespace: string;
4599
4610
  eventId: string;
4600
4611
  occurredAt: string;
4601
4612
  missionId: string;
@@ -4873,22 +4884,20 @@ interface GitContext {
4873
4884
  */
4874
4885
  defaultBranch: string | null;
4875
4886
  }
4887
+ interface GitInvokeOptions {
4888
+ abortSignal?: AbortSignal;
4889
+ timeoutMs?: number;
4890
+ }
4891
+ interface GitInvokeResult {
4892
+ stdout: string;
4893
+ exitCode: number;
4894
+ }
4876
4895
  /**
4877
- * Injectable git-invocation surface. Only the commands `resolveGitContext`
4878
- * actually needs are exposed. Tests inject a mock implementation to avoid
4879
- * spawning a real git process.
4896
+ * Run `git <args>` with `cwd` as the working directory. Implementations
4897
+ * should return non-zero exit codes rather than throwing for command failure.
4880
4898
  */
4881
4899
  interface GitInvoker {
4882
- /**
4883
- * Run `git <args>` with `cwd` as the working directory. Must return
4884
- * `{ stdout, exitCode }` with `stdout` trimmed by the caller as needed.
4885
- * Implementations should NOT throw for non-zero exit codes — they should
4886
- * return the exit code so the resolver can decide how to recover.
4887
- */
4888
- (cwd: string, args: string[]): {
4889
- stdout: string;
4890
- exitCode: number;
4891
- };
4900
+ (cwd: string, args: string[], options?: GitInvokeOptions): GitInvokeResult | Promise<GitInvokeResult>;
4892
4901
  }
4893
4902
  /**
4894
4903
  * Non-cryptographic stable hash. Used only to derive a deterministic
@@ -4916,16 +4925,20 @@ declare function normalizeOriginUrl(rawUrl: string): string;
4916
4925
  interface ResolveGitContextOptions {
4917
4926
  /** Inject a git invoker (tests). Defaults to spawning real `git`. */
4918
4927
  invoker?: GitInvoker;
4928
+ abortSignal?: AbortSignal;
4929
+ /** Absolute epoch deadline shared with the extraction lifecycle. */
4930
+ deadlineMs?: number;
4931
+ /** Injectable clock for deadline tests. */
4932
+ now?: () => number;
4919
4933
  }
4920
4934
  /**
4921
4935
  * Detect the git project + branch for `cwd`.
4922
4936
  *
4923
- * Returns `null` when:
4924
- * - `cwd` is not an absolute path (invalid input, CLAUDE.md #51)
4925
- * - `cwd` is not inside a git worktree
4926
- * - `git` is not available on PATH
4937
+ * Returns `null` when `cwd` is invalid, outside a worktree, or git is
4938
+ * unavailable. Unexpected command failures also resolve to `null`.
4927
4939
  *
4928
- * Never throws.
4940
+ * Caller cancellation and an exhausted deadline reject so lifecycle callers
4941
+ * can stop promptly instead of treating an interrupted probe as "not a repo".
4929
4942
  */
4930
4943
  declare function resolveGitContext(cwd: string, options?: ResolveGitContextOptions): Promise<GitContext | null>;
4931
4944
 
@@ -6100,23 +6113,23 @@ declare function pushToSpace(sourceSpaceId: string, targetSpaceId: string, optio
6100
6113
  memoryIds?: string[];
6101
6114
  force?: boolean;
6102
6115
  baseDir?: string;
6103
- }): SpacePushResult;
6116
+ }): Promise<SpacePushResult>;
6104
6117
  declare function pullFromSpace(sourceSpaceId: string, targetSpaceId: string, options?: {
6105
6118
  memoryIds?: string[];
6106
6119
  force?: boolean;
6107
6120
  baseDir?: string;
6108
- }): SpacePullResult;
6121
+ }): Promise<SpacePullResult>;
6109
6122
  declare function shareSpace(spaceId: string, members: string[], baseDir?: string): SpaceShareResult;
6110
6123
  declare function promoteSpace(sourceSpaceId: string, targetSpaceId: string, options?: {
6111
6124
  memoryIds?: string[];
6112
6125
  force?: boolean;
6113
6126
  forceOverwrite?: boolean;
6114
6127
  baseDir?: string;
6115
- }): SpacePromoteResult;
6128
+ }): Promise<SpacePromoteResult>;
6116
6129
  declare function mergeSpaces(sourceSpaceId: string, targetSpaceId: string, options?: {
6117
6130
  force?: boolean;
6118
6131
  baseDir?: string;
6119
- }): MergeResult;
6132
+ }): Promise<MergeResult>;
6120
6133
  declare function getAuditLog(baseDir?: string): AuditEntry[];
6121
6134
 
6122
6135
  /**
@@ -7833,4 +7846,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
7833
7846
  */
7834
7847
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
7835
7848
 
7836
- export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, writeManifest, writeMeetingEpisodeMemory };
7849
+ export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, withRawEntityPageMutation, writeManifest, writeMeetingEpisodeMemory };