@remnic/core 9.54.5 → 9.54.6

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 (550) hide show
  1. package/dist/access-admin-ops-surface.d.ts +24 -24
  2. package/dist/access-admin-ops-surface.js +32 -29
  3. package/dist/access-authorization-probe.d.ts +25 -23
  4. package/dist/access-authorization-probe.js +35 -30
  5. package/dist/access-boundary.d.ts +26 -24
  6. package/dist/access-boundary.js +36 -31
  7. package/dist/access-cli.js +86 -80
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +19 -19
  11. package/dist/access-extraction-force-flush.js +32 -29
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +22 -22
  14. package/dist/access-http-lifecycle-flush.d.ts +22 -22
  15. package/dist/access-http-offline-stream.d.ts +18 -18
  16. package/dist/access-http-query.js +32 -29
  17. package/dist/access-http.d.ts +55 -37
  18. package/dist/access-http.js +52 -43
  19. package/dist/access-identity-continuity-surface.d.ts +9 -9
  20. package/dist/access-identity-continuity-surface.js +32 -29
  21. package/dist/access-lcm-surface.d.ts +21 -21
  22. package/dist/access-lcm-surface.js +32 -29
  23. package/dist/access-mcp.d.ts +22 -22
  24. package/dist/access-mcp.js +40 -36
  25. package/dist/access-memory-search-fanout.d.ts +2 -2
  26. package/dist/{access-namespace-preflight-BdHlGd_T.d.ts → access-namespace-preflight-CCNn_6NE.d.ts} +1 -1
  27. package/dist/access-namespace-preflight.d.ts +3 -3
  28. package/dist/access-namespace-preflight.js +32 -29
  29. package/dist/access-observe-write-surface.d.ts +22 -22
  30. package/dist/access-observe-write-surface.js +32 -29
  31. package/dist/access-offline-manifest.d.ts +9 -9
  32. package/dist/access-offline-manifest.js +2 -2
  33. package/dist/access-operations-batch.js +34 -31
  34. package/dist/access-operations.d.ts +26 -26
  35. package/dist/access-operations.js +38 -34
  36. package/dist/access-recall-concurrency.d.ts +21 -21
  37. package/dist/access-recall-concurrency.js +32 -29
  38. package/dist/access-recall-response.d.ts +19 -19
  39. package/dist/access-recall-response.js +32 -29
  40. package/dist/access-recall-surface.d.ts +19 -19
  41. package/dist/access-recall-surface.js +32 -29
  42. package/dist/access-schema.d.ts +88 -88
  43. package/dist/access-schema.js +3 -3
  44. package/dist/{access-service-DL7X9hrg.d.ts → access-service-DkSdXK4S.d.ts} +1314 -83
  45. package/dist/access-service-helpers.d.ts +22 -22
  46. package/dist/access-service.d.ts +31 -31
  47. package/dist/access-service.js +32 -29
  48. package/dist/access-surface-catalog.d.ts +22 -22
  49. package/dist/access-surface-catalog.js +209 -2
  50. package/dist/access-surface-catalog.js.map +1 -1
  51. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  52. package/dist/action-confidence.d.ts +1 -1
  53. package/dist/active-memory-bridge.d.ts +6 -5
  54. package/dist/active-memory-bridge.js +2 -2
  55. package/dist/active-recall.d.ts +1 -1
  56. package/dist/active-recall.js +2 -1
  57. package/dist/active-recall.js.map +1 -1
  58. package/dist/adapters/index.js +4 -4
  59. package/dist/adapters/registry.js +2 -2
  60. package/dist/admin-console/public/what-helps-me/app.js +1594 -0
  61. package/dist/admin-console/public/what-helps-me/index.html +339 -0
  62. package/dist/admin-console/public/what-helps-me/model.js +685 -0
  63. package/dist/admin-console/public/what-helps-me/what-helps-me.css +1296 -0
  64. package/dist/ambient-provenance.d.ts +1 -1
  65. package/dist/artifact-search.d.ts +1 -1
  66. package/dist/{auto-sync-TDHLZPVP.js → auto-sync-NR3GPCOA.js} +4 -4
  67. package/dist/behavior-learner.d.ts +1 -1
  68. package/dist/behavior-signals.d.ts +1 -1
  69. package/dist/bootstrap.d.ts +9 -9
  70. package/dist/briefing.d.ts +2 -2
  71. package/dist/briefing.js +14 -14
  72. package/dist/buffer-surprise-report.d.ts +1 -1
  73. package/dist/buffer-turn-helpers.d.ts +1 -1
  74. package/dist/buffer.d.ts +2 -2
  75. package/dist/buffer.js +2 -2
  76. package/dist/bulk-import/index.d.ts +3 -3
  77. package/dist/calibration.d.ts +1 -1
  78. package/dist/calibration.js +1 -1
  79. package/dist/capabilities.d.ts +1 -1
  80. package/dist/{catalog-B90is4d8.d.ts → catalog-DGFf8mD9.d.ts} +1 -1
  81. package/dist/causal-behavior.d.ts +1 -1
  82. package/dist/causal-consolidation.d.ts +1 -1
  83. package/dist/causal-consolidation.js +15 -15
  84. package/dist/causal-trajectory-graph.d.ts +1 -1
  85. package/dist/{chunk-CSY44OKU.js → chunk-26ZXBTYN.js} +4 -4
  86. package/dist/chunk-26ZXBTYN.js.map +1 -0
  87. package/dist/{chunk-LLJMAULE.js → chunk-2FKEIPIT.js} +5 -5
  88. package/dist/{chunk-AU7Q3LSC.js → chunk-2QSZNTDO.js} +4 -4
  89. package/dist/chunk-37DZZFFM.js +502 -0
  90. package/dist/chunk-37DZZFFM.js.map +1 -0
  91. package/dist/chunk-3HSRWJTC.js +9 -0
  92. package/dist/chunk-3HSRWJTC.js.map +1 -0
  93. package/dist/{chunk-TKFGFDPJ.js → chunk-3TIZPSJC.js} +4 -4
  94. package/dist/{chunk-B4T3FQMT.js → chunk-43SEBY2M.js} +1 -1
  95. package/dist/{chunk-LVKYLMSM.js → chunk-46SZBVDS.js} +2 -2
  96. package/dist/{chunk-YKZLOPTC.js → chunk-5FD7JMTX.js} +2 -2
  97. package/dist/{chunk-2PNXOQ4P.js → chunk-5NB726GV.js} +3 -7
  98. package/dist/chunk-5NB726GV.js.map +1 -0
  99. package/dist/chunk-62OKGIJA.js +39 -0
  100. package/dist/chunk-62OKGIJA.js.map +1 -0
  101. package/dist/{chunk-WM5LD6AT.js → chunk-6CYHUWCO.js} +2 -2
  102. package/dist/{chunk-BIF4SHMD.js → chunk-76JJSXK7.js} +1 -1
  103. package/dist/chunk-76JJSXK7.js.map +1 -0
  104. package/dist/{chunk-3SXLD5T3.js → chunk-7BD6O7ZV.js} +189 -4
  105. package/dist/chunk-7BD6O7ZV.js.map +1 -0
  106. package/dist/chunk-7TBXNYLO.js +346 -0
  107. package/dist/chunk-7TBXNYLO.js.map +1 -0
  108. package/dist/{chunk-YR65W7BV.js → chunk-BRR5EUTF.js} +3 -3
  109. package/dist/{chunk-JKW663ZN.js → chunk-CIAI24TQ.js} +2 -2
  110. package/dist/{chunk-3WGI7F4V.js → chunk-D3LBIUWV.js} +9219 -5233
  111. package/dist/chunk-D3LBIUWV.js.map +1 -0
  112. package/dist/{chunk-YDWPYDML.js → chunk-EKTP7MNS.js} +4 -4
  113. package/dist/{chunk-6LEIWWAF.js → chunk-F2JRDPON.js} +2 -2
  114. package/dist/{chunk-VYQ4URQB.js → chunk-FFRTNF3L.js} +2 -2
  115. package/dist/{chunk-TY6MKIWP.js → chunk-FONWBCVY.js} +3 -3
  116. package/dist/{chunk-XSV2YDCJ.js → chunk-FPLM2TKD.js} +2 -2
  117. package/dist/{chunk-VTU5IEKY.js → chunk-FTPONF6B.js} +2 -2
  118. package/dist/{chunk-6PZGKGAO.js → chunk-FWX7W5PM.js} +2 -2
  119. package/dist/{chunk-QPW3PAIH.js → chunk-G6DFSS6A.js} +2 -2
  120. package/dist/{chunk-2DD6ZHOM.js → chunk-GJ776BC2.js} +3 -3
  121. package/dist/{chunk-XKAR4RF6.js → chunk-GN3WRFJY.js} +6 -6
  122. package/dist/{chunk-RG426DJO.js → chunk-H7NAZ3UB.js} +2 -2
  123. package/dist/{chunk-BSXGTDVJ.js → chunk-HBUFQRIM.js} +2 -2
  124. package/dist/{chunk-FFEBSFVT.js → chunk-HGJ6NJ4E.js} +2 -2
  125. package/dist/{chunk-WB7JSQCP.js → chunk-HIEWDJ2O.js} +5 -2
  126. package/dist/{chunk-WB7JSQCP.js.map → chunk-HIEWDJ2O.js.map} +1 -1
  127. package/dist/{chunk-QTO6BMQZ.js → chunk-I3MSGFGD.js} +17 -6
  128. package/dist/chunk-I3MSGFGD.js.map +1 -0
  129. package/dist/{chunk-5JKUSBMX.js → chunk-IKP5OYQQ.js} +2 -2
  130. package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
  131. package/dist/{chunk-DBY26JJJ.js → chunk-IQ4NVWEF.js} +2 -2
  132. package/dist/{chunk-7Q7JWLQ4.js → chunk-JYG4OLWH.js} +2 -2
  133. package/dist/{chunk-3OTSVCPK.js → chunk-K26NWEOC.js} +4 -4
  134. package/dist/{chunk-WZWZRZ2V.js → chunk-K2UGPTYY.js} +484 -43
  135. package/dist/chunk-K2UGPTYY.js.map +1 -0
  136. package/dist/{chunk-L6CQ7WIW.js → chunk-KFBOPMF6.js} +11 -11
  137. package/dist/chunk-KFBOPMF6.js.map +1 -0
  138. package/dist/{chunk-HOIRB77A.js → chunk-L6Z5OAS4.js} +2 -2
  139. package/dist/{chunk-7RZJWZ46.js → chunk-LEPOP46W.js} +5 -5
  140. package/dist/{chunk-QQXWFDRD.js → chunk-M4YHAODQ.js} +270 -684
  141. package/dist/chunk-M4YHAODQ.js.map +1 -0
  142. package/dist/{chunk-NGT35IGQ.js → chunk-MIH3CJPN.js} +3 -3
  143. package/dist/{chunk-QPAQSG3F.js → chunk-MK5VEWCR.js} +2 -2
  144. package/dist/chunk-NISZQW72.js +140 -0
  145. package/dist/chunk-NISZQW72.js.map +1 -0
  146. package/dist/{chunk-L7RTUEDG.js → chunk-OCIP6YMD.js} +2 -2
  147. package/dist/{chunk-2INWPC6E.js → chunk-PG4QBPVG.js} +20 -10
  148. package/dist/chunk-PG4QBPVG.js.map +1 -0
  149. package/dist/{chunk-DDA55IVB.js → chunk-PT54WISF.js} +189 -55
  150. package/dist/chunk-PT54WISF.js.map +1 -0
  151. package/dist/{chunk-UWJNKGBA.js → chunk-QZLDRQ4I.js} +5 -5
  152. package/dist/{chunk-UYOXFFEY.js → chunk-RUNORG2P.js} +3 -3
  153. package/dist/{chunk-LC3FD4BV.js → chunk-RZQ6W2W4.js} +39 -39
  154. package/dist/{chunk-MRGJZ75M.js → chunk-SMNYAMJD.js} +3 -3
  155. package/dist/{chunk-MKQBXQKU.js → chunk-TB6CBZ5V.js} +22 -15
  156. package/dist/chunk-TB6CBZ5V.js.map +1 -0
  157. package/dist/{chunk-DN2IDKI5.js → chunk-TO7ZTWJW.js} +2 -2
  158. package/dist/{chunk-K2TDK7GG.js → chunk-TWTUGCTY.js} +2 -2
  159. package/dist/{chunk-CUTFSLSD.js → chunk-UCTS3DDH.js} +2 -2
  160. package/dist/{chunk-JYIJNNN3.js → chunk-UG6VXIOK.js} +2 -2
  161. package/dist/{chunk-QOQQMVR2.js → chunk-UKYS3NU5.js} +2 -2
  162. package/dist/{chunk-VZRFGJCH.js → chunk-UPLZNJKN.js} +2 -2
  163. package/dist/{chunk-C23BYTJV.js → chunk-UW5NPZJ2.js} +40 -12
  164. package/dist/chunk-UW5NPZJ2.js.map +1 -0
  165. package/dist/{chunk-DOOWFDWN.js → chunk-V6ERBR7U.js} +2 -2
  166. package/dist/{chunk-7HG7MGAP.js → chunk-W5ZKPI34.js} +462 -2673
  167. package/dist/chunk-W5ZKPI34.js.map +1 -0
  168. package/dist/{chunk-HNDIND7P.js → chunk-XX4HPFFM.js} +54 -15
  169. package/dist/chunk-XX4HPFFM.js.map +1 -0
  170. package/dist/{chunk-N7CXQ5TA.js → chunk-XZHE2DEN.js} +1 -1
  171. package/dist/chunk-YXQEKCZM.js +223 -0
  172. package/dist/chunk-YXQEKCZM.js.map +1 -0
  173. package/dist/{chunk-6NNNURLK.js → chunk-Z54EM5YZ.js} +4 -4
  174. package/dist/{chunk-F2Y6I74C.js → chunk-ZRZVLB7O.js} +2 -2
  175. package/dist/{chunk-CLKBV3Z3.js → chunk-ZUKIUXHQ.js} +9 -9
  176. package/dist/{cli-jfuZXixq.d.ts → cli-Bze8S0Qs.d.ts} +5 -5
  177. package/dist/cli.d.ts +22 -22
  178. package/dist/cli.js +66 -58
  179. package/dist/coding/pre-action-gate.d.ts +1 -1
  180. package/dist/compounding/engine.d.ts +2 -2
  181. package/dist/compounding/engine.js +14 -14
  182. package/dist/compounding/preference-consolidator.d.ts +1 -1
  183. package/dist/compression-optimizer.d.ts +1 -1
  184. package/dist/config.d.ts +1 -1
  185. package/dist/config.js +2 -1
  186. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  187. package/dist/connectors/codex-materialize-runner.js +14 -14
  188. package/dist/connectors/codex-materialize.d.ts +1 -1
  189. package/dist/connectors/index.d.ts +1 -1
  190. package/dist/connectors/index.js +14 -14
  191. package/dist/consolidation-provenance-check.d.ts +2 -2
  192. package/dist/consolidation-undo.d.ts +2 -2
  193. package/dist/contradiction/index.d.ts +2 -2
  194. package/dist/contradiction/index.js +2 -2
  195. package/dist/{contradiction-scan-KCADHXPE.js → contradiction-scan-JDTBXRGW.js} +3 -3
  196. package/dist/converge-config.d.ts +1 -1
  197. package/dist/convergence-refresh.d.ts +2 -2
  198. package/dist/convergence-refresh.js +16 -16
  199. package/dist/conversation-index/backend.d.ts +1 -1
  200. package/dist/conversation-index/backend.js +2 -2
  201. package/dist/conversation-index/chunker.d.ts +1 -1
  202. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  203. package/dist/conversation-index/indexer.d.ts +1 -1
  204. package/dist/conversation-index/search.d.ts +1 -1
  205. package/dist/corpus-watermark.d.ts +1 -1
  206. package/dist/corpus-watermark.js +16 -16
  207. package/dist/day-summary.d.ts +1 -1
  208. package/dist/delinearize.d.ts +1 -1
  209. package/dist/dependency-propagation-config.d.ts +1 -1
  210. package/dist/{dependency-propagation-delivery-CTDuAVJc.d.ts → dependency-propagation-delivery-CzEfB31P.d.ts} +1 -1
  211. package/dist/direct-answer-wiring.d.ts +1 -1
  212. package/dist/direct-answer.d.ts +1 -1
  213. package/dist/embedding-fallback.d.ts +1 -1
  214. package/dist/enrichment/index.d.ts +1 -1
  215. package/dist/entity-retrieval.d.ts +2 -2
  216. package/dist/entity-retrieval.js +14 -14
  217. package/dist/entity-schema.d.ts +1 -1
  218. package/dist/explicit-capture.d.ts +9 -9
  219. package/dist/explicit-capture.js +4 -3
  220. package/dist/external-wiki-access.d.ts +22 -22
  221. package/dist/external-wiki-access.js +33 -30
  222. package/dist/external-wiki-collection-registration.d.ts +1 -1
  223. package/dist/external-wiki-collection.d.ts +1 -1
  224. package/dist/external-wiki-mcp-tools.d.ts +22 -22
  225. package/dist/extraction-error-classification.d.ts +1 -1
  226. package/dist/extraction-faithfulness.d.ts +1 -1
  227. package/dist/extraction-faithfulness.js +2 -2
  228. package/dist/extraction-judge-telemetry.d.ts +1 -1
  229. package/dist/extraction-judge-training.d.ts +1 -1
  230. package/dist/extraction-judge.d.ts +1 -1
  231. package/dist/extraction-judge.js +2 -2
  232. package/dist/extraction-liveness.d.ts +1 -1
  233. package/dist/extraction-normalization.d.ts +1 -1
  234. package/dist/extraction-prompt.d.ts +1 -1
  235. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  236. package/dist/extraction-source-grounding.d.ts +1 -1
  237. package/dist/extraction.d.ts +1 -1
  238. package/dist/extraction.js +20 -20
  239. package/dist/fallback-llm.d.ts +14 -1
  240. package/dist/fallback-llm.js +1 -1
  241. package/dist/{first-start-migration-LMMZFLKK.js → first-start-migration-CRZCZAJN.js} +5 -5
  242. package/dist/graph-dashboard-diff.d.ts +1 -1
  243. package/dist/graph-dashboard-key.d.ts +1 -1
  244. package/dist/graph-dashboard-parser.d.ts +1 -1
  245. package/dist/graph-edge-reinforcement.d.ts +1 -1
  246. package/dist/graph-path-reconstruction.d.ts +1 -1
  247. package/dist/graph-path-scoring.d.ts +1 -1
  248. package/dist/graph-snapshot.d.ts +1 -1
  249. package/dist/graph.d.ts +1 -1
  250. package/dist/harmonic-retrieval.js +1 -1
  251. package/dist/importance.d.ts +1 -1
  252. package/dist/importers/index.d.ts +1 -1
  253. package/dist/in-flight-reads.d.ts +1 -1
  254. package/dist/index.d.ts +704 -1421
  255. package/dist/index.js +203 -118
  256. package/dist/inline-script.d.ts +3 -0
  257. package/dist/inline-script.js +8 -0
  258. package/dist/inline-script.js.map +1 -0
  259. package/dist/intent.d.ts +1 -1
  260. package/dist/lcm/engine.d.ts +1 -1
  261. package/dist/lcm/engine.js +2 -2
  262. package/dist/lcm/index.d.ts +1 -1
  263. package/dist/lcm/index.js +2 -2
  264. package/dist/lcm/tools.d.ts +1 -1
  265. package/dist/lifecycle.d.ts +1 -1
  266. package/dist/live-connectors-runner.d.ts +1 -1
  267. package/dist/local-llm.d.ts +2 -1
  268. package/dist/local-llm.js +2 -2
  269. package/dist/local-model-endpoint.d.ts +1 -1
  270. package/dist/maintenance/memory-governance.d.ts +1 -1
  271. package/dist/maintenance/memory-governance.js +14 -14
  272. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  273. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
  274. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  275. package/dist/maintenance/rebuild-memory-projection.js +15 -15
  276. package/dist/{maintenance-heMZSq7G.d.ts → maintenance-C8aRWfhq.d.ts} +3 -3
  277. package/dist/mcp-memory-inspector-app.d.ts +22 -22
  278. package/dist/mcp-read-only-tools.js +1 -1
  279. package/dist/memory-action-policy.d.ts +1 -1
  280. package/dist/memory-cache.d.ts +1 -1
  281. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  282. package/dist/memory-projection-store.d.ts +1 -1
  283. package/dist/memory-provenance.d.ts +1 -1
  284. package/dist/memory-snapshot.d.ts +1 -1
  285. package/dist/memory-worth-outcomes.d.ts +2 -2
  286. package/dist/models-json.d.ts +1 -1
  287. package/dist/namespaces/migrate.d.ts +3 -3
  288. package/dist/namespaces/migrate.js +15 -15
  289. package/dist/namespaces/principal.d.ts +1 -1
  290. package/dist/namespaces/search.d.ts +1 -1
  291. package/dist/namespaces/search.js +6 -6
  292. package/dist/namespaces/storage.d.ts +3 -3
  293. package/dist/namespaces/storage.js +14 -14
  294. package/dist/native-knowledge.d.ts +1 -1
  295. package/dist/offline-sync-impression-drain.d.ts +1 -1
  296. package/dist/operator-doctor-corpus.d.ts +1 -1
  297. package/dist/operator-doctor-corpus.js +17 -17
  298. package/dist/operator-doctor-replica.d.ts +1 -1
  299. package/dist/operator-toolkit.d.ts +3 -3
  300. package/dist/operator-toolkit.js +23 -22
  301. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  302. package/dist/orchestration/maintenance.d.ts +4 -4
  303. package/dist/orchestration/maintenance.js +19 -19
  304. package/dist/{orchestrator-BQQPsSjs.d.ts → orchestrator-D85CzDDY.d.ts} +8 -8
  305. package/dist/orchestrator.d.ts +9 -9
  306. package/dist/orchestrator.js +86 -80
  307. package/dist/patterns-cli.d.ts +1 -1
  308. package/dist/{pipeline-DFfmsnGk.d.ts → pipeline-DPcUifCO.d.ts} +1 -1
  309. package/dist/policy-runtime.d.ts +1 -1
  310. package/dist/proactive-contention.d.ts +1 -1
  311. package/dist/provenance.d.ts +1 -1
  312. package/dist/public-http-D-SyWNj6.d.ts +25 -0
  313. package/dist/{qmd-BF5bcVRs.d.ts → qmd-dFCHp1r0.d.ts} +1 -1
  314. package/dist/qmd-preflight.d.ts +2 -2
  315. package/dist/qmd-recall-cache.d.ts +1 -1
  316. package/dist/qmd.d.ts +2 -2
  317. package/dist/recall-concurrency-config.d.ts +1 -1
  318. package/dist/recall-disclosure-escalation.d.ts +1 -1
  319. package/dist/recall-explain-renderer.d.ts +1 -1
  320. package/dist/recall-explain-renderer.js +3 -3
  321. package/dist/recall-memory-map.d.ts +1 -1
  322. package/dist/recall-planner-llm.d.ts +1 -1
  323. package/dist/recall-planner-llm.js +1 -1
  324. package/dist/recall-state.d.ts +1 -1
  325. package/dist/recall-tag-filter.d.ts +1 -1
  326. package/dist/recall-timings.d.ts +1 -1
  327. package/dist/recall-xray-cli.d.ts +1 -1
  328. package/dist/recall-xray-cli.js +4 -4
  329. package/dist/recall-xray-renderer.d.ts +1 -1
  330. package/dist/recall-xray-renderer.js +3 -3
  331. package/dist/recall-xray.d.ts +1 -1
  332. package/dist/recall-xray.js +2 -2
  333. package/dist/reconcile/cursor.d.ts +1 -1
  334. package/dist/reconcile/manifest.d.ts +1 -1
  335. package/dist/reconcile/plan.d.ts +1 -1
  336. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  337. package/dist/replay/normalizers/claude.d.ts +1 -1
  338. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  339. package/dist/replay/normalizers/shared.d.ts +1 -1
  340. package/dist/replay/runner.d.ts +1 -1
  341. package/dist/replay/types.d.ts +1 -1
  342. package/dist/replica-divergence.d.ts +1 -1
  343. package/dist/replica-peers-config.d.ts +1 -1
  344. package/dist/resolve-auth-token.d.ts +1 -1
  345. package/dist/resume-bundles.js +3 -2
  346. package/dist/retrieval-agents.d.ts +2 -2
  347. package/dist/retrieval-tiers.d.ts +1 -1
  348. package/dist/routing/engine.d.ts +1 -1
  349. package/dist/routing/store.d.ts +1 -1
  350. package/dist/salvage-envelope.d.ts +1 -1
  351. package/dist/schemas.d.ts +116 -116
  352. package/dist/{scope-profiles-CbUOsE_E.d.ts → scope-profiles-DICK7GtN.d.ts} +1 -1
  353. package/dist/search/embed-helper.d.ts +1 -1
  354. package/dist/search/factory.d.ts +1 -1
  355. package/dist/search/factory.js +5 -5
  356. package/dist/search/index.d.ts +1 -1
  357. package/dist/search/index.js +9 -9
  358. package/dist/search/lancedb-backend.d.ts +1 -1
  359. package/dist/search/meilisearch-backend.d.ts +1 -1
  360. package/dist/search/noop-backend.d.ts +1 -1
  361. package/dist/search/orama-backend.d.ts +1 -1
  362. package/dist/search/port.d.ts +1 -1
  363. package/dist/search/remote-backend.d.ts +1 -1
  364. package/dist/{semantic-consolidation-DAB3xdKM.d.ts → semantic-consolidation-BP7NAX0N.d.ts} +1 -1
  365. package/dist/semantic-consolidation.d.ts +2 -2
  366. package/dist/semantic-consolidation.js +15 -15
  367. package/dist/semantic-rule-promotion.js +14 -14
  368. package/dist/semantic-rule-verifier.d.ts +1 -1
  369. package/dist/semantic-rule-verifier.js +14 -14
  370. package/dist/{service-DGKg2O6r.d.ts → service-DT-pJyda.d.ts} +660 -660
  371. package/dist/session-observer-bands.d.ts +1 -1
  372. package/dist/session-observer-state.d.ts +1 -1
  373. package/dist/shared-context/manager.d.ts +9 -9
  374. package/dist/signal.d.ts +1 -1
  375. package/dist/source-agent-qualifier.d.ts +1 -1
  376. package/dist/source-agent-qualifier.js +16 -16
  377. package/dist/{storage-CC1jKcWg.d.ts → storage-qOnaJ1Lw.d.ts} +4 -1
  378. package/dist/storage.d.ts +2 -2
  379. package/dist/storage.js +13 -13
  380. package/dist/summarizer.d.ts +1 -1
  381. package/dist/summarizer.js +5 -5
  382. package/dist/summary-snapshot.d.ts +1 -1
  383. package/dist/support-passport/index.d.ts +518 -0
  384. package/dist/support-passport/index.js +357 -0
  385. package/dist/support-passport/index.js.map +1 -0
  386. package/dist/temporal-supersession.d.ts +2 -2
  387. package/dist/temporal-timeline-recall.d.ts +1 -1
  388. package/dist/temporal-validity.d.ts +1 -1
  389. package/dist/threading.d.ts +1 -1
  390. package/dist/tier-migration.d.ts +2 -2
  391. package/dist/tier-routing.d.ts +1 -1
  392. package/dist/tier-routing.js +2 -2
  393. package/dist/{tier-stats-JDN6HRNT.js → tier-stats-EXYSKSVN.js} +3 -3
  394. package/dist/topics.d.ts +1 -1
  395. package/dist/transcript.d.ts +1 -1
  396. package/dist/transfer/autodetect.js +1 -1
  397. package/dist/transfer/backup.js +1 -1
  398. package/dist/transfer/capsule-export.js +2 -2
  399. package/dist/transfer/types.d.ts +90 -90
  400. package/dist/trust-score-stage.d.ts +1 -1
  401. package/dist/trust-score.d.ts +1 -1
  402. package/dist/{types-BnQza1y8.d.ts → types-ed-SvS2t.d.ts} +7 -1
  403. package/dist/types.d.ts +1 -1
  404. package/dist/types.js +1 -1
  405. package/dist/utility-runtime.d.ts +1 -1
  406. package/dist/verified-recall.js +14 -14
  407. package/dist/write-envelope.d.ts +1 -1
  408. package/dist/write-rate-limiter.d.ts +11 -5
  409. package/dist/write-rate-limiter.js +1 -1
  410. package/package.json +12 -2
  411. package/scripts/build-with-heap.mjs +11 -1
  412. package/src/access-authorization-probe.ts +20 -2
  413. package/src/access-boundary.ts +32 -0
  414. package/src/access-http.test.ts +1940 -643
  415. package/src/access-http.ts +81 -74
  416. package/src/access-mcp.ts +3 -1
  417. package/src/access-operations.ts +2 -0
  418. package/src/access-service.ts +612 -845
  419. package/src/access-surface-catalog.test.ts +40 -10
  420. package/src/access-surface-catalog.ts +15 -0
  421. package/src/active-memory-bridge.ts +17 -19
  422. package/src/config.ts +18 -9
  423. package/src/fallback-llm.test.ts +54 -0
  424. package/src/fallback-llm.ts +54 -9
  425. package/src/inline-script.ts +6 -0
  426. package/src/local-llm-headers-timeout.test.ts +42 -0
  427. package/src/local-llm.ts +8 -8
  428. package/src/mcp-read-only-tools.ts +3 -0
  429. package/src/relay/mission-access.test.ts +11 -11
  430. package/src/relay/mission-ui.test.ts +3 -1
  431. package/src/storage/tombstone-blocked-capture-sync.ts +31 -0
  432. package/src/storage-contract/failure-semantics.test.ts +102 -0
  433. package/src/support-passport/access-http-base.ts +143 -0
  434. package/src/support-passport/access-http.ts +172 -0
  435. package/src/support-passport/access-operations.ts +272 -0
  436. package/src/support-passport/access-service-base.test.ts +193 -0
  437. package/src/support-passport/access-service-base.ts +176 -0
  438. package/src/support-passport/access-surface.test.ts +283 -0
  439. package/src/support-passport/access-surface.ts +286 -0
  440. package/src/support-passport/card-projection.test.ts +8 -0
  441. package/src/support-passport/card-projection.ts +77 -16
  442. package/src/support-passport/card-replacement.ts +126 -0
  443. package/src/support-passport/card-service-commit-forwarding.test.ts +160 -0
  444. package/src/support-passport/card-service.test.ts +533 -31
  445. package/src/support-passport/card-service.ts +506 -364
  446. package/src/support-passport/card-state.ts +158 -0
  447. package/src/support-passport/config-model-routing.test.ts +37 -0
  448. package/src/support-passport/config.test.ts +34 -0
  449. package/src/support-passport/config.ts +41 -0
  450. package/src/support-passport/contracts.test.ts +15 -2
  451. package/src/support-passport/contracts.ts +13 -0
  452. package/src/support-passport/errors.ts +6 -0
  453. package/src/support-passport/generated-batch.test.ts +185 -0
  454. package/src/support-passport/generated-batch.ts +338 -0
  455. package/src/support-passport/grant-contracts.ts +45 -1
  456. package/src/support-passport/grant-generated-batch-scope.test.ts +201 -0
  457. package/src/support-passport/grant-service-cache.test.ts +2 -2
  458. package/src/support-passport/grant-service-cancellation.test.ts +2 -0
  459. package/src/support-passport/grant-service-marker-cache.test.ts +62 -0
  460. package/src/support-passport/grant-service.test.ts +853 -239
  461. package/src/support-passport/grant-service.ts +206 -57
  462. package/src/support-passport/grant-store.ts +7 -3
  463. package/src/support-passport/index.ts +10 -0
  464. package/src/support-passport/mcp-tools.test.ts +222 -0
  465. package/src/support-passport/mcp-tools.ts +187 -0
  466. package/src/support-passport/model-adapter.test.ts +840 -0
  467. package/src/support-passport/model-adapter.ts +602 -0
  468. package/src/support-passport/model-audit-pinned-write.test.ts +59 -0
  469. package/src/support-passport/model-audit.ts +152 -0
  470. package/src/support-passport/model-bridge.test.ts +456 -0
  471. package/src/support-passport/model-bridge.ts +439 -0
  472. package/src/support-passport/model-contracts.ts +124 -0
  473. package/src/support-passport/model-service.test.ts +1731 -0
  474. package/src/support-passport/model-service.ts +399 -0
  475. package/src/support-passport/owner-http.test.ts +671 -0
  476. package/src/support-passport/owner-lock.ts +26 -9
  477. package/src/support-passport/private-file.test.ts +99 -0
  478. package/src/support-passport/private-file.ts +139 -12
  479. package/src/support-passport/public-http.test.ts +476 -0
  480. package/src/support-passport/public-http.ts +601 -0
  481. package/src/support-passport/ui.test.ts +181 -0
  482. package/src/types.ts +7 -0
  483. package/src/write-rate-limiter.test.ts +30 -6
  484. package/src/write-rate-limiter.ts +29 -18
  485. package/dist/chunk-2INWPC6E.js.map +0 -1
  486. package/dist/chunk-2PNXOQ4P.js.map +0 -1
  487. package/dist/chunk-3SXLD5T3.js.map +0 -1
  488. package/dist/chunk-3WGI7F4V.js.map +0 -1
  489. package/dist/chunk-7HG7MGAP.js.map +0 -1
  490. package/dist/chunk-BIF4SHMD.js.map +0 -1
  491. package/dist/chunk-C23BYTJV.js.map +0 -1
  492. package/dist/chunk-CSY44OKU.js.map +0 -1
  493. package/dist/chunk-DDA55IVB.js.map +0 -1
  494. package/dist/chunk-HNDIND7P.js.map +0 -1
  495. package/dist/chunk-L6CQ7WIW.js.map +0 -1
  496. package/dist/chunk-MKQBXQKU.js.map +0 -1
  497. package/dist/chunk-QQXWFDRD.js.map +0 -1
  498. package/dist/chunk-QTO6BMQZ.js.map +0 -1
  499. package/dist/chunk-WZWZRZ2V.js.map +0 -1
  500. /package/dist/{auto-sync-TDHLZPVP.js.map → auto-sync-NR3GPCOA.js.map} +0 -0
  501. /package/dist/{chunk-LLJMAULE.js.map → chunk-2FKEIPIT.js.map} +0 -0
  502. /package/dist/{chunk-AU7Q3LSC.js.map → chunk-2QSZNTDO.js.map} +0 -0
  503. /package/dist/{chunk-TKFGFDPJ.js.map → chunk-3TIZPSJC.js.map} +0 -0
  504. /package/dist/{chunk-B4T3FQMT.js.map → chunk-43SEBY2M.js.map} +0 -0
  505. /package/dist/{chunk-LVKYLMSM.js.map → chunk-46SZBVDS.js.map} +0 -0
  506. /package/dist/{chunk-YKZLOPTC.js.map → chunk-5FD7JMTX.js.map} +0 -0
  507. /package/dist/{chunk-WM5LD6AT.js.map → chunk-6CYHUWCO.js.map} +0 -0
  508. /package/dist/{chunk-YR65W7BV.js.map → chunk-BRR5EUTF.js.map} +0 -0
  509. /package/dist/{chunk-JKW663ZN.js.map → chunk-CIAI24TQ.js.map} +0 -0
  510. /package/dist/{chunk-YDWPYDML.js.map → chunk-EKTP7MNS.js.map} +0 -0
  511. /package/dist/{chunk-6LEIWWAF.js.map → chunk-F2JRDPON.js.map} +0 -0
  512. /package/dist/{chunk-VYQ4URQB.js.map → chunk-FFRTNF3L.js.map} +0 -0
  513. /package/dist/{chunk-TY6MKIWP.js.map → chunk-FONWBCVY.js.map} +0 -0
  514. /package/dist/{chunk-XSV2YDCJ.js.map → chunk-FPLM2TKD.js.map} +0 -0
  515. /package/dist/{chunk-VTU5IEKY.js.map → chunk-FTPONF6B.js.map} +0 -0
  516. /package/dist/{chunk-6PZGKGAO.js.map → chunk-FWX7W5PM.js.map} +0 -0
  517. /package/dist/{chunk-QPW3PAIH.js.map → chunk-G6DFSS6A.js.map} +0 -0
  518. /package/dist/{chunk-2DD6ZHOM.js.map → chunk-GJ776BC2.js.map} +0 -0
  519. /package/dist/{chunk-XKAR4RF6.js.map → chunk-GN3WRFJY.js.map} +0 -0
  520. /package/dist/{chunk-RG426DJO.js.map → chunk-H7NAZ3UB.js.map} +0 -0
  521. /package/dist/{chunk-BSXGTDVJ.js.map → chunk-HBUFQRIM.js.map} +0 -0
  522. /package/dist/{chunk-FFEBSFVT.js.map → chunk-HGJ6NJ4E.js.map} +0 -0
  523. /package/dist/{chunk-5JKUSBMX.js.map → chunk-IKP5OYQQ.js.map} +0 -0
  524. /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  525. /package/dist/{chunk-DBY26JJJ.js.map → chunk-IQ4NVWEF.js.map} +0 -0
  526. /package/dist/{chunk-7Q7JWLQ4.js.map → chunk-JYG4OLWH.js.map} +0 -0
  527. /package/dist/{chunk-3OTSVCPK.js.map → chunk-K26NWEOC.js.map} +0 -0
  528. /package/dist/{chunk-HOIRB77A.js.map → chunk-L6Z5OAS4.js.map} +0 -0
  529. /package/dist/{chunk-7RZJWZ46.js.map → chunk-LEPOP46W.js.map} +0 -0
  530. /package/dist/{chunk-NGT35IGQ.js.map → chunk-MIH3CJPN.js.map} +0 -0
  531. /package/dist/{chunk-QPAQSG3F.js.map → chunk-MK5VEWCR.js.map} +0 -0
  532. /package/dist/{chunk-L7RTUEDG.js.map → chunk-OCIP6YMD.js.map} +0 -0
  533. /package/dist/{chunk-UWJNKGBA.js.map → chunk-QZLDRQ4I.js.map} +0 -0
  534. /package/dist/{chunk-UYOXFFEY.js.map → chunk-RUNORG2P.js.map} +0 -0
  535. /package/dist/{chunk-LC3FD4BV.js.map → chunk-RZQ6W2W4.js.map} +0 -0
  536. /package/dist/{chunk-MRGJZ75M.js.map → chunk-SMNYAMJD.js.map} +0 -0
  537. /package/dist/{chunk-DN2IDKI5.js.map → chunk-TO7ZTWJW.js.map} +0 -0
  538. /package/dist/{chunk-K2TDK7GG.js.map → chunk-TWTUGCTY.js.map} +0 -0
  539. /package/dist/{chunk-CUTFSLSD.js.map → chunk-UCTS3DDH.js.map} +0 -0
  540. /package/dist/{chunk-JYIJNNN3.js.map → chunk-UG6VXIOK.js.map} +0 -0
  541. /package/dist/{chunk-QOQQMVR2.js.map → chunk-UKYS3NU5.js.map} +0 -0
  542. /package/dist/{chunk-VZRFGJCH.js.map → chunk-UPLZNJKN.js.map} +0 -0
  543. /package/dist/{chunk-DOOWFDWN.js.map → chunk-V6ERBR7U.js.map} +0 -0
  544. /package/dist/{chunk-N7CXQ5TA.js.map → chunk-XZHE2DEN.js.map} +0 -0
  545. /package/dist/{chunk-6NNNURLK.js.map → chunk-Z54EM5YZ.js.map} +0 -0
  546. /package/dist/{chunk-F2Y6I74C.js.map → chunk-ZRZVLB7O.js.map} +0 -0
  547. /package/dist/{chunk-CLKBV3Z3.js.map → chunk-ZUKIUXHQ.js.map} +0 -0
  548. /package/dist/{contradiction-scan-KCADHXPE.js.map → contradiction-scan-JDTBXRGW.js.map} +0 -0
  549. /package/dist/{first-start-migration-LMMZFLKK.js.map → first-start-migration-CRZCZAJN.js.map} +0 -0
  550. /package/dist/{tier-stats-JDN6HRNT.js.map → tier-stats-EXYSKSVN.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
5
5
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
6
6
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
7
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BQQPsSjs.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-D85CzDDY.js';
8
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
9
9
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
10
10
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
@@ -15,8 +15,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
15
15
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
16
16
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
17
17
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
18
- import { S as StorageManager, a as MeetingRecordStore } from './storage-CC1jKcWg.js';
19
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-CC1jKcWg.js';
18
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-qOnaJ1Lw.js';
19
+ export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-qOnaJ1Lw.js';
20
20
  import { SealedMemoryEnvelope } from './write-envelope.js';
21
21
  export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
22
22
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -25,13 +25,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
25
25
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
26
26
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
27
27
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
28
- import { C as CodingContext, bi as CodingModeConfig, a$ as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aL as WearableConversation, bn as FusionDayResult, P as PluginConfig, M as MemoryFile, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aM as WearableSourceSettings, aQ as WearablesConfig, aP as WearableSourceConnector, br as OffTheRecordMarkerSettings, aV as WearableCorrectionRule, bs as WearableDayTranscriptMeta, aT as WearableDayTranscript, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, a_ as MeetingsDetectionInput, b1 as DetectedMeeting, aX as MeetingsConfig, aZ as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-BnQza1y8.js';
29
- export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aY as FusedMeeting, bL as FusedSegmentProvenance, aU as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, b0 as MeetingActivitySnapshot, aW as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aO as WearableMemoryMode, aN as WearableNativeMemory, bZ as WearableNativeMemoryPage, aS as WearableSourceStatus, aR as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-BnQza1y8.js';
28
+ import { C as CodingContext, bi as CodingModeConfig, aQ as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aT as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aU as WearableSourceSettings, aY as WearablesConfig, aX as WearableSourceConnector, br as OffTheRecordMarkerSettings, b1 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, a$ as WearableDayTranscript, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aS as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-ed-SvS2t.js';
29
+ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aN as FusedMeeting, bL as FusedSegmentProvenance, b0 as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, aR as MeetingActivitySnapshot, aL as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bZ as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-ed-SvS2t.js';
30
30
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
31
31
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
32
32
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
33
- import { f as EngramAccessService } from './access-service-DL7X9hrg.js';
34
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-DL7X9hrg.js';
33
+ import { f as EngramAccessService } from './access-service-DkSdXK4S.js';
34
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-DkSdXK4S.js';
35
35
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
36
36
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
37
37
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -39,25 +39,23 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
39
39
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
40
40
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
41
41
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
42
- export { Q as QmdClient } from './qmd-BF5bcVRs.js';
42
+ export { Q as QmdClient } from './qmd-dFCHp1r0.js';
43
43
  export { LanceDbBackend } from './search/lancedb-backend.js';
44
44
  export { OramaBackend } from './search/orama-backend.js';
45
45
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
46
46
  export { buildEntityRecallSection } from './entity-retrieval.js';
47
47
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
48
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-B90is4d8.js';
48
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-DGFf8mD9.js';
49
49
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
50
50
  export { storagePathHash } from './storage-paths.js';
51
51
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
52
52
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
53
53
  export { EngramMcpServer } from './access-mcp.js';
54
- import { OfflineSyncExcludeFile } from './offline-sync-file-io.js';
55
- export { OfflineSyncFileTarget } from './offline-sync-file-io.js';
56
- import { z } from 'zod';
57
- import { FileHandle } from 'node:fs/promises';
58
- import { withHeldFileLock } from './utils/serialize-mutations.js';
59
54
  import { BoundOperation } from './access-boundary.js';
60
55
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
56
+ 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';
57
+ 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-D-SyWNj6.js';
58
+ import { z } from 'zod';
61
59
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
62
60
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
63
61
  export { ParsedXrayCliOptions, parseXrayBudgetFlag, parseXrayCliOptions } from './recall-xray-cli.js';
@@ -80,8 +78,8 @@ export { initLogger, log } from './logger.js';
80
78
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
81
79
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
82
80
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
83
- import { D as DiscoveredExtension } from './semantic-consolidation-DAB3xdKM.js';
84
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DAB3xdKM.js';
81
+ import { D as DiscoveredExtension } from './semantic-consolidation-BP7NAX0N.js';
82
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-BP7NAX0N.js';
85
83
  export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
86
84
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
87
85
  export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
@@ -96,12 +94,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
96
94
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
97
95
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
98
96
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
99
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DFfmsnGk.js';
100
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-jfuZXixq.js';
101
- import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-DGKg2O6r.js';
102
- export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-DGKg2O6r.js';
103
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-heMZSq7G.js';
104
- export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-heMZSq7G.js';
97
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DPcUifCO.js';
98
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-Bze8S0Qs.js';
99
+ import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-DT-pJyda.js';
100
+ export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-DT-pJyda.js';
101
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-C8aRWfhq.js';
102
+ export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-C8aRWfhq.js';
105
103
  import { SearchExecutionOptions } from './search/port.js';
106
104
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
107
105
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -119,11 +117,12 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
119
117
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
120
118
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
121
119
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
122
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-CbUOsE_E.js';
120
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-DICK7GtN.js';
123
121
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
124
122
  export { ContinuityImprovementLoop } from './types-continuity.js';
125
123
  export { EngramAccessInputError } from './access-errors.js';
126
124
  export { ExternalWikiRoot } from './external-wiki-config.js';
125
+ export { OfflineSyncExcludeFile, OfflineSyncFileTarget } from './offline-sync-file-io.js';
127
126
  export { expandTildePath } from './utils/path.js';
128
127
  export { normalizeAttributePairs } from './structured-attributes.js';
129
128
  import './bounded-jsonl-state.js';
@@ -131,6 +130,7 @@ import './operator-doctor-types.js';
131
130
  import './contradiction-config.js';
132
131
  import './graph-path-scoring-config.js';
133
132
  import './recall-state.js';
133
+ import './utils/serialize-mutations.js';
134
134
  import './extraction-faithfulness.js';
135
135
  import './local-llm.js';
136
136
  import './resolve-provider-secret.js';
@@ -166,7 +166,7 @@ import './conversation-index/chunker.js';
166
166
  import './conversation-index/backend.js';
167
167
  import './faiss-adapter-BHecI1fF.js';
168
168
  import './runtime/child-process.js';
169
- import './dependency-propagation-delivery-CTDuAVJc.js';
169
+ import './dependency-propagation-delivery-CzEfB31P.js';
170
170
  import './namespaces/storage.js';
171
171
  import './threading.js';
172
172
  import './graph-444E-DrF.js';
@@ -185,7 +185,7 @@ import './policy-runtime.js';
185
185
  import './profiling.js';
186
186
  import './schemas.js';
187
187
  import './extraction-error-classification.js';
188
- import './access-namespace-preflight-BdHlGd_T.js';
188
+ import './access-namespace-preflight-CCNn_6NE.js';
189
189
  import './recall-explain-renderer.js';
190
190
  import './access-citation.js';
191
191
  import './access-health-types.js';
@@ -195,18 +195,20 @@ import './replica-divergence.js';
195
195
  import './explicit-capture.js';
196
196
  import './access-wearables-meetings-surface.js';
197
197
  import './graph-snapshot.js';
198
- import './transfer/capsule-export.js';
199
- import './capsule-cli.js';
200
198
  import './access-offline-manifest.js';
201
199
  import './reconcile/manifest.js';
202
200
  import './reconcile/plan.js';
201
+ import './capsule-cli.js';
202
+ import './transfer/capsule-export.js';
203
203
  import './qmd-status.js';
204
204
  import './search/embed-helper.js';
205
205
  import 'node:http';
206
+ import './write-rate-limiter.js';
206
207
  import './adapters/types.js';
207
208
  import './adapters/registry.js';
208
209
  import './recall-audit.js';
209
210
  import 'node:stream';
211
+ import 'node:fs/promises';
210
212
  import './maintenance/migrate-observations.js';
211
213
  import './maintenance/rebuild-memory-projection.js';
212
214
  import './maintenance/rebuild-observations.js';
@@ -897,15 +899,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
897
899
  locator: z.ZodOptional<z.ZodString>;
898
900
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
899
901
  }, "strict", z.ZodTypeAny, {
900
- id: string;
902
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
901
903
  label: string;
902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
904
+ id: string;
903
905
  capture: "at_action" | "historical_lookup" | "fixture";
904
906
  locator?: string | undefined;
905
907
  }, {
906
- id: string;
908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
907
909
  label: string;
908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
910
+ id: string;
909
911
  capture: "at_action" | "historical_lookup" | "fixture";
910
912
  locator?: string | undefined;
911
913
  }>;
@@ -922,15 +924,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
922
924
  locator: z.ZodOptional<z.ZodString>;
923
925
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
924
926
  }, "strict", z.ZodTypeAny, {
925
- id: string;
927
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
926
928
  label: string;
927
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
929
+ id: string;
928
930
  capture: "at_action" | "historical_lookup" | "fixture";
929
931
  locator?: string | undefined;
930
932
  }, {
931
- id: string;
933
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
932
934
  label: string;
933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
935
+ id: string;
934
936
  capture: "at_action" | "historical_lookup" | "fixture";
935
937
  locator?: string | undefined;
936
938
  }>, "many">>;
@@ -938,9 +940,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
938
940
  kind: "mission_started";
939
941
  title: string;
940
942
  evidence: {
941
- id: string;
943
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
942
944
  label: string;
943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
945
+ id: string;
944
946
  capture: "at_action" | "historical_lookup" | "fixture";
945
947
  locator?: string | undefined;
946
948
  }[];
@@ -952,9 +954,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
952
954
  objective: string;
953
955
  runMode: "replay" | "fixture" | "live";
954
956
  evidence?: {
955
- id: string;
957
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
956
958
  label: string;
957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
959
+ id: string;
958
960
  capture: "at_action" | "historical_lookup" | "fixture";
959
961
  locator?: string | undefined;
960
962
  }[] | undefined;
@@ -970,15 +972,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
970
972
  locator: z.ZodOptional<z.ZodString>;
971
973
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
972
974
  }, "strict", z.ZodTypeAny, {
973
- id: string;
975
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
974
976
  label: string;
975
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
977
+ id: string;
976
978
  capture: "at_action" | "historical_lookup" | "fixture";
977
979
  locator?: string | undefined;
978
980
  }, {
979
- id: string;
981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
980
982
  label: string;
981
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
983
+ id: string;
982
984
  capture: "at_action" | "historical_lookup" | "fixture";
983
985
  locator?: string | undefined;
984
986
  }>, "many">>;
@@ -986,32 +988,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
986
988
  sessionId: z.ZodString;
987
989
  kind: z.ZodLiteral<"agent_status">;
988
990
  }, "strict", z.ZodTypeAny, {
989
- label: string;
990
- status: "failed" | "blocked" | "working" | "complete" | "idle";
991
991
  kind: "agent_status";
992
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
993
+ label: string;
992
994
  role: string;
993
995
  agentId: string;
994
996
  sessionId: string;
995
997
  evidence: {
996
- id: string;
998
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
997
999
  label: string;
998
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1000
+ id: string;
999
1001
  capture: "at_action" | "historical_lookup" | "fixture";
1000
1002
  locator?: string | undefined;
1001
1003
  }[];
1002
1004
  detail?: string | undefined;
1003
1005
  }, {
1004
- label: string;
1005
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1006
1006
  kind: "agent_status";
1007
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1008
+ label: string;
1007
1009
  role: string;
1008
1010
  agentId: string;
1009
1011
  sessionId: string;
1010
1012
  detail?: string | undefined;
1011
1013
  evidence?: {
1012
- id: string;
1014
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1013
1015
  label: string;
1014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1016
+ id: string;
1015
1017
  capture: "at_action" | "historical_lookup" | "fixture";
1016
1018
  locator?: string | undefined;
1017
1019
  }[] | undefined;
@@ -1025,15 +1027,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1025
1027
  locator: z.ZodOptional<z.ZodString>;
1026
1028
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1027
1029
  }, "strict", z.ZodTypeAny, {
1028
- id: string;
1030
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
1031
  label: string;
1030
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1032
+ id: string;
1031
1033
  capture: "at_action" | "historical_lookup" | "fixture";
1032
1034
  locator?: string | undefined;
1033
1035
  }, {
1034
- id: string;
1036
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1035
1037
  label: string;
1036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1038
+ id: string;
1037
1039
  capture: "at_action" | "historical_lookup" | "fixture";
1038
1040
  locator?: string | undefined;
1039
1041
  }>, "many">>;
@@ -1041,28 +1043,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1041
1043
  sessionId: z.ZodString;
1042
1044
  kind: z.ZodLiteral<"agent_output">;
1043
1045
  }, "strict", z.ZodTypeAny, {
1044
- summary: string;
1045
1046
  kind: "agent_output";
1047
+ summary: string;
1046
1048
  agentId: string;
1047
1049
  sessionId: string;
1048
1050
  evidence: {
1049
- id: string;
1051
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
1052
  label: string;
1051
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1053
+ id: string;
1052
1054
  capture: "at_action" | "historical_lookup" | "fixture";
1053
1055
  locator?: string | undefined;
1054
1056
  }[];
1055
1057
  outputId: string;
1056
1058
  }, {
1057
- summary: string;
1058
1059
  kind: "agent_output";
1060
+ summary: string;
1059
1061
  agentId: string;
1060
1062
  sessionId: string;
1061
1063
  outputId: string;
1062
1064
  evidence?: {
1063
- id: string;
1065
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1064
1066
  label: string;
1065
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1067
+ id: string;
1066
1068
  capture: "at_action" | "historical_lookup" | "fixture";
1067
1069
  locator?: string | undefined;
1068
1070
  }[] | undefined;
@@ -1078,15 +1080,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1078
1080
  locator: z.ZodOptional<z.ZodString>;
1079
1081
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1080
1082
  }, "strict", z.ZodTypeAny, {
1081
- id: string;
1083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
1084
  label: string;
1083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1085
+ id: string;
1084
1086
  capture: "at_action" | "historical_lookup" | "fixture";
1085
1087
  locator?: string | undefined;
1086
1088
  }, {
1087
- id: string;
1089
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1088
1090
  label: string;
1089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1091
+ id: string;
1090
1092
  capture: "at_action" | "historical_lookup" | "fixture";
1091
1093
  locator?: string | undefined;
1092
1094
  }>, "many">>;
@@ -1099,9 +1101,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1099
1101
  statement: string;
1100
1102
  sessionId: string;
1101
1103
  evidence: {
1102
- id: string;
1104
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
1105
  label: string;
1104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1106
+ id: string;
1105
1107
  capture: "at_action" | "historical_lookup" | "fixture";
1106
1108
  locator?: string | undefined;
1107
1109
  }[];
@@ -1117,9 +1119,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1117
1119
  decisionId: string;
1118
1120
  confidence?: number | undefined;
1119
1121
  evidence?: {
1120
- id: string;
1122
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1121
1123
  label: string;
1122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1124
+ id: string;
1123
1125
  capture: "at_action" | "historical_lookup" | "fixture";
1124
1126
  locator?: string | undefined;
1125
1127
  }[] | undefined;
@@ -1136,25 +1138,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1136
1138
  locator: z.ZodOptional<z.ZodString>;
1137
1139
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1138
1140
  }, "strict", z.ZodTypeAny, {
1139
- id: string;
1141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1140
1142
  label: string;
1141
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1143
+ id: string;
1142
1144
  capture: "at_action" | "historical_lookup" | "fixture";
1143
1145
  locator?: string | undefined;
1144
1146
  }, {
1145
- id: string;
1147
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1146
1148
  label: string;
1147
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1149
+ id: string;
1148
1150
  capture: "at_action" | "historical_lookup" | "fixture";
1149
1151
  locator?: string | undefined;
1150
1152
  }>, "many">>;
1151
1153
  }, "strict", z.ZodTypeAny, {
1152
- summary: string;
1153
1154
  kind: "conflict_detected";
1155
+ summary: string;
1154
1156
  evidence: {
1155
- id: string;
1157
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1156
1158
  label: string;
1157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1159
+ id: string;
1158
1160
  capture: "at_action" | "historical_lookup" | "fixture";
1159
1161
  locator?: string | undefined;
1160
1162
  }[];
@@ -1162,15 +1164,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1162
1164
  decisionIds: string[];
1163
1165
  agentIds: string[];
1164
1166
  }, {
1165
- summary: string;
1166
1167
  kind: "conflict_detected";
1168
+ summary: string;
1167
1169
  conflictId: string;
1168
1170
  decisionIds: string[];
1169
1171
  agentIds: string[];
1170
1172
  evidence?: {
1171
- id: string;
1173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1172
1174
  label: string;
1173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1175
+ id: string;
1174
1176
  capture: "at_action" | "historical_lookup" | "fixture";
1175
1177
  locator?: string | undefined;
1176
1178
  }[] | undefined;
@@ -1190,27 +1192,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1190
1192
  locator: z.ZodOptional<z.ZodString>;
1191
1193
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1192
1194
  }, "strict", z.ZodTypeAny, {
1193
- id: string;
1195
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1194
1196
  label: string;
1195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1197
+ id: string;
1196
1198
  capture: "at_action" | "historical_lookup" | "fixture";
1197
1199
  locator?: string | undefined;
1198
1200
  }, {
1199
- id: string;
1201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1200
1202
  label: string;
1201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1203
+ id: string;
1202
1204
  capture: "at_action" | "historical_lookup" | "fixture";
1203
1205
  locator?: string | undefined;
1204
1206
  }>, "many">>;
1205
1207
  }, "strict", z.ZodTypeAny, {
1208
+ kind: "test_result";
1206
1209
  summary: string;
1207
1210
  status: "error" | "failed" | "passed";
1208
- kind: "test_result";
1209
1211
  command: string;
1210
1212
  evidence: {
1211
- id: string;
1213
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1212
1214
  label: string;
1213
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1215
+ id: string;
1214
1216
  capture: "at_action" | "historical_lookup" | "fixture";
1215
1217
  locator?: string | undefined;
1216
1218
  }[];
@@ -1219,17 +1221,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1219
1221
  durationMs?: number | undefined;
1220
1222
  correctionId?: string | undefined;
1221
1223
  }, {
1224
+ kind: "test_result";
1222
1225
  summary: string;
1223
1226
  status: "error" | "failed" | "passed";
1224
- kind: "test_result";
1225
1227
  command: string;
1226
1228
  decisionId: string;
1227
1229
  testId: string;
1228
1230
  durationMs?: number | undefined;
1229
1231
  evidence?: {
1230
- id: string;
1232
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1231
1233
  label: string;
1232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1234
+ id: string;
1233
1235
  capture: "at_action" | "historical_lookup" | "fixture";
1234
1236
  locator?: string | undefined;
1235
1237
  }[] | undefined;
@@ -1250,15 +1252,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1250
1252
  locator: z.ZodOptional<z.ZodString>;
1251
1253
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1252
1254
  }, "strict", z.ZodTypeAny, {
1253
- id: string;
1255
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1254
1256
  label: string;
1255
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1257
+ id: string;
1256
1258
  capture: "at_action" | "historical_lookup" | "fixture";
1257
1259
  locator?: string | undefined;
1258
1260
  }, {
1259
- id: string;
1261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
1262
  label: string;
1261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
+ id: string;
1262
1264
  capture: "at_action" | "historical_lookup" | "fixture";
1263
1265
  locator?: string | undefined;
1264
1266
  }>, "many">>;
@@ -1267,9 +1269,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1267
1269
  statement: string;
1268
1270
  rationale: string;
1269
1271
  evidence: {
1270
- id: string;
1272
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1271
1273
  label: string;
1272
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1274
+ id: string;
1273
1275
  capture: "at_action" | "historical_lookup" | "fixture";
1274
1276
  locator?: string | undefined;
1275
1277
  }[];
@@ -1288,9 +1290,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1288
1290
  supersedesDecisionIds: string[];
1289
1291
  proposedBy: string;
1290
1292
  evidence?: {
1291
- id: string;
1293
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1292
1294
  label: string;
1293
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1295
+ id: string;
1294
1296
  capture: "at_action" | "historical_lookup" | "fixture";
1295
1297
  locator?: string | undefined;
1296
1298
  }[] | undefined;
@@ -1302,13 +1304,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1302
1304
  id: z.ZodString;
1303
1305
  label: z.ZodString;
1304
1306
  }, "strict", z.ZodTypeAny, {
1305
- id: string;
1306
- label: string;
1307
1307
  kind: "agent" | "human";
1308
- }, {
1309
- id: string;
1310
1308
  label: string;
1309
+ id: string;
1310
+ }, {
1311
1311
  kind: "agent" | "human";
1312
+ label: string;
1313
+ id: string;
1312
1314
  }>;
1313
1315
  note: z.ZodOptional<z.ZodString>;
1314
1316
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1318,47 +1320,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1318
1320
  locator: z.ZodOptional<z.ZodString>;
1319
1321
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1320
1322
  }, "strict", z.ZodTypeAny, {
1321
- id: string;
1323
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1322
1324
  label: string;
1323
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1325
+ id: string;
1324
1326
  capture: "at_action" | "historical_lookup" | "fixture";
1325
1327
  locator?: string | undefined;
1326
1328
  }, {
1327
- id: string;
1329
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1328
1330
  label: string;
1329
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
+ id: string;
1330
1332
  capture: "at_action" | "historical_lookup" | "fixture";
1331
1333
  locator?: string | undefined;
1332
1334
  }>, "many">>;
1333
1335
  }, "strict", z.ZodTypeAny, {
1334
1336
  kind: "correction_approved";
1335
1337
  evidence: {
1336
- id: string;
1338
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1337
1339
  label: string;
1338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1340
+ id: string;
1339
1341
  capture: "at_action" | "historical_lookup" | "fixture";
1340
1342
  locator?: string | undefined;
1341
1343
  }[];
1342
1344
  correctionId: string;
1343
1345
  approvedBy: {
1344
- id: string;
1345
- label: string;
1346
1346
  kind: "agent" | "human";
1347
+ label: string;
1348
+ id: string;
1347
1349
  };
1348
1350
  note?: string | undefined;
1349
1351
  }, {
1350
1352
  kind: "correction_approved";
1351
1353
  correctionId: string;
1352
1354
  approvedBy: {
1353
- id: string;
1354
- label: string;
1355
1355
  kind: "agent" | "human";
1356
+ label: string;
1357
+ id: string;
1356
1358
  };
1357
1359
  note?: string | undefined;
1358
1360
  evidence?: {
1359
- id: string;
1361
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1360
1362
  label: string;
1361
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
+ id: string;
1362
1364
  capture: "at_action" | "historical_lookup" | "fixture";
1363
1365
  locator?: string | undefined;
1364
1366
  }[] | undefined;
@@ -1374,24 +1376,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1374
1376
  locator: z.ZodOptional<z.ZodString>;
1375
1377
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1376
1378
  }, "strict", z.ZodTypeAny, {
1377
- id: string;
1379
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1378
1380
  label: string;
1379
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
+ id: string;
1380
1382
  capture: "at_action" | "historical_lookup" | "fixture";
1381
1383
  locator?: string | undefined;
1382
1384
  }, {
1383
- id: string;
1385
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
1386
  label: string;
1385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1387
+ id: string;
1386
1388
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1389
  locator?: string | undefined;
1388
1390
  }>, "many">>;
1389
1391
  }, "strict", z.ZodTypeAny, {
1390
1392
  kind: "decision_superseded";
1391
1393
  evidence: {
1392
- id: string;
1394
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
1395
  label: string;
1394
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1396
+ id: string;
1395
1397
  capture: "at_action" | "historical_lookup" | "fixture";
1396
1398
  locator?: string | undefined;
1397
1399
  }[];
@@ -1404,9 +1406,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1404
1406
  correctionId: string;
1405
1407
  replacementDecisionId: string;
1406
1408
  evidence?: {
1407
- id: string;
1409
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1408
1410
  label: string;
1409
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
+ id: string;
1410
1412
  capture: "at_action" | "historical_lookup" | "fixture";
1411
1413
  locator?: string | undefined;
1412
1414
  }[] | undefined;
@@ -1422,15 +1424,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1422
1424
  locator: z.ZodOptional<z.ZodString>;
1423
1425
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1424
1426
  }, "strict", z.ZodTypeAny, {
1425
- id: string;
1427
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
1428
  label: string;
1427
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1429
+ id: string;
1428
1430
  capture: "at_action" | "historical_lookup" | "fixture";
1429
1431
  locator?: string | undefined;
1430
1432
  }, {
1431
- id: string;
1433
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1432
1434
  label: string;
1433
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
+ id: string;
1434
1436
  capture: "at_action" | "historical_lookup" | "fixture";
1435
1437
  locator?: string | undefined;
1436
1438
  }>, "many">>;
@@ -1443,9 +1445,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1443
1445
  agentId: string;
1444
1446
  sessionId: string;
1445
1447
  evidence: {
1446
- id: string;
1448
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1447
1449
  label: string;
1448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1450
+ id: string;
1449
1451
  capture: "at_action" | "historical_lookup" | "fixture";
1450
1452
  locator?: string | undefined;
1451
1453
  }[];
@@ -1461,9 +1463,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1461
1463
  recallReceiptId: string;
1462
1464
  capturedAtAction: boolean;
1463
1465
  evidence?: {
1464
- id: string;
1466
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1465
1467
  label: string;
1466
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1468
+ id: string;
1467
1469
  capture: "at_action" | "historical_lookup" | "fixture";
1468
1470
  locator?: string | undefined;
1469
1471
  }[] | undefined;
@@ -1479,15 +1481,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1479
1481
  locator: z.ZodOptional<z.ZodString>;
1480
1482
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1481
1483
  }, "strict", z.ZodTypeAny, {
1482
- id: string;
1484
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1483
1485
  label: string;
1484
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1486
+ id: string;
1485
1487
  capture: "at_action" | "historical_lookup" | "fixture";
1486
1488
  locator?: string | undefined;
1487
1489
  }, {
1488
- id: string;
1490
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1489
1491
  label: string;
1490
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1492
+ id: string;
1491
1493
  capture: "at_action" | "historical_lookup" | "fixture";
1492
1494
  locator?: string | undefined;
1493
1495
  }>, "many">>;
@@ -1499,9 +1501,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1499
1501
  agentId: string;
1500
1502
  sessionId: string;
1501
1503
  evidence: {
1502
- id: string;
1504
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1503
1505
  label: string;
1504
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
+ id: string;
1505
1507
  capture: "at_action" | "historical_lookup" | "fixture";
1506
1508
  locator?: string | undefined;
1507
1509
  }[];
@@ -1518,9 +1520,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1518
1520
  recallReceiptId: string;
1519
1521
  staleDecisionAbsent: boolean;
1520
1522
  evidence?: {
1521
- id: string;
1523
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1522
1524
  label: string;
1523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1525
+ id: string;
1524
1526
  capture: "at_action" | "historical_lookup" | "fixture";
1525
1527
  locator?: string | undefined;
1526
1528
  }[] | undefined;
@@ -1535,37 +1537,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1535
1537
  locator: z.ZodOptional<z.ZodString>;
1536
1538
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1537
1539
  }, "strict", z.ZodTypeAny, {
1538
- id: string;
1540
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1539
1541
  label: string;
1540
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
+ id: string;
1541
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1542
1544
  locator?: string | undefined;
1543
1545
  }, {
1544
- id: string;
1546
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1545
1547
  label: string;
1546
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1548
+ id: string;
1547
1549
  capture: "at_action" | "historical_lookup" | "fixture";
1548
1550
  locator?: string | undefined;
1549
1551
  }>, "many">>;
1550
1552
  }, "strict", z.ZodTypeAny, {
1551
- summary: string;
1552
1553
  kind: "mission_completed";
1554
+ summary: string;
1553
1555
  outcome: "failed" | "recovered" | "inconclusive";
1554
1556
  evidence: {
1555
- id: string;
1557
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
1558
  label: string;
1557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1559
+ id: string;
1558
1560
  capture: "at_action" | "historical_lookup" | "fixture";
1559
1561
  locator?: string | undefined;
1560
1562
  }[];
1561
1563
  }, {
1562
- summary: string;
1563
1564
  kind: "mission_completed";
1565
+ summary: string;
1564
1566
  outcome: "failed" | "recovered" | "inconclusive";
1565
1567
  evidence?: {
1566
- id: string;
1568
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1567
1569
  label: string;
1568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1570
+ id: string;
1569
1571
  capture: "at_action" | "historical_lookup" | "fixture";
1570
1572
  locator?: string | undefined;
1571
1573
  }[] | undefined;
@@ -1573,38 +1575,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1573
1575
  kind: "mission_started";
1574
1576
  title: string;
1575
1577
  evidence: {
1576
- id: string;
1578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
1579
  label: string;
1578
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1580
+ id: string;
1579
1581
  capture: "at_action" | "historical_lookup" | "fixture";
1580
1582
  locator?: string | undefined;
1581
1583
  }[];
1582
1584
  objective: string;
1583
1585
  runMode: "replay" | "fixture" | "live";
1584
1586
  } | {
1585
- label: string;
1586
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1587
1587
  kind: "agent_status";
1588
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1589
+ label: string;
1588
1590
  role: string;
1589
1591
  agentId: string;
1590
1592
  sessionId: string;
1591
1593
  evidence: {
1592
- id: string;
1594
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1593
1595
  label: string;
1594
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
+ id: string;
1595
1597
  capture: "at_action" | "historical_lookup" | "fixture";
1596
1598
  locator?: string | undefined;
1597
1599
  }[];
1598
1600
  detail?: string | undefined;
1599
1601
  } | {
1600
- summary: string;
1601
1602
  kind: "agent_output";
1603
+ summary: string;
1602
1604
  agentId: string;
1603
1605
  sessionId: string;
1604
1606
  evidence: {
1605
- id: string;
1607
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1606
1608
  label: string;
1607
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
+ id: string;
1608
1610
  capture: "at_action" | "historical_lookup" | "fixture";
1609
1611
  locator?: string | undefined;
1610
1612
  }[];
@@ -1615,9 +1617,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1615
1617
  statement: string;
1616
1618
  sessionId: string;
1617
1619
  evidence: {
1618
- id: string;
1620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1619
1621
  label: string;
1620
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
+ id: string;
1621
1623
  capture: "at_action" | "historical_lookup" | "fixture";
1622
1624
  locator?: string | undefined;
1623
1625
  }[];
@@ -1625,12 +1627,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1625
1627
  decisionId: string;
1626
1628
  confidence?: number | undefined;
1627
1629
  } | {
1628
- summary: string;
1629
1630
  kind: "conflict_detected";
1631
+ summary: string;
1630
1632
  evidence: {
1631
- id: string;
1633
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
1634
  label: string;
1633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1635
+ id: string;
1634
1636
  capture: "at_action" | "historical_lookup" | "fixture";
1635
1637
  locator?: string | undefined;
1636
1638
  }[];
@@ -1638,14 +1640,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1638
1640
  decisionIds: string[];
1639
1641
  agentIds: string[];
1640
1642
  } | {
1643
+ kind: "test_result";
1641
1644
  summary: string;
1642
1645
  status: "error" | "failed" | "passed";
1643
- kind: "test_result";
1644
1646
  command: string;
1645
1647
  evidence: {
1646
- id: string;
1648
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1647
1649
  label: string;
1648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1650
+ id: string;
1649
1651
  capture: "at_action" | "historical_lookup" | "fixture";
1650
1652
  locator?: string | undefined;
1651
1653
  }[];
@@ -1658,9 +1660,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1658
1660
  statement: string;
1659
1661
  rationale: string;
1660
1662
  evidence: {
1661
- id: string;
1663
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1664
  label: string;
1663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1665
+ id: string;
1664
1666
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1667
  locator?: string | undefined;
1666
1668
  }[];
@@ -1672,25 +1674,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1672
1674
  } | {
1673
1675
  kind: "correction_approved";
1674
1676
  evidence: {
1675
- id: string;
1677
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1676
1678
  label: string;
1677
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1679
+ id: string;
1678
1680
  capture: "at_action" | "historical_lookup" | "fixture";
1679
1681
  locator?: string | undefined;
1680
1682
  }[];
1681
1683
  correctionId: string;
1682
1684
  approvedBy: {
1683
- id: string;
1684
- label: string;
1685
1685
  kind: "agent" | "human";
1686
+ label: string;
1687
+ id: string;
1686
1688
  };
1687
1689
  note?: string | undefined;
1688
1690
  } | {
1689
1691
  kind: "decision_superseded";
1690
1692
  evidence: {
1691
- id: string;
1693
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1692
1694
  label: string;
1693
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1695
+ id: string;
1694
1696
  capture: "at_action" | "historical_lookup" | "fixture";
1695
1697
  locator?: string | undefined;
1696
1698
  }[];
@@ -1703,9 +1705,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1703
1705
  agentId: string;
1704
1706
  sessionId: string;
1705
1707
  evidence: {
1706
- id: string;
1708
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1707
1709
  label: string;
1708
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1710
+ id: string;
1709
1711
  capture: "at_action" | "historical_lookup" | "fixture";
1710
1712
  locator?: string | undefined;
1711
1713
  }[];
@@ -1717,9 +1719,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1717
1719
  agentId: string;
1718
1720
  sessionId: string;
1719
1721
  evidence: {
1720
- id: string;
1722
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1721
1723
  label: string;
1722
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
+ id: string;
1723
1725
  capture: "at_action" | "historical_lookup" | "fixture";
1724
1726
  locator?: string | undefined;
1725
1727
  }[];
@@ -1728,13 +1730,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1728
1730
  recallReceiptId: string;
1729
1731
  staleDecisionAbsent: boolean;
1730
1732
  } | {
1731
- summary: string;
1732
1733
  kind: "mission_completed";
1734
+ summary: string;
1733
1735
  outcome: "failed" | "recovered" | "inconclusive";
1734
1736
  evidence: {
1735
- id: string;
1737
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1736
1738
  label: string;
1737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1739
+ id: string;
1738
1740
  capture: "at_action" | "historical_lookup" | "fixture";
1739
1741
  locator?: string | undefined;
1740
1742
  }[];
@@ -1744,37 +1746,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1744
1746
  objective: string;
1745
1747
  runMode: "replay" | "fixture" | "live";
1746
1748
  evidence?: {
1747
- id: string;
1749
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
1750
  label: string;
1749
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1751
+ id: string;
1750
1752
  capture: "at_action" | "historical_lookup" | "fixture";
1751
1753
  locator?: string | undefined;
1752
1754
  }[] | undefined;
1753
1755
  } | {
1754
- label: string;
1755
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1756
1756
  kind: "agent_status";
1757
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1758
+ label: string;
1757
1759
  role: string;
1758
1760
  agentId: string;
1759
1761
  sessionId: string;
1760
1762
  detail?: string | undefined;
1761
1763
  evidence?: {
1762
- id: string;
1764
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1763
1765
  label: string;
1764
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
+ id: string;
1765
1767
  capture: "at_action" | "historical_lookup" | "fixture";
1766
1768
  locator?: string | undefined;
1767
1769
  }[] | undefined;
1768
1770
  } | {
1769
- summary: string;
1770
1771
  kind: "agent_output";
1772
+ summary: string;
1771
1773
  agentId: string;
1772
1774
  sessionId: string;
1773
1775
  outputId: string;
1774
1776
  evidence?: {
1775
- id: string;
1777
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
1778
  label: string;
1777
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1779
+ id: string;
1778
1780
  capture: "at_action" | "historical_lookup" | "fixture";
1779
1781
  locator?: string | undefined;
1780
1782
  }[] | undefined;
@@ -1787,37 +1789,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1787
1789
  decisionId: string;
1788
1790
  confidence?: number | undefined;
1789
1791
  evidence?: {
1790
- id: string;
1792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1791
1793
  label: string;
1792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1794
+ id: string;
1793
1795
  capture: "at_action" | "historical_lookup" | "fixture";
1794
1796
  locator?: string | undefined;
1795
1797
  }[] | undefined;
1796
1798
  } | {
1797
- summary: string;
1798
1799
  kind: "conflict_detected";
1800
+ summary: string;
1799
1801
  conflictId: string;
1800
1802
  decisionIds: string[];
1801
1803
  agentIds: string[];
1802
1804
  evidence?: {
1803
- id: string;
1805
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1804
1806
  label: string;
1805
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1807
+ id: string;
1806
1808
  capture: "at_action" | "historical_lookup" | "fixture";
1807
1809
  locator?: string | undefined;
1808
1810
  }[] | undefined;
1809
1811
  } | {
1812
+ kind: "test_result";
1810
1813
  summary: string;
1811
1814
  status: "error" | "failed" | "passed";
1812
- kind: "test_result";
1813
1815
  command: string;
1814
1816
  decisionId: string;
1815
1817
  testId: string;
1816
1818
  durationMs?: number | undefined;
1817
1819
  evidence?: {
1818
- id: string;
1820
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
1821
  label: string;
1820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1822
+ id: string;
1821
1823
  capture: "at_action" | "historical_lookup" | "fixture";
1822
1824
  locator?: string | undefined;
1823
1825
  }[] | undefined;
@@ -1832,9 +1834,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1832
1834
  supersedesDecisionIds: string[];
1833
1835
  proposedBy: string;
1834
1836
  evidence?: {
1835
- id: string;
1837
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1836
1838
  label: string;
1837
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1839
+ id: string;
1838
1840
  capture: "at_action" | "historical_lookup" | "fixture";
1839
1841
  locator?: string | undefined;
1840
1842
  }[] | undefined;
@@ -1842,15 +1844,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1842
1844
  kind: "correction_approved";
1843
1845
  correctionId: string;
1844
1846
  approvedBy: {
1845
- id: string;
1846
- label: string;
1847
1847
  kind: "agent" | "human";
1848
+ label: string;
1849
+ id: string;
1848
1850
  };
1849
1851
  note?: string | undefined;
1850
1852
  evidence?: {
1851
- id: string;
1853
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1852
1854
  label: string;
1853
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1855
+ id: string;
1854
1856
  capture: "at_action" | "historical_lookup" | "fixture";
1855
1857
  locator?: string | undefined;
1856
1858
  }[] | undefined;
@@ -1860,9 +1862,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1860
1862
  correctionId: string;
1861
1863
  replacementDecisionId: string;
1862
1864
  evidence?: {
1863
- id: string;
1865
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1864
1866
  label: string;
1865
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1867
+ id: string;
1866
1868
  capture: "at_action" | "historical_lookup" | "fixture";
1867
1869
  locator?: string | undefined;
1868
1870
  }[] | undefined;
@@ -1875,9 +1877,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1875
1877
  recallReceiptId: string;
1876
1878
  capturedAtAction: boolean;
1877
1879
  evidence?: {
1878
- id: string;
1880
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1881
  label: string;
1880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1882
+ id: string;
1881
1883
  capture: "at_action" | "historical_lookup" | "fixture";
1882
1884
  locator?: string | undefined;
1883
1885
  }[] | undefined;
@@ -1890,20 +1892,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1890
1892
  recallReceiptId: string;
1891
1893
  staleDecisionAbsent: boolean;
1892
1894
  evidence?: {
1893
- id: string;
1895
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
1896
  label: string;
1895
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1897
+ id: string;
1896
1898
  capture: "at_action" | "historical_lookup" | "fixture";
1897
1899
  locator?: string | undefined;
1898
1900
  }[] | undefined;
1899
1901
  } | {
1900
- summary: string;
1901
1902
  kind: "mission_completed";
1903
+ summary: string;
1902
1904
  outcome: "failed" | "recovered" | "inconclusive";
1903
1905
  evidence?: {
1904
- id: string;
1906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1907
  label: string;
1906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1908
+ id: string;
1907
1909
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1910
  locator?: string | undefined;
1909
1911
  }[] | undefined;
@@ -1924,15 +1926,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1924
1926
  locator: z.ZodOptional<z.ZodString>;
1925
1927
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1926
1928
  }, "strict", z.ZodTypeAny, {
1927
- id: string;
1929
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1928
1930
  label: string;
1929
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
+ id: string;
1930
1932
  capture: "at_action" | "historical_lookup" | "fixture";
1931
1933
  locator?: string | undefined;
1932
1934
  }, {
1933
- id: string;
1935
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
1936
  label: string;
1935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1937
+ id: string;
1936
1938
  capture: "at_action" | "historical_lookup" | "fixture";
1937
1939
  locator?: string | undefined;
1938
1940
  }>, "many">>;
@@ -1940,9 +1942,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1940
1942
  kind: "mission_started";
1941
1943
  title: string;
1942
1944
  evidence: {
1943
- id: string;
1945
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1944
1946
  label: string;
1945
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
+ id: string;
1946
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1947
1949
  locator?: string | undefined;
1948
1950
  }[];
@@ -1954,9 +1956,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1954
1956
  objective: string;
1955
1957
  runMode: "replay" | "fixture" | "live";
1956
1958
  evidence?: {
1957
- id: string;
1959
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
1960
  label: string;
1959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
+ id: string;
1960
1962
  capture: "at_action" | "historical_lookup" | "fixture";
1961
1963
  locator?: string | undefined;
1962
1964
  }[] | undefined;
@@ -1972,15 +1974,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1972
1974
  locator: z.ZodOptional<z.ZodString>;
1973
1975
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1974
1976
  }, "strict", z.ZodTypeAny, {
1975
- id: string;
1977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
1978
  label: string;
1977
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1979
+ id: string;
1978
1980
  capture: "at_action" | "historical_lookup" | "fixture";
1979
1981
  locator?: string | undefined;
1980
1982
  }, {
1981
- id: string;
1983
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1982
1984
  label: string;
1983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
+ id: string;
1984
1986
  capture: "at_action" | "historical_lookup" | "fixture";
1985
1987
  locator?: string | undefined;
1986
1988
  }>, "many">>;
@@ -1988,32 +1990,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1988
1990
  sessionId: z.ZodString;
1989
1991
  kind: z.ZodLiteral<"agent_status">;
1990
1992
  }, "strict", z.ZodTypeAny, {
1991
- label: string;
1992
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1993
1993
  kind: "agent_status";
1994
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1995
+ label: string;
1994
1996
  role: string;
1995
1997
  agentId: string;
1996
1998
  sessionId: string;
1997
1999
  evidence: {
1998
- id: string;
2000
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1999
2001
  label: string;
2000
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
+ id: string;
2001
2003
  capture: "at_action" | "historical_lookup" | "fixture";
2002
2004
  locator?: string | undefined;
2003
2005
  }[];
2004
2006
  detail?: string | undefined;
2005
2007
  }, {
2006
- label: string;
2007
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2008
2008
  kind: "agent_status";
2009
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2010
+ label: string;
2009
2011
  role: string;
2010
2012
  agentId: string;
2011
2013
  sessionId: string;
2012
2014
  detail?: string | undefined;
2013
2015
  evidence?: {
2014
- id: string;
2016
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2015
2017
  label: string;
2016
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2018
+ id: string;
2017
2019
  capture: "at_action" | "historical_lookup" | "fixture";
2018
2020
  locator?: string | undefined;
2019
2021
  }[] | undefined;
@@ -2027,15 +2029,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2027
2029
  locator: z.ZodOptional<z.ZodString>;
2028
2030
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2029
2031
  }, "strict", z.ZodTypeAny, {
2030
- id: string;
2032
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
2033
  label: string;
2032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2034
+ id: string;
2033
2035
  capture: "at_action" | "historical_lookup" | "fixture";
2034
2036
  locator?: string | undefined;
2035
2037
  }, {
2036
- id: string;
2038
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
2039
  label: string;
2038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2040
+ id: string;
2039
2041
  capture: "at_action" | "historical_lookup" | "fixture";
2040
2042
  locator?: string | undefined;
2041
2043
  }>, "many">>;
@@ -2043,28 +2045,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2043
2045
  sessionId: z.ZodString;
2044
2046
  kind: z.ZodLiteral<"agent_output">;
2045
2047
  }, "strict", z.ZodTypeAny, {
2046
- summary: string;
2047
2048
  kind: "agent_output";
2049
+ summary: string;
2048
2050
  agentId: string;
2049
2051
  sessionId: string;
2050
2052
  evidence: {
2051
- id: string;
2053
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
2054
  label: string;
2053
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
+ id: string;
2054
2056
  capture: "at_action" | "historical_lookup" | "fixture";
2055
2057
  locator?: string | undefined;
2056
2058
  }[];
2057
2059
  outputId: string;
2058
2060
  }, {
2059
- summary: string;
2060
2061
  kind: "agent_output";
2062
+ summary: string;
2061
2063
  agentId: string;
2062
2064
  sessionId: string;
2063
2065
  outputId: string;
2064
2066
  evidence?: {
2065
- id: string;
2067
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2066
2068
  label: string;
2067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2069
+ id: string;
2068
2070
  capture: "at_action" | "historical_lookup" | "fixture";
2069
2071
  locator?: string | undefined;
2070
2072
  }[] | undefined;
@@ -2080,15 +2082,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2080
2082
  locator: z.ZodOptional<z.ZodString>;
2081
2083
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2082
2084
  }, "strict", z.ZodTypeAny, {
2083
- id: string;
2085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2086
  label: string;
2085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2087
+ id: string;
2086
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2087
2089
  locator?: string | undefined;
2088
2090
  }, {
2089
- id: string;
2091
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2090
2092
  label: string;
2091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2093
+ id: string;
2092
2094
  capture: "at_action" | "historical_lookup" | "fixture";
2093
2095
  locator?: string | undefined;
2094
2096
  }>, "many">>;
@@ -2101,9 +2103,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2101
2103
  statement: string;
2102
2104
  sessionId: string;
2103
2105
  evidence: {
2104
- id: string;
2106
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
2107
  label: string;
2106
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2108
+ id: string;
2107
2109
  capture: "at_action" | "historical_lookup" | "fixture";
2108
2110
  locator?: string | undefined;
2109
2111
  }[];
@@ -2119,9 +2121,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2119
2121
  decisionId: string;
2120
2122
  confidence?: number | undefined;
2121
2123
  evidence?: {
2122
- id: string;
2124
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2123
2125
  label: string;
2124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2126
+ id: string;
2125
2127
  capture: "at_action" | "historical_lookup" | "fixture";
2126
2128
  locator?: string | undefined;
2127
2129
  }[] | undefined;
@@ -2138,25 +2140,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2138
2140
  locator: z.ZodOptional<z.ZodString>;
2139
2141
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2140
2142
  }, "strict", z.ZodTypeAny, {
2141
- id: string;
2143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
2144
  label: string;
2143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
+ id: string;
2144
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2145
2147
  locator?: string | undefined;
2146
2148
  }, {
2147
- id: string;
2149
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2148
2150
  label: string;
2149
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2151
+ id: string;
2150
2152
  capture: "at_action" | "historical_lookup" | "fixture";
2151
2153
  locator?: string | undefined;
2152
2154
  }>, "many">>;
2153
2155
  }, "strict", z.ZodTypeAny, {
2154
- summary: string;
2155
2156
  kind: "conflict_detected";
2157
+ summary: string;
2156
2158
  evidence: {
2157
- id: string;
2159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
2160
  label: string;
2159
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2161
+ id: string;
2160
2162
  capture: "at_action" | "historical_lookup" | "fixture";
2161
2163
  locator?: string | undefined;
2162
2164
  }[];
@@ -2164,15 +2166,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2164
2166
  decisionIds: string[];
2165
2167
  agentIds: string[];
2166
2168
  }, {
2167
- summary: string;
2168
2169
  kind: "conflict_detected";
2170
+ summary: string;
2169
2171
  conflictId: string;
2170
2172
  decisionIds: string[];
2171
2173
  agentIds: string[];
2172
2174
  evidence?: {
2173
- id: string;
2175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2176
  label: string;
2175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2177
+ id: string;
2176
2178
  capture: "at_action" | "historical_lookup" | "fixture";
2177
2179
  locator?: string | undefined;
2178
2180
  }[] | undefined;
@@ -2192,27 +2194,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2192
2194
  locator: z.ZodOptional<z.ZodString>;
2193
2195
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2194
2196
  }, "strict", z.ZodTypeAny, {
2195
- id: string;
2197
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2196
2198
  label: string;
2197
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2199
+ id: string;
2198
2200
  capture: "at_action" | "historical_lookup" | "fixture";
2199
2201
  locator?: string | undefined;
2200
2202
  }, {
2201
- id: string;
2203
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2204
  label: string;
2203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2205
+ id: string;
2204
2206
  capture: "at_action" | "historical_lookup" | "fixture";
2205
2207
  locator?: string | undefined;
2206
2208
  }>, "many">>;
2207
2209
  }, "strict", z.ZodTypeAny, {
2210
+ kind: "test_result";
2208
2211
  summary: string;
2209
2212
  status: "error" | "failed" | "passed";
2210
- kind: "test_result";
2211
2213
  command: string;
2212
2214
  evidence: {
2213
- id: string;
2215
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2214
2216
  label: string;
2215
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
+ id: string;
2216
2218
  capture: "at_action" | "historical_lookup" | "fixture";
2217
2219
  locator?: string | undefined;
2218
2220
  }[];
@@ -2221,17 +2223,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2221
2223
  durationMs?: number | undefined;
2222
2224
  correctionId?: string | undefined;
2223
2225
  }, {
2226
+ kind: "test_result";
2224
2227
  summary: string;
2225
2228
  status: "error" | "failed" | "passed";
2226
- kind: "test_result";
2227
2229
  command: string;
2228
2230
  decisionId: string;
2229
2231
  testId: string;
2230
2232
  durationMs?: number | undefined;
2231
2233
  evidence?: {
2232
- id: string;
2234
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
2235
  label: string;
2234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2236
+ id: string;
2235
2237
  capture: "at_action" | "historical_lookup" | "fixture";
2236
2238
  locator?: string | undefined;
2237
2239
  }[] | undefined;
@@ -2252,15 +2254,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2252
2254
  locator: z.ZodOptional<z.ZodString>;
2253
2255
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2254
2256
  }, "strict", z.ZodTypeAny, {
2255
- id: string;
2257
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2256
2258
  label: string;
2257
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2259
+ id: string;
2258
2260
  capture: "at_action" | "historical_lookup" | "fixture";
2259
2261
  locator?: string | undefined;
2260
2262
  }, {
2261
- id: string;
2263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2264
  label: string;
2263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
+ id: string;
2264
2266
  capture: "at_action" | "historical_lookup" | "fixture";
2265
2267
  locator?: string | undefined;
2266
2268
  }>, "many">>;
@@ -2269,9 +2271,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2269
2271
  statement: string;
2270
2272
  rationale: string;
2271
2273
  evidence: {
2272
- id: string;
2274
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
2275
  label: string;
2274
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2276
+ id: string;
2275
2277
  capture: "at_action" | "historical_lookup" | "fixture";
2276
2278
  locator?: string | undefined;
2277
2279
  }[];
@@ -2290,9 +2292,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2290
2292
  supersedesDecisionIds: string[];
2291
2293
  proposedBy: string;
2292
2294
  evidence?: {
2293
- id: string;
2295
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2294
2296
  label: string;
2295
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2297
+ id: string;
2296
2298
  capture: "at_action" | "historical_lookup" | "fixture";
2297
2299
  locator?: string | undefined;
2298
2300
  }[] | undefined;
@@ -2304,13 +2306,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2304
2306
  id: z.ZodString;
2305
2307
  label: z.ZodString;
2306
2308
  }, "strict", z.ZodTypeAny, {
2307
- id: string;
2308
- label: string;
2309
2309
  kind: "agent" | "human";
2310
- }, {
2311
- id: string;
2312
2310
  label: string;
2311
+ id: string;
2312
+ }, {
2313
2313
  kind: "agent" | "human";
2314
+ label: string;
2315
+ id: string;
2314
2316
  }>;
2315
2317
  note: z.ZodOptional<z.ZodString>;
2316
2318
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2320,47 +2322,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2320
2322
  locator: z.ZodOptional<z.ZodString>;
2321
2323
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2322
2324
  }, "strict", z.ZodTypeAny, {
2323
- id: string;
2325
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2324
2326
  label: string;
2325
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2327
+ id: string;
2326
2328
  capture: "at_action" | "historical_lookup" | "fixture";
2327
2329
  locator?: string | undefined;
2328
2330
  }, {
2329
- id: string;
2331
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2330
2332
  label: string;
2331
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
+ id: string;
2332
2334
  capture: "at_action" | "historical_lookup" | "fixture";
2333
2335
  locator?: string | undefined;
2334
2336
  }>, "many">>;
2335
2337
  }, "strict", z.ZodTypeAny, {
2336
2338
  kind: "correction_approved";
2337
2339
  evidence: {
2338
- id: string;
2340
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2339
2341
  label: string;
2340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2342
+ id: string;
2341
2343
  capture: "at_action" | "historical_lookup" | "fixture";
2342
2344
  locator?: string | undefined;
2343
2345
  }[];
2344
2346
  correctionId: string;
2345
2347
  approvedBy: {
2346
- id: string;
2347
- label: string;
2348
2348
  kind: "agent" | "human";
2349
+ label: string;
2350
+ id: string;
2349
2351
  };
2350
2352
  note?: string | undefined;
2351
2353
  }, {
2352
2354
  kind: "correction_approved";
2353
2355
  correctionId: string;
2354
2356
  approvedBy: {
2355
- id: string;
2356
- label: string;
2357
2357
  kind: "agent" | "human";
2358
+ label: string;
2359
+ id: string;
2358
2360
  };
2359
2361
  note?: string | undefined;
2360
2362
  evidence?: {
2361
- id: string;
2363
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2362
2364
  label: string;
2363
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
+ id: string;
2364
2366
  capture: "at_action" | "historical_lookup" | "fixture";
2365
2367
  locator?: string | undefined;
2366
2368
  }[] | undefined;
@@ -2376,24 +2378,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2376
2378
  locator: z.ZodOptional<z.ZodString>;
2377
2379
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2378
2380
  }, "strict", z.ZodTypeAny, {
2379
- id: string;
2381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2380
2382
  label: string;
2381
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
+ id: string;
2382
2384
  capture: "at_action" | "historical_lookup" | "fixture";
2383
2385
  locator?: string | undefined;
2384
2386
  }, {
2385
- id: string;
2387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
2388
  label: string;
2387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2389
+ id: string;
2388
2390
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2391
  locator?: string | undefined;
2390
2392
  }>, "many">>;
2391
2393
  }, "strict", z.ZodTypeAny, {
2392
2394
  kind: "decision_superseded";
2393
2395
  evidence: {
2394
- id: string;
2396
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
2397
  label: string;
2396
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2398
+ id: string;
2397
2399
  capture: "at_action" | "historical_lookup" | "fixture";
2398
2400
  locator?: string | undefined;
2399
2401
  }[];
@@ -2406,9 +2408,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2406
2408
  correctionId: string;
2407
2409
  replacementDecisionId: string;
2408
2410
  evidence?: {
2409
- id: string;
2411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2410
2412
  label: string;
2411
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
+ id: string;
2412
2414
  capture: "at_action" | "historical_lookup" | "fixture";
2413
2415
  locator?: string | undefined;
2414
2416
  }[] | undefined;
@@ -2424,15 +2426,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2424
2426
  locator: z.ZodOptional<z.ZodString>;
2425
2427
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2426
2428
  }, "strict", z.ZodTypeAny, {
2427
- id: string;
2429
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
2430
  label: string;
2429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2431
+ id: string;
2430
2432
  capture: "at_action" | "historical_lookup" | "fixture";
2431
2433
  locator?: string | undefined;
2432
2434
  }, {
2433
- id: string;
2435
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2434
2436
  label: string;
2435
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
+ id: string;
2436
2438
  capture: "at_action" | "historical_lookup" | "fixture";
2437
2439
  locator?: string | undefined;
2438
2440
  }>, "many">>;
@@ -2445,9 +2447,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2445
2447
  agentId: string;
2446
2448
  sessionId: string;
2447
2449
  evidence: {
2448
- id: string;
2450
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2449
2451
  label: string;
2450
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2452
+ id: string;
2451
2453
  capture: "at_action" | "historical_lookup" | "fixture";
2452
2454
  locator?: string | undefined;
2453
2455
  }[];
@@ -2463,9 +2465,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2463
2465
  recallReceiptId: string;
2464
2466
  capturedAtAction: boolean;
2465
2467
  evidence?: {
2466
- id: string;
2468
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2467
2469
  label: string;
2468
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2470
+ id: string;
2469
2471
  capture: "at_action" | "historical_lookup" | "fixture";
2470
2472
  locator?: string | undefined;
2471
2473
  }[] | undefined;
@@ -2481,15 +2483,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2481
2483
  locator: z.ZodOptional<z.ZodString>;
2482
2484
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2483
2485
  }, "strict", z.ZodTypeAny, {
2484
- id: string;
2486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2485
2487
  label: string;
2486
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2488
+ id: string;
2487
2489
  capture: "at_action" | "historical_lookup" | "fixture";
2488
2490
  locator?: string | undefined;
2489
2491
  }, {
2490
- id: string;
2492
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2491
2493
  label: string;
2492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2494
+ id: string;
2493
2495
  capture: "at_action" | "historical_lookup" | "fixture";
2494
2496
  locator?: string | undefined;
2495
2497
  }>, "many">>;
@@ -2501,9 +2503,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2501
2503
  agentId: string;
2502
2504
  sessionId: string;
2503
2505
  evidence: {
2504
- id: string;
2506
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2505
2507
  label: string;
2506
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
+ id: string;
2507
2509
  capture: "at_action" | "historical_lookup" | "fixture";
2508
2510
  locator?: string | undefined;
2509
2511
  }[];
@@ -2520,9 +2522,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2520
2522
  recallReceiptId: string;
2521
2523
  staleDecisionAbsent: boolean;
2522
2524
  evidence?: {
2523
- id: string;
2525
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2524
2526
  label: string;
2525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2527
+ id: string;
2526
2528
  capture: "at_action" | "historical_lookup" | "fixture";
2527
2529
  locator?: string | undefined;
2528
2530
  }[] | undefined;
@@ -2537,37 +2539,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2537
2539
  locator: z.ZodOptional<z.ZodString>;
2538
2540
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2539
2541
  }, "strict", z.ZodTypeAny, {
2540
- id: string;
2542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2541
2543
  label: string;
2542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
+ id: string;
2543
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2544
2546
  locator?: string | undefined;
2545
2547
  }, {
2546
- id: string;
2548
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2547
2549
  label: string;
2548
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2550
+ id: string;
2549
2551
  capture: "at_action" | "historical_lookup" | "fixture";
2550
2552
  locator?: string | undefined;
2551
2553
  }>, "many">>;
2552
2554
  }, "strict", z.ZodTypeAny, {
2553
- summary: string;
2554
2555
  kind: "mission_completed";
2556
+ summary: string;
2555
2557
  outcome: "failed" | "recovered" | "inconclusive";
2556
2558
  evidence: {
2557
- id: string;
2559
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
2560
  label: string;
2559
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2561
+ id: string;
2560
2562
  capture: "at_action" | "historical_lookup" | "fixture";
2561
2563
  locator?: string | undefined;
2562
2564
  }[];
2563
2565
  }, {
2564
- summary: string;
2565
2566
  kind: "mission_completed";
2567
+ summary: string;
2566
2568
  outcome: "failed" | "recovered" | "inconclusive";
2567
2569
  evidence?: {
2568
- id: string;
2570
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2569
2571
  label: string;
2570
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2572
+ id: string;
2571
2573
  capture: "at_action" | "historical_lookup" | "fixture";
2572
2574
  locator?: string | undefined;
2573
2575
  }[] | undefined;
@@ -2575,38 +2577,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2575
2577
  kind: "mission_started";
2576
2578
  title: string;
2577
2579
  evidence: {
2578
- id: string;
2580
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
2581
  label: string;
2580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2582
+ id: string;
2581
2583
  capture: "at_action" | "historical_lookup" | "fixture";
2582
2584
  locator?: string | undefined;
2583
2585
  }[];
2584
2586
  objective: string;
2585
2587
  runMode: "replay" | "fixture" | "live";
2586
2588
  } | {
2587
- label: string;
2588
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2589
2589
  kind: "agent_status";
2590
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2591
+ label: string;
2590
2592
  role: string;
2591
2593
  agentId: string;
2592
2594
  sessionId: string;
2593
2595
  evidence: {
2594
- id: string;
2596
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2595
2597
  label: string;
2596
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
+ id: string;
2597
2599
  capture: "at_action" | "historical_lookup" | "fixture";
2598
2600
  locator?: string | undefined;
2599
2601
  }[];
2600
2602
  detail?: string | undefined;
2601
2603
  } | {
2602
- summary: string;
2603
2604
  kind: "agent_output";
2605
+ summary: string;
2604
2606
  agentId: string;
2605
2607
  sessionId: string;
2606
2608
  evidence: {
2607
- id: string;
2609
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2608
2610
  label: string;
2609
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
+ id: string;
2610
2612
  capture: "at_action" | "historical_lookup" | "fixture";
2611
2613
  locator?: string | undefined;
2612
2614
  }[];
@@ -2617,9 +2619,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2617
2619
  statement: string;
2618
2620
  sessionId: string;
2619
2621
  evidence: {
2620
- id: string;
2622
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2621
2623
  label: string;
2622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
+ id: string;
2623
2625
  capture: "at_action" | "historical_lookup" | "fixture";
2624
2626
  locator?: string | undefined;
2625
2627
  }[];
@@ -2627,12 +2629,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2627
2629
  decisionId: string;
2628
2630
  confidence?: number | undefined;
2629
2631
  } | {
2630
- summary: string;
2631
2632
  kind: "conflict_detected";
2633
+ summary: string;
2632
2634
  evidence: {
2633
- id: string;
2635
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
2636
  label: string;
2635
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2637
+ id: string;
2636
2638
  capture: "at_action" | "historical_lookup" | "fixture";
2637
2639
  locator?: string | undefined;
2638
2640
  }[];
@@ -2640,14 +2642,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2640
2642
  decisionIds: string[];
2641
2643
  agentIds: string[];
2642
2644
  } | {
2645
+ kind: "test_result";
2643
2646
  summary: string;
2644
2647
  status: "error" | "failed" | "passed";
2645
- kind: "test_result";
2646
2648
  command: string;
2647
2649
  evidence: {
2648
- id: string;
2650
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2649
2651
  label: string;
2650
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2652
+ id: string;
2651
2653
  capture: "at_action" | "historical_lookup" | "fixture";
2652
2654
  locator?: string | undefined;
2653
2655
  }[];
@@ -2660,9 +2662,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2660
2662
  statement: string;
2661
2663
  rationale: string;
2662
2664
  evidence: {
2663
- id: string;
2665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2666
  label: string;
2665
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2667
+ id: string;
2666
2668
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2669
  locator?: string | undefined;
2668
2670
  }[];
@@ -2674,25 +2676,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2674
2676
  } | {
2675
2677
  kind: "correction_approved";
2676
2678
  evidence: {
2677
- id: string;
2679
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2678
2680
  label: string;
2679
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2681
+ id: string;
2680
2682
  capture: "at_action" | "historical_lookup" | "fixture";
2681
2683
  locator?: string | undefined;
2682
2684
  }[];
2683
2685
  correctionId: string;
2684
2686
  approvedBy: {
2685
- id: string;
2686
- label: string;
2687
2687
  kind: "agent" | "human";
2688
+ label: string;
2689
+ id: string;
2688
2690
  };
2689
2691
  note?: string | undefined;
2690
2692
  } | {
2691
2693
  kind: "decision_superseded";
2692
2694
  evidence: {
2693
- id: string;
2695
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2694
2696
  label: string;
2695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2697
+ id: string;
2696
2698
  capture: "at_action" | "historical_lookup" | "fixture";
2697
2699
  locator?: string | undefined;
2698
2700
  }[];
@@ -2705,9 +2707,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2705
2707
  agentId: string;
2706
2708
  sessionId: string;
2707
2709
  evidence: {
2708
- id: string;
2710
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2709
2711
  label: string;
2710
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2712
+ id: string;
2711
2713
  capture: "at_action" | "historical_lookup" | "fixture";
2712
2714
  locator?: string | undefined;
2713
2715
  }[];
@@ -2719,9 +2721,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2719
2721
  agentId: string;
2720
2722
  sessionId: string;
2721
2723
  evidence: {
2722
- id: string;
2724
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2723
2725
  label: string;
2724
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
+ id: string;
2725
2727
  capture: "at_action" | "historical_lookup" | "fixture";
2726
2728
  locator?: string | undefined;
2727
2729
  }[];
@@ -2730,13 +2732,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2730
2732
  recallReceiptId: string;
2731
2733
  staleDecisionAbsent: boolean;
2732
2734
  } | {
2733
- summary: string;
2734
2735
  kind: "mission_completed";
2736
+ summary: string;
2735
2737
  outcome: "failed" | "recovered" | "inconclusive";
2736
2738
  evidence: {
2737
- id: string;
2739
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2738
2740
  label: string;
2739
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2741
+ id: string;
2740
2742
  capture: "at_action" | "historical_lookup" | "fixture";
2741
2743
  locator?: string | undefined;
2742
2744
  }[];
@@ -2746,37 +2748,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2746
2748
  objective: string;
2747
2749
  runMode: "replay" | "fixture" | "live";
2748
2750
  evidence?: {
2749
- id: string;
2751
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
2752
  label: string;
2751
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2753
+ id: string;
2752
2754
  capture: "at_action" | "historical_lookup" | "fixture";
2753
2755
  locator?: string | undefined;
2754
2756
  }[] | undefined;
2755
2757
  } | {
2756
- label: string;
2757
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2758
2758
  kind: "agent_status";
2759
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2760
+ label: string;
2759
2761
  role: string;
2760
2762
  agentId: string;
2761
2763
  sessionId: string;
2762
2764
  detail?: string | undefined;
2763
2765
  evidence?: {
2764
- id: string;
2766
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2765
2767
  label: string;
2766
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
+ id: string;
2767
2769
  capture: "at_action" | "historical_lookup" | "fixture";
2768
2770
  locator?: string | undefined;
2769
2771
  }[] | undefined;
2770
2772
  } | {
2771
- summary: string;
2772
2773
  kind: "agent_output";
2774
+ summary: string;
2773
2775
  agentId: string;
2774
2776
  sessionId: string;
2775
2777
  outputId: string;
2776
2778
  evidence?: {
2777
- id: string;
2779
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
2780
  label: string;
2779
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2781
+ id: string;
2780
2782
  capture: "at_action" | "historical_lookup" | "fixture";
2781
2783
  locator?: string | undefined;
2782
2784
  }[] | undefined;
@@ -2789,37 +2791,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2789
2791
  decisionId: string;
2790
2792
  confidence?: number | undefined;
2791
2793
  evidence?: {
2792
- id: string;
2794
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2793
2795
  label: string;
2794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2796
+ id: string;
2795
2797
  capture: "at_action" | "historical_lookup" | "fixture";
2796
2798
  locator?: string | undefined;
2797
2799
  }[] | undefined;
2798
2800
  } | {
2799
- summary: string;
2800
2801
  kind: "conflict_detected";
2802
+ summary: string;
2801
2803
  conflictId: string;
2802
2804
  decisionIds: string[];
2803
2805
  agentIds: string[];
2804
2806
  evidence?: {
2805
- id: string;
2807
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2806
2808
  label: string;
2807
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2809
+ id: string;
2808
2810
  capture: "at_action" | "historical_lookup" | "fixture";
2809
2811
  locator?: string | undefined;
2810
2812
  }[] | undefined;
2811
2813
  } | {
2814
+ kind: "test_result";
2812
2815
  summary: string;
2813
2816
  status: "error" | "failed" | "passed";
2814
- kind: "test_result";
2815
2817
  command: string;
2816
2818
  decisionId: string;
2817
2819
  testId: string;
2818
2820
  durationMs?: number | undefined;
2819
2821
  evidence?: {
2820
- id: string;
2822
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
2823
  label: string;
2822
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2824
+ id: string;
2823
2825
  capture: "at_action" | "historical_lookup" | "fixture";
2824
2826
  locator?: string | undefined;
2825
2827
  }[] | undefined;
@@ -2834,9 +2836,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2834
2836
  supersedesDecisionIds: string[];
2835
2837
  proposedBy: string;
2836
2838
  evidence?: {
2837
- id: string;
2839
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2838
2840
  label: string;
2839
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2841
+ id: string;
2840
2842
  capture: "at_action" | "historical_lookup" | "fixture";
2841
2843
  locator?: string | undefined;
2842
2844
  }[] | undefined;
@@ -2844,15 +2846,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2844
2846
  kind: "correction_approved";
2845
2847
  correctionId: string;
2846
2848
  approvedBy: {
2847
- id: string;
2848
- label: string;
2849
2849
  kind: "agent" | "human";
2850
+ label: string;
2851
+ id: string;
2850
2852
  };
2851
2853
  note?: string | undefined;
2852
2854
  evidence?: {
2853
- id: string;
2855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2854
2856
  label: string;
2855
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2857
+ id: string;
2856
2858
  capture: "at_action" | "historical_lookup" | "fixture";
2857
2859
  locator?: string | undefined;
2858
2860
  }[] | undefined;
@@ -2862,9 +2864,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2862
2864
  correctionId: string;
2863
2865
  replacementDecisionId: string;
2864
2866
  evidence?: {
2865
- id: string;
2867
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2866
2868
  label: string;
2867
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2869
+ id: string;
2868
2870
  capture: "at_action" | "historical_lookup" | "fixture";
2869
2871
  locator?: string | undefined;
2870
2872
  }[] | undefined;
@@ -2877,9 +2879,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2877
2879
  recallReceiptId: string;
2878
2880
  capturedAtAction: boolean;
2879
2881
  evidence?: {
2880
- id: string;
2882
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2883
  label: string;
2882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2884
+ id: string;
2883
2885
  capture: "at_action" | "historical_lookup" | "fixture";
2884
2886
  locator?: string | undefined;
2885
2887
  }[] | undefined;
@@ -2892,20 +2894,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2892
2894
  recallReceiptId: string;
2893
2895
  staleDecisionAbsent: boolean;
2894
2896
  evidence?: {
2895
- id: string;
2897
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
2898
  label: string;
2897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2899
+ id: string;
2898
2900
  capture: "at_action" | "historical_lookup" | "fixture";
2899
2901
  locator?: string | undefined;
2900
2902
  }[] | undefined;
2901
2903
  } | {
2902
- summary: string;
2903
2904
  kind: "mission_completed";
2905
+ summary: string;
2904
2906
  outcome: "failed" | "recovered" | "inconclusive";
2905
2907
  evidence?: {
2906
- id: string;
2908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
2909
  label: string;
2908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
+ id: string;
2909
2911
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2912
  locator?: string | undefined;
2911
2913
  }[] | undefined;
@@ -2915,38 +2917,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2915
2917
  kind: "mission_started";
2916
2918
  title: string;
2917
2919
  evidence: {
2918
- id: string;
2920
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
2921
  label: string;
2920
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2922
+ id: string;
2921
2923
  capture: "at_action" | "historical_lookup" | "fixture";
2922
2924
  locator?: string | undefined;
2923
2925
  }[];
2924
2926
  objective: string;
2925
2927
  runMode: "replay" | "fixture" | "live";
2926
2928
  } | {
2927
- label: string;
2928
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2929
2929
  kind: "agent_status";
2930
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2931
+ label: string;
2930
2932
  role: string;
2931
2933
  agentId: string;
2932
2934
  sessionId: string;
2933
2935
  evidence: {
2934
- id: string;
2936
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2935
2937
  label: string;
2936
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2938
+ id: string;
2937
2939
  capture: "at_action" | "historical_lookup" | "fixture";
2938
2940
  locator?: string | undefined;
2939
2941
  }[];
2940
2942
  detail?: string | undefined;
2941
2943
  } | {
2942
- summary: string;
2943
2944
  kind: "agent_output";
2945
+ summary: string;
2944
2946
  agentId: string;
2945
2947
  sessionId: string;
2946
2948
  evidence: {
2947
- id: string;
2949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
2950
  label: string;
2949
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
+ id: string;
2950
2952
  capture: "at_action" | "historical_lookup" | "fixture";
2951
2953
  locator?: string | undefined;
2952
2954
  }[];
@@ -2957,9 +2959,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2957
2959
  statement: string;
2958
2960
  sessionId: string;
2959
2961
  evidence: {
2960
- id: string;
2962
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
2963
  label: string;
2962
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2964
+ id: string;
2963
2965
  capture: "at_action" | "historical_lookup" | "fixture";
2964
2966
  locator?: string | undefined;
2965
2967
  }[];
@@ -2967,12 +2969,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2967
2969
  decisionId: string;
2968
2970
  confidence?: number | undefined;
2969
2971
  } | {
2970
- summary: string;
2971
2972
  kind: "conflict_detected";
2973
+ summary: string;
2972
2974
  evidence: {
2973
- id: string;
2975
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
2976
  label: string;
2975
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2977
+ id: string;
2976
2978
  capture: "at_action" | "historical_lookup" | "fixture";
2977
2979
  locator?: string | undefined;
2978
2980
  }[];
@@ -2980,14 +2982,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2980
2982
  decisionIds: string[];
2981
2983
  agentIds: string[];
2982
2984
  } | {
2985
+ kind: "test_result";
2983
2986
  summary: string;
2984
2987
  status: "error" | "failed" | "passed";
2985
- kind: "test_result";
2986
2988
  command: string;
2987
2989
  evidence: {
2988
- id: string;
2990
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
2991
  label: string;
2990
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2992
+ id: string;
2991
2993
  capture: "at_action" | "historical_lookup" | "fixture";
2992
2994
  locator?: string | undefined;
2993
2995
  }[];
@@ -3000,9 +3002,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3000
3002
  statement: string;
3001
3003
  rationale: string;
3002
3004
  evidence: {
3003
- id: string;
3005
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
3006
  label: string;
3005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3007
+ id: string;
3006
3008
  capture: "at_action" | "historical_lookup" | "fixture";
3007
3009
  locator?: string | undefined;
3008
3010
  }[];
@@ -3014,25 +3016,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3014
3016
  } | {
3015
3017
  kind: "correction_approved";
3016
3018
  evidence: {
3017
- id: string;
3019
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3020
  label: string;
3019
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3021
+ id: string;
3020
3022
  capture: "at_action" | "historical_lookup" | "fixture";
3021
3023
  locator?: string | undefined;
3022
3024
  }[];
3023
3025
  correctionId: string;
3024
3026
  approvedBy: {
3025
- id: string;
3026
- label: string;
3027
3027
  kind: "agent" | "human";
3028
+ label: string;
3029
+ id: string;
3028
3030
  };
3029
3031
  note?: string | undefined;
3030
3032
  } | {
3031
3033
  kind: "decision_superseded";
3032
3034
  evidence: {
3033
- id: string;
3035
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
3036
  label: string;
3035
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3037
+ id: string;
3036
3038
  capture: "at_action" | "historical_lookup" | "fixture";
3037
3039
  locator?: string | undefined;
3038
3040
  }[];
@@ -3045,9 +3047,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3045
3047
  agentId: string;
3046
3048
  sessionId: string;
3047
3049
  evidence: {
3048
- id: string;
3050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3051
  label: string;
3050
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3052
+ id: string;
3051
3053
  capture: "at_action" | "historical_lookup" | "fixture";
3052
3054
  locator?: string | undefined;
3053
3055
  }[];
@@ -3059,9 +3061,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3059
3061
  agentId: string;
3060
3062
  sessionId: string;
3061
3063
  evidence: {
3062
- id: string;
3064
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3063
3065
  label: string;
3064
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3066
+ id: string;
3065
3067
  capture: "at_action" | "historical_lookup" | "fixture";
3066
3068
  locator?: string | undefined;
3067
3069
  }[];
@@ -3070,13 +3072,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3070
3072
  recallReceiptId: string;
3071
3073
  staleDecisionAbsent: boolean;
3072
3074
  } | {
3073
- summary: string;
3074
3075
  kind: "mission_completed";
3076
+ summary: string;
3075
3077
  outcome: "failed" | "recovered" | "inconclusive";
3076
3078
  evidence: {
3077
- id: string;
3079
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3080
  label: string;
3079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3081
+ id: string;
3080
3082
  capture: "at_action" | "historical_lookup" | "fixture";
3081
3083
  locator?: string | undefined;
3082
3084
  }[];
@@ -3090,37 +3092,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3090
3092
  objective: string;
3091
3093
  runMode: "replay" | "fixture" | "live";
3092
3094
  evidence?: {
3093
- id: string;
3095
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3094
3096
  label: string;
3095
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3097
+ id: string;
3096
3098
  capture: "at_action" | "historical_lookup" | "fixture";
3097
3099
  locator?: string | undefined;
3098
3100
  }[] | undefined;
3099
3101
  } | {
3100
- label: string;
3101
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3102
3102
  kind: "agent_status";
3103
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3104
+ label: string;
3103
3105
  role: string;
3104
3106
  agentId: string;
3105
3107
  sessionId: string;
3106
3108
  detail?: string | undefined;
3107
3109
  evidence?: {
3108
- id: string;
3110
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3109
3111
  label: string;
3110
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
+ id: string;
3111
3113
  capture: "at_action" | "historical_lookup" | "fixture";
3112
3114
  locator?: string | undefined;
3113
3115
  }[] | undefined;
3114
3116
  } | {
3115
- summary: string;
3116
3117
  kind: "agent_output";
3118
+ summary: string;
3117
3119
  agentId: string;
3118
3120
  sessionId: string;
3119
3121
  outputId: string;
3120
3122
  evidence?: {
3121
- id: string;
3123
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3122
3124
  label: string;
3123
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3125
+ id: string;
3124
3126
  capture: "at_action" | "historical_lookup" | "fixture";
3125
3127
  locator?: string | undefined;
3126
3128
  }[] | undefined;
@@ -3133,37 +3135,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3133
3135
  decisionId: string;
3134
3136
  confidence?: number | undefined;
3135
3137
  evidence?: {
3136
- id: string;
3138
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3137
3139
  label: string;
3138
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
+ id: string;
3139
3141
  capture: "at_action" | "historical_lookup" | "fixture";
3140
3142
  locator?: string | undefined;
3141
3143
  }[] | undefined;
3142
3144
  } | {
3143
- summary: string;
3144
3145
  kind: "conflict_detected";
3146
+ summary: string;
3145
3147
  conflictId: string;
3146
3148
  decisionIds: string[];
3147
3149
  agentIds: string[];
3148
3150
  evidence?: {
3149
- id: string;
3151
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3150
3152
  label: string;
3151
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3153
+ id: string;
3152
3154
  capture: "at_action" | "historical_lookup" | "fixture";
3153
3155
  locator?: string | undefined;
3154
3156
  }[] | undefined;
3155
3157
  } | {
3158
+ kind: "test_result";
3156
3159
  summary: string;
3157
3160
  status: "error" | "failed" | "passed";
3158
- kind: "test_result";
3159
3161
  command: string;
3160
3162
  decisionId: string;
3161
3163
  testId: string;
3162
3164
  durationMs?: number | undefined;
3163
3165
  evidence?: {
3164
- id: string;
3166
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3165
3167
  label: string;
3166
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3168
+ id: string;
3167
3169
  capture: "at_action" | "historical_lookup" | "fixture";
3168
3170
  locator?: string | undefined;
3169
3171
  }[] | undefined;
@@ -3178,9 +3180,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3178
3180
  supersedesDecisionIds: string[];
3179
3181
  proposedBy: string;
3180
3182
  evidence?: {
3181
- id: string;
3183
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3182
3184
  label: string;
3183
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3185
+ id: string;
3184
3186
  capture: "at_action" | "historical_lookup" | "fixture";
3185
3187
  locator?: string | undefined;
3186
3188
  }[] | undefined;
@@ -3188,15 +3190,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3188
3190
  kind: "correction_approved";
3189
3191
  correctionId: string;
3190
3192
  approvedBy: {
3191
- id: string;
3192
- label: string;
3193
3193
  kind: "agent" | "human";
3194
+ label: string;
3195
+ id: string;
3194
3196
  };
3195
3197
  note?: string | undefined;
3196
3198
  evidence?: {
3197
- id: string;
3199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3198
3200
  label: string;
3199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
+ id: string;
3200
3202
  capture: "at_action" | "historical_lookup" | "fixture";
3201
3203
  locator?: string | undefined;
3202
3204
  }[] | undefined;
@@ -3206,9 +3208,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3206
3208
  correctionId: string;
3207
3209
  replacementDecisionId: string;
3208
3210
  evidence?: {
3209
- id: string;
3211
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3210
3212
  label: string;
3211
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3213
+ id: string;
3212
3214
  capture: "at_action" | "historical_lookup" | "fixture";
3213
3215
  locator?: string | undefined;
3214
3216
  }[] | undefined;
@@ -3221,9 +3223,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3221
3223
  recallReceiptId: string;
3222
3224
  capturedAtAction: boolean;
3223
3225
  evidence?: {
3224
- id: string;
3226
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3225
3227
  label: string;
3226
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3228
+ id: string;
3227
3229
  capture: "at_action" | "historical_lookup" | "fixture";
3228
3230
  locator?: string | undefined;
3229
3231
  }[] | undefined;
@@ -3236,20 +3238,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3236
3238
  recallReceiptId: string;
3237
3239
  staleDecisionAbsent: boolean;
3238
3240
  evidence?: {
3239
- id: string;
3241
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3240
3242
  label: string;
3241
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3243
+ id: string;
3242
3244
  capture: "at_action" | "historical_lookup" | "fixture";
3243
3245
  locator?: string | undefined;
3244
3246
  }[] | undefined;
3245
3247
  } | {
3246
- summary: string;
3247
3248
  kind: "mission_completed";
3249
+ summary: string;
3248
3250
  outcome: "failed" | "recovered" | "inconclusive";
3249
3251
  evidence?: {
3250
- id: string;
3252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3251
3253
  label: string;
3252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3254
+ id: string;
3253
3255
  capture: "at_action" | "historical_lookup" | "fixture";
3254
3256
  locator?: string | undefined;
3255
3257
  }[] | undefined;
@@ -3279,15 +3281,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3279
3281
  locator: z.ZodOptional<z.ZodString>;
3280
3282
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3281
3283
  }, "strict", z.ZodTypeAny, {
3282
- id: string;
3284
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3283
3285
  label: string;
3284
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
+ id: string;
3285
3287
  capture: "at_action" | "historical_lookup" | "fixture";
3286
3288
  locator?: string | undefined;
3287
3289
  }, {
3288
- id: string;
3290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3289
3291
  label: string;
3290
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
+ id: string;
3291
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3292
3294
  locator?: string | undefined;
3293
3295
  }>, "many">>;
@@ -3295,9 +3297,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3295
3297
  kind: "mission_started";
3296
3298
  title: string;
3297
3299
  evidence: {
3298
- id: string;
3300
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3299
3301
  label: string;
3300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
+ id: string;
3301
3303
  capture: "at_action" | "historical_lookup" | "fixture";
3302
3304
  locator?: string | undefined;
3303
3305
  }[];
@@ -3309,9 +3311,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3309
3311
  objective: string;
3310
3312
  runMode: "replay" | "fixture" | "live";
3311
3313
  evidence?: {
3312
- id: string;
3314
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3313
3315
  label: string;
3314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3316
+ id: string;
3315
3317
  capture: "at_action" | "historical_lookup" | "fixture";
3316
3318
  locator?: string | undefined;
3317
3319
  }[] | undefined;
@@ -3327,15 +3329,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3327
3329
  locator: z.ZodOptional<z.ZodString>;
3328
3330
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3329
3331
  }, "strict", z.ZodTypeAny, {
3330
- id: string;
3332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3331
3333
  label: string;
3332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
+ id: string;
3333
3335
  capture: "at_action" | "historical_lookup" | "fixture";
3334
3336
  locator?: string | undefined;
3335
3337
  }, {
3336
- id: string;
3338
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3337
3339
  label: string;
3338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3340
+ id: string;
3339
3341
  capture: "at_action" | "historical_lookup" | "fixture";
3340
3342
  locator?: string | undefined;
3341
3343
  }>, "many">>;
@@ -3343,32 +3345,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3343
3345
  sessionId: z.ZodString;
3344
3346
  kind: z.ZodLiteral<"agent_status">;
3345
3347
  }, "strict", z.ZodTypeAny, {
3346
- label: string;
3347
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3348
3348
  kind: "agent_status";
3349
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3350
+ label: string;
3349
3351
  role: string;
3350
3352
  agentId: string;
3351
3353
  sessionId: string;
3352
3354
  evidence: {
3353
- id: string;
3355
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3354
3356
  label: string;
3355
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3357
+ id: string;
3356
3358
  capture: "at_action" | "historical_lookup" | "fixture";
3357
3359
  locator?: string | undefined;
3358
3360
  }[];
3359
3361
  detail?: string | undefined;
3360
3362
  }, {
3361
- label: string;
3362
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3363
3363
  kind: "agent_status";
3364
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3365
+ label: string;
3364
3366
  role: string;
3365
3367
  agentId: string;
3366
3368
  sessionId: string;
3367
3369
  detail?: string | undefined;
3368
3370
  evidence?: {
3369
- id: string;
3371
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3370
3372
  label: string;
3371
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3373
+ id: string;
3372
3374
  capture: "at_action" | "historical_lookup" | "fixture";
3373
3375
  locator?: string | undefined;
3374
3376
  }[] | undefined;
@@ -3382,15 +3384,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3382
3384
  locator: z.ZodOptional<z.ZodString>;
3383
3385
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3384
3386
  }, "strict", z.ZodTypeAny, {
3385
- id: string;
3387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
3388
  label: string;
3387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
+ id: string;
3388
3390
  capture: "at_action" | "historical_lookup" | "fixture";
3389
3391
  locator?: string | undefined;
3390
3392
  }, {
3391
- id: string;
3393
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
3394
  label: string;
3393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3395
+ id: string;
3394
3396
  capture: "at_action" | "historical_lookup" | "fixture";
3395
3397
  locator?: string | undefined;
3396
3398
  }>, "many">>;
@@ -3398,28 +3400,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3398
3400
  sessionId: z.ZodString;
3399
3401
  kind: z.ZodLiteral<"agent_output">;
3400
3402
  }, "strict", z.ZodTypeAny, {
3401
- summary: string;
3402
3403
  kind: "agent_output";
3404
+ summary: string;
3403
3405
  agentId: string;
3404
3406
  sessionId: string;
3405
3407
  evidence: {
3406
- id: string;
3408
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
3409
  label: string;
3408
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3410
+ id: string;
3409
3411
  capture: "at_action" | "historical_lookup" | "fixture";
3410
3412
  locator?: string | undefined;
3411
3413
  }[];
3412
3414
  outputId: string;
3413
3415
  }, {
3414
- summary: string;
3415
3416
  kind: "agent_output";
3417
+ summary: string;
3416
3418
  agentId: string;
3417
3419
  sessionId: string;
3418
3420
  outputId: string;
3419
3421
  evidence?: {
3420
- id: string;
3422
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3421
3423
  label: string;
3422
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3424
+ id: string;
3423
3425
  capture: "at_action" | "historical_lookup" | "fixture";
3424
3426
  locator?: string | undefined;
3425
3427
  }[] | undefined;
@@ -3435,15 +3437,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3435
3437
  locator: z.ZodOptional<z.ZodString>;
3436
3438
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3437
3439
  }, "strict", z.ZodTypeAny, {
3438
- id: string;
3440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
3441
  label: string;
3440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3442
+ id: string;
3441
3443
  capture: "at_action" | "historical_lookup" | "fixture";
3442
3444
  locator?: string | undefined;
3443
3445
  }, {
3444
- id: string;
3446
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
3447
  label: string;
3446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3448
+ id: string;
3447
3449
  capture: "at_action" | "historical_lookup" | "fixture";
3448
3450
  locator?: string | undefined;
3449
3451
  }>, "many">>;
@@ -3456,9 +3458,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3456
3458
  statement: string;
3457
3459
  sessionId: string;
3458
3460
  evidence: {
3459
- id: string;
3461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3462
  label: string;
3461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3463
+ id: string;
3462
3464
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3465
  locator?: string | undefined;
3464
3466
  }[];
@@ -3474,9 +3476,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3474
3476
  decisionId: string;
3475
3477
  confidence?: number | undefined;
3476
3478
  evidence?: {
3477
- id: string;
3479
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3478
3480
  label: string;
3479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3481
+ id: string;
3480
3482
  capture: "at_action" | "historical_lookup" | "fixture";
3481
3483
  locator?: string | undefined;
3482
3484
  }[] | undefined;
@@ -3493,25 +3495,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3493
3495
  locator: z.ZodOptional<z.ZodString>;
3494
3496
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3495
3497
  }, "strict", z.ZodTypeAny, {
3496
- id: string;
3498
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3497
3499
  label: string;
3498
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
+ id: string;
3499
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3500
3502
  locator?: string | undefined;
3501
3503
  }, {
3502
- id: string;
3504
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
3505
  label: string;
3504
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3506
+ id: string;
3505
3507
  capture: "at_action" | "historical_lookup" | "fixture";
3506
3508
  locator?: string | undefined;
3507
3509
  }>, "many">>;
3508
3510
  }, "strict", z.ZodTypeAny, {
3509
- summary: string;
3510
3511
  kind: "conflict_detected";
3512
+ summary: string;
3511
3513
  evidence: {
3512
- id: string;
3514
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3513
3515
  label: string;
3514
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
+ id: string;
3515
3517
  capture: "at_action" | "historical_lookup" | "fixture";
3516
3518
  locator?: string | undefined;
3517
3519
  }[];
@@ -3519,15 +3521,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3519
3521
  decisionIds: string[];
3520
3522
  agentIds: string[];
3521
3523
  }, {
3522
- summary: string;
3523
3524
  kind: "conflict_detected";
3525
+ summary: string;
3524
3526
  conflictId: string;
3525
3527
  decisionIds: string[];
3526
3528
  agentIds: string[];
3527
3529
  evidence?: {
3528
- id: string;
3530
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3529
3531
  label: string;
3530
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
+ id: string;
3531
3533
  capture: "at_action" | "historical_lookup" | "fixture";
3532
3534
  locator?: string | undefined;
3533
3535
  }[] | undefined;
@@ -3547,27 +3549,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3547
3549
  locator: z.ZodOptional<z.ZodString>;
3548
3550
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3549
3551
  }, "strict", z.ZodTypeAny, {
3550
- id: string;
3552
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3551
3553
  label: string;
3552
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
+ id: string;
3553
3555
  capture: "at_action" | "historical_lookup" | "fixture";
3554
3556
  locator?: string | undefined;
3555
3557
  }, {
3556
- id: string;
3558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3557
3559
  label: string;
3558
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3560
+ id: string;
3559
3561
  capture: "at_action" | "historical_lookup" | "fixture";
3560
3562
  locator?: string | undefined;
3561
3563
  }>, "many">>;
3562
3564
  }, "strict", z.ZodTypeAny, {
3565
+ kind: "test_result";
3563
3566
  summary: string;
3564
3567
  status: "error" | "failed" | "passed";
3565
- kind: "test_result";
3566
3568
  command: string;
3567
3569
  evidence: {
3568
- id: string;
3570
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3569
3571
  label: string;
3570
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3572
+ id: string;
3571
3573
  capture: "at_action" | "historical_lookup" | "fixture";
3572
3574
  locator?: string | undefined;
3573
3575
  }[];
@@ -3576,17 +3578,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3576
3578
  durationMs?: number | undefined;
3577
3579
  correctionId?: string | undefined;
3578
3580
  }, {
3581
+ kind: "test_result";
3579
3582
  summary: string;
3580
3583
  status: "error" | "failed" | "passed";
3581
- kind: "test_result";
3582
3584
  command: string;
3583
3585
  decisionId: string;
3584
3586
  testId: string;
3585
3587
  durationMs?: number | undefined;
3586
3588
  evidence?: {
3587
- id: string;
3589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3588
3590
  label: string;
3589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
+ id: string;
3590
3592
  capture: "at_action" | "historical_lookup" | "fixture";
3591
3593
  locator?: string | undefined;
3592
3594
  }[] | undefined;
@@ -3607,15 +3609,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3607
3609
  locator: z.ZodOptional<z.ZodString>;
3608
3610
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3609
3611
  }, "strict", z.ZodTypeAny, {
3610
- id: string;
3612
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3611
3613
  label: string;
3612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3614
+ id: string;
3613
3615
  capture: "at_action" | "historical_lookup" | "fixture";
3614
3616
  locator?: string | undefined;
3615
3617
  }, {
3616
- id: string;
3618
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
3619
  label: string;
3618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
+ id: string;
3619
3621
  capture: "at_action" | "historical_lookup" | "fixture";
3620
3622
  locator?: string | undefined;
3621
3623
  }>, "many">>;
@@ -3624,9 +3626,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3624
3626
  statement: string;
3625
3627
  rationale: string;
3626
3628
  evidence: {
3627
- id: string;
3629
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3628
3630
  label: string;
3629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3631
+ id: string;
3630
3632
  capture: "at_action" | "historical_lookup" | "fixture";
3631
3633
  locator?: string | undefined;
3632
3634
  }[];
@@ -3645,9 +3647,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3645
3647
  supersedesDecisionIds: string[];
3646
3648
  proposedBy: string;
3647
3649
  evidence?: {
3648
- id: string;
3650
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3649
3651
  label: string;
3650
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3652
+ id: string;
3651
3653
  capture: "at_action" | "historical_lookup" | "fixture";
3652
3654
  locator?: string | undefined;
3653
3655
  }[] | undefined;
@@ -3659,13 +3661,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3659
3661
  id: z.ZodString;
3660
3662
  label: z.ZodString;
3661
3663
  }, "strict", z.ZodTypeAny, {
3662
- id: string;
3663
- label: string;
3664
3664
  kind: "agent" | "human";
3665
- }, {
3666
- id: string;
3667
3665
  label: string;
3666
+ id: string;
3667
+ }, {
3668
3668
  kind: "agent" | "human";
3669
+ label: string;
3670
+ id: string;
3669
3671
  }>;
3670
3672
  note: z.ZodOptional<z.ZodString>;
3671
3673
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3675,47 +3677,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3675
3677
  locator: z.ZodOptional<z.ZodString>;
3676
3678
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3677
3679
  }, "strict", z.ZodTypeAny, {
3678
- id: string;
3680
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3679
3681
  label: string;
3680
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3682
+ id: string;
3681
3683
  capture: "at_action" | "historical_lookup" | "fixture";
3682
3684
  locator?: string | undefined;
3683
3685
  }, {
3684
- id: string;
3686
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3685
3687
  label: string;
3686
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
+ id: string;
3687
3689
  capture: "at_action" | "historical_lookup" | "fixture";
3688
3690
  locator?: string | undefined;
3689
3691
  }>, "many">>;
3690
3692
  }, "strict", z.ZodTypeAny, {
3691
3693
  kind: "correction_approved";
3692
3694
  evidence: {
3693
- id: string;
3695
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3694
3696
  label: string;
3695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3697
+ id: string;
3696
3698
  capture: "at_action" | "historical_lookup" | "fixture";
3697
3699
  locator?: string | undefined;
3698
3700
  }[];
3699
3701
  correctionId: string;
3700
3702
  approvedBy: {
3701
- id: string;
3702
- label: string;
3703
3703
  kind: "agent" | "human";
3704
+ label: string;
3705
+ id: string;
3704
3706
  };
3705
3707
  note?: string | undefined;
3706
3708
  }, {
3707
3709
  kind: "correction_approved";
3708
3710
  correctionId: string;
3709
3711
  approvedBy: {
3710
- id: string;
3711
- label: string;
3712
3712
  kind: "agent" | "human";
3713
+ label: string;
3714
+ id: string;
3713
3715
  };
3714
3716
  note?: string | undefined;
3715
3717
  evidence?: {
3716
- id: string;
3718
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3717
3719
  label: string;
3718
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
+ id: string;
3719
3721
  capture: "at_action" | "historical_lookup" | "fixture";
3720
3722
  locator?: string | undefined;
3721
3723
  }[] | undefined;
@@ -3731,24 +3733,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3731
3733
  locator: z.ZodOptional<z.ZodString>;
3732
3734
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3733
3735
  }, "strict", z.ZodTypeAny, {
3734
- id: string;
3736
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3735
3737
  label: string;
3736
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
+ id: string;
3737
3739
  capture: "at_action" | "historical_lookup" | "fixture";
3738
3740
  locator?: string | undefined;
3739
3741
  }, {
3740
- id: string;
3742
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
3743
  label: string;
3742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3744
+ id: string;
3743
3745
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3746
  locator?: string | undefined;
3745
3747
  }>, "many">>;
3746
3748
  }, "strict", z.ZodTypeAny, {
3747
3749
  kind: "decision_superseded";
3748
3750
  evidence: {
3749
- id: string;
3751
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
3752
  label: string;
3751
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3753
+ id: string;
3752
3754
  capture: "at_action" | "historical_lookup" | "fixture";
3753
3755
  locator?: string | undefined;
3754
3756
  }[];
@@ -3761,9 +3763,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3761
3763
  correctionId: string;
3762
3764
  replacementDecisionId: string;
3763
3765
  evidence?: {
3764
- id: string;
3766
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3765
3767
  label: string;
3766
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
+ id: string;
3767
3769
  capture: "at_action" | "historical_lookup" | "fixture";
3768
3770
  locator?: string | undefined;
3769
3771
  }[] | undefined;
@@ -3779,15 +3781,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3779
3781
  locator: z.ZodOptional<z.ZodString>;
3780
3782
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3781
3783
  }, "strict", z.ZodTypeAny, {
3782
- id: string;
3784
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
3785
  label: string;
3784
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3786
+ id: string;
3785
3787
  capture: "at_action" | "historical_lookup" | "fixture";
3786
3788
  locator?: string | undefined;
3787
3789
  }, {
3788
- id: string;
3790
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3789
3791
  label: string;
3790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
+ id: string;
3791
3793
  capture: "at_action" | "historical_lookup" | "fixture";
3792
3794
  locator?: string | undefined;
3793
3795
  }>, "many">>;
@@ -3800,9 +3802,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3800
3802
  agentId: string;
3801
3803
  sessionId: string;
3802
3804
  evidence: {
3803
- id: string;
3805
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3804
3806
  label: string;
3805
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3807
+ id: string;
3806
3808
  capture: "at_action" | "historical_lookup" | "fixture";
3807
3809
  locator?: string | undefined;
3808
3810
  }[];
@@ -3818,9 +3820,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3818
3820
  recallReceiptId: string;
3819
3821
  capturedAtAction: boolean;
3820
3822
  evidence?: {
3821
- id: string;
3823
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3822
3824
  label: string;
3823
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3825
+ id: string;
3824
3826
  capture: "at_action" | "historical_lookup" | "fixture";
3825
3827
  locator?: string | undefined;
3826
3828
  }[] | undefined;
@@ -3836,15 +3838,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3836
3838
  locator: z.ZodOptional<z.ZodString>;
3837
3839
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3838
3840
  }, "strict", z.ZodTypeAny, {
3839
- id: string;
3841
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3840
3842
  label: string;
3841
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3843
+ id: string;
3842
3844
  capture: "at_action" | "historical_lookup" | "fixture";
3843
3845
  locator?: string | undefined;
3844
3846
  }, {
3845
- id: string;
3847
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3846
3848
  label: string;
3847
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3849
+ id: string;
3848
3850
  capture: "at_action" | "historical_lookup" | "fixture";
3849
3851
  locator?: string | undefined;
3850
3852
  }>, "many">>;
@@ -3856,9 +3858,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3856
3858
  agentId: string;
3857
3859
  sessionId: string;
3858
3860
  evidence: {
3859
- id: string;
3861
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3860
3862
  label: string;
3861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
+ id: string;
3862
3864
  capture: "at_action" | "historical_lookup" | "fixture";
3863
3865
  locator?: string | undefined;
3864
3866
  }[];
@@ -3875,9 +3877,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3875
3877
  recallReceiptId: string;
3876
3878
  staleDecisionAbsent: boolean;
3877
3879
  evidence?: {
3878
- id: string;
3880
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3879
3881
  label: string;
3880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3882
+ id: string;
3881
3883
  capture: "at_action" | "historical_lookup" | "fixture";
3882
3884
  locator?: string | undefined;
3883
3885
  }[] | undefined;
@@ -3892,37 +3894,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3892
3894
  locator: z.ZodOptional<z.ZodString>;
3893
3895
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3894
3896
  }, "strict", z.ZodTypeAny, {
3895
- id: string;
3897
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3896
3898
  label: string;
3897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
+ id: string;
3898
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3899
3901
  locator?: string | undefined;
3900
3902
  }, {
3901
- id: string;
3903
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3902
3904
  label: string;
3903
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3905
+ id: string;
3904
3906
  capture: "at_action" | "historical_lookup" | "fixture";
3905
3907
  locator?: string | undefined;
3906
3908
  }>, "many">>;
3907
3909
  }, "strict", z.ZodTypeAny, {
3908
- summary: string;
3909
3910
  kind: "mission_completed";
3911
+ summary: string;
3910
3912
  outcome: "failed" | "recovered" | "inconclusive";
3911
3913
  evidence: {
3912
- id: string;
3914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
3915
  label: string;
3914
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3916
+ id: string;
3915
3917
  capture: "at_action" | "historical_lookup" | "fixture";
3916
3918
  locator?: string | undefined;
3917
3919
  }[];
3918
3920
  }, {
3919
- summary: string;
3920
3921
  kind: "mission_completed";
3922
+ summary: string;
3921
3923
  outcome: "failed" | "recovered" | "inconclusive";
3922
3924
  evidence?: {
3923
- id: string;
3925
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3924
3926
  label: string;
3925
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3927
+ id: string;
3926
3928
  capture: "at_action" | "historical_lookup" | "fixture";
3927
3929
  locator?: string | undefined;
3928
3930
  }[] | undefined;
@@ -3930,38 +3932,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3930
3932
  kind: "mission_started";
3931
3933
  title: string;
3932
3934
  evidence: {
3933
- id: string;
3935
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
3936
  label: string;
3935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3937
+ id: string;
3936
3938
  capture: "at_action" | "historical_lookup" | "fixture";
3937
3939
  locator?: string | undefined;
3938
3940
  }[];
3939
3941
  objective: string;
3940
3942
  runMode: "replay" | "fixture" | "live";
3941
3943
  } | {
3942
- label: string;
3943
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3944
3944
  kind: "agent_status";
3945
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3946
+ label: string;
3945
3947
  role: string;
3946
3948
  agentId: string;
3947
3949
  sessionId: string;
3948
3950
  evidence: {
3949
- id: string;
3951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3950
3952
  label: string;
3951
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
+ id: string;
3952
3954
  capture: "at_action" | "historical_lookup" | "fixture";
3953
3955
  locator?: string | undefined;
3954
3956
  }[];
3955
3957
  detail?: string | undefined;
3956
3958
  } | {
3957
- summary: string;
3958
3959
  kind: "agent_output";
3960
+ summary: string;
3959
3961
  agentId: string;
3960
3962
  sessionId: string;
3961
3963
  evidence: {
3962
- id: string;
3964
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3963
3965
  label: string;
3964
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
+ id: string;
3965
3967
  capture: "at_action" | "historical_lookup" | "fixture";
3966
3968
  locator?: string | undefined;
3967
3969
  }[];
@@ -3972,9 +3974,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3972
3974
  statement: string;
3973
3975
  sessionId: string;
3974
3976
  evidence: {
3975
- id: string;
3977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3976
3978
  label: string;
3977
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
+ id: string;
3978
3980
  capture: "at_action" | "historical_lookup" | "fixture";
3979
3981
  locator?: string | undefined;
3980
3982
  }[];
@@ -3982,12 +3984,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3982
3984
  decisionId: string;
3983
3985
  confidence?: number | undefined;
3984
3986
  } | {
3985
- summary: string;
3986
3987
  kind: "conflict_detected";
3988
+ summary: string;
3987
3989
  evidence: {
3988
- id: string;
3990
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
3991
  label: string;
3990
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3992
+ id: string;
3991
3993
  capture: "at_action" | "historical_lookup" | "fixture";
3992
3994
  locator?: string | undefined;
3993
3995
  }[];
@@ -3995,14 +3997,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3995
3997
  decisionIds: string[];
3996
3998
  agentIds: string[];
3997
3999
  } | {
4000
+ kind: "test_result";
3998
4001
  summary: string;
3999
4002
  status: "error" | "failed" | "passed";
4000
- kind: "test_result";
4001
4003
  command: string;
4002
4004
  evidence: {
4003
- id: string;
4005
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4004
4006
  label: string;
4005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4007
+ id: string;
4006
4008
  capture: "at_action" | "historical_lookup" | "fixture";
4007
4009
  locator?: string | undefined;
4008
4010
  }[];
@@ -4015,9 +4017,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4015
4017
  statement: string;
4016
4018
  rationale: string;
4017
4019
  evidence: {
4018
- id: string;
4020
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4021
  label: string;
4020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4022
+ id: string;
4021
4023
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4024
  locator?: string | undefined;
4023
4025
  }[];
@@ -4029,25 +4031,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4029
4031
  } | {
4030
4032
  kind: "correction_approved";
4031
4033
  evidence: {
4032
- id: string;
4034
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4033
4035
  label: string;
4034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4036
+ id: string;
4035
4037
  capture: "at_action" | "historical_lookup" | "fixture";
4036
4038
  locator?: string | undefined;
4037
4039
  }[];
4038
4040
  correctionId: string;
4039
4041
  approvedBy: {
4040
- id: string;
4041
- label: string;
4042
4042
  kind: "agent" | "human";
4043
+ label: string;
4044
+ id: string;
4043
4045
  };
4044
4046
  note?: string | undefined;
4045
4047
  } | {
4046
4048
  kind: "decision_superseded";
4047
4049
  evidence: {
4048
- id: string;
4050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4049
4051
  label: string;
4050
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4052
+ id: string;
4051
4053
  capture: "at_action" | "historical_lookup" | "fixture";
4052
4054
  locator?: string | undefined;
4053
4055
  }[];
@@ -4060,9 +4062,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4060
4062
  agentId: string;
4061
4063
  sessionId: string;
4062
4064
  evidence: {
4063
- id: string;
4065
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4064
4066
  label: string;
4065
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4067
+ id: string;
4066
4068
  capture: "at_action" | "historical_lookup" | "fixture";
4067
4069
  locator?: string | undefined;
4068
4070
  }[];
@@ -4074,9 +4076,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4074
4076
  agentId: string;
4075
4077
  sessionId: string;
4076
4078
  evidence: {
4077
- id: string;
4079
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4078
4080
  label: string;
4079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
+ id: string;
4080
4082
  capture: "at_action" | "historical_lookup" | "fixture";
4081
4083
  locator?: string | undefined;
4082
4084
  }[];
@@ -4085,13 +4087,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4085
4087
  recallReceiptId: string;
4086
4088
  staleDecisionAbsent: boolean;
4087
4089
  } | {
4088
- summary: string;
4089
4090
  kind: "mission_completed";
4091
+ summary: string;
4090
4092
  outcome: "failed" | "recovered" | "inconclusive";
4091
4093
  evidence: {
4092
- id: string;
4094
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4093
4095
  label: string;
4094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4096
+ id: string;
4095
4097
  capture: "at_action" | "historical_lookup" | "fixture";
4096
4098
  locator?: string | undefined;
4097
4099
  }[];
@@ -4101,37 +4103,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4101
4103
  objective: string;
4102
4104
  runMode: "replay" | "fixture" | "live";
4103
4105
  evidence?: {
4104
- id: string;
4106
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
4107
  label: string;
4106
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4108
+ id: string;
4107
4109
  capture: "at_action" | "historical_lookup" | "fixture";
4108
4110
  locator?: string | undefined;
4109
4111
  }[] | undefined;
4110
4112
  } | {
4111
- label: string;
4112
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4113
4113
  kind: "agent_status";
4114
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4115
+ label: string;
4114
4116
  role: string;
4115
4117
  agentId: string;
4116
4118
  sessionId: string;
4117
4119
  detail?: string | undefined;
4118
4120
  evidence?: {
4119
- id: string;
4121
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4120
4122
  label: string;
4121
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
+ id: string;
4122
4124
  capture: "at_action" | "historical_lookup" | "fixture";
4123
4125
  locator?: string | undefined;
4124
4126
  }[] | undefined;
4125
4127
  } | {
4126
- summary: string;
4127
4128
  kind: "agent_output";
4129
+ summary: string;
4128
4130
  agentId: string;
4129
4131
  sessionId: string;
4130
4132
  outputId: string;
4131
4133
  evidence?: {
4132
- id: string;
4134
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
4135
  label: string;
4134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4136
+ id: string;
4135
4137
  capture: "at_action" | "historical_lookup" | "fixture";
4136
4138
  locator?: string | undefined;
4137
4139
  }[] | undefined;
@@ -4144,37 +4146,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4144
4146
  decisionId: string;
4145
4147
  confidence?: number | undefined;
4146
4148
  evidence?: {
4147
- id: string;
4149
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4148
4150
  label: string;
4149
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4151
+ id: string;
4150
4152
  capture: "at_action" | "historical_lookup" | "fixture";
4151
4153
  locator?: string | undefined;
4152
4154
  }[] | undefined;
4153
4155
  } | {
4154
- summary: string;
4155
4156
  kind: "conflict_detected";
4157
+ summary: string;
4156
4158
  conflictId: string;
4157
4159
  decisionIds: string[];
4158
4160
  agentIds: string[];
4159
4161
  evidence?: {
4160
- id: string;
4162
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4161
4163
  label: string;
4162
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4164
+ id: string;
4163
4165
  capture: "at_action" | "historical_lookup" | "fixture";
4164
4166
  locator?: string | undefined;
4165
4167
  }[] | undefined;
4166
4168
  } | {
4169
+ kind: "test_result";
4167
4170
  summary: string;
4168
4171
  status: "error" | "failed" | "passed";
4169
- kind: "test_result";
4170
4172
  command: string;
4171
4173
  decisionId: string;
4172
4174
  testId: string;
4173
4175
  durationMs?: number | undefined;
4174
4176
  evidence?: {
4175
- id: string;
4177
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
4178
  label: string;
4177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4179
+ id: string;
4178
4180
  capture: "at_action" | "historical_lookup" | "fixture";
4179
4181
  locator?: string | undefined;
4180
4182
  }[] | undefined;
@@ -4189,9 +4191,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4189
4191
  supersedesDecisionIds: string[];
4190
4192
  proposedBy: string;
4191
4193
  evidence?: {
4192
- id: string;
4194
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4193
4195
  label: string;
4194
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4196
+ id: string;
4195
4197
  capture: "at_action" | "historical_lookup" | "fixture";
4196
4198
  locator?: string | undefined;
4197
4199
  }[] | undefined;
@@ -4199,15 +4201,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4199
4201
  kind: "correction_approved";
4200
4202
  correctionId: string;
4201
4203
  approvedBy: {
4202
- id: string;
4203
- label: string;
4204
4204
  kind: "agent" | "human";
4205
+ label: string;
4206
+ id: string;
4205
4207
  };
4206
4208
  note?: string | undefined;
4207
4209
  evidence?: {
4208
- id: string;
4210
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4209
4211
  label: string;
4210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4212
+ id: string;
4211
4213
  capture: "at_action" | "historical_lookup" | "fixture";
4212
4214
  locator?: string | undefined;
4213
4215
  }[] | undefined;
@@ -4217,9 +4219,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4217
4219
  correctionId: string;
4218
4220
  replacementDecisionId: string;
4219
4221
  evidence?: {
4220
- id: string;
4222
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4221
4223
  label: string;
4222
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4224
+ id: string;
4223
4225
  capture: "at_action" | "historical_lookup" | "fixture";
4224
4226
  locator?: string | undefined;
4225
4227
  }[] | undefined;
@@ -4232,9 +4234,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4232
4234
  recallReceiptId: string;
4233
4235
  capturedAtAction: boolean;
4234
4236
  evidence?: {
4235
- id: string;
4237
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4238
  label: string;
4237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4239
+ id: string;
4238
4240
  capture: "at_action" | "historical_lookup" | "fixture";
4239
4241
  locator?: string | undefined;
4240
4242
  }[] | undefined;
@@ -4247,64 +4249,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4247
4249
  recallReceiptId: string;
4248
4250
  staleDecisionAbsent: boolean;
4249
4251
  evidence?: {
4250
- id: string;
4252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
4253
  label: string;
4252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4254
+ id: string;
4253
4255
  capture: "at_action" | "historical_lookup" | "fixture";
4254
4256
  locator?: string | undefined;
4255
4257
  }[] | undefined;
4256
4258
  } | {
4257
- summary: string;
4258
4259
  kind: "mission_completed";
4260
+ summary: string;
4259
4261
  outcome: "failed" | "recovered" | "inconclusive";
4260
4262
  evidence?: {
4261
- id: string;
4263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4264
  label: string;
4263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4265
+ id: string;
4264
4266
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4267
  locator?: string | undefined;
4266
4268
  }[] | undefined;
4267
4269
  }>;
4268
4270
  }, "strict", z.ZodTypeAny, {
4269
- namespace: string;
4270
4271
  recordedAt: string;
4271
4272
  schemaVersion: "1";
4272
4273
  payload: {
4273
4274
  kind: "mission_started";
4274
4275
  title: string;
4275
4276
  evidence: {
4276
- id: string;
4277
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4277
4278
  label: string;
4278
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
+ id: string;
4279
4280
  capture: "at_action" | "historical_lookup" | "fixture";
4280
4281
  locator?: string | undefined;
4281
4282
  }[];
4282
4283
  objective: string;
4283
4284
  runMode: "replay" | "fixture" | "live";
4284
4285
  } | {
4285
- label: string;
4286
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4287
4286
  kind: "agent_status";
4287
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4288
+ label: string;
4288
4289
  role: string;
4289
4290
  agentId: string;
4290
4291
  sessionId: string;
4291
4292
  evidence: {
4292
- id: string;
4293
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4293
4294
  label: string;
4294
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4295
+ id: string;
4295
4296
  capture: "at_action" | "historical_lookup" | "fixture";
4296
4297
  locator?: string | undefined;
4297
4298
  }[];
4298
4299
  detail?: string | undefined;
4299
4300
  } | {
4300
- summary: string;
4301
4301
  kind: "agent_output";
4302
+ summary: string;
4302
4303
  agentId: string;
4303
4304
  sessionId: string;
4304
4305
  evidence: {
4305
- id: string;
4306
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
4307
  label: string;
4307
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4308
+ id: string;
4308
4309
  capture: "at_action" | "historical_lookup" | "fixture";
4309
4310
  locator?: string | undefined;
4310
4311
  }[];
@@ -4315,9 +4316,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4315
4316
  statement: string;
4316
4317
  sessionId: string;
4317
4318
  evidence: {
4318
- id: string;
4319
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4319
4320
  label: string;
4320
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4321
+ id: string;
4321
4322
  capture: "at_action" | "historical_lookup" | "fixture";
4322
4323
  locator?: string | undefined;
4323
4324
  }[];
@@ -4325,12 +4326,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4325
4326
  decisionId: string;
4326
4327
  confidence?: number | undefined;
4327
4328
  } | {
4328
- summary: string;
4329
4329
  kind: "conflict_detected";
4330
+ summary: string;
4330
4331
  evidence: {
4331
- id: string;
4332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
4333
  label: string;
4333
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4334
+ id: string;
4334
4335
  capture: "at_action" | "historical_lookup" | "fixture";
4335
4336
  locator?: string | undefined;
4336
4337
  }[];
@@ -4338,14 +4339,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4338
4339
  decisionIds: string[];
4339
4340
  agentIds: string[];
4340
4341
  } | {
4342
+ kind: "test_result";
4341
4343
  summary: string;
4342
4344
  status: "error" | "failed" | "passed";
4343
- kind: "test_result";
4344
4345
  command: string;
4345
4346
  evidence: {
4346
- id: string;
4347
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
4348
  label: string;
4348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4349
+ id: string;
4349
4350
  capture: "at_action" | "historical_lookup" | "fixture";
4350
4351
  locator?: string | undefined;
4351
4352
  }[];
@@ -4358,9 +4359,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4358
4359
  statement: string;
4359
4360
  rationale: string;
4360
4361
  evidence: {
4361
- id: string;
4362
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4362
4363
  label: string;
4363
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4364
+ id: string;
4364
4365
  capture: "at_action" | "historical_lookup" | "fixture";
4365
4366
  locator?: string | undefined;
4366
4367
  }[];
@@ -4372,25 +4373,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4372
4373
  } | {
4373
4374
  kind: "correction_approved";
4374
4375
  evidence: {
4375
- id: string;
4376
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4376
4377
  label: string;
4377
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4378
+ id: string;
4378
4379
  capture: "at_action" | "historical_lookup" | "fixture";
4379
4380
  locator?: string | undefined;
4380
4381
  }[];
4381
4382
  correctionId: string;
4382
4383
  approvedBy: {
4383
- id: string;
4384
- label: string;
4385
4384
  kind: "agent" | "human";
4385
+ label: string;
4386
+ id: string;
4386
4387
  };
4387
4388
  note?: string | undefined;
4388
4389
  } | {
4389
4390
  kind: "decision_superseded";
4390
4391
  evidence: {
4391
- id: string;
4392
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4392
4393
  label: string;
4393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4394
+ id: string;
4394
4395
  capture: "at_action" | "historical_lookup" | "fixture";
4395
4396
  locator?: string | undefined;
4396
4397
  }[];
@@ -4403,9 +4404,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4403
4404
  agentId: string;
4404
4405
  sessionId: string;
4405
4406
  evidence: {
4406
- id: string;
4407
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4407
4408
  label: string;
4408
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4409
+ id: string;
4409
4410
  capture: "at_action" | "historical_lookup" | "fixture";
4410
4411
  locator?: string | undefined;
4411
4412
  }[];
@@ -4417,9 +4418,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4417
4418
  agentId: string;
4418
4419
  sessionId: string;
4419
4420
  evidence: {
4420
- id: string;
4421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4421
4422
  label: string;
4422
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4423
+ id: string;
4423
4424
  capture: "at_action" | "historical_lookup" | "fixture";
4424
4425
  locator?: string | undefined;
4425
4426
  }[];
@@ -4428,24 +4429,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4428
4429
  recallReceiptId: string;
4429
4430
  staleDecisionAbsent: boolean;
4430
4431
  } | {
4431
- summary: string;
4432
4432
  kind: "mission_completed";
4433
+ summary: string;
4433
4434
  outcome: "failed" | "recovered" | "inconclusive";
4434
4435
  evidence: {
4435
- id: string;
4436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4436
4437
  label: string;
4437
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4438
+ id: string;
4438
4439
  capture: "at_action" | "historical_lookup" | "fixture";
4439
4440
  locator?: string | undefined;
4440
4441
  }[];
4441
4442
  };
4443
+ namespace: string;
4442
4444
  eventId: string;
4443
4445
  occurredAt: string;
4444
4446
  missionId: string;
4445
4447
  authenticatedPrincipal?: string | undefined;
4446
4448
  idempotencyKey?: string | undefined;
4447
4449
  }, {
4448
- namespace: string;
4449
4450
  recordedAt: string;
4450
4451
  schemaVersion: "1";
4451
4452
  payload: {
@@ -4454,37 +4455,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4454
4455
  objective: string;
4455
4456
  runMode: "replay" | "fixture" | "live";
4456
4457
  evidence?: {
4457
- id: string;
4458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4459
  label: string;
4459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
+ id: string;
4460
4461
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4462
  locator?: string | undefined;
4462
4463
  }[] | undefined;
4463
4464
  } | {
4464
- label: string;
4465
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4466
4465
  kind: "agent_status";
4466
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4467
+ label: string;
4467
4468
  role: string;
4468
4469
  agentId: string;
4469
4470
  sessionId: string;
4470
4471
  detail?: string | undefined;
4471
4472
  evidence?: {
4472
- id: string;
4473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4474
  label: string;
4474
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
+ id: string;
4475
4476
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4477
  locator?: string | undefined;
4477
4478
  }[] | undefined;
4478
4479
  } | {
4479
- summary: string;
4480
4480
  kind: "agent_output";
4481
+ summary: string;
4481
4482
  agentId: string;
4482
4483
  sessionId: string;
4483
4484
  outputId: string;
4484
4485
  evidence?: {
4485
- id: string;
4486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
4487
  label: string;
4487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
+ id: string;
4488
4489
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4490
  locator?: string | undefined;
4490
4491
  }[] | undefined;
@@ -4497,37 +4498,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4497
4498
  decisionId: string;
4498
4499
  confidence?: number | undefined;
4499
4500
  evidence?: {
4500
- id: string;
4501
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
4502
  label: string;
4502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4503
+ id: string;
4503
4504
  capture: "at_action" | "historical_lookup" | "fixture";
4504
4505
  locator?: string | undefined;
4505
4506
  }[] | undefined;
4506
4507
  } | {
4507
- summary: string;
4508
4508
  kind: "conflict_detected";
4509
+ summary: string;
4509
4510
  conflictId: string;
4510
4511
  decisionIds: string[];
4511
4512
  agentIds: string[];
4512
4513
  evidence?: {
4513
- id: string;
4514
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4514
4515
  label: string;
4515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
+ id: string;
4516
4517
  capture: "at_action" | "historical_lookup" | "fixture";
4517
4518
  locator?: string | undefined;
4518
4519
  }[] | undefined;
4519
4520
  } | {
4521
+ kind: "test_result";
4520
4522
  summary: string;
4521
4523
  status: "error" | "failed" | "passed";
4522
- kind: "test_result";
4523
4524
  command: string;
4524
4525
  decisionId: string;
4525
4526
  testId: string;
4526
4527
  durationMs?: number | undefined;
4527
4528
  evidence?: {
4528
- id: string;
4529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4529
4530
  label: string;
4530
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
+ id: string;
4531
4532
  capture: "at_action" | "historical_lookup" | "fixture";
4532
4533
  locator?: string | undefined;
4533
4534
  }[] | undefined;
@@ -4542,9 +4543,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4542
4543
  supersedesDecisionIds: string[];
4543
4544
  proposedBy: string;
4544
4545
  evidence?: {
4545
- id: string;
4546
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4546
4547
  label: string;
4547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4548
+ id: string;
4548
4549
  capture: "at_action" | "historical_lookup" | "fixture";
4549
4550
  locator?: string | undefined;
4550
4551
  }[] | undefined;
@@ -4552,15 +4553,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4552
4553
  kind: "correction_approved";
4553
4554
  correctionId: string;
4554
4555
  approvedBy: {
4555
- id: string;
4556
- label: string;
4557
4556
  kind: "agent" | "human";
4557
+ label: string;
4558
+ id: string;
4558
4559
  };
4559
4560
  note?: string | undefined;
4560
4561
  evidence?: {
4561
- id: string;
4562
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4562
4563
  label: string;
4563
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
+ id: string;
4564
4565
  capture: "at_action" | "historical_lookup" | "fixture";
4565
4566
  locator?: string | undefined;
4566
4567
  }[] | undefined;
@@ -4570,9 +4571,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4570
4571
  correctionId: string;
4571
4572
  replacementDecisionId: string;
4572
4573
  evidence?: {
4573
- id: string;
4574
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4575
  label: string;
4575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
+ id: string;
4576
4577
  capture: "at_action" | "historical_lookup" | "fixture";
4577
4578
  locator?: string | undefined;
4578
4579
  }[] | undefined;
@@ -4585,9 +4586,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4585
4586
  recallReceiptId: string;
4586
4587
  capturedAtAction: boolean;
4587
4588
  evidence?: {
4588
- id: string;
4589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
4590
  label: string;
4590
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
+ id: string;
4591
4592
  capture: "at_action" | "historical_lookup" | "fixture";
4592
4593
  locator?: string | undefined;
4593
4594
  }[] | undefined;
@@ -4600,24 +4601,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4600
4601
  recallReceiptId: string;
4601
4602
  staleDecisionAbsent: boolean;
4602
4603
  evidence?: {
4603
- id: string;
4604
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4604
4605
  label: string;
4605
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4606
+ id: string;
4606
4607
  capture: "at_action" | "historical_lookup" | "fixture";
4607
4608
  locator?: string | undefined;
4608
4609
  }[] | undefined;
4609
4610
  } | {
4610
- summary: string;
4611
4611
  kind: "mission_completed";
4612
+ summary: string;
4612
4613
  outcome: "failed" | "recovered" | "inconclusive";
4613
4614
  evidence?: {
4614
- id: string;
4615
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4615
4616
  label: string;
4616
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
+ id: string;
4617
4618
  capture: "at_action" | "historical_lookup" | "fixture";
4618
4619
  locator?: string | undefined;
4619
4620
  }[] | undefined;
4620
4621
  };
4622
+ namespace: string;
4621
4623
  eventId: string;
4622
4624
  occurredAt: string;
4623
4625
  missionId: string;
@@ -4858,725 +4860,6 @@ declare function readRelayMission(service: EngramAccessService, input: RelayMiss
4858
4860
  declare const relayMissionAppendOperation: BoundOperation<RelayMissionAppendAccessInput, RelayMissionAppendAccessOutput>;
4859
4861
  declare const relayMissionReadOperation: BoundOperation<RelayMissionReadAccessInput, RelayMissionReadAccessOutput>;
4860
4862
 
4861
- declare const SUPPORT_PASSPORT_CARD_CATEGORIES: readonly ["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"];
4862
- declare const SUPPORT_PASSPORT_CARD_STATUSES: readonly ["pending_review", "active", "rejected", "superseded", "archived"];
4863
- declare const SupportPassportCardCategorySchema: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
4864
- declare const SupportPassportCardStatusSchema: z.ZodEnum<["pending_review", "active", "rejected", "superseded", "archived"]>;
4865
- declare const SupportPassportCardTitleSchema: z.ZodEffects<z.ZodString, string, string>;
4866
- declare const SupportPassportNamespaceSchema: z.ZodEffects<z.ZodString, string, string>;
4867
- declare const SupportPassportMemoryIdSchema: z.ZodString;
4868
- declare const SupportPassportCardSchema: z.ZodObject<{
4869
- cardId: z.ZodString;
4870
- title: z.ZodEffects<z.ZodString, string, string>;
4871
- statement: z.ZodString;
4872
- category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
4873
- status: z.ZodEnum<["pending_review", "active", "rejected", "superseded", "archived"]>;
4874
- updatedAt: z.ZodEffects<z.ZodString, string, string>;
4875
- reviewBy: z.ZodEffects<z.ZodString, string, string>;
4876
- revision: z.ZodString;
4877
- }, "strict", z.ZodTypeAny, {
4878
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4879
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
4880
- title: string;
4881
- updatedAt: string;
4882
- cardId: string;
4883
- statement: string;
4884
- reviewBy: string;
4885
- revision: string;
4886
- }, {
4887
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4888
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
4889
- title: string;
4890
- updatedAt: string;
4891
- cardId: string;
4892
- statement: string;
4893
- reviewBy: string;
4894
- revision: string;
4895
- }>;
4896
- declare const SupportPassportCardListSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
4897
- cardId: z.ZodString;
4898
- title: z.ZodEffects<z.ZodString, string, string>;
4899
- statement: z.ZodString;
4900
- category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
4901
- status: z.ZodEnum<["pending_review", "active", "rejected", "superseded", "archived"]>;
4902
- updatedAt: z.ZodEffects<z.ZodString, string, string>;
4903
- reviewBy: z.ZodEffects<z.ZodString, string, string>;
4904
- revision: z.ZodString;
4905
- }, "strict", z.ZodTypeAny, {
4906
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4907
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
4908
- title: string;
4909
- updatedAt: string;
4910
- cardId: string;
4911
- statement: string;
4912
- reviewBy: string;
4913
- revision: string;
4914
- }, {
4915
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4916
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
4917
- title: string;
4918
- updatedAt: string;
4919
- cardId: string;
4920
- statement: string;
4921
- reviewBy: string;
4922
- revision: string;
4923
- }>, "many">, {
4924
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4925
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
4926
- title: string;
4927
- updatedAt: string;
4928
- cardId: string;
4929
- statement: string;
4930
- reviewBy: string;
4931
- revision: string;
4932
- }[], {
4933
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4934
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
4935
- title: string;
4936
- updatedAt: string;
4937
- cardId: string;
4938
- statement: string;
4939
- reviewBy: string;
4940
- revision: string;
4941
- }[]>;
4942
- declare const SupportPassportListCardsInputSchema: z.ZodObject<{
4943
- principal: z.ZodString;
4944
- }, "strict", z.ZodTypeAny, {
4945
- principal: string;
4946
- }, {
4947
- principal: string;
4948
- }>;
4949
- declare const SupportPassportManualDraftInputSchema: z.ZodObject<{
4950
- principal: z.ZodString;
4951
- title: z.ZodEffects<z.ZodString, string, string>;
4952
- statement: z.ZodString;
4953
- category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
4954
- reviewBy: z.ZodEffects<z.ZodString, string, string>;
4955
- }, "strict", z.ZodTypeAny, {
4956
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4957
- title: string;
4958
- statement: string;
4959
- reviewBy: string;
4960
- principal: string;
4961
- }, {
4962
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4963
- title: string;
4964
- statement: string;
4965
- reviewBy: string;
4966
- principal: string;
4967
- }>;
4968
- declare const SupportPassportCardMutationInputSchema: z.ZodObject<{
4969
- principal: z.ZodString;
4970
- cardId: z.ZodString;
4971
- expectedRevision: z.ZodString;
4972
- }, "strict", z.ZodTypeAny, {
4973
- cardId: string;
4974
- principal: string;
4975
- expectedRevision: string;
4976
- }, {
4977
- cardId: string;
4978
- principal: string;
4979
- expectedRevision: string;
4980
- }>;
4981
- declare const SupportPassportReplaceCardInputSchema: z.ZodObject<{
4982
- principal: z.ZodString;
4983
- cardId: z.ZodString;
4984
- expectedRevision: z.ZodString;
4985
- } & {
4986
- title: z.ZodEffects<z.ZodString, string, string>;
4987
- statement: z.ZodString;
4988
- category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
4989
- reviewBy: z.ZodEffects<z.ZodString, string, string>;
4990
- }, "strict", z.ZodTypeAny, {
4991
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
4992
- title: string;
4993
- cardId: string;
4994
- statement: string;
4995
- reviewBy: string;
4996
- principal: string;
4997
- expectedRevision: string;
4998
- }, {
4999
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
5000
- title: string;
5001
- cardId: string;
5002
- statement: string;
5003
- reviewBy: string;
5004
- principal: string;
5005
- expectedRevision: string;
5006
- }>;
5007
- type SupportPassportCard = z.infer<typeof SupportPassportCardSchema>;
5008
- type SupportPassportCardCategory = z.infer<typeof SupportPassportCardCategorySchema>;
5009
- type SupportPassportCardStatus = z.infer<typeof SupportPassportCardStatusSchema>;
5010
- type SupportPassportManualDraftInput = z.input<typeof SupportPassportManualDraftInputSchema>;
5011
- type SupportPassportCardMutationInput = z.input<typeof SupportPassportCardMutationInputSchema>;
5012
- type SupportPassportReplaceCardInput = z.input<typeof SupportPassportReplaceCardInputSchema>;
5013
- type RevisionFields = Omit<SupportPassportCard, "revision">;
5014
- declare function computeSupportPassportCardRevision(fields: RevisionFields): string;
5015
-
5016
- declare const SUPPORT_PASSPORT_CARD_TAG = "support-passport-card";
5017
- declare const SUPPORT_PASSPORT_AUDIT_TAG = "support-passport-audit";
5018
- declare function isSupportPassportPrivateMemory(memory: {
5019
- frontmatter: {
5020
- tags?: readonly string[];
5021
- structuredAttributes?: Readonly<Record<string, string>>;
5022
- };
5023
- }): boolean;
5024
- declare function excludeSupportPassportPrivateMemories<T extends Pick<MemoryFile, "frontmatter">>(memories: readonly T[]): T[];
5025
- declare function createSupportPassportPrivateFileExclusion(storage: {
5026
- readMemoryByPath(filePath: string): Promise<MemoryFile | null>;
5027
- }): OfflineSyncExcludeFile;
5028
- declare const SUPPORT_PASSPORT_ATTRIBUTE_KEYS: Readonly<{
5029
- namespace: "support-passport-namespace";
5030
- namespaceEncoding: "support-passport-namespace-encoding";
5031
- owner: "support-passport-owner";
5032
- title: "support-passport-title";
5033
- category: "support-passport-category";
5034
- order: "support-passport-order";
5035
- reviewBy: "support-passport-review-by";
5036
- sourceMemoryIds: "support-passport-source-ids";
5037
- replacesDraftId: "support-passport-replaces-draft-id";
5038
- replacedRevision: "support-passport-replaced-revision";
5039
- draftReplacementPrepared: "support-passport-draft-replacement-prepared";
5040
- replacementComplete: "support-passport-replacement-complete";
5041
- }>;
5042
- declare function encodeSupportPassportNamespaceAttributes(namespace: string): Record<string, string>;
5043
- declare function decodeSupportPassportNamespaceAttributes(attributes: Readonly<Record<string, string>>): string | null;
5044
- interface StoredSupportPassportCard {
5045
- card: SupportPassportCard;
5046
- memory: MemoryFile;
5047
- order: number;
5048
- sourceMemoryIds: string[];
5049
- namespace: string;
5050
- owner: string;
5051
- replacesDraftId?: string;
5052
- replacedRevision?: string;
5053
- draftReplacementPrepared: boolean;
5054
- }
5055
- declare function computeSupportPassportOwnerKey(principal: string): string;
5056
- declare function hasLiveSupportPassportCard(memory: Pick<MemoryFile, "frontmatter" | "content">): boolean;
5057
- declare function projectSupportPassportCard(memory: MemoryFile): StoredSupportPassportCard | null;
5058
-
5059
- interface SupportPassportOwnerScope {
5060
- principal: string;
5061
- namespace: string;
5062
- storage: StorageManager;
5063
- }
5064
- interface SupportPassportCardServiceDependencies {
5065
- resolveOwner(principal: string): Promise<SupportPassportOwnerScope>;
5066
- now?: () => Date;
5067
- }
5068
- declare class SupportPassportCardService {
5069
- private readonly resolveOwner;
5070
- private readonly now;
5071
- constructor(dependencies: SupportPassportCardServiceDependencies);
5072
- listCards(input: {
5073
- principal: string;
5074
- }): Promise<SupportPassportCard[]>;
5075
- createManualDraft(input: SupportPassportManualDraftInput): Promise<SupportPassportCard>;
5076
- replaceCard(input: SupportPassportReplaceCardInput): Promise<SupportPassportCard>;
5077
- approveCard(input: SupportPassportCardMutationInput): Promise<SupportPassportCard>;
5078
- rejectCard(input: SupportPassportCardMutationInput): Promise<SupportPassportCard>;
5079
- withdrawCard(input: SupportPassportCardMutationInput): Promise<SupportPassportCard>;
5080
- private createDraft;
5081
- private changeStatus;
5082
- private revisionFor;
5083
- private resolveOwnerScope;
5084
- private rejectCreatedDraft;
5085
- private requireCard;
5086
- private projectRequiredCard;
5087
- private projectOwnedCard;
5088
- private ownsMemory;
5089
- private readProjectedCards;
5090
- private requireRevision;
5091
- private requireStatus;
5092
- private readStoredCards;
5093
- private ownerVisibleCards;
5094
- private preparePriorForReplacement;
5095
- private rejectPendingReplacementForPredecessor;
5096
- private validatePriorForReplacement;
5097
- private recoverReplacementTransition;
5098
- private completeReplacementAfterActivation;
5099
- private finishCommittedApproval;
5100
- private rollbackConflictedApproval;
5101
- private completePriorRetirement;
5102
- private recoverReplacedDraft;
5103
- private finishPreparedDraftReplacement;
5104
- private rejectOrphanedReplacement;
5105
- private restorePriorAfterApprovalFailure;
5106
- private markReplacementComplete;
5107
- private requireOwnerLock;
5108
- }
5109
-
5110
- type SupportPassportErrorCode = "card_data_invalid" | "card_not_found" | "grant_expired" | "grant_gone" | "grant_not_found" | "grant_stale" | "invalid_card_status" | "invalid_input" | "revision_conflict" | "state_conflict" | "storage_conflict";
5111
- declare class SupportPassportError extends Error {
5112
- readonly code: SupportPassportErrorCode;
5113
- readonly status: number;
5114
- constructor(code: SupportPassportErrorCode, message: string, status: number);
5115
- }
5116
-
5117
- declare const SupportPassportGrantCardRefSchema: z.ZodObject<{
5118
- cardId: z.ZodString;
5119
- revision: z.ZodString;
5120
- }, "strict", z.ZodTypeAny, {
5121
- cardId: string;
5122
- revision: string;
5123
- }, {
5124
- cardId: string;
5125
- revision: string;
5126
- }>;
5127
- declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
5128
- schemaVersion: z.ZodLiteral<1>;
5129
- stateVersion: z.ZodNumber;
5130
- grantId: z.ZodEffects<z.ZodString, string, string>;
5131
- namespace: z.ZodEffects<z.ZodString, string, string>;
5132
- principalHash: z.ZodString;
5133
- ownerLockKey: z.ZodString;
5134
- secretHash: z.ZodString;
5135
- cards: z.ZodArray<z.ZodObject<{
5136
- cardId: z.ZodString;
5137
- revision: z.ZodString;
5138
- }, "strict", z.ZodTypeAny, {
5139
- cardId: string;
5140
- revision: string;
5141
- }, {
5142
- cardId: string;
5143
- revision: string;
5144
- }>, "many">;
5145
- createdAt: z.ZodEffects<z.ZodString, string, string>;
5146
- expiresAt: z.ZodEffects<z.ZodString, string, string>;
5147
- revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
5148
- }, "strict", z.ZodTypeAny, {
5149
- namespace: string;
5150
- createdAt: string;
5151
- expiresAt: string;
5152
- schemaVersion: 1;
5153
- stateVersion: number;
5154
- grantId: string;
5155
- principalHash: string;
5156
- ownerLockKey: string;
5157
- secretHash: string;
5158
- cards: {
5159
- cardId: string;
5160
- revision: string;
5161
- }[];
5162
- revokedAt?: string | undefined;
5163
- }, {
5164
- namespace: string;
5165
- createdAt: string;
5166
- expiresAt: string;
5167
- schemaVersion: 1;
5168
- stateVersion: number;
5169
- grantId: string;
5170
- principalHash: string;
5171
- ownerLockKey: string;
5172
- secretHash: string;
5173
- cards: {
5174
- cardId: string;
5175
- revision: string;
5176
- }[];
5177
- revokedAt?: string | undefined;
5178
- }>, {
5179
- namespace: string;
5180
- createdAt: string;
5181
- expiresAt: string;
5182
- schemaVersion: 1;
5183
- stateVersion: number;
5184
- grantId: string;
5185
- principalHash: string;
5186
- ownerLockKey: string;
5187
- secretHash: string;
5188
- cards: {
5189
- cardId: string;
5190
- revision: string;
5191
- }[];
5192
- revokedAt?: string | undefined;
5193
- }, {
5194
- namespace: string;
5195
- createdAt: string;
5196
- expiresAt: string;
5197
- schemaVersion: 1;
5198
- stateVersion: number;
5199
- grantId: string;
5200
- principalHash: string;
5201
- ownerLockKey: string;
5202
- secretHash: string;
5203
- cards: {
5204
- cardId: string;
5205
- revision: string;
5206
- }[];
5207
- revokedAt?: string | undefined;
5208
- }>;
5209
- declare const SupportPassportCreateGrantInputSchema: z.ZodEffects<z.ZodObject<{
5210
- principal: z.ZodString;
5211
- cards: z.ZodArray<z.ZodObject<{
5212
- cardId: z.ZodString;
5213
- revision: z.ZodString;
5214
- }, "strict", z.ZodTypeAny, {
5215
- cardId: string;
5216
- revision: string;
5217
- }, {
5218
- cardId: string;
5219
- revision: string;
5220
- }>, "many">;
5221
- expiresAt: z.ZodEffects<z.ZodString, string, string>;
5222
- }, "strict", z.ZodTypeAny, {
5223
- expiresAt: string;
5224
- principal: string;
5225
- cards: {
5226
- cardId: string;
5227
- revision: string;
5228
- }[];
5229
- }, {
5230
- expiresAt: string;
5231
- principal: string;
5232
- cards: {
5233
- cardId: string;
5234
- revision: string;
5235
- }[];
5236
- }>, {
5237
- expiresAt: string;
5238
- principal: string;
5239
- cards: {
5240
- cardId: string;
5241
- revision: string;
5242
- }[];
5243
- }, {
5244
- expiresAt: string;
5245
- principal: string;
5246
- cards: {
5247
- cardId: string;
5248
- revision: string;
5249
- }[];
5250
- }>;
5251
- declare const SupportPassportOwnerGrantSchema: z.ZodObject<{
5252
- grantId: z.ZodEffects<z.ZodString, string, string>;
5253
- stateVersion: z.ZodNumber;
5254
- cards: z.ZodArray<z.ZodObject<{
5255
- cardId: z.ZodString;
5256
- revision: z.ZodString;
5257
- }, "strict", z.ZodTypeAny, {
5258
- cardId: string;
5259
- revision: string;
5260
- }, {
5261
- cardId: string;
5262
- revision: string;
5263
- }>, "many">;
5264
- createdAt: z.ZodEffects<z.ZodString, string, string>;
5265
- expiresAt: z.ZodEffects<z.ZodString, string, string>;
5266
- revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
5267
- status: z.ZodEnum<["active", "expired", "revoked"]>;
5268
- }, "strict", z.ZodTypeAny, {
5269
- createdAt: string;
5270
- expiresAt: string;
5271
- status: "active" | "expired" | "revoked";
5272
- stateVersion: number;
5273
- grantId: string;
5274
- cards: {
5275
- cardId: string;
5276
- revision: string;
5277
- }[];
5278
- revokedAt?: string | undefined;
5279
- }, {
5280
- createdAt: string;
5281
- expiresAt: string;
5282
- status: "active" | "expired" | "revoked";
5283
- stateVersion: number;
5284
- grantId: string;
5285
- cards: {
5286
- cardId: string;
5287
- revision: string;
5288
- }[];
5289
- revokedAt?: string | undefined;
5290
- }>;
5291
- declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
5292
- grant: z.ZodObject<{
5293
- grantId: z.ZodEffects<z.ZodString, string, string>;
5294
- stateVersion: z.ZodNumber;
5295
- cards: z.ZodArray<z.ZodObject<{
5296
- cardId: z.ZodString;
5297
- revision: z.ZodString;
5298
- }, "strict", z.ZodTypeAny, {
5299
- cardId: string;
5300
- revision: string;
5301
- }, {
5302
- cardId: string;
5303
- revision: string;
5304
- }>, "many">;
5305
- createdAt: z.ZodEffects<z.ZodString, string, string>;
5306
- expiresAt: z.ZodEffects<z.ZodString, string, string>;
5307
- revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
5308
- status: z.ZodEnum<["active", "expired", "revoked"]>;
5309
- }, "strict", z.ZodTypeAny, {
5310
- createdAt: string;
5311
- expiresAt: string;
5312
- status: "active" | "expired" | "revoked";
5313
- stateVersion: number;
5314
- grantId: string;
5315
- cards: {
5316
- cardId: string;
5317
- revision: string;
5318
- }[];
5319
- revokedAt?: string | undefined;
5320
- }, {
5321
- createdAt: string;
5322
- expiresAt: string;
5323
- status: "active" | "expired" | "revoked";
5324
- stateVersion: number;
5325
- grantId: string;
5326
- cards: {
5327
- cardId: string;
5328
- revision: string;
5329
- }[];
5330
- revokedAt?: string | undefined;
5331
- }>;
5332
- secret: z.ZodString;
5333
- }, "strict", z.ZodTypeAny, {
5334
- secret: string;
5335
- grant: {
5336
- createdAt: string;
5337
- expiresAt: string;
5338
- status: "active" | "expired" | "revoked";
5339
- stateVersion: number;
5340
- grantId: string;
5341
- cards: {
5342
- cardId: string;
5343
- revision: string;
5344
- }[];
5345
- revokedAt?: string | undefined;
5346
- };
5347
- }, {
5348
- secret: string;
5349
- grant: {
5350
- createdAt: string;
5351
- expiresAt: string;
5352
- status: "active" | "expired" | "revoked";
5353
- stateVersion: number;
5354
- grantId: string;
5355
- cards: {
5356
- cardId: string;
5357
- revision: string;
5358
- }[];
5359
- revokedAt?: string | undefined;
5360
- };
5361
- }>;
5362
- declare const SupportPassportPublicCardSchema: z.ZodObject<{
5363
- cardId: z.ZodString;
5364
- title: z.ZodString;
5365
- statement: z.ZodString;
5366
- category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
5367
- updatedAt: z.ZodEffects<z.ZodString, string, string>;
5368
- }, "strict", z.ZodTypeAny, {
5369
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
5370
- title: string;
5371
- updatedAt: string;
5372
- cardId: string;
5373
- statement: string;
5374
- }, {
5375
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
5376
- title: string;
5377
- updatedAt: string;
5378
- cardId: string;
5379
- statement: string;
5380
- }>;
5381
- declare const SupportPassportPublicGuideSchema: z.ZodObject<{
5382
- schemaVersion: z.ZodLiteral<1>;
5383
- grantId: z.ZodEffects<z.ZodString, string, string>;
5384
- expiresAt: z.ZodEffects<z.ZodString, string, string>;
5385
- updatedAt: z.ZodEffects<z.ZodString, string, string>;
5386
- cards: z.ZodArray<z.ZodObject<{
5387
- cardId: z.ZodString;
5388
- title: z.ZodString;
5389
- statement: z.ZodString;
5390
- category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
5391
- updatedAt: z.ZodEffects<z.ZodString, string, string>;
5392
- }, "strict", z.ZodTypeAny, {
5393
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
5394
- title: string;
5395
- updatedAt: string;
5396
- cardId: string;
5397
- statement: string;
5398
- }, {
5399
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
5400
- title: string;
5401
- updatedAt: string;
5402
- cardId: string;
5403
- statement: string;
5404
- }>, "many">;
5405
- }, "strict", z.ZodTypeAny, {
5406
- expiresAt: string;
5407
- schemaVersion: 1;
5408
- updatedAt: string;
5409
- grantId: string;
5410
- cards: {
5411
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
5412
- title: string;
5413
- updatedAt: string;
5414
- cardId: string;
5415
- statement: string;
5416
- }[];
5417
- }, {
5418
- expiresAt: string;
5419
- schemaVersion: 1;
5420
- updatedAt: string;
5421
- grantId: string;
5422
- cards: {
5423
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
5424
- title: string;
5425
- updatedAt: string;
5426
- cardId: string;
5427
- statement: string;
5428
- }[];
5429
- }>;
5430
- declare const SupportPassportRevokeGrantInputSchema: z.ZodObject<{
5431
- principal: z.ZodString;
5432
- grantId: z.ZodEffects<z.ZodString, string, string>;
5433
- expectedStateVersion: z.ZodOptional<z.ZodNumber>;
5434
- }, "strict", z.ZodTypeAny, {
5435
- principal: string;
5436
- grantId: string;
5437
- expectedStateVersion?: number | undefined;
5438
- }, {
5439
- principal: string;
5440
- grantId: string;
5441
- expectedStateVersion?: number | undefined;
5442
- }>;
5443
- declare const SupportPassportListGrantsInputSchema: z.ZodObject<{
5444
- principal: z.ZodString;
5445
- }, "strict", z.ZodTypeAny, {
5446
- principal: string;
5447
- }, {
5448
- principal: string;
5449
- }>;
5450
- type SupportPassportGrantCardRef = z.infer<typeof SupportPassportGrantCardRefSchema>;
5451
- type SupportPassportGrantState = z.infer<typeof SupportPassportGrantStateSchema>;
5452
- type SupportPassportCreateGrantInput = z.input<typeof SupportPassportCreateGrantInputSchema>;
5453
- type SupportPassportOwnerGrant = z.infer<typeof SupportPassportOwnerGrantSchema>;
5454
- type SupportPassportCreatedGrant = z.infer<typeof SupportPassportCreatedGrantSchema>;
5455
- type SupportPassportPublicGuide = z.infer<typeof SupportPassportPublicGuideSchema>;
5456
- type SupportPassportRevokeGrantInput = z.input<typeof SupportPassportRevokeGrantInputSchema>;
5457
-
5458
- interface SupportPassportGrantStoreOptions {
5459
- memoryDir: string;
5460
- now?: () => Date;
5461
- makeSecret?: () => Buffer;
5462
- makeGrantId?: () => string;
5463
- withHeldFileLock?: typeof withHeldFileLock;
5464
- syncDirectory?: typeof syncDirectoryForDurability;
5465
- }
5466
- interface CreateStoredGrantInput {
5467
- namespace: string;
5468
- principal: string;
5469
- cards: SupportPassportGrantCardRef[];
5470
- expiresAt: string;
5471
- requestedAt?: Date;
5472
- }
5473
- interface SupportPassportGrantMutationHooks {
5474
- beforeCommit?: () => Promise<void>;
5475
- onCommitted?: () => void | Promise<void>;
5476
- }
5477
- type SupportPassportGrantCreateHooks = SupportPassportGrantMutationHooks | (() => Promise<void>);
5478
- type SupportPassportGrantRevokeHooks = SupportPassportGrantMutationHooks | (() => Promise<void>);
5479
- declare function notifySupportPassportCommitted(callback: (() => void | Promise<void>) | undefined): void;
5480
- declare function syncDirectoryForDurability(directory: string, openDirectory?: (directory: string) => Promise<Pick<FileHandle, "sync" | "close">>): Promise<void>;
5481
- declare class SupportPassportGrantStore {
5482
- private memoryDir;
5483
- private grantsDir;
5484
- private ownerIndexesDir;
5485
- private memoryRootReady?;
5486
- private safeDirectoriesReady?;
5487
- private readonly now;
5488
- private readonly makeSecret;
5489
- private readonly makeGrantId;
5490
- private readonly runWithHeldFileLock;
5491
- private readonly syncDirectory;
5492
- constructor(options: SupportPassportGrantStoreOptions);
5493
- create(input: CreateStoredGrantInput, hooks?: SupportPassportGrantCreateHooks): Promise<{
5494
- state: SupportPassportGrantState;
5495
- secret: string;
5496
- }>;
5497
- authenticate(grantId: string, secret: string): Promise<SupportPassportGrantState>;
5498
- withAuthenticatedGrant<T>(grantId: string, secret: string, task: (state: SupportPassportGrantState) => Promise<T>, beforeReturn?: (state: SupportPassportGrantState) => Promise<void>): Promise<T>;
5499
- listForOwner(namespace: string, principal: string): Promise<SupportPassportGrantState[]>;
5500
- revoke(input: {
5501
- grantId: string;
5502
- namespace: string;
5503
- principal: string;
5504
- expectedStateVersion?: number;
5505
- }, hooks?: SupportPassportGrantRevokeHooks): Promise<SupportPassportGrantState>;
5506
- private filePath;
5507
- private ownerIndexPath;
5508
- private ownerHash;
5509
- private addToOwnerIndex;
5510
- private removeGrantStates;
5511
- private ownerMembershipDirectory;
5512
- private ensureOwnerMembershipDirectory;
5513
- private writeOwnerMembership;
5514
- private removeOwnerMembership;
5515
- private removeStoredGrant;
5516
- private writeOwnerIndexWhileLocked;
5517
- private reconcileCreateAfterOwnerIndexLockLoss;
5518
- private reconcileCommittedGrant;
5519
- private retainedOwnerStates;
5520
- private listedOwnerStates;
5521
- private requireAvailableOwnerGrantSlot;
5522
- private readOwnerMembershipStates;
5523
- private readOwnerIndexByHash;
5524
- private writeOwnerIndex;
5525
- private readState;
5526
- private writeState;
5527
- private ensureSafeDirectories;
5528
- private ensureMemoryRoot;
5529
- private withMutationLock;
5530
- private withGrantLock;
5531
- private withOwnerIndexLock;
5532
- private withExclusiveLock;
5533
- private requireMutationLock;
5534
- private requireOwnerIndexLock;
5535
- private requireActiveState;
5536
- }
5537
-
5538
- interface SupportPassportGrantServiceDependencies {
5539
- grantStore: SupportPassportGrantStore;
5540
- resolveOwner(principal: string): Promise<{
5541
- principal: string;
5542
- namespace: string;
5543
- storage: StorageManager;
5544
- }>;
5545
- resolveNamespace(namespace: string): Promise<StorageManager>;
5546
- now?: () => Date;
5547
- }
5548
- declare class SupportPassportGrantService {
5549
- private readonly grantStore;
5550
- private readonly resolveOwner;
5551
- private readonly resolveNamespace;
5552
- private readonly now;
5553
- constructor(dependencies: SupportPassportGrantServiceDependencies);
5554
- createGrant(input: SupportPassportCreateGrantInput, options?: {
5555
- signal?: AbortSignal;
5556
- onCommitted?: () => void | Promise<void>;
5557
- }): Promise<SupportPassportCreatedGrant>;
5558
- listGrants(input: {
5559
- principal: string;
5560
- }): Promise<SupportPassportOwnerGrant[]>;
5561
- revokeGrant(input: SupportPassportRevokeGrantInput, options?: {
5562
- signal?: AbortSignal;
5563
- onCommitted?: () => void | Promise<void>;
5564
- }): Promise<SupportPassportOwnerGrant>;
5565
- readGrant(input: {
5566
- grantId: string;
5567
- secret: string;
5568
- }): Promise<SupportPassportPublicGuide>;
5569
- private readGrantAttempt;
5570
- private readGrantCards;
5571
- private readStoredCardSnapshot;
5572
- private projectOwnedCards;
5573
- private cardSnapshotVersion;
5574
- private revokeCommittedGrant;
5575
- private publicCard;
5576
- private resolveOwnerScope;
5577
- private ownerGrant;
5578
- }
5579
-
5580
4863
  declare const RELAY_DEMO_MISSION_ID = "checkout-token-recovery";
5581
4864
  declare const RELAY_DEMO_NAMESPACE = "relay-build-week";
5582
4865
  /**
@@ -8651,4 +7934,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
8651
7934
  */
8652
7935
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
8653
7936
 
8654
- export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type CreateStoredGrantInput, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, MemoryFile, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, OfflineSyncExcludeFile, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_CATEGORIES, SUPPORT_PASSPORT_CARD_STATUSES, SUPPORT_PASSPORT_CARD_TAG, type ScriptHint, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StoredSupportPassportCard, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SupportPassportCard, type SupportPassportCardCategory, SupportPassportCardCategorySchema, SupportPassportCardListSchema, type SupportPassportCardMutationInput, SupportPassportCardMutationInputSchema, SupportPassportCardSchema, SupportPassportCardService, type SupportPassportCardServiceDependencies, type SupportPassportCardStatus, SupportPassportCardStatusSchema, SupportPassportCardTitleSchema, type SupportPassportCreateGrantInput, SupportPassportCreateGrantInputSchema, type SupportPassportCreatedGrant, SupportPassportCreatedGrantSchema, SupportPassportError, type SupportPassportErrorCode, type SupportPassportGrantCardRef, SupportPassportGrantCardRefSchema, type SupportPassportGrantMutationHooks, SupportPassportGrantService, type SupportPassportGrantServiceDependencies, type SupportPassportGrantState, SupportPassportGrantStateSchema, SupportPassportGrantStore, type SupportPassportGrantStoreOptions, SupportPassportListCardsInputSchema, SupportPassportListGrantsInputSchema, type SupportPassportManualDraftInput, SupportPassportManualDraftInputSchema, SupportPassportMemoryIdSchema, SupportPassportNamespaceSchema, type SupportPassportOwnerGrant, SupportPassportOwnerGrantSchema, type SupportPassportOwnerScope, SupportPassportPublicCardSchema, type SupportPassportPublicGuide, SupportPassportPublicGuideSchema, type SupportPassportReplaceCardInput, SupportPassportReplaceCardInputSchema, type SupportPassportRevokeGrantInput, SupportPassportRevokeGrantInputSchema, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, computeSupportPassportCardRevision, computeSupportPassportOwnerKey, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, createSupportPassportPrivateFileExclusion, curate, decodeSupportPassportNamespaceAttributes, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, emptyManifest, emptySyncState, encodeSupportPassportNamespaceAttributes, ensureBuiltInWearableConnectors, escapeSegmentText, excludeSupportPassportPrivateMemories, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hasLiveSupportPassportCard, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isSupportPassportPrivateMemory, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, notifySupportPassportCommitted, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, projectSupportPassportCard, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncDirectoryForDurability, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, withRawEntityPageMutation, writeManifest, writeMeetingEpisodeMemory };
7937
+ export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type 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_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, withRawEntityPageMutation, writeManifest, writeMeetingEpisodeMemory };