@remnic/core 9.52.2 → 9.54.0

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 (429) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +22 -22
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +23 -23
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +22 -22
  7. package/dist/access-cli.js +55 -55
  8. package/dist/access-coding-context-resolution.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.d.ts +11 -11
  10. package/dist/access-extraction-force-flush.js +22 -22
  11. package/dist/access-health-types.d.ts +1 -1
  12. package/dist/access-http-lcm-compaction.d.ts +11 -11
  13. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  14. package/dist/access-http-offline-stream.d.ts +11 -11
  15. package/dist/access-http-query.js +22 -22
  16. package/dist/access-http.d.ts +11 -11
  17. package/dist/access-http.js +29 -29
  18. package/dist/access-identity-continuity-surface.d.ts +9 -9
  19. package/dist/access-identity-continuity-surface.js +22 -22
  20. package/dist/access-lcm-surface.d.ts +11 -11
  21. package/dist/access-lcm-surface.js +22 -22
  22. package/dist/access-mcp.d.ts +11 -11
  23. package/dist/access-mcp.js +27 -27
  24. package/dist/access-memory-search-fanout.d.ts +2 -2
  25. package/dist/{access-namespace-preflight-Ds6CGlCP.d.ts → access-namespace-preflight-C7n4tgWC.d.ts} +1 -1
  26. package/dist/access-namespace-preflight.d.ts +3 -3
  27. package/dist/access-namespace-preflight.js +22 -22
  28. package/dist/access-observe-write-surface.d.ts +11 -11
  29. package/dist/access-observe-write-surface.js +22 -22
  30. package/dist/access-offline-manifest.d.ts +9 -9
  31. package/dist/access-offline-manifest.js +8 -4
  32. package/dist/access-operations-batch.js +24 -24
  33. package/dist/access-operations.d.ts +14 -14
  34. package/dist/access-operations.js +26 -26
  35. package/dist/access-recall-concurrency.d.ts +11 -11
  36. package/dist/access-recall-concurrency.js +22 -22
  37. package/dist/access-recall-response.d.ts +11 -11
  38. package/dist/access-recall-response.js +22 -22
  39. package/dist/access-recall-surface.d.ts +11 -11
  40. package/dist/access-recall-surface.js +22 -22
  41. package/dist/access-schema.d.ts +88 -88
  42. package/dist/{access-service-Cbk3bNbD.d.ts → access-service-CXvbxLK-.d.ts} +7 -7
  43. package/dist/access-service-helpers.d.ts +11 -11
  44. package/dist/access-service.d.ts +11 -11
  45. package/dist/access-service.js +22 -22
  46. package/dist/access-surface-catalog.d.ts +11 -11
  47. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  48. package/dist/action-confidence.d.ts +1 -1
  49. package/dist/active-memory-bridge.d.ts +1 -1
  50. package/dist/active-recall.d.ts +1 -1
  51. package/dist/active-recall.js +5 -5
  52. package/dist/ambient-provenance.d.ts +1 -1
  53. package/dist/artifact-search.d.ts +1 -1
  54. package/dist/{auto-sync-QFQGOEO2.js → auto-sync-TDHLZPVP.js} +7 -7
  55. package/dist/behavior-learner.d.ts +1 -1
  56. package/dist/behavior-signals.d.ts +1 -1
  57. package/dist/bootstrap.d.ts +9 -9
  58. package/dist/briefing.d.ts +2 -2
  59. package/dist/briefing.js +12 -12
  60. package/dist/buffer-surprise-report.d.ts +1 -1
  61. package/dist/buffer-turn-helpers.d.ts +1 -1
  62. package/dist/buffer.d.ts +2 -2
  63. package/dist/bulk-import/index.d.ts +3 -3
  64. package/dist/calibration.d.ts +1 -1
  65. package/dist/capabilities.d.ts +1 -1
  66. package/dist/{catalog-D3B4RDy1.d.ts → catalog-BOOxl-I2.d.ts} +1 -1
  67. package/dist/causal-behavior.d.ts +1 -1
  68. package/dist/causal-consolidation.d.ts +1 -1
  69. package/dist/causal-consolidation.js +13 -13
  70. package/dist/causal-trajectory-graph.d.ts +1 -1
  71. package/dist/{chunk-MLXZD4WM.js → chunk-2GFK22OZ.js} +2 -2
  72. package/dist/{chunk-RANKJI5T.js → chunk-3JLPGJ43.js} +2 -2
  73. package/dist/{chunk-O5FFBO2M.js → chunk-47P3RYZP.js} +70 -8
  74. package/dist/{chunk-O5FFBO2M.js.map → chunk-47P3RYZP.js.map} +1 -1
  75. package/dist/{chunk-X7XEDOSL.js → chunk-4IIFL7GC.js} +8 -8
  76. package/dist/chunk-5FVVY2EB.js +27 -0
  77. package/dist/chunk-5FVVY2EB.js.map +1 -0
  78. package/dist/{chunk-GXSOUIA4.js → chunk-5WQMORU5.js} +4 -4
  79. package/dist/{chunk-J272WKX2.js → chunk-6HPHEFXT.js} +2 -2
  80. package/dist/{chunk-B6LZ4IBH.js → chunk-6LAPLZOS.js} +2 -2
  81. package/dist/{chunk-WD5B5AIE.js → chunk-6R4G7N4S.js} +118 -173
  82. package/dist/chunk-6R4G7N4S.js.map +1 -0
  83. package/dist/{chunk-VXCNQYTC.js → chunk-APPFNGX6.js} +2 -2
  84. package/dist/{chunk-GXFSQ6SD.js → chunk-C4ZNGVK3.js} +2 -2
  85. package/dist/{chunk-JSEJH2YQ.js → chunk-CGVHPCP2.js} +2 -2
  86. package/dist/{chunk-BQIFZ2MP.js → chunk-CX5SW2EW.js} +41 -24
  87. package/dist/chunk-CX5SW2EW.js.map +1 -0
  88. package/dist/{chunk-RMHMUUBW.js → chunk-CYF6WVE7.js} +105 -49
  89. package/dist/{chunk-RMHMUUBW.js.map → chunk-CYF6WVE7.js.map} +1 -1
  90. package/dist/{chunk-TEMSWHQD.js → chunk-DZD576ZU.js} +5 -5
  91. package/dist/{chunk-AMTEYNYK.js → chunk-EVWWT3KE.js} +4 -4
  92. package/dist/{chunk-P2KBDJJ6.js → chunk-G2LUMAUF.js} +4 -3
  93. package/dist/{chunk-P2KBDJJ6.js.map → chunk-G2LUMAUF.js.map} +1 -1
  94. package/dist/{chunk-AXIDQG5A.js → chunk-G4T7L557.js} +5 -5
  95. package/dist/{chunk-7M6NYQWB.js → chunk-G7Z6EENO.js} +4 -4
  96. package/dist/{chunk-IARXXZU4.js → chunk-HOIRB77A.js} +99 -20
  97. package/dist/chunk-HOIRB77A.js.map +1 -0
  98. package/dist/{chunk-NDAH7BJ5.js → chunk-HVP33QVW.js} +103 -6
  99. package/dist/chunk-HVP33QVW.js.map +1 -0
  100. package/dist/{chunk-YXKVLYXU.js → chunk-HWRD23DW.js} +2 -2
  101. package/dist/{chunk-SOEN6KCF.js → chunk-IBKR2TFR.js} +2 -2
  102. package/dist/{chunk-R3DJVOSM.js → chunk-JDSVLVCG.js} +8 -1
  103. package/dist/chunk-JDSVLVCG.js.map +1 -0
  104. package/dist/{chunk-F4EU6VUC.js → chunk-JDZPNCMA.js} +2 -2
  105. package/dist/{chunk-D5YOZ66N.js → chunk-JV5YUBIZ.js} +20 -20
  106. package/dist/{chunk-DLG5V6ND.js → chunk-K4QS7LXU.js} +4 -7
  107. package/dist/chunk-K4QS7LXU.js.map +1 -0
  108. package/dist/{chunk-BAKXNQ3C.js → chunk-KRTY3ENI.js} +2 -2
  109. package/dist/{chunk-NK5RGJ65.js → chunk-L4DLLKPN.js} +2 -2
  110. package/dist/{chunk-VFSAWRMZ.js → chunk-LJS7KUPV.js} +2 -2
  111. package/dist/{chunk-JJRVPWFY.js → chunk-MLPTFODV.js} +166 -37
  112. package/dist/chunk-MLPTFODV.js.map +1 -0
  113. package/dist/{chunk-NOEMGE56.js → chunk-NH5IR2WM.js} +2 -2
  114. package/dist/{chunk-5V6IXHPI.js → chunk-NSVDUN76.js} +2 -2
  115. package/dist/{chunk-W7Y5JDVB.js → chunk-PDDTI7IC.js} +4 -4
  116. package/dist/{chunk-QINJITDS.js → chunk-PX2LSHYM.js} +2 -2
  117. package/dist/{chunk-HDIUYMSB.js → chunk-QWGE2PUH.js} +6 -6
  118. package/dist/{chunk-X57M2Q4I.js → chunk-RDJRFDJY.js} +3 -3
  119. package/dist/{chunk-RYLEDKQ2.js → chunk-RUMNY5DT.js} +3 -3
  120. package/dist/{chunk-BKIFTXHR.js → chunk-RZ4XGKOJ.js} +2 -2
  121. package/dist/{chunk-66SE3BNH.js → chunk-SUPEYLH2.js} +2 -2
  122. package/dist/{chunk-BF6SXNQJ.js → chunk-T2JHZWH6.js} +20 -20
  123. package/dist/{chunk-VHFXP27N.js → chunk-THPPCISA.js} +60 -23
  124. package/dist/chunk-THPPCISA.js.map +1 -0
  125. package/dist/{chunk-QPOHMO6M.js → chunk-UES4BHA2.js} +2 -2
  126. package/dist/{chunk-XAPMEU3K.js → chunk-UU7TRFNE.js} +2 -2
  127. package/dist/{chunk-QBSFOKY6.js → chunk-VOELBUS4.js} +4 -4
  128. package/dist/{chunk-2LY6GIIE.js → chunk-WDBX6VER.js} +2 -2
  129. package/dist/{chunk-BMEYMKWX.js → chunk-WM65LU67.js} +2 -2
  130. package/dist/{chunk-WLRD2TXF.js → chunk-WOPA3SGI.js} +4 -4
  131. package/dist/{chunk-5UZ6UCOZ.js → chunk-XUAMCLY4.js} +3 -3
  132. package/dist/{chunk-7HXZJAID.js → chunk-YGLY6QFV.js} +3 -3
  133. package/dist/{chunk-2OIQDTDC.js → chunk-ZPJ4QSGP.js} +2 -2
  134. package/dist/{chunk-3OY7KXHM.js → chunk-ZYLC7NFO.js} +3 -3
  135. package/dist/{cli-DMAFI0qt.d.ts → cli-DVUFIa5E.d.ts} +5 -5
  136. package/dist/cli.d.ts +13 -13
  137. package/dist/cli.js +42 -42
  138. package/dist/coding/pre-action-gate.d.ts +1 -1
  139. package/dist/compounding/engine.d.ts +2 -2
  140. package/dist/compounding/engine.js +13 -13
  141. package/dist/compounding/preference-consolidator.d.ts +1 -1
  142. package/dist/compression-optimizer.d.ts +1 -1
  143. package/dist/config.d.ts +1 -1
  144. package/dist/config.js +5 -5
  145. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  146. package/dist/connectors/codex-materialize-runner.js +12 -12
  147. package/dist/connectors/codex-materialize.d.ts +1 -1
  148. package/dist/connectors/index.d.ts +1 -1
  149. package/dist/connectors/index.js +12 -12
  150. package/dist/consolidation-provenance-check.d.ts +2 -2
  151. package/dist/consolidation-undo.d.ts +2 -2
  152. package/dist/content-hash.d.ts +12 -2
  153. package/dist/content-hash.js +9 -3
  154. package/dist/contradiction/index.d.ts +2 -2
  155. package/dist/contradiction/index.js +3 -3
  156. package/dist/converge-config.d.ts +1 -1
  157. package/dist/convergence-refresh.d.ts +2 -2
  158. package/dist/convergence-refresh.js +14 -14
  159. package/dist/conversation-index/backend.d.ts +1 -1
  160. package/dist/conversation-index/chunker.d.ts +1 -1
  161. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  162. package/dist/conversation-index/indexer.d.ts +1 -1
  163. package/dist/conversation-index/search.d.ts +1 -1
  164. package/dist/corpus-watermark.d.ts +1 -1
  165. package/dist/corpus-watermark.js +14 -14
  166. package/dist/day-summary.d.ts +1 -1
  167. package/dist/delinearize.d.ts +1 -1
  168. package/dist/dependency-propagation-config.d.ts +1 -1
  169. package/dist/{dependency-propagation-delivery-D63r24pH.d.ts → dependency-propagation-delivery-XzF76C9n.d.ts} +1 -1
  170. package/dist/direct-answer-wiring.d.ts +1 -1
  171. package/dist/direct-answer.d.ts +1 -1
  172. package/dist/embedding-fallback.d.ts +1 -1
  173. package/dist/enrichment/index.d.ts +1 -1
  174. package/dist/entity-retrieval.d.ts +2 -2
  175. package/dist/entity-retrieval.js +12 -12
  176. package/dist/entity-schema.d.ts +1 -1
  177. package/dist/explicit-capture.d.ts +9 -9
  178. package/dist/explicit-capture.js +8 -8
  179. package/dist/external-wiki-access.d.ts +11 -11
  180. package/dist/external-wiki-access.js +23 -23
  181. package/dist/external-wiki-collection-registration.d.ts +1 -1
  182. package/dist/external-wiki-collection.d.ts +1 -1
  183. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  184. package/dist/extraction-error-classification.d.ts +1 -1
  185. package/dist/extraction-faithfulness.d.ts +1 -1
  186. package/dist/extraction-judge-telemetry.d.ts +1 -1
  187. package/dist/extraction-judge-training.d.ts +1 -1
  188. package/dist/extraction-judge.d.ts +1 -1
  189. package/dist/extraction-liveness.d.ts +1 -1
  190. package/dist/extraction-normalization.d.ts +1 -1
  191. package/dist/extraction-normalization.js +2 -2
  192. package/dist/extraction-prompt.d.ts +1 -1
  193. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  194. package/dist/extraction-source-grounding.d.ts +1 -1
  195. package/dist/extraction-source-grounding.js +3 -3
  196. package/dist/extraction.d.ts +1 -1
  197. package/dist/extraction.js +16 -16
  198. package/dist/fallback-llm.d.ts +1 -1
  199. package/dist/{forget-HDS4N6CG.js → forget-EHGGJZLX.js} +3 -2
  200. package/dist/{forget-HDS4N6CG.js.map → forget-EHGGJZLX.js.map} +1 -1
  201. package/dist/graph-dashboard-diff.d.ts +1 -1
  202. package/dist/graph-dashboard-key.d.ts +1 -1
  203. package/dist/graph-dashboard-parser.d.ts +1 -1
  204. package/dist/graph-edge-reinforcement.d.ts +1 -1
  205. package/dist/graph-path-reconstruction.d.ts +1 -1
  206. package/dist/graph-path-scoring.d.ts +1 -1
  207. package/dist/graph-snapshot.d.ts +1 -1
  208. package/dist/graph.d.ts +1 -1
  209. package/dist/harmonic-construction.js +2 -2
  210. package/dist/harmonic-retrieval.js +4 -4
  211. package/dist/importance.d.ts +1 -1
  212. package/dist/importers/index.d.ts +1 -1
  213. package/dist/in-flight-reads.d.ts +1 -1
  214. package/dist/index.d.ts +777 -705
  215. package/dist/index.js +77 -67
  216. package/dist/intent.d.ts +1 -1
  217. package/dist/lcm/engine.d.ts +1 -1
  218. package/dist/lcm/index.d.ts +1 -1
  219. package/dist/lcm/tools.d.ts +1 -1
  220. package/dist/lifecycle.d.ts +1 -1
  221. package/dist/live-connectors-runner.d.ts +1 -1
  222. package/dist/local-llm.d.ts +1 -1
  223. package/dist/local-model-endpoint.d.ts +1 -1
  224. package/dist/maintenance/memory-governance.d.ts +1 -1
  225. package/dist/maintenance/memory-governance.js +12 -12
  226. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  227. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +12 -12
  228. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  229. package/dist/maintenance/rebuild-memory-projection.js +13 -13
  230. package/dist/{maintenance-kBII2qUI.d.ts → maintenance-BJzNIKBE.d.ts} +3 -3
  231. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  232. package/dist/memory-action-policy.d.ts +1 -1
  233. package/dist/memory-cache.d.ts +1 -1
  234. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  235. package/dist/memory-projection-store.d.ts +1 -1
  236. package/dist/memory-provenance.d.ts +1 -1
  237. package/dist/memory-snapshot.d.ts +1 -1
  238. package/dist/memory-worth-outcomes.d.ts +2 -2
  239. package/dist/models-json.d.ts +1 -1
  240. package/dist/namespaces/migrate.d.ts +3 -3
  241. package/dist/namespaces/migrate.js +13 -13
  242. package/dist/namespaces/principal.d.ts +1 -1
  243. package/dist/namespaces/search.d.ts +1 -1
  244. package/dist/namespaces/storage.d.ts +3 -3
  245. package/dist/namespaces/storage.js +12 -12
  246. package/dist/native-knowledge.d.ts +1 -1
  247. package/dist/offline-sync-impression-drain.d.ts +1 -1
  248. package/dist/operator-doctor-corpus.d.ts +1 -1
  249. package/dist/operator-doctor-corpus.js +15 -15
  250. package/dist/operator-doctor-replica.d.ts +1 -1
  251. package/dist/operator-toolkit.d.ts +3 -3
  252. package/dist/operator-toolkit.js +21 -21
  253. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  254. package/dist/orchestration/maintenance.d.ts +4 -4
  255. package/dist/orchestration/maintenance.js +17 -17
  256. package/dist/{orchestrator-DHy5LtTy.d.ts → orchestrator-BiXgBJBQ.d.ts} +8 -8
  257. package/dist/orchestrator.d.ts +9 -9
  258. package/dist/orchestrator.js +55 -55
  259. package/dist/patterns-cli.d.ts +1 -1
  260. package/dist/{pipeline-D21Rs6gW.d.ts → pipeline-sz_dcuLg.d.ts} +1 -1
  261. package/dist/policy-runtime.d.ts +1 -1
  262. package/dist/proactive-contention.d.ts +1 -1
  263. package/dist/provenance.d.ts +1 -1
  264. package/dist/provenance.js +2 -2
  265. package/dist/{qmd-Dhle1P4X.d.ts → qmd-eAWObK4M.d.ts} +1 -1
  266. package/dist/qmd-preflight.d.ts +2 -2
  267. package/dist/qmd-recall-cache.d.ts +1 -1
  268. package/dist/qmd.d.ts +2 -2
  269. package/dist/recall-concurrency-config.d.ts +1 -1
  270. package/dist/recall-disclosure-escalation.d.ts +1 -1
  271. package/dist/recall-explain-renderer.d.ts +1 -1
  272. package/dist/recall-memory-map.d.ts +1 -1
  273. package/dist/recall-planner-llm.d.ts +1 -1
  274. package/dist/recall-state.d.ts +1 -1
  275. package/dist/recall-tag-filter.d.ts +1 -1
  276. package/dist/recall-timings.d.ts +1 -1
  277. package/dist/recall-xray-cli.d.ts +1 -1
  278. package/dist/recall-xray-renderer.d.ts +1 -1
  279. package/dist/recall-xray.d.ts +1 -1
  280. package/dist/reconcile/cursor.d.ts +1 -1
  281. package/dist/reconcile/manifest.d.ts +4 -2
  282. package/dist/reconcile/manifest.js +7 -3
  283. package/dist/reconcile/plan.d.ts +1 -1
  284. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  285. package/dist/replay/normalizers/claude.d.ts +1 -1
  286. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  287. package/dist/replay/normalizers/shared.d.ts +1 -1
  288. package/dist/replay/runner.d.ts +1 -1
  289. package/dist/replay/types.d.ts +1 -1
  290. package/dist/replica-divergence.d.ts +1 -1
  291. package/dist/replica-peers-config.d.ts +1 -1
  292. package/dist/{resolution-MDPNOEG6.js → resolution-MMOD5WC4.js} +4 -4
  293. package/dist/resolve-auth-token.d.ts +1 -1
  294. package/dist/resume-bundles.js +6 -6
  295. package/dist/retrieval-agents.d.ts +2 -2
  296. package/dist/retrieval-tiers.d.ts +1 -1
  297. package/dist/routing/engine.d.ts +1 -1
  298. package/dist/routing/store.d.ts +1 -1
  299. package/dist/salvage-envelope.d.ts +1 -1
  300. package/dist/salvage-envelope.js +3 -3
  301. package/dist/schemas.d.ts +138 -138
  302. package/dist/{scope-profiles-NzGPDXLn.d.ts → scope-profiles-BBQsXuyj.d.ts} +1 -1
  303. package/dist/search/embed-helper.d.ts +1 -1
  304. package/dist/search/factory.d.ts +1 -1
  305. package/dist/search/index.d.ts +1 -1
  306. package/dist/search/lancedb-backend.d.ts +1 -1
  307. package/dist/search/meilisearch-backend.d.ts +1 -1
  308. package/dist/search/noop-backend.d.ts +1 -1
  309. package/dist/search/orama-backend.d.ts +1 -1
  310. package/dist/search/port.d.ts +1 -1
  311. package/dist/search/remote-backend.d.ts +1 -1
  312. package/dist/{semantic-consolidation-DLDKvyy5.d.ts → semantic-consolidation-HD8RkzVA.d.ts} +1 -1
  313. package/dist/semantic-consolidation.d.ts +2 -2
  314. package/dist/semantic-consolidation.js +13 -13
  315. package/dist/semantic-rule-promotion.js +12 -12
  316. package/dist/semantic-rule-verifier.d.ts +1 -1
  317. package/dist/semantic-rule-verifier.js +12 -12
  318. package/dist/{service-PT2_z7xm.d.ts → service-DIrtHHEg.d.ts} +2 -2
  319. package/dist/session-observer-bands.d.ts +1 -1
  320. package/dist/session-observer-state.d.ts +1 -1
  321. package/dist/shared-context/manager.d.ts +9 -9
  322. package/dist/signal.d.ts +1 -1
  323. package/dist/source-agent-qualifier.d.ts +1 -1
  324. package/dist/source-agent-qualifier.js +14 -14
  325. package/dist/{storage-BmVudhk4.d.ts → storage-DqCzXi56.d.ts} +37 -33
  326. package/dist/storage.d.ts +2 -2
  327. package/dist/storage.js +14 -14
  328. package/dist/structured-attributes.d.ts +3 -1
  329. package/dist/structured-attributes.js +3 -1
  330. package/dist/summarizer.d.ts +1 -1
  331. package/dist/summary-snapshot.d.ts +1 -1
  332. package/dist/temporal-supersession.d.ts +2 -2
  333. package/dist/temporal-timeline-recall.d.ts +1 -1
  334. package/dist/temporal-validity.d.ts +1 -1
  335. package/dist/threading.d.ts +1 -1
  336. package/dist/tier-migration.d.ts +2 -2
  337. package/dist/tier-routing.d.ts +1 -1
  338. package/dist/topics.d.ts +1 -1
  339. package/dist/transcript.d.ts +1 -1
  340. package/dist/transfer/types.d.ts +66 -66
  341. package/dist/trust-score-stage.d.ts +1 -1
  342. package/dist/trust-score.d.ts +1 -1
  343. package/dist/{types-CkiDUorT.d.ts → types-d_j4vC6N.d.ts} +26 -1
  344. package/dist/types.d.ts +1 -1
  345. package/dist/utility-runtime.d.ts +1 -1
  346. package/dist/verified-recall.js +12 -12
  347. package/dist/write-envelope.d.ts +1 -1
  348. package/dist/write-envelope.js +2 -2
  349. package/package.json +2 -2
  350. package/src/access-offline-manifest.ts +1 -0
  351. package/src/access-service-offline-file-content.test.ts +1 -0
  352. package/src/content-hash.ts +34 -1
  353. package/src/dedup/index.test.ts +56 -38
  354. package/src/dedup/index.ts +85 -38
  355. package/src/lifecycle/tombstones.test.ts +763 -16
  356. package/src/lifecycle/tombstones.ts +217 -50
  357. package/src/reconcile/manifest.test.ts +158 -1
  358. package/src/reconcile/manifest.ts +76 -22
  359. package/src/storage/content-hash-index.ts +56 -40
  360. package/src/storage/entity-ref-repair.ts +3 -3
  361. package/src/storage/memory-read-store.ts +9 -0
  362. package/src/storage/tombstone-blocked-capture-index.ts +4 -9
  363. package/src/storage-contract/content-hash.test.ts +13 -0
  364. package/src/storage-fact-hash-index-defer.test.ts +1 -1
  365. package/src/storage.ts +107 -93
  366. package/src/structured-attributes.ts +11 -0
  367. package/src/wearables/cleanup.test.ts +71 -0
  368. package/src/wearables/cleanup.ts +163 -16
  369. package/src/wearables/config.test.ts +62 -0
  370. package/src/wearables/config.ts +99 -5
  371. package/src/wearables/index.ts +10 -0
  372. package/src/wearables/pipeline.test.ts +36 -0
  373. package/src/wearables/pipeline.ts +18 -3
  374. package/src/wearables/redaction.test.ts +156 -0
  375. package/src/wearables/redaction.ts +102 -10
  376. package/src/wearables/text-language.ts +146 -0
  377. package/src/wearables/types.ts +26 -0
  378. package/dist/chunk-BQIFZ2MP.js.map +0 -1
  379. package/dist/chunk-DLG5V6ND.js.map +0 -1
  380. package/dist/chunk-IARXXZU4.js.map +0 -1
  381. package/dist/chunk-JJRVPWFY.js.map +0 -1
  382. package/dist/chunk-NDAH7BJ5.js.map +0 -1
  383. package/dist/chunk-R3DJVOSM.js.map +0 -1
  384. package/dist/chunk-VHFXP27N.js.map +0 -1
  385. package/dist/chunk-W5H6ZRPT.js +0 -14
  386. package/dist/chunk-W5H6ZRPT.js.map +0 -1
  387. package/dist/chunk-WD5B5AIE.js.map +0 -1
  388. /package/dist/{auto-sync-QFQGOEO2.js.map → auto-sync-TDHLZPVP.js.map} +0 -0
  389. /package/dist/{chunk-MLXZD4WM.js.map → chunk-2GFK22OZ.js.map} +0 -0
  390. /package/dist/{chunk-RANKJI5T.js.map → chunk-3JLPGJ43.js.map} +0 -0
  391. /package/dist/{chunk-X7XEDOSL.js.map → chunk-4IIFL7GC.js.map} +0 -0
  392. /package/dist/{chunk-GXSOUIA4.js.map → chunk-5WQMORU5.js.map} +0 -0
  393. /package/dist/{chunk-J272WKX2.js.map → chunk-6HPHEFXT.js.map} +0 -0
  394. /package/dist/{chunk-B6LZ4IBH.js.map → chunk-6LAPLZOS.js.map} +0 -0
  395. /package/dist/{chunk-VXCNQYTC.js.map → chunk-APPFNGX6.js.map} +0 -0
  396. /package/dist/{chunk-GXFSQ6SD.js.map → chunk-C4ZNGVK3.js.map} +0 -0
  397. /package/dist/{chunk-JSEJH2YQ.js.map → chunk-CGVHPCP2.js.map} +0 -0
  398. /package/dist/{chunk-TEMSWHQD.js.map → chunk-DZD576ZU.js.map} +0 -0
  399. /package/dist/{chunk-AMTEYNYK.js.map → chunk-EVWWT3KE.js.map} +0 -0
  400. /package/dist/{chunk-AXIDQG5A.js.map → chunk-G4T7L557.js.map} +0 -0
  401. /package/dist/{chunk-7M6NYQWB.js.map → chunk-G7Z6EENO.js.map} +0 -0
  402. /package/dist/{chunk-YXKVLYXU.js.map → chunk-HWRD23DW.js.map} +0 -0
  403. /package/dist/{chunk-SOEN6KCF.js.map → chunk-IBKR2TFR.js.map} +0 -0
  404. /package/dist/{chunk-F4EU6VUC.js.map → chunk-JDZPNCMA.js.map} +0 -0
  405. /package/dist/{chunk-D5YOZ66N.js.map → chunk-JV5YUBIZ.js.map} +0 -0
  406. /package/dist/{chunk-BAKXNQ3C.js.map → chunk-KRTY3ENI.js.map} +0 -0
  407. /package/dist/{chunk-NK5RGJ65.js.map → chunk-L4DLLKPN.js.map} +0 -0
  408. /package/dist/{chunk-VFSAWRMZ.js.map → chunk-LJS7KUPV.js.map} +0 -0
  409. /package/dist/{chunk-NOEMGE56.js.map → chunk-NH5IR2WM.js.map} +0 -0
  410. /package/dist/{chunk-5V6IXHPI.js.map → chunk-NSVDUN76.js.map} +0 -0
  411. /package/dist/{chunk-W7Y5JDVB.js.map → chunk-PDDTI7IC.js.map} +0 -0
  412. /package/dist/{chunk-QINJITDS.js.map → chunk-PX2LSHYM.js.map} +0 -0
  413. /package/dist/{chunk-HDIUYMSB.js.map → chunk-QWGE2PUH.js.map} +0 -0
  414. /package/dist/{chunk-X57M2Q4I.js.map → chunk-RDJRFDJY.js.map} +0 -0
  415. /package/dist/{chunk-RYLEDKQ2.js.map → chunk-RUMNY5DT.js.map} +0 -0
  416. /package/dist/{chunk-BKIFTXHR.js.map → chunk-RZ4XGKOJ.js.map} +0 -0
  417. /package/dist/{chunk-66SE3BNH.js.map → chunk-SUPEYLH2.js.map} +0 -0
  418. /package/dist/{chunk-BF6SXNQJ.js.map → chunk-T2JHZWH6.js.map} +0 -0
  419. /package/dist/{chunk-QPOHMO6M.js.map → chunk-UES4BHA2.js.map} +0 -0
  420. /package/dist/{chunk-XAPMEU3K.js.map → chunk-UU7TRFNE.js.map} +0 -0
  421. /package/dist/{chunk-QBSFOKY6.js.map → chunk-VOELBUS4.js.map} +0 -0
  422. /package/dist/{chunk-2LY6GIIE.js.map → chunk-WDBX6VER.js.map} +0 -0
  423. /package/dist/{chunk-BMEYMKWX.js.map → chunk-WM65LU67.js.map} +0 -0
  424. /package/dist/{chunk-WLRD2TXF.js.map → chunk-WOPA3SGI.js.map} +0 -0
  425. /package/dist/{chunk-5UZ6UCOZ.js.map → chunk-XUAMCLY4.js.map} +0 -0
  426. /package/dist/{chunk-7HXZJAID.js.map → chunk-YGLY6QFV.js.map} +0 -0
  427. /package/dist/{chunk-2OIQDTDC.js.map → chunk-ZPJ4QSGP.js.map} +0 -0
  428. /package/dist/{chunk-3OY7KXHM.js.map → chunk-ZYLC7NFO.js.map} +0 -0
  429. /package/dist/{resolution-MDPNOEG6.js.map → resolution-MMOD5WC4.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
5
5
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
6
6
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
7
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DHy5LtTy.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BiXgBJBQ.js';
8
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
9
9
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
10
10
  export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
@@ -14,8 +14,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
14
14
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
15
15
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
16
16
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
17
- import { S as StorageManager, a as MeetingRecordStore } from './storage-BmVudhk4.js';
18
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-BmVudhk4.js';
17
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-DqCzXi56.js';
18
+ export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-DqCzXi56.js';
19
19
  import { SealedMemoryEnvelope } from './write-envelope.js';
20
20
  export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
21
21
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -24,13 +24,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
24
24
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
25
25
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
26
26
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
27
- import { C as CodingContext, bi as CodingModeConfig, ba as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aZ as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, a_ as WearableSourceSettings, b2 as WearablesConfig, b1 as WearableSourceConnector, b6 as WearableCorrectionRule, br as WearableDayTranscriptMeta, b5 as WearableDayTranscript, aH as ActivitySnapshot, bs as ActivityDayMeta, bt as ActivityDayDigest, aK as ActivitySourceClient, bu as ActivitySourceCheck, bv as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bw as MeetingsDetectionConfig, b9 as MeetingsDetectionInput, bc as DetectedMeeting, b8 as MeetingsConfig, aO as MeetingRecord, bx as MeetingAudioWindow, by as MeetingAppSpan } from './types-CkiDUorT.js';
28
- export { bz as ActivityExtractionMode, aJ as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, bA as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bB as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bC as BriefingWindow, a7 as BufferSurpriseEvent, bD as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bE as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bF as CodexCompatConfig, bh as ConsolidationObservation, bG as DEFAULT_RECALL_DISCLOSURE, bH as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bI as FusedContribution, bJ as FusedConversationProvenance, aN as FusedDayFile, aM as FusedDayMeta, aQ as FusedMeeting, bK as FusedSegmentProvenance, aL as FusedWearableConversation, bL as FusionSegmentInput, G as GatewayConfig, bM as ImportSourceRole, a8 as ImportTurn, bN as ImportTurnValidationIssue, bb as MeetingActivitySnapshot, b7 as MeetingBuildInput, aP as MeetingDetectionSource, bO as MeetingScreenContextEvent, bP as MeetingSummaryMode, as as MemoryActionEligibilityContext, bQ as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bR as MemoryObservation, bS as MemoryScope, bT as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bU as SegmentPickReason, bV as WearableAuthCheck, bW as WearableFetchOptions, bX as WearableFetchPage, b0 as WearableMemoryMode, a$ as WearableNativeMemory, bY as WearableNativeMemoryPage, b4 as WearableSourceStatus, b3 as WearableSyncSummary, bZ as WearableTranscriptSegment, b_ as isImportRole, b$ as isRecallDisclosure, c0 as parseIsoTimestamp, c1 as validateImportTurn } from './types-CkiDUorT.js';
27
+ import { C as CodingContext, bi as CodingModeConfig, ba as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aZ as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, a_ as WearableSourceSettings, b2 as WearablesConfig, b1 as WearableSourceConnector, br as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, b5 as WearableDayTranscript, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, b9 as MeetingsDetectionInput, bc as DetectedMeeting, b8 as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-d_j4vC6N.js';
28
+ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, aN as FusedDayFile, aM as FusedDayMeta, aQ as FusedMeeting, bL as FusedSegmentProvenance, aL as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, bb as MeetingActivitySnapshot, b7 as MeetingBuildInput, aP as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, b0 as WearableMemoryMode, a$ as WearableNativeMemory, bZ as WearableNativeMemoryPage, b4 as WearableSourceStatus, b3 as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-d_j4vC6N.js';
29
29
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
30
30
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
31
31
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
32
- import { f as EngramAccessService } from './access-service-Cbk3bNbD.js';
33
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-Cbk3bNbD.js';
32
+ import { f as EngramAccessService } from './access-service-CXvbxLK-.js';
33
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-CXvbxLK-.js';
34
34
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
35
35
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
36
36
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -38,13 +38,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
38
38
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
39
39
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
40
40
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
41
- export { Q as QmdClient } from './qmd-Dhle1P4X.js';
41
+ export { Q as QmdClient } from './qmd-eAWObK4M.js';
42
42
  export { LanceDbBackend } from './search/lancedb-backend.js';
43
43
  export { OramaBackend } from './search/orama-backend.js';
44
44
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
45
45
  export { buildEntityRecallSection } from './entity-retrieval.js';
46
46
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
47
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-D3B4RDy1.js';
47
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-BOOxl-I2.js';
48
48
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
49
49
  export { storagePathHash } from './storage-paths.js';
50
50
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -75,8 +75,8 @@ export { initLogger, log } from './logger.js';
75
75
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
76
76
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
77
77
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
78
- import { D as DiscoveredExtension } from './semantic-consolidation-DLDKvyy5.js';
79
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DLDKvyy5.js';
78
+ import { D as DiscoveredExtension } from './semantic-consolidation-HD8RkzVA.js';
79
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-HD8RkzVA.js';
80
80
  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';
81
81
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
82
82
  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';
@@ -91,12 +91,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
91
91
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
92
92
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
93
93
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
94
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-D21Rs6gW.js';
95
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-DMAFI0qt.js';
96
- 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-PT2_z7xm.js';
97
- 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-PT2_z7xm.js';
98
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-kBII2qUI.js';
99
- 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-kBII2qUI.js';
94
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-sz_dcuLg.js';
95
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-DVUFIa5E.js';
96
+ 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-DIrtHHEg.js';
97
+ 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-DIrtHHEg.js';
98
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-BJzNIKBE.js';
99
+ 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-BJzNIKBE.js';
100
100
  import { SearchExecutionOptions } from './search/port.js';
101
101
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
102
102
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -114,7 +114,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
114
114
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
115
115
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
116
116
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
117
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-NzGPDXLn.js';
117
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-BBQsXuyj.js';
118
118
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
119
119
  export { ContinuityImprovementLoop } from './types-continuity.js';
120
120
  export { EngramAccessInputError } from './access-errors.js';
@@ -162,7 +162,7 @@ import './conversation-index/chunker.js';
162
162
  import './conversation-index/backend.js';
163
163
  import './faiss-adapter-BHecI1fF.js';
164
164
  import './runtime/child-process.js';
165
- import './dependency-propagation-delivery-D63r24pH.js';
165
+ import './dependency-propagation-delivery-XzF76C9n.js';
166
166
  import './namespaces/storage.js';
167
167
  import './threading.js';
168
168
  import './graph-444E-DrF.js';
@@ -181,7 +181,7 @@ import './policy-runtime.js';
181
181
  import './profiling.js';
182
182
  import './schemas.js';
183
183
  import './extraction-error-classification.js';
184
- import './access-namespace-preflight-Ds6CGlCP.js';
184
+ import './access-namespace-preflight-C7n4tgWC.js';
185
185
  import './recall-explain-renderer.js';
186
186
  import './access-citation.js';
187
187
  import './access-health-types.js';
@@ -893,15 +893,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
893
893
  locator: z.ZodOptional<z.ZodString>;
894
894
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
895
895
  }, "strict", z.ZodTypeAny, {
896
- id: string;
896
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
897
897
  label: string;
898
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
898
+ id: string;
899
899
  capture: "at_action" | "historical_lookup" | "fixture";
900
900
  locator?: string | undefined;
901
901
  }, {
902
- id: string;
902
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
903
903
  label: string;
904
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
904
+ id: string;
905
905
  capture: "at_action" | "historical_lookup" | "fixture";
906
906
  locator?: string | undefined;
907
907
  }>;
@@ -918,15 +918,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
918
918
  locator: z.ZodOptional<z.ZodString>;
919
919
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
920
920
  }, "strict", z.ZodTypeAny, {
921
- id: string;
921
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
922
922
  label: string;
923
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
923
+ id: string;
924
924
  capture: "at_action" | "historical_lookup" | "fixture";
925
925
  locator?: string | undefined;
926
926
  }, {
927
- id: string;
927
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
928
928
  label: string;
929
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
929
+ id: string;
930
930
  capture: "at_action" | "historical_lookup" | "fixture";
931
931
  locator?: string | undefined;
932
932
  }>, "many">>;
@@ -934,9 +934,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
934
934
  kind: "mission_started";
935
935
  title: string;
936
936
  evidence: {
937
- id: string;
937
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
938
938
  label: string;
939
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
939
+ id: string;
940
940
  capture: "at_action" | "historical_lookup" | "fixture";
941
941
  locator?: string | undefined;
942
942
  }[];
@@ -948,9 +948,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
948
948
  objective: string;
949
949
  runMode: "replay" | "fixture" | "live";
950
950
  evidence?: {
951
- id: string;
951
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
952
952
  label: string;
953
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
953
+ id: string;
954
954
  capture: "at_action" | "historical_lookup" | "fixture";
955
955
  locator?: string | undefined;
956
956
  }[] | undefined;
@@ -966,15 +966,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
966
966
  locator: z.ZodOptional<z.ZodString>;
967
967
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
968
968
  }, "strict", z.ZodTypeAny, {
969
- id: string;
969
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
970
970
  label: string;
971
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
971
+ id: string;
972
972
  capture: "at_action" | "historical_lookup" | "fixture";
973
973
  locator?: string | undefined;
974
974
  }, {
975
- id: string;
975
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
976
976
  label: string;
977
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
977
+ id: string;
978
978
  capture: "at_action" | "historical_lookup" | "fixture";
979
979
  locator?: string | undefined;
980
980
  }>, "many">>;
@@ -982,32 +982,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
982
982
  sessionId: z.ZodString;
983
983
  kind: z.ZodLiteral<"agent_status">;
984
984
  }, "strict", z.ZodTypeAny, {
985
- label: string;
986
- status: "failed" | "blocked" | "working" | "complete" | "idle";
987
985
  kind: "agent_status";
986
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
987
+ label: string;
988
988
  role: string;
989
989
  agentId: string;
990
990
  sessionId: string;
991
991
  evidence: {
992
- id: string;
992
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
993
993
  label: string;
994
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
994
+ id: string;
995
995
  capture: "at_action" | "historical_lookup" | "fixture";
996
996
  locator?: string | undefined;
997
997
  }[];
998
998
  detail?: string | undefined;
999
999
  }, {
1000
- label: string;
1001
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1002
1000
  kind: "agent_status";
1001
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1002
+ label: string;
1003
1003
  role: string;
1004
1004
  agentId: string;
1005
1005
  sessionId: string;
1006
1006
  detail?: string | undefined;
1007
1007
  evidence?: {
1008
- id: string;
1008
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1009
1009
  label: string;
1010
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1010
+ id: string;
1011
1011
  capture: "at_action" | "historical_lookup" | "fixture";
1012
1012
  locator?: string | undefined;
1013
1013
  }[] | undefined;
@@ -1021,15 +1021,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1021
1021
  locator: z.ZodOptional<z.ZodString>;
1022
1022
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1023
1023
  }, "strict", z.ZodTypeAny, {
1024
- id: string;
1024
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1025
1025
  label: string;
1026
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1026
+ id: string;
1027
1027
  capture: "at_action" | "historical_lookup" | "fixture";
1028
1028
  locator?: string | undefined;
1029
1029
  }, {
1030
- id: string;
1030
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1031
1031
  label: string;
1032
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1032
+ id: string;
1033
1033
  capture: "at_action" | "historical_lookup" | "fixture";
1034
1034
  locator?: string | undefined;
1035
1035
  }>, "many">>;
@@ -1037,28 +1037,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1037
1037
  sessionId: z.ZodString;
1038
1038
  kind: z.ZodLiteral<"agent_output">;
1039
1039
  }, "strict", z.ZodTypeAny, {
1040
- summary: string;
1041
1040
  kind: "agent_output";
1041
+ summary: string;
1042
1042
  agentId: string;
1043
1043
  sessionId: string;
1044
1044
  evidence: {
1045
- id: string;
1045
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1046
1046
  label: string;
1047
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1047
+ id: string;
1048
1048
  capture: "at_action" | "historical_lookup" | "fixture";
1049
1049
  locator?: string | undefined;
1050
1050
  }[];
1051
1051
  outputId: string;
1052
1052
  }, {
1053
- summary: string;
1054
1053
  kind: "agent_output";
1054
+ summary: string;
1055
1055
  agentId: string;
1056
1056
  sessionId: string;
1057
1057
  outputId: string;
1058
1058
  evidence?: {
1059
- id: string;
1059
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1060
1060
  label: string;
1061
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1061
+ id: string;
1062
1062
  capture: "at_action" | "historical_lookup" | "fixture";
1063
1063
  locator?: string | undefined;
1064
1064
  }[] | undefined;
@@ -1074,15 +1074,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1074
1074
  locator: z.ZodOptional<z.ZodString>;
1075
1075
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1076
1076
  }, "strict", z.ZodTypeAny, {
1077
- id: string;
1077
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1078
1078
  label: string;
1079
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1079
+ id: string;
1080
1080
  capture: "at_action" | "historical_lookup" | "fixture";
1081
1081
  locator?: string | undefined;
1082
1082
  }, {
1083
- id: string;
1083
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1084
1084
  label: string;
1085
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1085
+ id: string;
1086
1086
  capture: "at_action" | "historical_lookup" | "fixture";
1087
1087
  locator?: string | undefined;
1088
1088
  }>, "many">>;
@@ -1095,9 +1095,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1095
1095
  statement: string;
1096
1096
  sessionId: string;
1097
1097
  evidence: {
1098
- id: string;
1098
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1099
1099
  label: string;
1100
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1100
+ id: string;
1101
1101
  capture: "at_action" | "historical_lookup" | "fixture";
1102
1102
  locator?: string | undefined;
1103
1103
  }[];
@@ -1113,9 +1113,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1113
1113
  decisionId: string;
1114
1114
  confidence?: number | undefined;
1115
1115
  evidence?: {
1116
- id: string;
1116
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1117
1117
  label: string;
1118
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1118
+ id: string;
1119
1119
  capture: "at_action" | "historical_lookup" | "fixture";
1120
1120
  locator?: string | undefined;
1121
1121
  }[] | undefined;
@@ -1132,25 +1132,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1132
1132
  locator: z.ZodOptional<z.ZodString>;
1133
1133
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1134
1134
  }, "strict", z.ZodTypeAny, {
1135
- id: string;
1135
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1136
1136
  label: string;
1137
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1137
+ id: string;
1138
1138
  capture: "at_action" | "historical_lookup" | "fixture";
1139
1139
  locator?: string | undefined;
1140
1140
  }, {
1141
- id: string;
1141
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1142
1142
  label: string;
1143
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1143
+ id: string;
1144
1144
  capture: "at_action" | "historical_lookup" | "fixture";
1145
1145
  locator?: string | undefined;
1146
1146
  }>, "many">>;
1147
1147
  }, "strict", z.ZodTypeAny, {
1148
- summary: string;
1149
1148
  kind: "conflict_detected";
1149
+ summary: string;
1150
1150
  evidence: {
1151
- id: string;
1151
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1152
1152
  label: string;
1153
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1153
+ id: string;
1154
1154
  capture: "at_action" | "historical_lookup" | "fixture";
1155
1155
  locator?: string | undefined;
1156
1156
  }[];
@@ -1158,15 +1158,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1158
1158
  decisionIds: string[];
1159
1159
  agentIds: string[];
1160
1160
  }, {
1161
- summary: string;
1162
1161
  kind: "conflict_detected";
1162
+ summary: string;
1163
1163
  conflictId: string;
1164
1164
  decisionIds: string[];
1165
1165
  agentIds: string[];
1166
1166
  evidence?: {
1167
- id: string;
1167
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1168
1168
  label: string;
1169
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1169
+ id: string;
1170
1170
  capture: "at_action" | "historical_lookup" | "fixture";
1171
1171
  locator?: string | undefined;
1172
1172
  }[] | undefined;
@@ -1186,27 +1186,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1186
1186
  locator: z.ZodOptional<z.ZodString>;
1187
1187
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1188
1188
  }, "strict", z.ZodTypeAny, {
1189
- id: string;
1189
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1190
1190
  label: string;
1191
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1191
+ id: string;
1192
1192
  capture: "at_action" | "historical_lookup" | "fixture";
1193
1193
  locator?: string | undefined;
1194
1194
  }, {
1195
- id: string;
1195
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1196
1196
  label: string;
1197
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1197
+ id: string;
1198
1198
  capture: "at_action" | "historical_lookup" | "fixture";
1199
1199
  locator?: string | undefined;
1200
1200
  }>, "many">>;
1201
1201
  }, "strict", z.ZodTypeAny, {
1202
+ kind: "test_result";
1202
1203
  summary: string;
1203
1204
  status: "error" | "failed" | "passed";
1204
- kind: "test_result";
1205
1205
  command: string;
1206
1206
  evidence: {
1207
- id: string;
1207
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1208
1208
  label: string;
1209
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1209
+ id: string;
1210
1210
  capture: "at_action" | "historical_lookup" | "fixture";
1211
1211
  locator?: string | undefined;
1212
1212
  }[];
@@ -1215,17 +1215,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1215
1215
  durationMs?: number | undefined;
1216
1216
  correctionId?: string | undefined;
1217
1217
  }, {
1218
+ kind: "test_result";
1218
1219
  summary: string;
1219
1220
  status: "error" | "failed" | "passed";
1220
- kind: "test_result";
1221
1221
  command: string;
1222
1222
  decisionId: string;
1223
1223
  testId: string;
1224
1224
  durationMs?: number | undefined;
1225
1225
  evidence?: {
1226
- id: string;
1226
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1227
1227
  label: string;
1228
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1228
+ id: string;
1229
1229
  capture: "at_action" | "historical_lookup" | "fixture";
1230
1230
  locator?: string | undefined;
1231
1231
  }[] | undefined;
@@ -1246,15 +1246,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1246
1246
  locator: z.ZodOptional<z.ZodString>;
1247
1247
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1248
1248
  }, "strict", z.ZodTypeAny, {
1249
- id: string;
1249
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1250
1250
  label: string;
1251
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1251
+ id: string;
1252
1252
  capture: "at_action" | "historical_lookup" | "fixture";
1253
1253
  locator?: string | undefined;
1254
1254
  }, {
1255
- id: string;
1255
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1256
1256
  label: string;
1257
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1257
+ id: string;
1258
1258
  capture: "at_action" | "historical_lookup" | "fixture";
1259
1259
  locator?: string | undefined;
1260
1260
  }>, "many">>;
@@ -1263,9 +1263,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1263
1263
  rationale: string;
1264
1264
  statement: string;
1265
1265
  evidence: {
1266
- id: string;
1266
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1267
1267
  label: string;
1268
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1268
+ id: string;
1269
1269
  capture: "at_action" | "historical_lookup" | "fixture";
1270
1270
  locator?: string | undefined;
1271
1271
  }[];
@@ -1284,9 +1284,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1284
1284
  supersedesDecisionIds: string[];
1285
1285
  proposedBy: string;
1286
1286
  evidence?: {
1287
- id: string;
1287
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1288
1288
  label: string;
1289
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1289
+ id: string;
1290
1290
  capture: "at_action" | "historical_lookup" | "fixture";
1291
1291
  locator?: string | undefined;
1292
1292
  }[] | undefined;
@@ -1298,13 +1298,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1298
1298
  id: z.ZodString;
1299
1299
  label: z.ZodString;
1300
1300
  }, "strict", z.ZodTypeAny, {
1301
- id: string;
1302
- label: string;
1303
1301
  kind: "agent" | "human";
1304
- }, {
1305
- id: string;
1306
1302
  label: string;
1303
+ id: string;
1304
+ }, {
1307
1305
  kind: "agent" | "human";
1306
+ label: string;
1307
+ id: string;
1308
1308
  }>;
1309
1309
  note: z.ZodOptional<z.ZodString>;
1310
1310
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1314,47 +1314,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1314
1314
  locator: z.ZodOptional<z.ZodString>;
1315
1315
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1316
1316
  }, "strict", z.ZodTypeAny, {
1317
- id: string;
1317
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1318
1318
  label: string;
1319
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1319
+ id: string;
1320
1320
  capture: "at_action" | "historical_lookup" | "fixture";
1321
1321
  locator?: string | undefined;
1322
1322
  }, {
1323
- id: string;
1323
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1324
1324
  label: string;
1325
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1325
+ id: string;
1326
1326
  capture: "at_action" | "historical_lookup" | "fixture";
1327
1327
  locator?: string | undefined;
1328
1328
  }>, "many">>;
1329
1329
  }, "strict", z.ZodTypeAny, {
1330
1330
  kind: "correction_approved";
1331
1331
  evidence: {
1332
- id: string;
1332
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1333
1333
  label: string;
1334
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1334
+ id: string;
1335
1335
  capture: "at_action" | "historical_lookup" | "fixture";
1336
1336
  locator?: string | undefined;
1337
1337
  }[];
1338
1338
  correctionId: string;
1339
1339
  approvedBy: {
1340
- id: string;
1341
- label: string;
1342
1340
  kind: "agent" | "human";
1341
+ label: string;
1342
+ id: string;
1343
1343
  };
1344
1344
  note?: string | undefined;
1345
1345
  }, {
1346
1346
  kind: "correction_approved";
1347
1347
  correctionId: string;
1348
1348
  approvedBy: {
1349
- id: string;
1350
- label: string;
1351
1349
  kind: "agent" | "human";
1350
+ label: string;
1351
+ id: string;
1352
1352
  };
1353
1353
  note?: string | undefined;
1354
1354
  evidence?: {
1355
- id: string;
1355
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1356
1356
  label: string;
1357
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1357
+ id: string;
1358
1358
  capture: "at_action" | "historical_lookup" | "fixture";
1359
1359
  locator?: string | undefined;
1360
1360
  }[] | undefined;
@@ -1370,24 +1370,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1370
1370
  locator: z.ZodOptional<z.ZodString>;
1371
1371
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1372
1372
  }, "strict", z.ZodTypeAny, {
1373
- id: string;
1373
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1374
1374
  label: string;
1375
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1375
+ id: string;
1376
1376
  capture: "at_action" | "historical_lookup" | "fixture";
1377
1377
  locator?: string | undefined;
1378
1378
  }, {
1379
- id: string;
1379
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1380
1380
  label: string;
1381
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1381
+ id: string;
1382
1382
  capture: "at_action" | "historical_lookup" | "fixture";
1383
1383
  locator?: string | undefined;
1384
1384
  }>, "many">>;
1385
1385
  }, "strict", z.ZodTypeAny, {
1386
1386
  kind: "decision_superseded";
1387
1387
  evidence: {
1388
- id: string;
1388
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1389
1389
  label: string;
1390
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1390
+ id: string;
1391
1391
  capture: "at_action" | "historical_lookup" | "fixture";
1392
1392
  locator?: string | undefined;
1393
1393
  }[];
@@ -1400,9 +1400,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1400
1400
  correctionId: string;
1401
1401
  replacementDecisionId: string;
1402
1402
  evidence?: {
1403
- id: string;
1403
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1404
1404
  label: string;
1405
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1405
+ id: string;
1406
1406
  capture: "at_action" | "historical_lookup" | "fixture";
1407
1407
  locator?: string | undefined;
1408
1408
  }[] | undefined;
@@ -1418,15 +1418,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1418
1418
  locator: z.ZodOptional<z.ZodString>;
1419
1419
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1420
1420
  }, "strict", z.ZodTypeAny, {
1421
- id: string;
1421
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1422
  label: string;
1423
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1423
+ id: string;
1424
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1425
  locator?: string | undefined;
1426
1426
  }, {
1427
- id: string;
1427
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1428
1428
  label: string;
1429
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1429
+ id: string;
1430
1430
  capture: "at_action" | "historical_lookup" | "fixture";
1431
1431
  locator?: string | undefined;
1432
1432
  }>, "many">>;
@@ -1439,9 +1439,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1439
1439
  agentId: string;
1440
1440
  sessionId: string;
1441
1441
  evidence: {
1442
- id: string;
1442
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1443
1443
  label: string;
1444
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1444
+ id: string;
1445
1445
  capture: "at_action" | "historical_lookup" | "fixture";
1446
1446
  locator?: string | undefined;
1447
1447
  }[];
@@ -1457,9 +1457,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1457
1457
  recallReceiptId: string;
1458
1458
  capturedAtAction: boolean;
1459
1459
  evidence?: {
1460
- id: string;
1460
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1461
1461
  label: string;
1462
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1462
+ id: string;
1463
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1464
1464
  locator?: string | undefined;
1465
1465
  }[] | undefined;
@@ -1475,15 +1475,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1475
1475
  locator: z.ZodOptional<z.ZodString>;
1476
1476
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1477
1477
  }, "strict", z.ZodTypeAny, {
1478
- id: string;
1478
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1479
  label: string;
1480
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1480
+ id: string;
1481
1481
  capture: "at_action" | "historical_lookup" | "fixture";
1482
1482
  locator?: string | undefined;
1483
1483
  }, {
1484
- id: string;
1484
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1485
1485
  label: string;
1486
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1486
+ id: string;
1487
1487
  capture: "at_action" | "historical_lookup" | "fixture";
1488
1488
  locator?: string | undefined;
1489
1489
  }>, "many">>;
@@ -1495,9 +1495,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1495
1495
  agentId: string;
1496
1496
  sessionId: string;
1497
1497
  evidence: {
1498
- id: string;
1498
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1499
1499
  label: string;
1500
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1500
+ id: string;
1501
1501
  capture: "at_action" | "historical_lookup" | "fixture";
1502
1502
  locator?: string | undefined;
1503
1503
  }[];
@@ -1514,9 +1514,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1514
1514
  recallReceiptId: string;
1515
1515
  staleDecisionAbsent: boolean;
1516
1516
  evidence?: {
1517
- id: string;
1517
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1518
1518
  label: string;
1519
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1519
+ id: string;
1520
1520
  capture: "at_action" | "historical_lookup" | "fixture";
1521
1521
  locator?: string | undefined;
1522
1522
  }[] | undefined;
@@ -1531,37 +1531,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1531
1531
  locator: z.ZodOptional<z.ZodString>;
1532
1532
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1533
1533
  }, "strict", z.ZodTypeAny, {
1534
- id: string;
1534
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1535
1535
  label: string;
1536
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1536
+ id: string;
1537
1537
  capture: "at_action" | "historical_lookup" | "fixture";
1538
1538
  locator?: string | undefined;
1539
1539
  }, {
1540
- id: string;
1540
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1541
1541
  label: string;
1542
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1542
+ id: string;
1543
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1544
1544
  locator?: string | undefined;
1545
1545
  }>, "many">>;
1546
1546
  }, "strict", z.ZodTypeAny, {
1547
- summary: string;
1548
1547
  kind: "mission_completed";
1548
+ summary: string;
1549
1549
  outcome: "failed" | "recovered" | "inconclusive";
1550
1550
  evidence: {
1551
- id: string;
1551
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1552
1552
  label: string;
1553
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1553
+ id: string;
1554
1554
  capture: "at_action" | "historical_lookup" | "fixture";
1555
1555
  locator?: string | undefined;
1556
1556
  }[];
1557
1557
  }, {
1558
- summary: string;
1559
1558
  kind: "mission_completed";
1559
+ summary: string;
1560
1560
  outcome: "failed" | "recovered" | "inconclusive";
1561
1561
  evidence?: {
1562
- id: string;
1562
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1563
1563
  label: string;
1564
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1564
+ id: string;
1565
1565
  capture: "at_action" | "historical_lookup" | "fixture";
1566
1566
  locator?: string | undefined;
1567
1567
  }[] | undefined;
@@ -1569,38 +1569,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1569
1569
  kind: "mission_started";
1570
1570
  title: string;
1571
1571
  evidence: {
1572
- id: string;
1572
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1573
1573
  label: string;
1574
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1574
+ id: string;
1575
1575
  capture: "at_action" | "historical_lookup" | "fixture";
1576
1576
  locator?: string | undefined;
1577
1577
  }[];
1578
1578
  objective: string;
1579
1579
  runMode: "replay" | "fixture" | "live";
1580
1580
  } | {
1581
- label: string;
1582
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1583
1581
  kind: "agent_status";
1582
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1583
+ label: string;
1584
1584
  role: string;
1585
1585
  agentId: string;
1586
1586
  sessionId: string;
1587
1587
  evidence: {
1588
- id: string;
1588
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1589
1589
  label: string;
1590
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1590
+ id: string;
1591
1591
  capture: "at_action" | "historical_lookup" | "fixture";
1592
1592
  locator?: string | undefined;
1593
1593
  }[];
1594
1594
  detail?: string | undefined;
1595
1595
  } | {
1596
- summary: string;
1597
1596
  kind: "agent_output";
1597
+ summary: string;
1598
1598
  agentId: string;
1599
1599
  sessionId: string;
1600
1600
  evidence: {
1601
- id: string;
1601
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1602
1602
  label: string;
1603
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1603
+ id: string;
1604
1604
  capture: "at_action" | "historical_lookup" | "fixture";
1605
1605
  locator?: string | undefined;
1606
1606
  }[];
@@ -1611,9 +1611,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1611
1611
  statement: string;
1612
1612
  sessionId: string;
1613
1613
  evidence: {
1614
- id: string;
1614
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1615
1615
  label: string;
1616
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1616
+ id: string;
1617
1617
  capture: "at_action" | "historical_lookup" | "fixture";
1618
1618
  locator?: string | undefined;
1619
1619
  }[];
@@ -1621,12 +1621,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1621
1621
  decisionId: string;
1622
1622
  confidence?: number | undefined;
1623
1623
  } | {
1624
- summary: string;
1625
1624
  kind: "conflict_detected";
1625
+ summary: string;
1626
1626
  evidence: {
1627
- id: string;
1627
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1628
1628
  label: string;
1629
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1629
+ id: string;
1630
1630
  capture: "at_action" | "historical_lookup" | "fixture";
1631
1631
  locator?: string | undefined;
1632
1632
  }[];
@@ -1634,14 +1634,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1634
1634
  decisionIds: string[];
1635
1635
  agentIds: string[];
1636
1636
  } | {
1637
+ kind: "test_result";
1637
1638
  summary: string;
1638
1639
  status: "error" | "failed" | "passed";
1639
- kind: "test_result";
1640
1640
  command: string;
1641
1641
  evidence: {
1642
- id: string;
1642
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1643
1643
  label: string;
1644
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1644
+ id: string;
1645
1645
  capture: "at_action" | "historical_lookup" | "fixture";
1646
1646
  locator?: string | undefined;
1647
1647
  }[];
@@ -1654,9 +1654,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1654
1654
  rationale: string;
1655
1655
  statement: string;
1656
1656
  evidence: {
1657
- id: string;
1657
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1658
1658
  label: string;
1659
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1659
+ id: string;
1660
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1661
1661
  locator?: string | undefined;
1662
1662
  }[];
@@ -1668,25 +1668,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1668
1668
  } | {
1669
1669
  kind: "correction_approved";
1670
1670
  evidence: {
1671
- id: string;
1671
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1672
1672
  label: string;
1673
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1673
+ id: string;
1674
1674
  capture: "at_action" | "historical_lookup" | "fixture";
1675
1675
  locator?: string | undefined;
1676
1676
  }[];
1677
1677
  correctionId: string;
1678
1678
  approvedBy: {
1679
- id: string;
1680
- label: string;
1681
1679
  kind: "agent" | "human";
1680
+ label: string;
1681
+ id: string;
1682
1682
  };
1683
1683
  note?: string | undefined;
1684
1684
  } | {
1685
1685
  kind: "decision_superseded";
1686
1686
  evidence: {
1687
- id: string;
1687
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1688
1688
  label: string;
1689
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1689
+ id: string;
1690
1690
  capture: "at_action" | "historical_lookup" | "fixture";
1691
1691
  locator?: string | undefined;
1692
1692
  }[];
@@ -1699,9 +1699,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1699
1699
  agentId: string;
1700
1700
  sessionId: string;
1701
1701
  evidence: {
1702
- id: string;
1702
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1703
1703
  label: string;
1704
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1704
+ id: string;
1705
1705
  capture: "at_action" | "historical_lookup" | "fixture";
1706
1706
  locator?: string | undefined;
1707
1707
  }[];
@@ -1713,9 +1713,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1713
1713
  agentId: string;
1714
1714
  sessionId: string;
1715
1715
  evidence: {
1716
- id: string;
1716
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1717
1717
  label: string;
1718
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1718
+ id: string;
1719
1719
  capture: "at_action" | "historical_lookup" | "fixture";
1720
1720
  locator?: string | undefined;
1721
1721
  }[];
@@ -1724,13 +1724,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1724
1724
  recallReceiptId: string;
1725
1725
  staleDecisionAbsent: boolean;
1726
1726
  } | {
1727
- summary: string;
1728
1727
  kind: "mission_completed";
1728
+ summary: string;
1729
1729
  outcome: "failed" | "recovered" | "inconclusive";
1730
1730
  evidence: {
1731
- id: string;
1731
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1732
1732
  label: string;
1733
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1733
+ id: string;
1734
1734
  capture: "at_action" | "historical_lookup" | "fixture";
1735
1735
  locator?: string | undefined;
1736
1736
  }[];
@@ -1740,37 +1740,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1740
1740
  objective: string;
1741
1741
  runMode: "replay" | "fixture" | "live";
1742
1742
  evidence?: {
1743
- id: string;
1743
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1744
1744
  label: string;
1745
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1745
+ id: string;
1746
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1747
1747
  locator?: string | undefined;
1748
1748
  }[] | undefined;
1749
1749
  } | {
1750
- label: string;
1751
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1752
1750
  kind: "agent_status";
1751
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1752
+ label: string;
1753
1753
  role: string;
1754
1754
  agentId: string;
1755
1755
  sessionId: string;
1756
1756
  detail?: string | undefined;
1757
1757
  evidence?: {
1758
- id: string;
1758
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1759
1759
  label: string;
1760
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1760
+ id: string;
1761
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1762
1762
  locator?: string | undefined;
1763
1763
  }[] | undefined;
1764
1764
  } | {
1765
- summary: string;
1766
1765
  kind: "agent_output";
1766
+ summary: string;
1767
1767
  agentId: string;
1768
1768
  sessionId: string;
1769
1769
  outputId: string;
1770
1770
  evidence?: {
1771
- id: string;
1771
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1772
1772
  label: string;
1773
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1773
+ id: string;
1774
1774
  capture: "at_action" | "historical_lookup" | "fixture";
1775
1775
  locator?: string | undefined;
1776
1776
  }[] | undefined;
@@ -1783,37 +1783,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1783
1783
  decisionId: string;
1784
1784
  confidence?: number | undefined;
1785
1785
  evidence?: {
1786
- id: string;
1786
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1787
1787
  label: string;
1788
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1788
+ id: string;
1789
1789
  capture: "at_action" | "historical_lookup" | "fixture";
1790
1790
  locator?: string | undefined;
1791
1791
  }[] | undefined;
1792
1792
  } | {
1793
- summary: string;
1794
1793
  kind: "conflict_detected";
1794
+ summary: string;
1795
1795
  conflictId: string;
1796
1796
  decisionIds: string[];
1797
1797
  agentIds: string[];
1798
1798
  evidence?: {
1799
- id: string;
1799
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1800
1800
  label: string;
1801
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1801
+ id: string;
1802
1802
  capture: "at_action" | "historical_lookup" | "fixture";
1803
1803
  locator?: string | undefined;
1804
1804
  }[] | undefined;
1805
1805
  } | {
1806
+ kind: "test_result";
1806
1807
  summary: string;
1807
1808
  status: "error" | "failed" | "passed";
1808
- kind: "test_result";
1809
1809
  command: string;
1810
1810
  decisionId: string;
1811
1811
  testId: string;
1812
1812
  durationMs?: number | undefined;
1813
1813
  evidence?: {
1814
- id: string;
1814
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1815
1815
  label: string;
1816
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1816
+ id: string;
1817
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1818
1818
  locator?: string | undefined;
1819
1819
  }[] | undefined;
@@ -1828,9 +1828,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1828
1828
  supersedesDecisionIds: string[];
1829
1829
  proposedBy: string;
1830
1830
  evidence?: {
1831
- id: string;
1831
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1832
1832
  label: string;
1833
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1833
+ id: string;
1834
1834
  capture: "at_action" | "historical_lookup" | "fixture";
1835
1835
  locator?: string | undefined;
1836
1836
  }[] | undefined;
@@ -1838,15 +1838,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1838
1838
  kind: "correction_approved";
1839
1839
  correctionId: string;
1840
1840
  approvedBy: {
1841
- id: string;
1842
- label: string;
1843
1841
  kind: "agent" | "human";
1842
+ label: string;
1843
+ id: string;
1844
1844
  };
1845
1845
  note?: string | undefined;
1846
1846
  evidence?: {
1847
- id: string;
1847
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1848
1848
  label: string;
1849
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1849
+ id: string;
1850
1850
  capture: "at_action" | "historical_lookup" | "fixture";
1851
1851
  locator?: string | undefined;
1852
1852
  }[] | undefined;
@@ -1856,9 +1856,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1856
1856
  correctionId: string;
1857
1857
  replacementDecisionId: string;
1858
1858
  evidence?: {
1859
- id: string;
1859
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1860
1860
  label: string;
1861
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1861
+ id: string;
1862
1862
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1863
  locator?: string | undefined;
1864
1864
  }[] | undefined;
@@ -1871,9 +1871,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1871
1871
  recallReceiptId: string;
1872
1872
  capturedAtAction: boolean;
1873
1873
  evidence?: {
1874
- id: string;
1874
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1875
1875
  label: string;
1876
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1876
+ id: string;
1877
1877
  capture: "at_action" | "historical_lookup" | "fixture";
1878
1878
  locator?: string | undefined;
1879
1879
  }[] | undefined;
@@ -1886,20 +1886,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1886
1886
  recallReceiptId: string;
1887
1887
  staleDecisionAbsent: boolean;
1888
1888
  evidence?: {
1889
- id: string;
1889
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1890
1890
  label: string;
1891
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1891
+ id: string;
1892
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1893
1893
  locator?: string | undefined;
1894
1894
  }[] | undefined;
1895
1895
  } | {
1896
- summary: string;
1897
1896
  kind: "mission_completed";
1897
+ summary: string;
1898
1898
  outcome: "failed" | "recovered" | "inconclusive";
1899
1899
  evidence?: {
1900
- id: string;
1900
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1901
  label: string;
1902
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1902
+ id: string;
1903
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1904
  locator?: string | undefined;
1905
1905
  }[] | undefined;
@@ -1920,15 +1920,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1920
1920
  locator: z.ZodOptional<z.ZodString>;
1921
1921
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1922
1922
  }, "strict", z.ZodTypeAny, {
1923
- id: string;
1923
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1924
1924
  label: string;
1925
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1925
+ id: string;
1926
1926
  capture: "at_action" | "historical_lookup" | "fixture";
1927
1927
  locator?: string | undefined;
1928
1928
  }, {
1929
- id: string;
1929
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1930
1930
  label: string;
1931
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1931
+ id: string;
1932
1932
  capture: "at_action" | "historical_lookup" | "fixture";
1933
1933
  locator?: string | undefined;
1934
1934
  }>, "many">>;
@@ -1936,9 +1936,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1936
1936
  kind: "mission_started";
1937
1937
  title: string;
1938
1938
  evidence: {
1939
- id: string;
1939
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1940
1940
  label: string;
1941
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1941
+ id: string;
1942
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1943
1943
  locator?: string | undefined;
1944
1944
  }[];
@@ -1950,9 +1950,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1950
1950
  objective: string;
1951
1951
  runMode: "replay" | "fixture" | "live";
1952
1952
  evidence?: {
1953
- id: string;
1953
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1954
1954
  label: string;
1955
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1955
+ id: string;
1956
1956
  capture: "at_action" | "historical_lookup" | "fixture";
1957
1957
  locator?: string | undefined;
1958
1958
  }[] | undefined;
@@ -1968,15 +1968,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1968
1968
  locator: z.ZodOptional<z.ZodString>;
1969
1969
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1970
1970
  }, "strict", z.ZodTypeAny, {
1971
- id: string;
1971
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1972
1972
  label: string;
1973
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1973
+ id: string;
1974
1974
  capture: "at_action" | "historical_lookup" | "fixture";
1975
1975
  locator?: string | undefined;
1976
1976
  }, {
1977
- id: string;
1977
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1978
1978
  label: string;
1979
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1979
+ id: string;
1980
1980
  capture: "at_action" | "historical_lookup" | "fixture";
1981
1981
  locator?: string | undefined;
1982
1982
  }>, "many">>;
@@ -1984,32 +1984,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1984
1984
  sessionId: z.ZodString;
1985
1985
  kind: z.ZodLiteral<"agent_status">;
1986
1986
  }, "strict", z.ZodTypeAny, {
1987
- label: string;
1988
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1989
1987
  kind: "agent_status";
1988
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1989
+ label: string;
1990
1990
  role: string;
1991
1991
  agentId: string;
1992
1992
  sessionId: string;
1993
1993
  evidence: {
1994
- id: string;
1994
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1995
1995
  label: string;
1996
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1996
+ id: string;
1997
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1998
1998
  locator?: string | undefined;
1999
1999
  }[];
2000
2000
  detail?: string | undefined;
2001
2001
  }, {
2002
- label: string;
2003
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2004
2002
  kind: "agent_status";
2003
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2004
+ label: string;
2005
2005
  role: string;
2006
2006
  agentId: string;
2007
2007
  sessionId: string;
2008
2008
  detail?: string | undefined;
2009
2009
  evidence?: {
2010
- id: string;
2010
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2011
2011
  label: string;
2012
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2012
+ id: string;
2013
2013
  capture: "at_action" | "historical_lookup" | "fixture";
2014
2014
  locator?: string | undefined;
2015
2015
  }[] | undefined;
@@ -2023,15 +2023,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2023
2023
  locator: z.ZodOptional<z.ZodString>;
2024
2024
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2025
2025
  }, "strict", z.ZodTypeAny, {
2026
- id: string;
2026
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2027
2027
  label: string;
2028
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2028
+ id: string;
2029
2029
  capture: "at_action" | "historical_lookup" | "fixture";
2030
2030
  locator?: string | undefined;
2031
2031
  }, {
2032
- id: string;
2032
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2033
2033
  label: string;
2034
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2034
+ id: string;
2035
2035
  capture: "at_action" | "historical_lookup" | "fixture";
2036
2036
  locator?: string | undefined;
2037
2037
  }>, "many">>;
@@ -2039,28 +2039,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2039
2039
  sessionId: z.ZodString;
2040
2040
  kind: z.ZodLiteral<"agent_output">;
2041
2041
  }, "strict", z.ZodTypeAny, {
2042
- summary: string;
2043
2042
  kind: "agent_output";
2043
+ summary: string;
2044
2044
  agentId: string;
2045
2045
  sessionId: string;
2046
2046
  evidence: {
2047
- id: string;
2047
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2048
2048
  label: string;
2049
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2049
+ id: string;
2050
2050
  capture: "at_action" | "historical_lookup" | "fixture";
2051
2051
  locator?: string | undefined;
2052
2052
  }[];
2053
2053
  outputId: string;
2054
2054
  }, {
2055
- summary: string;
2056
2055
  kind: "agent_output";
2056
+ summary: string;
2057
2057
  agentId: string;
2058
2058
  sessionId: string;
2059
2059
  outputId: string;
2060
2060
  evidence?: {
2061
- id: string;
2061
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2062
2062
  label: string;
2063
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2063
+ id: string;
2064
2064
  capture: "at_action" | "historical_lookup" | "fixture";
2065
2065
  locator?: string | undefined;
2066
2066
  }[] | undefined;
@@ -2076,15 +2076,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2076
2076
  locator: z.ZodOptional<z.ZodString>;
2077
2077
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2078
2078
  }, "strict", z.ZodTypeAny, {
2079
- id: string;
2079
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2080
2080
  label: string;
2081
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2081
+ id: string;
2082
2082
  capture: "at_action" | "historical_lookup" | "fixture";
2083
2083
  locator?: string | undefined;
2084
2084
  }, {
2085
- id: string;
2085
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2086
  label: string;
2087
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2087
+ id: string;
2088
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2089
  locator?: string | undefined;
2090
2090
  }>, "many">>;
@@ -2097,9 +2097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2097
2097
  statement: string;
2098
2098
  sessionId: string;
2099
2099
  evidence: {
2100
- id: string;
2100
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2101
2101
  label: string;
2102
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2102
+ id: string;
2103
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2104
  locator?: string | undefined;
2105
2105
  }[];
@@ -2115,9 +2115,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2115
2115
  decisionId: string;
2116
2116
  confidence?: number | undefined;
2117
2117
  evidence?: {
2118
- id: string;
2118
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2119
2119
  label: string;
2120
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2120
+ id: string;
2121
2121
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2122
  locator?: string | undefined;
2123
2123
  }[] | undefined;
@@ -2134,25 +2134,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2134
2134
  locator: z.ZodOptional<z.ZodString>;
2135
2135
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2136
2136
  }, "strict", z.ZodTypeAny, {
2137
- id: string;
2137
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2138
2138
  label: string;
2139
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2139
+ id: string;
2140
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2141
2141
  locator?: string | undefined;
2142
2142
  }, {
2143
- id: string;
2143
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2144
2144
  label: string;
2145
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2145
+ id: string;
2146
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2147
2147
  locator?: string | undefined;
2148
2148
  }>, "many">>;
2149
2149
  }, "strict", z.ZodTypeAny, {
2150
- summary: string;
2151
2150
  kind: "conflict_detected";
2151
+ summary: string;
2152
2152
  evidence: {
2153
- id: string;
2153
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2154
2154
  label: string;
2155
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2155
+ id: string;
2156
2156
  capture: "at_action" | "historical_lookup" | "fixture";
2157
2157
  locator?: string | undefined;
2158
2158
  }[];
@@ -2160,15 +2160,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2160
2160
  decisionIds: string[];
2161
2161
  agentIds: string[];
2162
2162
  }, {
2163
- summary: string;
2164
2163
  kind: "conflict_detected";
2164
+ summary: string;
2165
2165
  conflictId: string;
2166
2166
  decisionIds: string[];
2167
2167
  agentIds: string[];
2168
2168
  evidence?: {
2169
- id: string;
2169
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2170
2170
  label: string;
2171
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2171
+ id: string;
2172
2172
  capture: "at_action" | "historical_lookup" | "fixture";
2173
2173
  locator?: string | undefined;
2174
2174
  }[] | undefined;
@@ -2188,27 +2188,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2188
2188
  locator: z.ZodOptional<z.ZodString>;
2189
2189
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2190
2190
  }, "strict", z.ZodTypeAny, {
2191
- id: string;
2191
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2192
  label: string;
2193
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2193
+ id: string;
2194
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2195
2195
  locator?: string | undefined;
2196
2196
  }, {
2197
- id: string;
2197
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2198
2198
  label: string;
2199
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2199
+ id: string;
2200
2200
  capture: "at_action" | "historical_lookup" | "fixture";
2201
2201
  locator?: string | undefined;
2202
2202
  }>, "many">>;
2203
2203
  }, "strict", z.ZodTypeAny, {
2204
+ kind: "test_result";
2204
2205
  summary: string;
2205
2206
  status: "error" | "failed" | "passed";
2206
- kind: "test_result";
2207
2207
  command: string;
2208
2208
  evidence: {
2209
- id: string;
2209
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2210
2210
  label: string;
2211
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2211
+ id: string;
2212
2212
  capture: "at_action" | "historical_lookup" | "fixture";
2213
2213
  locator?: string | undefined;
2214
2214
  }[];
@@ -2217,17 +2217,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2217
2217
  durationMs?: number | undefined;
2218
2218
  correctionId?: string | undefined;
2219
2219
  }, {
2220
+ kind: "test_result";
2220
2221
  summary: string;
2221
2222
  status: "error" | "failed" | "passed";
2222
- kind: "test_result";
2223
2223
  command: string;
2224
2224
  decisionId: string;
2225
2225
  testId: string;
2226
2226
  durationMs?: number | undefined;
2227
2227
  evidence?: {
2228
- id: string;
2228
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2229
2229
  label: string;
2230
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2230
+ id: string;
2231
2231
  capture: "at_action" | "historical_lookup" | "fixture";
2232
2232
  locator?: string | undefined;
2233
2233
  }[] | undefined;
@@ -2248,15 +2248,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2248
2248
  locator: z.ZodOptional<z.ZodString>;
2249
2249
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2250
2250
  }, "strict", z.ZodTypeAny, {
2251
- id: string;
2251
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2252
2252
  label: string;
2253
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2253
+ id: string;
2254
2254
  capture: "at_action" | "historical_lookup" | "fixture";
2255
2255
  locator?: string | undefined;
2256
2256
  }, {
2257
- id: string;
2257
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2258
2258
  label: string;
2259
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2259
+ id: string;
2260
2260
  capture: "at_action" | "historical_lookup" | "fixture";
2261
2261
  locator?: string | undefined;
2262
2262
  }>, "many">>;
@@ -2265,9 +2265,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2265
2265
  rationale: string;
2266
2266
  statement: string;
2267
2267
  evidence: {
2268
- id: string;
2268
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2269
2269
  label: string;
2270
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2270
+ id: string;
2271
2271
  capture: "at_action" | "historical_lookup" | "fixture";
2272
2272
  locator?: string | undefined;
2273
2273
  }[];
@@ -2286,9 +2286,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2286
2286
  supersedesDecisionIds: string[];
2287
2287
  proposedBy: string;
2288
2288
  evidence?: {
2289
- id: string;
2289
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2290
2290
  label: string;
2291
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2291
+ id: string;
2292
2292
  capture: "at_action" | "historical_lookup" | "fixture";
2293
2293
  locator?: string | undefined;
2294
2294
  }[] | undefined;
@@ -2300,13 +2300,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2300
2300
  id: z.ZodString;
2301
2301
  label: z.ZodString;
2302
2302
  }, "strict", z.ZodTypeAny, {
2303
- id: string;
2304
- label: string;
2305
2303
  kind: "agent" | "human";
2306
- }, {
2307
- id: string;
2308
2304
  label: string;
2305
+ id: string;
2306
+ }, {
2309
2307
  kind: "agent" | "human";
2308
+ label: string;
2309
+ id: string;
2310
2310
  }>;
2311
2311
  note: z.ZodOptional<z.ZodString>;
2312
2312
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2316,47 +2316,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2316
2316
  locator: z.ZodOptional<z.ZodString>;
2317
2317
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2318
2318
  }, "strict", z.ZodTypeAny, {
2319
- id: string;
2319
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2320
  label: string;
2321
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2321
+ id: string;
2322
2322
  capture: "at_action" | "historical_lookup" | "fixture";
2323
2323
  locator?: string | undefined;
2324
2324
  }, {
2325
- id: string;
2325
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2326
2326
  label: string;
2327
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2327
+ id: string;
2328
2328
  capture: "at_action" | "historical_lookup" | "fixture";
2329
2329
  locator?: string | undefined;
2330
2330
  }>, "many">>;
2331
2331
  }, "strict", z.ZodTypeAny, {
2332
2332
  kind: "correction_approved";
2333
2333
  evidence: {
2334
- id: string;
2334
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2335
2335
  label: string;
2336
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2336
+ id: string;
2337
2337
  capture: "at_action" | "historical_lookup" | "fixture";
2338
2338
  locator?: string | undefined;
2339
2339
  }[];
2340
2340
  correctionId: string;
2341
2341
  approvedBy: {
2342
- id: string;
2343
- label: string;
2344
2342
  kind: "agent" | "human";
2343
+ label: string;
2344
+ id: string;
2345
2345
  };
2346
2346
  note?: string | undefined;
2347
2347
  }, {
2348
2348
  kind: "correction_approved";
2349
2349
  correctionId: string;
2350
2350
  approvedBy: {
2351
- id: string;
2352
- label: string;
2353
2351
  kind: "agent" | "human";
2352
+ label: string;
2353
+ id: string;
2354
2354
  };
2355
2355
  note?: string | undefined;
2356
2356
  evidence?: {
2357
- id: string;
2357
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2358
2358
  label: string;
2359
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2359
+ id: string;
2360
2360
  capture: "at_action" | "historical_lookup" | "fixture";
2361
2361
  locator?: string | undefined;
2362
2362
  }[] | undefined;
@@ -2372,24 +2372,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2372
2372
  locator: z.ZodOptional<z.ZodString>;
2373
2373
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2374
2374
  }, "strict", z.ZodTypeAny, {
2375
- id: string;
2375
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2376
2376
  label: string;
2377
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2377
+ id: string;
2378
2378
  capture: "at_action" | "historical_lookup" | "fixture";
2379
2379
  locator?: string | undefined;
2380
2380
  }, {
2381
- id: string;
2381
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2382
2382
  label: string;
2383
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2383
+ id: string;
2384
2384
  capture: "at_action" | "historical_lookup" | "fixture";
2385
2385
  locator?: string | undefined;
2386
2386
  }>, "many">>;
2387
2387
  }, "strict", z.ZodTypeAny, {
2388
2388
  kind: "decision_superseded";
2389
2389
  evidence: {
2390
- id: string;
2390
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2391
2391
  label: string;
2392
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2392
+ id: string;
2393
2393
  capture: "at_action" | "historical_lookup" | "fixture";
2394
2394
  locator?: string | undefined;
2395
2395
  }[];
@@ -2402,9 +2402,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2402
2402
  correctionId: string;
2403
2403
  replacementDecisionId: string;
2404
2404
  evidence?: {
2405
- id: string;
2405
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2406
2406
  label: string;
2407
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2407
+ id: string;
2408
2408
  capture: "at_action" | "historical_lookup" | "fixture";
2409
2409
  locator?: string | undefined;
2410
2410
  }[] | undefined;
@@ -2420,15 +2420,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2420
2420
  locator: z.ZodOptional<z.ZodString>;
2421
2421
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2422
2422
  }, "strict", z.ZodTypeAny, {
2423
- id: string;
2423
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2424
  label: string;
2425
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2425
+ id: string;
2426
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2427
  locator?: string | undefined;
2428
2428
  }, {
2429
- id: string;
2429
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2430
2430
  label: string;
2431
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2431
+ id: string;
2432
2432
  capture: "at_action" | "historical_lookup" | "fixture";
2433
2433
  locator?: string | undefined;
2434
2434
  }>, "many">>;
@@ -2441,9 +2441,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2441
2441
  agentId: string;
2442
2442
  sessionId: string;
2443
2443
  evidence: {
2444
- id: string;
2444
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2445
2445
  label: string;
2446
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2446
+ id: string;
2447
2447
  capture: "at_action" | "historical_lookup" | "fixture";
2448
2448
  locator?: string | undefined;
2449
2449
  }[];
@@ -2459,9 +2459,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2459
2459
  recallReceiptId: string;
2460
2460
  capturedAtAction: boolean;
2461
2461
  evidence?: {
2462
- id: string;
2462
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2463
2463
  label: string;
2464
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2464
+ id: string;
2465
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2466
2466
  locator?: string | undefined;
2467
2467
  }[] | undefined;
@@ -2477,15 +2477,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2477
2477
  locator: z.ZodOptional<z.ZodString>;
2478
2478
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2479
2479
  }, "strict", z.ZodTypeAny, {
2480
- id: string;
2480
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2481
  label: string;
2482
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2482
+ id: string;
2483
2483
  capture: "at_action" | "historical_lookup" | "fixture";
2484
2484
  locator?: string | undefined;
2485
2485
  }, {
2486
- id: string;
2486
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2487
2487
  label: string;
2488
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2488
+ id: string;
2489
2489
  capture: "at_action" | "historical_lookup" | "fixture";
2490
2490
  locator?: string | undefined;
2491
2491
  }>, "many">>;
@@ -2497,9 +2497,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2497
2497
  agentId: string;
2498
2498
  sessionId: string;
2499
2499
  evidence: {
2500
- id: string;
2500
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2501
2501
  label: string;
2502
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2502
+ id: string;
2503
2503
  capture: "at_action" | "historical_lookup" | "fixture";
2504
2504
  locator?: string | undefined;
2505
2505
  }[];
@@ -2516,9 +2516,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2516
2516
  recallReceiptId: string;
2517
2517
  staleDecisionAbsent: boolean;
2518
2518
  evidence?: {
2519
- id: string;
2519
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2520
2520
  label: string;
2521
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2521
+ id: string;
2522
2522
  capture: "at_action" | "historical_lookup" | "fixture";
2523
2523
  locator?: string | undefined;
2524
2524
  }[] | undefined;
@@ -2533,37 +2533,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2533
2533
  locator: z.ZodOptional<z.ZodString>;
2534
2534
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2535
2535
  }, "strict", z.ZodTypeAny, {
2536
- id: string;
2536
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2537
2537
  label: string;
2538
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2538
+ id: string;
2539
2539
  capture: "at_action" | "historical_lookup" | "fixture";
2540
2540
  locator?: string | undefined;
2541
2541
  }, {
2542
- id: string;
2542
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2543
2543
  label: string;
2544
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2544
+ id: string;
2545
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2546
2546
  locator?: string | undefined;
2547
2547
  }>, "many">>;
2548
2548
  }, "strict", z.ZodTypeAny, {
2549
- summary: string;
2550
2549
  kind: "mission_completed";
2550
+ summary: string;
2551
2551
  outcome: "failed" | "recovered" | "inconclusive";
2552
2552
  evidence: {
2553
- id: string;
2553
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2554
2554
  label: string;
2555
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2555
+ id: string;
2556
2556
  capture: "at_action" | "historical_lookup" | "fixture";
2557
2557
  locator?: string | undefined;
2558
2558
  }[];
2559
2559
  }, {
2560
- summary: string;
2561
2560
  kind: "mission_completed";
2561
+ summary: string;
2562
2562
  outcome: "failed" | "recovered" | "inconclusive";
2563
2563
  evidence?: {
2564
- id: string;
2564
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2565
2565
  label: string;
2566
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2566
+ id: string;
2567
2567
  capture: "at_action" | "historical_lookup" | "fixture";
2568
2568
  locator?: string | undefined;
2569
2569
  }[] | undefined;
@@ -2571,38 +2571,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2571
2571
  kind: "mission_started";
2572
2572
  title: string;
2573
2573
  evidence: {
2574
- id: string;
2574
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2575
2575
  label: string;
2576
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2576
+ id: string;
2577
2577
  capture: "at_action" | "historical_lookup" | "fixture";
2578
2578
  locator?: string | undefined;
2579
2579
  }[];
2580
2580
  objective: string;
2581
2581
  runMode: "replay" | "fixture" | "live";
2582
2582
  } | {
2583
- label: string;
2584
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2585
2583
  kind: "agent_status";
2584
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2585
+ label: string;
2586
2586
  role: string;
2587
2587
  agentId: string;
2588
2588
  sessionId: string;
2589
2589
  evidence: {
2590
- id: string;
2590
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2591
2591
  label: string;
2592
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2592
+ id: string;
2593
2593
  capture: "at_action" | "historical_lookup" | "fixture";
2594
2594
  locator?: string | undefined;
2595
2595
  }[];
2596
2596
  detail?: string | undefined;
2597
2597
  } | {
2598
- summary: string;
2599
2598
  kind: "agent_output";
2599
+ summary: string;
2600
2600
  agentId: string;
2601
2601
  sessionId: string;
2602
2602
  evidence: {
2603
- id: string;
2603
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2604
2604
  label: string;
2605
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2605
+ id: string;
2606
2606
  capture: "at_action" | "historical_lookup" | "fixture";
2607
2607
  locator?: string | undefined;
2608
2608
  }[];
@@ -2613,9 +2613,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2613
2613
  statement: string;
2614
2614
  sessionId: string;
2615
2615
  evidence: {
2616
- id: string;
2616
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2617
2617
  label: string;
2618
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2618
+ id: string;
2619
2619
  capture: "at_action" | "historical_lookup" | "fixture";
2620
2620
  locator?: string | undefined;
2621
2621
  }[];
@@ -2623,12 +2623,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2623
2623
  decisionId: string;
2624
2624
  confidence?: number | undefined;
2625
2625
  } | {
2626
- summary: string;
2627
2626
  kind: "conflict_detected";
2627
+ summary: string;
2628
2628
  evidence: {
2629
- id: string;
2629
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2630
2630
  label: string;
2631
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2631
+ id: string;
2632
2632
  capture: "at_action" | "historical_lookup" | "fixture";
2633
2633
  locator?: string | undefined;
2634
2634
  }[];
@@ -2636,14 +2636,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2636
2636
  decisionIds: string[];
2637
2637
  agentIds: string[];
2638
2638
  } | {
2639
+ kind: "test_result";
2639
2640
  summary: string;
2640
2641
  status: "error" | "failed" | "passed";
2641
- kind: "test_result";
2642
2642
  command: string;
2643
2643
  evidence: {
2644
- id: string;
2644
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2645
2645
  label: string;
2646
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2646
+ id: string;
2647
2647
  capture: "at_action" | "historical_lookup" | "fixture";
2648
2648
  locator?: string | undefined;
2649
2649
  }[];
@@ -2656,9 +2656,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2656
2656
  rationale: string;
2657
2657
  statement: string;
2658
2658
  evidence: {
2659
- id: string;
2659
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2660
2660
  label: string;
2661
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2661
+ id: string;
2662
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2663
2663
  locator?: string | undefined;
2664
2664
  }[];
@@ -2670,25 +2670,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2670
2670
  } | {
2671
2671
  kind: "correction_approved";
2672
2672
  evidence: {
2673
- id: string;
2673
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2674
2674
  label: string;
2675
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2675
+ id: string;
2676
2676
  capture: "at_action" | "historical_lookup" | "fixture";
2677
2677
  locator?: string | undefined;
2678
2678
  }[];
2679
2679
  correctionId: string;
2680
2680
  approvedBy: {
2681
- id: string;
2682
- label: string;
2683
2681
  kind: "agent" | "human";
2682
+ label: string;
2683
+ id: string;
2684
2684
  };
2685
2685
  note?: string | undefined;
2686
2686
  } | {
2687
2687
  kind: "decision_superseded";
2688
2688
  evidence: {
2689
- id: string;
2689
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2690
2690
  label: string;
2691
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2691
+ id: string;
2692
2692
  capture: "at_action" | "historical_lookup" | "fixture";
2693
2693
  locator?: string | undefined;
2694
2694
  }[];
@@ -2701,9 +2701,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2701
2701
  agentId: string;
2702
2702
  sessionId: string;
2703
2703
  evidence: {
2704
- id: string;
2704
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2705
2705
  label: string;
2706
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2706
+ id: string;
2707
2707
  capture: "at_action" | "historical_lookup" | "fixture";
2708
2708
  locator?: string | undefined;
2709
2709
  }[];
@@ -2715,9 +2715,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2715
2715
  agentId: string;
2716
2716
  sessionId: string;
2717
2717
  evidence: {
2718
- id: string;
2718
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2719
2719
  label: string;
2720
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2720
+ id: string;
2721
2721
  capture: "at_action" | "historical_lookup" | "fixture";
2722
2722
  locator?: string | undefined;
2723
2723
  }[];
@@ -2726,13 +2726,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2726
2726
  recallReceiptId: string;
2727
2727
  staleDecisionAbsent: boolean;
2728
2728
  } | {
2729
- summary: string;
2730
2729
  kind: "mission_completed";
2730
+ summary: string;
2731
2731
  outcome: "failed" | "recovered" | "inconclusive";
2732
2732
  evidence: {
2733
- id: string;
2733
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2734
2734
  label: string;
2735
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2735
+ id: string;
2736
2736
  capture: "at_action" | "historical_lookup" | "fixture";
2737
2737
  locator?: string | undefined;
2738
2738
  }[];
@@ -2742,37 +2742,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2742
2742
  objective: string;
2743
2743
  runMode: "replay" | "fixture" | "live";
2744
2744
  evidence?: {
2745
- id: string;
2745
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2746
2746
  label: string;
2747
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2747
+ id: string;
2748
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2749
2749
  locator?: string | undefined;
2750
2750
  }[] | undefined;
2751
2751
  } | {
2752
- label: string;
2753
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2754
2752
  kind: "agent_status";
2753
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2754
+ label: string;
2755
2755
  role: string;
2756
2756
  agentId: string;
2757
2757
  sessionId: string;
2758
2758
  detail?: string | undefined;
2759
2759
  evidence?: {
2760
- id: string;
2760
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2761
2761
  label: string;
2762
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2762
+ id: string;
2763
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2764
2764
  locator?: string | undefined;
2765
2765
  }[] | undefined;
2766
2766
  } | {
2767
- summary: string;
2768
2767
  kind: "agent_output";
2768
+ summary: string;
2769
2769
  agentId: string;
2770
2770
  sessionId: string;
2771
2771
  outputId: string;
2772
2772
  evidence?: {
2773
- id: string;
2773
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2774
2774
  label: string;
2775
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2775
+ id: string;
2776
2776
  capture: "at_action" | "historical_lookup" | "fixture";
2777
2777
  locator?: string | undefined;
2778
2778
  }[] | undefined;
@@ -2785,37 +2785,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2785
2785
  decisionId: string;
2786
2786
  confidence?: number | undefined;
2787
2787
  evidence?: {
2788
- id: string;
2788
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2789
2789
  label: string;
2790
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2790
+ id: string;
2791
2791
  capture: "at_action" | "historical_lookup" | "fixture";
2792
2792
  locator?: string | undefined;
2793
2793
  }[] | undefined;
2794
2794
  } | {
2795
- summary: string;
2796
2795
  kind: "conflict_detected";
2796
+ summary: string;
2797
2797
  conflictId: string;
2798
2798
  decisionIds: string[];
2799
2799
  agentIds: string[];
2800
2800
  evidence?: {
2801
- id: string;
2801
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2802
2802
  label: string;
2803
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2803
+ id: string;
2804
2804
  capture: "at_action" | "historical_lookup" | "fixture";
2805
2805
  locator?: string | undefined;
2806
2806
  }[] | undefined;
2807
2807
  } | {
2808
+ kind: "test_result";
2808
2809
  summary: string;
2809
2810
  status: "error" | "failed" | "passed";
2810
- kind: "test_result";
2811
2811
  command: string;
2812
2812
  decisionId: string;
2813
2813
  testId: string;
2814
2814
  durationMs?: number | undefined;
2815
2815
  evidence?: {
2816
- id: string;
2816
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2817
2817
  label: string;
2818
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2818
+ id: string;
2819
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2820
2820
  locator?: string | undefined;
2821
2821
  }[] | undefined;
@@ -2830,9 +2830,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2830
2830
  supersedesDecisionIds: string[];
2831
2831
  proposedBy: string;
2832
2832
  evidence?: {
2833
- id: string;
2833
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2834
2834
  label: string;
2835
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2835
+ id: string;
2836
2836
  capture: "at_action" | "historical_lookup" | "fixture";
2837
2837
  locator?: string | undefined;
2838
2838
  }[] | undefined;
@@ -2840,15 +2840,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2840
2840
  kind: "correction_approved";
2841
2841
  correctionId: string;
2842
2842
  approvedBy: {
2843
- id: string;
2844
- label: string;
2845
2843
  kind: "agent" | "human";
2844
+ label: string;
2845
+ id: string;
2846
2846
  };
2847
2847
  note?: string | undefined;
2848
2848
  evidence?: {
2849
- id: string;
2849
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2850
2850
  label: string;
2851
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2851
+ id: string;
2852
2852
  capture: "at_action" | "historical_lookup" | "fixture";
2853
2853
  locator?: string | undefined;
2854
2854
  }[] | undefined;
@@ -2858,9 +2858,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2858
2858
  correctionId: string;
2859
2859
  replacementDecisionId: string;
2860
2860
  evidence?: {
2861
- id: string;
2861
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2862
2862
  label: string;
2863
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2863
+ id: string;
2864
2864
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2865
  locator?: string | undefined;
2866
2866
  }[] | undefined;
@@ -2873,9 +2873,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2873
2873
  recallReceiptId: string;
2874
2874
  capturedAtAction: boolean;
2875
2875
  evidence?: {
2876
- id: string;
2876
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2877
2877
  label: string;
2878
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2878
+ id: string;
2879
2879
  capture: "at_action" | "historical_lookup" | "fixture";
2880
2880
  locator?: string | undefined;
2881
2881
  }[] | undefined;
@@ -2888,20 +2888,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2888
2888
  recallReceiptId: string;
2889
2889
  staleDecisionAbsent: boolean;
2890
2890
  evidence?: {
2891
- id: string;
2891
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2892
  label: string;
2893
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2893
+ id: string;
2894
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2895
2895
  locator?: string | undefined;
2896
2896
  }[] | undefined;
2897
2897
  } | {
2898
- summary: string;
2899
2898
  kind: "mission_completed";
2899
+ summary: string;
2900
2900
  outcome: "failed" | "recovered" | "inconclusive";
2901
2901
  evidence?: {
2902
- id: string;
2902
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2903
2903
  label: string;
2904
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2904
+ id: string;
2905
2905
  capture: "at_action" | "historical_lookup" | "fixture";
2906
2906
  locator?: string | undefined;
2907
2907
  }[] | undefined;
@@ -2911,38 +2911,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2911
2911
  kind: "mission_started";
2912
2912
  title: string;
2913
2913
  evidence: {
2914
- id: string;
2914
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2915
2915
  label: string;
2916
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2916
+ id: string;
2917
2917
  capture: "at_action" | "historical_lookup" | "fixture";
2918
2918
  locator?: string | undefined;
2919
2919
  }[];
2920
2920
  objective: string;
2921
2921
  runMode: "replay" | "fixture" | "live";
2922
2922
  } | {
2923
- label: string;
2924
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2925
2923
  kind: "agent_status";
2924
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2925
+ label: string;
2926
2926
  role: string;
2927
2927
  agentId: string;
2928
2928
  sessionId: string;
2929
2929
  evidence: {
2930
- id: string;
2930
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2931
2931
  label: string;
2932
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2932
+ id: string;
2933
2933
  capture: "at_action" | "historical_lookup" | "fixture";
2934
2934
  locator?: string | undefined;
2935
2935
  }[];
2936
2936
  detail?: string | undefined;
2937
2937
  } | {
2938
- summary: string;
2939
2938
  kind: "agent_output";
2939
+ summary: string;
2940
2940
  agentId: string;
2941
2941
  sessionId: string;
2942
2942
  evidence: {
2943
- id: string;
2943
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2944
2944
  label: string;
2945
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2945
+ id: string;
2946
2946
  capture: "at_action" | "historical_lookup" | "fixture";
2947
2947
  locator?: string | undefined;
2948
2948
  }[];
@@ -2953,9 +2953,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2953
2953
  statement: string;
2954
2954
  sessionId: string;
2955
2955
  evidence: {
2956
- id: string;
2956
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2957
2957
  label: string;
2958
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2958
+ id: string;
2959
2959
  capture: "at_action" | "historical_lookup" | "fixture";
2960
2960
  locator?: string | undefined;
2961
2961
  }[];
@@ -2963,12 +2963,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2963
2963
  decisionId: string;
2964
2964
  confidence?: number | undefined;
2965
2965
  } | {
2966
- summary: string;
2967
2966
  kind: "conflict_detected";
2967
+ summary: string;
2968
2968
  evidence: {
2969
- id: string;
2969
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2970
2970
  label: string;
2971
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2971
+ id: string;
2972
2972
  capture: "at_action" | "historical_lookup" | "fixture";
2973
2973
  locator?: string | undefined;
2974
2974
  }[];
@@ -2976,14 +2976,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2976
2976
  decisionIds: string[];
2977
2977
  agentIds: string[];
2978
2978
  } | {
2979
+ kind: "test_result";
2979
2980
  summary: string;
2980
2981
  status: "error" | "failed" | "passed";
2981
- kind: "test_result";
2982
2982
  command: string;
2983
2983
  evidence: {
2984
- id: string;
2984
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2985
2985
  label: string;
2986
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2986
+ id: string;
2987
2987
  capture: "at_action" | "historical_lookup" | "fixture";
2988
2988
  locator?: string | undefined;
2989
2989
  }[];
@@ -2996,9 +2996,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2996
2996
  rationale: string;
2997
2997
  statement: string;
2998
2998
  evidence: {
2999
- id: string;
2999
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3000
3000
  label: string;
3001
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3001
+ id: string;
3002
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3003
3003
  locator?: string | undefined;
3004
3004
  }[];
@@ -3010,25 +3010,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3010
3010
  } | {
3011
3011
  kind: "correction_approved";
3012
3012
  evidence: {
3013
- id: string;
3013
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3014
3014
  label: string;
3015
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3015
+ id: string;
3016
3016
  capture: "at_action" | "historical_lookup" | "fixture";
3017
3017
  locator?: string | undefined;
3018
3018
  }[];
3019
3019
  correctionId: string;
3020
3020
  approvedBy: {
3021
- id: string;
3022
- label: string;
3023
3021
  kind: "agent" | "human";
3022
+ label: string;
3023
+ id: string;
3024
3024
  };
3025
3025
  note?: string | undefined;
3026
3026
  } | {
3027
3027
  kind: "decision_superseded";
3028
3028
  evidence: {
3029
- id: string;
3029
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3030
3030
  label: string;
3031
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3031
+ id: string;
3032
3032
  capture: "at_action" | "historical_lookup" | "fixture";
3033
3033
  locator?: string | undefined;
3034
3034
  }[];
@@ -3041,9 +3041,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3041
3041
  agentId: string;
3042
3042
  sessionId: string;
3043
3043
  evidence: {
3044
- id: string;
3044
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3045
3045
  label: string;
3046
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3046
+ id: string;
3047
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3048
  locator?: string | undefined;
3049
3049
  }[];
@@ -3055,9 +3055,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3055
3055
  agentId: string;
3056
3056
  sessionId: string;
3057
3057
  evidence: {
3058
- id: string;
3058
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3059
3059
  label: string;
3060
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3060
+ id: string;
3061
3061
  capture: "at_action" | "historical_lookup" | "fixture";
3062
3062
  locator?: string | undefined;
3063
3063
  }[];
@@ -3066,13 +3066,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3066
3066
  recallReceiptId: string;
3067
3067
  staleDecisionAbsent: boolean;
3068
3068
  } | {
3069
- summary: string;
3070
3069
  kind: "mission_completed";
3070
+ summary: string;
3071
3071
  outcome: "failed" | "recovered" | "inconclusive";
3072
3072
  evidence: {
3073
- id: string;
3073
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3074
3074
  label: string;
3075
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3075
+ id: string;
3076
3076
  capture: "at_action" | "historical_lookup" | "fixture";
3077
3077
  locator?: string | undefined;
3078
3078
  }[];
@@ -3086,37 +3086,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3086
3086
  objective: string;
3087
3087
  runMode: "replay" | "fixture" | "live";
3088
3088
  evidence?: {
3089
- id: string;
3089
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3090
3090
  label: string;
3091
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3091
+ id: string;
3092
3092
  capture: "at_action" | "historical_lookup" | "fixture";
3093
3093
  locator?: string | undefined;
3094
3094
  }[] | undefined;
3095
3095
  } | {
3096
- label: string;
3097
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3098
3096
  kind: "agent_status";
3097
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3098
+ label: string;
3099
3099
  role: string;
3100
3100
  agentId: string;
3101
3101
  sessionId: string;
3102
3102
  detail?: string | undefined;
3103
3103
  evidence?: {
3104
- id: string;
3104
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3105
3105
  label: string;
3106
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3106
+ id: string;
3107
3107
  capture: "at_action" | "historical_lookup" | "fixture";
3108
3108
  locator?: string | undefined;
3109
3109
  }[] | undefined;
3110
3110
  } | {
3111
- summary: string;
3112
3111
  kind: "agent_output";
3112
+ summary: string;
3113
3113
  agentId: string;
3114
3114
  sessionId: string;
3115
3115
  outputId: string;
3116
3116
  evidence?: {
3117
- id: string;
3117
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3118
3118
  label: string;
3119
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3119
+ id: string;
3120
3120
  capture: "at_action" | "historical_lookup" | "fixture";
3121
3121
  locator?: string | undefined;
3122
3122
  }[] | undefined;
@@ -3129,37 +3129,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3129
3129
  decisionId: string;
3130
3130
  confidence?: number | undefined;
3131
3131
  evidence?: {
3132
- id: string;
3132
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3133
3133
  label: string;
3134
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3134
+ id: string;
3135
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3136
3136
  locator?: string | undefined;
3137
3137
  }[] | undefined;
3138
3138
  } | {
3139
- summary: string;
3140
3139
  kind: "conflict_detected";
3140
+ summary: string;
3141
3141
  conflictId: string;
3142
3142
  decisionIds: string[];
3143
3143
  agentIds: string[];
3144
3144
  evidence?: {
3145
- id: string;
3145
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3146
3146
  label: string;
3147
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3147
+ id: string;
3148
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3149
3149
  locator?: string | undefined;
3150
3150
  }[] | undefined;
3151
3151
  } | {
3152
+ kind: "test_result";
3152
3153
  summary: string;
3153
3154
  status: "error" | "failed" | "passed";
3154
- kind: "test_result";
3155
3155
  command: string;
3156
3156
  decisionId: string;
3157
3157
  testId: string;
3158
3158
  durationMs?: number | undefined;
3159
3159
  evidence?: {
3160
- id: string;
3160
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3161
3161
  label: string;
3162
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3162
+ id: string;
3163
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3164
3164
  locator?: string | undefined;
3165
3165
  }[] | undefined;
@@ -3174,9 +3174,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3174
3174
  supersedesDecisionIds: string[];
3175
3175
  proposedBy: string;
3176
3176
  evidence?: {
3177
- id: string;
3177
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3178
3178
  label: string;
3179
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3179
+ id: string;
3180
3180
  capture: "at_action" | "historical_lookup" | "fixture";
3181
3181
  locator?: string | undefined;
3182
3182
  }[] | undefined;
@@ -3184,15 +3184,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3184
3184
  kind: "correction_approved";
3185
3185
  correctionId: string;
3186
3186
  approvedBy: {
3187
- id: string;
3188
- label: string;
3189
3187
  kind: "agent" | "human";
3188
+ label: string;
3189
+ id: string;
3190
3190
  };
3191
3191
  note?: string | undefined;
3192
3192
  evidence?: {
3193
- id: string;
3193
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3194
  label: string;
3195
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3195
+ id: string;
3196
3196
  capture: "at_action" | "historical_lookup" | "fixture";
3197
3197
  locator?: string | undefined;
3198
3198
  }[] | undefined;
@@ -3202,9 +3202,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3202
3202
  correctionId: string;
3203
3203
  replacementDecisionId: string;
3204
3204
  evidence?: {
3205
- id: string;
3205
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3206
  label: string;
3207
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3207
+ id: string;
3208
3208
  capture: "at_action" | "historical_lookup" | "fixture";
3209
3209
  locator?: string | undefined;
3210
3210
  }[] | undefined;
@@ -3217,9 +3217,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3217
3217
  recallReceiptId: string;
3218
3218
  capturedAtAction: boolean;
3219
3219
  evidence?: {
3220
- id: string;
3220
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3221
3221
  label: string;
3222
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3222
+ id: string;
3223
3223
  capture: "at_action" | "historical_lookup" | "fixture";
3224
3224
  locator?: string | undefined;
3225
3225
  }[] | undefined;
@@ -3232,20 +3232,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3232
3232
  recallReceiptId: string;
3233
3233
  staleDecisionAbsent: boolean;
3234
3234
  evidence?: {
3235
- id: string;
3235
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3236
3236
  label: string;
3237
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3237
+ id: string;
3238
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3239
3239
  locator?: string | undefined;
3240
3240
  }[] | undefined;
3241
3241
  } | {
3242
- summary: string;
3243
3242
  kind: "mission_completed";
3243
+ summary: string;
3244
3244
  outcome: "failed" | "recovered" | "inconclusive";
3245
3245
  evidence?: {
3246
- id: string;
3246
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3247
  label: string;
3248
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3248
+ id: string;
3249
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3250
3250
  locator?: string | undefined;
3251
3251
  }[] | undefined;
@@ -3275,15 +3275,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3275
3275
  locator: z.ZodOptional<z.ZodString>;
3276
3276
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3277
3277
  }, "strict", z.ZodTypeAny, {
3278
- id: string;
3278
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3279
3279
  label: string;
3280
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3280
+ id: string;
3281
3281
  capture: "at_action" | "historical_lookup" | "fixture";
3282
3282
  locator?: string | undefined;
3283
3283
  }, {
3284
- id: string;
3284
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3285
3285
  label: string;
3286
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3286
+ id: string;
3287
3287
  capture: "at_action" | "historical_lookup" | "fixture";
3288
3288
  locator?: string | undefined;
3289
3289
  }>, "many">>;
@@ -3291,9 +3291,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3291
3291
  kind: "mission_started";
3292
3292
  title: string;
3293
3293
  evidence: {
3294
- id: string;
3294
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3295
  label: string;
3296
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3296
+ id: string;
3297
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3298
3298
  locator?: string | undefined;
3299
3299
  }[];
@@ -3305,9 +3305,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3305
3305
  objective: string;
3306
3306
  runMode: "replay" | "fixture" | "live";
3307
3307
  evidence?: {
3308
- id: string;
3308
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3309
3309
  label: string;
3310
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3310
+ id: string;
3311
3311
  capture: "at_action" | "historical_lookup" | "fixture";
3312
3312
  locator?: string | undefined;
3313
3313
  }[] | undefined;
@@ -3323,15 +3323,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3323
3323
  locator: z.ZodOptional<z.ZodString>;
3324
3324
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3325
3325
  }, "strict", z.ZodTypeAny, {
3326
- id: string;
3326
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3327
  label: string;
3328
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3328
+ id: string;
3329
3329
  capture: "at_action" | "historical_lookup" | "fixture";
3330
3330
  locator?: string | undefined;
3331
3331
  }, {
3332
- id: string;
3332
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3333
3333
  label: string;
3334
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3334
+ id: string;
3335
3335
  capture: "at_action" | "historical_lookup" | "fixture";
3336
3336
  locator?: string | undefined;
3337
3337
  }>, "many">>;
@@ -3339,32 +3339,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3339
3339
  sessionId: z.ZodString;
3340
3340
  kind: z.ZodLiteral<"agent_status">;
3341
3341
  }, "strict", z.ZodTypeAny, {
3342
- label: string;
3343
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3344
3342
  kind: "agent_status";
3343
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3344
+ label: string;
3345
3345
  role: string;
3346
3346
  agentId: string;
3347
3347
  sessionId: string;
3348
3348
  evidence: {
3349
- id: string;
3349
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3350
3350
  label: string;
3351
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3351
+ id: string;
3352
3352
  capture: "at_action" | "historical_lookup" | "fixture";
3353
3353
  locator?: string | undefined;
3354
3354
  }[];
3355
3355
  detail?: string | undefined;
3356
3356
  }, {
3357
- label: string;
3358
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3359
3357
  kind: "agent_status";
3358
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3359
+ label: string;
3360
3360
  role: string;
3361
3361
  agentId: string;
3362
3362
  sessionId: string;
3363
3363
  detail?: string | undefined;
3364
3364
  evidence?: {
3365
- id: string;
3365
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3366
3366
  label: string;
3367
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3367
+ id: string;
3368
3368
  capture: "at_action" | "historical_lookup" | "fixture";
3369
3369
  locator?: string | undefined;
3370
3370
  }[] | undefined;
@@ -3378,15 +3378,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3378
3378
  locator: z.ZodOptional<z.ZodString>;
3379
3379
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3380
3380
  }, "strict", z.ZodTypeAny, {
3381
- id: string;
3381
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3382
3382
  label: string;
3383
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3383
+ id: string;
3384
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3385
3385
  locator?: string | undefined;
3386
3386
  }, {
3387
- id: string;
3387
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3388
3388
  label: string;
3389
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3389
+ id: string;
3390
3390
  capture: "at_action" | "historical_lookup" | "fixture";
3391
3391
  locator?: string | undefined;
3392
3392
  }>, "many">>;
@@ -3394,28 +3394,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3394
3394
  sessionId: z.ZodString;
3395
3395
  kind: z.ZodLiteral<"agent_output">;
3396
3396
  }, "strict", z.ZodTypeAny, {
3397
- summary: string;
3398
3397
  kind: "agent_output";
3398
+ summary: string;
3399
3399
  agentId: string;
3400
3400
  sessionId: string;
3401
3401
  evidence: {
3402
- id: string;
3402
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3403
3403
  label: string;
3404
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3404
+ id: string;
3405
3405
  capture: "at_action" | "historical_lookup" | "fixture";
3406
3406
  locator?: string | undefined;
3407
3407
  }[];
3408
3408
  outputId: string;
3409
3409
  }, {
3410
- summary: string;
3411
3410
  kind: "agent_output";
3411
+ summary: string;
3412
3412
  agentId: string;
3413
3413
  sessionId: string;
3414
3414
  outputId: string;
3415
3415
  evidence?: {
3416
- id: string;
3416
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3417
3417
  label: string;
3418
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3418
+ id: string;
3419
3419
  capture: "at_action" | "historical_lookup" | "fixture";
3420
3420
  locator?: string | undefined;
3421
3421
  }[] | undefined;
@@ -3431,15 +3431,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3431
3431
  locator: z.ZodOptional<z.ZodString>;
3432
3432
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3433
3433
  }, "strict", z.ZodTypeAny, {
3434
- id: string;
3434
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3435
3435
  label: string;
3436
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3436
+ id: string;
3437
3437
  capture: "at_action" | "historical_lookup" | "fixture";
3438
3438
  locator?: string | undefined;
3439
3439
  }, {
3440
- id: string;
3440
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3441
3441
  label: string;
3442
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3442
+ id: string;
3443
3443
  capture: "at_action" | "historical_lookup" | "fixture";
3444
3444
  locator?: string | undefined;
3445
3445
  }>, "many">>;
@@ -3452,9 +3452,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3452
3452
  statement: string;
3453
3453
  sessionId: string;
3454
3454
  evidence: {
3455
- id: string;
3455
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3456
3456
  label: string;
3457
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3457
+ id: string;
3458
3458
  capture: "at_action" | "historical_lookup" | "fixture";
3459
3459
  locator?: string | undefined;
3460
3460
  }[];
@@ -3470,9 +3470,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3470
3470
  decisionId: string;
3471
3471
  confidence?: number | undefined;
3472
3472
  evidence?: {
3473
- id: string;
3473
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3474
3474
  label: string;
3475
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3475
+ id: string;
3476
3476
  capture: "at_action" | "historical_lookup" | "fixture";
3477
3477
  locator?: string | undefined;
3478
3478
  }[] | undefined;
@@ -3489,25 +3489,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3489
3489
  locator: z.ZodOptional<z.ZodString>;
3490
3490
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3491
3491
  }, "strict", z.ZodTypeAny, {
3492
- id: string;
3492
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3493
3493
  label: string;
3494
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3494
+ id: string;
3495
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3496
3496
  locator?: string | undefined;
3497
3497
  }, {
3498
- id: string;
3498
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3499
3499
  label: string;
3500
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3500
+ id: string;
3501
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3502
3502
  locator?: string | undefined;
3503
3503
  }>, "many">>;
3504
3504
  }, "strict", z.ZodTypeAny, {
3505
- summary: string;
3506
3505
  kind: "conflict_detected";
3506
+ summary: string;
3507
3507
  evidence: {
3508
- id: string;
3508
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3509
3509
  label: string;
3510
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3510
+ id: string;
3511
3511
  capture: "at_action" | "historical_lookup" | "fixture";
3512
3512
  locator?: string | undefined;
3513
3513
  }[];
@@ -3515,15 +3515,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3515
3515
  decisionIds: string[];
3516
3516
  agentIds: string[];
3517
3517
  }, {
3518
- summary: string;
3519
3518
  kind: "conflict_detected";
3519
+ summary: string;
3520
3520
  conflictId: string;
3521
3521
  decisionIds: string[];
3522
3522
  agentIds: string[];
3523
3523
  evidence?: {
3524
- id: string;
3524
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3525
3525
  label: string;
3526
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3526
+ id: string;
3527
3527
  capture: "at_action" | "historical_lookup" | "fixture";
3528
3528
  locator?: string | undefined;
3529
3529
  }[] | undefined;
@@ -3543,27 +3543,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3543
3543
  locator: z.ZodOptional<z.ZodString>;
3544
3544
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3545
3545
  }, "strict", z.ZodTypeAny, {
3546
- id: string;
3546
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3547
3547
  label: string;
3548
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3548
+ id: string;
3549
3549
  capture: "at_action" | "historical_lookup" | "fixture";
3550
3550
  locator?: string | undefined;
3551
3551
  }, {
3552
- id: string;
3552
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3553
3553
  label: string;
3554
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3554
+ id: string;
3555
3555
  capture: "at_action" | "historical_lookup" | "fixture";
3556
3556
  locator?: string | undefined;
3557
3557
  }>, "many">>;
3558
3558
  }, "strict", z.ZodTypeAny, {
3559
+ kind: "test_result";
3559
3560
  summary: string;
3560
3561
  status: "error" | "failed" | "passed";
3561
- kind: "test_result";
3562
3562
  command: string;
3563
3563
  evidence: {
3564
- id: string;
3564
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3565
3565
  label: string;
3566
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3566
+ id: string;
3567
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3568
3568
  locator?: string | undefined;
3569
3569
  }[];
@@ -3572,17 +3572,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3572
3572
  durationMs?: number | undefined;
3573
3573
  correctionId?: string | undefined;
3574
3574
  }, {
3575
+ kind: "test_result";
3575
3576
  summary: string;
3576
3577
  status: "error" | "failed" | "passed";
3577
- kind: "test_result";
3578
3578
  command: string;
3579
3579
  decisionId: string;
3580
3580
  testId: string;
3581
3581
  durationMs?: number | undefined;
3582
3582
  evidence?: {
3583
- id: string;
3583
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3584
3584
  label: string;
3585
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3585
+ id: string;
3586
3586
  capture: "at_action" | "historical_lookup" | "fixture";
3587
3587
  locator?: string | undefined;
3588
3588
  }[] | undefined;
@@ -3603,15 +3603,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3603
3603
  locator: z.ZodOptional<z.ZodString>;
3604
3604
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3605
3605
  }, "strict", z.ZodTypeAny, {
3606
- id: string;
3606
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3607
3607
  label: string;
3608
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3608
+ id: string;
3609
3609
  capture: "at_action" | "historical_lookup" | "fixture";
3610
3610
  locator?: string | undefined;
3611
3611
  }, {
3612
- id: string;
3612
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3613
3613
  label: string;
3614
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3614
+ id: string;
3615
3615
  capture: "at_action" | "historical_lookup" | "fixture";
3616
3616
  locator?: string | undefined;
3617
3617
  }>, "many">>;
@@ -3620,9 +3620,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3620
3620
  rationale: string;
3621
3621
  statement: string;
3622
3622
  evidence: {
3623
- id: string;
3623
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3624
3624
  label: string;
3625
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3625
+ id: string;
3626
3626
  capture: "at_action" | "historical_lookup" | "fixture";
3627
3627
  locator?: string | undefined;
3628
3628
  }[];
@@ -3641,9 +3641,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3641
3641
  supersedesDecisionIds: string[];
3642
3642
  proposedBy: string;
3643
3643
  evidence?: {
3644
- id: string;
3644
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3645
3645
  label: string;
3646
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3646
+ id: string;
3647
3647
  capture: "at_action" | "historical_lookup" | "fixture";
3648
3648
  locator?: string | undefined;
3649
3649
  }[] | undefined;
@@ -3655,13 +3655,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3655
3655
  id: z.ZodString;
3656
3656
  label: z.ZodString;
3657
3657
  }, "strict", z.ZodTypeAny, {
3658
- id: string;
3659
- label: string;
3660
3658
  kind: "agent" | "human";
3661
- }, {
3662
- id: string;
3663
3659
  label: string;
3660
+ id: string;
3661
+ }, {
3664
3662
  kind: "agent" | "human";
3663
+ label: string;
3664
+ id: string;
3665
3665
  }>;
3666
3666
  note: z.ZodOptional<z.ZodString>;
3667
3667
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3671,47 +3671,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3671
3671
  locator: z.ZodOptional<z.ZodString>;
3672
3672
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3673
3673
  }, "strict", z.ZodTypeAny, {
3674
- id: string;
3674
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3675
3675
  label: string;
3676
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3676
+ id: string;
3677
3677
  capture: "at_action" | "historical_lookup" | "fixture";
3678
3678
  locator?: string | undefined;
3679
3679
  }, {
3680
- id: string;
3680
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3681
3681
  label: string;
3682
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3682
+ id: string;
3683
3683
  capture: "at_action" | "historical_lookup" | "fixture";
3684
3684
  locator?: string | undefined;
3685
3685
  }>, "many">>;
3686
3686
  }, "strict", z.ZodTypeAny, {
3687
3687
  kind: "correction_approved";
3688
3688
  evidence: {
3689
- id: string;
3689
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3690
3690
  label: string;
3691
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3691
+ id: string;
3692
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3693
3693
  locator?: string | undefined;
3694
3694
  }[];
3695
3695
  correctionId: string;
3696
3696
  approvedBy: {
3697
- id: string;
3698
- label: string;
3699
3697
  kind: "agent" | "human";
3698
+ label: string;
3699
+ id: string;
3700
3700
  };
3701
3701
  note?: string | undefined;
3702
3702
  }, {
3703
3703
  kind: "correction_approved";
3704
3704
  correctionId: string;
3705
3705
  approvedBy: {
3706
- id: string;
3707
- label: string;
3708
3706
  kind: "agent" | "human";
3707
+ label: string;
3708
+ id: string;
3709
3709
  };
3710
3710
  note?: string | undefined;
3711
3711
  evidence?: {
3712
- id: string;
3712
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3713
3713
  label: string;
3714
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3714
+ id: string;
3715
3715
  capture: "at_action" | "historical_lookup" | "fixture";
3716
3716
  locator?: string | undefined;
3717
3717
  }[] | undefined;
@@ -3727,24 +3727,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3727
3727
  locator: z.ZodOptional<z.ZodString>;
3728
3728
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3729
3729
  }, "strict", z.ZodTypeAny, {
3730
- id: string;
3730
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3731
3731
  label: string;
3732
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3732
+ id: string;
3733
3733
  capture: "at_action" | "historical_lookup" | "fixture";
3734
3734
  locator?: string | undefined;
3735
3735
  }, {
3736
- id: string;
3736
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3737
3737
  label: string;
3738
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3738
+ id: string;
3739
3739
  capture: "at_action" | "historical_lookup" | "fixture";
3740
3740
  locator?: string | undefined;
3741
3741
  }>, "many">>;
3742
3742
  }, "strict", z.ZodTypeAny, {
3743
3743
  kind: "decision_superseded";
3744
3744
  evidence: {
3745
- id: string;
3745
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3746
3746
  label: string;
3747
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3747
+ id: string;
3748
3748
  capture: "at_action" | "historical_lookup" | "fixture";
3749
3749
  locator?: string | undefined;
3750
3750
  }[];
@@ -3757,9 +3757,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3757
3757
  correctionId: string;
3758
3758
  replacementDecisionId: string;
3759
3759
  evidence?: {
3760
- id: string;
3760
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3761
3761
  label: string;
3762
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3762
+ id: string;
3763
3763
  capture: "at_action" | "historical_lookup" | "fixture";
3764
3764
  locator?: string | undefined;
3765
3765
  }[] | undefined;
@@ -3775,15 +3775,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3775
3775
  locator: z.ZodOptional<z.ZodString>;
3776
3776
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3777
3777
  }, "strict", z.ZodTypeAny, {
3778
- id: string;
3778
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3779
  label: string;
3780
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3780
+ id: string;
3781
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3782
  locator?: string | undefined;
3783
3783
  }, {
3784
- id: string;
3784
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3785
3785
  label: string;
3786
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3786
+ id: string;
3787
3787
  capture: "at_action" | "historical_lookup" | "fixture";
3788
3788
  locator?: string | undefined;
3789
3789
  }>, "many">>;
@@ -3796,9 +3796,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3796
3796
  agentId: string;
3797
3797
  sessionId: string;
3798
3798
  evidence: {
3799
- id: string;
3799
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3800
3800
  label: string;
3801
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3801
+ id: string;
3802
3802
  capture: "at_action" | "historical_lookup" | "fixture";
3803
3803
  locator?: string | undefined;
3804
3804
  }[];
@@ -3814,9 +3814,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3814
3814
  recallReceiptId: string;
3815
3815
  capturedAtAction: boolean;
3816
3816
  evidence?: {
3817
- id: string;
3817
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3818
3818
  label: string;
3819
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3819
+ id: string;
3820
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3821
3821
  locator?: string | undefined;
3822
3822
  }[] | undefined;
@@ -3832,15 +3832,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3832
3832
  locator: z.ZodOptional<z.ZodString>;
3833
3833
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3834
3834
  }, "strict", z.ZodTypeAny, {
3835
- id: string;
3835
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3836
  label: string;
3837
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3837
+ id: string;
3838
3838
  capture: "at_action" | "historical_lookup" | "fixture";
3839
3839
  locator?: string | undefined;
3840
3840
  }, {
3841
- id: string;
3841
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3842
3842
  label: string;
3843
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3843
+ id: string;
3844
3844
  capture: "at_action" | "historical_lookup" | "fixture";
3845
3845
  locator?: string | undefined;
3846
3846
  }>, "many">>;
@@ -3852,9 +3852,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3852
3852
  agentId: string;
3853
3853
  sessionId: string;
3854
3854
  evidence: {
3855
- id: string;
3855
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3856
3856
  label: string;
3857
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3857
+ id: string;
3858
3858
  capture: "at_action" | "historical_lookup" | "fixture";
3859
3859
  locator?: string | undefined;
3860
3860
  }[];
@@ -3871,9 +3871,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3871
3871
  recallReceiptId: string;
3872
3872
  staleDecisionAbsent: boolean;
3873
3873
  evidence?: {
3874
- id: string;
3874
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3875
3875
  label: string;
3876
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3876
+ id: string;
3877
3877
  capture: "at_action" | "historical_lookup" | "fixture";
3878
3878
  locator?: string | undefined;
3879
3879
  }[] | undefined;
@@ -3888,37 +3888,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3888
3888
  locator: z.ZodOptional<z.ZodString>;
3889
3889
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3890
3890
  }, "strict", z.ZodTypeAny, {
3891
- id: string;
3891
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3892
3892
  label: string;
3893
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3893
+ id: string;
3894
3894
  capture: "at_action" | "historical_lookup" | "fixture";
3895
3895
  locator?: string | undefined;
3896
3896
  }, {
3897
- id: string;
3897
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3898
3898
  label: string;
3899
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3899
+ id: string;
3900
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3901
3901
  locator?: string | undefined;
3902
3902
  }>, "many">>;
3903
3903
  }, "strict", z.ZodTypeAny, {
3904
- summary: string;
3905
3904
  kind: "mission_completed";
3905
+ summary: string;
3906
3906
  outcome: "failed" | "recovered" | "inconclusive";
3907
3907
  evidence: {
3908
- id: string;
3908
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3909
3909
  label: string;
3910
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3910
+ id: string;
3911
3911
  capture: "at_action" | "historical_lookup" | "fixture";
3912
3912
  locator?: string | undefined;
3913
3913
  }[];
3914
3914
  }, {
3915
- summary: string;
3916
3915
  kind: "mission_completed";
3916
+ summary: string;
3917
3917
  outcome: "failed" | "recovered" | "inconclusive";
3918
3918
  evidence?: {
3919
- id: string;
3919
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3920
3920
  label: string;
3921
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3921
+ id: string;
3922
3922
  capture: "at_action" | "historical_lookup" | "fixture";
3923
3923
  locator?: string | undefined;
3924
3924
  }[] | undefined;
@@ -3926,38 +3926,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3926
3926
  kind: "mission_started";
3927
3927
  title: string;
3928
3928
  evidence: {
3929
- id: string;
3929
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3930
3930
  label: string;
3931
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3931
+ id: string;
3932
3932
  capture: "at_action" | "historical_lookup" | "fixture";
3933
3933
  locator?: string | undefined;
3934
3934
  }[];
3935
3935
  objective: string;
3936
3936
  runMode: "replay" | "fixture" | "live";
3937
3937
  } | {
3938
- label: string;
3939
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3940
3938
  kind: "agent_status";
3939
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3940
+ label: string;
3941
3941
  role: string;
3942
3942
  agentId: string;
3943
3943
  sessionId: string;
3944
3944
  evidence: {
3945
- id: string;
3945
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3946
3946
  label: string;
3947
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3947
+ id: string;
3948
3948
  capture: "at_action" | "historical_lookup" | "fixture";
3949
3949
  locator?: string | undefined;
3950
3950
  }[];
3951
3951
  detail?: string | undefined;
3952
3952
  } | {
3953
- summary: string;
3954
3953
  kind: "agent_output";
3954
+ summary: string;
3955
3955
  agentId: string;
3956
3956
  sessionId: string;
3957
3957
  evidence: {
3958
- id: string;
3958
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3959
3959
  label: string;
3960
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3960
+ id: string;
3961
3961
  capture: "at_action" | "historical_lookup" | "fixture";
3962
3962
  locator?: string | undefined;
3963
3963
  }[];
@@ -3968,9 +3968,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3968
3968
  statement: string;
3969
3969
  sessionId: string;
3970
3970
  evidence: {
3971
- id: string;
3971
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3972
3972
  label: string;
3973
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3973
+ id: string;
3974
3974
  capture: "at_action" | "historical_lookup" | "fixture";
3975
3975
  locator?: string | undefined;
3976
3976
  }[];
@@ -3978,12 +3978,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3978
3978
  decisionId: string;
3979
3979
  confidence?: number | undefined;
3980
3980
  } | {
3981
- summary: string;
3982
3981
  kind: "conflict_detected";
3982
+ summary: string;
3983
3983
  evidence: {
3984
- id: string;
3984
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3985
3985
  label: string;
3986
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3986
+ id: string;
3987
3987
  capture: "at_action" | "historical_lookup" | "fixture";
3988
3988
  locator?: string | undefined;
3989
3989
  }[];
@@ -3991,14 +3991,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3991
3991
  decisionIds: string[];
3992
3992
  agentIds: string[];
3993
3993
  } | {
3994
+ kind: "test_result";
3994
3995
  summary: string;
3995
3996
  status: "error" | "failed" | "passed";
3996
- kind: "test_result";
3997
3997
  command: string;
3998
3998
  evidence: {
3999
- id: string;
3999
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4000
4000
  label: string;
4001
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4001
+ id: string;
4002
4002
  capture: "at_action" | "historical_lookup" | "fixture";
4003
4003
  locator?: string | undefined;
4004
4004
  }[];
@@ -4011,9 +4011,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4011
4011
  rationale: string;
4012
4012
  statement: string;
4013
4013
  evidence: {
4014
- id: string;
4014
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4015
4015
  label: string;
4016
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4016
+ id: string;
4017
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4018
4018
  locator?: string | undefined;
4019
4019
  }[];
@@ -4025,25 +4025,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4025
4025
  } | {
4026
4026
  kind: "correction_approved";
4027
4027
  evidence: {
4028
- id: string;
4028
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4029
4029
  label: string;
4030
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4030
+ id: string;
4031
4031
  capture: "at_action" | "historical_lookup" | "fixture";
4032
4032
  locator?: string | undefined;
4033
4033
  }[];
4034
4034
  correctionId: string;
4035
4035
  approvedBy: {
4036
- id: string;
4037
- label: string;
4038
4036
  kind: "agent" | "human";
4037
+ label: string;
4038
+ id: string;
4039
4039
  };
4040
4040
  note?: string | undefined;
4041
4041
  } | {
4042
4042
  kind: "decision_superseded";
4043
4043
  evidence: {
4044
- id: string;
4044
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4045
4045
  label: string;
4046
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4046
+ id: string;
4047
4047
  capture: "at_action" | "historical_lookup" | "fixture";
4048
4048
  locator?: string | undefined;
4049
4049
  }[];
@@ -4056,9 +4056,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4056
4056
  agentId: string;
4057
4057
  sessionId: string;
4058
4058
  evidence: {
4059
- id: string;
4059
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4060
4060
  label: string;
4061
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4061
+ id: string;
4062
4062
  capture: "at_action" | "historical_lookup" | "fixture";
4063
4063
  locator?: string | undefined;
4064
4064
  }[];
@@ -4070,9 +4070,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4070
4070
  agentId: string;
4071
4071
  sessionId: string;
4072
4072
  evidence: {
4073
- id: string;
4073
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4074
4074
  label: string;
4075
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4075
+ id: string;
4076
4076
  capture: "at_action" | "historical_lookup" | "fixture";
4077
4077
  locator?: string | undefined;
4078
4078
  }[];
@@ -4081,13 +4081,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4081
4081
  recallReceiptId: string;
4082
4082
  staleDecisionAbsent: boolean;
4083
4083
  } | {
4084
- summary: string;
4085
4084
  kind: "mission_completed";
4085
+ summary: string;
4086
4086
  outcome: "failed" | "recovered" | "inconclusive";
4087
4087
  evidence: {
4088
- id: string;
4088
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4089
4089
  label: string;
4090
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4090
+ id: string;
4091
4091
  capture: "at_action" | "historical_lookup" | "fixture";
4092
4092
  locator?: string | undefined;
4093
4093
  }[];
@@ -4097,37 +4097,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4097
4097
  objective: string;
4098
4098
  runMode: "replay" | "fixture" | "live";
4099
4099
  evidence?: {
4100
- id: string;
4100
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4101
4101
  label: string;
4102
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4102
+ id: string;
4103
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4104
4104
  locator?: string | undefined;
4105
4105
  }[] | undefined;
4106
4106
  } | {
4107
- label: string;
4108
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4109
4107
  kind: "agent_status";
4108
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4109
+ label: string;
4110
4110
  role: string;
4111
4111
  agentId: string;
4112
4112
  sessionId: string;
4113
4113
  detail?: string | undefined;
4114
4114
  evidence?: {
4115
- id: string;
4115
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4116
4116
  label: string;
4117
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4117
+ id: string;
4118
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4119
4119
  locator?: string | undefined;
4120
4120
  }[] | undefined;
4121
4121
  } | {
4122
- summary: string;
4123
4122
  kind: "agent_output";
4123
+ summary: string;
4124
4124
  agentId: string;
4125
4125
  sessionId: string;
4126
4126
  outputId: string;
4127
4127
  evidence?: {
4128
- id: string;
4128
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4129
4129
  label: string;
4130
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4130
+ id: string;
4131
4131
  capture: "at_action" | "historical_lookup" | "fixture";
4132
4132
  locator?: string | undefined;
4133
4133
  }[] | undefined;
@@ -4140,37 +4140,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4140
4140
  decisionId: string;
4141
4141
  confidence?: number | undefined;
4142
4142
  evidence?: {
4143
- id: string;
4143
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4144
4144
  label: string;
4145
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4145
+ id: string;
4146
4146
  capture: "at_action" | "historical_lookup" | "fixture";
4147
4147
  locator?: string | undefined;
4148
4148
  }[] | undefined;
4149
4149
  } | {
4150
- summary: string;
4151
4150
  kind: "conflict_detected";
4151
+ summary: string;
4152
4152
  conflictId: string;
4153
4153
  decisionIds: string[];
4154
4154
  agentIds: string[];
4155
4155
  evidence?: {
4156
- id: string;
4156
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4157
4157
  label: string;
4158
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4158
+ id: string;
4159
4159
  capture: "at_action" | "historical_lookup" | "fixture";
4160
4160
  locator?: string | undefined;
4161
4161
  }[] | undefined;
4162
4162
  } | {
4163
+ kind: "test_result";
4163
4164
  summary: string;
4164
4165
  status: "error" | "failed" | "passed";
4165
- kind: "test_result";
4166
4166
  command: string;
4167
4167
  decisionId: string;
4168
4168
  testId: string;
4169
4169
  durationMs?: number | undefined;
4170
4170
  evidence?: {
4171
- id: string;
4171
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4172
4172
  label: string;
4173
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4173
+ id: string;
4174
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4175
4175
  locator?: string | undefined;
4176
4176
  }[] | undefined;
@@ -4185,9 +4185,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4185
4185
  supersedesDecisionIds: string[];
4186
4186
  proposedBy: string;
4187
4187
  evidence?: {
4188
- id: string;
4188
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4189
4189
  label: string;
4190
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4190
+ id: string;
4191
4191
  capture: "at_action" | "historical_lookup" | "fixture";
4192
4192
  locator?: string | undefined;
4193
4193
  }[] | undefined;
@@ -4195,15 +4195,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4195
4195
  kind: "correction_approved";
4196
4196
  correctionId: string;
4197
4197
  approvedBy: {
4198
- id: string;
4199
- label: string;
4200
4198
  kind: "agent" | "human";
4199
+ label: string;
4200
+ id: string;
4201
4201
  };
4202
4202
  note?: string | undefined;
4203
4203
  evidence?: {
4204
- id: string;
4204
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4205
4205
  label: string;
4206
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4206
+ id: string;
4207
4207
  capture: "at_action" | "historical_lookup" | "fixture";
4208
4208
  locator?: string | undefined;
4209
4209
  }[] | undefined;
@@ -4213,9 +4213,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4213
4213
  correctionId: string;
4214
4214
  replacementDecisionId: string;
4215
4215
  evidence?: {
4216
- id: string;
4216
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4217
4217
  label: string;
4218
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4218
+ id: string;
4219
4219
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4220
  locator?: string | undefined;
4221
4221
  }[] | undefined;
@@ -4228,9 +4228,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4228
4228
  recallReceiptId: string;
4229
4229
  capturedAtAction: boolean;
4230
4230
  evidence?: {
4231
- id: string;
4231
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4232
4232
  label: string;
4233
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4233
+ id: string;
4234
4234
  capture: "at_action" | "historical_lookup" | "fixture";
4235
4235
  locator?: string | undefined;
4236
4236
  }[] | undefined;
@@ -4243,64 +4243,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4243
4243
  recallReceiptId: string;
4244
4244
  staleDecisionAbsent: boolean;
4245
4245
  evidence?: {
4246
- id: string;
4246
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4247
  label: string;
4248
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4248
+ id: string;
4249
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4250
  locator?: string | undefined;
4251
4251
  }[] | undefined;
4252
4252
  } | {
4253
- summary: string;
4254
4253
  kind: "mission_completed";
4254
+ summary: string;
4255
4255
  outcome: "failed" | "recovered" | "inconclusive";
4256
4256
  evidence?: {
4257
- id: string;
4257
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4258
4258
  label: string;
4259
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4259
+ id: string;
4260
4260
  capture: "at_action" | "historical_lookup" | "fixture";
4261
4261
  locator?: string | undefined;
4262
4262
  }[] | undefined;
4263
4263
  }>;
4264
4264
  }, "strict", z.ZodTypeAny, {
4265
- namespace: string;
4266
- recordedAt: string;
4267
4265
  schemaVersion: "1";
4266
+ recordedAt: string;
4268
4267
  payload: {
4269
4268
  kind: "mission_started";
4270
4269
  title: string;
4271
4270
  evidence: {
4272
- id: string;
4271
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4273
4272
  label: string;
4274
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4273
+ id: string;
4275
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4276
4275
  locator?: string | undefined;
4277
4276
  }[];
4278
4277
  objective: string;
4279
4278
  runMode: "replay" | "fixture" | "live";
4280
4279
  } | {
4281
- label: string;
4282
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4283
4280
  kind: "agent_status";
4281
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4282
+ label: string;
4284
4283
  role: string;
4285
4284
  agentId: string;
4286
4285
  sessionId: string;
4287
4286
  evidence: {
4288
- id: string;
4287
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4289
4288
  label: string;
4290
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4289
+ id: string;
4291
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4292
4291
  locator?: string | undefined;
4293
4292
  }[];
4294
4293
  detail?: string | undefined;
4295
4294
  } | {
4296
- summary: string;
4297
4295
  kind: "agent_output";
4296
+ summary: string;
4298
4297
  agentId: string;
4299
4298
  sessionId: string;
4300
4299
  evidence: {
4301
- id: string;
4300
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4302
4301
  label: string;
4303
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4302
+ id: string;
4304
4303
  capture: "at_action" | "historical_lookup" | "fixture";
4305
4304
  locator?: string | undefined;
4306
4305
  }[];
@@ -4311,9 +4310,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4311
4310
  statement: string;
4312
4311
  sessionId: string;
4313
4312
  evidence: {
4314
- id: string;
4313
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4315
4314
  label: string;
4316
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4315
+ id: string;
4317
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4318
4317
  locator?: string | undefined;
4319
4318
  }[];
@@ -4321,12 +4320,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4321
4320
  decisionId: string;
4322
4321
  confidence?: number | undefined;
4323
4322
  } | {
4324
- summary: string;
4325
4323
  kind: "conflict_detected";
4324
+ summary: string;
4326
4325
  evidence: {
4327
- id: string;
4326
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4328
4327
  label: string;
4329
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4328
+ id: string;
4330
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4331
4330
  locator?: string | undefined;
4332
4331
  }[];
@@ -4334,14 +4333,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4334
4333
  decisionIds: string[];
4335
4334
  agentIds: string[];
4336
4335
  } | {
4336
+ kind: "test_result";
4337
4337
  summary: string;
4338
4338
  status: "error" | "failed" | "passed";
4339
- kind: "test_result";
4340
4339
  command: string;
4341
4340
  evidence: {
4342
- id: string;
4341
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4343
4342
  label: string;
4344
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4343
+ id: string;
4345
4344
  capture: "at_action" | "historical_lookup" | "fixture";
4346
4345
  locator?: string | undefined;
4347
4346
  }[];
@@ -4354,9 +4353,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4354
4353
  rationale: string;
4355
4354
  statement: string;
4356
4355
  evidence: {
4357
- id: string;
4356
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4358
4357
  label: string;
4359
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4358
+ id: string;
4360
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4361
4360
  locator?: string | undefined;
4362
4361
  }[];
@@ -4368,25 +4367,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4368
4367
  } | {
4369
4368
  kind: "correction_approved";
4370
4369
  evidence: {
4371
- id: string;
4370
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4372
4371
  label: string;
4373
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4372
+ id: string;
4374
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4375
4374
  locator?: string | undefined;
4376
4375
  }[];
4377
4376
  correctionId: string;
4378
4377
  approvedBy: {
4379
- id: string;
4380
- label: string;
4381
4378
  kind: "agent" | "human";
4379
+ label: string;
4380
+ id: string;
4382
4381
  };
4383
4382
  note?: string | undefined;
4384
4383
  } | {
4385
4384
  kind: "decision_superseded";
4386
4385
  evidence: {
4387
- id: string;
4386
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4388
4387
  label: string;
4389
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4388
+ id: string;
4390
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4391
4390
  locator?: string | undefined;
4392
4391
  }[];
@@ -4399,9 +4398,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4399
4398
  agentId: string;
4400
4399
  sessionId: string;
4401
4400
  evidence: {
4402
- id: string;
4401
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4403
4402
  label: string;
4404
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4403
+ id: string;
4405
4404
  capture: "at_action" | "historical_lookup" | "fixture";
4406
4405
  locator?: string | undefined;
4407
4406
  }[];
@@ -4413,9 +4412,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4413
4412
  agentId: string;
4414
4413
  sessionId: string;
4415
4414
  evidence: {
4416
- id: string;
4415
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4417
4416
  label: string;
4418
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4417
+ id: string;
4419
4418
  capture: "at_action" | "historical_lookup" | "fixture";
4420
4419
  locator?: string | undefined;
4421
4420
  }[];
@@ -4424,63 +4423,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4424
4423
  recallReceiptId: string;
4425
4424
  staleDecisionAbsent: boolean;
4426
4425
  } | {
4427
- summary: string;
4428
4426
  kind: "mission_completed";
4427
+ summary: string;
4429
4428
  outcome: "failed" | "recovered" | "inconclusive";
4430
4429
  evidence: {
4431
- id: string;
4430
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4432
4431
  label: string;
4433
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4432
+ id: string;
4434
4433
  capture: "at_action" | "historical_lookup" | "fixture";
4435
4434
  locator?: string | undefined;
4436
4435
  }[];
4437
4436
  };
4437
+ namespace: string;
4438
4438
  eventId: string;
4439
4439
  occurredAt: string;
4440
4440
  missionId: string;
4441
4441
  authenticatedPrincipal?: string | undefined;
4442
4442
  idempotencyKey?: string | undefined;
4443
4443
  }, {
4444
- namespace: string;
4445
- recordedAt: string;
4446
4444
  schemaVersion: "1";
4445
+ recordedAt: string;
4447
4446
  payload: {
4448
4447
  kind: "mission_started";
4449
4448
  title: string;
4450
4449
  objective: string;
4451
4450
  runMode: "replay" | "fixture" | "live";
4452
4451
  evidence?: {
4453
- id: string;
4452
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4454
4453
  label: string;
4455
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4454
+ id: string;
4456
4455
  capture: "at_action" | "historical_lookup" | "fixture";
4457
4456
  locator?: string | undefined;
4458
4457
  }[] | undefined;
4459
4458
  } | {
4460
- label: string;
4461
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4462
4459
  kind: "agent_status";
4460
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4461
+ label: string;
4463
4462
  role: string;
4464
4463
  agentId: string;
4465
4464
  sessionId: string;
4466
4465
  detail?: string | undefined;
4467
4466
  evidence?: {
4468
- id: string;
4467
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4469
4468
  label: string;
4470
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4469
+ id: string;
4471
4470
  capture: "at_action" | "historical_lookup" | "fixture";
4472
4471
  locator?: string | undefined;
4473
4472
  }[] | undefined;
4474
4473
  } | {
4475
- summary: string;
4476
4474
  kind: "agent_output";
4475
+ summary: string;
4477
4476
  agentId: string;
4478
4477
  sessionId: string;
4479
4478
  outputId: string;
4480
4479
  evidence?: {
4481
- id: string;
4480
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4482
4481
  label: string;
4483
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4482
+ id: string;
4484
4483
  capture: "at_action" | "historical_lookup" | "fixture";
4485
4484
  locator?: string | undefined;
4486
4485
  }[] | undefined;
@@ -4493,37 +4492,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4493
4492
  decisionId: string;
4494
4493
  confidence?: number | undefined;
4495
4494
  evidence?: {
4496
- id: string;
4495
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4497
4496
  label: string;
4498
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4497
+ id: string;
4499
4498
  capture: "at_action" | "historical_lookup" | "fixture";
4500
4499
  locator?: string | undefined;
4501
4500
  }[] | undefined;
4502
4501
  } | {
4503
- summary: string;
4504
4502
  kind: "conflict_detected";
4503
+ summary: string;
4505
4504
  conflictId: string;
4506
4505
  decisionIds: string[];
4507
4506
  agentIds: string[];
4508
4507
  evidence?: {
4509
- id: string;
4508
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4509
  label: string;
4511
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4510
+ id: string;
4512
4511
  capture: "at_action" | "historical_lookup" | "fixture";
4513
4512
  locator?: string | undefined;
4514
4513
  }[] | undefined;
4515
4514
  } | {
4515
+ kind: "test_result";
4516
4516
  summary: string;
4517
4517
  status: "error" | "failed" | "passed";
4518
- kind: "test_result";
4519
4518
  command: string;
4520
4519
  decisionId: string;
4521
4520
  testId: string;
4522
4521
  durationMs?: number | undefined;
4523
4522
  evidence?: {
4524
- id: string;
4523
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4525
4524
  label: string;
4526
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4525
+ id: string;
4527
4526
  capture: "at_action" | "historical_lookup" | "fixture";
4528
4527
  locator?: string | undefined;
4529
4528
  }[] | undefined;
@@ -4538,9 +4537,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4538
4537
  supersedesDecisionIds: string[];
4539
4538
  proposedBy: string;
4540
4539
  evidence?: {
4541
- id: string;
4540
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4542
4541
  label: string;
4543
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4542
+ id: string;
4544
4543
  capture: "at_action" | "historical_lookup" | "fixture";
4545
4544
  locator?: string | undefined;
4546
4545
  }[] | undefined;
@@ -4548,15 +4547,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4548
4547
  kind: "correction_approved";
4549
4548
  correctionId: string;
4550
4549
  approvedBy: {
4551
- id: string;
4552
- label: string;
4553
4550
  kind: "agent" | "human";
4551
+ label: string;
4552
+ id: string;
4554
4553
  };
4555
4554
  note?: string | undefined;
4556
4555
  evidence?: {
4557
- id: string;
4556
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4558
4557
  label: string;
4559
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4558
+ id: string;
4560
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4561
4560
  locator?: string | undefined;
4562
4561
  }[] | undefined;
@@ -4566,9 +4565,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4566
4565
  correctionId: string;
4567
4566
  replacementDecisionId: string;
4568
4567
  evidence?: {
4569
- id: string;
4568
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4570
4569
  label: string;
4571
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4570
+ id: string;
4572
4571
  capture: "at_action" | "historical_lookup" | "fixture";
4573
4572
  locator?: string | undefined;
4574
4573
  }[] | undefined;
@@ -4581,9 +4580,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4581
4580
  recallReceiptId: string;
4582
4581
  capturedAtAction: boolean;
4583
4582
  evidence?: {
4584
- id: string;
4583
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4585
4584
  label: string;
4586
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4585
+ id: string;
4587
4586
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4587
  locator?: string | undefined;
4589
4588
  }[] | undefined;
@@ -4596,24 +4595,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4596
4595
  recallReceiptId: string;
4597
4596
  staleDecisionAbsent: boolean;
4598
4597
  evidence?: {
4599
- id: string;
4598
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4599
  label: string;
4601
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4600
+ id: string;
4602
4601
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4602
  locator?: string | undefined;
4604
4603
  }[] | undefined;
4605
4604
  } | {
4606
- summary: string;
4607
4605
  kind: "mission_completed";
4606
+ summary: string;
4608
4607
  outcome: "failed" | "recovered" | "inconclusive";
4609
4608
  evidence?: {
4610
- id: string;
4609
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4611
4610
  label: string;
4612
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4611
+ id: string;
4613
4612
  capture: "at_action" | "historical_lookup" | "fixture";
4614
4613
  locator?: string | undefined;
4615
4614
  }[] | undefined;
4616
4615
  };
4616
+ namespace: string;
4617
4617
  eventId: string;
4618
4618
  occurredAt: string;
4619
4619
  missionId: string;
@@ -6546,8 +6546,14 @@ interface CleanupResult {
6546
6546
  mergedSegments: number;
6547
6547
  }
6548
6548
  /** Apply configured cleanup passes to one conversation. */
6549
- declare function cleanConversation(conversation: WearableConversation, settings: WearableCleanupSettings): CleanupResult;
6550
- declare function stripFillerTokens(text: string): string;
6549
+ declare function cleanConversation(conversation: WearableConversation, settings: WearableCleanupSettings, extraFillerTokens?: readonly string[]): CleanupResult;
6550
+ /**
6551
+ * Remove filler tokens from `text`. The built-in token set is chosen
6552
+ * from the scripts present in the text, so a Japanese or Korean segment
6553
+ * is cleaned by its own list instead of silently keeping every filler
6554
+ * (issue #2196). Operator tokens apply to every script.
6555
+ */
6556
+ declare function stripFillerTokens(text: string, extraTokens?: readonly string[]): string;
6551
6557
  /**
6552
6558
  * Collapse immediate word/phrase stutters: "I I I think" -> "I think",
6553
6559
  * "we should we should go" -> "we should go". Only collapses *adjacent*
@@ -6587,18 +6593,84 @@ declare function redactText(text: string, userPatterns: RegExp[]): RedactionResu
6587
6593
  * to the operator instead of silently skipping the rule.
6588
6594
  */
6589
6595
  declare function compileRedactionPatterns(patterns: string[]): RegExp[];
6596
+ /**
6597
+ * Built-in phrases that BEGIN an off-the-record span.
6598
+ *
6599
+ * Conservative by design: a false positive elides real transcript
6600
+ * content. Every phrase is a fixed multi-word expression, or a loanword
6601
+ * that only means "off the record" (issue #2196). Operators extend this
6602
+ * list through `wearables.offTheRecordMarkers.start`.
6603
+ */
6604
+ declare const BUILT_IN_OFF_THE_RECORD_START: readonly string[];
6605
+ /**
6606
+ * Built-in phrases that END an off-the-record span.
6607
+ *
6608
+ * Shorter than the start list on purpose. A start phrase with no
6609
+ * matching end phrase elides through the end of the conversation, which
6610
+ * is the fail-closed direction; an over-eager end phrase would leak. So
6611
+ * a language only appears here when the phrase is unambiguous.
6612
+ */
6613
+ declare const BUILT_IN_OFF_THE_RECORD_END: readonly string[];
6614
+ /**
6615
+ * Loose form of the parsed `OffTheRecordMarkerSettings`: callers that
6616
+ * only override one field pass a partial, so every property is
6617
+ * optional and read-only here.
6618
+ */
6619
+ type OffTheRecordMarkerInput = {
6620
+ readonly [K in keyof OffTheRecordMarkerSettings]?: K extends "useBuiltIns" ? boolean : readonly string[];
6621
+ };
6622
+ interface CompiledOffTheRecordMarkers {
6623
+ start: RegExp | null;
6624
+ end: RegExp | null;
6625
+ }
6626
+ /**
6627
+ * Compile marker settings into matchers. Omitting `settings` yields the
6628
+ * built-in lists, so callers that never configured markers keep the
6629
+ * previous behavior plus the new languages.
6630
+ */
6631
+ declare function compileOffTheRecordMarkers(settings?: OffTheRecordMarkerInput): CompiledOffTheRecordMarkers;
6590
6632
  interface OffTheRecordResult {
6591
6633
  conversation: WearableConversation;
6592
6634
  droppedSegments: number;
6593
6635
  }
6594
6636
  /**
6595
- * Drop segments between a spoken "off the record" marker and the next
6596
- * "(back) on the record" marker (or conversation end). The marker
6597
- * segments themselves are kept, with the off-record span replaced by a
6598
- * visible placeholder so the transcript shows that content was elided
6599
- * by request rather than lost.
6637
+ * Drop segments between a spoken off-the-record marker and the next
6638
+ * back-on-the-record marker (or conversation end). The marker segments
6639
+ * themselves are kept, with the off-record span replaced by a visible
6640
+ * placeholder so the transcript shows that content was elided by
6641
+ * request rather than lost.
6642
+ */
6643
+ declare function applyOffTheRecord(conversation: WearableConversation, markers?: CompiledOffTheRecordMarkers): OffTheRecordResult;
6644
+
6645
+ /**
6646
+ * Script-aware text helpers shared by wearable cleanup and redaction.
6647
+ *
6648
+ * Both features were written for space-delimited English. A spoken
6649
+ * marker phrase or a filler token in Japanese, Korean, Chinese, Arabic,
6650
+ * or Russian never matched, so a privacy feature silently did nothing
6651
+ * (issue #2196). These helpers make phrase matching correct for scripts
6652
+ * that do not separate words with spaces.
6653
+ */
6654
+ /** Coarse script class used to select built-in token sets. */
6655
+ type ScriptHint = "latin" | "japanese" | "han" | "korean" | "arabic" | "cyrillic";
6656
+ /**
6657
+ * Report which script-specific token sets apply to `text`.
6658
+ *
6659
+ * `latin` is always present: transcripts mix scripts freely, and the
6660
+ * Latin filler tokens are whole-token matches that cannot fire inside
6661
+ * non-Latin text. Japanese wins over Han when kana are present, because
6662
+ * Japanese text also contains Han characters.
6663
+ */
6664
+ declare function detectScriptHints(text: string): ScriptHint[];
6665
+ /**
6666
+ * Compile `phrases` into one case-insensitive matcher, or `null` when
6667
+ * no usable phrase remains.
6668
+ *
6669
+ * Internal whitespace matches any whitespace run, so a transcript that
6670
+ * breaks a phrase across a line still matches. Letter boundaries are
6671
+ * added per edge, and only when that edge is a space-delimited script.
6600
6672
  */
6601
- declare function applyOffTheRecord(conversation: WearableConversation): OffTheRecordResult;
6673
+ declare function buildPhraseMatcher(phrases: readonly string[]): RegExp | null;
6602
6674
 
6603
6675
  /**
6604
6676
  * Wearable transcript corrections — user-specific replacement rules.
@@ -7856,4 +7928,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
7856
7928
  */
7857
7929
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
7858
7930
 
7859
- export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, withRawEntityPageMutation, writeManifest, writeMeetingEpisodeMemory };
7931
+ export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, withRawEntityPageMutation, writeManifest, writeMeetingEpisodeMemory };