@remnic/core 9.69.23 → 9.69.24

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 (440) hide show
  1. package/dist/abstraction-nodes.js +3 -2
  2. package/dist/access-admin-ops-surface.d.ts +1 -1
  3. package/dist/access-admin-ops-surface.js +53 -53
  4. package/dist/access-authorization-probe.d.ts +1 -1
  5. package/dist/access-authorization-probe.js +54 -54
  6. package/dist/access-boundary.d.ts +1 -1
  7. package/dist/access-boundary.js +53 -53
  8. package/dist/access-citation-namespace.js +3 -3
  9. package/dist/access-cli.js +112 -112
  10. package/dist/access-extraction-force-flush.d.ts +1 -1
  11. package/dist/access-extraction-force-flush.js +53 -53
  12. package/dist/access-http-briefing.d.ts +1 -1
  13. package/dist/access-http-briefing.js +54 -54
  14. package/dist/access-http-lcm-compaction.d.ts +1 -1
  15. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  16. package/dist/access-http-offline-stream.d.ts +1 -1
  17. package/dist/access-http-query.js +55 -55
  18. package/dist/access-http.d.ts +2 -2
  19. package/dist/access-http.js +72 -72
  20. package/dist/access-identity-continuity-surface.js +53 -53
  21. package/dist/access-lcm-surface.d.ts +1 -1
  22. package/dist/access-lcm-surface.js +53 -53
  23. package/dist/access-mcp.d.ts +1 -1
  24. package/dist/access-mcp.js +64 -64
  25. package/dist/access-namespace-preflight.js +53 -53
  26. package/dist/access-observe-write-surface.d.ts +1 -1
  27. package/dist/access-observe-write-surface.js +53 -53
  28. package/dist/access-offline-manifest.js +10 -10
  29. package/dist/access-operations-batch.js +58 -58
  30. package/dist/access-operations.d.ts +6 -6
  31. package/dist/access-operations.js +63 -63
  32. package/dist/access-recall-concurrency.d.ts +1 -1
  33. package/dist/access-recall-concurrency.js +53 -53
  34. package/dist/access-recall-response.d.ts +1 -1
  35. package/dist/access-recall-response.js +53 -53
  36. package/dist/access-recall-surface.d.ts +1 -1
  37. package/dist/access-recall-surface.js +53 -53
  38. package/dist/access-schema.d.ts +91 -91
  39. package/dist/access-schema.js +6 -5
  40. package/dist/access-service-helpers.d.ts +1 -1
  41. package/dist/access-service.d.ts +1 -1
  42. package/dist/access-service.js +53 -53
  43. package/dist/access-surface-catalog.d.ts +1 -1
  44. package/dist/access-surface-catalog.js +55 -55
  45. package/dist/active-recall.js +12 -11
  46. package/dist/active-recall.js.map +1 -1
  47. package/dist/{auto-sync-TTIEWJ5X.js → auto-sync-WNGG2GC2.js} +7 -7
  48. package/dist/briefing.js +20 -20
  49. package/dist/buffer.js +9 -9
  50. package/dist/calibration.js +2 -1
  51. package/dist/calibration.js.map +1 -1
  52. package/dist/{capsule-merge-CU6QJBSV.js → capsule-merge-IPG4IOFP.js} +4 -4
  53. package/dist/causal-behavior.js +4 -3
  54. package/dist/causal-behavior.js.map +1 -1
  55. package/dist/causal-chain.js +4 -3
  56. package/dist/causal-consolidation.js +25 -25
  57. package/dist/causal-retrieval.js +4 -3
  58. package/dist/causal-retrieval.js.map +1 -1
  59. package/dist/causal-trajectory-graph.js +2 -1
  60. package/dist/causal-trajectory-graph.js.map +1 -1
  61. package/dist/causal-trajectory.js +3 -2
  62. package/dist/{chunk-5RWHODVF.js → chunk-27QVNSQ3.js} +2 -2
  63. package/dist/{chunk-2MX7RU7B.js → chunk-2EKJDQZB.js} +2 -2
  64. package/dist/{chunk-XLRM6PPI.js → chunk-2IOHTUP3.js} +4 -4
  65. package/dist/{chunk-ZGQDTD5T.js → chunk-2ITE4C2Z.js} +2 -2
  66. package/dist/{chunk-O5ZR7SXV.js → chunk-2SGLMP2E.js} +2 -2
  67. package/dist/{chunk-FYWLSFFS.js → chunk-2Z4GS5E6.js} +2 -2
  68. package/dist/{chunk-WELP4CG6.js → chunk-37KUQPX4.js} +6 -6
  69. package/dist/{chunk-DDQQY2E3.js → chunk-3BTFBQLO.js} +7 -7
  70. package/dist/chunk-3BTFBQLO.js.map +1 -0
  71. package/dist/{chunk-UR6PBX2J.js → chunk-3K7V3HE6.js} +35 -60
  72. package/dist/chunk-3K7V3HE6.js.map +1 -0
  73. package/dist/{chunk-MRSLR6TB.js → chunk-3QQTXYZ6.js} +2 -2
  74. package/dist/{chunk-DJUKBGAD.js → chunk-46EST7JO.js} +5 -5
  75. package/dist/chunk-46EST7JO.js.map +1 -0
  76. package/dist/{chunk-CI6C33EO.js → chunk-46ZPIGWI.js} +3 -3
  77. package/dist/{chunk-HTIIXNJQ.js → chunk-4FIH6MPS.js} +6 -3
  78. package/dist/chunk-4FIH6MPS.js.map +1 -0
  79. package/dist/{chunk-MCA2X4WH.js → chunk-4IHBN6WU.js} +2 -2
  80. package/dist/{chunk-W7IGLX4G.js → chunk-4O6WRBGE.js} +7 -7
  81. package/dist/chunk-4O6WRBGE.js.map +1 -0
  82. package/dist/{chunk-TOZCM7WN.js → chunk-4TKJGOCJ.js} +2 -2
  83. package/dist/{chunk-3ADRFFRO.js → chunk-54WHLA65.js} +4 -4
  84. package/dist/{chunk-Z2N2AHEM.js → chunk-56Y6EKZN.js} +2 -2
  85. package/dist/{chunk-2H2N5UQW.js → chunk-5ATKSPEQ.js} +2 -2
  86. package/dist/{chunk-MSOXFXCA.js → chunk-5FAGCOZD.js} +5 -5
  87. package/dist/chunk-5FAGCOZD.js.map +1 -0
  88. package/dist/{chunk-ZVZHG7AI.js → chunk-5UBH37SL.js} +3 -3
  89. package/dist/{chunk-YZYZ2BEU.js → chunk-66OJSCI6.js} +2 -2
  90. package/dist/{chunk-HNPE66LB.js → chunk-6CVNSDCZ.js} +4 -4
  91. package/dist/{chunk-ERVJFFTR.js → chunk-6NXSYYGP.js} +2 -2
  92. package/dist/{chunk-2HIJHXB3.js → chunk-6WHJ2EAB.js} +2 -2
  93. package/dist/{chunk-34VTBPNE.js → chunk-6XL73HQ4.js} +4 -4
  94. package/dist/{chunk-YK3UIF7X.js → chunk-AQ7SYDVO.js} +2 -2
  95. package/dist/{chunk-DSCCM66R.js → chunk-B3O3IRZN.js} +2 -2
  96. package/dist/{chunk-P77QX3ID.js → chunk-B6O2YLUR.js} +21 -20
  97. package/dist/chunk-B6O2YLUR.js.map +1 -0
  98. package/dist/{chunk-N37X5RU7.js → chunk-BD7JTBYP.js} +2 -2
  99. package/dist/{chunk-VO43BJ2F.js → chunk-BLJWYCNO.js} +5 -5
  100. package/dist/{chunk-ACPCA4NO.js → chunk-BMWN7B3Y.js} +6 -6
  101. package/dist/chunk-BMWN7B3Y.js.map +1 -0
  102. package/dist/{chunk-HSKSVY3Q.js → chunk-C553ZTLF.js} +15 -15
  103. package/dist/{chunk-GCASGYIO.js → chunk-C7HJ3NEI.js} +2 -2
  104. package/dist/{chunk-WVGXCBOC.js → chunk-D5F7TKMH.js} +2 -2
  105. package/dist/{chunk-UFT2XNBW.js → chunk-DGS34QSY.js} +2 -2
  106. package/dist/{chunk-VAOL3SOT.js → chunk-DZD3WGCD.js} +4 -4
  107. package/dist/{chunk-KHMS2FQS.js → chunk-E2P7TZTF.js} +2 -2
  108. package/dist/{chunk-6FC3IZ26.js → chunk-EBA5DA77.js} +2 -2
  109. package/dist/{chunk-E6EANYLD.js → chunk-EOQ6FSQP.js} +2 -2
  110. package/dist/{chunk-7RPPCA26.js → chunk-FVOP3NT7.js} +2 -2
  111. package/dist/{chunk-NRLELHAY.js → chunk-G7NYVKD6.js} +2 -2
  112. package/dist/{chunk-QY34X2QJ.js → chunk-GHTSNGBZ.js} +2 -2
  113. package/dist/{chunk-SLIOMMPF.js → chunk-H272ZPQ3.js} +5 -5
  114. package/dist/{chunk-ZZBQNQS6.js → chunk-H3TKENU4.js} +2 -2
  115. package/dist/{chunk-5OPNUUBX.js → chunk-H4SEGIZY.js} +2 -2
  116. package/dist/{chunk-F2HMDGLC.js → chunk-H54VWRPS.js} +13 -13
  117. package/dist/{chunk-HTP6XRUI.js → chunk-HM7RHKS4.js} +2 -2
  118. package/dist/{chunk-O7H3P2SJ.js → chunk-HWLIMQE2.js} +2 -2
  119. package/dist/{chunk-62WZDHTW.js → chunk-ICKJ52PE.js} +33 -33
  120. package/dist/chunk-ICKJ52PE.js.map +1 -0
  121. package/dist/{chunk-I3FDDCY3.js → chunk-JEC4DVM3.js} +8 -8
  122. package/dist/chunk-JEC4DVM3.js.map +1 -0
  123. package/dist/{chunk-ET2CNMLD.js → chunk-JN72EPOE.js} +2 -2
  124. package/dist/{chunk-E7UQOS4C.js → chunk-JPKK466T.js} +2 -2
  125. package/dist/{chunk-JCCWJHOP.js → chunk-JYZSRNR7.js} +2 -2
  126. package/dist/{chunk-7IUESBLV.js → chunk-K7724CH2.js} +2 -2
  127. package/dist/{chunk-UK7HXNNJ.js → chunk-KAXCYM66.js} +3 -3
  128. package/dist/{chunk-7XVP4P4O.js → chunk-KB2G2I6Q.js} +3 -3
  129. package/dist/{chunk-K7LTRJZU.js → chunk-KEF46KL2.js} +2 -2
  130. package/dist/{chunk-5UZXUTVO.js → chunk-KNA3BXXL.js} +6 -2
  131. package/dist/chunk-KNA3BXXL.js.map +1 -0
  132. package/dist/{chunk-JYYTWCPU.js → chunk-KTWG7CNY.js} +6 -6
  133. package/dist/{chunk-XTYDEO7M.js → chunk-L7Z57SID.js} +2 -2
  134. package/dist/{chunk-EYMPUXAN.js → chunk-LO4UKPKX.js} +3 -3
  135. package/dist/{chunk-LDWIPYJ6.js → chunk-LS2FHUML.js} +3 -3
  136. package/dist/{chunk-GDB4J2H3.js → chunk-MPC7TYTZ.js} +2 -2
  137. package/dist/{chunk-2GF27PGH.js → chunk-MRPOZBJC.js} +3 -3
  138. package/dist/{chunk-7OLKAQMG.js → chunk-MWN6QEI2.js} +2 -2
  139. package/dist/{chunk-J62HG52Z.js → chunk-MY5EDR46.js} +4 -4
  140. package/dist/{chunk-IZRMWPGS.js → chunk-N3ZOP7KC.js} +2 -2
  141. package/dist/{chunk-N6A2RP5S.js → chunk-NB3LRY4T.js} +3 -3
  142. package/dist/{chunk-4N5BIR2U.js → chunk-ND6IQGSZ.js} +2 -2
  143. package/dist/{chunk-NOB2T2FC.js → chunk-NHLLKEKK.js} +2 -2
  144. package/dist/{chunk-WW6B7NQJ.js → chunk-NLYVH66G.js} +6 -6
  145. package/dist/chunk-NLYVH66G.js.map +1 -0
  146. package/dist/{chunk-M5CQNOQN.js → chunk-O6ZNNVSP.js} +2 -2
  147. package/dist/{chunk-NNBZS3DY.js → chunk-OB3XMWX5.js} +2 -2
  148. package/dist/{chunk-TXJNRGMI.js → chunk-OEYZXDQI.js} +6 -6
  149. package/dist/chunk-OEYZXDQI.js.map +1 -0
  150. package/dist/{chunk-SIBVIP2Y.js → chunk-PAZY2ZKP.js} +2 -2
  151. package/dist/{chunk-LXESHEBP.js → chunk-PX4UMA5Z.js} +2 -2
  152. package/dist/{chunk-4KNRKJXQ.js → chunk-QOOBICJF.js} +5 -5
  153. package/dist/chunk-QOOBICJF.js.map +1 -0
  154. package/dist/{chunk-NNZFPYYX.js → chunk-R7QY5ZVB.js} +2 -2
  155. package/dist/{chunk-WTRTFIIN.js → chunk-R7RTXEYG.js} +2 -2
  156. package/dist/{chunk-XRBJ5R3P.js → chunk-RBCQVOVJ.js} +3 -3
  157. package/dist/{chunk-WFZNT4KB.js → chunk-RC5DXXWC.js} +2 -2
  158. package/dist/{chunk-OH7LZHGJ.js → chunk-RJYJ7KR7.js} +52 -52
  159. package/dist/{chunk-OH7LZHGJ.js.map → chunk-RJYJ7KR7.js.map} +1 -1
  160. package/dist/{chunk-5QZR2RA3.js → chunk-ROBHL3GL.js} +2 -2
  161. package/dist/{chunk-6PST2SFW.js → chunk-SCXURCVT.js} +3 -3
  162. package/dist/{chunk-AYG7ML7O.js → chunk-SJDQ5RSN.js} +3 -3
  163. package/dist/{chunk-3ZBLKIHJ.js → chunk-SMWTZLHE.js} +51 -41
  164. package/dist/{chunk-3ZBLKIHJ.js.map → chunk-SMWTZLHE.js.map} +1 -1
  165. package/dist/{chunk-IQXDSKTL.js → chunk-SVXJLDDC.js} +6 -6
  166. package/dist/{chunk-SEF4IOFE.js → chunk-SWIKABKI.js} +2 -2
  167. package/dist/{chunk-ZJABRLCZ.js → chunk-TBXAY2SS.js} +4 -4
  168. package/dist/{chunk-GIC6BASP.js → chunk-TNSCIPBQ.js} +2 -2
  169. package/dist/{chunk-ZMDMHSV2.js → chunk-TVEONGBU.js} +2 -2
  170. package/dist/{chunk-4FSEZRGK.js → chunk-TWF35IC6.js} +2 -2
  171. package/dist/{chunk-LS2SGMQE.js → chunk-U6N5IBVY.js} +2 -2
  172. package/dist/{chunk-62YW6OYI.js → chunk-UCKYTA2T.js} +3 -3
  173. package/dist/{chunk-YFCHNOGJ.js → chunk-UNNPNBR2.js} +9 -9
  174. package/dist/{chunk-Z2M7F4QM.js → chunk-VVX5PZFS.js} +3 -3
  175. package/dist/{chunk-NTYLZXDX.js → chunk-VYCOJKSX.js} +2 -2
  176. package/dist/{chunk-UICSQESY.js → chunk-W24T5YMW.js} +2 -2
  177. package/dist/{chunk-HDQUQBPW.js → chunk-W3K3HITK.js} +2 -2
  178. package/dist/{chunk-GDASG7NC.js → chunk-W4F3C7N7.js} +2 -2
  179. package/dist/{chunk-YBLZFNIQ.js → chunk-WJHGDE7X.js} +2 -2
  180. package/dist/{chunk-ZBPXG5PJ.js → chunk-WMLEPWMO.js} +9 -9
  181. package/dist/chunk-WMLEPWMO.js.map +1 -0
  182. package/dist/{chunk-4F24PHNX.js → chunk-WQZZDN5M.js} +2 -2
  183. package/dist/{chunk-CDZEUCV7.js → chunk-X5K5TAQZ.js} +4 -4
  184. package/dist/{chunk-5AUODSOQ.js → chunk-XM24CDZX.js} +3 -3
  185. package/dist/{chunk-6VML2LII.js → chunk-XOVKXJEP.js} +3 -3
  186. package/dist/{chunk-OU5TIWDQ.js → chunk-XSGUMQQQ.js} +12 -12
  187. package/dist/{chunk-7CFVBWDC.js → chunk-XUE46UYW.js} +3 -3
  188. package/dist/{chunk-DJORULH3.js → chunk-YRLHEEQT.js} +2 -2
  189. package/dist/{chunk-YRWDPE32.js → chunk-Z3O53WZR.js} +2 -2
  190. package/dist/{chunk-CSY5DA7O.js → chunk-Z6COGHHN.js} +2 -2
  191. package/dist/{chunk-OYR3IPHD.js → chunk-ZIW5JVRM.js} +2 -2
  192. package/dist/{cli-B_YwqoIr.d.ts → cli-DD0P-lu8.d.ts} +1 -1
  193. package/dist/cli.d.ts +2 -2
  194. package/dist/cli.js +94 -94
  195. package/dist/coding/export-okf-codegraph.js +21 -21
  196. package/dist/coding/pre-action-gate.js +4 -3
  197. package/dist/commitment-ledger.js +3 -2
  198. package/dist/compounding/engine.js +21 -21
  199. package/dist/config.js +12 -11
  200. package/dist/connectors/codex-materialize-runner.js +21 -21
  201. package/dist/connectors/codex-materialize.js +3 -3
  202. package/dist/connectors/index.js +21 -21
  203. package/dist/consolidation-provenance-check.js +4 -4
  204. package/dist/consolidation-undo.js +3 -3
  205. package/dist/contradiction/index.js +7 -7
  206. package/dist/convergence-refresh.js +22 -22
  207. package/dist/corpus-watermark.js +22 -22
  208. package/dist/cue-anchors.js +4 -3
  209. package/dist/deep-recall-http-glue.d.ts +1 -1
  210. package/dist/deep-recall-http-glue.js +7 -6
  211. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  212. package/dist/entity-retrieval.js +20 -20
  213. package/dist/eval-trajectory-store.js +4 -3
  214. package/dist/eval-trajectory.js +4 -3
  215. package/dist/evals.js +3 -2
  216. package/dist/explicit-capture.js +8 -8
  217. package/dist/external-wiki-access.d.ts +1 -1
  218. package/dist/external-wiki-access.js +54 -54
  219. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  220. package/dist/extraction.js +25 -25
  221. package/dist/{first-start-migration-KHIMCBIC.js → first-start-migration-RC345GPL.js} +6 -5
  222. package/dist/{first-start-migration-KHIMCBIC.js.map → first-start-migration-RC345GPL.js.map} +1 -1
  223. package/dist/{graph-edge-decay-CJW4OT2X.js → graph-edge-decay-MKIRZ762.js} +5 -4
  224. package/dist/graph-jsonl.js +3 -2
  225. package/dist/graph-snapshot.js +3 -2
  226. package/dist/graph.js +2 -1
  227. package/dist/harmonic-construction.js +5 -4
  228. package/dist/harmonic-retrieval.js +5 -4
  229. package/dist/index.d.ts +693 -681
  230. package/dist/index.js +114 -112
  231. package/dist/json-store.js +2 -1
  232. package/dist/live-connectors-runner.js +3 -2
  233. package/dist/location/index.js +23 -23
  234. package/dist/maintenance/memory-governance.js +20 -20
  235. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +20 -20
  236. package/dist/maintenance/rebuild-memory-projection.js +21 -21
  237. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  238. package/dist/memory-projection-mutations.js +3 -3
  239. package/dist/memory-subject-cli.d.ts +1 -1
  240. package/dist/memory-subject.d.ts +1 -1
  241. package/dist/memory-subject.js +4 -4
  242. package/dist/namespaces/migrate.js +21 -21
  243. package/dist/namespaces/search.js +8 -8
  244. package/dist/namespaces/storage.js +20 -20
  245. package/dist/objective-state-writers.js +4 -3
  246. package/dist/objective-state.js +3 -2
  247. package/dist/offline-sync-file-io.js +4 -3
  248. package/dist/offline-sync-impression-drain.js +5 -5
  249. package/dist/offline-sync.js +5 -4
  250. package/dist/operator-doctor-corpus.js +23 -23
  251. package/dist/operator-toolkit.js +38 -38
  252. package/dist/orchestration/maintenance.js +29 -29
  253. package/dist/orchestrator.js +112 -112
  254. package/dist/page-versioning.js +3 -3
  255. package/dist/{public-http-D6d4W8x-.d.ts → public-http-C4i8Opxc.d.ts} +1 -1
  256. package/dist/{purge-OP6BEDFY.js → purge-TZKRE6ZQ.js} +5 -5
  257. package/dist/purge-TZKRE6ZQ.js.map +1 -0
  258. package/dist/recall-state.js +3 -3
  259. package/dist/reconcile/manifest.js +4 -4
  260. package/dist/{resolution-U5O4QANY.js → resolution-VKATP2HT.js} +8 -8
  261. package/dist/resume-bundles.js +16 -15
  262. package/dist/salvage-envelope.js +6 -6
  263. package/dist/schemas.d.ts +176 -176
  264. package/dist/search/document-scanner.js +3 -3
  265. package/dist/search/factory.js +7 -7
  266. package/dist/search/index.js +7 -7
  267. package/dist/search/lancedb-backend.js +4 -4
  268. package/dist/search/meilisearch-backend.js +4 -4
  269. package/dist/search/orama-backend.js +4 -4
  270. package/dist/secure-store/index.js +3 -3
  271. package/dist/semantic-consolidation.js +22 -22
  272. package/dist/semantic-rule-promotion.js +20 -20
  273. package/dist/semantic-rule-verifier.js +20 -20
  274. package/dist/shared-context/manager.d.ts +6 -6
  275. package/dist/source-agent-qualifier.js +24 -24
  276. package/dist/standup/build.js +20 -20
  277. package/dist/storage.js +19 -19
  278. package/dist/subject-config.js +5 -5
  279. package/dist/support-passport/index.d.ts +4 -4
  280. package/dist/support-passport/index.js +56 -56
  281. package/dist/{tier-stats-2TOW3QNL.js → tier-stats-KA6OZX2C.js} +6 -5
  282. package/dist/{tier-stats-2TOW3QNL.js.map → tier-stats-KA6OZX2C.js.map} +1 -1
  283. package/dist/transfer/capsule-import.js +4 -4
  284. package/dist/transfer/export-okf.js +21 -21
  285. package/dist/transfer/types.d.ts +78 -78
  286. package/dist/trust-zones.js +3 -2
  287. package/dist/utility-learner.js +4 -3
  288. package/dist/utility-runtime.js +5 -4
  289. package/dist/utility-telemetry.js +3 -2
  290. package/dist/verified-recall.js +20 -20
  291. package/dist/who-knows-cli.d.ts +1 -1
  292. package/dist/who-knows-cli.js +21 -21
  293. package/dist/who-knows.d.ts +1 -1
  294. package/dist/who-knows.js +20 -20
  295. package/dist/work/board.js +3 -3
  296. package/dist/work/storage.js +2 -2
  297. package/dist/work-product-ledger.js +3 -2
  298. package/dist/write-envelope.js +5 -5
  299. package/package.json +2 -2
  300. package/src/abstraction-nodes.ts +1 -4
  301. package/src/binary-lifecycle/backend.ts +2 -1
  302. package/src/connectors/live/github.ts +10 -17
  303. package/src/connectors/live/gmail.ts +8 -19
  304. package/src/connectors/live/google-drive.ts +6 -13
  305. package/src/connectors/live/notion.ts +11 -21
  306. package/src/cue-anchors.ts +1 -6
  307. package/src/graph.ts +2 -4
  308. package/src/json-store.ts +17 -20
  309. package/src/live-connectors-runner.ts +2 -1
  310. package/src/location/store.ts +1 -4
  311. package/src/maintenance/purge.ts +2 -5
  312. package/src/maintenance/rebuild-memory-lifecycle-ledger.ts +3 -6
  313. package/src/maintenance/rebuild-memory-projection.ts +2 -5
  314. package/src/namespaces/catalog.ts +1 -9
  315. package/src/offline-sync-file-io.test.ts +39 -0
  316. package/src/offline-sync-file-io.ts +3 -7
  317. package/src/procedural/procedure-miner.ts +1 -9
  318. package/src/search/document-scanner.ts +3 -6
  319. package/src/semantic-rule-promotion.ts +1 -4
  320. package/src/utils/errno.test.ts +31 -0
  321. package/src/utils/errno.ts +5 -0
  322. package/src/wearables/index.ts +1 -0
  323. package/src/wearables/registry.ts +23 -0
  324. package/dist/chunk-4KNRKJXQ.js.map +0 -1
  325. package/dist/chunk-5UZXUTVO.js.map +0 -1
  326. package/dist/chunk-62WZDHTW.js.map +0 -1
  327. package/dist/chunk-ACPCA4NO.js.map +0 -1
  328. package/dist/chunk-DDQQY2E3.js.map +0 -1
  329. package/dist/chunk-DJUKBGAD.js.map +0 -1
  330. package/dist/chunk-HTIIXNJQ.js.map +0 -1
  331. package/dist/chunk-I3FDDCY3.js.map +0 -1
  332. package/dist/chunk-MSOXFXCA.js.map +0 -1
  333. package/dist/chunk-P77QX3ID.js.map +0 -1
  334. package/dist/chunk-TXJNRGMI.js.map +0 -1
  335. package/dist/chunk-UR6PBX2J.js.map +0 -1
  336. package/dist/chunk-W7IGLX4G.js.map +0 -1
  337. package/dist/chunk-WW6B7NQJ.js.map +0 -1
  338. package/dist/chunk-ZBPXG5PJ.js.map +0 -1
  339. package/dist/purge-OP6BEDFY.js.map +0 -1
  340. package/dist/{access-service-Cv8Rizo0.d.ts → access-service-DWdY9Mlk.d.ts} +64 -64
  341. /package/dist/{auto-sync-TTIEWJ5X.js.map → auto-sync-WNGG2GC2.js.map} +0 -0
  342. /package/dist/{capsule-merge-CU6QJBSV.js.map → capsule-merge-IPG4IOFP.js.map} +0 -0
  343. /package/dist/{chunk-5RWHODVF.js.map → chunk-27QVNSQ3.js.map} +0 -0
  344. /package/dist/{chunk-2MX7RU7B.js.map → chunk-2EKJDQZB.js.map} +0 -0
  345. /package/dist/{chunk-XLRM6PPI.js.map → chunk-2IOHTUP3.js.map} +0 -0
  346. /package/dist/{chunk-ZGQDTD5T.js.map → chunk-2ITE4C2Z.js.map} +0 -0
  347. /package/dist/{chunk-O5ZR7SXV.js.map → chunk-2SGLMP2E.js.map} +0 -0
  348. /package/dist/{chunk-FYWLSFFS.js.map → chunk-2Z4GS5E6.js.map} +0 -0
  349. /package/dist/{chunk-WELP4CG6.js.map → chunk-37KUQPX4.js.map} +0 -0
  350. /package/dist/{chunk-MRSLR6TB.js.map → chunk-3QQTXYZ6.js.map} +0 -0
  351. /package/dist/{chunk-CI6C33EO.js.map → chunk-46ZPIGWI.js.map} +0 -0
  352. /package/dist/{chunk-MCA2X4WH.js.map → chunk-4IHBN6WU.js.map} +0 -0
  353. /package/dist/{chunk-TOZCM7WN.js.map → chunk-4TKJGOCJ.js.map} +0 -0
  354. /package/dist/{chunk-3ADRFFRO.js.map → chunk-54WHLA65.js.map} +0 -0
  355. /package/dist/{chunk-Z2N2AHEM.js.map → chunk-56Y6EKZN.js.map} +0 -0
  356. /package/dist/{chunk-2H2N5UQW.js.map → chunk-5ATKSPEQ.js.map} +0 -0
  357. /package/dist/{chunk-ZVZHG7AI.js.map → chunk-5UBH37SL.js.map} +0 -0
  358. /package/dist/{chunk-YZYZ2BEU.js.map → chunk-66OJSCI6.js.map} +0 -0
  359. /package/dist/{chunk-HNPE66LB.js.map → chunk-6CVNSDCZ.js.map} +0 -0
  360. /package/dist/{chunk-ERVJFFTR.js.map → chunk-6NXSYYGP.js.map} +0 -0
  361. /package/dist/{chunk-2HIJHXB3.js.map → chunk-6WHJ2EAB.js.map} +0 -0
  362. /package/dist/{chunk-34VTBPNE.js.map → chunk-6XL73HQ4.js.map} +0 -0
  363. /package/dist/{chunk-YK3UIF7X.js.map → chunk-AQ7SYDVO.js.map} +0 -0
  364. /package/dist/{chunk-DSCCM66R.js.map → chunk-B3O3IRZN.js.map} +0 -0
  365. /package/dist/{chunk-N37X5RU7.js.map → chunk-BD7JTBYP.js.map} +0 -0
  366. /package/dist/{chunk-VO43BJ2F.js.map → chunk-BLJWYCNO.js.map} +0 -0
  367. /package/dist/{chunk-HSKSVY3Q.js.map → chunk-C553ZTLF.js.map} +0 -0
  368. /package/dist/{chunk-GCASGYIO.js.map → chunk-C7HJ3NEI.js.map} +0 -0
  369. /package/dist/{chunk-WVGXCBOC.js.map → chunk-D5F7TKMH.js.map} +0 -0
  370. /package/dist/{chunk-UFT2XNBW.js.map → chunk-DGS34QSY.js.map} +0 -0
  371. /package/dist/{chunk-VAOL3SOT.js.map → chunk-DZD3WGCD.js.map} +0 -0
  372. /package/dist/{chunk-KHMS2FQS.js.map → chunk-E2P7TZTF.js.map} +0 -0
  373. /package/dist/{chunk-6FC3IZ26.js.map → chunk-EBA5DA77.js.map} +0 -0
  374. /package/dist/{chunk-E6EANYLD.js.map → chunk-EOQ6FSQP.js.map} +0 -0
  375. /package/dist/{chunk-7RPPCA26.js.map → chunk-FVOP3NT7.js.map} +0 -0
  376. /package/dist/{chunk-NRLELHAY.js.map → chunk-G7NYVKD6.js.map} +0 -0
  377. /package/dist/{chunk-QY34X2QJ.js.map → chunk-GHTSNGBZ.js.map} +0 -0
  378. /package/dist/{chunk-SLIOMMPF.js.map → chunk-H272ZPQ3.js.map} +0 -0
  379. /package/dist/{chunk-ZZBQNQS6.js.map → chunk-H3TKENU4.js.map} +0 -0
  380. /package/dist/{chunk-5OPNUUBX.js.map → chunk-H4SEGIZY.js.map} +0 -0
  381. /package/dist/{chunk-F2HMDGLC.js.map → chunk-H54VWRPS.js.map} +0 -0
  382. /package/dist/{chunk-HTP6XRUI.js.map → chunk-HM7RHKS4.js.map} +0 -0
  383. /package/dist/{chunk-O7H3P2SJ.js.map → chunk-HWLIMQE2.js.map} +0 -0
  384. /package/dist/{chunk-ET2CNMLD.js.map → chunk-JN72EPOE.js.map} +0 -0
  385. /package/dist/{chunk-E7UQOS4C.js.map → chunk-JPKK466T.js.map} +0 -0
  386. /package/dist/{chunk-JCCWJHOP.js.map → chunk-JYZSRNR7.js.map} +0 -0
  387. /package/dist/{chunk-7IUESBLV.js.map → chunk-K7724CH2.js.map} +0 -0
  388. /package/dist/{chunk-UK7HXNNJ.js.map → chunk-KAXCYM66.js.map} +0 -0
  389. /package/dist/{chunk-7XVP4P4O.js.map → chunk-KB2G2I6Q.js.map} +0 -0
  390. /package/dist/{chunk-K7LTRJZU.js.map → chunk-KEF46KL2.js.map} +0 -0
  391. /package/dist/{chunk-JYYTWCPU.js.map → chunk-KTWG7CNY.js.map} +0 -0
  392. /package/dist/{chunk-XTYDEO7M.js.map → chunk-L7Z57SID.js.map} +0 -0
  393. /package/dist/{chunk-EYMPUXAN.js.map → chunk-LO4UKPKX.js.map} +0 -0
  394. /package/dist/{chunk-LDWIPYJ6.js.map → chunk-LS2FHUML.js.map} +0 -0
  395. /package/dist/{chunk-GDB4J2H3.js.map → chunk-MPC7TYTZ.js.map} +0 -0
  396. /package/dist/{chunk-2GF27PGH.js.map → chunk-MRPOZBJC.js.map} +0 -0
  397. /package/dist/{chunk-7OLKAQMG.js.map → chunk-MWN6QEI2.js.map} +0 -0
  398. /package/dist/{chunk-J62HG52Z.js.map → chunk-MY5EDR46.js.map} +0 -0
  399. /package/dist/{chunk-IZRMWPGS.js.map → chunk-N3ZOP7KC.js.map} +0 -0
  400. /package/dist/{chunk-N6A2RP5S.js.map → chunk-NB3LRY4T.js.map} +0 -0
  401. /package/dist/{chunk-4N5BIR2U.js.map → chunk-ND6IQGSZ.js.map} +0 -0
  402. /package/dist/{chunk-NOB2T2FC.js.map → chunk-NHLLKEKK.js.map} +0 -0
  403. /package/dist/{chunk-M5CQNOQN.js.map → chunk-O6ZNNVSP.js.map} +0 -0
  404. /package/dist/{chunk-NNBZS3DY.js.map → chunk-OB3XMWX5.js.map} +0 -0
  405. /package/dist/{chunk-SIBVIP2Y.js.map → chunk-PAZY2ZKP.js.map} +0 -0
  406. /package/dist/{chunk-LXESHEBP.js.map → chunk-PX4UMA5Z.js.map} +0 -0
  407. /package/dist/{chunk-NNZFPYYX.js.map → chunk-R7QY5ZVB.js.map} +0 -0
  408. /package/dist/{chunk-WTRTFIIN.js.map → chunk-R7RTXEYG.js.map} +0 -0
  409. /package/dist/{chunk-XRBJ5R3P.js.map → chunk-RBCQVOVJ.js.map} +0 -0
  410. /package/dist/{chunk-WFZNT4KB.js.map → chunk-RC5DXXWC.js.map} +0 -0
  411. /package/dist/{chunk-5QZR2RA3.js.map → chunk-ROBHL3GL.js.map} +0 -0
  412. /package/dist/{chunk-6PST2SFW.js.map → chunk-SCXURCVT.js.map} +0 -0
  413. /package/dist/{chunk-AYG7ML7O.js.map → chunk-SJDQ5RSN.js.map} +0 -0
  414. /package/dist/{chunk-IQXDSKTL.js.map → chunk-SVXJLDDC.js.map} +0 -0
  415. /package/dist/{chunk-SEF4IOFE.js.map → chunk-SWIKABKI.js.map} +0 -0
  416. /package/dist/{chunk-ZJABRLCZ.js.map → chunk-TBXAY2SS.js.map} +0 -0
  417. /package/dist/{chunk-GIC6BASP.js.map → chunk-TNSCIPBQ.js.map} +0 -0
  418. /package/dist/{chunk-ZMDMHSV2.js.map → chunk-TVEONGBU.js.map} +0 -0
  419. /package/dist/{chunk-4FSEZRGK.js.map → chunk-TWF35IC6.js.map} +0 -0
  420. /package/dist/{chunk-LS2SGMQE.js.map → chunk-U6N5IBVY.js.map} +0 -0
  421. /package/dist/{chunk-62YW6OYI.js.map → chunk-UCKYTA2T.js.map} +0 -0
  422. /package/dist/{chunk-YFCHNOGJ.js.map → chunk-UNNPNBR2.js.map} +0 -0
  423. /package/dist/{chunk-Z2M7F4QM.js.map → chunk-VVX5PZFS.js.map} +0 -0
  424. /package/dist/{chunk-NTYLZXDX.js.map → chunk-VYCOJKSX.js.map} +0 -0
  425. /package/dist/{chunk-UICSQESY.js.map → chunk-W24T5YMW.js.map} +0 -0
  426. /package/dist/{chunk-HDQUQBPW.js.map → chunk-W3K3HITK.js.map} +0 -0
  427. /package/dist/{chunk-GDASG7NC.js.map → chunk-W4F3C7N7.js.map} +0 -0
  428. /package/dist/{chunk-YBLZFNIQ.js.map → chunk-WJHGDE7X.js.map} +0 -0
  429. /package/dist/{chunk-4F24PHNX.js.map → chunk-WQZZDN5M.js.map} +0 -0
  430. /package/dist/{chunk-CDZEUCV7.js.map → chunk-X5K5TAQZ.js.map} +0 -0
  431. /package/dist/{chunk-5AUODSOQ.js.map → chunk-XM24CDZX.js.map} +0 -0
  432. /package/dist/{chunk-6VML2LII.js.map → chunk-XOVKXJEP.js.map} +0 -0
  433. /package/dist/{chunk-OU5TIWDQ.js.map → chunk-XSGUMQQQ.js.map} +0 -0
  434. /package/dist/{chunk-7CFVBWDC.js.map → chunk-XUE46UYW.js.map} +0 -0
  435. /package/dist/{chunk-DJORULH3.js.map → chunk-YRLHEEQT.js.map} +0 -0
  436. /package/dist/{chunk-YRWDPE32.js.map → chunk-Z3O53WZR.js.map} +0 -0
  437. /package/dist/{chunk-CSY5DA7O.js.map → chunk-Z6COGHHN.js.map} +0 -0
  438. /package/dist/{chunk-OYR3IPHD.js.map → chunk-ZIW5JVRM.js.map} +0 -0
  439. /package/dist/{graph-edge-decay-CJW4OT2X.js.map → graph-edge-decay-MKIRZ762.js.map} +0 -0
  440. /package/dist/{resolution-U5O4QANY.js.map → resolution-VKATP2HT.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -34,8 +34,8 @@ export { bT as ACTION_GATE_DEFAULTS, bU as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
34
34
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
35
35
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
36
36
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
37
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cv8Rizo0.js';
38
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-Cv8Rizo0.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DWdY9Mlk.js';
38
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-DWdY9Mlk.js';
39
39
  import { LocalLlmClient } from './local-llm.js';
40
40
  import { FallbackLlmClient } from './fallback-llm.js';
41
41
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -58,10 +58,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
58
58
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
59
59
  export { storagePathHash } from './storage-paths.js';
60
60
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
61
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-B_YwqoIr.js';
61
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DD0P-lu8.js';
62
62
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
63
63
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
64
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-D6d4W8x-.js';
64
+ export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-C4i8Opxc.js';
65
65
  import { z } from 'zod';
66
66
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
67
67
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -1235,15 +1235,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1235
1235
  locator: z.ZodOptional<z.ZodString>;
1236
1236
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1237
1237
  }, "strict", z.ZodTypeAny, {
1238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
- label: string;
1240
1238
  id: string;
1239
+ label: string;
1240
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
1241
  capture: "at_action" | "historical_lookup" | "fixture";
1242
1242
  locator?: string | undefined;
1243
1243
  }, {
1244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
- label: string;
1246
1244
  id: string;
1245
+ label: string;
1246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1247
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1248
  locator?: string | undefined;
1249
1249
  }>;
@@ -1260,15 +1260,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1260
1260
  locator: z.ZodOptional<z.ZodString>;
1261
1261
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1262
1262
  }, "strict", z.ZodTypeAny, {
1263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
- label: string;
1265
1263
  id: string;
1264
+ label: string;
1265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1266
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1267
  locator?: string | undefined;
1268
1268
  }, {
1269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
- label: string;
1271
1269
  id: string;
1270
+ label: string;
1271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1272
1272
  capture: "at_action" | "historical_lookup" | "fixture";
1273
1273
  locator?: string | undefined;
1274
1274
  }>, "many">>;
@@ -1276,9 +1276,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1276
1276
  kind: "mission_started";
1277
1277
  title: string;
1278
1278
  evidence: {
1279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1280
- label: string;
1281
1279
  id: string;
1280
+ label: string;
1281
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
1282
  capture: "at_action" | "historical_lookup" | "fixture";
1283
1283
  locator?: string | undefined;
1284
1284
  }[];
@@ -1290,9 +1290,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1290
1290
  objective: string;
1291
1291
  runMode: "replay" | "fixture" | "live";
1292
1292
  evidence?: {
1293
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
- label: string;
1295
1293
  id: string;
1294
+ label: string;
1295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1296
1296
  capture: "at_action" | "historical_lookup" | "fixture";
1297
1297
  locator?: string | undefined;
1298
1298
  }[] | undefined;
@@ -1308,15 +1308,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1308
1308
  locator: z.ZodOptional<z.ZodString>;
1309
1309
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1310
1310
  }, "strict", z.ZodTypeAny, {
1311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
- label: string;
1313
1311
  id: string;
1312
+ label: string;
1313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1314
  capture: "at_action" | "historical_lookup" | "fixture";
1315
1315
  locator?: string | undefined;
1316
1316
  }, {
1317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1318
- label: string;
1319
1317
  id: string;
1318
+ label: string;
1319
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1320
1320
  capture: "at_action" | "historical_lookup" | "fixture";
1321
1321
  locator?: string | undefined;
1322
1322
  }>, "many">>;
@@ -1324,32 +1324,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1324
1324
  sessionId: z.ZodString;
1325
1325
  kind: z.ZodLiteral<"agent_status">;
1326
1326
  }, "strict", z.ZodTypeAny, {
1327
- kind: "agent_status";
1328
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1329
1327
  label: string;
1328
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1329
+ kind: "agent_status";
1330
1330
  role: string;
1331
1331
  agentId: string;
1332
1332
  sessionId: string;
1333
1333
  evidence: {
1334
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
- label: string;
1336
1334
  id: string;
1335
+ label: string;
1336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1337
1337
  capture: "at_action" | "historical_lookup" | "fixture";
1338
1338
  locator?: string | undefined;
1339
1339
  }[];
1340
1340
  detail?: string | undefined;
1341
1341
  }, {
1342
- kind: "agent_status";
1343
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1344
1342
  label: string;
1343
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1344
+ kind: "agent_status";
1345
1345
  role: string;
1346
1346
  agentId: string;
1347
1347
  sessionId: string;
1348
1348
  detail?: string | undefined;
1349
1349
  evidence?: {
1350
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
- label: string;
1352
1350
  id: string;
1351
+ label: string;
1352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1353
1353
  capture: "at_action" | "historical_lookup" | "fixture";
1354
1354
  locator?: string | undefined;
1355
1355
  }[] | undefined;
@@ -1363,15 +1363,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1363
1363
  locator: z.ZodOptional<z.ZodString>;
1364
1364
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1365
1365
  }, "strict", z.ZodTypeAny, {
1366
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
- label: string;
1368
1366
  id: string;
1367
+ label: string;
1368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1369
  capture: "at_action" | "historical_lookup" | "fixture";
1370
1370
  locator?: string | undefined;
1371
1371
  }, {
1372
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
- label: string;
1374
1372
  id: string;
1373
+ label: string;
1374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1376
  locator?: string | undefined;
1377
1377
  }>, "many">>;
@@ -1379,28 +1379,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1379
1379
  sessionId: z.ZodString;
1380
1380
  kind: z.ZodLiteral<"agent_output">;
1381
1381
  }, "strict", z.ZodTypeAny, {
1382
- kind: "agent_output";
1383
1382
  summary: string;
1383
+ kind: "agent_output";
1384
1384
  agentId: string;
1385
1385
  sessionId: string;
1386
1386
  evidence: {
1387
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
- label: string;
1389
1387
  id: string;
1388
+ label: string;
1389
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
1390
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1391
  locator?: string | undefined;
1392
1392
  }[];
1393
1393
  outputId: string;
1394
1394
  }, {
1395
- kind: "agent_output";
1396
1395
  summary: string;
1396
+ kind: "agent_output";
1397
1397
  agentId: string;
1398
1398
  sessionId: string;
1399
1399
  outputId: string;
1400
1400
  evidence?: {
1401
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
- label: string;
1403
1401
  id: string;
1402
+ label: string;
1403
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
1404
  capture: "at_action" | "historical_lookup" | "fixture";
1405
1405
  locator?: string | undefined;
1406
1406
  }[] | undefined;
@@ -1416,15 +1416,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1416
1416
  locator: z.ZodOptional<z.ZodString>;
1417
1417
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1418
1418
  }, "strict", z.ZodTypeAny, {
1419
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
- label: string;
1421
1419
  id: string;
1420
+ label: string;
1421
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1422
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1423
  locator?: string | undefined;
1424
1424
  }, {
1425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
- label: string;
1427
1425
  id: string;
1426
+ label: string;
1427
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1428
1428
  capture: "at_action" | "historical_lookup" | "fixture";
1429
1429
  locator?: string | undefined;
1430
1430
  }>, "many">>;
@@ -1437,9 +1437,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1437
1437
  statement: string;
1438
1438
  sessionId: string;
1439
1439
  evidence: {
1440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1441
- label: string;
1442
1440
  id: string;
1441
+ label: string;
1442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1443
1443
  capture: "at_action" | "historical_lookup" | "fixture";
1444
1444
  locator?: string | undefined;
1445
1445
  }[];
@@ -1455,9 +1455,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1455
1455
  decisionId: string;
1456
1456
  confidence?: number | undefined;
1457
1457
  evidence?: {
1458
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
- label: string;
1460
1458
  id: string;
1459
+ label: string;
1460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
1461
  capture: "at_action" | "historical_lookup" | "fixture";
1462
1462
  locator?: string | undefined;
1463
1463
  }[] | undefined;
@@ -1474,25 +1474,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1474
1474
  locator: z.ZodOptional<z.ZodString>;
1475
1475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1476
1476
  }, "strict", z.ZodTypeAny, {
1477
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
- label: string;
1479
1477
  id: string;
1478
+ label: string;
1479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1481
  locator?: string | undefined;
1482
1482
  }, {
1483
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
- label: string;
1485
1483
  id: string;
1484
+ label: string;
1485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1486
1486
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1487
  locator?: string | undefined;
1488
1488
  }>, "many">>;
1489
1489
  }, "strict", z.ZodTypeAny, {
1490
- kind: "conflict_detected";
1491
1490
  summary: string;
1491
+ kind: "conflict_detected";
1492
1492
  evidence: {
1493
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
- label: string;
1495
1493
  id: string;
1494
+ label: string;
1495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1496
1496
  capture: "at_action" | "historical_lookup" | "fixture";
1497
1497
  locator?: string | undefined;
1498
1498
  }[];
@@ -1500,15 +1500,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1500
1500
  decisionIds: string[];
1501
1501
  agentIds: string[];
1502
1502
  }, {
1503
- kind: "conflict_detected";
1504
1503
  summary: string;
1504
+ kind: "conflict_detected";
1505
1505
  conflictId: string;
1506
1506
  decisionIds: string[];
1507
1507
  agentIds: string[];
1508
1508
  evidence?: {
1509
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1510
- label: string;
1511
1509
  id: string;
1510
+ label: string;
1511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
1512
  capture: "at_action" | "historical_lookup" | "fixture";
1513
1513
  locator?: string | undefined;
1514
1514
  }[] | undefined;
@@ -1528,27 +1528,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1528
1528
  locator: z.ZodOptional<z.ZodString>;
1529
1529
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1530
1530
  }, "strict", z.ZodTypeAny, {
1531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
- label: string;
1533
1531
  id: string;
1532
+ label: string;
1533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1534
  capture: "at_action" | "historical_lookup" | "fixture";
1535
1535
  locator?: string | undefined;
1536
1536
  }, {
1537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
- label: string;
1539
1537
  id: string;
1538
+ label: string;
1539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1540
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1541
  locator?: string | undefined;
1542
1542
  }>, "many">>;
1543
1543
  }, "strict", z.ZodTypeAny, {
1544
- kind: "test_result";
1545
1544
  summary: string;
1546
1545
  status: "error" | "failed" | "passed";
1546
+ kind: "test_result";
1547
1547
  command: string;
1548
1548
  evidence: {
1549
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
- label: string;
1551
1549
  id: string;
1550
+ label: string;
1551
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1552
1552
  capture: "at_action" | "historical_lookup" | "fixture";
1553
1553
  locator?: string | undefined;
1554
1554
  }[];
@@ -1557,17 +1557,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1557
1557
  durationMs?: number | undefined;
1558
1558
  correctionId?: string | undefined;
1559
1559
  }, {
1560
- kind: "test_result";
1561
1560
  summary: string;
1562
1561
  status: "error" | "failed" | "passed";
1562
+ kind: "test_result";
1563
1563
  command: string;
1564
1564
  decisionId: string;
1565
1565
  testId: string;
1566
1566
  durationMs?: number | undefined;
1567
1567
  evidence?: {
1568
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1569
- label: string;
1570
1568
  id: string;
1569
+ label: string;
1570
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1571
1571
  capture: "at_action" | "historical_lookup" | "fixture";
1572
1572
  locator?: string | undefined;
1573
1573
  }[] | undefined;
@@ -1588,15 +1588,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1588
1588
  locator: z.ZodOptional<z.ZodString>;
1589
1589
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1590
1590
  }, "strict", z.ZodTypeAny, {
1591
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
- label: string;
1593
1591
  id: string;
1592
+ label: string;
1593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1594
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1595
  locator?: string | undefined;
1596
1596
  }, {
1597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
- label: string;
1599
1597
  id: string;
1598
+ label: string;
1599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
1600
  capture: "at_action" | "historical_lookup" | "fixture";
1601
1601
  locator?: string | undefined;
1602
1602
  }>, "many">>;
@@ -1605,9 +1605,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1605
1605
  statement: string;
1606
1606
  rationale: string;
1607
1607
  evidence: {
1608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
- label: string;
1610
1608
  id: string;
1609
+ label: string;
1610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1611
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1612
  locator?: string | undefined;
1613
1613
  }[];
@@ -1626,9 +1626,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1626
1626
  supersedesDecisionIds: string[];
1627
1627
  proposedBy: string;
1628
1628
  evidence?: {
1629
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
- label: string;
1631
1629
  id: string;
1630
+ label: string;
1631
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
1632
  capture: "at_action" | "historical_lookup" | "fixture";
1633
1633
  locator?: string | undefined;
1634
1634
  }[] | undefined;
@@ -1640,13 +1640,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1640
1640
  id: z.ZodString;
1641
1641
  label: z.ZodString;
1642
1642
  }, "strict", z.ZodTypeAny, {
1643
- kind: "agent" | "human";
1644
- label: string;
1645
1643
  id: string;
1646
- }, {
1647
- kind: "agent" | "human";
1648
1644
  label: string;
1645
+ kind: "agent" | "human";
1646
+ }, {
1649
1647
  id: string;
1648
+ label: string;
1649
+ kind: "agent" | "human";
1650
1650
  }>;
1651
1651
  note: z.ZodOptional<z.ZodString>;
1652
1652
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1656,47 +1656,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1656
1656
  locator: z.ZodOptional<z.ZodString>;
1657
1657
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1658
1658
  }, "strict", z.ZodTypeAny, {
1659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1660
- label: string;
1661
1659
  id: string;
1660
+ label: string;
1661
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1662
  capture: "at_action" | "historical_lookup" | "fixture";
1663
1663
  locator?: string | undefined;
1664
1664
  }, {
1665
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
- label: string;
1667
1665
  id: string;
1666
+ label: string;
1667
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1668
1668
  capture: "at_action" | "historical_lookup" | "fixture";
1669
1669
  locator?: string | undefined;
1670
1670
  }>, "many">>;
1671
1671
  }, "strict", z.ZodTypeAny, {
1672
1672
  kind: "correction_approved";
1673
1673
  evidence: {
1674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
- label: string;
1676
1674
  id: string;
1675
+ label: string;
1676
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1677
1677
  capture: "at_action" | "historical_lookup" | "fixture";
1678
1678
  locator?: string | undefined;
1679
1679
  }[];
1680
1680
  correctionId: string;
1681
1681
  approvedBy: {
1682
- kind: "agent" | "human";
1683
- label: string;
1684
1682
  id: string;
1683
+ label: string;
1684
+ kind: "agent" | "human";
1685
1685
  };
1686
1686
  note?: string | undefined;
1687
1687
  }, {
1688
1688
  kind: "correction_approved";
1689
1689
  correctionId: string;
1690
1690
  approvedBy: {
1691
- kind: "agent" | "human";
1692
- label: string;
1693
1691
  id: string;
1692
+ label: string;
1693
+ kind: "agent" | "human";
1694
1694
  };
1695
1695
  note?: string | undefined;
1696
1696
  evidence?: {
1697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
- label: string;
1699
1697
  id: string;
1698
+ label: string;
1699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1700
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1701
  locator?: string | undefined;
1702
1702
  }[] | undefined;
@@ -1712,24 +1712,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1712
1712
  locator: z.ZodOptional<z.ZodString>;
1713
1713
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1714
1714
  }, "strict", z.ZodTypeAny, {
1715
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
- label: string;
1717
1715
  id: string;
1716
+ label: string;
1717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1718
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1719
  locator?: string | undefined;
1720
1720
  }, {
1721
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
- label: string;
1723
1721
  id: string;
1722
+ label: string;
1723
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
1724
  capture: "at_action" | "historical_lookup" | "fixture";
1725
1725
  locator?: string | undefined;
1726
1726
  }>, "many">>;
1727
1727
  }, "strict", z.ZodTypeAny, {
1728
1728
  kind: "decision_superseded";
1729
1729
  evidence: {
1730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
- label: string;
1732
1730
  id: string;
1731
+ label: string;
1732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1733
1733
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1734
  locator?: string | undefined;
1735
1735
  }[];
@@ -1742,9 +1742,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1742
1742
  correctionId: string;
1743
1743
  replacementDecisionId: string;
1744
1744
  evidence?: {
1745
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
- label: string;
1747
1745
  id: string;
1746
+ label: string;
1747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
1748
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1749
  locator?: string | undefined;
1750
1750
  }[] | undefined;
@@ -1760,15 +1760,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1760
1760
  locator: z.ZodOptional<z.ZodString>;
1761
1761
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1762
1762
  }, "strict", z.ZodTypeAny, {
1763
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
- label: string;
1765
1763
  id: string;
1764
+ label: string;
1765
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1766
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1767
  locator?: string | undefined;
1768
1768
  }, {
1769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
- label: string;
1771
1769
  id: string;
1770
+ label: string;
1771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
1772
  capture: "at_action" | "historical_lookup" | "fixture";
1773
1773
  locator?: string | undefined;
1774
1774
  }>, "many">>;
@@ -1781,9 +1781,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1781
1781
  agentId: string;
1782
1782
  sessionId: string;
1783
1783
  evidence: {
1784
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1785
- label: string;
1786
1784
  id: string;
1785
+ label: string;
1786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
1787
  capture: "at_action" | "historical_lookup" | "fixture";
1788
1788
  locator?: string | undefined;
1789
1789
  }[];
@@ -1799,9 +1799,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1799
1799
  recallReceiptId: string;
1800
1800
  capturedAtAction: boolean;
1801
1801
  evidence?: {
1802
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
- label: string;
1804
1802
  id: string;
1803
+ label: string;
1804
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1805
1805
  capture: "at_action" | "historical_lookup" | "fixture";
1806
1806
  locator?: string | undefined;
1807
1807
  }[] | undefined;
@@ -1817,15 +1817,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1817
1817
  locator: z.ZodOptional<z.ZodString>;
1818
1818
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1819
1819
  }, "strict", z.ZodTypeAny, {
1820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
- label: string;
1822
1820
  id: string;
1821
+ label: string;
1822
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1823
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1824
  locator?: string | undefined;
1825
1825
  }, {
1826
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
- label: string;
1828
1826
  id: string;
1827
+ label: string;
1828
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1829
  capture: "at_action" | "historical_lookup" | "fixture";
1830
1830
  locator?: string | undefined;
1831
1831
  }>, "many">>;
@@ -1837,9 +1837,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1837
1837
  agentId: string;
1838
1838
  sessionId: string;
1839
1839
  evidence: {
1840
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1841
- label: string;
1842
1840
  id: string;
1841
+ label: string;
1842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
1843
  capture: "at_action" | "historical_lookup" | "fixture";
1844
1844
  locator?: string | undefined;
1845
1845
  }[];
@@ -1856,9 +1856,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1856
1856
  recallReceiptId: string;
1857
1857
  staleDecisionAbsent: boolean;
1858
1858
  evidence?: {
1859
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
- label: string;
1861
1859
  id: string;
1860
+ label: string;
1861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1862
1862
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1863
  locator?: string | undefined;
1864
1864
  }[] | undefined;
@@ -1873,37 +1873,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1873
1873
  locator: z.ZodOptional<z.ZodString>;
1874
1874
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1875
1875
  }, "strict", z.ZodTypeAny, {
1876
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1877
- label: string;
1878
1876
  id: string;
1877
+ label: string;
1878
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1879
  capture: "at_action" | "historical_lookup" | "fixture";
1880
1880
  locator?: string | undefined;
1881
1881
  }, {
1882
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
- label: string;
1884
1882
  id: string;
1883
+ label: string;
1884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
1885
  capture: "at_action" | "historical_lookup" | "fixture";
1886
1886
  locator?: string | undefined;
1887
1887
  }>, "many">>;
1888
1888
  }, "strict", z.ZodTypeAny, {
1889
- kind: "mission_completed";
1890
1889
  summary: string;
1890
+ kind: "mission_completed";
1891
1891
  outcome: "failed" | "recovered" | "inconclusive";
1892
1892
  evidence: {
1893
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
- label: string;
1895
1893
  id: string;
1894
+ label: string;
1895
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
1896
  capture: "at_action" | "historical_lookup" | "fixture";
1897
1897
  locator?: string | undefined;
1898
1898
  }[];
1899
1899
  }, {
1900
- kind: "mission_completed";
1901
1900
  summary: string;
1901
+ kind: "mission_completed";
1902
1902
  outcome: "failed" | "recovered" | "inconclusive";
1903
1903
  evidence?: {
1904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
- label: string;
1906
1904
  id: string;
1905
+ label: string;
1906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1907
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1908
  locator?: string | undefined;
1909
1909
  }[] | undefined;
@@ -1911,38 +1911,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1911
1911
  kind: "mission_started";
1912
1912
  title: string;
1913
1913
  evidence: {
1914
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
- label: string;
1916
1914
  id: string;
1915
+ label: string;
1916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
1917
  capture: "at_action" | "historical_lookup" | "fixture";
1918
1918
  locator?: string | undefined;
1919
1919
  }[];
1920
1920
  objective: string;
1921
1921
  runMode: "replay" | "fixture" | "live";
1922
1922
  } | {
1923
- kind: "agent_status";
1924
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1925
1923
  label: string;
1924
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1925
+ kind: "agent_status";
1926
1926
  role: string;
1927
1927
  agentId: string;
1928
1928
  sessionId: string;
1929
1929
  evidence: {
1930
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
- label: string;
1932
1930
  id: string;
1931
+ label: string;
1932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
1933
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1934
  locator?: string | undefined;
1935
1935
  }[];
1936
1936
  detail?: string | undefined;
1937
1937
  } | {
1938
- kind: "agent_output";
1939
1938
  summary: string;
1939
+ kind: "agent_output";
1940
1940
  agentId: string;
1941
1941
  sessionId: string;
1942
1942
  evidence: {
1943
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1944
- label: string;
1945
1943
  id: string;
1944
+ label: string;
1945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
1946
  capture: "at_action" | "historical_lookup" | "fixture";
1947
1947
  locator?: string | undefined;
1948
1948
  }[];
@@ -1953,9 +1953,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1953
1953
  statement: string;
1954
1954
  sessionId: string;
1955
1955
  evidence: {
1956
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
- label: string;
1958
1956
  id: string;
1957
+ label: string;
1958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
1959
  capture: "at_action" | "historical_lookup" | "fixture";
1960
1960
  locator?: string | undefined;
1961
1961
  }[];
@@ -1963,12 +1963,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1963
1963
  decisionId: string;
1964
1964
  confidence?: number | undefined;
1965
1965
  } | {
1966
- kind: "conflict_detected";
1967
1966
  summary: string;
1967
+ kind: "conflict_detected";
1968
1968
  evidence: {
1969
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
- label: string;
1971
1969
  id: string;
1970
+ label: string;
1971
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
1972
  capture: "at_action" | "historical_lookup" | "fixture";
1973
1973
  locator?: string | undefined;
1974
1974
  }[];
@@ -1976,14 +1976,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1976
1976
  decisionIds: string[];
1977
1977
  agentIds: string[];
1978
1978
  } | {
1979
- kind: "test_result";
1980
1979
  summary: string;
1981
1980
  status: "error" | "failed" | "passed";
1981
+ kind: "test_result";
1982
1982
  command: string;
1983
1983
  evidence: {
1984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
- label: string;
1986
1984
  id: string;
1985
+ label: string;
1986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
1987
  capture: "at_action" | "historical_lookup" | "fixture";
1988
1988
  locator?: string | undefined;
1989
1989
  }[];
@@ -1996,9 +1996,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1996
1996
  statement: string;
1997
1997
  rationale: string;
1998
1998
  evidence: {
1999
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
- label: string;
2001
1999
  id: string;
2000
+ label: string;
2001
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
2002
  capture: "at_action" | "historical_lookup" | "fixture";
2003
2003
  locator?: string | undefined;
2004
2004
  }[];
@@ -2010,25 +2010,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2010
2010
  } | {
2011
2011
  kind: "correction_approved";
2012
2012
  evidence: {
2013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
- label: string;
2015
2013
  id: string;
2014
+ label: string;
2015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
2016
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2017
  locator?: string | undefined;
2018
2018
  }[];
2019
2019
  correctionId: string;
2020
2020
  approvedBy: {
2021
- kind: "agent" | "human";
2022
- label: string;
2023
2021
  id: string;
2022
+ label: string;
2023
+ kind: "agent" | "human";
2024
2024
  };
2025
2025
  note?: string | undefined;
2026
2026
  } | {
2027
2027
  kind: "decision_superseded";
2028
2028
  evidence: {
2029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
- label: string;
2031
2029
  id: string;
2030
+ label: string;
2031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2033
  locator?: string | undefined;
2034
2034
  }[];
@@ -2041,9 +2041,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2041
2041
  agentId: string;
2042
2042
  sessionId: string;
2043
2043
  evidence: {
2044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
- label: string;
2046
2044
  id: string;
2045
+ label: string;
2046
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2047
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2048
  locator?: string | undefined;
2049
2049
  }[];
@@ -2055,9 +2055,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2055
2055
  agentId: string;
2056
2056
  sessionId: string;
2057
2057
  evidence: {
2058
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2059
- label: string;
2060
2058
  id: string;
2059
+ label: string;
2060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2061
  capture: "at_action" | "historical_lookup" | "fixture";
2062
2062
  locator?: string | undefined;
2063
2063
  }[];
@@ -2066,13 +2066,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2066
2066
  recallReceiptId: string;
2067
2067
  staleDecisionAbsent: boolean;
2068
2068
  } | {
2069
- kind: "mission_completed";
2070
2069
  summary: string;
2070
+ kind: "mission_completed";
2071
2071
  outcome: "failed" | "recovered" | "inconclusive";
2072
2072
  evidence: {
2073
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
- label: string;
2075
2073
  id: string;
2074
+ label: string;
2075
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
2076
  capture: "at_action" | "historical_lookup" | "fixture";
2077
2077
  locator?: string | undefined;
2078
2078
  }[];
@@ -2082,37 +2082,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2082
2082
  objective: string;
2083
2083
  runMode: "replay" | "fixture" | "live";
2084
2084
  evidence?: {
2085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
- label: string;
2087
2085
  id: string;
2086
+ label: string;
2087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2089
  locator?: string | undefined;
2090
2090
  }[] | undefined;
2091
2091
  } | {
2092
- kind: "agent_status";
2093
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2094
2092
  label: string;
2093
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2094
+ kind: "agent_status";
2095
2095
  role: string;
2096
2096
  agentId: string;
2097
2097
  sessionId: string;
2098
2098
  detail?: string | undefined;
2099
2099
  evidence?: {
2100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
- label: string;
2102
2100
  id: string;
2101
+ label: string;
2102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2104
  locator?: string | undefined;
2105
2105
  }[] | undefined;
2106
2106
  } | {
2107
- kind: "agent_output";
2108
2107
  summary: string;
2108
+ kind: "agent_output";
2109
2109
  agentId: string;
2110
2110
  sessionId: string;
2111
2111
  outputId: string;
2112
2112
  evidence?: {
2113
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
- label: string;
2115
2113
  id: string;
2114
+ label: string;
2115
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2116
2116
  capture: "at_action" | "historical_lookup" | "fixture";
2117
2117
  locator?: string | undefined;
2118
2118
  }[] | undefined;
@@ -2125,37 +2125,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2125
2125
  decisionId: string;
2126
2126
  confidence?: number | undefined;
2127
2127
  evidence?: {
2128
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
- label: string;
2130
2128
  id: string;
2129
+ label: string;
2130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
2131
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2132
  locator?: string | undefined;
2133
2133
  }[] | undefined;
2134
2134
  } | {
2135
- kind: "conflict_detected";
2136
2135
  summary: string;
2136
+ kind: "conflict_detected";
2137
2137
  conflictId: string;
2138
2138
  decisionIds: string[];
2139
2139
  agentIds: string[];
2140
2140
  evidence?: {
2141
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
- label: string;
2143
2141
  id: string;
2142
+ label: string;
2143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2144
2144
  capture: "at_action" | "historical_lookup" | "fixture";
2145
2145
  locator?: string | undefined;
2146
2146
  }[] | undefined;
2147
2147
  } | {
2148
- kind: "test_result";
2149
2148
  summary: string;
2150
2149
  status: "error" | "failed" | "passed";
2150
+ kind: "test_result";
2151
2151
  command: string;
2152
2152
  decisionId: string;
2153
2153
  testId: string;
2154
2154
  durationMs?: number | undefined;
2155
2155
  evidence?: {
2156
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
- label: string;
2158
2156
  id: string;
2157
+ label: string;
2158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
2159
  capture: "at_action" | "historical_lookup" | "fixture";
2160
2160
  locator?: string | undefined;
2161
2161
  }[] | undefined;
@@ -2170,9 +2170,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2170
2170
  supersedesDecisionIds: string[];
2171
2171
  proposedBy: string;
2172
2172
  evidence?: {
2173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
- label: string;
2175
2173
  id: string;
2174
+ label: string;
2175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
2176
  capture: "at_action" | "historical_lookup" | "fixture";
2177
2177
  locator?: string | undefined;
2178
2178
  }[] | undefined;
@@ -2180,15 +2180,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2180
2180
  kind: "correction_approved";
2181
2181
  correctionId: string;
2182
2182
  approvedBy: {
2183
- kind: "agent" | "human";
2184
- label: string;
2185
2183
  id: string;
2184
+ label: string;
2185
+ kind: "agent" | "human";
2186
2186
  };
2187
2187
  note?: string | undefined;
2188
2188
  evidence?: {
2189
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
- label: string;
2191
2189
  id: string;
2190
+ label: string;
2191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2192
  capture: "at_action" | "historical_lookup" | "fixture";
2193
2193
  locator?: string | undefined;
2194
2194
  }[] | undefined;
@@ -2198,9 +2198,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2198
2198
  correctionId: string;
2199
2199
  replacementDecisionId: string;
2200
2200
  evidence?: {
2201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
- label: string;
2203
2201
  id: string;
2202
+ label: string;
2203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
2204
  capture: "at_action" | "historical_lookup" | "fixture";
2205
2205
  locator?: string | undefined;
2206
2206
  }[] | undefined;
@@ -2213,9 +2213,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2213
2213
  recallReceiptId: string;
2214
2214
  capturedAtAction: boolean;
2215
2215
  evidence?: {
2216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
- label: string;
2218
2216
  id: string;
2217
+ label: string;
2218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2219
2219
  capture: "at_action" | "historical_lookup" | "fixture";
2220
2220
  locator?: string | undefined;
2221
2221
  }[] | undefined;
@@ -2228,20 +2228,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2228
2228
  recallReceiptId: string;
2229
2229
  staleDecisionAbsent: boolean;
2230
2230
  evidence?: {
2231
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
- label: string;
2233
2231
  id: string;
2232
+ label: string;
2233
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
2234
  capture: "at_action" | "historical_lookup" | "fixture";
2235
2235
  locator?: string | undefined;
2236
2236
  }[] | undefined;
2237
2237
  } | {
2238
- kind: "mission_completed";
2239
2238
  summary: string;
2239
+ kind: "mission_completed";
2240
2240
  outcome: "failed" | "recovered" | "inconclusive";
2241
2241
  evidence?: {
2242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
- label: string;
2244
2242
  id: string;
2243
+ label: string;
2244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2245
2245
  capture: "at_action" | "historical_lookup" | "fixture";
2246
2246
  locator?: string | undefined;
2247
2247
  }[] | undefined;
@@ -2262,15 +2262,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2262
2262
  locator: z.ZodOptional<z.ZodString>;
2263
2263
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2264
2264
  }, "strict", z.ZodTypeAny, {
2265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
- label: string;
2267
2265
  id: string;
2266
+ label: string;
2267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2268
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2269
  locator?: string | undefined;
2270
2270
  }, {
2271
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
- label: string;
2273
2271
  id: string;
2272
+ label: string;
2273
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2274
2274
  capture: "at_action" | "historical_lookup" | "fixture";
2275
2275
  locator?: string | undefined;
2276
2276
  }>, "many">>;
@@ -2278,9 +2278,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2278
2278
  kind: "mission_started";
2279
2279
  title: string;
2280
2280
  evidence: {
2281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2282
- label: string;
2283
2281
  id: string;
2282
+ label: string;
2283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
2284
  capture: "at_action" | "historical_lookup" | "fixture";
2285
2285
  locator?: string | undefined;
2286
2286
  }[];
@@ -2292,9 +2292,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2292
2292
  objective: string;
2293
2293
  runMode: "replay" | "fixture" | "live";
2294
2294
  evidence?: {
2295
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
- label: string;
2297
2295
  id: string;
2296
+ label: string;
2297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2298
2298
  capture: "at_action" | "historical_lookup" | "fixture";
2299
2299
  locator?: string | undefined;
2300
2300
  }[] | undefined;
@@ -2310,15 +2310,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2310
2310
  locator: z.ZodOptional<z.ZodString>;
2311
2311
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2312
2312
  }, "strict", z.ZodTypeAny, {
2313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
- label: string;
2315
2313
  id: string;
2314
+ label: string;
2315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2316
  capture: "at_action" | "historical_lookup" | "fixture";
2317
2317
  locator?: string | undefined;
2318
2318
  }, {
2319
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
- label: string;
2321
2319
  id: string;
2320
+ label: string;
2321
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2322
2322
  capture: "at_action" | "historical_lookup" | "fixture";
2323
2323
  locator?: string | undefined;
2324
2324
  }>, "many">>;
@@ -2326,32 +2326,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2326
2326
  sessionId: z.ZodString;
2327
2327
  kind: z.ZodLiteral<"agent_status">;
2328
2328
  }, "strict", z.ZodTypeAny, {
2329
- kind: "agent_status";
2330
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2331
2329
  label: string;
2330
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2331
+ kind: "agent_status";
2332
2332
  role: string;
2333
2333
  agentId: string;
2334
2334
  sessionId: string;
2335
2335
  evidence: {
2336
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
- label: string;
2338
2336
  id: string;
2337
+ label: string;
2338
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2339
2339
  capture: "at_action" | "historical_lookup" | "fixture";
2340
2340
  locator?: string | undefined;
2341
2341
  }[];
2342
2342
  detail?: string | undefined;
2343
2343
  }, {
2344
- kind: "agent_status";
2345
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2346
2344
  label: string;
2345
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2346
+ kind: "agent_status";
2347
2347
  role: string;
2348
2348
  agentId: string;
2349
2349
  sessionId: string;
2350
2350
  detail?: string | undefined;
2351
2351
  evidence?: {
2352
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
- label: string;
2354
2352
  id: string;
2353
+ label: string;
2354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2355
2355
  capture: "at_action" | "historical_lookup" | "fixture";
2356
2356
  locator?: string | undefined;
2357
2357
  }[] | undefined;
@@ -2365,15 +2365,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2365
2365
  locator: z.ZodOptional<z.ZodString>;
2366
2366
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2367
2367
  }, "strict", z.ZodTypeAny, {
2368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
- label: string;
2370
2368
  id: string;
2369
+ label: string;
2370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2371
  capture: "at_action" | "historical_lookup" | "fixture";
2372
2372
  locator?: string | undefined;
2373
2373
  }, {
2374
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
- label: string;
2376
2374
  id: string;
2375
+ label: string;
2376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2378
  locator?: string | undefined;
2379
2379
  }>, "many">>;
@@ -2381,28 +2381,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2381
2381
  sessionId: z.ZodString;
2382
2382
  kind: z.ZodLiteral<"agent_output">;
2383
2383
  }, "strict", z.ZodTypeAny, {
2384
- kind: "agent_output";
2385
2384
  summary: string;
2385
+ kind: "agent_output";
2386
2386
  agentId: string;
2387
2387
  sessionId: string;
2388
2388
  evidence: {
2389
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
- label: string;
2391
2389
  id: string;
2390
+ label: string;
2391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
2392
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2393
  locator?: string | undefined;
2394
2394
  }[];
2395
2395
  outputId: string;
2396
2396
  }, {
2397
- kind: "agent_output";
2398
2397
  summary: string;
2398
+ kind: "agent_output";
2399
2399
  agentId: string;
2400
2400
  sessionId: string;
2401
2401
  outputId: string;
2402
2402
  evidence?: {
2403
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
- label: string;
2405
2403
  id: string;
2404
+ label: string;
2405
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
2406
  capture: "at_action" | "historical_lookup" | "fixture";
2407
2407
  locator?: string | undefined;
2408
2408
  }[] | undefined;
@@ -2418,15 +2418,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2418
2418
  locator: z.ZodOptional<z.ZodString>;
2419
2419
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2420
2420
  }, "strict", z.ZodTypeAny, {
2421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
- label: string;
2423
2421
  id: string;
2422
+ label: string;
2423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2424
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2425
  locator?: string | undefined;
2426
2426
  }, {
2427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
- label: string;
2429
2427
  id: string;
2428
+ label: string;
2429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2430
2430
  capture: "at_action" | "historical_lookup" | "fixture";
2431
2431
  locator?: string | undefined;
2432
2432
  }>, "many">>;
@@ -2439,9 +2439,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2439
2439
  statement: string;
2440
2440
  sessionId: string;
2441
2441
  evidence: {
2442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2443
- label: string;
2444
2442
  id: string;
2443
+ label: string;
2444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2445
2445
  capture: "at_action" | "historical_lookup" | "fixture";
2446
2446
  locator?: string | undefined;
2447
2447
  }[];
@@ -2457,9 +2457,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2457
2457
  decisionId: string;
2458
2458
  confidence?: number | undefined;
2459
2459
  evidence?: {
2460
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
- label: string;
2462
2460
  id: string;
2461
+ label: string;
2462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
2463
  capture: "at_action" | "historical_lookup" | "fixture";
2464
2464
  locator?: string | undefined;
2465
2465
  }[] | undefined;
@@ -2476,25 +2476,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2476
2476
  locator: z.ZodOptional<z.ZodString>;
2477
2477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2478
2478
  }, "strict", z.ZodTypeAny, {
2479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
- label: string;
2481
2479
  id: string;
2480
+ label: string;
2481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2483
  locator?: string | undefined;
2484
2484
  }, {
2485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
- label: string;
2487
2485
  id: string;
2486
+ label: string;
2487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2488
2488
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2489
  locator?: string | undefined;
2490
2490
  }>, "many">>;
2491
2491
  }, "strict", z.ZodTypeAny, {
2492
- kind: "conflict_detected";
2493
2492
  summary: string;
2493
+ kind: "conflict_detected";
2494
2494
  evidence: {
2495
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
- label: string;
2497
2495
  id: string;
2496
+ label: string;
2497
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2498
2498
  capture: "at_action" | "historical_lookup" | "fixture";
2499
2499
  locator?: string | undefined;
2500
2500
  }[];
@@ -2502,15 +2502,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2502
2502
  decisionIds: string[];
2503
2503
  agentIds: string[];
2504
2504
  }, {
2505
- kind: "conflict_detected";
2506
2505
  summary: string;
2506
+ kind: "conflict_detected";
2507
2507
  conflictId: string;
2508
2508
  decisionIds: string[];
2509
2509
  agentIds: string[];
2510
2510
  evidence?: {
2511
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2512
- label: string;
2513
2511
  id: string;
2512
+ label: string;
2513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
2514
  capture: "at_action" | "historical_lookup" | "fixture";
2515
2515
  locator?: string | undefined;
2516
2516
  }[] | undefined;
@@ -2530,27 +2530,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2530
2530
  locator: z.ZodOptional<z.ZodString>;
2531
2531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2532
2532
  }, "strict", z.ZodTypeAny, {
2533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
- label: string;
2535
2533
  id: string;
2534
+ label: string;
2535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2536
  capture: "at_action" | "historical_lookup" | "fixture";
2537
2537
  locator?: string | undefined;
2538
2538
  }, {
2539
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
- label: string;
2541
2539
  id: string;
2540
+ label: string;
2541
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2542
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2543
  locator?: string | undefined;
2544
2544
  }>, "many">>;
2545
2545
  }, "strict", z.ZodTypeAny, {
2546
- kind: "test_result";
2547
2546
  summary: string;
2548
2547
  status: "error" | "failed" | "passed";
2548
+ kind: "test_result";
2549
2549
  command: string;
2550
2550
  evidence: {
2551
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
- label: string;
2553
2551
  id: string;
2552
+ label: string;
2553
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2554
2554
  capture: "at_action" | "historical_lookup" | "fixture";
2555
2555
  locator?: string | undefined;
2556
2556
  }[];
@@ -2559,17 +2559,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2559
2559
  durationMs?: number | undefined;
2560
2560
  correctionId?: string | undefined;
2561
2561
  }, {
2562
- kind: "test_result";
2563
2562
  summary: string;
2564
2563
  status: "error" | "failed" | "passed";
2564
+ kind: "test_result";
2565
2565
  command: string;
2566
2566
  decisionId: string;
2567
2567
  testId: string;
2568
2568
  durationMs?: number | undefined;
2569
2569
  evidence?: {
2570
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2571
- label: string;
2572
2570
  id: string;
2571
+ label: string;
2572
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2573
2573
  capture: "at_action" | "historical_lookup" | "fixture";
2574
2574
  locator?: string | undefined;
2575
2575
  }[] | undefined;
@@ -2590,15 +2590,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2590
2590
  locator: z.ZodOptional<z.ZodString>;
2591
2591
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2592
2592
  }, "strict", z.ZodTypeAny, {
2593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
- label: string;
2595
2593
  id: string;
2594
+ label: string;
2595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2596
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2597
  locator?: string | undefined;
2598
2598
  }, {
2599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
- label: string;
2601
2599
  id: string;
2600
+ label: string;
2601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
2602
  capture: "at_action" | "historical_lookup" | "fixture";
2603
2603
  locator?: string | undefined;
2604
2604
  }>, "many">>;
@@ -2607,9 +2607,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2607
2607
  statement: string;
2608
2608
  rationale: string;
2609
2609
  evidence: {
2610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
- label: string;
2612
2610
  id: string;
2611
+ label: string;
2612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2613
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2614
  locator?: string | undefined;
2615
2615
  }[];
@@ -2628,9 +2628,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2628
2628
  supersedesDecisionIds: string[];
2629
2629
  proposedBy: string;
2630
2630
  evidence?: {
2631
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
- label: string;
2633
2631
  id: string;
2632
+ label: string;
2633
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
2634
  capture: "at_action" | "historical_lookup" | "fixture";
2635
2635
  locator?: string | undefined;
2636
2636
  }[] | undefined;
@@ -2642,13 +2642,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2642
2642
  id: z.ZodString;
2643
2643
  label: z.ZodString;
2644
2644
  }, "strict", z.ZodTypeAny, {
2645
- kind: "agent" | "human";
2646
- label: string;
2647
2645
  id: string;
2648
- }, {
2649
- kind: "agent" | "human";
2650
2646
  label: string;
2647
+ kind: "agent" | "human";
2648
+ }, {
2651
2649
  id: string;
2650
+ label: string;
2651
+ kind: "agent" | "human";
2652
2652
  }>;
2653
2653
  note: z.ZodOptional<z.ZodString>;
2654
2654
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2658,47 +2658,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2658
2658
  locator: z.ZodOptional<z.ZodString>;
2659
2659
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2660
2660
  }, "strict", z.ZodTypeAny, {
2661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2662
- label: string;
2663
2661
  id: string;
2662
+ label: string;
2663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2664
  capture: "at_action" | "historical_lookup" | "fixture";
2665
2665
  locator?: string | undefined;
2666
2666
  }, {
2667
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
- label: string;
2669
2667
  id: string;
2668
+ label: string;
2669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2670
2670
  capture: "at_action" | "historical_lookup" | "fixture";
2671
2671
  locator?: string | undefined;
2672
2672
  }>, "many">>;
2673
2673
  }, "strict", z.ZodTypeAny, {
2674
2674
  kind: "correction_approved";
2675
2675
  evidence: {
2676
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
- label: string;
2678
2676
  id: string;
2677
+ label: string;
2678
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2679
2679
  capture: "at_action" | "historical_lookup" | "fixture";
2680
2680
  locator?: string | undefined;
2681
2681
  }[];
2682
2682
  correctionId: string;
2683
2683
  approvedBy: {
2684
- kind: "agent" | "human";
2685
- label: string;
2686
2684
  id: string;
2685
+ label: string;
2686
+ kind: "agent" | "human";
2687
2687
  };
2688
2688
  note?: string | undefined;
2689
2689
  }, {
2690
2690
  kind: "correction_approved";
2691
2691
  correctionId: string;
2692
2692
  approvedBy: {
2693
- kind: "agent" | "human";
2694
- label: string;
2695
2693
  id: string;
2694
+ label: string;
2695
+ kind: "agent" | "human";
2696
2696
  };
2697
2697
  note?: string | undefined;
2698
2698
  evidence?: {
2699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
- label: string;
2701
2699
  id: string;
2700
+ label: string;
2701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2702
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2703
  locator?: string | undefined;
2704
2704
  }[] | undefined;
@@ -2714,24 +2714,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2714
2714
  locator: z.ZodOptional<z.ZodString>;
2715
2715
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2716
2716
  }, "strict", z.ZodTypeAny, {
2717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
- label: string;
2719
2717
  id: string;
2718
+ label: string;
2719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2720
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2721
  locator?: string | undefined;
2722
2722
  }, {
2723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
- label: string;
2725
2723
  id: string;
2724
+ label: string;
2725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
2726
  capture: "at_action" | "historical_lookup" | "fixture";
2727
2727
  locator?: string | undefined;
2728
2728
  }>, "many">>;
2729
2729
  }, "strict", z.ZodTypeAny, {
2730
2730
  kind: "decision_superseded";
2731
2731
  evidence: {
2732
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
- label: string;
2734
2732
  id: string;
2733
+ label: string;
2734
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2735
2735
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2736
  locator?: string | undefined;
2737
2737
  }[];
@@ -2744,9 +2744,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2744
2744
  correctionId: string;
2745
2745
  replacementDecisionId: string;
2746
2746
  evidence?: {
2747
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
- label: string;
2749
2747
  id: string;
2748
+ label: string;
2749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
2750
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2751
  locator?: string | undefined;
2752
2752
  }[] | undefined;
@@ -2762,15 +2762,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2762
2762
  locator: z.ZodOptional<z.ZodString>;
2763
2763
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2764
2764
  }, "strict", z.ZodTypeAny, {
2765
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
- label: string;
2767
2765
  id: string;
2766
+ label: string;
2767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2768
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2769
  locator?: string | undefined;
2770
2770
  }, {
2771
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
- label: string;
2773
2771
  id: string;
2772
+ label: string;
2773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
2774
  capture: "at_action" | "historical_lookup" | "fixture";
2775
2775
  locator?: string | undefined;
2776
2776
  }>, "many">>;
@@ -2783,9 +2783,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2783
2783
  agentId: string;
2784
2784
  sessionId: string;
2785
2785
  evidence: {
2786
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2787
- label: string;
2788
2786
  id: string;
2787
+ label: string;
2788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
2789
  capture: "at_action" | "historical_lookup" | "fixture";
2790
2790
  locator?: string | undefined;
2791
2791
  }[];
@@ -2801,9 +2801,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2801
2801
  recallReceiptId: string;
2802
2802
  capturedAtAction: boolean;
2803
2803
  evidence?: {
2804
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
- label: string;
2806
2804
  id: string;
2805
+ label: string;
2806
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2807
2807
  capture: "at_action" | "historical_lookup" | "fixture";
2808
2808
  locator?: string | undefined;
2809
2809
  }[] | undefined;
@@ -2819,15 +2819,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2819
2819
  locator: z.ZodOptional<z.ZodString>;
2820
2820
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2821
2821
  }, "strict", z.ZodTypeAny, {
2822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
- label: string;
2824
2822
  id: string;
2823
+ label: string;
2824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2825
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2826
  locator?: string | undefined;
2827
2827
  }, {
2828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
- label: string;
2830
2828
  id: string;
2829
+ label: string;
2830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2831
  capture: "at_action" | "historical_lookup" | "fixture";
2832
2832
  locator?: string | undefined;
2833
2833
  }>, "many">>;
@@ -2839,9 +2839,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2839
2839
  agentId: string;
2840
2840
  sessionId: string;
2841
2841
  evidence: {
2842
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2843
- label: string;
2844
2842
  id: string;
2843
+ label: string;
2844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
2845
  capture: "at_action" | "historical_lookup" | "fixture";
2846
2846
  locator?: string | undefined;
2847
2847
  }[];
@@ -2858,9 +2858,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2858
2858
  recallReceiptId: string;
2859
2859
  staleDecisionAbsent: boolean;
2860
2860
  evidence?: {
2861
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
- label: string;
2863
2861
  id: string;
2862
+ label: string;
2863
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2864
2864
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2865
  locator?: string | undefined;
2866
2866
  }[] | undefined;
@@ -2875,37 +2875,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2875
2875
  locator: z.ZodOptional<z.ZodString>;
2876
2876
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2877
2877
  }, "strict", z.ZodTypeAny, {
2878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2879
- label: string;
2880
2878
  id: string;
2879
+ label: string;
2880
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2881
  capture: "at_action" | "historical_lookup" | "fixture";
2882
2882
  locator?: string | undefined;
2883
2883
  }, {
2884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2885
- label: string;
2886
2884
  id: string;
2885
+ label: string;
2886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
2887
  capture: "at_action" | "historical_lookup" | "fixture";
2888
2888
  locator?: string | undefined;
2889
2889
  }>, "many">>;
2890
2890
  }, "strict", z.ZodTypeAny, {
2891
- kind: "mission_completed";
2892
2891
  summary: string;
2892
+ kind: "mission_completed";
2893
2893
  outcome: "failed" | "recovered" | "inconclusive";
2894
2894
  evidence: {
2895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
- label: string;
2897
2895
  id: string;
2896
+ label: string;
2897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
2898
  capture: "at_action" | "historical_lookup" | "fixture";
2899
2899
  locator?: string | undefined;
2900
2900
  }[];
2901
2901
  }, {
2902
- kind: "mission_completed";
2903
2902
  summary: string;
2903
+ kind: "mission_completed";
2904
2904
  outcome: "failed" | "recovered" | "inconclusive";
2905
2905
  evidence?: {
2906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
- label: string;
2908
2906
  id: string;
2907
+ label: string;
2908
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
2909
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2910
  locator?: string | undefined;
2911
2911
  }[] | undefined;
@@ -2913,38 +2913,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2913
2913
  kind: "mission_started";
2914
2914
  title: string;
2915
2915
  evidence: {
2916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
- label: string;
2918
2916
  id: string;
2917
+ label: string;
2918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
2919
  capture: "at_action" | "historical_lookup" | "fixture";
2920
2920
  locator?: string | undefined;
2921
2921
  }[];
2922
2922
  objective: string;
2923
2923
  runMode: "replay" | "fixture" | "live";
2924
2924
  } | {
2925
- kind: "agent_status";
2926
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2927
2925
  label: string;
2926
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2927
+ kind: "agent_status";
2928
2928
  role: string;
2929
2929
  agentId: string;
2930
2930
  sessionId: string;
2931
2931
  evidence: {
2932
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
- label: string;
2934
2932
  id: string;
2933
+ label: string;
2934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2935
2935
  capture: "at_action" | "historical_lookup" | "fixture";
2936
2936
  locator?: string | undefined;
2937
2937
  }[];
2938
2938
  detail?: string | undefined;
2939
2939
  } | {
2940
- kind: "agent_output";
2941
2940
  summary: string;
2941
+ kind: "agent_output";
2942
2942
  agentId: string;
2943
2943
  sessionId: string;
2944
2944
  evidence: {
2945
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
- label: string;
2947
2945
  id: string;
2946
+ label: string;
2947
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
2948
  capture: "at_action" | "historical_lookup" | "fixture";
2949
2949
  locator?: string | undefined;
2950
2950
  }[];
@@ -2955,9 +2955,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2955
  statement: string;
2956
2956
  sessionId: string;
2957
2957
  evidence: {
2958
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
- label: string;
2960
2958
  id: string;
2959
+ label: string;
2960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
2961
  capture: "at_action" | "historical_lookup" | "fixture";
2962
2962
  locator?: string | undefined;
2963
2963
  }[];
@@ -2965,12 +2965,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2965
2965
  decisionId: string;
2966
2966
  confidence?: number | undefined;
2967
2967
  } | {
2968
- kind: "conflict_detected";
2969
2968
  summary: string;
2969
+ kind: "conflict_detected";
2970
2970
  evidence: {
2971
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
- label: string;
2973
2971
  id: string;
2972
+ label: string;
2973
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
2974
  capture: "at_action" | "historical_lookup" | "fixture";
2975
2975
  locator?: string | undefined;
2976
2976
  }[];
@@ -2978,14 +2978,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2978
2978
  decisionIds: string[];
2979
2979
  agentIds: string[];
2980
2980
  } | {
2981
- kind: "test_result";
2982
2981
  summary: string;
2983
2982
  status: "error" | "failed" | "passed";
2983
+ kind: "test_result";
2984
2984
  command: string;
2985
2985
  evidence: {
2986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
- label: string;
2988
2986
  id: string;
2987
+ label: string;
2988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
2989
  capture: "at_action" | "historical_lookup" | "fixture";
2990
2990
  locator?: string | undefined;
2991
2991
  }[];
@@ -2998,9 +2998,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2998
2998
  statement: string;
2999
2999
  rationale: string;
3000
3000
  evidence: {
3001
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3002
- label: string;
3003
3001
  id: string;
3002
+ label: string;
3003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
3004
  capture: "at_action" | "historical_lookup" | "fixture";
3005
3005
  locator?: string | undefined;
3006
3006
  }[];
@@ -3012,25 +3012,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3012
3012
  } | {
3013
3013
  kind: "correction_approved";
3014
3014
  evidence: {
3015
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
- label: string;
3017
3015
  id: string;
3016
+ label: string;
3017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3018
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3019
  locator?: string | undefined;
3020
3020
  }[];
3021
3021
  correctionId: string;
3022
3022
  approvedBy: {
3023
- kind: "agent" | "human";
3024
- label: string;
3025
3023
  id: string;
3024
+ label: string;
3025
+ kind: "agent" | "human";
3026
3026
  };
3027
3027
  note?: string | undefined;
3028
3028
  } | {
3029
3029
  kind: "decision_superseded";
3030
3030
  evidence: {
3031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
- label: string;
3033
3031
  id: string;
3032
+ label: string;
3033
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
3034
  capture: "at_action" | "historical_lookup" | "fixture";
3035
3035
  locator?: string | undefined;
3036
3036
  }[];
@@ -3043,9 +3043,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3043
3043
  agentId: string;
3044
3044
  sessionId: string;
3045
3045
  evidence: {
3046
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
- label: string;
3048
3046
  id: string;
3047
+ label: string;
3048
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3049
  capture: "at_action" | "historical_lookup" | "fixture";
3050
3050
  locator?: string | undefined;
3051
3051
  }[];
@@ -3057,9 +3057,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3057
3057
  agentId: string;
3058
3058
  sessionId: string;
3059
3059
  evidence: {
3060
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3061
- label: string;
3062
3060
  id: string;
3061
+ label: string;
3062
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3063
3063
  capture: "at_action" | "historical_lookup" | "fixture";
3064
3064
  locator?: string | undefined;
3065
3065
  }[];
@@ -3068,13 +3068,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3068
3068
  recallReceiptId: string;
3069
3069
  staleDecisionAbsent: boolean;
3070
3070
  } | {
3071
- kind: "mission_completed";
3072
3071
  summary: string;
3072
+ kind: "mission_completed";
3073
3073
  outcome: "failed" | "recovered" | "inconclusive";
3074
3074
  evidence: {
3075
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3076
- label: string;
3077
3075
  id: string;
3076
+ label: string;
3077
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3078
  capture: "at_action" | "historical_lookup" | "fixture";
3079
3079
  locator?: string | undefined;
3080
3080
  }[];
@@ -3084,37 +3084,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3084
3084
  objective: string;
3085
3085
  runMode: "replay" | "fixture" | "live";
3086
3086
  evidence?: {
3087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
- label: string;
3089
3087
  id: string;
3088
+ label: string;
3089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
3090
  capture: "at_action" | "historical_lookup" | "fixture";
3091
3091
  locator?: string | undefined;
3092
3092
  }[] | undefined;
3093
3093
  } | {
3094
- kind: "agent_status";
3095
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3096
3094
  label: string;
3095
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3096
+ kind: "agent_status";
3097
3097
  role: string;
3098
3098
  agentId: string;
3099
3099
  sessionId: string;
3100
3100
  detail?: string | undefined;
3101
3101
  evidence?: {
3102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
- label: string;
3104
3102
  id: string;
3103
+ label: string;
3104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
3105
  capture: "at_action" | "historical_lookup" | "fixture";
3106
3106
  locator?: string | undefined;
3107
3107
  }[] | undefined;
3108
3108
  } | {
3109
- kind: "agent_output";
3110
3109
  summary: string;
3110
+ kind: "agent_output";
3111
3111
  agentId: string;
3112
3112
  sessionId: string;
3113
3113
  outputId: string;
3114
3114
  evidence?: {
3115
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
- label: string;
3117
3115
  id: string;
3116
+ label: string;
3117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
3118
  capture: "at_action" | "historical_lookup" | "fixture";
3119
3119
  locator?: string | undefined;
3120
3120
  }[] | undefined;
@@ -3127,37 +3127,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3127
3127
  decisionId: string;
3128
3128
  confidence?: number | undefined;
3129
3129
  evidence?: {
3130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
- label: string;
3132
3130
  id: string;
3131
+ label: string;
3132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
3133
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3134
  locator?: string | undefined;
3135
3135
  }[] | undefined;
3136
3136
  } | {
3137
- kind: "conflict_detected";
3138
3137
  summary: string;
3138
+ kind: "conflict_detected";
3139
3139
  conflictId: string;
3140
3140
  decisionIds: string[];
3141
3141
  agentIds: string[];
3142
3142
  evidence?: {
3143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3144
- label: string;
3145
3143
  id: string;
3144
+ label: string;
3145
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
3146
  capture: "at_action" | "historical_lookup" | "fixture";
3147
3147
  locator?: string | undefined;
3148
3148
  }[] | undefined;
3149
3149
  } | {
3150
- kind: "test_result";
3151
3150
  summary: string;
3152
3151
  status: "error" | "failed" | "passed";
3152
+ kind: "test_result";
3153
3153
  command: string;
3154
3154
  decisionId: string;
3155
3155
  testId: string;
3156
3156
  durationMs?: number | undefined;
3157
3157
  evidence?: {
3158
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3159
- label: string;
3160
3158
  id: string;
3159
+ label: string;
3160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
3161
  capture: "at_action" | "historical_lookup" | "fixture";
3162
3162
  locator?: string | undefined;
3163
3163
  }[] | undefined;
@@ -3172,9 +3172,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3172
3172
  supersedesDecisionIds: string[];
3173
3173
  proposedBy: string;
3174
3174
  evidence?: {
3175
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
- label: string;
3177
3175
  id: string;
3176
+ label: string;
3177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3178
3178
  capture: "at_action" | "historical_lookup" | "fixture";
3179
3179
  locator?: string | undefined;
3180
3180
  }[] | undefined;
@@ -3182,15 +3182,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3182
3182
  kind: "correction_approved";
3183
3183
  correctionId: string;
3184
3184
  approvedBy: {
3185
- kind: "agent" | "human";
3186
- label: string;
3187
3185
  id: string;
3186
+ label: string;
3187
+ kind: "agent" | "human";
3188
3188
  };
3189
3189
  note?: string | undefined;
3190
3190
  evidence?: {
3191
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
- label: string;
3193
3191
  id: string;
3192
+ label: string;
3193
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3194
  capture: "at_action" | "historical_lookup" | "fixture";
3195
3195
  locator?: string | undefined;
3196
3196
  }[] | undefined;
@@ -3200,9 +3200,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3200
3200
  correctionId: string;
3201
3201
  replacementDecisionId: string;
3202
3202
  evidence?: {
3203
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
- label: string;
3205
3203
  id: string;
3204
+ label: string;
3205
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3206
  capture: "at_action" | "historical_lookup" | "fixture";
3207
3207
  locator?: string | undefined;
3208
3208
  }[] | undefined;
@@ -3215,9 +3215,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3215
3215
  recallReceiptId: string;
3216
3216
  capturedAtAction: boolean;
3217
3217
  evidence?: {
3218
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
- label: string;
3220
3218
  id: string;
3219
+ label: string;
3220
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3221
3221
  capture: "at_action" | "historical_lookup" | "fixture";
3222
3222
  locator?: string | undefined;
3223
3223
  }[] | undefined;
@@ -3230,20 +3230,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3230
3230
  recallReceiptId: string;
3231
3231
  staleDecisionAbsent: boolean;
3232
3232
  evidence?: {
3233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
- label: string;
3235
3233
  id: string;
3234
+ label: string;
3235
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
3236
  capture: "at_action" | "historical_lookup" | "fixture";
3237
3237
  locator?: string | undefined;
3238
3238
  }[] | undefined;
3239
3239
  } | {
3240
- kind: "mission_completed";
3241
3240
  summary: string;
3241
+ kind: "mission_completed";
3242
3242
  outcome: "failed" | "recovered" | "inconclusive";
3243
3243
  evidence?: {
3244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
- label: string;
3246
3244
  id: string;
3245
+ label: string;
3246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3247
  capture: "at_action" | "historical_lookup" | "fixture";
3248
3248
  locator?: string | undefined;
3249
3249
  }[] | undefined;
@@ -3253,38 +3253,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3253
3253
  kind: "mission_started";
3254
3254
  title: string;
3255
3255
  evidence: {
3256
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3257
- label: string;
3258
3256
  id: string;
3257
+ label: string;
3258
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3259
3259
  capture: "at_action" | "historical_lookup" | "fixture";
3260
3260
  locator?: string | undefined;
3261
3261
  }[];
3262
3262
  objective: string;
3263
3263
  runMode: "replay" | "fixture" | "live";
3264
3264
  } | {
3265
- kind: "agent_status";
3266
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3267
3265
  label: string;
3266
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3267
+ kind: "agent_status";
3268
3268
  role: string;
3269
3269
  agentId: string;
3270
3270
  sessionId: string;
3271
3271
  evidence: {
3272
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3273
- label: string;
3274
3272
  id: string;
3273
+ label: string;
3274
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3275
3275
  capture: "at_action" | "historical_lookup" | "fixture";
3276
3276
  locator?: string | undefined;
3277
3277
  }[];
3278
3278
  detail?: string | undefined;
3279
3279
  } | {
3280
- kind: "agent_output";
3281
3280
  summary: string;
3281
+ kind: "agent_output";
3282
3282
  agentId: string;
3283
3283
  sessionId: string;
3284
3284
  evidence: {
3285
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
- label: string;
3287
3285
  id: string;
3286
+ label: string;
3287
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3288
3288
  capture: "at_action" | "historical_lookup" | "fixture";
3289
3289
  locator?: string | undefined;
3290
3290
  }[];
@@ -3295,9 +3295,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3295
3295
  statement: string;
3296
3296
  sessionId: string;
3297
3297
  evidence: {
3298
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3299
- label: string;
3300
3298
  id: string;
3299
+ label: string;
3300
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3301
3301
  capture: "at_action" | "historical_lookup" | "fixture";
3302
3302
  locator?: string | undefined;
3303
3303
  }[];
@@ -3305,12 +3305,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3305
3305
  decisionId: string;
3306
3306
  confidence?: number | undefined;
3307
3307
  } | {
3308
- kind: "conflict_detected";
3309
3308
  summary: string;
3309
+ kind: "conflict_detected";
3310
3310
  evidence: {
3311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3312
- label: string;
3313
3311
  id: string;
3312
+ label: string;
3313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3314
3314
  capture: "at_action" | "historical_lookup" | "fixture";
3315
3315
  locator?: string | undefined;
3316
3316
  }[];
@@ -3318,14 +3318,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3318
3318
  decisionIds: string[];
3319
3319
  agentIds: string[];
3320
3320
  } | {
3321
- kind: "test_result";
3322
3321
  summary: string;
3323
3322
  status: "error" | "failed" | "passed";
3323
+ kind: "test_result";
3324
3324
  command: string;
3325
3325
  evidence: {
3326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
- label: string;
3328
3326
  id: string;
3327
+ label: string;
3328
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3329
3329
  capture: "at_action" | "historical_lookup" | "fixture";
3330
3330
  locator?: string | undefined;
3331
3331
  }[];
@@ -3338,9 +3338,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3338
3338
  statement: string;
3339
3339
  rationale: string;
3340
3340
  evidence: {
3341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
- label: string;
3343
3341
  id: string;
3342
+ label: string;
3343
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3344
  capture: "at_action" | "historical_lookup" | "fixture";
3345
3345
  locator?: string | undefined;
3346
3346
  }[];
@@ -3352,25 +3352,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3352
3352
  } | {
3353
3353
  kind: "correction_approved";
3354
3354
  evidence: {
3355
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
- label: string;
3357
3355
  id: string;
3356
+ label: string;
3357
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
3358
  capture: "at_action" | "historical_lookup" | "fixture";
3359
3359
  locator?: string | undefined;
3360
3360
  }[];
3361
3361
  correctionId: string;
3362
3362
  approvedBy: {
3363
- kind: "agent" | "human";
3364
- label: string;
3365
3363
  id: string;
3364
+ label: string;
3365
+ kind: "agent" | "human";
3366
3366
  };
3367
3367
  note?: string | undefined;
3368
3368
  } | {
3369
3369
  kind: "decision_superseded";
3370
3370
  evidence: {
3371
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
- label: string;
3373
3371
  id: string;
3372
+ label: string;
3373
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
3374
  capture: "at_action" | "historical_lookup" | "fixture";
3375
3375
  locator?: string | undefined;
3376
3376
  }[];
@@ -3383,9 +3383,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3383
3383
  agentId: string;
3384
3384
  sessionId: string;
3385
3385
  evidence: {
3386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
- label: string;
3388
3386
  id: string;
3387
+ label: string;
3388
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
3389
  capture: "at_action" | "historical_lookup" | "fixture";
3390
3390
  locator?: string | undefined;
3391
3391
  }[];
@@ -3397,9 +3397,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3397
3397
  agentId: string;
3398
3398
  sessionId: string;
3399
3399
  evidence: {
3400
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3401
- label: string;
3402
3400
  id: string;
3401
+ label: string;
3402
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3403
3403
  capture: "at_action" | "historical_lookup" | "fixture";
3404
3404
  locator?: string | undefined;
3405
3405
  }[];
@@ -3408,13 +3408,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3408
3408
  recallReceiptId: string;
3409
3409
  staleDecisionAbsent: boolean;
3410
3410
  } | {
3411
- kind: "mission_completed";
3412
3411
  summary: string;
3412
+ kind: "mission_completed";
3413
3413
  outcome: "failed" | "recovered" | "inconclusive";
3414
3414
  evidence: {
3415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
- label: string;
3417
3415
  id: string;
3416
+ label: string;
3417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3418
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3419
  locator?: string | undefined;
3420
3420
  }[];
@@ -3428,37 +3428,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3428
3428
  objective: string;
3429
3429
  runMode: "replay" | "fixture" | "live";
3430
3430
  evidence?: {
3431
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3432
- label: string;
3433
3431
  id: string;
3432
+ label: string;
3433
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3434
3434
  capture: "at_action" | "historical_lookup" | "fixture";
3435
3435
  locator?: string | undefined;
3436
3436
  }[] | undefined;
3437
3437
  } | {
3438
- kind: "agent_status";
3439
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3440
3438
  label: string;
3439
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3440
+ kind: "agent_status";
3441
3441
  role: string;
3442
3442
  agentId: string;
3443
3443
  sessionId: string;
3444
3444
  detail?: string | undefined;
3445
3445
  evidence?: {
3446
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
- label: string;
3448
3446
  id: string;
3447
+ label: string;
3448
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3449
3449
  capture: "at_action" | "historical_lookup" | "fixture";
3450
3450
  locator?: string | undefined;
3451
3451
  }[] | undefined;
3452
3452
  } | {
3453
- kind: "agent_output";
3454
3453
  summary: string;
3454
+ kind: "agent_output";
3455
3455
  agentId: string;
3456
3456
  sessionId: string;
3457
3457
  outputId: string;
3458
3458
  evidence?: {
3459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
- label: string;
3461
3459
  id: string;
3460
+ label: string;
3461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3462
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3463
  locator?: string | undefined;
3464
3464
  }[] | undefined;
@@ -3471,37 +3471,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3471
3471
  decisionId: string;
3472
3472
  confidence?: number | undefined;
3473
3473
  evidence?: {
3474
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
- label: string;
3476
3474
  id: string;
3475
+ label: string;
3476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3477
3477
  capture: "at_action" | "historical_lookup" | "fixture";
3478
3478
  locator?: string | undefined;
3479
3479
  }[] | undefined;
3480
3480
  } | {
3481
- kind: "conflict_detected";
3482
3481
  summary: string;
3482
+ kind: "conflict_detected";
3483
3483
  conflictId: string;
3484
3484
  decisionIds: string[];
3485
3485
  agentIds: string[];
3486
3486
  evidence?: {
3487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
- label: string;
3489
3487
  id: string;
3488
+ label: string;
3489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3490
  capture: "at_action" | "historical_lookup" | "fixture";
3491
3491
  locator?: string | undefined;
3492
3492
  }[] | undefined;
3493
3493
  } | {
3494
- kind: "test_result";
3495
3494
  summary: string;
3496
3495
  status: "error" | "failed" | "passed";
3496
+ kind: "test_result";
3497
3497
  command: string;
3498
3498
  decisionId: string;
3499
3499
  testId: string;
3500
3500
  durationMs?: number | undefined;
3501
3501
  evidence?: {
3502
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
- label: string;
3504
3502
  id: string;
3503
+ label: string;
3504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3505
3505
  capture: "at_action" | "historical_lookup" | "fixture";
3506
3506
  locator?: string | undefined;
3507
3507
  }[] | undefined;
@@ -3516,9 +3516,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3516
3516
  supersedesDecisionIds: string[];
3517
3517
  proposedBy: string;
3518
3518
  evidence?: {
3519
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
- label: string;
3521
3519
  id: string;
3520
+ label: string;
3521
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3522
3522
  capture: "at_action" | "historical_lookup" | "fixture";
3523
3523
  locator?: string | undefined;
3524
3524
  }[] | undefined;
@@ -3526,15 +3526,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3526
3526
  kind: "correction_approved";
3527
3527
  correctionId: string;
3528
3528
  approvedBy: {
3529
- kind: "agent" | "human";
3530
- label: string;
3531
3529
  id: string;
3530
+ label: string;
3531
+ kind: "agent" | "human";
3532
3532
  };
3533
3533
  note?: string | undefined;
3534
3534
  evidence?: {
3535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
- label: string;
3537
3535
  id: string;
3536
+ label: string;
3537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
3538
  capture: "at_action" | "historical_lookup" | "fixture";
3539
3539
  locator?: string | undefined;
3540
3540
  }[] | undefined;
@@ -3544,9 +3544,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3544
3544
  correctionId: string;
3545
3545
  replacementDecisionId: string;
3546
3546
  evidence?: {
3547
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
- label: string;
3549
3547
  id: string;
3548
+ label: string;
3549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3550
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3551
  locator?: string | undefined;
3552
3552
  }[] | undefined;
@@ -3559,9 +3559,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3559
3559
  recallReceiptId: string;
3560
3560
  capturedAtAction: boolean;
3561
3561
  evidence?: {
3562
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
- label: string;
3564
3562
  id: string;
3563
+ label: string;
3564
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
3565
  capture: "at_action" | "historical_lookup" | "fixture";
3566
3566
  locator?: string | undefined;
3567
3567
  }[] | undefined;
@@ -3574,20 +3574,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3574
3574
  recallReceiptId: string;
3575
3575
  staleDecisionAbsent: boolean;
3576
3576
  evidence?: {
3577
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3578
- label: string;
3579
3577
  id: string;
3578
+ label: string;
3579
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
3580
  capture: "at_action" | "historical_lookup" | "fixture";
3581
3581
  locator?: string | undefined;
3582
3582
  }[] | undefined;
3583
3583
  } | {
3584
- kind: "mission_completed";
3585
3584
  summary: string;
3585
+ kind: "mission_completed";
3586
3586
  outcome: "failed" | "recovered" | "inconclusive";
3587
3587
  evidence?: {
3588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
- label: string;
3590
3588
  id: string;
3589
+ label: string;
3590
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
3591
  capture: "at_action" | "historical_lookup" | "fixture";
3592
3592
  locator?: string | undefined;
3593
3593
  }[] | undefined;
@@ -3617,15 +3617,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3617
3617
  locator: z.ZodOptional<z.ZodString>;
3618
3618
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3619
3619
  }, "strict", z.ZodTypeAny, {
3620
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
- label: string;
3622
3620
  id: string;
3621
+ label: string;
3622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3623
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3624
  locator?: string | undefined;
3625
3625
  }, {
3626
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
- label: string;
3628
3626
  id: string;
3627
+ label: string;
3628
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3629
3629
  capture: "at_action" | "historical_lookup" | "fixture";
3630
3630
  locator?: string | undefined;
3631
3631
  }>, "many">>;
@@ -3633,9 +3633,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3633
3633
  kind: "mission_started";
3634
3634
  title: string;
3635
3635
  evidence: {
3636
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
- label: string;
3638
3636
  id: string;
3637
+ label: string;
3638
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
3639
  capture: "at_action" | "historical_lookup" | "fixture";
3640
3640
  locator?: string | undefined;
3641
3641
  }[];
@@ -3647,9 +3647,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3647
3647
  objective: string;
3648
3648
  runMode: "replay" | "fixture" | "live";
3649
3649
  evidence?: {
3650
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
- label: string;
3652
3650
  id: string;
3651
+ label: string;
3652
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3653
3653
  capture: "at_action" | "historical_lookup" | "fixture";
3654
3654
  locator?: string | undefined;
3655
3655
  }[] | undefined;
@@ -3665,15 +3665,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3665
3665
  locator: z.ZodOptional<z.ZodString>;
3666
3666
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3667
3667
  }, "strict", z.ZodTypeAny, {
3668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
- label: string;
3670
3668
  id: string;
3669
+ label: string;
3670
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3671
  capture: "at_action" | "historical_lookup" | "fixture";
3672
3672
  locator?: string | undefined;
3673
3673
  }, {
3674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
- label: string;
3676
3674
  id: string;
3675
+ label: string;
3676
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3677
3677
  capture: "at_action" | "historical_lookup" | "fixture";
3678
3678
  locator?: string | undefined;
3679
3679
  }>, "many">>;
@@ -3681,32 +3681,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3681
3681
  sessionId: z.ZodString;
3682
3682
  kind: z.ZodLiteral<"agent_status">;
3683
3683
  }, "strict", z.ZodTypeAny, {
3684
- kind: "agent_status";
3685
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3686
3684
  label: string;
3685
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3686
+ kind: "agent_status";
3687
3687
  role: string;
3688
3688
  agentId: string;
3689
3689
  sessionId: string;
3690
3690
  evidence: {
3691
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
- label: string;
3693
3691
  id: string;
3692
+ label: string;
3693
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3694
3694
  capture: "at_action" | "historical_lookup" | "fixture";
3695
3695
  locator?: string | undefined;
3696
3696
  }[];
3697
3697
  detail?: string | undefined;
3698
3698
  }, {
3699
- kind: "agent_status";
3700
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3701
3699
  label: string;
3700
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3701
+ kind: "agent_status";
3702
3702
  role: string;
3703
3703
  agentId: string;
3704
3704
  sessionId: string;
3705
3705
  detail?: string | undefined;
3706
3706
  evidence?: {
3707
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
- label: string;
3709
3707
  id: string;
3708
+ label: string;
3709
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3710
3710
  capture: "at_action" | "historical_lookup" | "fixture";
3711
3711
  locator?: string | undefined;
3712
3712
  }[] | undefined;
@@ -3720,15 +3720,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3720
3720
  locator: z.ZodOptional<z.ZodString>;
3721
3721
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3722
3722
  }, "strict", z.ZodTypeAny, {
3723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
- label: string;
3725
3723
  id: string;
3724
+ label: string;
3725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3726
  capture: "at_action" | "historical_lookup" | "fixture";
3727
3727
  locator?: string | undefined;
3728
3728
  }, {
3729
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
- label: string;
3731
3729
  id: string;
3730
+ label: string;
3731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3733
  locator?: string | undefined;
3734
3734
  }>, "many">>;
@@ -3736,28 +3736,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3736
3736
  sessionId: z.ZodString;
3737
3737
  kind: z.ZodLiteral<"agent_output">;
3738
3738
  }, "strict", z.ZodTypeAny, {
3739
- kind: "agent_output";
3740
3739
  summary: string;
3740
+ kind: "agent_output";
3741
3741
  agentId: string;
3742
3742
  sessionId: string;
3743
3743
  evidence: {
3744
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
- label: string;
3746
3744
  id: string;
3745
+ label: string;
3746
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
3747
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3748
  locator?: string | undefined;
3749
3749
  }[];
3750
3750
  outputId: string;
3751
3751
  }, {
3752
- kind: "agent_output";
3753
3752
  summary: string;
3753
+ kind: "agent_output";
3754
3754
  agentId: string;
3755
3755
  sessionId: string;
3756
3756
  outputId: string;
3757
3757
  evidence?: {
3758
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
- label: string;
3760
3758
  id: string;
3759
+ label: string;
3760
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
3761
  capture: "at_action" | "historical_lookup" | "fixture";
3762
3762
  locator?: string | undefined;
3763
3763
  }[] | undefined;
@@ -3773,15 +3773,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3773
3773
  locator: z.ZodOptional<z.ZodString>;
3774
3774
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3775
3775
  }, "strict", z.ZodTypeAny, {
3776
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
- label: string;
3778
3776
  id: string;
3777
+ label: string;
3778
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3779
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3780
  locator?: string | undefined;
3781
3781
  }, {
3782
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
- label: string;
3784
3782
  id: string;
3783
+ label: string;
3784
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3785
3785
  capture: "at_action" | "historical_lookup" | "fixture";
3786
3786
  locator?: string | undefined;
3787
3787
  }>, "many">>;
@@ -3794,9 +3794,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3794
3794
  statement: string;
3795
3795
  sessionId: string;
3796
3796
  evidence: {
3797
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3798
- label: string;
3799
3797
  id: string;
3798
+ label: string;
3799
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3800
3800
  capture: "at_action" | "historical_lookup" | "fixture";
3801
3801
  locator?: string | undefined;
3802
3802
  }[];
@@ -3812,9 +3812,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3812
3812
  decisionId: string;
3813
3813
  confidence?: number | undefined;
3814
3814
  evidence?: {
3815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
- label: string;
3817
3815
  id: string;
3816
+ label: string;
3817
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
3818
  capture: "at_action" | "historical_lookup" | "fixture";
3819
3819
  locator?: string | undefined;
3820
3820
  }[] | undefined;
@@ -3831,25 +3831,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3831
3831
  locator: z.ZodOptional<z.ZodString>;
3832
3832
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3833
3833
  }, "strict", z.ZodTypeAny, {
3834
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
- label: string;
3836
3834
  id: string;
3835
+ label: string;
3836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3838
  locator?: string | undefined;
3839
3839
  }, {
3840
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
- label: string;
3842
3840
  id: string;
3841
+ label: string;
3842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3843
3843
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3844
  locator?: string | undefined;
3845
3845
  }>, "many">>;
3846
3846
  }, "strict", z.ZodTypeAny, {
3847
- kind: "conflict_detected";
3848
3847
  summary: string;
3848
+ kind: "conflict_detected";
3849
3849
  evidence: {
3850
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
- label: string;
3852
3850
  id: string;
3851
+ label: string;
3852
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3853
3853
  capture: "at_action" | "historical_lookup" | "fixture";
3854
3854
  locator?: string | undefined;
3855
3855
  }[];
@@ -3857,15 +3857,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3857
3857
  decisionIds: string[];
3858
3858
  agentIds: string[];
3859
3859
  }, {
3860
- kind: "conflict_detected";
3861
3860
  summary: string;
3861
+ kind: "conflict_detected";
3862
3862
  conflictId: string;
3863
3863
  decisionIds: string[];
3864
3864
  agentIds: string[];
3865
3865
  evidence?: {
3866
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3867
- label: string;
3868
3866
  id: string;
3867
+ label: string;
3868
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
3869
  capture: "at_action" | "historical_lookup" | "fixture";
3870
3870
  locator?: string | undefined;
3871
3871
  }[] | undefined;
@@ -3885,27 +3885,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3885
3885
  locator: z.ZodOptional<z.ZodString>;
3886
3886
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3887
3887
  }, "strict", z.ZodTypeAny, {
3888
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
- label: string;
3890
3888
  id: string;
3889
+ label: string;
3890
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3891
  capture: "at_action" | "historical_lookup" | "fixture";
3892
3892
  locator?: string | undefined;
3893
3893
  }, {
3894
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
- label: string;
3896
3894
  id: string;
3895
+ label: string;
3896
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3897
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3898
  locator?: string | undefined;
3899
3899
  }>, "many">>;
3900
3900
  }, "strict", z.ZodTypeAny, {
3901
- kind: "test_result";
3902
3901
  summary: string;
3903
3902
  status: "error" | "failed" | "passed";
3903
+ kind: "test_result";
3904
3904
  command: string;
3905
3905
  evidence: {
3906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
- label: string;
3908
3906
  id: string;
3907
+ label: string;
3908
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3909
3909
  capture: "at_action" | "historical_lookup" | "fixture";
3910
3910
  locator?: string | undefined;
3911
3911
  }[];
@@ -3914,17 +3914,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3914
3914
  durationMs?: number | undefined;
3915
3915
  correctionId?: string | undefined;
3916
3916
  }, {
3917
- kind: "test_result";
3918
3917
  summary: string;
3919
3918
  status: "error" | "failed" | "passed";
3919
+ kind: "test_result";
3920
3920
  command: string;
3921
3921
  decisionId: string;
3922
3922
  testId: string;
3923
3923
  durationMs?: number | undefined;
3924
3924
  evidence?: {
3925
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3926
- label: string;
3927
3925
  id: string;
3926
+ label: string;
3927
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3928
3928
  capture: "at_action" | "historical_lookup" | "fixture";
3929
3929
  locator?: string | undefined;
3930
3930
  }[] | undefined;
@@ -3945,15 +3945,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3945
3945
  locator: z.ZodOptional<z.ZodString>;
3946
3946
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3947
3947
  }, "strict", z.ZodTypeAny, {
3948
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
- label: string;
3950
3948
  id: string;
3949
+ label: string;
3950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3951
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3952
  locator?: string | undefined;
3953
3953
  }, {
3954
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
- label: string;
3956
3954
  id: string;
3955
+ label: string;
3956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
3957
  capture: "at_action" | "historical_lookup" | "fixture";
3958
3958
  locator?: string | undefined;
3959
3959
  }>, "many">>;
@@ -3962,9 +3962,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3962
3962
  statement: string;
3963
3963
  rationale: string;
3964
3964
  evidence: {
3965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
- label: string;
3967
3965
  id: string;
3966
+ label: string;
3967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3968
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3969
  locator?: string | undefined;
3970
3970
  }[];
@@ -3983,9 +3983,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3983
3983
  supersedesDecisionIds: string[];
3984
3984
  proposedBy: string;
3985
3985
  evidence?: {
3986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
- label: string;
3988
3986
  id: string;
3987
+ label: string;
3988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
3989
  capture: "at_action" | "historical_lookup" | "fixture";
3990
3990
  locator?: string | undefined;
3991
3991
  }[] | undefined;
@@ -3997,13 +3997,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3997
3997
  id: z.ZodString;
3998
3998
  label: z.ZodString;
3999
3999
  }, "strict", z.ZodTypeAny, {
4000
- kind: "agent" | "human";
4001
- label: string;
4002
4000
  id: string;
4003
- }, {
4004
- kind: "agent" | "human";
4005
4001
  label: string;
4002
+ kind: "agent" | "human";
4003
+ }, {
4006
4004
  id: string;
4005
+ label: string;
4006
+ kind: "agent" | "human";
4007
4007
  }>;
4008
4008
  note: z.ZodOptional<z.ZodString>;
4009
4009
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4013,47 +4013,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4013
4013
  locator: z.ZodOptional<z.ZodString>;
4014
4014
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4015
4015
  }, "strict", z.ZodTypeAny, {
4016
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4017
- label: string;
4018
4016
  id: string;
4017
+ label: string;
4018
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4019
  capture: "at_action" | "historical_lookup" | "fixture";
4020
4020
  locator?: string | undefined;
4021
4021
  }, {
4022
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
- label: string;
4024
4022
  id: string;
4023
+ label: string;
4024
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4025
4025
  capture: "at_action" | "historical_lookup" | "fixture";
4026
4026
  locator?: string | undefined;
4027
4027
  }>, "many">>;
4028
4028
  }, "strict", z.ZodTypeAny, {
4029
4029
  kind: "correction_approved";
4030
4030
  evidence: {
4031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
- label: string;
4033
4031
  id: string;
4032
+ label: string;
4033
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4034
4034
  capture: "at_action" | "historical_lookup" | "fixture";
4035
4035
  locator?: string | undefined;
4036
4036
  }[];
4037
4037
  correctionId: string;
4038
4038
  approvedBy: {
4039
- kind: "agent" | "human";
4040
- label: string;
4041
4039
  id: string;
4040
+ label: string;
4041
+ kind: "agent" | "human";
4042
4042
  };
4043
4043
  note?: string | undefined;
4044
4044
  }, {
4045
4045
  kind: "correction_approved";
4046
4046
  correctionId: string;
4047
4047
  approvedBy: {
4048
- kind: "agent" | "human";
4049
- label: string;
4050
4048
  id: string;
4049
+ label: string;
4050
+ kind: "agent" | "human";
4051
4051
  };
4052
4052
  note?: string | undefined;
4053
4053
  evidence?: {
4054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
- label: string;
4056
4054
  id: string;
4055
+ label: string;
4056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4057
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4058
  locator?: string | undefined;
4059
4059
  }[] | undefined;
@@ -4069,24 +4069,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4069
4069
  locator: z.ZodOptional<z.ZodString>;
4070
4070
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4071
4071
  }, "strict", z.ZodTypeAny, {
4072
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
- label: string;
4074
4072
  id: string;
4073
+ label: string;
4074
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4075
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4076
  locator?: string | undefined;
4077
4077
  }, {
4078
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
- label: string;
4080
4078
  id: string;
4079
+ label: string;
4080
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
4081
  capture: "at_action" | "historical_lookup" | "fixture";
4082
4082
  locator?: string | undefined;
4083
4083
  }>, "many">>;
4084
4084
  }, "strict", z.ZodTypeAny, {
4085
4085
  kind: "decision_superseded";
4086
4086
  evidence: {
4087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
- label: string;
4089
4087
  id: string;
4088
+ label: string;
4089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4090
4090
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4091
  locator?: string | undefined;
4092
4092
  }[];
@@ -4099,9 +4099,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4099
4099
  correctionId: string;
4100
4100
  replacementDecisionId: string;
4101
4101
  evidence?: {
4102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
- label: string;
4104
4102
  id: string;
4103
+ label: string;
4104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
4105
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4106
  locator?: string | undefined;
4107
4107
  }[] | undefined;
@@ -4117,15 +4117,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4117
4117
  locator: z.ZodOptional<z.ZodString>;
4118
4118
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4119
4119
  }, "strict", z.ZodTypeAny, {
4120
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
- label: string;
4122
4120
  id: string;
4121
+ label: string;
4122
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4123
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4124
  locator?: string | undefined;
4125
4125
  }, {
4126
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
- label: string;
4128
4126
  id: string;
4127
+ label: string;
4128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
4129
  capture: "at_action" | "historical_lookup" | "fixture";
4130
4130
  locator?: string | undefined;
4131
4131
  }>, "many">>;
@@ -4138,9 +4138,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4138
4138
  agentId: string;
4139
4139
  sessionId: string;
4140
4140
  evidence: {
4141
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4142
- label: string;
4143
4141
  id: string;
4142
+ label: string;
4143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
4144
  capture: "at_action" | "historical_lookup" | "fixture";
4145
4145
  locator?: string | undefined;
4146
4146
  }[];
@@ -4156,9 +4156,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4156
4156
  recallReceiptId: string;
4157
4157
  capturedAtAction: boolean;
4158
4158
  evidence?: {
4159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
- label: string;
4161
4159
  id: string;
4160
+ label: string;
4161
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4162
4162
  capture: "at_action" | "historical_lookup" | "fixture";
4163
4163
  locator?: string | undefined;
4164
4164
  }[] | undefined;
@@ -4174,15 +4174,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4174
4174
  locator: z.ZodOptional<z.ZodString>;
4175
4175
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4176
4176
  }, "strict", z.ZodTypeAny, {
4177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
- label: string;
4179
4177
  id: string;
4178
+ label: string;
4179
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4180
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4181
  locator?: string | undefined;
4182
4182
  }, {
4183
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
- label: string;
4185
4183
  id: string;
4184
+ label: string;
4185
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4186
  capture: "at_action" | "historical_lookup" | "fixture";
4187
4187
  locator?: string | undefined;
4188
4188
  }>, "many">>;
@@ -4194,9 +4194,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4194
4194
  agentId: string;
4195
4195
  sessionId: string;
4196
4196
  evidence: {
4197
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4198
- label: string;
4199
4197
  id: string;
4198
+ label: string;
4199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
4200
  capture: "at_action" | "historical_lookup" | "fixture";
4201
4201
  locator?: string | undefined;
4202
4202
  }[];
@@ -4213,9 +4213,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4213
4213
  recallReceiptId: string;
4214
4214
  staleDecisionAbsent: boolean;
4215
4215
  evidence?: {
4216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
- label: string;
4218
4216
  id: string;
4217
+ label: string;
4218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4219
4219
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4220
  locator?: string | undefined;
4221
4221
  }[] | undefined;
@@ -4230,37 +4230,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4230
4230
  locator: z.ZodOptional<z.ZodString>;
4231
4231
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4232
4232
  }, "strict", z.ZodTypeAny, {
4233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4234
- label: string;
4235
4233
  id: string;
4234
+ label: string;
4235
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4236
  capture: "at_action" | "historical_lookup" | "fixture";
4237
4237
  locator?: string | undefined;
4238
4238
  }, {
4239
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4240
- label: string;
4241
4239
  id: string;
4240
+ label: string;
4241
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
4242
  capture: "at_action" | "historical_lookup" | "fixture";
4243
4243
  locator?: string | undefined;
4244
4244
  }>, "many">>;
4245
4245
  }, "strict", z.ZodTypeAny, {
4246
- kind: "mission_completed";
4247
4246
  summary: string;
4247
+ kind: "mission_completed";
4248
4248
  outcome: "failed" | "recovered" | "inconclusive";
4249
4249
  evidence: {
4250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
- label: string;
4252
4250
  id: string;
4251
+ label: string;
4252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
4253
  capture: "at_action" | "historical_lookup" | "fixture";
4254
4254
  locator?: string | undefined;
4255
4255
  }[];
4256
4256
  }, {
4257
- kind: "mission_completed";
4258
4257
  summary: string;
4258
+ kind: "mission_completed";
4259
4259
  outcome: "failed" | "recovered" | "inconclusive";
4260
4260
  evidence?: {
4261
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
- label: string;
4263
4261
  id: string;
4262
+ label: string;
4263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
4264
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4265
  locator?: string | undefined;
4266
4266
  }[] | undefined;
@@ -4268,38 +4268,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4268
4268
  kind: "mission_started";
4269
4269
  title: string;
4270
4270
  evidence: {
4271
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
- label: string;
4273
4271
  id: string;
4272
+ label: string;
4273
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4275
4275
  locator?: string | undefined;
4276
4276
  }[];
4277
4277
  objective: string;
4278
4278
  runMode: "replay" | "fixture" | "live";
4279
4279
  } | {
4280
- kind: "agent_status";
4281
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4282
4280
  label: string;
4281
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4282
+ kind: "agent_status";
4283
4283
  role: string;
4284
4284
  agentId: string;
4285
4285
  sessionId: string;
4286
4286
  evidence: {
4287
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
- label: string;
4289
4287
  id: string;
4288
+ label: string;
4289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4290
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4291
  locator?: string | undefined;
4292
4292
  }[];
4293
4293
  detail?: string | undefined;
4294
4294
  } | {
4295
- kind: "agent_output";
4296
4295
  summary: string;
4296
+ kind: "agent_output";
4297
4297
  agentId: string;
4298
4298
  sessionId: string;
4299
4299
  evidence: {
4300
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
- label: string;
4302
4300
  id: string;
4301
+ label: string;
4302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
4303
  capture: "at_action" | "historical_lookup" | "fixture";
4304
4304
  locator?: string | undefined;
4305
4305
  }[];
@@ -4310,9 +4310,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4310
  statement: string;
4311
4311
  sessionId: string;
4312
4312
  evidence: {
4313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
- label: string;
4315
4313
  id: string;
4314
+ label: string;
4315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4317
  locator?: string | undefined;
4318
4318
  }[];
@@ -4320,12 +4320,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4320
4320
  decisionId: string;
4321
4321
  confidence?: number | undefined;
4322
4322
  } | {
4323
- kind: "conflict_detected";
4324
4323
  summary: string;
4324
+ kind: "conflict_detected";
4325
4325
  evidence: {
4326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
- label: string;
4328
4326
  id: string;
4327
+ label: string;
4328
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4330
4330
  locator?: string | undefined;
4331
4331
  }[];
@@ -4333,14 +4333,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4333
4333
  decisionIds: string[];
4334
4334
  agentIds: string[];
4335
4335
  } | {
4336
- kind: "test_result";
4337
4336
  summary: string;
4338
4337
  status: "error" | "failed" | "passed";
4338
+ kind: "test_result";
4339
4339
  command: string;
4340
4340
  evidence: {
4341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4342
- label: string;
4343
4341
  id: string;
4342
+ label: string;
4343
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
4344
  capture: "at_action" | "historical_lookup" | "fixture";
4345
4345
  locator?: string | undefined;
4346
4346
  }[];
@@ -4353,9 +4353,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4353
4353
  statement: string;
4354
4354
  rationale: string;
4355
4355
  evidence: {
4356
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
- label: string;
4358
4356
  id: string;
4357
+ label: string;
4358
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4359
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4360
4360
  locator?: string | undefined;
4361
4361
  }[];
@@ -4367,25 +4367,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4367
  } | {
4368
4368
  kind: "correction_approved";
4369
4369
  evidence: {
4370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
- label: string;
4372
4370
  id: string;
4371
+ label: string;
4372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4374
  locator?: string | undefined;
4375
4375
  }[];
4376
4376
  correctionId: string;
4377
4377
  approvedBy: {
4378
- kind: "agent" | "human";
4379
- label: string;
4380
4378
  id: string;
4379
+ label: string;
4380
+ kind: "agent" | "human";
4381
4381
  };
4382
4382
  note?: string | undefined;
4383
4383
  } | {
4384
4384
  kind: "decision_superseded";
4385
4385
  evidence: {
4386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
- label: string;
4388
4386
  id: string;
4387
+ label: string;
4388
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4390
  locator?: string | undefined;
4391
4391
  }[];
@@ -4398,9 +4398,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4398
4398
  agentId: string;
4399
4399
  sessionId: string;
4400
4400
  evidence: {
4401
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
- label: string;
4403
4401
  id: string;
4402
+ label: string;
4403
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4404
4404
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4405
  locator?: string | undefined;
4406
4406
  }[];
@@ -4412,9 +4412,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4412
4412
  agentId: string;
4413
4413
  sessionId: string;
4414
4414
  evidence: {
4415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
- label: string;
4417
4415
  id: string;
4416
+ label: string;
4417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4418
4418
  capture: "at_action" | "historical_lookup" | "fixture";
4419
4419
  locator?: string | undefined;
4420
4420
  }[];
@@ -4423,13 +4423,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4423
4423
  recallReceiptId: string;
4424
4424
  staleDecisionAbsent: boolean;
4425
4425
  } | {
4426
- kind: "mission_completed";
4427
4426
  summary: string;
4427
+ kind: "mission_completed";
4428
4428
  outcome: "failed" | "recovered" | "inconclusive";
4429
4429
  evidence: {
4430
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
- label: string;
4432
4430
  id: string;
4431
+ label: string;
4432
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4433
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4434
  locator?: string | undefined;
4435
4435
  }[];
@@ -4439,37 +4439,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4439
4439
  objective: string;
4440
4440
  runMode: "replay" | "fixture" | "live";
4441
4441
  evidence?: {
4442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
- label: string;
4444
4442
  id: string;
4443
+ label: string;
4444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
4445
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4446
  locator?: string | undefined;
4447
4447
  }[] | undefined;
4448
4448
  } | {
4449
- kind: "agent_status";
4450
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4451
4449
  label: string;
4450
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4451
+ kind: "agent_status";
4452
4452
  role: string;
4453
4453
  agentId: string;
4454
4454
  sessionId: string;
4455
4455
  detail?: string | undefined;
4456
4456
  evidence?: {
4457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
- label: string;
4459
4457
  id: string;
4458
+ label: string;
4459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
4460
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4461
  locator?: string | undefined;
4462
4462
  }[] | undefined;
4463
4463
  } | {
4464
- kind: "agent_output";
4465
4464
  summary: string;
4465
+ kind: "agent_output";
4466
4466
  agentId: string;
4467
4467
  sessionId: string;
4468
4468
  outputId: string;
4469
4469
  evidence?: {
4470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
- label: string;
4472
4470
  id: string;
4471
+ label: string;
4472
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4473
  capture: "at_action" | "historical_lookup" | "fixture";
4474
4474
  locator?: string | undefined;
4475
4475
  }[] | undefined;
@@ -4482,37 +4482,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4482
4482
  decisionId: string;
4483
4483
  confidence?: number | undefined;
4484
4484
  evidence?: {
4485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
- label: string;
4487
4485
  id: string;
4486
+ label: string;
4487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4488
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4489
  locator?: string | undefined;
4490
4490
  }[] | undefined;
4491
4491
  } | {
4492
- kind: "conflict_detected";
4493
4492
  summary: string;
4493
+ kind: "conflict_detected";
4494
4494
  conflictId: string;
4495
4495
  decisionIds: string[];
4496
4496
  agentIds: string[];
4497
4497
  evidence?: {
4498
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4499
- label: string;
4500
4498
  id: string;
4499
+ label: string;
4500
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
4501
  capture: "at_action" | "historical_lookup" | "fixture";
4502
4502
  locator?: string | undefined;
4503
4503
  }[] | undefined;
4504
4504
  } | {
4505
- kind: "test_result";
4506
4505
  summary: string;
4507
4506
  status: "error" | "failed" | "passed";
4507
+ kind: "test_result";
4508
4508
  command: string;
4509
4509
  decisionId: string;
4510
4510
  testId: string;
4511
4511
  durationMs?: number | undefined;
4512
4512
  evidence?: {
4513
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4514
- label: string;
4515
4513
  id: string;
4514
+ label: string;
4515
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
4516
  capture: "at_action" | "historical_lookup" | "fixture";
4517
4517
  locator?: string | undefined;
4518
4518
  }[] | undefined;
@@ -4527,9 +4527,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4527
4527
  supersedesDecisionIds: string[];
4528
4528
  proposedBy: string;
4529
4529
  evidence?: {
4530
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
- label: string;
4532
4530
  id: string;
4531
+ label: string;
4532
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4533
4533
  capture: "at_action" | "historical_lookup" | "fixture";
4534
4534
  locator?: string | undefined;
4535
4535
  }[] | undefined;
@@ -4537,15 +4537,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4537
4537
  kind: "correction_approved";
4538
4538
  correctionId: string;
4539
4539
  approvedBy: {
4540
- kind: "agent" | "human";
4541
- label: string;
4542
4540
  id: string;
4541
+ label: string;
4542
+ kind: "agent" | "human";
4543
4543
  };
4544
4544
  note?: string | undefined;
4545
4545
  evidence?: {
4546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4547
- label: string;
4548
4546
  id: string;
4547
+ label: string;
4548
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
4549
  capture: "at_action" | "historical_lookup" | "fixture";
4550
4550
  locator?: string | undefined;
4551
4551
  }[] | undefined;
@@ -4555,9 +4555,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4555
4555
  correctionId: string;
4556
4556
  replacementDecisionId: string;
4557
4557
  evidence?: {
4558
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
- label: string;
4560
4558
  id: string;
4559
+ label: string;
4560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4561
4561
  capture: "at_action" | "historical_lookup" | "fixture";
4562
4562
  locator?: string | undefined;
4563
4563
  }[] | undefined;
@@ -4570,9 +4570,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4570
4570
  recallReceiptId: string;
4571
4571
  capturedAtAction: boolean;
4572
4572
  evidence?: {
4573
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
- label: string;
4575
4573
  id: string;
4574
+ label: string;
4575
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
4576
  capture: "at_action" | "historical_lookup" | "fixture";
4577
4577
  locator?: string | undefined;
4578
4578
  }[] | undefined;
@@ -4585,63 +4585,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4585
4585
  recallReceiptId: string;
4586
4586
  staleDecisionAbsent: boolean;
4587
4587
  evidence?: {
4588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
- label: string;
4590
4588
  id: string;
4589
+ label: string;
4590
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
4591
  capture: "at_action" | "historical_lookup" | "fixture";
4592
4592
  locator?: string | undefined;
4593
4593
  }[] | undefined;
4594
4594
  } | {
4595
- kind: "mission_completed";
4596
4595
  summary: string;
4596
+ kind: "mission_completed";
4597
4597
  outcome: "failed" | "recovered" | "inconclusive";
4598
4598
  evidence?: {
4599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
- label: string;
4601
4599
  id: string;
4600
+ label: string;
4601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4602
4602
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4603
  locator?: string | undefined;
4604
4604
  }[] | undefined;
4605
4605
  }>;
4606
4606
  }, "strict", z.ZodTypeAny, {
4607
- schemaVersion: "1";
4607
+ namespace: string;
4608
4608
  recordedAt: string;
4609
+ schemaVersion: "1";
4609
4610
  payload: {
4610
4611
  kind: "mission_started";
4611
4612
  title: string;
4612
4613
  evidence: {
4613
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
- label: string;
4615
4614
  id: string;
4615
+ label: string;
4616
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
4617
  capture: "at_action" | "historical_lookup" | "fixture";
4617
4618
  locator?: string | undefined;
4618
4619
  }[];
4619
4620
  objective: string;
4620
4621
  runMode: "replay" | "fixture" | "live";
4621
4622
  } | {
4622
- kind: "agent_status";
4623
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4624
4623
  label: string;
4624
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4625
+ kind: "agent_status";
4625
4626
  role: string;
4626
4627
  agentId: string;
4627
4628
  sessionId: string;
4628
4629
  evidence: {
4629
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4630
- label: string;
4631
4630
  id: string;
4631
+ label: string;
4632
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4632
4633
  capture: "at_action" | "historical_lookup" | "fixture";
4633
4634
  locator?: string | undefined;
4634
4635
  }[];
4635
4636
  detail?: string | undefined;
4636
4637
  } | {
4637
- kind: "agent_output";
4638
4638
  summary: string;
4639
+ kind: "agent_output";
4639
4640
  agentId: string;
4640
4641
  sessionId: string;
4641
4642
  evidence: {
4642
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
- label: string;
4644
4643
  id: string;
4644
+ label: string;
4645
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4645
4646
  capture: "at_action" | "historical_lookup" | "fixture";
4646
4647
  locator?: string | undefined;
4647
4648
  }[];
@@ -4652,9 +4653,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4652
4653
  statement: string;
4653
4654
  sessionId: string;
4654
4655
  evidence: {
4655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
- label: string;
4657
4656
  id: string;
4657
+ label: string;
4658
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
4659
  capture: "at_action" | "historical_lookup" | "fixture";
4659
4660
  locator?: string | undefined;
4660
4661
  }[];
@@ -4662,12 +4663,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4662
4663
  decisionId: string;
4663
4664
  confidence?: number | undefined;
4664
4665
  } | {
4665
- kind: "conflict_detected";
4666
4666
  summary: string;
4667
+ kind: "conflict_detected";
4667
4668
  evidence: {
4668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4669
- label: string;
4670
4669
  id: string;
4670
+ label: string;
4671
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4671
4672
  capture: "at_action" | "historical_lookup" | "fixture";
4672
4673
  locator?: string | undefined;
4673
4674
  }[];
@@ -4675,14 +4676,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4675
4676
  decisionIds: string[];
4676
4677
  agentIds: string[];
4677
4678
  } | {
4678
- kind: "test_result";
4679
4679
  summary: string;
4680
4680
  status: "error" | "failed" | "passed";
4681
+ kind: "test_result";
4681
4682
  command: string;
4682
4683
  evidence: {
4683
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4684
- label: string;
4685
4684
  id: string;
4685
+ label: string;
4686
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4686
4687
  capture: "at_action" | "historical_lookup" | "fixture";
4687
4688
  locator?: string | undefined;
4688
4689
  }[];
@@ -4695,9 +4696,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4695
4696
  statement: string;
4696
4697
  rationale: string;
4697
4698
  evidence: {
4698
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4699
- label: string;
4700
4699
  id: string;
4700
+ label: string;
4701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4701
4702
  capture: "at_action" | "historical_lookup" | "fixture";
4702
4703
  locator?: string | undefined;
4703
4704
  }[];
@@ -4709,25 +4710,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4709
4710
  } | {
4710
4711
  kind: "correction_approved";
4711
4712
  evidence: {
4712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4713
- label: string;
4714
4713
  id: string;
4714
+ label: string;
4715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4715
4716
  capture: "at_action" | "historical_lookup" | "fixture";
4716
4717
  locator?: string | undefined;
4717
4718
  }[];
4718
4719
  correctionId: string;
4719
4720
  approvedBy: {
4720
- kind: "agent" | "human";
4721
- label: string;
4722
4721
  id: string;
4722
+ label: string;
4723
+ kind: "agent" | "human";
4723
4724
  };
4724
4725
  note?: string | undefined;
4725
4726
  } | {
4726
4727
  kind: "decision_superseded";
4727
4728
  evidence: {
4728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4729
- label: string;
4730
4729
  id: string;
4730
+ label: string;
4731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4731
4732
  capture: "at_action" | "historical_lookup" | "fixture";
4732
4733
  locator?: string | undefined;
4733
4734
  }[];
@@ -4740,9 +4741,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4740
4741
  agentId: string;
4741
4742
  sessionId: string;
4742
4743
  evidence: {
4743
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4744
- label: string;
4745
4744
  id: string;
4745
+ label: string;
4746
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4746
4747
  capture: "at_action" | "historical_lookup" | "fixture";
4747
4748
  locator?: string | undefined;
4748
4749
  }[];
@@ -4754,9 +4755,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4754
4755
  agentId: string;
4755
4756
  sessionId: string;
4756
4757
  evidence: {
4757
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4758
- label: string;
4759
4758
  id: string;
4759
+ label: string;
4760
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4760
4761
  capture: "at_action" | "historical_lookup" | "fixture";
4761
4762
  locator?: string | undefined;
4762
4763
  }[];
@@ -4765,63 +4766,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4765
4766
  recallReceiptId: string;
4766
4767
  staleDecisionAbsent: boolean;
4767
4768
  } | {
4768
- kind: "mission_completed";
4769
4769
  summary: string;
4770
+ kind: "mission_completed";
4770
4771
  outcome: "failed" | "recovered" | "inconclusive";
4771
4772
  evidence: {
4772
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4773
- label: string;
4774
4773
  id: string;
4774
+ label: string;
4775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4775
4776
  capture: "at_action" | "historical_lookup" | "fixture";
4776
4777
  locator?: string | undefined;
4777
4778
  }[];
4778
4779
  };
4779
- namespace: string;
4780
4780
  eventId: string;
4781
4781
  occurredAt: string;
4782
4782
  missionId: string;
4783
4783
  idempotencyKey?: string | undefined;
4784
4784
  authenticatedPrincipal?: string | undefined;
4785
4785
  }, {
4786
- schemaVersion: "1";
4786
+ namespace: string;
4787
4787
  recordedAt: string;
4788
+ schemaVersion: "1";
4788
4789
  payload: {
4789
4790
  kind: "mission_started";
4790
4791
  title: string;
4791
4792
  objective: string;
4792
4793
  runMode: "replay" | "fixture" | "live";
4793
4794
  evidence?: {
4794
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4795
- label: string;
4796
4795
  id: string;
4796
+ label: string;
4797
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4797
4798
  capture: "at_action" | "historical_lookup" | "fixture";
4798
4799
  locator?: string | undefined;
4799
4800
  }[] | undefined;
4800
4801
  } | {
4801
- kind: "agent_status";
4802
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4803
4802
  label: string;
4803
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4804
+ kind: "agent_status";
4804
4805
  role: string;
4805
4806
  agentId: string;
4806
4807
  sessionId: string;
4807
4808
  detail?: string | undefined;
4808
4809
  evidence?: {
4809
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4810
- label: string;
4811
4810
  id: string;
4811
+ label: string;
4812
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4812
4813
  capture: "at_action" | "historical_lookup" | "fixture";
4813
4814
  locator?: string | undefined;
4814
4815
  }[] | undefined;
4815
4816
  } | {
4816
- kind: "agent_output";
4817
4817
  summary: string;
4818
+ kind: "agent_output";
4818
4819
  agentId: string;
4819
4820
  sessionId: string;
4820
4821
  outputId: string;
4821
4822
  evidence?: {
4822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4823
- label: string;
4824
4823
  id: string;
4824
+ label: string;
4825
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4825
4826
  capture: "at_action" | "historical_lookup" | "fixture";
4826
4827
  locator?: string | undefined;
4827
4828
  }[] | undefined;
@@ -4834,37 +4835,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4834
4835
  decisionId: string;
4835
4836
  confidence?: number | undefined;
4836
4837
  evidence?: {
4837
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4838
- label: string;
4839
4838
  id: string;
4839
+ label: string;
4840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4840
4841
  capture: "at_action" | "historical_lookup" | "fixture";
4841
4842
  locator?: string | undefined;
4842
4843
  }[] | undefined;
4843
4844
  } | {
4844
- kind: "conflict_detected";
4845
4845
  summary: string;
4846
+ kind: "conflict_detected";
4846
4847
  conflictId: string;
4847
4848
  decisionIds: string[];
4848
4849
  agentIds: string[];
4849
4850
  evidence?: {
4850
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4851
- label: string;
4852
4851
  id: string;
4852
+ label: string;
4853
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4853
4854
  capture: "at_action" | "historical_lookup" | "fixture";
4854
4855
  locator?: string | undefined;
4855
4856
  }[] | undefined;
4856
4857
  } | {
4857
- kind: "test_result";
4858
4858
  summary: string;
4859
4859
  status: "error" | "failed" | "passed";
4860
+ kind: "test_result";
4860
4861
  command: string;
4861
4862
  decisionId: string;
4862
4863
  testId: string;
4863
4864
  durationMs?: number | undefined;
4864
4865
  evidence?: {
4865
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4866
- label: string;
4867
4866
  id: string;
4867
+ label: string;
4868
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4868
4869
  capture: "at_action" | "historical_lookup" | "fixture";
4869
4870
  locator?: string | undefined;
4870
4871
  }[] | undefined;
@@ -4879,9 +4880,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4879
4880
  supersedesDecisionIds: string[];
4880
4881
  proposedBy: string;
4881
4882
  evidence?: {
4882
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4883
- label: string;
4884
4883
  id: string;
4884
+ label: string;
4885
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4885
4886
  capture: "at_action" | "historical_lookup" | "fixture";
4886
4887
  locator?: string | undefined;
4887
4888
  }[] | undefined;
@@ -4889,15 +4890,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4889
4890
  kind: "correction_approved";
4890
4891
  correctionId: string;
4891
4892
  approvedBy: {
4892
- kind: "agent" | "human";
4893
- label: string;
4894
4893
  id: string;
4894
+ label: string;
4895
+ kind: "agent" | "human";
4895
4896
  };
4896
4897
  note?: string | undefined;
4897
4898
  evidence?: {
4898
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4899
- label: string;
4900
4899
  id: string;
4900
+ label: string;
4901
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4901
4902
  capture: "at_action" | "historical_lookup" | "fixture";
4902
4903
  locator?: string | undefined;
4903
4904
  }[] | undefined;
@@ -4907,9 +4908,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4907
4908
  correctionId: string;
4908
4909
  replacementDecisionId: string;
4909
4910
  evidence?: {
4910
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4911
- label: string;
4912
4911
  id: string;
4912
+ label: string;
4913
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4913
4914
  capture: "at_action" | "historical_lookup" | "fixture";
4914
4915
  locator?: string | undefined;
4915
4916
  }[] | undefined;
@@ -4922,9 +4923,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4922
4923
  recallReceiptId: string;
4923
4924
  capturedAtAction: boolean;
4924
4925
  evidence?: {
4925
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4926
- label: string;
4927
4926
  id: string;
4927
+ label: string;
4928
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4928
4929
  capture: "at_action" | "historical_lookup" | "fixture";
4929
4930
  locator?: string | undefined;
4930
4931
  }[] | undefined;
@@ -4937,25 +4938,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4937
4938
  recallReceiptId: string;
4938
4939
  staleDecisionAbsent: boolean;
4939
4940
  evidence?: {
4940
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4941
- label: string;
4942
4941
  id: string;
4942
+ label: string;
4943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
4944
  capture: "at_action" | "historical_lookup" | "fixture";
4944
4945
  locator?: string | undefined;
4945
4946
  }[] | undefined;
4946
4947
  } | {
4947
- kind: "mission_completed";
4948
4948
  summary: string;
4949
+ kind: "mission_completed";
4949
4950
  outcome: "failed" | "recovered" | "inconclusive";
4950
4951
  evidence?: {
4951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4952
- label: string;
4953
4952
  id: string;
4953
+ label: string;
4954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4954
4955
  capture: "at_action" | "historical_lookup" | "fixture";
4955
4956
  locator?: string | undefined;
4956
4957
  }[] | undefined;
4957
4958
  };
4958
- namespace: string;
4959
4959
  eventId: string;
4960
4960
  occurredAt: string;
4961
4961
  missionId: string;
@@ -6872,6 +6872,18 @@ interface WearableConnectorRegistration {
6872
6872
  }
6873
6873
  declare function registerWearableConnector(registration: WearableConnectorRegistration): void;
6874
6874
  declare function getWearableConnector(id: string): WearableConnectorRegistration | undefined;
6875
+ /**
6876
+ * Register a connector package with this registry immediately (idempotent)
6877
+ * and return its `ensure*Registered()` companion.
6878
+ *
6879
+ * Connector packages call this once at module scope with their registration
6880
+ * record, so importing the module registers the connector as a side effect.
6881
+ * The returned companion re-checks the live registry on every call — so it
6882
+ * also re-registers after a test-only registry reset — and returns false
6883
+ * while the connector stays registered. `registerWearableConnector` throws
6884
+ * on duplicate ids, which is why the registry is checked before each call.
6885
+ */
6886
+ declare function selfRegisterWearableConnector(registration: WearableConnectorRegistration): () => boolean;
6875
6887
  declare function listWearableConnectors(): string[];
6876
6888
  /** Test-only: reset the registry between cases. */
6877
6889
  declare function clearWearableConnectors(): void;
@@ -9554,4 +9566,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
9554
9566
  */
9555
9567
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
9556
9568
 
9557
- export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ANALYSIS_FAILURE_KINDS, ANALYSIS_METADATA_MAX_FIELD_LENGTH, type ActivityAnalysisStatus, ActivityConfig, ActivityDayDigest, ActivityDayMeta, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityFeatureGate, type ActivityGateSet, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineQaConfig, ActivityTimelineVaultConfig, ActivityWearablesMeetingsDaySource, type AnalysisFailure, type AnalysisFailureKind, type AnalysisPromptObservation, type AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BeginEndPairInput, type BeginEndPairResult, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, 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_RECURRENCE_MIN_DAYS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, type FileLine, 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, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalMemoryProvenance, type JournalSeedCard, 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, MIN_RECURRENCE_MIN_DAYS, MS_PER_DAY, 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, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultNoteInput, type PublishVaultRegionResult, type PublisherCapabilities, RECAP_SOURCE_KINDS, 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 ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapMarkdownOptions, type RecapSection, type RecapSelection, type RecapSourceKind, type RecapWindowCard, type RecurringPattern, 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, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, 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, TIMELINE_ANALYSIS_BATCH_OVERLAP, TIMELINE_ANALYSIS_BATCH_SIZE, TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, TIMELINE_ANALYSIS_PROMPT_VERSION, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, type TimelineAnalysisComplete, type TimelineAnalysisCompleteInput, TimelineAnalysisConfigError, type TimelineAnalysisInput, type TimelineAnalysisResult, type TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PUBLISH_OUTCOMES, VAULT_TEMPLATE_TOKENS, type ValidateRegionNameResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, type VaultPublisherTestHooks, type VaultSectionProvenance, type VaultSectionPublish, type VaultTemplateToken, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WEEK_START_DAYS, 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, type WeekDayOccurrence, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyConfigInput, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, activityDateInTimezone, activityDayWindow, activityDigestPath, analyzeTimelineCards, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertBeginEndPair, assertValidTimezone, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAnalysisRunMetadata, buildAudioWindows, buildJournalMemoryProvenance, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineAnalysisPrompt, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyAnalysisFailure, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, computeWeeklyConfigHash, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, expandVaultTemplateTokens, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, fileLines, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isAnalysisFailureKind, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, joinVaultSegments, journalPath, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeFrontmatterKeys, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseActivityPrivacy, parseAtxHeading, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTimelineVaultConfig, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultNote, publishVaultRegion, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, setVaultPublisherTestHooks, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, validateVaultNoteTemplate, watchForChanges, weeklySnapshotPath, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory };
9569
+ export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ANALYSIS_FAILURE_KINDS, ANALYSIS_METADATA_MAX_FIELD_LENGTH, type ActivityAnalysisStatus, ActivityConfig, ActivityDayDigest, ActivityDayMeta, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityFeatureGate, type ActivityGateSet, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineQaConfig, ActivityTimelineVaultConfig, ActivityWearablesMeetingsDaySource, type AnalysisFailure, type AnalysisFailureKind, type AnalysisPromptObservation, type AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BeginEndPairInput, type BeginEndPairResult, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, 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_RECURRENCE_MIN_DAYS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, type FileLine, 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, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalMemoryProvenance, type JournalSeedCard, 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, MIN_RECURRENCE_MIN_DAYS, MS_PER_DAY, 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, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultNoteInput, type PublishVaultRegionResult, type PublisherCapabilities, RECAP_SOURCE_KINDS, 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 ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapMarkdownOptions, type RecapSection, type RecapSelection, type RecapSourceKind, type RecapWindowCard, type RecurringPattern, 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, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, 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, TIMELINE_ANALYSIS_BATCH_OVERLAP, TIMELINE_ANALYSIS_BATCH_SIZE, TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, TIMELINE_ANALYSIS_PROMPT_VERSION, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, type TimelineAnalysisComplete, type TimelineAnalysisCompleteInput, TimelineAnalysisConfigError, type TimelineAnalysisInput, type TimelineAnalysisResult, type TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PUBLISH_OUTCOMES, VAULT_TEMPLATE_TOKENS, type ValidateRegionNameResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, type VaultPublisherTestHooks, type VaultSectionProvenance, type VaultSectionPublish, type VaultTemplateToken, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WEEK_START_DAYS, 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, type WeekDayOccurrence, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyConfigInput, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, activityDateInTimezone, activityDayWindow, activityDigestPath, analyzeTimelineCards, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertBeginEndPair, assertValidTimezone, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAnalysisRunMetadata, buildAudioWindows, buildJournalMemoryProvenance, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineAnalysisPrompt, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyAnalysisFailure, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, computeWeeklyConfigHash, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, expandVaultTemplateTokens, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, fileLines, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isAnalysisFailureKind, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, joinVaultSegments, journalPath, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeFrontmatterKeys, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseActivityPrivacy, parseAtxHeading, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTimelineVaultConfig, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultNote, publishVaultRegion, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, selfRegisterWearableConnector, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, setVaultPublisherTestHooks, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, validateVaultNoteTemplate, watchForChanges, weeklySnapshotPath, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory };