@remnic/core 9.45.2 → 9.45.4

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