@remnic/core 9.65.3 → 9.65.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (436) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +20 -18
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +21 -19
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +20 -18
  7. package/dist/access-cli.js +55 -53
  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 +11 -11
  11. package/dist/access-extraction-force-flush.js +20 -18
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.d.ts +2 -2
  17. package/dist/access-http-query.js +22 -20
  18. package/dist/access-http.d.ts +12 -12
  19. package/dist/access-http.js +31 -29
  20. package/dist/access-identity-continuity-surface.d.ts +9 -9
  21. package/dist/access-identity-continuity-surface.js +20 -18
  22. package/dist/access-lcm-surface.d.ts +11 -11
  23. package/dist/access-lcm-surface.js +20 -18
  24. package/dist/access-mcp.d.ts +11 -11
  25. package/dist/access-mcp.js +25 -23
  26. package/dist/access-memory-search-fanout.d.ts +2 -2
  27. package/dist/{access-namespace-preflight-B7Usyz-K.d.ts → access-namespace-preflight-D_6mo8ms.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +3 -3
  29. package/dist/access-namespace-preflight.js +20 -18
  30. package/dist/access-observe-write-surface.d.ts +11 -11
  31. package/dist/access-observe-write-surface.js +20 -18
  32. package/dist/access-offline-manifest.d.ts +9 -9
  33. package/dist/access-offline-manifest.js +3 -3
  34. package/dist/access-operations-batch.js +21 -19
  35. package/dist/access-operations.d.ts +16 -16
  36. package/dist/access-operations.js +24 -22
  37. package/dist/access-recall-concurrency.d.ts +11 -11
  38. package/dist/access-recall-concurrency.js +20 -18
  39. package/dist/access-recall-response.d.ts +11 -11
  40. package/dist/access-recall-response.js +20 -18
  41. package/dist/access-recall-surface.d.ts +11 -11
  42. package/dist/access-recall-surface.js +20 -18
  43. package/dist/access-schema.d.ts +83 -83
  44. package/dist/access-service-helpers.d.ts +11 -11
  45. package/dist/{access-service-DkaIG3n8.d.ts → access-service-sbiNS5UB.d.ts} +71 -71
  46. package/dist/access-service.d.ts +11 -11
  47. package/dist/access-service.js +20 -18
  48. package/dist/access-surface-catalog.d.ts +11 -11
  49. package/dist/access-surface-catalog.js +22 -20
  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 +1 -1
  54. package/dist/active-recall.d.ts +1 -1
  55. package/dist/active-recall.js +5 -1
  56. package/dist/active-recall.js.map +1 -1
  57. package/dist/ambient-provenance.d.ts +1 -1
  58. package/dist/artifact-search.d.ts +1 -1
  59. package/dist/{auto-sync-H64ZCNIR.js → auto-sync-XVMLL2RH.js} +5 -5
  60. package/dist/behavior-learner.d.ts +1 -1
  61. package/dist/behavior-signals.d.ts +1 -1
  62. package/dist/bootstrap.d.ts +9 -9
  63. package/dist/briefing-window.d.ts +2 -2
  64. package/dist/briefing.d.ts +2 -2
  65. package/dist/briefing.js +4 -4
  66. package/dist/buffer-surprise-report.d.ts +1 -1
  67. package/dist/buffer-turn-helpers.d.ts +1 -1
  68. package/dist/buffer.d.ts +2 -2
  69. package/dist/bulk-import/index.d.ts +3 -3
  70. package/dist/calibration.d.ts +1 -1
  71. package/dist/capabilities.d.ts +1 -1
  72. package/dist/{catalog-CX2BZEJh.d.ts → catalog-DO_7zfkv.d.ts} +1 -1
  73. package/dist/causal-behavior.d.ts +1 -1
  74. package/dist/causal-consolidation.d.ts +1 -1
  75. package/dist/causal-consolidation.js +9 -6
  76. package/dist/causal-consolidation.js.map +1 -1
  77. package/dist/causal-trajectory-graph.d.ts +1 -1
  78. package/dist/chunk-236PXYG7.js +232 -0
  79. package/dist/chunk-236PXYG7.js.map +1 -0
  80. package/dist/{chunk-YF6UHWOV.js → chunk-2EPOGPKO.js} +3 -3
  81. package/dist/{chunk-IQSC3V2E.js → chunk-2IXQSGCU.js} +2 -2
  82. package/dist/{chunk-GUXS322H.js → chunk-2MVTAIL3.js} +2 -2
  83. package/dist/{chunk-TDKSCV62.js → chunk-3NH3VP3U.js} +2 -2
  84. package/dist/{chunk-6TAX66IA.js → chunk-4JSF7UUP.js} +2 -2
  85. package/dist/{chunk-URHCUXKI.js → chunk-AXGFOFNY.js} +2 -2
  86. package/dist/{chunk-BKYPJUQL.js → chunk-BA2GLSIP.js} +10 -10
  87. package/dist/{chunk-D27J626P.js → chunk-BK5G2MHO.js} +2 -2
  88. package/dist/{chunk-EV3YFLCB.js → chunk-BW4GAF57.js} +2 -2
  89. package/dist/{chunk-DHTQP334.js → chunk-CQBIN77D.js} +2 -2
  90. package/dist/{chunk-WN5FSGLE.js → chunk-CV3GNPOE.js} +45 -50
  91. package/dist/chunk-CV3GNPOE.js.map +1 -0
  92. package/dist/{chunk-6VALIZKG.js → chunk-DORFF5N5.js} +2 -2
  93. package/dist/{chunk-7QOO4LGC.js → chunk-DPGH6LHQ.js} +331 -73
  94. package/dist/chunk-DPGH6LHQ.js.map +1 -0
  95. package/dist/{chunk-76PL4XLG.js → chunk-DPNXADEI.js} +7 -2
  96. package/dist/chunk-DPNXADEI.js.map +1 -0
  97. package/dist/{chunk-MRTUN665.js → chunk-DUEDOYZD.js} +2 -2
  98. package/dist/{chunk-QFMO32TO.js → chunk-DUZARALI.js} +3 -3
  99. package/dist/{chunk-7KFIMGMP.js → chunk-ECLJ4LA2.js} +2 -2
  100. package/dist/{chunk-PDVQ5JU3.js → chunk-FBR7PIL4.js} +2 -2
  101. package/dist/{chunk-RK4WXUI2.js → chunk-HF5BUTI6.js} +2 -2
  102. package/dist/{chunk-3DVBKTSO.js → chunk-HSZMX3ZJ.js} +4 -4
  103. package/dist/{chunk-ODZG724P.js → chunk-I2HTKOOP.js} +2 -2
  104. package/dist/{chunk-GN55KU2P.js → chunk-IIRCHGWD.js} +2 -2
  105. package/dist/{chunk-AYYGRVRP.js → chunk-IURMJBGP.js} +2 -2
  106. package/dist/{chunk-4XDGYCZI.js → chunk-J3ATBB7M.js} +2 -2
  107. package/dist/{chunk-E4MVQQVX.js → chunk-JPAKBNTM.js} +2 -2
  108. package/dist/{chunk-NZWEEALH.js → chunk-KFIOPZ25.js} +2 -2
  109. package/dist/{chunk-EIVIB73I.js → chunk-KOO37E4Y.js} +2 -2
  110. package/dist/{chunk-VA5KMSAE.js → chunk-KTPXXVDQ.js} +3 -3
  111. package/dist/{chunk-NXKJHSDN.js → chunk-LBFFNDFM.js} +1 -1
  112. package/dist/chunk-LBFFNDFM.js.map +1 -0
  113. package/dist/{chunk-Z4RPXHJH.js → chunk-LYBIHM4N.js} +4 -4
  114. package/dist/{chunk-G57LQRP6.js → chunk-MFOSZUIT.js} +2 -2
  115. package/dist/{chunk-TYUS5TLG.js → chunk-N56GVOWR.js} +3 -3
  116. package/dist/{chunk-BQUEAVNW.js → chunk-NH6LC57D.js} +2 -2
  117. package/dist/{chunk-AUO2LJ3K.js → chunk-NLEH4RTB.js} +2 -2
  118. package/dist/{chunk-AYDDB3XI.js → chunk-OCCHUEZB.js} +2 -2
  119. package/dist/{chunk-57HVIG5U.js → chunk-OWQNJJY2.js} +2 -2
  120. package/dist/{chunk-OJD4WS2E.js → chunk-OZDFB22S.js} +2 -2
  121. package/dist/{chunk-2VXWFYJE.js → chunk-R2MZCYA6.js} +3 -3
  122. package/dist/{chunk-LBWQ65SX.js → chunk-T42L3S6A.js} +4 -4
  123. package/dist/{chunk-PAYGC3BD.js → chunk-THVI4Y7X.js} +7 -7
  124. package/dist/{chunk-S7Q5CM7E.js → chunk-TJFI3K2O.js} +15 -3
  125. package/dist/chunk-TJFI3K2O.js.map +1 -0
  126. package/dist/{chunk-R47WINCY.js → chunk-UCKG36HO.js} +2 -2
  127. package/dist/{chunk-QXIQPCCN.js → chunk-UFR6HX7A.js} +1 -1
  128. package/dist/{chunk-CDUUDBWJ.js → chunk-VFYRYFLL.js} +2 -2
  129. package/dist/{chunk-P4DHENRE.js → chunk-WDXD6ITO.js} +2 -2
  130. package/dist/{chunk-H5FW4S5Q.js → chunk-YB4GBWBU.js} +31 -31
  131. package/dist/{chunk-MBDJJTAT.js → chunk-YDKF4MSJ.js} +3 -3
  132. package/dist/{chunk-AZAA5DNP.js → chunk-YOXVZJFM.js} +2 -2
  133. package/dist/{chunk-OLWTCWQ2.js → chunk-YZJM6CLF.js} +8 -8
  134. package/dist/chunk-ZCUTSMR2.js +61 -0
  135. package/dist/chunk-ZCUTSMR2.js.map +1 -0
  136. package/dist/{chunk-LUNJ3WFO.js → chunk-ZK4BFABK.js} +4 -4
  137. package/dist/{chunk-RDFF2NAU.js → chunk-ZXBTTMGZ.js} +184 -88
  138. package/dist/chunk-ZXBTTMGZ.js.map +1 -0
  139. package/dist/{cli-ChKeYMZv.d.ts → cli-BqdqPdG_.d.ts} +5 -5
  140. package/dist/cli.d.ts +13 -13
  141. package/dist/cli.js +44 -42
  142. package/dist/coding/pre-action-gate.d.ts +1 -1
  143. package/dist/compounding/engine.d.ts +2 -2
  144. package/dist/compounding/engine.js +4 -4
  145. package/dist/compounding/preference-consolidator.d.ts +1 -1
  146. package/dist/compression-optimizer.d.ts +1 -1
  147. package/dist/config.d.ts +1 -1
  148. package/dist/config.js +5 -1
  149. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  150. package/dist/connectors/codex-materialize-runner.js +8 -5
  151. package/dist/connectors/codex-materialize.d.ts +14 -1
  152. package/dist/connectors/codex-materialize.js +10 -1
  153. package/dist/connectors/index.d.ts +1 -1
  154. package/dist/connectors/index.js +8 -5
  155. package/dist/consolidation-provenance-check.d.ts +2 -2
  156. package/dist/consolidation-undo.d.ts +2 -2
  157. package/dist/contradiction/index.d.ts +3 -3
  158. package/dist/contradiction/index.js +1 -1
  159. package/dist/converge-config.d.ts +1 -1
  160. package/dist/convergence-refresh.d.ts +2 -2
  161. package/dist/convergence-refresh.js +6 -6
  162. package/dist/conversation-index/backend.d.ts +1 -1
  163. package/dist/conversation-index/chunker.d.ts +1 -1
  164. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  165. package/dist/conversation-index/indexer.d.ts +1 -1
  166. package/dist/conversation-index/search.d.ts +1 -1
  167. package/dist/corpus-watermark.d.ts +1 -1
  168. package/dist/corpus-watermark.js +6 -6
  169. package/dist/cross-lingual-recall.d.ts +1 -1
  170. package/dist/day-summary.d.ts +1 -1
  171. package/dist/delinearize.d.ts +1 -1
  172. package/dist/dependency-propagation-config.d.ts +1 -1
  173. package/dist/{dependency-propagation-delivery-B8ZMBBCY.d.ts → dependency-propagation-delivery-D23_x-s5.d.ts} +1 -1
  174. package/dist/direct-answer-wiring.d.ts +1 -1
  175. package/dist/direct-answer.d.ts +1 -1
  176. package/dist/embedding-fallback.d.ts +1 -1
  177. package/dist/enrichment/index.d.ts +1 -1
  178. package/dist/entity-origin-fields.d.ts +1 -1
  179. package/dist/entity-retrieval.d.ts +2 -2
  180. package/dist/entity-retrieval.js +4 -4
  181. package/dist/entity-schema.d.ts +1 -1
  182. package/dist/episodic-context.d.ts +1 -1
  183. package/dist/explicit-capture.d.ts +9 -9
  184. package/dist/explicit-capture.js +1 -1
  185. package/dist/external-wiki-access.d.ts +11 -11
  186. package/dist/external-wiki-access.js +21 -19
  187. package/dist/external-wiki-collection-registration.d.ts +1 -1
  188. package/dist/external-wiki-collection.d.ts +1 -1
  189. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  190. package/dist/extraction-error-classification.d.ts +1 -1
  191. package/dist/extraction-faithfulness.d.ts +1 -1
  192. package/dist/extraction-judge-telemetry.d.ts +1 -1
  193. package/dist/extraction-judge-training.d.ts +1 -1
  194. package/dist/extraction-judge.d.ts +1 -1
  195. package/dist/extraction-judge.js +2 -2
  196. package/dist/extraction-liveness.d.ts +1 -1
  197. package/dist/extraction-normalization.d.ts +1 -1
  198. package/dist/extraction-prompt.d.ts +1 -1
  199. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  200. package/dist/extraction-source-grounding.d.ts +1 -1
  201. package/dist/extraction.d.ts +1 -1
  202. package/dist/extraction.js +9 -7
  203. package/dist/fallback-llm.d.ts +1 -1
  204. package/dist/graph-dashboard-diff.d.ts +1 -1
  205. package/dist/graph-dashboard-key.d.ts +1 -1
  206. package/dist/graph-dashboard-parser.d.ts +1 -1
  207. package/dist/graph-edge-reinforcement.d.ts +1 -1
  208. package/dist/graph-path-reconstruction.d.ts +1 -1
  209. package/dist/graph-path-scoring.d.ts +1 -1
  210. package/dist/graph-snapshot.d.ts +1 -1
  211. package/dist/graph.d.ts +1 -1
  212. package/dist/harmonic-retrieval.js +1 -1
  213. package/dist/importance.d.ts +1 -1
  214. package/dist/importers/index.d.ts +1 -1
  215. package/dist/in-flight-reads.d.ts +1 -1
  216. package/dist/{index-CexDrJzC.d.ts → index--QhGIXF2.d.ts} +2 -2
  217. package/dist/index.d.ts +763 -716
  218. package/dist/index.js +79 -58
  219. package/dist/intent.d.ts +1 -1
  220. package/dist/lcm/engine.d.ts +1 -1
  221. package/dist/lcm/index.d.ts +1 -1
  222. package/dist/lcm/tools.d.ts +1 -1
  223. package/dist/lifecycle.d.ts +1 -1
  224. package/dist/live-connectors-runner.d.ts +1 -1
  225. package/dist/local-llm.d.ts +1 -1
  226. package/dist/local-model-endpoint.d.ts +1 -1
  227. package/dist/maintenance/memory-governance.d.ts +1 -1
  228. package/dist/maintenance/memory-governance.js +4 -4
  229. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  230. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +4 -4
  231. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  232. package/dist/maintenance/rebuild-memory-projection.js +5 -5
  233. package/dist/{maintenance-nkdtSrVr.d.ts → maintenance-PFvY1Pw_.d.ts} +3 -3
  234. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  235. package/dist/memory-action-policy.d.ts +1 -1
  236. package/dist/memory-cache.d.ts +1 -1
  237. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  238. package/dist/memory-projection-store.d.ts +1 -1
  239. package/dist/memory-provenance.d.ts +1 -1
  240. package/dist/memory-snapshot.d.ts +1 -1
  241. package/dist/memory-subject-cli.d.ts +11 -11
  242. package/dist/memory-subject.d.ts +11 -11
  243. package/dist/memory-worth-outcomes.d.ts +2 -2
  244. package/dist/models-json.d.ts +1 -1
  245. package/dist/namespaces/migrate.d.ts +3 -3
  246. package/dist/namespaces/migrate.js +5 -5
  247. package/dist/namespaces/principal.d.ts +1 -1
  248. package/dist/namespaces/search.d.ts +1 -1
  249. package/dist/namespaces/storage.d.ts +3 -3
  250. package/dist/namespaces/storage.js +4 -4
  251. package/dist/native-knowledge.d.ts +1 -1
  252. package/dist/offline-sync-impression-drain.d.ts +1 -1
  253. package/dist/operator-doctor-corpus.d.ts +1 -1
  254. package/dist/operator-doctor-corpus.js +7 -7
  255. package/dist/operator-doctor-replica.d.ts +1 -1
  256. package/dist/operator-toolkit.d.ts +3 -3
  257. package/dist/operator-toolkit.js +16 -13
  258. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  259. package/dist/orchestration/maintenance.d.ts +4 -4
  260. package/dist/orchestration/maintenance.js +10 -10
  261. package/dist/{orchestrator-Bvq1-RQs.d.ts → orchestrator-4wzJrPVm.d.ts} +8 -8
  262. package/dist/orchestrator.d.ts +9 -9
  263. package/dist/orchestrator.js +55 -53
  264. package/dist/patterns-cli.d.ts +1 -1
  265. package/dist/{pipeline-C8vfIiTX.d.ts → pipeline-CgXgdIrF.d.ts} +1 -1
  266. package/dist/policy-runtime.d.ts +1 -1
  267. package/dist/proactive-contention.d.ts +1 -1
  268. package/dist/provenance.d.ts +1 -1
  269. package/dist/{public-http-Cy0aYbys.d.ts → public-http-BP3VQDl5.d.ts} +1 -1
  270. package/dist/{qmd-B9p1SZTZ.d.ts → qmd-BppGGxsi.d.ts} +1 -1
  271. package/dist/qmd-preflight.d.ts +2 -2
  272. package/dist/qmd-recall-cache.d.ts +1 -1
  273. package/dist/qmd.d.ts +2 -2
  274. package/dist/recall-concurrency-config.d.ts +1 -1
  275. package/dist/recall-disclosure-escalation.d.ts +1 -1
  276. package/dist/recall-explain-renderer.d.ts +1 -1
  277. package/dist/recall-explain-renderer.js +3 -3
  278. package/dist/recall-memory-map.d.ts +1 -1
  279. package/dist/recall-planner-llm.d.ts +1 -1
  280. package/dist/recall-state.d.ts +1 -1
  281. package/dist/recall-tag-filter.d.ts +1 -1
  282. package/dist/recall-timings.d.ts +1 -1
  283. package/dist/recall-xray-cli.d.ts +1 -1
  284. package/dist/recall-xray-cli.js +4 -4
  285. package/dist/recall-xray-renderer.d.ts +1 -1
  286. package/dist/recall-xray-renderer.js +3 -3
  287. package/dist/recall-xray.d.ts +1 -1
  288. package/dist/recall-xray.js +2 -2
  289. package/dist/reconcile/cursor.d.ts +1 -1
  290. package/dist/reconcile/manifest.d.ts +1 -1
  291. package/dist/reconcile/manifest.js +2 -2
  292. package/dist/reconcile/plan.d.ts +1 -1
  293. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  294. package/dist/replay/normalizers/claude.d.ts +1 -1
  295. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  296. package/dist/replay/normalizers/shared.d.ts +1 -1
  297. package/dist/replay/runner.d.ts +1 -1
  298. package/dist/replay/types.d.ts +1 -1
  299. package/dist/replica-divergence.d.ts +1 -1
  300. package/dist/replica-peers-config.d.ts +1 -1
  301. package/dist/resolution-4552BNRV.js +1 -1
  302. package/dist/resolve-auth-token.d.ts +1 -1
  303. package/dist/resume-bundles.js +6 -2
  304. package/dist/retrieval-agents.d.ts +2 -2
  305. package/dist/retrieval-tiers.d.ts +1 -1
  306. package/dist/routing/engine.d.ts +1 -1
  307. package/dist/routing/store.d.ts +1 -1
  308. package/dist/salvage-envelope.d.ts +1 -1
  309. package/dist/salvage-envelope.js +1 -1
  310. package/dist/schemas.d.ts +136 -136
  311. package/dist/{scope-profiles-DLrRxFWR.d.ts → scope-profiles-ChZUtxDU.d.ts} +1 -1
  312. package/dist/search/embed-helper.d.ts +1 -1
  313. package/dist/search/factory.d.ts +1 -1
  314. package/dist/search/index.d.ts +1 -1
  315. package/dist/search/lancedb-backend.d.ts +1 -1
  316. package/dist/search/meilisearch-backend.d.ts +1 -1
  317. package/dist/search/noop-backend.d.ts +1 -1
  318. package/dist/search/orama-backend.d.ts +1 -1
  319. package/dist/search/port.d.ts +1 -1
  320. package/dist/search/remote-backend.d.ts +1 -1
  321. package/dist/{semantic-consolidation-DlN6xe20.d.ts → semantic-consolidation-mSPwQSmF.d.ts} +1 -1
  322. package/dist/semantic-consolidation.d.ts +2 -2
  323. package/dist/semantic-consolidation.js +9 -6
  324. package/dist/semantic-rule-promotion.js +4 -4
  325. package/dist/semantic-rule-verifier.d.ts +1 -1
  326. package/dist/semantic-rule-verifier.js +4 -4
  327. package/dist/{service-GkYyVfm9.d.ts → service-BICWLwSP.d.ts} +2 -2
  328. package/dist/session-observer-bands.d.ts +1 -1
  329. package/dist/session-observer-state.d.ts +1 -1
  330. package/dist/shared-context/manager.d.ts +7 -7
  331. package/dist/signal.d.ts +1 -1
  332. package/dist/skills-registry.js +4 -56
  333. package/dist/skills-registry.js.map +1 -1
  334. package/dist/source-agent-qualifier.d.ts +1 -1
  335. package/dist/source-agent-qualifier.js +8 -5
  336. package/dist/{storage-BIDzuKIn.d.ts → storage-B7urx1K3.d.ts} +1 -1
  337. package/dist/storage.d.ts +2 -2
  338. package/dist/storage.js +6 -6
  339. package/dist/subject-config.d.ts +1 -1
  340. package/dist/summarizer.d.ts +1 -1
  341. package/dist/summary-snapshot.d.ts +1 -1
  342. package/dist/support-passport/index.d.ts +14 -14
  343. package/dist/support-passport/index.js +23 -21
  344. package/dist/temporal-supersession.d.ts +2 -2
  345. package/dist/temporal-timeline-recall.d.ts +1 -1
  346. package/dist/temporal-validity.d.ts +1 -1
  347. package/dist/threading.d.ts +1 -1
  348. package/dist/tier-migration.d.ts +2 -2
  349. package/dist/tier-routing.d.ts +1 -1
  350. package/dist/topics.d.ts +1 -1
  351. package/dist/transcript.d.ts +1 -1
  352. package/dist/transfer/types.d.ts +78 -78
  353. package/dist/trust-score-stage.d.ts +1 -1
  354. package/dist/trust-score.d.ts +1 -1
  355. package/dist/{types-BxAcOl5Q.d.ts → types-ETU5N6nB.d.ts} +111 -4
  356. package/dist/types.d.ts +1 -1
  357. package/dist/types.js +1 -1
  358. package/dist/utility-runtime.d.ts +1 -1
  359. package/dist/verified-recall.js +4 -4
  360. package/dist/who-knows-cli.d.ts +11 -11
  361. package/dist/who-knows-cli.js +5 -5
  362. package/dist/who-knows.d.ts +11 -11
  363. package/dist/who-knows.js +4 -4
  364. package/dist/write-envelope.d.ts +1 -1
  365. package/dist/write-envelope.js +1 -1
  366. package/package.json +2 -2
  367. package/src/cli/skills-commands.ts +150 -0
  368. package/src/cli.ts +4 -2
  369. package/src/config.ts +4 -2
  370. package/src/connectors/codex-materialize-runner.ts +16 -0
  371. package/src/connectors/codex-materialize-skills.test.ts +141 -0
  372. package/src/connectors/codex-materialize.ts +58 -40
  373. package/src/connectors/materialize-paths.ts +50 -0
  374. package/src/connectors/materialize-skills.ts +127 -0
  375. package/src/index.ts +5 -10
  376. package/src/procedural/skill-io.test.ts +190 -0
  377. package/src/procedural/skill-io.ts +220 -0
  378. package/src/procedural/skill-projection.test.ts +214 -0
  379. package/src/procedural/skill-projection.ts +356 -0
  380. package/src/review/frontmatter.test.ts +15 -0
  381. package/src/review/frontmatter.ts +20 -0
  382. package/src/review/review-deck-snapshot.ts +4 -20
  383. package/src/review/review-deck.ts +1 -12
  384. package/src/types.ts +2 -3
  385. package/dist/chunk-76PL4XLG.js.map +0 -1
  386. package/dist/chunk-7QOO4LGC.js.map +0 -1
  387. package/dist/chunk-NXKJHSDN.js.map +0 -1
  388. package/dist/chunk-RDFF2NAU.js.map +0 -1
  389. package/dist/chunk-S7Q5CM7E.js.map +0 -1
  390. package/dist/chunk-WN5FSGLE.js.map +0 -1
  391. /package/dist/{auto-sync-H64ZCNIR.js.map → auto-sync-XVMLL2RH.js.map} +0 -0
  392. /package/dist/{chunk-YF6UHWOV.js.map → chunk-2EPOGPKO.js.map} +0 -0
  393. /package/dist/{chunk-IQSC3V2E.js.map → chunk-2IXQSGCU.js.map} +0 -0
  394. /package/dist/{chunk-GUXS322H.js.map → chunk-2MVTAIL3.js.map} +0 -0
  395. /package/dist/{chunk-TDKSCV62.js.map → chunk-3NH3VP3U.js.map} +0 -0
  396. /package/dist/{chunk-6TAX66IA.js.map → chunk-4JSF7UUP.js.map} +0 -0
  397. /package/dist/{chunk-URHCUXKI.js.map → chunk-AXGFOFNY.js.map} +0 -0
  398. /package/dist/{chunk-BKYPJUQL.js.map → chunk-BA2GLSIP.js.map} +0 -0
  399. /package/dist/{chunk-D27J626P.js.map → chunk-BK5G2MHO.js.map} +0 -0
  400. /package/dist/{chunk-EV3YFLCB.js.map → chunk-BW4GAF57.js.map} +0 -0
  401. /package/dist/{chunk-DHTQP334.js.map → chunk-CQBIN77D.js.map} +0 -0
  402. /package/dist/{chunk-6VALIZKG.js.map → chunk-DORFF5N5.js.map} +0 -0
  403. /package/dist/{chunk-MRTUN665.js.map → chunk-DUEDOYZD.js.map} +0 -0
  404. /package/dist/{chunk-QFMO32TO.js.map → chunk-DUZARALI.js.map} +0 -0
  405. /package/dist/{chunk-7KFIMGMP.js.map → chunk-ECLJ4LA2.js.map} +0 -0
  406. /package/dist/{chunk-PDVQ5JU3.js.map → chunk-FBR7PIL4.js.map} +0 -0
  407. /package/dist/{chunk-RK4WXUI2.js.map → chunk-HF5BUTI6.js.map} +0 -0
  408. /package/dist/{chunk-3DVBKTSO.js.map → chunk-HSZMX3ZJ.js.map} +0 -0
  409. /package/dist/{chunk-ODZG724P.js.map → chunk-I2HTKOOP.js.map} +0 -0
  410. /package/dist/{chunk-GN55KU2P.js.map → chunk-IIRCHGWD.js.map} +0 -0
  411. /package/dist/{chunk-AYYGRVRP.js.map → chunk-IURMJBGP.js.map} +0 -0
  412. /package/dist/{chunk-4XDGYCZI.js.map → chunk-J3ATBB7M.js.map} +0 -0
  413. /package/dist/{chunk-E4MVQQVX.js.map → chunk-JPAKBNTM.js.map} +0 -0
  414. /package/dist/{chunk-NZWEEALH.js.map → chunk-KFIOPZ25.js.map} +0 -0
  415. /package/dist/{chunk-EIVIB73I.js.map → chunk-KOO37E4Y.js.map} +0 -0
  416. /package/dist/{chunk-VA5KMSAE.js.map → chunk-KTPXXVDQ.js.map} +0 -0
  417. /package/dist/{chunk-Z4RPXHJH.js.map → chunk-LYBIHM4N.js.map} +0 -0
  418. /package/dist/{chunk-G57LQRP6.js.map → chunk-MFOSZUIT.js.map} +0 -0
  419. /package/dist/{chunk-TYUS5TLG.js.map → chunk-N56GVOWR.js.map} +0 -0
  420. /package/dist/{chunk-BQUEAVNW.js.map → chunk-NH6LC57D.js.map} +0 -0
  421. /package/dist/{chunk-AUO2LJ3K.js.map → chunk-NLEH4RTB.js.map} +0 -0
  422. /package/dist/{chunk-AYDDB3XI.js.map → chunk-OCCHUEZB.js.map} +0 -0
  423. /package/dist/{chunk-57HVIG5U.js.map → chunk-OWQNJJY2.js.map} +0 -0
  424. /package/dist/{chunk-OJD4WS2E.js.map → chunk-OZDFB22S.js.map} +0 -0
  425. /package/dist/{chunk-2VXWFYJE.js.map → chunk-R2MZCYA6.js.map} +0 -0
  426. /package/dist/{chunk-LBWQ65SX.js.map → chunk-T42L3S6A.js.map} +0 -0
  427. /package/dist/{chunk-PAYGC3BD.js.map → chunk-THVI4Y7X.js.map} +0 -0
  428. /package/dist/{chunk-R47WINCY.js.map → chunk-UCKG36HO.js.map} +0 -0
  429. /package/dist/{chunk-QXIQPCCN.js.map → chunk-UFR6HX7A.js.map} +0 -0
  430. /package/dist/{chunk-CDUUDBWJ.js.map → chunk-VFYRYFLL.js.map} +0 -0
  431. /package/dist/{chunk-P4DHENRE.js.map → chunk-WDXD6ITO.js.map} +0 -0
  432. /package/dist/{chunk-H5FW4S5Q.js.map → chunk-YB4GBWBU.js.map} +0 -0
  433. /package/dist/{chunk-MBDJJTAT.js.map → chunk-YDKF4MSJ.js.map} +0 -0
  434. /package/dist/{chunk-AZAA5DNP.js.map → chunk-YOXVZJFM.js.map} +0 -0
  435. /package/dist/{chunk-OLWTCWQ2.js.map → chunk-YZJM6CLF.js.map} +0 -0
  436. /package/dist/{chunk-LUNJ3WFO.js.map → chunk-ZK4BFABK.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -5,20 +5,20 @@ export { resolveRemnicConfigRecord } from './config-record.js';
5
5
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
6
6
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
7
7
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
8
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-Bvq1-RQs.js';
8
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-4wzJrPVm.js';
9
9
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
10
10
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
11
11
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
12
- import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-CexDrJzC.js';
13
- export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-CexDrJzC.js';
12
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index--QhGIXF2.js';
13
+ export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index--QhGIXF2.js';
14
14
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
15
15
  export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisLineReceipt, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
16
16
  export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
17
17
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
18
18
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
19
19
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
20
- import { S as StorageManager, a as MeetingRecordStore } from './storage-BIDzuKIn.js';
21
- 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-BIDzuKIn.js';
20
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-B7urx1K3.js';
21
+ 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-B7urx1K3.js';
22
22
  import { SealedMemoryEnvelope } from './write-envelope.js';
23
23
  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';
24
24
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -27,13 +27,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
27
27
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
28
28
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
29
29
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
30
- import { C as CodingContext, bk as CodingModeConfig, aT as FusionConversationInput, bl as FusedSpeaker, bm as FusedSegment, bn as FusedDisagreement, bo as FusionOptions, aV as WearableConversation, bp as FusionDayResult, P as PluginConfig, bq as MemoryDriftState, br as DriftDetectionConfig, bs as CodingKnowledgeConfig, au as SubjectGuardMode, y as MemoryCategory, bt as WearableCleanupSettings, bu as WearableFusionConfig, aW as WearableSourceSettings, a_ as WearablesConfig, aZ as WearableSourceConnector, bv as OffTheRecordMarkerSettings, b3 as WearableCorrectionRule, bw as WearableDayTranscriptMeta, b1 as WearableDayTranscript, aK as ActivitySnapshot, bx as ActivityDayMeta, by as ActivityDayDigest, aN as ActivitySourceClient, bz as ActivitySourceCheck, bA as ActivitySnapshotPage, aL as ActivityConfig, a7 as ExtractionResult, w as MemoryStatus, as as ImportanceScore, bB as MeetingsDetectionConfig, aS as MeetingsDetectionInput, aU as DetectedMeeting, aP as MeetingsConfig, aR as MeetingRecord, bC as MeetingAudioWindow, bD as MeetingAppSpan } from './types-BxAcOl5Q.js';
31
- export { bE as ACTION_GATE_DEFAULTS, bF as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bG as ActionGateAdvisory, bH as ActionGateAuditRecord, bI as ActionGateAuditSink, bJ as ActionGateCandidate, bK as ActionGateCandidateQuery, bL as ActionGateCandidateSource, bM as ActionGateConfig, bN as ActionGateDecision, bO as ActionGateRequest, bP as ActionGateService, bQ as ActionGateServiceDependencies, bR as ActionGateSourceResult, bS as ActionGateStatus, bT as ActivityExtractionMode, aM as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bU as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bV as BriefingWindow, a9 as BufferSurpriseEvent, bW as BulkImportError, ab as BulkImportOptions, ad as BulkImportResult, ac as BulkImportSource, bX as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bY as CodexCompatConfig, bi as ConsolidationObservation, bZ as DEFAULT_RECALL_DISCLOSURE, b_ as DRIFT_DETECTION_DEFAULTS, b$ as DisagreementKind, c0 as DriftDetectionSettings, E as EntityFile, an as EntityStructuredSection, aq as ExtractedFact, c1 as FailureMemorySourceDependencies, c2 as FusedContribution, c3 as FusedConversationProvenance, b5 as FusedDayFile, b4 as FusedDayMeta, aQ as FusedMeeting, c4 as FusedSegmentProvenance, b2 as FusedWearableConversation, c5 as FusionSegmentInput, G as GatewayConfig, c6 as ImportSourceRole, aa as ImportTurn, c7 as ImportTurnValidationIssue, aO as MeetingBuildInput, b6 as MeetingDetectionSource, c8 as MeetingScreenContextEvent, c9 as MeetingSummaryMode, av as MemoryActionEligibilityContext, ca as MemoryActionEligibilitySource, ah as MemoryActionType, cb as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cc as MemoryObservation, cd as MemoryScope, ce as NormalizedActionIntent, cf as PRE_ACTION_FINGERPRINT_VERSION, cg as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, ch as PRE_ACTION_WARNING_VERSION, ci as PreActionFailureGate, cj as PreActionGateDependencies, ck as PreActionGateRequest, cl as PreActionGateResult, cm as PreActionGateStatus, cn as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, co as RecallDriftAnnotation, u as SecretRef, cp as SegmentPickReason, cq as WearableAuthCheck, cr as WearableFetchOptions, cs as WearableFetchPage, aY as WearableMemoryMode, aX as WearableNativeMemory, ct as WearableNativeMemoryPage, b0 as WearableSourceStatus, a$ as WearableSyncSummary, cu as WearableTranscriptSegment, cv as actionTermsFor, cw as createFailureMemoryCandidateSource, cx as createTrajectoryCandidateSource, cy as isFailureClassMemory, cz as isImportRole, cA as isRecallDisclosure, cB as normalizeActionIntent, cC as parseActionGateConfig, cD as parseDriftDetectionConfig, cE as parseDriftProvenance, cF as parseIsoTimestamp, cG as sanitizePayloadString, cH as serializeDriftProvenance, cI as validateImportTurn } from './types-BxAcOl5Q.js';
30
+ import { C as CodingContext, bl as CodingModeConfig, aU as FusionConversationInput, bm as FusedSpeaker, bn as FusedSegment, bo as FusedDisagreement, bp as FusionOptions, aW as WearableConversation, bq as FusionDayResult, P as PluginConfig, br as ParsedSkillBundle, Z as SkillBundle, bs as MemoryDriftState, bt as DriftDetectionConfig, bu as CodingKnowledgeConfig, av as SubjectGuardMode, y as MemoryCategory, bv as WearableCleanupSettings, bw as WearableFusionConfig, aX as WearableSourceSettings, a$ as WearablesConfig, a_ as WearableSourceConnector, bx as OffTheRecordMarkerSettings, b4 as WearableCorrectionRule, by as WearableDayTranscriptMeta, b2 as WearableDayTranscript, aL as ActivitySnapshot, bz as ActivityDayMeta, bA as ActivityDayDigest, aO as ActivitySourceClient, bB as ActivitySourceCheck, bC as ActivitySnapshotPage, aM as ActivityConfig, a8 as ExtractionResult, w as MemoryStatus, at as ImportanceScore, bD as MeetingsDetectionConfig, aT as MeetingsDetectionInput, aV as DetectedMeeting, aQ as MeetingsConfig, aS as MeetingRecord, bE as MeetingAudioWindow, bF as MeetingAppSpan } from './types-ETU5N6nB.js';
31
+ export { bG as ACTION_GATE_DEFAULTS, bH as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bI as ActionGateAdvisory, bJ as ActionGateAuditRecord, bK as ActionGateAuditSink, bL as ActionGateCandidate, bM as ActionGateCandidateQuery, bN as ActionGateCandidateSource, bO as ActionGateConfig, bP as ActionGateDecision, bQ as ActionGateRequest, bR as ActionGateService, bS as ActionGateServiceDependencies, bT as ActionGateSourceResult, bU as ActionGateStatus, bV as ActivityExtractionMode, aN as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bW as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bX as BriefingWindow, aa as BufferSurpriseEvent, bY as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, bZ as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, b_ as CodexCompatConfig, bj as ConsolidationObservation, b$ as DEFAULT_RECALL_DISCLOSURE, c0 as DRIFT_DETECTION_DEFAULTS, c1 as DisagreementKind, c2 as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, ar as ExtractedFact, c3 as FailureMemorySourceDependencies, c4 as FusedContribution, c5 as FusedConversationProvenance, b6 as FusedDayFile, b5 as FusedDayMeta, aR as FusedMeeting, c6 as FusedSegmentProvenance, b3 as FusedWearableConversation, c7 as FusionSegmentInput, G as GatewayConfig, c8 as ImportSourceRole, ab as ImportTurn, c9 as ImportTurnValidationIssue, aP as MeetingBuildInput, b7 as MeetingDetectionSource, ca as MeetingScreenContextEvent, cb as MeetingSummaryMode, aw as MemoryActionEligibilityContext, cc as MemoryActionEligibilitySource, ai as MemoryActionType, cd as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, ce as MemoryObservation, cf as MemoryScope, cg as NormalizedActionIntent, ch as PRE_ACTION_FINGERPRINT_VERSION, ci as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cj as PRE_ACTION_WARNING_VERSION, ck as PreActionFailureGate, cl as PreActionGateDependencies, cm as PreActionGateRequest, cn as PreActionGateResult, co as PreActionGateStatus, cp as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cq as RecallDriftAnnotation, cr as SKILL_FILE_NAME, u as SecretRef, cs as SegmentPickReason, ct as SkillProjectionConfig, cu as WearableAuthCheck, cv as WearableFetchOptions, cw as WearableFetchPage, aZ as WearableMemoryMode, aY as WearableNativeMemory, cx as WearableNativeMemoryPage, b1 as WearableSourceStatus, b0 as WearableSyncSummary, cy as WearableTranscriptSegment, cz as actionTermsFor, cA as buildProcedureMarkdownBody, cB as createFailureMemoryCandidateSource, cC as createTrajectoryCandidateSource, cD as isFailureClassMemory, cE as isImportRole, cF as isRecallDisclosure, cG as normalizeActionIntent, cH as parseActionGateConfig, cI as parseDriftDetectionConfig, cJ as parseDriftProvenance, cK as parseIsoTimestamp, cL as parseProcedureStepsFromBody, cM as parseSkillBundle, cN as parseSkillProjectionConfig, cO as projectProceduresToSkills, cP as renderSkillBundle, cQ as sanitizePayloadString, cR as sanitizeSkillSlug, cS as serializeDriftProvenance, cT as validateImportTurn } from './types-ETU5N6nB.js';
32
32
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
33
33
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
34
34
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
35
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DkaIG3n8.js';
36
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-DkaIG3n8.js';
35
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-sbiNS5UB.js';
36
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-sbiNS5UB.js';
37
37
  import { LocalLlmClient } from './local-llm.js';
38
38
  import { FallbackLlmClient } from './fallback-llm.js';
39
39
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -46,20 +46,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
46
46
  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';
47
47
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
48
48
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
49
- export { Q as QmdClient } from './qmd-B9p1SZTZ.js';
49
+ export { Q as QmdClient } from './qmd-BppGGxsi.js';
50
50
  export { LanceDbBackend } from './search/lancedb-backend.js';
51
51
  export { OramaBackend } from './search/orama-backend.js';
52
52
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
53
53
  export { buildEntityRecallSection } from './entity-retrieval.js';
54
54
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
55
- export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-CX2BZEJh.js';
55
+ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-DO_7zfkv.js';
56
56
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
57
57
  export { storagePathHash } from './storage-paths.js';
58
58
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
59
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-ChKeYMZv.js';
59
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-BqdqPdG_.js';
60
60
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
61
61
  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';
62
- 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-Cy0aYbys.js';
62
+ 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-BP3VQDl5.js';
63
63
  import { z } from 'zod';
64
64
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
65
65
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -84,8 +84,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
84
84
  export { initLogger, log } from './logger.js';
85
85
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
86
86
  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';
87
- import { D as DiscoveredExtension } from './semantic-consolidation-DlN6xe20.js';
88
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DlN6xe20.js';
87
+ import { D as DiscoveredExtension } from './semantic-consolidation-mSPwQSmF.js';
88
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-mSPwQSmF.js';
89
89
  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';
90
90
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
91
91
  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';
@@ -100,11 +100,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
100
100
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
101
101
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
102
102
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
103
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-C8vfIiTX.js';
104
- 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-GkYyVfm9.js';
105
- 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-GkYyVfm9.js';
106
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-nkdtSrVr.js';
107
- 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-nkdtSrVr.js';
103
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CgXgdIrF.js';
104
+ 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-BICWLwSP.js';
105
+ 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-BICWLwSP.js';
106
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-PFvY1Pw_.js';
107
+ 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-PFvY1Pw_.js';
108
108
  import { SearchExecutionOptions } from './search/port.js';
109
109
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
110
110
  export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
@@ -121,7 +121,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
121
121
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
122
122
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
123
123
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
124
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-DLrRxFWR.js';
124
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-ChZUtxDU.js';
125
125
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
126
126
  export { ContinuityImprovementLoop } from './types-continuity.js';
127
127
  export { EngramAccessInputError } from './access-errors.js';
@@ -172,7 +172,7 @@ import './conversation-index/chunker.js';
172
172
  import './conversation-index/backend.js';
173
173
  import './faiss-adapter-BHecI1fF.js';
174
174
  import './runtime/child-process.js';
175
- import './dependency-propagation-delivery-B8ZMBBCY.js';
175
+ import './dependency-propagation-delivery-D23_x-s5.js';
176
176
  import './namespaces/storage.js';
177
177
  import './threading.js';
178
178
  import './graph-444E-DrF.js';
@@ -193,7 +193,7 @@ import './profiling.js';
193
193
  import './schemas.js';
194
194
  import './extraction-error-classification.js';
195
195
  import 'node:stream';
196
- import './access-namespace-preflight-B7Usyz-K.js';
196
+ import './access-namespace-preflight-D_6mo8ms.js';
197
197
  import './recall-explain-renderer.js';
198
198
  import './access-citation.js';
199
199
  import './access-health-types.js';
@@ -547,26 +547,73 @@ declare function buildProcedureRecallSection(storage: StorageManager, prompt: st
547
547
  }): Promise<string | null>;
548
548
 
549
549
  /**
550
- * Procedural memory types (issue #519).
551
- * Bodies use ordered "## Step N" sections; machine fields live in frontmatter / structuredAttributes.
550
+ * skill-io.ts filesystem export / import for procedural skill bundles
551
+ * (issue #2369).
552
+ *
553
+ * Export writes `<dir>/<slug>/SKILL.md` and never deletes anything it did not
554
+ * just render. Import walks every `<dir>/<slug>/SKILL.md`, rejects symlinks and any entry that
555
+ * resolves outside the requested root, and persists `pending_review` procedure
556
+ * memories through the sealed-envelope write path.
557
+ *
558
+ * Import is INERT: bundle resources (`scripts/`, binaries, extra files) are
559
+ * never read, copied, or executed. Their presence is recorded as
560
+ * `hasUnimportedResources` so a reviewer can act on it.
552
561
  */
553
- interface ProcedureStep {
554
- order: number;
555
- intent: string;
556
- toolCall?: {
557
- kind: string;
558
- signature: string;
559
- };
560
- expectedOutcome?: string;
561
- optional?: boolean;
562
+
563
+ interface ExportSkillsResult {
564
+ outDir: string;
565
+ /** Slugs written this run, in projection order. */
566
+ slugs: string[];
567
+ }
568
+ /** Write bundles as `<outDir>/<slug>/SKILL.md`. Creates directories as needed. */
569
+ declare function exportSkillBundles(options: {
570
+ bundles: readonly SkillBundle[];
571
+ outDir: string;
572
+ }): Promise<ExportSkillsResult>;
573
+ /** One bundle read off disk, plus the resource flag the reviewer needs. */
574
+ interface ReadSkillBundle extends ParsedSkillBundle {
575
+ /** True when the bundle directory holds anything besides SKILL.md. */
576
+ hasUnimportedResources: boolean;
577
+ }
578
+ interface ReadSkillBundlesResult {
579
+ bundles: ReadSkillBundle[];
580
+ /** Entries that were not importable, with the reason (never silent). */
581
+ skipped: Array<{
582
+ entry: string;
583
+ reason: string;
584
+ }>;
585
+ }
586
+ /**
587
+ * Read every `<dir>/*​/SKILL.md` bundle. Symlinked roots, symlinked bundle
588
+ * directories, symlinked SKILL.md files, and anything resolving outside `dir`
589
+ * are skipped with a reason (Review Prevention Checklist §3, §10).
590
+ */
591
+ declare function readSkillBundlesFromDir(dir: string): Promise<ReadSkillBundlesResult>;
592
+ interface ImportedSkillRecord {
593
+ slug: string;
594
+ memoryId: string;
595
+ steps: number;
596
+ hasUnimportedResources: boolean;
597
+ }
598
+ interface ImportSkillsResult {
599
+ imported: ImportedSkillRecord[];
600
+ /** Bundles that were read but not persisted (e.g. tombstone-blocked). */
601
+ rejected: Array<{
602
+ slug: string;
603
+ reason: string;
604
+ }>;
562
605
  }
563
- /** Serialize steps into markdown body (human-editable). */
564
- declare function buildProcedureMarkdownBody(steps: ProcedureStep[]): string;
565
606
  /**
566
- * Best-effort parse of "## Step N" blocks into ProcedureStep records.
567
- * Returns null when no step headers are found.
607
+ * Persist read bundles as `pending_review` procedure memories.
608
+ *
609
+ * `pending_review` is unconditional: imported procedures never auto-promote,
610
+ * regardless of `procedural.autoPromoteOccurrences`. Recall already excludes
611
+ * non-active procedures, so review is the promotion checkpoint.
568
612
  */
569
- declare function parseProcedureStepsFromBody(content: string): ProcedureStep[] | null;
613
+ declare function persistImportedSkills(options: {
614
+ storage: StorageManager;
615
+ bundles: readonly ReadSkillBundle[];
616
+ }): Promise<ImportSkillsResult>;
570
617
 
571
618
  /**
572
619
  * Stale-preference recall stage (issue #2371).
@@ -1178,15 +1225,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1178
1225
  locator: z.ZodOptional<z.ZodString>;
1179
1226
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1180
1227
  }, "strict", z.ZodTypeAny, {
1181
- id: string;
1228
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1182
1229
  label: string;
1183
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1230
+ id: string;
1184
1231
  capture: "at_action" | "historical_lookup" | "fixture";
1185
1232
  locator?: string | undefined;
1186
1233
  }, {
1187
- id: string;
1234
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1188
1235
  label: string;
1189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1236
+ id: string;
1190
1237
  capture: "at_action" | "historical_lookup" | "fixture";
1191
1238
  locator?: string | undefined;
1192
1239
  }>;
@@ -1203,15 +1250,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1203
1250
  locator: z.ZodOptional<z.ZodString>;
1204
1251
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1205
1252
  }, "strict", z.ZodTypeAny, {
1206
- id: string;
1253
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1207
1254
  label: string;
1208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
+ id: string;
1209
1256
  capture: "at_action" | "historical_lookup" | "fixture";
1210
1257
  locator?: string | undefined;
1211
1258
  }, {
1212
- id: string;
1259
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1213
1260
  label: string;
1214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1261
+ id: string;
1215
1262
  capture: "at_action" | "historical_lookup" | "fixture";
1216
1263
  locator?: string | undefined;
1217
1264
  }>, "many">>;
@@ -1219,9 +1266,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1219
1266
  kind: "mission_started";
1220
1267
  title: string;
1221
1268
  evidence: {
1222
- id: string;
1269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1223
1270
  label: string;
1224
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1271
+ id: string;
1225
1272
  capture: "at_action" | "historical_lookup" | "fixture";
1226
1273
  locator?: string | undefined;
1227
1274
  }[];
@@ -1233,9 +1280,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1233
1280
  objective: string;
1234
1281
  runMode: "replay" | "fixture" | "live";
1235
1282
  evidence?: {
1236
- id: string;
1283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1237
1284
  label: string;
1238
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1285
+ id: string;
1239
1286
  capture: "at_action" | "historical_lookup" | "fixture";
1240
1287
  locator?: string | undefined;
1241
1288
  }[] | undefined;
@@ -1251,15 +1298,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1251
1298
  locator: z.ZodOptional<z.ZodString>;
1252
1299
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1253
1300
  }, "strict", z.ZodTypeAny, {
1254
- id: string;
1301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
1302
  label: string;
1256
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1303
+ id: string;
1257
1304
  capture: "at_action" | "historical_lookup" | "fixture";
1258
1305
  locator?: string | undefined;
1259
1306
  }, {
1260
- id: string;
1307
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1261
1308
  label: string;
1262
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1309
+ id: string;
1263
1310
  capture: "at_action" | "historical_lookup" | "fixture";
1264
1311
  locator?: string | undefined;
1265
1312
  }>, "many">>;
@@ -1267,32 +1314,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1267
1314
  sessionId: z.ZodString;
1268
1315
  kind: z.ZodLiteral<"agent_status">;
1269
1316
  }, "strict", z.ZodTypeAny, {
1270
- label: string;
1271
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1272
1317
  kind: "agent_status";
1318
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1319
+ label: string;
1273
1320
  role: string;
1274
1321
  agentId: string;
1275
1322
  sessionId: string;
1276
1323
  evidence: {
1277
- id: string;
1324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1278
1325
  label: string;
1279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
+ id: string;
1280
1327
  capture: "at_action" | "historical_lookup" | "fixture";
1281
1328
  locator?: string | undefined;
1282
1329
  }[];
1283
1330
  detail?: string | undefined;
1284
1331
  }, {
1285
- label: string;
1286
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1287
1332
  kind: "agent_status";
1333
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1334
+ label: string;
1288
1335
  role: string;
1289
1336
  agentId: string;
1290
1337
  sessionId: string;
1291
1338
  detail?: string | undefined;
1292
1339
  evidence?: {
1293
- id: string;
1340
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1341
  label: string;
1295
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1342
+ id: string;
1296
1343
  capture: "at_action" | "historical_lookup" | "fixture";
1297
1344
  locator?: string | undefined;
1298
1345
  }[] | undefined;
@@ -1306,15 +1353,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1306
1353
  locator: z.ZodOptional<z.ZodString>;
1307
1354
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1308
1355
  }, "strict", z.ZodTypeAny, {
1309
- id: string;
1356
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
1357
  label: string;
1311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1358
+ id: string;
1312
1359
  capture: "at_action" | "historical_lookup" | "fixture";
1313
1360
  locator?: string | undefined;
1314
1361
  }, {
1315
- id: string;
1362
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
1363
  label: string;
1317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1364
+ id: string;
1318
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1319
1366
  locator?: string | undefined;
1320
1367
  }>, "many">>;
@@ -1322,28 +1369,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1322
1369
  sessionId: z.ZodString;
1323
1370
  kind: z.ZodLiteral<"agent_output">;
1324
1371
  }, "strict", z.ZodTypeAny, {
1325
- summary: string;
1326
1372
  kind: "agent_output";
1373
+ summary: string;
1327
1374
  agentId: string;
1328
1375
  sessionId: string;
1329
1376
  evidence: {
1330
- id: string;
1377
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
1378
  label: string;
1332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
+ id: string;
1333
1380
  capture: "at_action" | "historical_lookup" | "fixture";
1334
1381
  locator?: string | undefined;
1335
1382
  }[];
1336
1383
  outputId: string;
1337
1384
  }, {
1338
- summary: string;
1339
1385
  kind: "agent_output";
1386
+ summary: string;
1340
1387
  agentId: string;
1341
1388
  sessionId: string;
1342
1389
  outputId: string;
1343
1390
  evidence?: {
1344
- id: string;
1391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
1392
  label: string;
1346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
+ id: string;
1347
1394
  capture: "at_action" | "historical_lookup" | "fixture";
1348
1395
  locator?: string | undefined;
1349
1396
  }[] | undefined;
@@ -1359,15 +1406,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1406
  locator: z.ZodOptional<z.ZodString>;
1360
1407
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1361
1408
  }, "strict", z.ZodTypeAny, {
1362
- id: string;
1409
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1410
  label: string;
1364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
+ id: string;
1365
1412
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1413
  locator?: string | undefined;
1367
1414
  }, {
1368
- id: string;
1415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1416
  label: string;
1370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1417
+ id: string;
1371
1418
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1419
  locator?: string | undefined;
1373
1420
  }>, "many">>;
@@ -1380,9 +1427,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1380
1427
  statement: string;
1381
1428
  sessionId: string;
1382
1429
  evidence: {
1383
- id: string;
1430
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
1431
  label: string;
1385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1432
+ id: string;
1386
1433
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1434
  locator?: string | undefined;
1388
1435
  }[];
@@ -1398,9 +1445,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1398
1445
  decisionId: string;
1399
1446
  confidence?: number | undefined;
1400
1447
  evidence?: {
1401
- id: string;
1448
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
1449
  label: string;
1403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1450
+ id: string;
1404
1451
  capture: "at_action" | "historical_lookup" | "fixture";
1405
1452
  locator?: string | undefined;
1406
1453
  }[] | undefined;
@@ -1417,25 +1464,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1417
1464
  locator: z.ZodOptional<z.ZodString>;
1418
1465
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1419
1466
  }, "strict", z.ZodTypeAny, {
1420
- id: string;
1467
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1421
1468
  label: string;
1422
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1469
+ id: string;
1423
1470
  capture: "at_action" | "historical_lookup" | "fixture";
1424
1471
  locator?: string | undefined;
1425
1472
  }, {
1426
- id: string;
1473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1427
1474
  label: string;
1428
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1475
+ id: string;
1429
1476
  capture: "at_action" | "historical_lookup" | "fixture";
1430
1477
  locator?: string | undefined;
1431
1478
  }>, "many">>;
1432
1479
  }, "strict", z.ZodTypeAny, {
1433
- summary: string;
1434
1480
  kind: "conflict_detected";
1481
+ summary: string;
1435
1482
  evidence: {
1436
- id: string;
1483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
1484
  label: string;
1438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
+ id: string;
1439
1486
  capture: "at_action" | "historical_lookup" | "fixture";
1440
1487
  locator?: string | undefined;
1441
1488
  }[];
@@ -1443,15 +1490,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1443
1490
  decisionIds: string[];
1444
1491
  agentIds: string[];
1445
1492
  }, {
1446
- summary: string;
1447
1493
  kind: "conflict_detected";
1494
+ summary: string;
1448
1495
  conflictId: string;
1449
1496
  decisionIds: string[];
1450
1497
  agentIds: string[];
1451
1498
  evidence?: {
1452
- id: string;
1499
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1453
1500
  label: string;
1454
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
+ id: string;
1455
1502
  capture: "at_action" | "historical_lookup" | "fixture";
1456
1503
  locator?: string | undefined;
1457
1504
  }[] | undefined;
@@ -1471,27 +1518,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1471
1518
  locator: z.ZodOptional<z.ZodString>;
1472
1519
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1473
1520
  }, "strict", z.ZodTypeAny, {
1474
- id: string;
1521
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1475
1522
  label: string;
1476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1523
+ id: string;
1477
1524
  capture: "at_action" | "historical_lookup" | "fixture";
1478
1525
  locator?: string | undefined;
1479
1526
  }, {
1480
- id: string;
1527
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
1528
  label: string;
1482
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
+ id: string;
1483
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1484
1531
  locator?: string | undefined;
1485
1532
  }>, "many">>;
1486
1533
  }, "strict", z.ZodTypeAny, {
1534
+ kind: "test_result";
1487
1535
  summary: string;
1488
1536
  status: "error" | "failed" | "passed";
1489
- kind: "test_result";
1490
1537
  command: string;
1491
1538
  evidence: {
1492
- id: string;
1539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1493
1540
  label: string;
1494
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
+ id: string;
1495
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1496
1543
  locator?: string | undefined;
1497
1544
  }[];
@@ -1500,17 +1547,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1500
1547
  durationMs?: number | undefined;
1501
1548
  correctionId?: string | undefined;
1502
1549
  }, {
1550
+ kind: "test_result";
1503
1551
  summary: string;
1504
1552
  status: "error" | "failed" | "passed";
1505
- kind: "test_result";
1506
1553
  command: string;
1507
1554
  decisionId: string;
1508
1555
  testId: string;
1509
1556
  durationMs?: number | undefined;
1510
1557
  evidence?: {
1511
- id: string;
1558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
1559
  label: string;
1513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1560
+ id: string;
1514
1561
  capture: "at_action" | "historical_lookup" | "fixture";
1515
1562
  locator?: string | undefined;
1516
1563
  }[] | undefined;
@@ -1531,15 +1578,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1531
1578
  locator: z.ZodOptional<z.ZodString>;
1532
1579
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1533
1580
  }, "strict", z.ZodTypeAny, {
1534
- id: string;
1581
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
1582
  label: string;
1536
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
+ id: string;
1537
1584
  capture: "at_action" | "historical_lookup" | "fixture";
1538
1585
  locator?: string | undefined;
1539
1586
  }, {
1540
- id: string;
1587
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
1588
  label: string;
1542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1589
+ id: string;
1543
1590
  capture: "at_action" | "historical_lookup" | "fixture";
1544
1591
  locator?: string | undefined;
1545
1592
  }>, "many">>;
@@ -1548,9 +1595,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1548
1595
  statement: string;
1549
1596
  rationale: string;
1550
1597
  evidence: {
1551
- id: string;
1598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1552
1599
  label: string;
1553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
+ id: string;
1554
1601
  capture: "at_action" | "historical_lookup" | "fixture";
1555
1602
  locator?: string | undefined;
1556
1603
  }[];
@@ -1569,9 +1616,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1569
1616
  supersedesDecisionIds: string[];
1570
1617
  proposedBy: string;
1571
1618
  evidence?: {
1572
- id: string;
1619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1573
1620
  label: string;
1574
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1621
+ id: string;
1575
1622
  capture: "at_action" | "historical_lookup" | "fixture";
1576
1623
  locator?: string | undefined;
1577
1624
  }[] | undefined;
@@ -1583,13 +1630,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1583
1630
  id: z.ZodString;
1584
1631
  label: z.ZodString;
1585
1632
  }, "strict", z.ZodTypeAny, {
1586
- id: string;
1587
- label: string;
1588
1633
  kind: "agent" | "human";
1589
- }, {
1590
- id: string;
1591
1634
  label: string;
1635
+ id: string;
1636
+ }, {
1592
1637
  kind: "agent" | "human";
1638
+ label: string;
1639
+ id: string;
1593
1640
  }>;
1594
1641
  note: z.ZodOptional<z.ZodString>;
1595
1642
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1599,47 +1646,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1599
1646
  locator: z.ZodOptional<z.ZodString>;
1600
1647
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1601
1648
  }, "strict", z.ZodTypeAny, {
1602
- id: string;
1649
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1603
1650
  label: string;
1604
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1651
+ id: string;
1605
1652
  capture: "at_action" | "historical_lookup" | "fixture";
1606
1653
  locator?: string | undefined;
1607
1654
  }, {
1608
- id: string;
1655
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1656
  label: string;
1610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
+ id: string;
1611
1658
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1659
  locator?: string | undefined;
1613
1660
  }>, "many">>;
1614
1661
  }, "strict", z.ZodTypeAny, {
1615
1662
  kind: "correction_approved";
1616
1663
  evidence: {
1617
- id: string;
1664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1618
1665
  label: string;
1619
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
+ id: string;
1620
1667
  capture: "at_action" | "historical_lookup" | "fixture";
1621
1668
  locator?: string | undefined;
1622
1669
  }[];
1623
1670
  correctionId: string;
1624
1671
  approvedBy: {
1625
- id: string;
1626
- label: string;
1627
1672
  kind: "agent" | "human";
1673
+ label: string;
1674
+ id: string;
1628
1675
  };
1629
1676
  note?: string | undefined;
1630
1677
  }, {
1631
1678
  kind: "correction_approved";
1632
1679
  correctionId: string;
1633
1680
  approvedBy: {
1634
- id: string;
1635
- label: string;
1636
1681
  kind: "agent" | "human";
1682
+ label: string;
1683
+ id: string;
1637
1684
  };
1638
1685
  note?: string | undefined;
1639
1686
  evidence?: {
1640
- id: string;
1687
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1641
1688
  label: string;
1642
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1689
+ id: string;
1643
1690
  capture: "at_action" | "historical_lookup" | "fixture";
1644
1691
  locator?: string | undefined;
1645
1692
  }[] | undefined;
@@ -1655,24 +1702,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1655
1702
  locator: z.ZodOptional<z.ZodString>;
1656
1703
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1657
1704
  }, "strict", z.ZodTypeAny, {
1658
- id: string;
1705
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
1706
  label: string;
1660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1707
+ id: string;
1661
1708
  capture: "at_action" | "historical_lookup" | "fixture";
1662
1709
  locator?: string | undefined;
1663
1710
  }, {
1664
- id: string;
1711
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1665
1712
  label: string;
1666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
+ id: string;
1667
1714
  capture: "at_action" | "historical_lookup" | "fixture";
1668
1715
  locator?: string | undefined;
1669
1716
  }>, "many">>;
1670
1717
  }, "strict", z.ZodTypeAny, {
1671
1718
  kind: "decision_superseded";
1672
1719
  evidence: {
1673
- id: string;
1720
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1674
1721
  label: string;
1675
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
+ id: string;
1676
1723
  capture: "at_action" | "historical_lookup" | "fixture";
1677
1724
  locator?: string | undefined;
1678
1725
  }[];
@@ -1685,9 +1732,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1685
1732
  correctionId: string;
1686
1733
  replacementDecisionId: string;
1687
1734
  evidence?: {
1688
- id: string;
1735
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1689
1736
  label: string;
1690
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1737
+ id: string;
1691
1738
  capture: "at_action" | "historical_lookup" | "fixture";
1692
1739
  locator?: string | undefined;
1693
1740
  }[] | undefined;
@@ -1703,15 +1750,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1703
1750
  locator: z.ZodOptional<z.ZodString>;
1704
1751
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1705
1752
  }, "strict", z.ZodTypeAny, {
1706
- id: string;
1753
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1707
1754
  label: string;
1708
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1755
+ id: string;
1709
1756
  capture: "at_action" | "historical_lookup" | "fixture";
1710
1757
  locator?: string | undefined;
1711
1758
  }, {
1712
- id: string;
1759
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
1760
  label: string;
1714
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
+ id: string;
1715
1762
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1763
  locator?: string | undefined;
1717
1764
  }>, "many">>;
@@ -1724,9 +1771,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1724
1771
  agentId: string;
1725
1772
  sessionId: string;
1726
1773
  evidence: {
1727
- id: string;
1774
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1728
1775
  label: string;
1729
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
+ id: string;
1730
1777
  capture: "at_action" | "historical_lookup" | "fixture";
1731
1778
  locator?: string | undefined;
1732
1779
  }[];
@@ -1742,9 +1789,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1742
1789
  recallReceiptId: string;
1743
1790
  capturedAtAction: boolean;
1744
1791
  evidence?: {
1745
- id: string;
1792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1793
  label: string;
1747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1794
+ id: string;
1748
1795
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1796
  locator?: string | undefined;
1750
1797
  }[] | undefined;
@@ -1760,15 +1807,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1760
1807
  locator: z.ZodOptional<z.ZodString>;
1761
1808
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1762
1809
  }, "strict", z.ZodTypeAny, {
1763
- id: string;
1810
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
1811
  label: string;
1765
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1812
+ id: string;
1766
1813
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1814
  locator?: string | undefined;
1768
1815
  }, {
1769
- id: string;
1816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
1817
  label: string;
1771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
+ id: string;
1772
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1773
1820
  locator?: string | undefined;
1774
1821
  }>, "many">>;
@@ -1780,9 +1827,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1780
1827
  agentId: string;
1781
1828
  sessionId: string;
1782
1829
  evidence: {
1783
- id: string;
1830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1784
1831
  label: string;
1785
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
+ id: string;
1786
1833
  capture: "at_action" | "historical_lookup" | "fixture";
1787
1834
  locator?: string | undefined;
1788
1835
  }[];
@@ -1799,9 +1846,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1799
1846
  recallReceiptId: string;
1800
1847
  staleDecisionAbsent: boolean;
1801
1848
  evidence?: {
1802
- id: string;
1849
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
1850
  label: string;
1804
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1851
+ id: string;
1805
1852
  capture: "at_action" | "historical_lookup" | "fixture";
1806
1853
  locator?: string | undefined;
1807
1854
  }[] | undefined;
@@ -1816,37 +1863,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1816
1863
  locator: z.ZodOptional<z.ZodString>;
1817
1864
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1818
1865
  }, "strict", z.ZodTypeAny, {
1819
- id: string;
1866
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1820
1867
  label: string;
1821
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1868
+ id: string;
1822
1869
  capture: "at_action" | "historical_lookup" | "fixture";
1823
1870
  locator?: string | undefined;
1824
1871
  }, {
1825
- id: string;
1872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1826
1873
  label: string;
1827
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
+ id: string;
1828
1875
  capture: "at_action" | "historical_lookup" | "fixture";
1829
1876
  locator?: string | undefined;
1830
1877
  }>, "many">>;
1831
1878
  }, "strict", z.ZodTypeAny, {
1832
- summary: string;
1833
1879
  kind: "mission_completed";
1880
+ summary: string;
1834
1881
  outcome: "failed" | "recovered" | "inconclusive";
1835
1882
  evidence: {
1836
- id: string;
1883
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
1884
  label: string;
1838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
+ id: string;
1839
1886
  capture: "at_action" | "historical_lookup" | "fixture";
1840
1887
  locator?: string | undefined;
1841
1888
  }[];
1842
1889
  }, {
1843
- summary: string;
1844
1890
  kind: "mission_completed";
1891
+ summary: string;
1845
1892
  outcome: "failed" | "recovered" | "inconclusive";
1846
1893
  evidence?: {
1847
- id: string;
1894
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1848
1895
  label: string;
1849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
+ id: string;
1850
1897
  capture: "at_action" | "historical_lookup" | "fixture";
1851
1898
  locator?: string | undefined;
1852
1899
  }[] | undefined;
@@ -1854,38 +1901,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1854
1901
  kind: "mission_started";
1855
1902
  title: string;
1856
1903
  evidence: {
1857
- id: string;
1904
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1858
1905
  label: string;
1859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1906
+ id: string;
1860
1907
  capture: "at_action" | "historical_lookup" | "fixture";
1861
1908
  locator?: string | undefined;
1862
1909
  }[];
1863
1910
  objective: string;
1864
1911
  runMode: "replay" | "fixture" | "live";
1865
1912
  } | {
1866
- label: string;
1867
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1868
1913
  kind: "agent_status";
1914
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1915
+ label: string;
1869
1916
  role: string;
1870
1917
  agentId: string;
1871
1918
  sessionId: string;
1872
1919
  evidence: {
1873
- id: string;
1920
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
1921
  label: string;
1875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
+ id: string;
1876
1923
  capture: "at_action" | "historical_lookup" | "fixture";
1877
1924
  locator?: string | undefined;
1878
1925
  }[];
1879
1926
  detail?: string | undefined;
1880
1927
  } | {
1881
- summary: string;
1882
1928
  kind: "agent_output";
1929
+ summary: string;
1883
1930
  agentId: string;
1884
1931
  sessionId: string;
1885
1932
  evidence: {
1886
- id: string;
1933
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1887
1934
  label: string;
1888
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
+ id: string;
1889
1936
  capture: "at_action" | "historical_lookup" | "fixture";
1890
1937
  locator?: string | undefined;
1891
1938
  }[];
@@ -1896,9 +1943,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1896
1943
  statement: string;
1897
1944
  sessionId: string;
1898
1945
  evidence: {
1899
- id: string;
1946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1900
1947
  label: string;
1901
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
+ id: string;
1902
1949
  capture: "at_action" | "historical_lookup" | "fixture";
1903
1950
  locator?: string | undefined;
1904
1951
  }[];
@@ -1906,12 +1953,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1906
1953
  decisionId: string;
1907
1954
  confidence?: number | undefined;
1908
1955
  } | {
1909
- summary: string;
1910
1956
  kind: "conflict_detected";
1957
+ summary: string;
1911
1958
  evidence: {
1912
- id: string;
1959
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
1960
  label: string;
1914
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
+ id: string;
1915
1962
  capture: "at_action" | "historical_lookup" | "fixture";
1916
1963
  locator?: string | undefined;
1917
1964
  }[];
@@ -1919,14 +1966,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1919
1966
  decisionIds: string[];
1920
1967
  agentIds: string[];
1921
1968
  } | {
1969
+ kind: "test_result";
1922
1970
  summary: string;
1923
1971
  status: "error" | "failed" | "passed";
1924
- kind: "test_result";
1925
1972
  command: string;
1926
1973
  evidence: {
1927
- id: string;
1974
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1928
1975
  label: string;
1929
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
+ id: string;
1930
1977
  capture: "at_action" | "historical_lookup" | "fixture";
1931
1978
  locator?: string | undefined;
1932
1979
  }[];
@@ -1939,9 +1986,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1939
1986
  statement: string;
1940
1987
  rationale: string;
1941
1988
  evidence: {
1942
- id: string;
1989
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1943
1990
  label: string;
1944
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1991
+ id: string;
1945
1992
  capture: "at_action" | "historical_lookup" | "fixture";
1946
1993
  locator?: string | undefined;
1947
1994
  }[];
@@ -1953,25 +2000,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1953
2000
  } | {
1954
2001
  kind: "correction_approved";
1955
2002
  evidence: {
1956
- id: string;
2003
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
2004
  label: string;
1958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2005
+ id: string;
1959
2006
  capture: "at_action" | "historical_lookup" | "fixture";
1960
2007
  locator?: string | undefined;
1961
2008
  }[];
1962
2009
  correctionId: string;
1963
2010
  approvedBy: {
1964
- id: string;
1965
- label: string;
1966
2011
  kind: "agent" | "human";
2012
+ label: string;
2013
+ id: string;
1967
2014
  };
1968
2015
  note?: string | undefined;
1969
2016
  } | {
1970
2017
  kind: "decision_superseded";
1971
2018
  evidence: {
1972
- id: string;
2019
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1973
2020
  label: string;
1974
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
+ id: string;
1975
2022
  capture: "at_action" | "historical_lookup" | "fixture";
1976
2023
  locator?: string | undefined;
1977
2024
  }[];
@@ -1984,9 +2031,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1984
2031
  agentId: string;
1985
2032
  sessionId: string;
1986
2033
  evidence: {
1987
- id: string;
2034
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1988
2035
  label: string;
1989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2036
+ id: string;
1990
2037
  capture: "at_action" | "historical_lookup" | "fixture";
1991
2038
  locator?: string | undefined;
1992
2039
  }[];
@@ -1998,9 +2045,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1998
2045
  agentId: string;
1999
2046
  sessionId: string;
2000
2047
  evidence: {
2001
- id: string;
2048
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
2049
  label: string;
2003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
+ id: string;
2004
2051
  capture: "at_action" | "historical_lookup" | "fixture";
2005
2052
  locator?: string | undefined;
2006
2053
  }[];
@@ -2009,13 +2056,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2009
2056
  recallReceiptId: string;
2010
2057
  staleDecisionAbsent: boolean;
2011
2058
  } | {
2012
- summary: string;
2013
2059
  kind: "mission_completed";
2060
+ summary: string;
2014
2061
  outcome: "failed" | "recovered" | "inconclusive";
2015
2062
  evidence: {
2016
- id: string;
2063
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2017
2064
  label: string;
2018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2065
+ id: string;
2019
2066
  capture: "at_action" | "historical_lookup" | "fixture";
2020
2067
  locator?: string | undefined;
2021
2068
  }[];
@@ -2025,37 +2072,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2025
2072
  objective: string;
2026
2073
  runMode: "replay" | "fixture" | "live";
2027
2074
  evidence?: {
2028
- id: string;
2075
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
2076
  label: string;
2030
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2077
+ id: string;
2031
2078
  capture: "at_action" | "historical_lookup" | "fixture";
2032
2079
  locator?: string | undefined;
2033
2080
  }[] | undefined;
2034
2081
  } | {
2035
- label: string;
2036
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2037
2082
  kind: "agent_status";
2083
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2084
+ label: string;
2038
2085
  role: string;
2039
2086
  agentId: string;
2040
2087
  sessionId: string;
2041
2088
  detail?: string | undefined;
2042
2089
  evidence?: {
2043
- id: string;
2090
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2044
2091
  label: string;
2045
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
+ id: string;
2046
2093
  capture: "at_action" | "historical_lookup" | "fixture";
2047
2094
  locator?: string | undefined;
2048
2095
  }[] | undefined;
2049
2096
  } | {
2050
- summary: string;
2051
2097
  kind: "agent_output";
2098
+ summary: string;
2052
2099
  agentId: string;
2053
2100
  sessionId: string;
2054
2101
  outputId: string;
2055
2102
  evidence?: {
2056
- id: string;
2103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2057
2104
  label: string;
2058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
+ id: string;
2059
2106
  capture: "at_action" | "historical_lookup" | "fixture";
2060
2107
  locator?: string | undefined;
2061
2108
  }[] | undefined;
@@ -2068,37 +2115,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2068
2115
  decisionId: string;
2069
2116
  confidence?: number | undefined;
2070
2117
  evidence?: {
2071
- id: string;
2118
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2072
2119
  label: string;
2073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2120
+ id: string;
2074
2121
  capture: "at_action" | "historical_lookup" | "fixture";
2075
2122
  locator?: string | undefined;
2076
2123
  }[] | undefined;
2077
2124
  } | {
2078
- summary: string;
2079
2125
  kind: "conflict_detected";
2126
+ summary: string;
2080
2127
  conflictId: string;
2081
2128
  decisionIds: string[];
2082
2129
  agentIds: string[];
2083
2130
  evidence?: {
2084
- id: string;
2131
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2085
2132
  label: string;
2086
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
+ id: string;
2087
2134
  capture: "at_action" | "historical_lookup" | "fixture";
2088
2135
  locator?: string | undefined;
2089
2136
  }[] | undefined;
2090
2137
  } | {
2138
+ kind: "test_result";
2091
2139
  summary: string;
2092
2140
  status: "error" | "failed" | "passed";
2093
- kind: "test_result";
2094
2141
  command: string;
2095
2142
  decisionId: string;
2096
2143
  testId: string;
2097
2144
  durationMs?: number | undefined;
2098
2145
  evidence?: {
2099
- id: string;
2146
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2100
2147
  label: string;
2101
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2148
+ id: string;
2102
2149
  capture: "at_action" | "historical_lookup" | "fixture";
2103
2150
  locator?: string | undefined;
2104
2151
  }[] | undefined;
@@ -2113,9 +2160,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2113
2160
  supersedesDecisionIds: string[];
2114
2161
  proposedBy: string;
2115
2162
  evidence?: {
2116
- id: string;
2163
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
2164
  label: string;
2118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2165
+ id: string;
2119
2166
  capture: "at_action" | "historical_lookup" | "fixture";
2120
2167
  locator?: string | undefined;
2121
2168
  }[] | undefined;
@@ -2123,15 +2170,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2123
2170
  kind: "correction_approved";
2124
2171
  correctionId: string;
2125
2172
  approvedBy: {
2126
- id: string;
2127
- label: string;
2128
2173
  kind: "agent" | "human";
2174
+ label: string;
2175
+ id: string;
2129
2176
  };
2130
2177
  note?: string | undefined;
2131
2178
  evidence?: {
2132
- id: string;
2179
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
2180
  label: string;
2134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2181
+ id: string;
2135
2182
  capture: "at_action" | "historical_lookup" | "fixture";
2136
2183
  locator?: string | undefined;
2137
2184
  }[] | undefined;
@@ -2141,9 +2188,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2141
2188
  correctionId: string;
2142
2189
  replacementDecisionId: string;
2143
2190
  evidence?: {
2144
- id: string;
2191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
2192
  label: string;
2146
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
+ id: string;
2147
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2148
2195
  locator?: string | undefined;
2149
2196
  }[] | undefined;
@@ -2156,9 +2203,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2156
2203
  recallReceiptId: string;
2157
2204
  capturedAtAction: boolean;
2158
2205
  evidence?: {
2159
- id: string;
2206
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
2207
  label: string;
2161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2208
+ id: string;
2162
2209
  capture: "at_action" | "historical_lookup" | "fixture";
2163
2210
  locator?: string | undefined;
2164
2211
  }[] | undefined;
@@ -2171,20 +2218,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2171
2218
  recallReceiptId: string;
2172
2219
  staleDecisionAbsent: boolean;
2173
2220
  evidence?: {
2174
- id: string;
2221
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
2222
  label: string;
2176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2223
+ id: string;
2177
2224
  capture: "at_action" | "historical_lookup" | "fixture";
2178
2225
  locator?: string | undefined;
2179
2226
  }[] | undefined;
2180
2227
  } | {
2181
- summary: string;
2182
2228
  kind: "mission_completed";
2229
+ summary: string;
2183
2230
  outcome: "failed" | "recovered" | "inconclusive";
2184
2231
  evidence?: {
2185
- id: string;
2232
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
2233
  label: string;
2187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
+ id: string;
2188
2235
  capture: "at_action" | "historical_lookup" | "fixture";
2189
2236
  locator?: string | undefined;
2190
2237
  }[] | undefined;
@@ -2205,15 +2252,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2205
2252
  locator: z.ZodOptional<z.ZodString>;
2206
2253
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2207
2254
  }, "strict", z.ZodTypeAny, {
2208
- id: string;
2255
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2209
2256
  label: string;
2210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
+ id: string;
2211
2258
  capture: "at_action" | "historical_lookup" | "fixture";
2212
2259
  locator?: string | undefined;
2213
2260
  }, {
2214
- id: string;
2261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2215
2262
  label: string;
2216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
+ id: string;
2217
2264
  capture: "at_action" | "historical_lookup" | "fixture";
2218
2265
  locator?: string | undefined;
2219
2266
  }>, "many">>;
@@ -2221,9 +2268,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2221
2268
  kind: "mission_started";
2222
2269
  title: string;
2223
2270
  evidence: {
2224
- id: string;
2271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2225
2272
  label: string;
2226
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
+ id: string;
2227
2274
  capture: "at_action" | "historical_lookup" | "fixture";
2228
2275
  locator?: string | undefined;
2229
2276
  }[];
@@ -2235,9 +2282,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2235
2282
  objective: string;
2236
2283
  runMode: "replay" | "fixture" | "live";
2237
2284
  evidence?: {
2238
- id: string;
2285
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2286
  label: string;
2240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2287
+ id: string;
2241
2288
  capture: "at_action" | "historical_lookup" | "fixture";
2242
2289
  locator?: string | undefined;
2243
2290
  }[] | undefined;
@@ -2253,15 +2300,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2253
2300
  locator: z.ZodOptional<z.ZodString>;
2254
2301
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2255
2302
  }, "strict", z.ZodTypeAny, {
2256
- id: string;
2303
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
2304
  label: string;
2258
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2305
+ id: string;
2259
2306
  capture: "at_action" | "historical_lookup" | "fixture";
2260
2307
  locator?: string | undefined;
2261
2308
  }, {
2262
- id: string;
2309
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
2310
  label: string;
2264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2311
+ id: string;
2265
2312
  capture: "at_action" | "historical_lookup" | "fixture";
2266
2313
  locator?: string | undefined;
2267
2314
  }>, "many">>;
@@ -2269,32 +2316,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2269
2316
  sessionId: z.ZodString;
2270
2317
  kind: z.ZodLiteral<"agent_status">;
2271
2318
  }, "strict", z.ZodTypeAny, {
2272
- label: string;
2273
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2274
2319
  kind: "agent_status";
2320
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2321
+ label: string;
2275
2322
  role: string;
2276
2323
  agentId: string;
2277
2324
  sessionId: string;
2278
2325
  evidence: {
2279
- id: string;
2326
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2280
2327
  label: string;
2281
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2328
+ id: string;
2282
2329
  capture: "at_action" | "historical_lookup" | "fixture";
2283
2330
  locator?: string | undefined;
2284
2331
  }[];
2285
2332
  detail?: string | undefined;
2286
2333
  }, {
2287
- label: string;
2288
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2289
2334
  kind: "agent_status";
2335
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2336
+ label: string;
2290
2337
  role: string;
2291
2338
  agentId: string;
2292
2339
  sessionId: string;
2293
2340
  detail?: string | undefined;
2294
2341
  evidence?: {
2295
- id: string;
2342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2343
  label: string;
2297
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2344
+ id: string;
2298
2345
  capture: "at_action" | "historical_lookup" | "fixture";
2299
2346
  locator?: string | undefined;
2300
2347
  }[] | undefined;
@@ -2308,15 +2355,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2308
2355
  locator: z.ZodOptional<z.ZodString>;
2309
2356
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2310
2357
  }, "strict", z.ZodTypeAny, {
2311
- id: string;
2358
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
2359
  label: string;
2313
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2360
+ id: string;
2314
2361
  capture: "at_action" | "historical_lookup" | "fixture";
2315
2362
  locator?: string | undefined;
2316
2363
  }, {
2317
- id: string;
2364
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
2365
  label: string;
2319
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2366
+ id: string;
2320
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2321
2368
  locator?: string | undefined;
2322
2369
  }>, "many">>;
@@ -2324,28 +2371,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2324
2371
  sessionId: z.ZodString;
2325
2372
  kind: z.ZodLiteral<"agent_output">;
2326
2373
  }, "strict", z.ZodTypeAny, {
2327
- summary: string;
2328
2374
  kind: "agent_output";
2375
+ summary: string;
2329
2376
  agentId: string;
2330
2377
  sessionId: string;
2331
2378
  evidence: {
2332
- id: string;
2379
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
2380
  label: string;
2334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
+ id: string;
2335
2382
  capture: "at_action" | "historical_lookup" | "fixture";
2336
2383
  locator?: string | undefined;
2337
2384
  }[];
2338
2385
  outputId: string;
2339
2386
  }, {
2340
- summary: string;
2341
2387
  kind: "agent_output";
2388
+ summary: string;
2342
2389
  agentId: string;
2343
2390
  sessionId: string;
2344
2391
  outputId: string;
2345
2392
  evidence?: {
2346
- id: string;
2393
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
2394
  label: string;
2348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
+ id: string;
2349
2396
  capture: "at_action" | "historical_lookup" | "fixture";
2350
2397
  locator?: string | undefined;
2351
2398
  }[] | undefined;
@@ -2361,15 +2408,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2408
  locator: z.ZodOptional<z.ZodString>;
2362
2409
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2363
2410
  }, "strict", z.ZodTypeAny, {
2364
- id: string;
2411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2412
  label: string;
2366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
+ id: string;
2367
2414
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2415
  locator?: string | undefined;
2369
2416
  }, {
2370
- id: string;
2417
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2418
  label: string;
2372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2419
+ id: string;
2373
2420
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2421
  locator?: string | undefined;
2375
2422
  }>, "many">>;
@@ -2382,9 +2429,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2382
2429
  statement: string;
2383
2430
  sessionId: string;
2384
2431
  evidence: {
2385
- id: string;
2432
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
2433
  label: string;
2387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2434
+ id: string;
2388
2435
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2436
  locator?: string | undefined;
2390
2437
  }[];
@@ -2400,9 +2447,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2400
2447
  decisionId: string;
2401
2448
  confidence?: number | undefined;
2402
2449
  evidence?: {
2403
- id: string;
2450
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
2451
  label: string;
2405
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2452
+ id: string;
2406
2453
  capture: "at_action" | "historical_lookup" | "fixture";
2407
2454
  locator?: string | undefined;
2408
2455
  }[] | undefined;
@@ -2419,25 +2466,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2419
2466
  locator: z.ZodOptional<z.ZodString>;
2420
2467
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2421
2468
  }, "strict", z.ZodTypeAny, {
2422
- id: string;
2469
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2423
2470
  label: string;
2424
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2471
+ id: string;
2425
2472
  capture: "at_action" | "historical_lookup" | "fixture";
2426
2473
  locator?: string | undefined;
2427
2474
  }, {
2428
- id: string;
2475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2429
2476
  label: string;
2430
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2477
+ id: string;
2431
2478
  capture: "at_action" | "historical_lookup" | "fixture";
2432
2479
  locator?: string | undefined;
2433
2480
  }>, "many">>;
2434
2481
  }, "strict", z.ZodTypeAny, {
2435
- summary: string;
2436
2482
  kind: "conflict_detected";
2483
+ summary: string;
2437
2484
  evidence: {
2438
- id: string;
2485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
2486
  label: string;
2440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
+ id: string;
2441
2488
  capture: "at_action" | "historical_lookup" | "fixture";
2442
2489
  locator?: string | undefined;
2443
2490
  }[];
@@ -2445,15 +2492,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2445
2492
  decisionIds: string[];
2446
2493
  agentIds: string[];
2447
2494
  }, {
2448
- summary: string;
2449
2495
  kind: "conflict_detected";
2496
+ summary: string;
2450
2497
  conflictId: string;
2451
2498
  decisionIds: string[];
2452
2499
  agentIds: string[];
2453
2500
  evidence?: {
2454
- id: string;
2501
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2455
2502
  label: string;
2456
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
+ id: string;
2457
2504
  capture: "at_action" | "historical_lookup" | "fixture";
2458
2505
  locator?: string | undefined;
2459
2506
  }[] | undefined;
@@ -2473,27 +2520,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2473
2520
  locator: z.ZodOptional<z.ZodString>;
2474
2521
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2475
2522
  }, "strict", z.ZodTypeAny, {
2476
- id: string;
2523
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2477
2524
  label: string;
2478
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2525
+ id: string;
2479
2526
  capture: "at_action" | "historical_lookup" | "fixture";
2480
2527
  locator?: string | undefined;
2481
2528
  }, {
2482
- id: string;
2529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
2530
  label: string;
2484
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
+ id: string;
2485
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2486
2533
  locator?: string | undefined;
2487
2534
  }>, "many">>;
2488
2535
  }, "strict", z.ZodTypeAny, {
2536
+ kind: "test_result";
2489
2537
  summary: string;
2490
2538
  status: "error" | "failed" | "passed";
2491
- kind: "test_result";
2492
2539
  command: string;
2493
2540
  evidence: {
2494
- id: string;
2541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2495
2542
  label: string;
2496
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
+ id: string;
2497
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2498
2545
  locator?: string | undefined;
2499
2546
  }[];
@@ -2502,17 +2549,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2502
2549
  durationMs?: number | undefined;
2503
2550
  correctionId?: string | undefined;
2504
2551
  }, {
2552
+ kind: "test_result";
2505
2553
  summary: string;
2506
2554
  status: "error" | "failed" | "passed";
2507
- kind: "test_result";
2508
2555
  command: string;
2509
2556
  decisionId: string;
2510
2557
  testId: string;
2511
2558
  durationMs?: number | undefined;
2512
2559
  evidence?: {
2513
- id: string;
2560
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
2561
  label: string;
2515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2562
+ id: string;
2516
2563
  capture: "at_action" | "historical_lookup" | "fixture";
2517
2564
  locator?: string | undefined;
2518
2565
  }[] | undefined;
@@ -2533,15 +2580,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2533
2580
  locator: z.ZodOptional<z.ZodString>;
2534
2581
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2535
2582
  }, "strict", z.ZodTypeAny, {
2536
- id: string;
2583
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
2584
  label: string;
2538
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
+ id: string;
2539
2586
  capture: "at_action" | "historical_lookup" | "fixture";
2540
2587
  locator?: string | undefined;
2541
2588
  }, {
2542
- id: string;
2589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
2590
  label: string;
2544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2591
+ id: string;
2545
2592
  capture: "at_action" | "historical_lookup" | "fixture";
2546
2593
  locator?: string | undefined;
2547
2594
  }>, "many">>;
@@ -2550,9 +2597,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2550
2597
  statement: string;
2551
2598
  rationale: string;
2552
2599
  evidence: {
2553
- id: string;
2600
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2554
2601
  label: string;
2555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
+ id: string;
2556
2603
  capture: "at_action" | "historical_lookup" | "fixture";
2557
2604
  locator?: string | undefined;
2558
2605
  }[];
@@ -2571,9 +2618,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2571
2618
  supersedesDecisionIds: string[];
2572
2619
  proposedBy: string;
2573
2620
  evidence?: {
2574
- id: string;
2621
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2575
2622
  label: string;
2576
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2623
+ id: string;
2577
2624
  capture: "at_action" | "historical_lookup" | "fixture";
2578
2625
  locator?: string | undefined;
2579
2626
  }[] | undefined;
@@ -2585,13 +2632,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2585
2632
  id: z.ZodString;
2586
2633
  label: z.ZodString;
2587
2634
  }, "strict", z.ZodTypeAny, {
2588
- id: string;
2589
- label: string;
2590
2635
  kind: "agent" | "human";
2591
- }, {
2592
- id: string;
2593
2636
  label: string;
2637
+ id: string;
2638
+ }, {
2594
2639
  kind: "agent" | "human";
2640
+ label: string;
2641
+ id: string;
2595
2642
  }>;
2596
2643
  note: z.ZodOptional<z.ZodString>;
2597
2644
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2601,47 +2648,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2601
2648
  locator: z.ZodOptional<z.ZodString>;
2602
2649
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2603
2650
  }, "strict", z.ZodTypeAny, {
2604
- id: string;
2651
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2605
2652
  label: string;
2606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2653
+ id: string;
2607
2654
  capture: "at_action" | "historical_lookup" | "fixture";
2608
2655
  locator?: string | undefined;
2609
2656
  }, {
2610
- id: string;
2657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2658
  label: string;
2612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
+ id: string;
2613
2660
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2661
  locator?: string | undefined;
2615
2662
  }>, "many">>;
2616
2663
  }, "strict", z.ZodTypeAny, {
2617
2664
  kind: "correction_approved";
2618
2665
  evidence: {
2619
- id: string;
2666
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2620
2667
  label: string;
2621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
+ id: string;
2622
2669
  capture: "at_action" | "historical_lookup" | "fixture";
2623
2670
  locator?: string | undefined;
2624
2671
  }[];
2625
2672
  correctionId: string;
2626
2673
  approvedBy: {
2627
- id: string;
2628
- label: string;
2629
2674
  kind: "agent" | "human";
2675
+ label: string;
2676
+ id: string;
2630
2677
  };
2631
2678
  note?: string | undefined;
2632
2679
  }, {
2633
2680
  kind: "correction_approved";
2634
2681
  correctionId: string;
2635
2682
  approvedBy: {
2636
- id: string;
2637
- label: string;
2638
2683
  kind: "agent" | "human";
2684
+ label: string;
2685
+ id: string;
2639
2686
  };
2640
2687
  note?: string | undefined;
2641
2688
  evidence?: {
2642
- id: string;
2689
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2643
2690
  label: string;
2644
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2691
+ id: string;
2645
2692
  capture: "at_action" | "historical_lookup" | "fixture";
2646
2693
  locator?: string | undefined;
2647
2694
  }[] | undefined;
@@ -2657,24 +2704,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2657
2704
  locator: z.ZodOptional<z.ZodString>;
2658
2705
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2659
2706
  }, "strict", z.ZodTypeAny, {
2660
- id: string;
2707
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
2708
  label: string;
2662
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2709
+ id: string;
2663
2710
  capture: "at_action" | "historical_lookup" | "fixture";
2664
2711
  locator?: string | undefined;
2665
2712
  }, {
2666
- id: string;
2713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2667
2714
  label: string;
2668
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
+ id: string;
2669
2716
  capture: "at_action" | "historical_lookup" | "fixture";
2670
2717
  locator?: string | undefined;
2671
2718
  }>, "many">>;
2672
2719
  }, "strict", z.ZodTypeAny, {
2673
2720
  kind: "decision_superseded";
2674
2721
  evidence: {
2675
- id: string;
2722
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2676
2723
  label: string;
2677
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
+ id: string;
2678
2725
  capture: "at_action" | "historical_lookup" | "fixture";
2679
2726
  locator?: string | undefined;
2680
2727
  }[];
@@ -2687,9 +2734,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2687
2734
  correctionId: string;
2688
2735
  replacementDecisionId: string;
2689
2736
  evidence?: {
2690
- id: string;
2737
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2691
2738
  label: string;
2692
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2739
+ id: string;
2693
2740
  capture: "at_action" | "historical_lookup" | "fixture";
2694
2741
  locator?: string | undefined;
2695
2742
  }[] | undefined;
@@ -2705,15 +2752,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2705
2752
  locator: z.ZodOptional<z.ZodString>;
2706
2753
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2707
2754
  }, "strict", z.ZodTypeAny, {
2708
- id: string;
2755
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2709
2756
  label: string;
2710
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2757
+ id: string;
2711
2758
  capture: "at_action" | "historical_lookup" | "fixture";
2712
2759
  locator?: string | undefined;
2713
2760
  }, {
2714
- id: string;
2761
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
2762
  label: string;
2716
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
+ id: string;
2717
2764
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2765
  locator?: string | undefined;
2719
2766
  }>, "many">>;
@@ -2726,9 +2773,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2726
2773
  agentId: string;
2727
2774
  sessionId: string;
2728
2775
  evidence: {
2729
- id: string;
2776
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2730
2777
  label: string;
2731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
+ id: string;
2732
2779
  capture: "at_action" | "historical_lookup" | "fixture";
2733
2780
  locator?: string | undefined;
2734
2781
  }[];
@@ -2744,9 +2791,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2744
2791
  recallReceiptId: string;
2745
2792
  capturedAtAction: boolean;
2746
2793
  evidence?: {
2747
- id: string;
2794
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2795
  label: string;
2749
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2796
+ id: string;
2750
2797
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2798
  locator?: string | undefined;
2752
2799
  }[] | undefined;
@@ -2762,15 +2809,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2762
2809
  locator: z.ZodOptional<z.ZodString>;
2763
2810
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2764
2811
  }, "strict", z.ZodTypeAny, {
2765
- id: string;
2812
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
2813
  label: string;
2767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2814
+ id: string;
2768
2815
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2816
  locator?: string | undefined;
2770
2817
  }, {
2771
- id: string;
2818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
2819
  label: string;
2773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
+ id: string;
2774
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2775
2822
  locator?: string | undefined;
2776
2823
  }>, "many">>;
@@ -2782,9 +2829,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2782
2829
  agentId: string;
2783
2830
  sessionId: string;
2784
2831
  evidence: {
2785
- id: string;
2832
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2786
2833
  label: string;
2787
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
+ id: string;
2788
2835
  capture: "at_action" | "historical_lookup" | "fixture";
2789
2836
  locator?: string | undefined;
2790
2837
  }[];
@@ -2801,9 +2848,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2801
2848
  recallReceiptId: string;
2802
2849
  staleDecisionAbsent: boolean;
2803
2850
  evidence?: {
2804
- id: string;
2851
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
2852
  label: string;
2806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2853
+ id: string;
2807
2854
  capture: "at_action" | "historical_lookup" | "fixture";
2808
2855
  locator?: string | undefined;
2809
2856
  }[] | undefined;
@@ -2818,37 +2865,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2818
2865
  locator: z.ZodOptional<z.ZodString>;
2819
2866
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2820
2867
  }, "strict", z.ZodTypeAny, {
2821
- id: string;
2868
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2822
2869
  label: string;
2823
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2870
+ id: string;
2824
2871
  capture: "at_action" | "historical_lookup" | "fixture";
2825
2872
  locator?: string | undefined;
2826
2873
  }, {
2827
- id: string;
2874
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2828
2875
  label: string;
2829
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
+ id: string;
2830
2877
  capture: "at_action" | "historical_lookup" | "fixture";
2831
2878
  locator?: string | undefined;
2832
2879
  }>, "many">>;
2833
2880
  }, "strict", z.ZodTypeAny, {
2834
- summary: string;
2835
2881
  kind: "mission_completed";
2882
+ summary: string;
2836
2883
  outcome: "failed" | "recovered" | "inconclusive";
2837
2884
  evidence: {
2838
- id: string;
2885
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
2886
  label: string;
2840
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
+ id: string;
2841
2888
  capture: "at_action" | "historical_lookup" | "fixture";
2842
2889
  locator?: string | undefined;
2843
2890
  }[];
2844
2891
  }, {
2845
- summary: string;
2846
2892
  kind: "mission_completed";
2893
+ summary: string;
2847
2894
  outcome: "failed" | "recovered" | "inconclusive";
2848
2895
  evidence?: {
2849
- id: string;
2896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2850
2897
  label: string;
2851
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
+ id: string;
2852
2899
  capture: "at_action" | "historical_lookup" | "fixture";
2853
2900
  locator?: string | undefined;
2854
2901
  }[] | undefined;
@@ -2856,38 +2903,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2856
2903
  kind: "mission_started";
2857
2904
  title: string;
2858
2905
  evidence: {
2859
- id: string;
2906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2860
2907
  label: string;
2861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2908
+ id: string;
2862
2909
  capture: "at_action" | "historical_lookup" | "fixture";
2863
2910
  locator?: string | undefined;
2864
2911
  }[];
2865
2912
  objective: string;
2866
2913
  runMode: "replay" | "fixture" | "live";
2867
2914
  } | {
2868
- label: string;
2869
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2870
2915
  kind: "agent_status";
2916
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2917
+ label: string;
2871
2918
  role: string;
2872
2919
  agentId: string;
2873
2920
  sessionId: string;
2874
2921
  evidence: {
2875
- id: string;
2922
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2923
  label: string;
2877
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2924
+ id: string;
2878
2925
  capture: "at_action" | "historical_lookup" | "fixture";
2879
2926
  locator?: string | undefined;
2880
2927
  }[];
2881
2928
  detail?: string | undefined;
2882
2929
  } | {
2883
- summary: string;
2884
2930
  kind: "agent_output";
2931
+ summary: string;
2885
2932
  agentId: string;
2886
2933
  sessionId: string;
2887
2934
  evidence: {
2888
- id: string;
2935
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2889
2936
  label: string;
2890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
+ id: string;
2891
2938
  capture: "at_action" | "historical_lookup" | "fixture";
2892
2939
  locator?: string | undefined;
2893
2940
  }[];
@@ -2898,9 +2945,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2898
2945
  statement: string;
2899
2946
  sessionId: string;
2900
2947
  evidence: {
2901
- id: string;
2948
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2902
2949
  label: string;
2903
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
+ id: string;
2904
2951
  capture: "at_action" | "historical_lookup" | "fixture";
2905
2952
  locator?: string | undefined;
2906
2953
  }[];
@@ -2908,12 +2955,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2908
2955
  decisionId: string;
2909
2956
  confidence?: number | undefined;
2910
2957
  } | {
2911
- summary: string;
2912
2958
  kind: "conflict_detected";
2959
+ summary: string;
2913
2960
  evidence: {
2914
- id: string;
2961
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2915
2962
  label: string;
2916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
+ id: string;
2917
2964
  capture: "at_action" | "historical_lookup" | "fixture";
2918
2965
  locator?: string | undefined;
2919
2966
  }[];
@@ -2921,14 +2968,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2921
2968
  decisionIds: string[];
2922
2969
  agentIds: string[];
2923
2970
  } | {
2971
+ kind: "test_result";
2924
2972
  summary: string;
2925
2973
  status: "error" | "failed" | "passed";
2926
- kind: "test_result";
2927
2974
  command: string;
2928
2975
  evidence: {
2929
- id: string;
2976
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2930
2977
  label: string;
2931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2978
+ id: string;
2932
2979
  capture: "at_action" | "historical_lookup" | "fixture";
2933
2980
  locator?: string | undefined;
2934
2981
  }[];
@@ -2941,9 +2988,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2941
2988
  statement: string;
2942
2989
  rationale: string;
2943
2990
  evidence: {
2944
- id: string;
2991
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2945
2992
  label: string;
2946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2993
+ id: string;
2947
2994
  capture: "at_action" | "historical_lookup" | "fixture";
2948
2995
  locator?: string | undefined;
2949
2996
  }[];
@@ -2955,25 +3002,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
3002
  } | {
2956
3003
  kind: "correction_approved";
2957
3004
  evidence: {
2958
- id: string;
3005
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
3006
  label: string;
2960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3007
+ id: string;
2961
3008
  capture: "at_action" | "historical_lookup" | "fixture";
2962
3009
  locator?: string | undefined;
2963
3010
  }[];
2964
3011
  correctionId: string;
2965
3012
  approvedBy: {
2966
- id: string;
2967
- label: string;
2968
3013
  kind: "agent" | "human";
3014
+ label: string;
3015
+ id: string;
2969
3016
  };
2970
3017
  note?: string | undefined;
2971
3018
  } | {
2972
3019
  kind: "decision_superseded";
2973
3020
  evidence: {
2974
- id: string;
3021
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2975
3022
  label: string;
2976
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3023
+ id: string;
2977
3024
  capture: "at_action" | "historical_lookup" | "fixture";
2978
3025
  locator?: string | undefined;
2979
3026
  }[];
@@ -2986,9 +3033,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2986
3033
  agentId: string;
2987
3034
  sessionId: string;
2988
3035
  evidence: {
2989
- id: string;
3036
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2990
3037
  label: string;
2991
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3038
+ id: string;
2992
3039
  capture: "at_action" | "historical_lookup" | "fixture";
2993
3040
  locator?: string | undefined;
2994
3041
  }[];
@@ -3000,9 +3047,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3000
3047
  agentId: string;
3001
3048
  sessionId: string;
3002
3049
  evidence: {
3003
- id: string;
3050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
3051
  label: string;
3005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3052
+ id: string;
3006
3053
  capture: "at_action" | "historical_lookup" | "fixture";
3007
3054
  locator?: string | undefined;
3008
3055
  }[];
@@ -3011,13 +3058,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3011
3058
  recallReceiptId: string;
3012
3059
  staleDecisionAbsent: boolean;
3013
3060
  } | {
3014
- summary: string;
3015
3061
  kind: "mission_completed";
3062
+ summary: string;
3016
3063
  outcome: "failed" | "recovered" | "inconclusive";
3017
3064
  evidence: {
3018
- id: string;
3065
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3019
3066
  label: string;
3020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3067
+ id: string;
3021
3068
  capture: "at_action" | "historical_lookup" | "fixture";
3022
3069
  locator?: string | undefined;
3023
3070
  }[];
@@ -3027,37 +3074,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3027
3074
  objective: string;
3028
3075
  runMode: "replay" | "fixture" | "live";
3029
3076
  evidence?: {
3030
- id: string;
3077
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3031
3078
  label: string;
3032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3079
+ id: string;
3033
3080
  capture: "at_action" | "historical_lookup" | "fixture";
3034
3081
  locator?: string | undefined;
3035
3082
  }[] | undefined;
3036
3083
  } | {
3037
- label: string;
3038
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3039
3084
  kind: "agent_status";
3085
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3086
+ label: string;
3040
3087
  role: string;
3041
3088
  agentId: string;
3042
3089
  sessionId: string;
3043
3090
  detail?: string | undefined;
3044
3091
  evidence?: {
3045
- id: string;
3092
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3046
3093
  label: string;
3047
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3094
+ id: string;
3048
3095
  capture: "at_action" | "historical_lookup" | "fixture";
3049
3096
  locator?: string | undefined;
3050
3097
  }[] | undefined;
3051
3098
  } | {
3052
- summary: string;
3053
3099
  kind: "agent_output";
3100
+ summary: string;
3054
3101
  agentId: string;
3055
3102
  sessionId: string;
3056
3103
  outputId: string;
3057
3104
  evidence?: {
3058
- id: string;
3105
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
3106
  label: string;
3060
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3107
+ id: string;
3061
3108
  capture: "at_action" | "historical_lookup" | "fixture";
3062
3109
  locator?: string | undefined;
3063
3110
  }[] | undefined;
@@ -3070,37 +3117,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3070
3117
  decisionId: string;
3071
3118
  confidence?: number | undefined;
3072
3119
  evidence?: {
3073
- id: string;
3120
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3074
3121
  label: string;
3075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3122
+ id: string;
3076
3123
  capture: "at_action" | "historical_lookup" | "fixture";
3077
3124
  locator?: string | undefined;
3078
3125
  }[] | undefined;
3079
3126
  } | {
3080
- summary: string;
3081
3127
  kind: "conflict_detected";
3128
+ summary: string;
3082
3129
  conflictId: string;
3083
3130
  decisionIds: string[];
3084
3131
  agentIds: string[];
3085
3132
  evidence?: {
3086
- id: string;
3133
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
3134
  label: string;
3088
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3135
+ id: string;
3089
3136
  capture: "at_action" | "historical_lookup" | "fixture";
3090
3137
  locator?: string | undefined;
3091
3138
  }[] | undefined;
3092
3139
  } | {
3140
+ kind: "test_result";
3093
3141
  summary: string;
3094
3142
  status: "error" | "failed" | "passed";
3095
- kind: "test_result";
3096
3143
  command: string;
3097
3144
  decisionId: string;
3098
3145
  testId: string;
3099
3146
  durationMs?: number | undefined;
3100
3147
  evidence?: {
3101
- id: string;
3148
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
3149
  label: string;
3103
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3150
+ id: string;
3104
3151
  capture: "at_action" | "historical_lookup" | "fixture";
3105
3152
  locator?: string | undefined;
3106
3153
  }[] | undefined;
@@ -3115,9 +3162,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3115
3162
  supersedesDecisionIds: string[];
3116
3163
  proposedBy: string;
3117
3164
  evidence?: {
3118
- id: string;
3165
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3119
3166
  label: string;
3120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
+ id: string;
3121
3168
  capture: "at_action" | "historical_lookup" | "fixture";
3122
3169
  locator?: string | undefined;
3123
3170
  }[] | undefined;
@@ -3125,15 +3172,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3125
3172
  kind: "correction_approved";
3126
3173
  correctionId: string;
3127
3174
  approvedBy: {
3128
- id: string;
3129
- label: string;
3130
3175
  kind: "agent" | "human";
3176
+ label: string;
3177
+ id: string;
3131
3178
  };
3132
3179
  note?: string | undefined;
3133
3180
  evidence?: {
3134
- id: string;
3181
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3135
3182
  label: string;
3136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3183
+ id: string;
3137
3184
  capture: "at_action" | "historical_lookup" | "fixture";
3138
3185
  locator?: string | undefined;
3139
3186
  }[] | undefined;
@@ -3143,9 +3190,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3143
3190
  correctionId: string;
3144
3191
  replacementDecisionId: string;
3145
3192
  evidence?: {
3146
- id: string;
3193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
3194
  label: string;
3148
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3195
+ id: string;
3149
3196
  capture: "at_action" | "historical_lookup" | "fixture";
3150
3197
  locator?: string | undefined;
3151
3198
  }[] | undefined;
@@ -3158,9 +3205,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3158
3205
  recallReceiptId: string;
3159
3206
  capturedAtAction: boolean;
3160
3207
  evidence?: {
3161
- id: string;
3208
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
3209
  label: string;
3163
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3210
+ id: string;
3164
3211
  capture: "at_action" | "historical_lookup" | "fixture";
3165
3212
  locator?: string | undefined;
3166
3213
  }[] | undefined;
@@ -3173,20 +3220,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3173
3220
  recallReceiptId: string;
3174
3221
  staleDecisionAbsent: boolean;
3175
3222
  evidence?: {
3176
- id: string;
3223
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3224
  label: string;
3178
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3225
+ id: string;
3179
3226
  capture: "at_action" | "historical_lookup" | "fixture";
3180
3227
  locator?: string | undefined;
3181
3228
  }[] | undefined;
3182
3229
  } | {
3183
- summary: string;
3184
3230
  kind: "mission_completed";
3231
+ summary: string;
3185
3232
  outcome: "failed" | "recovered" | "inconclusive";
3186
3233
  evidence?: {
3187
- id: string;
3234
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3235
  label: string;
3189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
+ id: string;
3190
3237
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3238
  locator?: string | undefined;
3192
3239
  }[] | undefined;
@@ -3196,38 +3243,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3196
3243
  kind: "mission_started";
3197
3244
  title: string;
3198
3245
  evidence: {
3199
- id: string;
3246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3247
  label: string;
3201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3248
+ id: string;
3202
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3203
3250
  locator?: string | undefined;
3204
3251
  }[];
3205
3252
  objective: string;
3206
3253
  runMode: "replay" | "fixture" | "live";
3207
3254
  } | {
3208
- label: string;
3209
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3210
3255
  kind: "agent_status";
3256
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3257
+ label: string;
3211
3258
  role: string;
3212
3259
  agentId: string;
3213
3260
  sessionId: string;
3214
3261
  evidence: {
3215
- id: string;
3262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
3263
  label: string;
3217
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3264
+ id: string;
3218
3265
  capture: "at_action" | "historical_lookup" | "fixture";
3219
3266
  locator?: string | undefined;
3220
3267
  }[];
3221
3268
  detail?: string | undefined;
3222
3269
  } | {
3223
- summary: string;
3224
3270
  kind: "agent_output";
3271
+ summary: string;
3225
3272
  agentId: string;
3226
3273
  sessionId: string;
3227
3274
  evidence: {
3228
- id: string;
3275
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3229
3276
  label: string;
3230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
+ id: string;
3231
3278
  capture: "at_action" | "historical_lookup" | "fixture";
3232
3279
  locator?: string | undefined;
3233
3280
  }[];
@@ -3238,9 +3285,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3238
3285
  statement: string;
3239
3286
  sessionId: string;
3240
3287
  evidence: {
3241
- id: string;
3288
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3242
3289
  label: string;
3243
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
+ id: string;
3244
3291
  capture: "at_action" | "historical_lookup" | "fixture";
3245
3292
  locator?: string | undefined;
3246
3293
  }[];
@@ -3248,12 +3295,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3248
3295
  decisionId: string;
3249
3296
  confidence?: number | undefined;
3250
3297
  } | {
3251
- summary: string;
3252
3298
  kind: "conflict_detected";
3299
+ summary: string;
3253
3300
  evidence: {
3254
- id: string;
3301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3255
3302
  label: string;
3256
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
+ id: string;
3257
3304
  capture: "at_action" | "historical_lookup" | "fixture";
3258
3305
  locator?: string | undefined;
3259
3306
  }[];
@@ -3261,14 +3308,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3261
3308
  decisionIds: string[];
3262
3309
  agentIds: string[];
3263
3310
  } | {
3311
+ kind: "test_result";
3264
3312
  summary: string;
3265
3313
  status: "error" | "failed" | "passed";
3266
- kind: "test_result";
3267
3314
  command: string;
3268
3315
  evidence: {
3269
- id: string;
3316
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3270
3317
  label: string;
3271
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3318
+ id: string;
3272
3319
  capture: "at_action" | "historical_lookup" | "fixture";
3273
3320
  locator?: string | undefined;
3274
3321
  }[];
@@ -3281,9 +3328,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3281
3328
  statement: string;
3282
3329
  rationale: string;
3283
3330
  evidence: {
3284
- id: string;
3331
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3285
3332
  label: string;
3286
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
+ id: string;
3287
3334
  capture: "at_action" | "historical_lookup" | "fixture";
3288
3335
  locator?: string | undefined;
3289
3336
  }[];
@@ -3295,25 +3342,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3295
3342
  } | {
3296
3343
  kind: "correction_approved";
3297
3344
  evidence: {
3298
- id: string;
3345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3299
3346
  label: string;
3300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3347
+ id: string;
3301
3348
  capture: "at_action" | "historical_lookup" | "fixture";
3302
3349
  locator?: string | undefined;
3303
3350
  }[];
3304
3351
  correctionId: string;
3305
3352
  approvedBy: {
3306
- id: string;
3307
- label: string;
3308
3353
  kind: "agent" | "human";
3354
+ label: string;
3355
+ id: string;
3309
3356
  };
3310
3357
  note?: string | undefined;
3311
3358
  } | {
3312
3359
  kind: "decision_superseded";
3313
3360
  evidence: {
3314
- id: string;
3361
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3315
3362
  label: string;
3316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3363
+ id: string;
3317
3364
  capture: "at_action" | "historical_lookup" | "fixture";
3318
3365
  locator?: string | undefined;
3319
3366
  }[];
@@ -3326,9 +3373,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3326
3373
  agentId: string;
3327
3374
  sessionId: string;
3328
3375
  evidence: {
3329
- id: string;
3376
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3330
3377
  label: string;
3331
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3378
+ id: string;
3332
3379
  capture: "at_action" | "historical_lookup" | "fixture";
3333
3380
  locator?: string | undefined;
3334
3381
  }[];
@@ -3340,9 +3387,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3340
3387
  agentId: string;
3341
3388
  sessionId: string;
3342
3389
  evidence: {
3343
- id: string;
3390
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3391
  label: string;
3345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
+ id: string;
3346
3393
  capture: "at_action" | "historical_lookup" | "fixture";
3347
3394
  locator?: string | undefined;
3348
3395
  }[];
@@ -3351,13 +3398,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3351
3398
  recallReceiptId: string;
3352
3399
  staleDecisionAbsent: boolean;
3353
3400
  } | {
3354
- summary: string;
3355
3401
  kind: "mission_completed";
3402
+ summary: string;
3356
3403
  outcome: "failed" | "recovered" | "inconclusive";
3357
3404
  evidence: {
3358
- id: string;
3405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3359
3406
  label: string;
3360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
+ id: string;
3361
3408
  capture: "at_action" | "historical_lookup" | "fixture";
3362
3409
  locator?: string | undefined;
3363
3410
  }[];
@@ -3371,37 +3418,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3371
3418
  objective: string;
3372
3419
  runMode: "replay" | "fixture" | "live";
3373
3420
  evidence?: {
3374
- id: string;
3421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3375
3422
  label: string;
3376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
+ id: string;
3377
3424
  capture: "at_action" | "historical_lookup" | "fixture";
3378
3425
  locator?: string | undefined;
3379
3426
  }[] | undefined;
3380
3427
  } | {
3381
- label: string;
3382
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3383
3428
  kind: "agent_status";
3429
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3430
+ label: string;
3384
3431
  role: string;
3385
3432
  agentId: string;
3386
3433
  sessionId: string;
3387
3434
  detail?: string | undefined;
3388
3435
  evidence?: {
3389
- id: string;
3436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
3437
  label: string;
3391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3438
+ id: string;
3392
3439
  capture: "at_action" | "historical_lookup" | "fixture";
3393
3440
  locator?: string | undefined;
3394
3441
  }[] | undefined;
3395
3442
  } | {
3396
- summary: string;
3397
3443
  kind: "agent_output";
3444
+ summary: string;
3398
3445
  agentId: string;
3399
3446
  sessionId: string;
3400
3447
  outputId: string;
3401
3448
  evidence?: {
3402
- id: string;
3449
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3403
3450
  label: string;
3404
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3451
+ id: string;
3405
3452
  capture: "at_action" | "historical_lookup" | "fixture";
3406
3453
  locator?: string | undefined;
3407
3454
  }[] | undefined;
@@ -3414,37 +3461,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3414
3461
  decisionId: string;
3415
3462
  confidence?: number | undefined;
3416
3463
  evidence?: {
3417
- id: string;
3464
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3465
  label: string;
3419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3466
+ id: string;
3420
3467
  capture: "at_action" | "historical_lookup" | "fixture";
3421
3468
  locator?: string | undefined;
3422
3469
  }[] | undefined;
3423
3470
  } | {
3424
- summary: string;
3425
3471
  kind: "conflict_detected";
3472
+ summary: string;
3426
3473
  conflictId: string;
3427
3474
  decisionIds: string[];
3428
3475
  agentIds: string[];
3429
3476
  evidence?: {
3430
- id: string;
3477
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3431
3478
  label: string;
3432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
+ id: string;
3433
3480
  capture: "at_action" | "historical_lookup" | "fixture";
3434
3481
  locator?: string | undefined;
3435
3482
  }[] | undefined;
3436
3483
  } | {
3484
+ kind: "test_result";
3437
3485
  summary: string;
3438
3486
  status: "error" | "failed" | "passed";
3439
- kind: "test_result";
3440
3487
  command: string;
3441
3488
  decisionId: string;
3442
3489
  testId: string;
3443
3490
  durationMs?: number | undefined;
3444
3491
  evidence?: {
3445
- id: string;
3492
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3446
3493
  label: string;
3447
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
+ id: string;
3448
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3449
3496
  locator?: string | undefined;
3450
3497
  }[] | undefined;
@@ -3459,9 +3506,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3459
3506
  supersedesDecisionIds: string[];
3460
3507
  proposedBy: string;
3461
3508
  evidence?: {
3462
- id: string;
3509
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3463
3510
  label: string;
3464
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3511
+ id: string;
3465
3512
  capture: "at_action" | "historical_lookup" | "fixture";
3466
3513
  locator?: string | undefined;
3467
3514
  }[] | undefined;
@@ -3469,15 +3516,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3469
3516
  kind: "correction_approved";
3470
3517
  correctionId: string;
3471
3518
  approvedBy: {
3472
- id: string;
3473
- label: string;
3474
3519
  kind: "agent" | "human";
3520
+ label: string;
3521
+ id: string;
3475
3522
  };
3476
3523
  note?: string | undefined;
3477
3524
  evidence?: {
3478
- id: string;
3525
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
3526
  label: string;
3480
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3527
+ id: string;
3481
3528
  capture: "at_action" | "historical_lookup" | "fixture";
3482
3529
  locator?: string | undefined;
3483
3530
  }[] | undefined;
@@ -3487,9 +3534,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3487
3534
  correctionId: string;
3488
3535
  replacementDecisionId: string;
3489
3536
  evidence?: {
3490
- id: string;
3537
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
3538
  label: string;
3492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3539
+ id: string;
3493
3540
  capture: "at_action" | "historical_lookup" | "fixture";
3494
3541
  locator?: string | undefined;
3495
3542
  }[] | undefined;
@@ -3502,9 +3549,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3502
3549
  recallReceiptId: string;
3503
3550
  capturedAtAction: boolean;
3504
3551
  evidence?: {
3505
- id: string;
3552
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3506
3553
  label: string;
3507
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
+ id: string;
3508
3555
  capture: "at_action" | "historical_lookup" | "fixture";
3509
3556
  locator?: string | undefined;
3510
3557
  }[] | undefined;
@@ -3517,20 +3564,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3517
3564
  recallReceiptId: string;
3518
3565
  staleDecisionAbsent: boolean;
3519
3566
  evidence?: {
3520
- id: string;
3567
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3521
3568
  label: string;
3522
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3569
+ id: string;
3523
3570
  capture: "at_action" | "historical_lookup" | "fixture";
3524
3571
  locator?: string | undefined;
3525
3572
  }[] | undefined;
3526
3573
  } | {
3527
- summary: string;
3528
3574
  kind: "mission_completed";
3575
+ summary: string;
3529
3576
  outcome: "failed" | "recovered" | "inconclusive";
3530
3577
  evidence?: {
3531
- id: string;
3578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
3579
  label: string;
3533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
+ id: string;
3534
3581
  capture: "at_action" | "historical_lookup" | "fixture";
3535
3582
  locator?: string | undefined;
3536
3583
  }[] | undefined;
@@ -3560,15 +3607,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3560
3607
  locator: z.ZodOptional<z.ZodString>;
3561
3608
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3562
3609
  }, "strict", z.ZodTypeAny, {
3563
- id: string;
3610
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
3611
  label: string;
3565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
+ id: string;
3566
3613
  capture: "at_action" | "historical_lookup" | "fixture";
3567
3614
  locator?: string | undefined;
3568
3615
  }, {
3569
- id: string;
3616
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3570
3617
  label: string;
3571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3618
+ id: string;
3572
3619
  capture: "at_action" | "historical_lookup" | "fixture";
3573
3620
  locator?: string | undefined;
3574
3621
  }>, "many">>;
@@ -3576,9 +3623,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3576
3623
  kind: "mission_started";
3577
3624
  title: string;
3578
3625
  evidence: {
3579
- id: string;
3626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
3627
  label: string;
3581
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3628
+ id: string;
3582
3629
  capture: "at_action" | "historical_lookup" | "fixture";
3583
3630
  locator?: string | undefined;
3584
3631
  }[];
@@ -3590,9 +3637,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3590
3637
  objective: string;
3591
3638
  runMode: "replay" | "fixture" | "live";
3592
3639
  evidence?: {
3593
- id: string;
3640
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3594
3641
  label: string;
3595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3642
+ id: string;
3596
3643
  capture: "at_action" | "historical_lookup" | "fixture";
3597
3644
  locator?: string | undefined;
3598
3645
  }[] | undefined;
@@ -3608,15 +3655,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3608
3655
  locator: z.ZodOptional<z.ZodString>;
3609
3656
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3610
3657
  }, "strict", z.ZodTypeAny, {
3611
- id: string;
3658
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
3659
  label: string;
3613
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3660
+ id: string;
3614
3661
  capture: "at_action" | "historical_lookup" | "fixture";
3615
3662
  locator?: string | undefined;
3616
3663
  }, {
3617
- id: string;
3664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3618
3665
  label: string;
3619
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
+ id: string;
3620
3667
  capture: "at_action" | "historical_lookup" | "fixture";
3621
3668
  locator?: string | undefined;
3622
3669
  }>, "many">>;
@@ -3624,32 +3671,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3624
3671
  sessionId: z.ZodString;
3625
3672
  kind: z.ZodLiteral<"agent_status">;
3626
3673
  }, "strict", z.ZodTypeAny, {
3627
- label: string;
3628
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3629
3674
  kind: "agent_status";
3675
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3676
+ label: string;
3630
3677
  role: string;
3631
3678
  agentId: string;
3632
3679
  sessionId: string;
3633
3680
  evidence: {
3634
- id: string;
3681
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3635
3682
  label: string;
3636
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3683
+ id: string;
3637
3684
  capture: "at_action" | "historical_lookup" | "fixture";
3638
3685
  locator?: string | undefined;
3639
3686
  }[];
3640
3687
  detail?: string | undefined;
3641
3688
  }, {
3642
- label: string;
3643
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3644
3689
  kind: "agent_status";
3690
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3691
+ label: string;
3645
3692
  role: string;
3646
3693
  agentId: string;
3647
3694
  sessionId: string;
3648
3695
  detail?: string | undefined;
3649
3696
  evidence?: {
3650
- id: string;
3697
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3698
  label: string;
3652
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3699
+ id: string;
3653
3700
  capture: "at_action" | "historical_lookup" | "fixture";
3654
3701
  locator?: string | undefined;
3655
3702
  }[] | undefined;
@@ -3663,15 +3710,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3663
3710
  locator: z.ZodOptional<z.ZodString>;
3664
3711
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3665
3712
  }, "strict", z.ZodTypeAny, {
3666
- id: string;
3713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
3714
  label: string;
3668
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3715
+ id: string;
3669
3716
  capture: "at_action" | "historical_lookup" | "fixture";
3670
3717
  locator?: string | undefined;
3671
3718
  }, {
3672
- id: string;
3719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
3720
  label: string;
3674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3721
+ id: string;
3675
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3676
3723
  locator?: string | undefined;
3677
3724
  }>, "many">>;
@@ -3679,28 +3726,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3679
3726
  sessionId: z.ZodString;
3680
3727
  kind: z.ZodLiteral<"agent_output">;
3681
3728
  }, "strict", z.ZodTypeAny, {
3682
- summary: string;
3683
3729
  kind: "agent_output";
3730
+ summary: string;
3684
3731
  agentId: string;
3685
3732
  sessionId: string;
3686
3733
  evidence: {
3687
- id: string;
3734
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
3735
  label: string;
3689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
+ id: string;
3690
3737
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3738
  locator?: string | undefined;
3692
3739
  }[];
3693
3740
  outputId: string;
3694
3741
  }, {
3695
- summary: string;
3696
3742
  kind: "agent_output";
3743
+ summary: string;
3697
3744
  agentId: string;
3698
3745
  sessionId: string;
3699
3746
  outputId: string;
3700
3747
  evidence?: {
3701
- id: string;
3748
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3702
3749
  label: string;
3703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
+ id: string;
3704
3751
  capture: "at_action" | "historical_lookup" | "fixture";
3705
3752
  locator?: string | undefined;
3706
3753
  }[] | undefined;
@@ -3716,15 +3763,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3763
  locator: z.ZodOptional<z.ZodString>;
3717
3764
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3718
3765
  }, "strict", z.ZodTypeAny, {
3719
- id: string;
3766
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3767
  label: string;
3721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
+ id: string;
3722
3769
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3770
  locator?: string | undefined;
3724
3771
  }, {
3725
- id: string;
3772
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3773
  label: string;
3727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3774
+ id: string;
3728
3775
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3776
  locator?: string | undefined;
3730
3777
  }>, "many">>;
@@ -3737,9 +3784,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3737
3784
  statement: string;
3738
3785
  sessionId: string;
3739
3786
  evidence: {
3740
- id: string;
3787
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
3788
  label: string;
3742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3789
+ id: string;
3743
3790
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3791
  locator?: string | undefined;
3745
3792
  }[];
@@ -3755,9 +3802,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3755
3802
  decisionId: string;
3756
3803
  confidence?: number | undefined;
3757
3804
  evidence?: {
3758
- id: string;
3805
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
3806
  label: string;
3760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3807
+ id: string;
3761
3808
  capture: "at_action" | "historical_lookup" | "fixture";
3762
3809
  locator?: string | undefined;
3763
3810
  }[] | undefined;
@@ -3774,25 +3821,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3774
3821
  locator: z.ZodOptional<z.ZodString>;
3775
3822
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3776
3823
  }, "strict", z.ZodTypeAny, {
3777
- id: string;
3824
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3778
3825
  label: string;
3779
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3826
+ id: string;
3780
3827
  capture: "at_action" | "historical_lookup" | "fixture";
3781
3828
  locator?: string | undefined;
3782
3829
  }, {
3783
- id: string;
3830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3784
3831
  label: string;
3785
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3832
+ id: string;
3786
3833
  capture: "at_action" | "historical_lookup" | "fixture";
3787
3834
  locator?: string | undefined;
3788
3835
  }>, "many">>;
3789
3836
  }, "strict", z.ZodTypeAny, {
3790
- summary: string;
3791
3837
  kind: "conflict_detected";
3838
+ summary: string;
3792
3839
  evidence: {
3793
- id: string;
3840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
3841
  label: string;
3795
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
+ id: string;
3796
3843
  capture: "at_action" | "historical_lookup" | "fixture";
3797
3844
  locator?: string | undefined;
3798
3845
  }[];
@@ -3800,15 +3847,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3800
3847
  decisionIds: string[];
3801
3848
  agentIds: string[];
3802
3849
  }, {
3803
- summary: string;
3804
3850
  kind: "conflict_detected";
3851
+ summary: string;
3805
3852
  conflictId: string;
3806
3853
  decisionIds: string[];
3807
3854
  agentIds: string[];
3808
3855
  evidence?: {
3809
- id: string;
3856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3810
3857
  label: string;
3811
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
+ id: string;
3812
3859
  capture: "at_action" | "historical_lookup" | "fixture";
3813
3860
  locator?: string | undefined;
3814
3861
  }[] | undefined;
@@ -3828,27 +3875,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3828
3875
  locator: z.ZodOptional<z.ZodString>;
3829
3876
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3830
3877
  }, "strict", z.ZodTypeAny, {
3831
- id: string;
3878
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3832
3879
  label: string;
3833
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3880
+ id: string;
3834
3881
  capture: "at_action" | "historical_lookup" | "fixture";
3835
3882
  locator?: string | undefined;
3836
3883
  }, {
3837
- id: string;
3884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
3885
  label: string;
3839
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
+ id: string;
3840
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3841
3888
  locator?: string | undefined;
3842
3889
  }>, "many">>;
3843
3890
  }, "strict", z.ZodTypeAny, {
3891
+ kind: "test_result";
3844
3892
  summary: string;
3845
3893
  status: "error" | "failed" | "passed";
3846
- kind: "test_result";
3847
3894
  command: string;
3848
3895
  evidence: {
3849
- id: string;
3896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3850
3897
  label: string;
3851
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
+ id: string;
3852
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3853
3900
  locator?: string | undefined;
3854
3901
  }[];
@@ -3857,17 +3904,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3857
3904
  durationMs?: number | undefined;
3858
3905
  correctionId?: string | undefined;
3859
3906
  }, {
3907
+ kind: "test_result";
3860
3908
  summary: string;
3861
3909
  status: "error" | "failed" | "passed";
3862
- kind: "test_result";
3863
3910
  command: string;
3864
3911
  decisionId: string;
3865
3912
  testId: string;
3866
3913
  durationMs?: number | undefined;
3867
3914
  evidence?: {
3868
- id: string;
3915
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
3916
  label: string;
3870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3917
+ id: string;
3871
3918
  capture: "at_action" | "historical_lookup" | "fixture";
3872
3919
  locator?: string | undefined;
3873
3920
  }[] | undefined;
@@ -3888,15 +3935,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3888
3935
  locator: z.ZodOptional<z.ZodString>;
3889
3936
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3890
3937
  }, "strict", z.ZodTypeAny, {
3891
- id: string;
3938
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
3939
  label: string;
3893
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
+ id: string;
3894
3941
  capture: "at_action" | "historical_lookup" | "fixture";
3895
3942
  locator?: string | undefined;
3896
3943
  }, {
3897
- id: string;
3944
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
3945
  label: string;
3899
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3946
+ id: string;
3900
3947
  capture: "at_action" | "historical_lookup" | "fixture";
3901
3948
  locator?: string | undefined;
3902
3949
  }>, "many">>;
@@ -3905,9 +3952,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3905
3952
  statement: string;
3906
3953
  rationale: string;
3907
3954
  evidence: {
3908
- id: string;
3955
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3909
3956
  label: string;
3910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
+ id: string;
3911
3958
  capture: "at_action" | "historical_lookup" | "fixture";
3912
3959
  locator?: string | undefined;
3913
3960
  }[];
@@ -3926,9 +3973,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3926
3973
  supersedesDecisionIds: string[];
3927
3974
  proposedBy: string;
3928
3975
  evidence?: {
3929
- id: string;
3976
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3930
3977
  label: string;
3931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3978
+ id: string;
3932
3979
  capture: "at_action" | "historical_lookup" | "fixture";
3933
3980
  locator?: string | undefined;
3934
3981
  }[] | undefined;
@@ -3940,13 +3987,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3940
3987
  id: z.ZodString;
3941
3988
  label: z.ZodString;
3942
3989
  }, "strict", z.ZodTypeAny, {
3943
- id: string;
3944
- label: string;
3945
3990
  kind: "agent" | "human";
3946
- }, {
3947
- id: string;
3948
3991
  label: string;
3992
+ id: string;
3993
+ }, {
3949
3994
  kind: "agent" | "human";
3995
+ label: string;
3996
+ id: string;
3950
3997
  }>;
3951
3998
  note: z.ZodOptional<z.ZodString>;
3952
3999
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3956,47 +4003,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3956
4003
  locator: z.ZodOptional<z.ZodString>;
3957
4004
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3958
4005
  }, "strict", z.ZodTypeAny, {
3959
- id: string;
4006
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3960
4007
  label: string;
3961
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4008
+ id: string;
3962
4009
  capture: "at_action" | "historical_lookup" | "fixture";
3963
4010
  locator?: string | undefined;
3964
4011
  }, {
3965
- id: string;
4012
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
4013
  label: string;
3967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
+ id: string;
3968
4015
  capture: "at_action" | "historical_lookup" | "fixture";
3969
4016
  locator?: string | undefined;
3970
4017
  }>, "many">>;
3971
4018
  }, "strict", z.ZodTypeAny, {
3972
4019
  kind: "correction_approved";
3973
4020
  evidence: {
3974
- id: string;
4021
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3975
4022
  label: string;
3976
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
+ id: string;
3977
4024
  capture: "at_action" | "historical_lookup" | "fixture";
3978
4025
  locator?: string | undefined;
3979
4026
  }[];
3980
4027
  correctionId: string;
3981
4028
  approvedBy: {
3982
- id: string;
3983
- label: string;
3984
4029
  kind: "agent" | "human";
4030
+ label: string;
4031
+ id: string;
3985
4032
  };
3986
4033
  note?: string | undefined;
3987
4034
  }, {
3988
4035
  kind: "correction_approved";
3989
4036
  correctionId: string;
3990
4037
  approvedBy: {
3991
- id: string;
3992
- label: string;
3993
4038
  kind: "agent" | "human";
4039
+ label: string;
4040
+ id: string;
3994
4041
  };
3995
4042
  note?: string | undefined;
3996
4043
  evidence?: {
3997
- id: string;
4044
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3998
4045
  label: string;
3999
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4046
+ id: string;
4000
4047
  capture: "at_action" | "historical_lookup" | "fixture";
4001
4048
  locator?: string | undefined;
4002
4049
  }[] | undefined;
@@ -4012,24 +4059,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4012
4059
  locator: z.ZodOptional<z.ZodString>;
4013
4060
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4014
4061
  }, "strict", z.ZodTypeAny, {
4015
- id: string;
4062
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
4063
  label: string;
4017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4064
+ id: string;
4018
4065
  capture: "at_action" | "historical_lookup" | "fixture";
4019
4066
  locator?: string | undefined;
4020
4067
  }, {
4021
- id: string;
4068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4022
4069
  label: string;
4023
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
+ id: string;
4024
4071
  capture: "at_action" | "historical_lookup" | "fixture";
4025
4072
  locator?: string | undefined;
4026
4073
  }>, "many">>;
4027
4074
  }, "strict", z.ZodTypeAny, {
4028
4075
  kind: "decision_superseded";
4029
4076
  evidence: {
4030
- id: string;
4077
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4031
4078
  label: string;
4032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
+ id: string;
4033
4080
  capture: "at_action" | "historical_lookup" | "fixture";
4034
4081
  locator?: string | undefined;
4035
4082
  }[];
@@ -4042,9 +4089,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4042
4089
  correctionId: string;
4043
4090
  replacementDecisionId: string;
4044
4091
  evidence?: {
4045
- id: string;
4092
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4046
4093
  label: string;
4047
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4094
+ id: string;
4048
4095
  capture: "at_action" | "historical_lookup" | "fixture";
4049
4096
  locator?: string | undefined;
4050
4097
  }[] | undefined;
@@ -4060,15 +4107,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4060
4107
  locator: z.ZodOptional<z.ZodString>;
4061
4108
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4062
4109
  }, "strict", z.ZodTypeAny, {
4063
- id: string;
4110
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4064
4111
  label: string;
4065
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4112
+ id: string;
4066
4113
  capture: "at_action" | "historical_lookup" | "fixture";
4067
4114
  locator?: string | undefined;
4068
4115
  }, {
4069
- id: string;
4116
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
4117
  label: string;
4071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
+ id: string;
4072
4119
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4120
  locator?: string | undefined;
4074
4121
  }>, "many">>;
@@ -4081,9 +4128,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4081
4128
  agentId: string;
4082
4129
  sessionId: string;
4083
4130
  evidence: {
4084
- id: string;
4131
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4085
4132
  label: string;
4086
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
+ id: string;
4087
4134
  capture: "at_action" | "historical_lookup" | "fixture";
4088
4135
  locator?: string | undefined;
4089
4136
  }[];
@@ -4099,9 +4146,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4099
4146
  recallReceiptId: string;
4100
4147
  capturedAtAction: boolean;
4101
4148
  evidence?: {
4102
- id: string;
4149
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4150
  label: string;
4104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4151
+ id: string;
4105
4152
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4153
  locator?: string | undefined;
4107
4154
  }[] | undefined;
@@ -4117,15 +4164,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4117
4164
  locator: z.ZodOptional<z.ZodString>;
4118
4165
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4119
4166
  }, "strict", z.ZodTypeAny, {
4120
- id: string;
4167
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
4168
  label: string;
4122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4169
+ id: string;
4123
4170
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4171
  locator?: string | undefined;
4125
4172
  }, {
4126
- id: string;
4173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
4174
  label: string;
4128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
+ id: string;
4129
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4130
4177
  locator?: string | undefined;
4131
4178
  }>, "many">>;
@@ -4137,9 +4184,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4137
4184
  agentId: string;
4138
4185
  sessionId: string;
4139
4186
  evidence: {
4140
- id: string;
4187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4141
4188
  label: string;
4142
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
+ id: string;
4143
4190
  capture: "at_action" | "historical_lookup" | "fixture";
4144
4191
  locator?: string | undefined;
4145
4192
  }[];
@@ -4156,9 +4203,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4156
4203
  recallReceiptId: string;
4157
4204
  staleDecisionAbsent: boolean;
4158
4205
  evidence?: {
4159
- id: string;
4206
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
4207
  label: string;
4161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4208
+ id: string;
4162
4209
  capture: "at_action" | "historical_lookup" | "fixture";
4163
4210
  locator?: string | undefined;
4164
4211
  }[] | undefined;
@@ -4173,37 +4220,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4173
4220
  locator: z.ZodOptional<z.ZodString>;
4174
4221
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4175
4222
  }, "strict", z.ZodTypeAny, {
4176
- id: string;
4223
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4177
4224
  label: string;
4178
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4225
+ id: string;
4179
4226
  capture: "at_action" | "historical_lookup" | "fixture";
4180
4227
  locator?: string | undefined;
4181
4228
  }, {
4182
- id: string;
4229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4183
4230
  label: string;
4184
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
+ id: string;
4185
4232
  capture: "at_action" | "historical_lookup" | "fixture";
4186
4233
  locator?: string | undefined;
4187
4234
  }>, "many">>;
4188
4235
  }, "strict", z.ZodTypeAny, {
4189
- summary: string;
4190
4236
  kind: "mission_completed";
4237
+ summary: string;
4191
4238
  outcome: "failed" | "recovered" | "inconclusive";
4192
4239
  evidence: {
4193
- id: string;
4240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
4241
  label: string;
4195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
+ id: string;
4196
4243
  capture: "at_action" | "historical_lookup" | "fixture";
4197
4244
  locator?: string | undefined;
4198
4245
  }[];
4199
4246
  }, {
4200
- summary: string;
4201
4247
  kind: "mission_completed";
4248
+ summary: string;
4202
4249
  outcome: "failed" | "recovered" | "inconclusive";
4203
4250
  evidence?: {
4204
- id: string;
4251
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4205
4252
  label: string;
4206
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
+ id: string;
4207
4254
  capture: "at_action" | "historical_lookup" | "fixture";
4208
4255
  locator?: string | undefined;
4209
4256
  }[] | undefined;
@@ -4211,38 +4258,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4211
4258
  kind: "mission_started";
4212
4259
  title: string;
4213
4260
  evidence: {
4214
- id: string;
4261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4215
4262
  label: string;
4216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4263
+ id: string;
4217
4264
  capture: "at_action" | "historical_lookup" | "fixture";
4218
4265
  locator?: string | undefined;
4219
4266
  }[];
4220
4267
  objective: string;
4221
4268
  runMode: "replay" | "fixture" | "live";
4222
4269
  } | {
4223
- label: string;
4224
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4225
4270
  kind: "agent_status";
4271
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4272
+ label: string;
4226
4273
  role: string;
4227
4274
  agentId: string;
4228
4275
  sessionId: string;
4229
4276
  evidence: {
4230
- id: string;
4277
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
4278
  label: string;
4232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
+ id: string;
4233
4280
  capture: "at_action" | "historical_lookup" | "fixture";
4234
4281
  locator?: string | undefined;
4235
4282
  }[];
4236
4283
  detail?: string | undefined;
4237
4284
  } | {
4238
- summary: string;
4239
4285
  kind: "agent_output";
4286
+ summary: string;
4240
4287
  agentId: string;
4241
4288
  sessionId: string;
4242
4289
  evidence: {
4243
- id: string;
4290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4244
4291
  label: string;
4245
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4292
+ id: string;
4246
4293
  capture: "at_action" | "historical_lookup" | "fixture";
4247
4294
  locator?: string | undefined;
4248
4295
  }[];
@@ -4253,9 +4300,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4253
4300
  statement: string;
4254
4301
  sessionId: string;
4255
4302
  evidence: {
4256
- id: string;
4303
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4257
4304
  label: string;
4258
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4305
+ id: string;
4259
4306
  capture: "at_action" | "historical_lookup" | "fixture";
4260
4307
  locator?: string | undefined;
4261
4308
  }[];
@@ -4263,12 +4310,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4263
4310
  decisionId: string;
4264
4311
  confidence?: number | undefined;
4265
4312
  } | {
4266
- summary: string;
4267
4313
  kind: "conflict_detected";
4314
+ summary: string;
4268
4315
  evidence: {
4269
- id: string;
4316
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4270
4317
  label: string;
4271
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
+ id: string;
4272
4319
  capture: "at_action" | "historical_lookup" | "fixture";
4273
4320
  locator?: string | undefined;
4274
4321
  }[];
@@ -4276,14 +4323,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4276
4323
  decisionIds: string[];
4277
4324
  agentIds: string[];
4278
4325
  } | {
4326
+ kind: "test_result";
4279
4327
  summary: string;
4280
4328
  status: "error" | "failed" | "passed";
4281
- kind: "test_result";
4282
4329
  command: string;
4283
4330
  evidence: {
4284
- id: string;
4331
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
4332
  label: string;
4286
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4333
+ id: string;
4287
4334
  capture: "at_action" | "historical_lookup" | "fixture";
4288
4335
  locator?: string | undefined;
4289
4336
  }[];
@@ -4296,9 +4343,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4296
4343
  statement: string;
4297
4344
  rationale: string;
4298
4345
  evidence: {
4299
- id: string;
4346
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4300
4347
  label: string;
4301
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
+ id: string;
4302
4349
  capture: "at_action" | "historical_lookup" | "fixture";
4303
4350
  locator?: string | undefined;
4304
4351
  }[];
@@ -4310,25 +4357,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4357
  } | {
4311
4358
  kind: "correction_approved";
4312
4359
  evidence: {
4313
- id: string;
4360
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
4361
  label: string;
4315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4362
+ id: string;
4316
4363
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4364
  locator?: string | undefined;
4318
4365
  }[];
4319
4366
  correctionId: string;
4320
4367
  approvedBy: {
4321
- id: string;
4322
- label: string;
4323
4368
  kind: "agent" | "human";
4369
+ label: string;
4370
+ id: string;
4324
4371
  };
4325
4372
  note?: string | undefined;
4326
4373
  } | {
4327
4374
  kind: "decision_superseded";
4328
4375
  evidence: {
4329
- id: string;
4376
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4330
4377
  label: string;
4331
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4378
+ id: string;
4332
4379
  capture: "at_action" | "historical_lookup" | "fixture";
4333
4380
  locator?: string | undefined;
4334
4381
  }[];
@@ -4341,9 +4388,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4341
4388
  agentId: string;
4342
4389
  sessionId: string;
4343
4390
  evidence: {
4344
- id: string;
4391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
4392
  label: string;
4346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4393
+ id: string;
4347
4394
  capture: "at_action" | "historical_lookup" | "fixture";
4348
4395
  locator?: string | undefined;
4349
4396
  }[];
@@ -4355,9 +4402,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4355
4402
  agentId: string;
4356
4403
  sessionId: string;
4357
4404
  evidence: {
4358
- id: string;
4405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4359
4406
  label: string;
4360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4407
+ id: string;
4361
4408
  capture: "at_action" | "historical_lookup" | "fixture";
4362
4409
  locator?: string | undefined;
4363
4410
  }[];
@@ -4366,13 +4413,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4366
4413
  recallReceiptId: string;
4367
4414
  staleDecisionAbsent: boolean;
4368
4415
  } | {
4369
- summary: string;
4370
4416
  kind: "mission_completed";
4417
+ summary: string;
4371
4418
  outcome: "failed" | "recovered" | "inconclusive";
4372
4419
  evidence: {
4373
- id: string;
4420
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4374
4421
  label: string;
4375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4422
+ id: string;
4376
4423
  capture: "at_action" | "historical_lookup" | "fixture";
4377
4424
  locator?: string | undefined;
4378
4425
  }[];
@@ -4382,37 +4429,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4382
4429
  objective: string;
4383
4430
  runMode: "replay" | "fixture" | "live";
4384
4431
  evidence?: {
4385
- id: string;
4432
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
4433
  label: string;
4387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4434
+ id: string;
4388
4435
  capture: "at_action" | "historical_lookup" | "fixture";
4389
4436
  locator?: string | undefined;
4390
4437
  }[] | undefined;
4391
4438
  } | {
4392
- label: string;
4393
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4394
4439
  kind: "agent_status";
4440
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4441
+ label: string;
4395
4442
  role: string;
4396
4443
  agentId: string;
4397
4444
  sessionId: string;
4398
4445
  detail?: string | undefined;
4399
4446
  evidence?: {
4400
- id: string;
4447
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
4448
  label: string;
4402
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4449
+ id: string;
4403
4450
  capture: "at_action" | "historical_lookup" | "fixture";
4404
4451
  locator?: string | undefined;
4405
4452
  }[] | undefined;
4406
4453
  } | {
4407
- summary: string;
4408
4454
  kind: "agent_output";
4455
+ summary: string;
4409
4456
  agentId: string;
4410
4457
  sessionId: string;
4411
4458
  outputId: string;
4412
4459
  evidence?: {
4413
- id: string;
4460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4461
  label: string;
4415
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
+ id: string;
4416
4463
  capture: "at_action" | "historical_lookup" | "fixture";
4417
4464
  locator?: string | undefined;
4418
4465
  }[] | undefined;
@@ -4425,37 +4472,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4425
4472
  decisionId: string;
4426
4473
  confidence?: number | undefined;
4427
4474
  evidence?: {
4428
- id: string;
4475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4429
4476
  label: string;
4430
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4477
+ id: string;
4431
4478
  capture: "at_action" | "historical_lookup" | "fixture";
4432
4479
  locator?: string | undefined;
4433
4480
  }[] | undefined;
4434
4481
  } | {
4435
- summary: string;
4436
4482
  kind: "conflict_detected";
4483
+ summary: string;
4437
4484
  conflictId: string;
4438
4485
  decisionIds: string[];
4439
4486
  agentIds: string[];
4440
4487
  evidence?: {
4441
- id: string;
4488
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
4489
  label: string;
4443
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
+ id: string;
4444
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4445
4492
  locator?: string | undefined;
4446
4493
  }[] | undefined;
4447
4494
  } | {
4495
+ kind: "test_result";
4448
4496
  summary: string;
4449
4497
  status: "error" | "failed" | "passed";
4450
- kind: "test_result";
4451
4498
  command: string;
4452
4499
  decisionId: string;
4453
4500
  testId: string;
4454
4501
  durationMs?: number | undefined;
4455
4502
  evidence?: {
4456
- id: string;
4503
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
4504
  label: string;
4458
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4505
+ id: string;
4459
4506
  capture: "at_action" | "historical_lookup" | "fixture";
4460
4507
  locator?: string | undefined;
4461
4508
  }[] | undefined;
@@ -4470,9 +4517,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4470
4517
  supersedesDecisionIds: string[];
4471
4518
  proposedBy: string;
4472
4519
  evidence?: {
4473
- id: string;
4520
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4474
4521
  label: string;
4475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4522
+ id: string;
4476
4523
  capture: "at_action" | "historical_lookup" | "fixture";
4477
4524
  locator?: string | undefined;
4478
4525
  }[] | undefined;
@@ -4480,15 +4527,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4480
4527
  kind: "correction_approved";
4481
4528
  correctionId: string;
4482
4529
  approvedBy: {
4483
- id: string;
4484
- label: string;
4485
4530
  kind: "agent" | "human";
4531
+ label: string;
4532
+ id: string;
4486
4533
  };
4487
4534
  note?: string | undefined;
4488
4535
  evidence?: {
4489
- id: string;
4536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4537
  label: string;
4491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
+ id: string;
4492
4539
  capture: "at_action" | "historical_lookup" | "fixture";
4493
4540
  locator?: string | undefined;
4494
4541
  }[] | undefined;
@@ -4498,9 +4545,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4498
4545
  correctionId: string;
4499
4546
  replacementDecisionId: string;
4500
4547
  evidence?: {
4501
- id: string;
4548
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4502
4549
  label: string;
4503
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4550
+ id: string;
4504
4551
  capture: "at_action" | "historical_lookup" | "fixture";
4505
4552
  locator?: string | undefined;
4506
4553
  }[] | undefined;
@@ -4513,9 +4560,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4513
4560
  recallReceiptId: string;
4514
4561
  capturedAtAction: boolean;
4515
4562
  evidence?: {
4516
- id: string;
4563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4517
4564
  label: string;
4518
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
+ id: string;
4519
4566
  capture: "at_action" | "historical_lookup" | "fixture";
4520
4567
  locator?: string | undefined;
4521
4568
  }[] | undefined;
@@ -4528,64 +4575,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4528
4575
  recallReceiptId: string;
4529
4576
  staleDecisionAbsent: boolean;
4530
4577
  evidence?: {
4531
- id: string;
4578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4532
4579
  label: string;
4533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
+ id: string;
4534
4581
  capture: "at_action" | "historical_lookup" | "fixture";
4535
4582
  locator?: string | undefined;
4536
4583
  }[] | undefined;
4537
4584
  } | {
4538
- summary: string;
4539
4585
  kind: "mission_completed";
4586
+ summary: string;
4540
4587
  outcome: "failed" | "recovered" | "inconclusive";
4541
4588
  evidence?: {
4542
- id: string;
4589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4590
  label: string;
4544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
+ id: string;
4545
4592
  capture: "at_action" | "historical_lookup" | "fixture";
4546
4593
  locator?: string | undefined;
4547
4594
  }[] | undefined;
4548
4595
  }>;
4549
4596
  }, "strict", z.ZodTypeAny, {
4550
- namespace: string;
4551
- recordedAt: string;
4552
4597
  schemaVersion: "1";
4598
+ recordedAt: string;
4553
4599
  payload: {
4554
4600
  kind: "mission_started";
4555
4601
  title: string;
4556
4602
  evidence: {
4557
- id: string;
4603
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
4604
  label: string;
4559
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4605
+ id: string;
4560
4606
  capture: "at_action" | "historical_lookup" | "fixture";
4561
4607
  locator?: string | undefined;
4562
4608
  }[];
4563
4609
  objective: string;
4564
4610
  runMode: "replay" | "fixture" | "live";
4565
4611
  } | {
4566
- label: string;
4567
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4568
4612
  kind: "agent_status";
4613
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4614
+ label: string;
4569
4615
  role: string;
4570
4616
  agentId: string;
4571
4617
  sessionId: string;
4572
4618
  evidence: {
4573
- id: string;
4619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4620
  label: string;
4575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4621
+ id: string;
4576
4622
  capture: "at_action" | "historical_lookup" | "fixture";
4577
4623
  locator?: string | undefined;
4578
4624
  }[];
4579
4625
  detail?: string | undefined;
4580
4626
  } | {
4581
- summary: string;
4582
4627
  kind: "agent_output";
4628
+ summary: string;
4583
4629
  agentId: string;
4584
4630
  sessionId: string;
4585
4631
  evidence: {
4586
- id: string;
4632
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4587
4633
  label: string;
4588
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
+ id: string;
4589
4635
  capture: "at_action" | "historical_lookup" | "fixture";
4590
4636
  locator?: string | undefined;
4591
4637
  }[];
@@ -4596,9 +4642,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4596
4642
  statement: string;
4597
4643
  sessionId: string;
4598
4644
  evidence: {
4599
- id: string;
4645
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4646
  label: string;
4601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
+ id: string;
4602
4648
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4649
  locator?: string | undefined;
4604
4650
  }[];
@@ -4606,12 +4652,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4606
4652
  decisionId: string;
4607
4653
  confidence?: number | undefined;
4608
4654
  } | {
4609
- summary: string;
4610
4655
  kind: "conflict_detected";
4656
+ summary: string;
4611
4657
  evidence: {
4612
- id: string;
4658
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
4659
  label: string;
4614
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
+ id: string;
4615
4661
  capture: "at_action" | "historical_lookup" | "fixture";
4616
4662
  locator?: string | undefined;
4617
4663
  }[];
@@ -4619,14 +4665,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4619
4665
  decisionIds: string[];
4620
4666
  agentIds: string[];
4621
4667
  } | {
4668
+ kind: "test_result";
4622
4669
  summary: string;
4623
4670
  status: "error" | "failed" | "passed";
4624
- kind: "test_result";
4625
4671
  command: string;
4626
4672
  evidence: {
4627
- id: string;
4673
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
4674
  label: string;
4629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
+ id: string;
4630
4676
  capture: "at_action" | "historical_lookup" | "fixture";
4631
4677
  locator?: string | undefined;
4632
4678
  }[];
@@ -4639,9 +4685,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4639
4685
  statement: string;
4640
4686
  rationale: string;
4641
4687
  evidence: {
4642
- id: string;
4688
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
4689
  label: string;
4644
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4690
+ id: string;
4645
4691
  capture: "at_action" | "historical_lookup" | "fixture";
4646
4692
  locator?: string | undefined;
4647
4693
  }[];
@@ -4653,25 +4699,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4653
4699
  } | {
4654
4700
  kind: "correction_approved";
4655
4701
  evidence: {
4656
- id: string;
4702
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4657
4703
  label: string;
4658
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4704
+ id: string;
4659
4705
  capture: "at_action" | "historical_lookup" | "fixture";
4660
4706
  locator?: string | undefined;
4661
4707
  }[];
4662
4708
  correctionId: string;
4663
4709
  approvedBy: {
4664
- id: string;
4665
- label: string;
4666
4710
  kind: "agent" | "human";
4711
+ label: string;
4712
+ id: string;
4667
4713
  };
4668
4714
  note?: string | undefined;
4669
4715
  } | {
4670
4716
  kind: "decision_superseded";
4671
4717
  evidence: {
4672
- id: string;
4718
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4673
4719
  label: string;
4674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4720
+ id: string;
4675
4721
  capture: "at_action" | "historical_lookup" | "fixture";
4676
4722
  locator?: string | undefined;
4677
4723
  }[];
@@ -4684,9 +4730,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4684
4730
  agentId: string;
4685
4731
  sessionId: string;
4686
4732
  evidence: {
4687
- id: string;
4733
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4688
4734
  label: string;
4689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4735
+ id: string;
4690
4736
  capture: "at_action" | "historical_lookup" | "fixture";
4691
4737
  locator?: string | undefined;
4692
4738
  }[];
@@ -4698,9 +4744,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4698
4744
  agentId: string;
4699
4745
  sessionId: string;
4700
4746
  evidence: {
4701
- id: string;
4747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4702
4748
  label: string;
4703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4749
+ id: string;
4704
4750
  capture: "at_action" | "historical_lookup" | "fixture";
4705
4751
  locator?: string | undefined;
4706
4752
  }[];
@@ -4709,63 +4755,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4709
4755
  recallReceiptId: string;
4710
4756
  staleDecisionAbsent: boolean;
4711
4757
  } | {
4712
- summary: string;
4713
4758
  kind: "mission_completed";
4759
+ summary: string;
4714
4760
  outcome: "failed" | "recovered" | "inconclusive";
4715
4761
  evidence: {
4716
- id: string;
4762
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4717
4763
  label: string;
4718
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4764
+ id: string;
4719
4765
  capture: "at_action" | "historical_lookup" | "fixture";
4720
4766
  locator?: string | undefined;
4721
4767
  }[];
4722
4768
  };
4769
+ namespace: string;
4723
4770
  eventId: string;
4724
4771
  occurredAt: string;
4725
4772
  missionId: string;
4726
4773
  idempotencyKey?: string | undefined;
4727
4774
  authenticatedPrincipal?: string | undefined;
4728
4775
  }, {
4729
- namespace: string;
4730
- recordedAt: string;
4731
4776
  schemaVersion: "1";
4777
+ recordedAt: string;
4732
4778
  payload: {
4733
4779
  kind: "mission_started";
4734
4780
  title: string;
4735
4781
  objective: string;
4736
4782
  runMode: "replay" | "fixture" | "live";
4737
4783
  evidence?: {
4738
- id: string;
4784
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4739
4785
  label: string;
4740
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4786
+ id: string;
4741
4787
  capture: "at_action" | "historical_lookup" | "fixture";
4742
4788
  locator?: string | undefined;
4743
4789
  }[] | undefined;
4744
4790
  } | {
4745
- label: string;
4746
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4747
4791
  kind: "agent_status";
4792
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4793
+ label: string;
4748
4794
  role: string;
4749
4795
  agentId: string;
4750
4796
  sessionId: string;
4751
4797
  detail?: string | undefined;
4752
4798
  evidence?: {
4753
- id: string;
4799
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4754
4800
  label: string;
4755
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4801
+ id: string;
4756
4802
  capture: "at_action" | "historical_lookup" | "fixture";
4757
4803
  locator?: string | undefined;
4758
4804
  }[] | undefined;
4759
4805
  } | {
4760
- summary: string;
4761
4806
  kind: "agent_output";
4807
+ summary: string;
4762
4808
  agentId: string;
4763
4809
  sessionId: string;
4764
4810
  outputId: string;
4765
4811
  evidence?: {
4766
- id: string;
4812
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4767
4813
  label: string;
4768
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4814
+ id: string;
4769
4815
  capture: "at_action" | "historical_lookup" | "fixture";
4770
4816
  locator?: string | undefined;
4771
4817
  }[] | undefined;
@@ -4778,37 +4824,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4778
4824
  decisionId: string;
4779
4825
  confidence?: number | undefined;
4780
4826
  evidence?: {
4781
- id: string;
4827
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4782
4828
  label: string;
4783
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4829
+ id: string;
4784
4830
  capture: "at_action" | "historical_lookup" | "fixture";
4785
4831
  locator?: string | undefined;
4786
4832
  }[] | undefined;
4787
4833
  } | {
4788
- summary: string;
4789
4834
  kind: "conflict_detected";
4835
+ summary: string;
4790
4836
  conflictId: string;
4791
4837
  decisionIds: string[];
4792
4838
  agentIds: string[];
4793
4839
  evidence?: {
4794
- id: string;
4840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4795
4841
  label: string;
4796
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4842
+ id: string;
4797
4843
  capture: "at_action" | "historical_lookup" | "fixture";
4798
4844
  locator?: string | undefined;
4799
4845
  }[] | undefined;
4800
4846
  } | {
4847
+ kind: "test_result";
4801
4848
  summary: string;
4802
4849
  status: "error" | "failed" | "passed";
4803
- kind: "test_result";
4804
4850
  command: string;
4805
4851
  decisionId: string;
4806
4852
  testId: string;
4807
4853
  durationMs?: number | undefined;
4808
4854
  evidence?: {
4809
- id: string;
4855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4810
4856
  label: string;
4811
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4857
+ id: string;
4812
4858
  capture: "at_action" | "historical_lookup" | "fixture";
4813
4859
  locator?: string | undefined;
4814
4860
  }[] | undefined;
@@ -4823,9 +4869,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4823
4869
  supersedesDecisionIds: string[];
4824
4870
  proposedBy: string;
4825
4871
  evidence?: {
4826
- id: string;
4872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4827
4873
  label: string;
4828
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4874
+ id: string;
4829
4875
  capture: "at_action" | "historical_lookup" | "fixture";
4830
4876
  locator?: string | undefined;
4831
4877
  }[] | undefined;
@@ -4833,15 +4879,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4833
4879
  kind: "correction_approved";
4834
4880
  correctionId: string;
4835
4881
  approvedBy: {
4836
- id: string;
4837
- label: string;
4838
4882
  kind: "agent" | "human";
4883
+ label: string;
4884
+ id: string;
4839
4885
  };
4840
4886
  note?: string | undefined;
4841
4887
  evidence?: {
4842
- id: string;
4888
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4843
4889
  label: string;
4844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4890
+ id: string;
4845
4891
  capture: "at_action" | "historical_lookup" | "fixture";
4846
4892
  locator?: string | undefined;
4847
4893
  }[] | undefined;
@@ -4851,9 +4897,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4851
4897
  correctionId: string;
4852
4898
  replacementDecisionId: string;
4853
4899
  evidence?: {
4854
- id: string;
4900
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4855
4901
  label: string;
4856
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4902
+ id: string;
4857
4903
  capture: "at_action" | "historical_lookup" | "fixture";
4858
4904
  locator?: string | undefined;
4859
4905
  }[] | undefined;
@@ -4866,9 +4912,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4866
4912
  recallReceiptId: string;
4867
4913
  capturedAtAction: boolean;
4868
4914
  evidence?: {
4869
- id: string;
4915
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4870
4916
  label: string;
4871
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4917
+ id: string;
4872
4918
  capture: "at_action" | "historical_lookup" | "fixture";
4873
4919
  locator?: string | undefined;
4874
4920
  }[] | undefined;
@@ -4881,24 +4927,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4881
4927
  recallReceiptId: string;
4882
4928
  staleDecisionAbsent: boolean;
4883
4929
  evidence?: {
4884
- id: string;
4930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4885
4931
  label: string;
4886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4932
+ id: string;
4887
4933
  capture: "at_action" | "historical_lookup" | "fixture";
4888
4934
  locator?: string | undefined;
4889
4935
  }[] | undefined;
4890
4936
  } | {
4891
- summary: string;
4892
4937
  kind: "mission_completed";
4938
+ summary: string;
4893
4939
  outcome: "failed" | "recovered" | "inconclusive";
4894
4940
  evidence?: {
4895
- id: string;
4941
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
4942
  label: string;
4897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
+ id: string;
4898
4944
  capture: "at_action" | "historical_lookup" | "fixture";
4899
4945
  locator?: string | undefined;
4900
4946
  }[] | undefined;
4901
4947
  };
4948
+ namespace: string;
4902
4949
  eventId: string;
4903
4950
  occurredAt: string;
4904
4951
  missionId: string;
@@ -8236,4 +8283,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
8236
8283
  */
8237
8284
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
8238
8285
 
8239
- 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_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, FallbackLlmClient, 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, INJECTION_SCREEN_THRESHOLD, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, 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, MemoryDriftState, 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, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, 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, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, SemanticDedupLookup, 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, applyPreferenceDriftRanking, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, classifyOrigin, 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, driftAgeNote, 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, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, 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, parseOriginClass, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, 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 };
8286
+ 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_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, 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, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, 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, MemoryDriftState, 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, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, ParsedSkillBundle, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, 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 ReadSkillBundle, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, 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, applyPreferenceDriftRanking, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureRecallSection, builtInConnectorPackageSpecifier, classifyOrigin, 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, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, exportSkillBundles, 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, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, 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, parseOriginClass, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistImportedSkills, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, 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 };