@remnic/core 9.45.4 → 9.46.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 (460) hide show
  1. package/dist/access-admin-ops-surface.d.ts +10 -10
  2. package/dist/access-admin-ops-surface.js +30 -29
  3. package/dist/access-authorization-probe.d.ts +10 -10
  4. package/dist/access-authorization-probe.js +31 -30
  5. package/dist/access-boundary.d.ts +10 -10
  6. package/dist/access-boundary.js +30 -29
  7. package/dist/access-cli.js +91 -87
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +10 -10
  11. package/dist/access-extraction-force-flush.js +30 -29
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +10 -10
  14. package/dist/access-http-lifecycle-flush.d.ts +10 -10
  15. package/dist/access-http-offline-stream.d.ts +10 -10
  16. package/dist/access-http-offline-stream.js +1 -1
  17. package/dist/access-http-query.js +30 -29
  18. package/dist/access-http.d.ts +10 -11
  19. package/dist/access-http.js +42 -41
  20. package/dist/access-identity-continuity-surface.d.ts +8 -8
  21. package/dist/access-identity-continuity-surface.js +30 -29
  22. package/dist/access-lcm-surface.d.ts +10 -10
  23. package/dist/access-lcm-surface.js +30 -29
  24. package/dist/access-mcp.d.ts +10 -10
  25. package/dist/access-mcp.js +36 -35
  26. package/dist/access-memory-search-fanout.d.ts +2 -2
  27. package/dist/{access-namespace-preflight-CWUDwB4M.d.ts → access-namespace-preflight--H6HwN85.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +3 -3
  29. package/dist/access-namespace-preflight.js +30 -29
  30. package/dist/access-observe-write-surface.d.ts +10 -10
  31. package/dist/access-observe-write-surface.js +30 -29
  32. package/dist/access-offline-manifest.d.ts +8 -8
  33. package/dist/access-operations-batch.js +31 -30
  34. package/dist/access-operations.d.ts +13 -13
  35. package/dist/access-operations.js +35 -34
  36. package/dist/access-recall-concurrency.d.ts +10 -10
  37. package/dist/access-recall-concurrency.js +30 -29
  38. package/dist/access-recall-response.d.ts +10 -10
  39. package/dist/access-recall-response.js +30 -29
  40. package/dist/access-recall-surface.d.ts +10 -10
  41. package/dist/access-recall-surface.js +30 -29
  42. package/dist/access-schema.d.ts +84 -84
  43. package/dist/access-service-helpers.d.ts +10 -10
  44. package/dist/{access-service-CsU-ljFD.d.ts → access-service-loJadYd7.d.ts} +7 -7
  45. package/dist/access-service.d.ts +10 -10
  46. package/dist/access-service.js +30 -29
  47. package/dist/access-surface-catalog.d.ts +10 -10
  48. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  49. package/dist/action-confidence.d.ts +1 -1
  50. package/dist/active-memory-bridge.d.ts +1 -1
  51. package/dist/active-recall.d.ts +1 -1
  52. package/dist/adapters/index.js +4 -4
  53. package/dist/adapters/registry.js +2 -2
  54. package/dist/ambient-provenance.d.ts +109 -0
  55. package/dist/ambient-provenance.js +22 -0
  56. package/dist/ambient-provenance.js.map +1 -0
  57. package/dist/{auto-sync-UPTUVE4X.js → auto-sync-7O6RP2RT.js} +3 -2
  58. package/dist/{auto-sync-UPTUVE4X.js.map → auto-sync-7O6RP2RT.js.map} +1 -1
  59. package/dist/behavior-learner.d.ts +1 -1
  60. package/dist/behavior-signals.d.ts +1 -1
  61. package/dist/bootstrap.d.ts +8 -8
  62. package/dist/briefing.d.ts +2 -2
  63. package/dist/briefing.js +6 -5
  64. package/dist/buffer-surprise-report.d.ts +1 -1
  65. package/dist/buffer-turn-helpers.d.ts +1 -1
  66. package/dist/buffer-turn-helpers.js +1 -1
  67. package/dist/buffer.d.ts +2 -2
  68. package/dist/buffer.js +5 -5
  69. package/dist/bulk-import/index.d.ts +3 -3
  70. package/dist/calibration.d.ts +1 -1
  71. package/dist/capabilities.d.ts +1 -1
  72. package/dist/{catalog-bctMURhN.d.ts → catalog-Iwbk9h5E.d.ts} +1 -1
  73. package/dist/causal-behavior.d.ts +1 -1
  74. package/dist/causal-consolidation.d.ts +1 -1
  75. package/dist/causal-consolidation.js +7 -6
  76. package/dist/causal-consolidation.js.map +1 -1
  77. package/dist/causal-trajectory-graph.d.ts +1 -1
  78. package/dist/{chunk-7RZJWZ46.js → chunk-227UFSEQ.js} +5 -5
  79. package/dist/{chunk-ER7W6H4T.js → chunk-2AD5SXO4.js} +5 -2
  80. package/dist/chunk-2AD5SXO4.js.map +1 -0
  81. package/dist/{chunk-XSFHWBQO.js → chunk-2DSUT7DZ.js} +10 -64
  82. package/dist/{chunk-XSFHWBQO.js.map → chunk-2DSUT7DZ.js.map} +1 -1
  83. package/dist/{chunk-DZPFMQZ7.js → chunk-3S63QIFQ.js} +1 -1
  84. package/dist/chunk-3S63QIFQ.js.map +1 -0
  85. package/dist/{chunk-UQWIKLQK.js → chunk-47J4EDGR.js} +9 -9
  86. package/dist/{chunk-5SNZSWWR.js → chunk-5LRDM4R7.js} +42 -42
  87. package/dist/{chunk-7YERSTN7.js → chunk-5R6S4DJZ.js} +7 -7
  88. package/dist/{chunk-C26TE27X.js → chunk-5VQPZ4GV.js} +3 -3
  89. package/dist/{chunk-U2VLVBBH.js → chunk-64BHFFKZ.js} +3 -3
  90. package/dist/{chunk-AJQ57VV3.js → chunk-6H744ZBH.js} +4 -4
  91. package/dist/chunk-6H744ZBH.js.map +1 -0
  92. package/dist/{chunk-7CITSYSH.js → chunk-7T4TOGMS.js} +2 -2
  93. package/dist/{chunk-ZMAYKGPN.js → chunk-7YQ6ESEA.js} +12 -41
  94. package/dist/chunk-7YQ6ESEA.js.map +1 -0
  95. package/dist/{chunk-YMAQDHQM.js → chunk-BDNL34CT.js} +2 -2
  96. package/dist/{chunk-GQL52GQ5.js → chunk-CDKHKZL5.js} +15 -12
  97. package/dist/chunk-CDKHKZL5.js.map +1 -0
  98. package/dist/{chunk-WGP57SR3.js → chunk-CK5KOVHW.js} +3 -2
  99. package/dist/{chunk-WGP57SR3.js.map → chunk-CK5KOVHW.js.map} +1 -1
  100. package/dist/{chunk-JH6BPLOP.js → chunk-E4FOAENZ.js} +4 -4
  101. package/dist/{chunk-ZFGZ6PZ2.js → chunk-FULKGK7P.js} +2 -2
  102. package/dist/{chunk-BGHFOD5A.js → chunk-HJ3SVHUW.js} +3 -3
  103. package/dist/{chunk-TYISDI6B.js → chunk-HXXTXLKA.js} +2 -2
  104. package/dist/{chunk-FZP32336.js → chunk-IDE5AR5W.js} +53 -31
  105. package/dist/chunk-IDE5AR5W.js.map +1 -0
  106. package/dist/{chunk-7SHJHPTY.js → chunk-ILBLZ5Y5.js} +2 -2
  107. package/dist/chunk-J7T4MX7P.js +131 -0
  108. package/dist/chunk-J7T4MX7P.js.map +1 -0
  109. package/dist/{chunk-DSUAAZZX.js → chunk-JFO5QZ7N.js} +2 -2
  110. package/dist/{chunk-EJHEWCGQ.js → chunk-KA47C7BF.js} +2 -2
  111. package/dist/{chunk-NUEQKLNB.js → chunk-KMWYZTIE.js} +2 -2
  112. package/dist/{chunk-TQ4GD737.js → chunk-L7G72WY4.js} +2 -2
  113. package/dist/{chunk-CLB32OHM.js → chunk-LI7OE7G6.js} +2 -2
  114. package/dist/{chunk-TN76AKO3.js → chunk-M2INOSTA.js} +2 -2
  115. package/dist/{chunk-DYVMXPCF.js → chunk-M32URQXV.js} +665 -614
  116. package/dist/chunk-M32URQXV.js.map +1 -0
  117. package/dist/{chunk-WQIHRA5F.js → chunk-N3LL5NEU.js} +2 -2
  118. package/dist/{chunk-HFPASSFV.js → chunk-P2OTGMTR.js} +2 -2
  119. package/dist/{chunk-Y7HRYCNW.js → chunk-PFJXPOD4.js} +2 -2
  120. package/dist/{chunk-MDISBSYA.js → chunk-PKCLQ7KM.js} +43 -143
  121. package/dist/chunk-PKCLQ7KM.js.map +1 -0
  122. package/dist/chunk-QW27DOHG.js +84 -0
  123. package/dist/chunk-QW27DOHG.js.map +1 -0
  124. package/dist/{chunk-ZI32MKDW.js → chunk-RCU25Z66.js} +32 -35
  125. package/dist/chunk-RCU25Z66.js.map +1 -0
  126. package/dist/{chunk-2QSZNTDO.js → chunk-RKNJBZ55.js} +4 -4
  127. package/dist/{chunk-QCECHYZL.js → chunk-RVO6TCTU.js} +6 -6
  128. package/dist/{chunk-D3I2MCN7.js → chunk-RVPTS4U5.js} +3 -3
  129. package/dist/{chunk-W3IC7QOY.js → chunk-RVYVMQK4.js} +3 -3
  130. package/dist/chunk-S2HLHAZ4.js +16 -0
  131. package/dist/chunk-S2HLHAZ4.js.map +1 -0
  132. package/dist/{chunk-2MRHJNWL.js → chunk-ST5IEK3H.js} +2 -2
  133. package/dist/{chunk-O4KMGRXE.js → chunk-SXWHN7GC.js} +2 -2
  134. package/dist/{chunk-KXEFRMCF.js → chunk-T6JRMVOV.js} +2 -2
  135. package/dist/{chunk-R5RFK3CB.js → chunk-U6JGQ37L.js} +2 -2
  136. package/dist/{chunk-UV72DEZD.js → chunk-UYUYZ4WY.js} +36 -10
  137. package/dist/chunk-UYUYZ4WY.js.map +1 -0
  138. package/dist/{chunk-EITZHSX6.js → chunk-V5FE3UAI.js} +2 -2
  139. package/dist/chunk-VL35ZFSZ.js +102 -0
  140. package/dist/chunk-VL35ZFSZ.js.map +1 -0
  141. package/dist/{chunk-NTOIP2E6.js → chunk-W2ZSNIBP.js} +2 -2
  142. package/dist/{chunk-QVSBTCVP.js → chunk-WHWDBTCJ.js} +2 -2
  143. package/dist/{chunk-5CEECY6P.js → chunk-WOC6DXP5.js} +3 -3
  144. package/dist/{chunk-XTAUXTDO.js → chunk-XBMJ35IP.js} +2 -2
  145. package/dist/{chunk-VOUOLGIP.js → chunk-YRFAYOFQ.js} +11 -13
  146. package/dist/chunk-YRFAYOFQ.js.map +1 -0
  147. package/dist/{chunk-P7NGM24P.js → chunk-YWCOJOUI.js} +2 -2
  148. package/dist/{chunk-6NNNURLK.js → chunk-Z54EM5YZ.js} +4 -4
  149. package/dist/{chunk-ULVR5KG7.js → chunk-ZDAYWJV6.js} +2 -2
  150. package/dist/chunk-ZDAYWJV6.js.map +1 -0
  151. package/dist/{cli-BBHDtG36.d.ts → cli-D_RcqXfZ.d.ts} +5 -5
  152. package/dist/cli.d.ts +12 -12
  153. package/dist/cli.js +61 -60
  154. package/dist/compat/checks.js +1 -1
  155. package/dist/compounding/engine.d.ts +2 -2
  156. package/dist/compounding/engine.js +6 -5
  157. package/dist/compounding/preference-consolidator.d.ts +1 -1
  158. package/dist/compression-optimizer.d.ts +1 -1
  159. package/dist/config.d.ts +1 -1
  160. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  161. package/dist/connectors/codex-materialize-runner.js +6 -5
  162. package/dist/connectors/codex-materialize.d.ts +1 -1
  163. package/dist/connectors/index.d.ts +1 -1
  164. package/dist/connectors/index.js +6 -5
  165. package/dist/consolidation-provenance-check.d.ts +2 -2
  166. package/dist/consolidation-undo.d.ts +2 -2
  167. package/dist/contradiction/index.d.ts +2 -2
  168. package/dist/converge-config.d.ts +1 -1
  169. package/dist/convergence-refresh.d.ts +2 -2
  170. package/dist/convergence-refresh.js +8 -7
  171. package/dist/conversation-index/backend.d.ts +1 -1
  172. package/dist/conversation-index/backend.js +2 -2
  173. package/dist/conversation-index/chunker.d.ts +1 -1
  174. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  175. package/dist/conversation-index/indexer.d.ts +1 -1
  176. package/dist/conversation-index/search.d.ts +1 -1
  177. package/dist/corpus-watermark.d.ts +1 -1
  178. package/dist/corpus-watermark.js +17 -16
  179. package/dist/day-summary.d.ts +1 -1
  180. package/dist/delinearize.d.ts +1 -1
  181. package/dist/direct-answer-wiring.d.ts +1 -1
  182. package/dist/direct-answer.d.ts +1 -1
  183. package/dist/embedding-fallback.d.ts +1 -1
  184. package/dist/enrichment/index.d.ts +1 -1
  185. package/dist/entity-retrieval.d.ts +2 -2
  186. package/dist/entity-retrieval.js +6 -5
  187. package/dist/entity-schema.d.ts +1 -1
  188. package/dist/explicit-capture.d.ts +8 -8
  189. package/dist/external-wiki-access.d.ts +10 -10
  190. package/dist/external-wiki-access.js +33 -32
  191. package/dist/external-wiki-cli.js +4 -90
  192. package/dist/external-wiki-cli.js.map +1 -1
  193. package/dist/external-wiki-collection-registration.d.ts +1 -1
  194. package/dist/external-wiki-collection.d.ts +1 -1
  195. package/dist/external-wiki-mcp-tools.d.ts +10 -10
  196. package/dist/external-wiki-search.js +2 -2
  197. package/dist/external-wiki.d.ts +1 -5
  198. package/dist/external-wiki.js +1 -3
  199. package/dist/extraction-error-classification.d.ts +1 -1
  200. package/dist/extraction-faithfulness.d.ts +1 -1
  201. package/dist/extraction-judge-telemetry.d.ts +1 -1
  202. package/dist/extraction-judge-training.d.ts +1 -1
  203. package/dist/extraction-judge.d.ts +1 -1
  204. package/dist/extraction-liveness.d.ts +1 -1
  205. package/dist/extraction-prompt.d.ts +36 -0
  206. package/dist/extraction-prompt.js +16 -0
  207. package/dist/extraction-prompt.js.map +1 -0
  208. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  209. package/dist/extraction-source-grounding.d.ts +1 -1
  210. package/dist/extraction.d.ts +6 -14
  211. package/dist/extraction.js +13 -10
  212. package/dist/fallback-llm.d.ts +1 -1
  213. package/dist/{first-start-migration-F2QJD66E.js → first-start-migration-ZSHEFEI3.js} +10 -12
  214. package/dist/{first-start-migration-F2QJD66E.js.map → first-start-migration-ZSHEFEI3.js.map} +1 -1
  215. package/dist/graph-dashboard-diff.d.ts +1 -1
  216. package/dist/graph-dashboard-key.d.ts +1 -1
  217. package/dist/graph-dashboard-parser.d.ts +1 -1
  218. package/dist/graph-edge-reinforcement.d.ts +1 -1
  219. package/dist/graph-snapshot.d.ts +1 -1
  220. package/dist/graph.d.ts +1 -1
  221. package/dist/importance.d.ts +1 -1
  222. package/dist/importers/index.d.ts +1 -1
  223. package/dist/in-flight-reads.d.ts +1 -1
  224. package/dist/index.d.ts +701 -697
  225. package/dist/index.js +133 -128
  226. package/dist/intent.d.ts +1 -1
  227. package/dist/lcm/engine.d.ts +1 -1
  228. package/dist/lcm/engine.js +2 -2
  229. package/dist/lcm/index.d.ts +1 -1
  230. package/dist/lcm/index.js +2 -2
  231. package/dist/lcm/tools.d.ts +1 -1
  232. package/dist/lifecycle.d.ts +1 -1
  233. package/dist/live-connectors-runner.d.ts +1 -1
  234. package/dist/local-llm.d.ts +1 -1
  235. package/dist/local-model-endpoint.d.ts +1 -1
  236. package/dist/maintenance/memory-governance.d.ts +1 -1
  237. package/dist/maintenance/memory-governance.js +6 -5
  238. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  239. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +6 -5
  240. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  241. package/dist/maintenance/rebuild-memory-projection.js +7 -6
  242. package/dist/{maintenance-D2mveyCd.d.ts → maintenance-DQrL93Uu.d.ts} +3 -3
  243. package/dist/mcp-memory-inspector-app.d.ts +10 -10
  244. package/dist/memory-action-policy.d.ts +1 -1
  245. package/dist/memory-cache.d.ts +1 -1
  246. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  247. package/dist/memory-projection-store.d.ts +1 -1
  248. package/dist/memory-provenance.d.ts +1 -1
  249. package/dist/memory-snapshot.d.ts +10 -0
  250. package/dist/memory-snapshot.js +8 -0
  251. package/dist/memory-snapshot.js.map +1 -0
  252. package/dist/memory-worth-outcomes.d.ts +2 -2
  253. package/dist/models-json.d.ts +1 -1
  254. package/dist/namespaces/migrate.d.ts +3 -3
  255. package/dist/namespaces/migrate.js +16 -15
  256. package/dist/namespaces/principal.d.ts +1 -1
  257. package/dist/namespaces/search.d.ts +1 -1
  258. package/dist/namespaces/search.js +9 -9
  259. package/dist/namespaces/storage.d.ts +3 -3
  260. package/dist/namespaces/storage.js +6 -5
  261. package/dist/native-knowledge.d.ts +1 -1
  262. package/dist/offline-sync-impression-drain.d.ts +1 -1
  263. package/dist/operator-doctor-corpus.d.ts +1 -1
  264. package/dist/operator-doctor-corpus.js +18 -17
  265. package/dist/operator-doctor-replica.d.ts +1 -1
  266. package/dist/operator-toolkit.d.ts +3 -3
  267. package/dist/operator-toolkit.js +22 -21
  268. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  269. package/dist/orchestration/maintenance.d.ts +4 -4
  270. package/dist/orchestration/maintenance.js +11 -10
  271. package/dist/{orchestrator-DJYlwiUv.d.ts → orchestrator-LPGegii3.d.ts} +8 -8
  272. package/dist/orchestrator.d.ts +8 -8
  273. package/dist/orchestrator.js +93 -89
  274. package/dist/patterns-cli.d.ts +1 -1
  275. package/dist/{pipeline-CNjY4wk3.d.ts → pipeline-1h2GpiHP.d.ts} +1 -1
  276. package/dist/policy-runtime.d.ts +1 -1
  277. package/dist/proactive-contention.d.ts +1 -1
  278. package/dist/provenance.d.ts +1 -1
  279. package/dist/{qmd-C0UDZidt.d.ts → qmd-UdwoF71D.d.ts} +1 -1
  280. package/dist/qmd-preflight.d.ts +2 -2
  281. package/dist/qmd-recall-cache.d.ts +1 -1
  282. package/dist/qmd.d.ts +2 -2
  283. package/dist/qmd.js +4 -4
  284. package/dist/recall-concurrency-config.d.ts +1 -1
  285. package/dist/recall-disclosure-escalation.d.ts +1 -1
  286. package/dist/recall-explain-renderer.d.ts +1 -1
  287. package/dist/recall-explain-renderer.js +3 -3
  288. package/dist/recall-memory-map.d.ts +1 -1
  289. package/dist/recall-planner-llm.d.ts +1 -1
  290. package/dist/recall-state.d.ts +1 -1
  291. package/dist/recall-tag-filter.d.ts +1 -1
  292. package/dist/recall-timings.d.ts +1 -1
  293. package/dist/recall-xray-cli.d.ts +1 -1
  294. package/dist/recall-xray-cli.js +4 -4
  295. package/dist/recall-xray-renderer.d.ts +1 -1
  296. package/dist/recall-xray-renderer.js +3 -3
  297. package/dist/recall-xray.d.ts +1 -1
  298. package/dist/recall-xray.js +2 -2
  299. package/dist/reconcile/cursor.d.ts +1 -1
  300. package/dist/reconcile/manifest.d.ts +1 -1
  301. package/dist/reconcile/plan.d.ts +1 -1
  302. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  303. package/dist/replay/normalizers/claude.d.ts +1 -1
  304. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  305. package/dist/replay/normalizers/shared.d.ts +1 -1
  306. package/dist/replay/runner.d.ts +1 -1
  307. package/dist/replay/types.d.ts +1 -1
  308. package/dist/replica-divergence.d.ts +1 -1
  309. package/dist/replica-peers-config.d.ts +1 -1
  310. package/dist/resolve-auth-token.d.ts +1 -1
  311. package/dist/retrieval-agents.d.ts +2 -2
  312. package/dist/retrieval-tiers.d.ts +1 -1
  313. package/dist/routing/engine.d.ts +1 -1
  314. package/dist/routing/store.d.ts +1 -1
  315. package/dist/salvage-envelope.d.ts +1 -1
  316. package/dist/schemas.d.ts +76 -76
  317. package/dist/{scope-profiles-BJzp2F5A.d.ts → scope-profiles-APjhSe-w.d.ts} +1 -1
  318. package/dist/sdk-compat.js.map +1 -1
  319. package/dist/search/embed-helper.d.ts +1 -1
  320. package/dist/search/factory.d.ts +1 -1
  321. package/dist/search/factory.js +8 -8
  322. package/dist/search/index.d.ts +1 -1
  323. package/dist/search/index.js +14 -14
  324. package/dist/search/lancedb-backend.d.ts +1 -1
  325. package/dist/search/meilisearch-backend.d.ts +1 -1
  326. package/dist/search/noop-backend.d.ts +1 -1
  327. package/dist/search/orama-backend.d.ts +1 -1
  328. package/dist/search/port.d.ts +1 -1
  329. package/dist/search/remote-backend.d.ts +1 -1
  330. package/dist/{semantic-consolidation-D4KAZO2G.d.ts → semantic-consolidation-CrySDbk3.d.ts} +1 -1
  331. package/dist/semantic-consolidation.d.ts +2 -2
  332. package/dist/semantic-consolidation.js +7 -6
  333. package/dist/semantic-rule-promotion.js +6 -5
  334. package/dist/semantic-rule-verifier.d.ts +1 -1
  335. package/dist/semantic-rule-verifier.js +6 -5
  336. package/dist/{service-BeDxSqE-.d.ts → service-DJ0LDyuN.d.ts} +2 -2
  337. package/dist/session-observer-bands.d.ts +1 -1
  338. package/dist/session-observer-state.d.ts +1 -1
  339. package/dist/shared-context/manager.d.ts +9 -9
  340. package/dist/signal.d.ts +1 -1
  341. package/dist/source-agent-qualifier.d.ts +4 -1
  342. package/dist/source-agent-qualifier.js +10 -9
  343. package/dist/{storage-DfjxusTE.d.ts → storage-y340tYKb.d.ts} +5 -2
  344. package/dist/storage.d.ts +2 -2
  345. package/dist/storage.js +5 -4
  346. package/dist/summarizer.d.ts +1 -1
  347. package/dist/summary-snapshot.d.ts +1 -1
  348. package/dist/temporal-supersession.d.ts +2 -2
  349. package/dist/temporal-timeline-recall.d.ts +1 -1
  350. package/dist/temporal-validity.d.ts +1 -1
  351. package/dist/threading.d.ts +1 -1
  352. package/dist/tier-migration.d.ts +2 -2
  353. package/dist/tier-migration.js +1 -1
  354. package/dist/tier-routing.d.ts +1 -1
  355. package/dist/topics.d.ts +1 -1
  356. package/dist/transcript.d.ts +1 -1
  357. package/dist/transfer/types.d.ts +66 -66
  358. package/dist/trust-score-stage.d.ts +1 -1
  359. package/dist/trust-score.d.ts +1 -1
  360. package/dist/{types-yX_FwERf.d.ts → types-D_Au9qJO.d.ts} +13 -2
  361. package/dist/types.d.ts +1 -1
  362. package/dist/types.js +1 -1
  363. package/dist/utility-runtime.d.ts +1 -1
  364. package/dist/verified-recall.js +6 -5
  365. package/dist/write-envelope.d.ts +1 -1
  366. package/package.json +2 -12
  367. package/src/access-http-offline-stream.ts +1 -0
  368. package/src/access-http.ts +0 -57
  369. package/src/access-operations-batch.ts +1 -1
  370. package/src/access-service-observe-lcm-parity.test.ts +45 -20
  371. package/src/access-service.ts +3 -4
  372. package/src/ambient-provenance.test.ts +510 -0
  373. package/src/ambient-provenance.ts +229 -0
  374. package/src/buffer-turn-helpers.ts +17 -1
  375. package/src/compat/checks.test.ts +45 -1
  376. package/src/compat/checks.ts +16 -16
  377. package/src/external-wiki-cli.ts +28 -20
  378. package/src/external-wiki-search.test.ts +68 -2
  379. package/src/external-wiki.ts +12 -38
  380. package/src/extraction-prompt.ts +142 -0
  381. package/src/extraction.ts +37 -148
  382. package/src/index.ts +1 -5
  383. package/src/maintenance/first-start-migration.ts +11 -11
  384. package/src/meetings/memory-gen.test.ts +51 -0
  385. package/src/meetings/memory-gen.ts +36 -8
  386. package/src/meetings/summary-extractor.ts +4 -2
  387. package/src/memory-snapshot.ts +15 -0
  388. package/src/orchestration/recall-internal.ts +5 -148
  389. package/src/orchestration/recall-profile-storage.ts +194 -0
  390. package/src/orchestration/recall-search-pipeline.ts +13 -182
  391. package/src/orchestration/recall-search-prefilter.ts +254 -0
  392. package/src/orchestration/session-context.ts +1 -1
  393. package/src/orchestrator.ts +1 -1
  394. package/src/sdk-compat.ts +2 -4
  395. package/src/source-agent-qualifier.ts +3 -0
  396. package/src/storage-contract/cache-coherence.test.ts +99 -0
  397. package/src/storage-fact-hash-index-defer.test.ts +14 -7
  398. package/src/storage.ts +47 -48
  399. package/src/testing/subjects/first-start-tier-migration.test.ts +75 -0
  400. package/src/testing/subjects/recall-profile-storage.test.ts +362 -0
  401. package/src/testing/subjects/recall-search-prefilter.test.ts +365 -0
  402. package/src/tier-migration.ts +10 -12
  403. package/src/types.ts +2 -2
  404. package/src/wearables/memory-gen.test.ts +82 -0
  405. package/src/wearables/memory-gen.ts +54 -5
  406. package/src/wearables/trust.ts +19 -2
  407. package/dist/chunk-AJQ57VV3.js.map +0 -1
  408. package/dist/chunk-DYVMXPCF.js.map +0 -1
  409. package/dist/chunk-DZPFMQZ7.js.map +0 -1
  410. package/dist/chunk-ER7W6H4T.js.map +0 -1
  411. package/dist/chunk-FZP32336.js.map +0 -1
  412. package/dist/chunk-GQL52GQ5.js.map +0 -1
  413. package/dist/chunk-MDISBSYA.js.map +0 -1
  414. package/dist/chunk-ULVR5KG7.js.map +0 -1
  415. package/dist/chunk-UV72DEZD.js.map +0 -1
  416. package/dist/chunk-VOUOLGIP.js.map +0 -1
  417. package/dist/chunk-ZI32MKDW.js.map +0 -1
  418. package/dist/chunk-ZMAYKGPN.js.map +0 -1
  419. package/dist/legacy-hook-compat.d.ts +0 -3
  420. package/dist/legacy-hook-compat.js +0 -36
  421. package/dist/legacy-hook-compat.js.map +0 -1
  422. package/src/legacy-hook-compat.test.ts +0 -20
  423. package/src/legacy-hook-compat.ts +0 -45
  424. /package/dist/{chunk-7RZJWZ46.js.map → chunk-227UFSEQ.js.map} +0 -0
  425. /package/dist/{chunk-UQWIKLQK.js.map → chunk-47J4EDGR.js.map} +0 -0
  426. /package/dist/{chunk-5SNZSWWR.js.map → chunk-5LRDM4R7.js.map} +0 -0
  427. /package/dist/{chunk-7YERSTN7.js.map → chunk-5R6S4DJZ.js.map} +0 -0
  428. /package/dist/{chunk-C26TE27X.js.map → chunk-5VQPZ4GV.js.map} +0 -0
  429. /package/dist/{chunk-U2VLVBBH.js.map → chunk-64BHFFKZ.js.map} +0 -0
  430. /package/dist/{chunk-7CITSYSH.js.map → chunk-7T4TOGMS.js.map} +0 -0
  431. /package/dist/{chunk-YMAQDHQM.js.map → chunk-BDNL34CT.js.map} +0 -0
  432. /package/dist/{chunk-JH6BPLOP.js.map → chunk-E4FOAENZ.js.map} +0 -0
  433. /package/dist/{chunk-ZFGZ6PZ2.js.map → chunk-FULKGK7P.js.map} +0 -0
  434. /package/dist/{chunk-BGHFOD5A.js.map → chunk-HJ3SVHUW.js.map} +0 -0
  435. /package/dist/{chunk-TYISDI6B.js.map → chunk-HXXTXLKA.js.map} +0 -0
  436. /package/dist/{chunk-7SHJHPTY.js.map → chunk-ILBLZ5Y5.js.map} +0 -0
  437. /package/dist/{chunk-DSUAAZZX.js.map → chunk-JFO5QZ7N.js.map} +0 -0
  438. /package/dist/{chunk-EJHEWCGQ.js.map → chunk-KA47C7BF.js.map} +0 -0
  439. /package/dist/{chunk-NUEQKLNB.js.map → chunk-KMWYZTIE.js.map} +0 -0
  440. /package/dist/{chunk-TQ4GD737.js.map → chunk-L7G72WY4.js.map} +0 -0
  441. /package/dist/{chunk-CLB32OHM.js.map → chunk-LI7OE7G6.js.map} +0 -0
  442. /package/dist/{chunk-TN76AKO3.js.map → chunk-M2INOSTA.js.map} +0 -0
  443. /package/dist/{chunk-WQIHRA5F.js.map → chunk-N3LL5NEU.js.map} +0 -0
  444. /package/dist/{chunk-HFPASSFV.js.map → chunk-P2OTGMTR.js.map} +0 -0
  445. /package/dist/{chunk-Y7HRYCNW.js.map → chunk-PFJXPOD4.js.map} +0 -0
  446. /package/dist/{chunk-2QSZNTDO.js.map → chunk-RKNJBZ55.js.map} +0 -0
  447. /package/dist/{chunk-QCECHYZL.js.map → chunk-RVO6TCTU.js.map} +0 -0
  448. /package/dist/{chunk-D3I2MCN7.js.map → chunk-RVPTS4U5.js.map} +0 -0
  449. /package/dist/{chunk-W3IC7QOY.js.map → chunk-RVYVMQK4.js.map} +0 -0
  450. /package/dist/{chunk-2MRHJNWL.js.map → chunk-ST5IEK3H.js.map} +0 -0
  451. /package/dist/{chunk-O4KMGRXE.js.map → chunk-SXWHN7GC.js.map} +0 -0
  452. /package/dist/{chunk-KXEFRMCF.js.map → chunk-T6JRMVOV.js.map} +0 -0
  453. /package/dist/{chunk-R5RFK3CB.js.map → chunk-U6JGQ37L.js.map} +0 -0
  454. /package/dist/{chunk-EITZHSX6.js.map → chunk-V5FE3UAI.js.map} +0 -0
  455. /package/dist/{chunk-NTOIP2E6.js.map → chunk-W2ZSNIBP.js.map} +0 -0
  456. /package/dist/{chunk-QVSBTCVP.js.map → chunk-WHWDBTCJ.js.map} +0 -0
  457. /package/dist/{chunk-5CEECY6P.js.map → chunk-WOC6DXP5.js.map} +0 -0
  458. /package/dist/{chunk-XTAUXTDO.js.map → chunk-XBMJ35IP.js.map} +0 -0
  459. /package/dist/{chunk-P7NGM24P.js.map → chunk-YWCOJOUI.js.map} +0 -0
  460. /package/dist/{chunk-6NNNURLK.js.map → chunk-Z54EM5YZ.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-resolver.js';
2
2
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
3
3
  export { resolveRemnicConfigRecord } from './config-record.js';
4
- export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, runExternalWikiCliCommand, validateExternalWikiLayout } from './external-wiki.js';
4
+ export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
5
+ export { runExternalWikiCliCommand } from './external-wiki-cli.js';
5
6
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
6
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DJYlwiUv.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-LPGegii3.js';
7
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
8
9
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
9
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';
@@ -13,8 +14,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
13
14
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
14
15
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
15
16
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
16
- import { S as StorageManager, a as MeetingRecordStore } from './storage-DfjxusTE.js';
17
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-DfjxusTE.js';
17
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-y340tYKb.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-y340tYKb.js';
18
19
  import { SealedMemoryEnvelope } from './write-envelope.js';
19
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';
20
21
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -23,13 +24,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
23
24
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
24
25
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
25
26
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
26
- import { C as CodingContext, bg as CodingModeConfig, b8 as FusionConversationInput, bh as FusedSpeaker, bi as FusedSegment, bj as FusedDisagreement, bk as FusionOptions, aX as WearableConversation, bl as FusionDayResult, P as PluginConfig, bm as CodingKnowledgeConfig, w as MemoryCategory, bn as WearableCleanupSettings, bo as WearableFusionConfig, aY as WearableSourceSettings, b0 as WearablesConfig, a$ as WearableSourceConnector, b4 as WearableCorrectionRule, bp as WearableDayTranscriptMeta, b3 as WearableDayTranscript, aF as ActivitySnapshot, bq as ActivityDayMeta, br as ActivityDayDigest, aI as ActivitySourceClient, bs as ActivitySourceCheck, bt as ActivitySnapshotPage, aG as ActivityConfig, K as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bu as MeetingsDetectionConfig, b7 as MeetingsDetectionInput, ba as DetectedMeeting, b6 as MeetingsConfig, aM as MeetingRecord, bv as MeetingAudioWindow, bw as MeetingAppSpan } from './types-yX_FwERf.js';
27
- export { bx as ActivityExtractionMode, aH as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, by as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bz as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bA as BriefingWindow, a9 as BufferSurpriseEvent, bB as BulkImportError, ab as BulkImportOptions, ad as BulkImportResult, ac as BulkImportSource, bC as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bD as CodexCompatConfig, bf as ConsolidationObservation, bE as DEFAULT_RECALL_DISCLOSURE, bF as DisagreementKind, E as EntityFile, ao as EntityStructuredSection, bG as ExtractedFact, bH as FusedContribution, bI as FusedConversationProvenance, aL as FusedDayFile, aK as FusedDayMeta, aO as FusedMeeting, bJ as FusedSegmentProvenance, aJ as FusedWearableConversation, bK as FusionSegmentInput, G as GatewayConfig, bL as ImportSourceRole, aa as ImportTurn, bM as ImportTurnValidationIssue, b9 as MeetingActivitySnapshot, b5 as MeetingBuildInput, aN as MeetingDetectionSource, bN as MeetingScreenContextEvent, bO as MeetingSummaryMode, as as MemoryActionEligibilityContext, bP as MemoryActionEligibilitySource, ah as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bQ as MemoryObservation, bR as MemoryScope, bS as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bT as SegmentPickReason, bU as WearableAuthCheck, bV as WearableFetchOptions, bW as WearableFetchPage, a_ as WearableMemoryMode, aZ as WearableNativeMemory, bX as WearableNativeMemoryPage, b2 as WearableSourceStatus, b1 as WearableSyncSummary, bY as WearableTranscriptSegment, bZ as isImportRole, b_ as isRecallDisclosure, b$ as parseIsoTimestamp, c0 as validateImportTurn } from './types-yX_FwERf.js';
27
+ import { C as CodingContext, bg as CodingModeConfig, b8 as FusionConversationInput, bh as FusedSpeaker, bi as FusedSegment, bj as FusedDisagreement, bk as FusionOptions, aX as WearableConversation, bl as FusionDayResult, P as PluginConfig, bm as CodingKnowledgeConfig, w as MemoryCategory, bn as WearableCleanupSettings, bo as WearableFusionConfig, aY as WearableSourceSettings, b0 as WearablesConfig, a$ as WearableSourceConnector, b4 as WearableCorrectionRule, bp as WearableDayTranscriptMeta, b3 as WearableDayTranscript, aF as ActivitySnapshot, bq as ActivityDayMeta, br as ActivityDayDigest, aI as ActivitySourceClient, bs as ActivitySourceCheck, bt as ActivitySnapshotPage, aG as ActivityConfig, K as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bu as MeetingsDetectionConfig, b7 as MeetingsDetectionInput, ba as DetectedMeeting, b6 as MeetingsConfig, aM as MeetingRecord, bv as MeetingAudioWindow, bw as MeetingAppSpan } from './types-D_Au9qJO.js';
28
+ export { bx as ActivityExtractionMode, aH as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, by as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bz as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bA as BriefingWindow, a9 as BufferSurpriseEvent, bB as BulkImportError, ab as BulkImportOptions, ad as BulkImportResult, ac as BulkImportSource, bC as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bD as CodexCompatConfig, bf as ConsolidationObservation, bE as DEFAULT_RECALL_DISCLOSURE, bF as DisagreementKind, E as EntityFile, ao as EntityStructuredSection, bG as ExtractedFact, bH as FusedContribution, bI as FusedConversationProvenance, aL as FusedDayFile, aK as FusedDayMeta, aO as FusedMeeting, bJ as FusedSegmentProvenance, aJ as FusedWearableConversation, bK as FusionSegmentInput, G as GatewayConfig, bL as ImportSourceRole, aa as ImportTurn, bM as ImportTurnValidationIssue, b9 as MeetingActivitySnapshot, b5 as MeetingBuildInput, aN as MeetingDetectionSource, bN as MeetingScreenContextEvent, bO as MeetingSummaryMode, as as MemoryActionEligibilityContext, bP as MemoryActionEligibilitySource, ah as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bQ as MemoryObservation, bR as MemoryScope, bS as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bT as SegmentPickReason, bU as WearableAuthCheck, bV as WearableFetchOptions, bW as WearableFetchPage, a_ as WearableMemoryMode, aZ as WearableNativeMemory, bX as WearableNativeMemoryPage, b2 as WearableSourceStatus, b1 as WearableSyncSummary, bY as WearableTranscriptSegment, bZ as isImportRole, b_ as isRecallDisclosure, b$ as parseIsoTimestamp, c0 as validateImportTurn } from './types-D_Au9qJO.js';
28
29
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
29
30
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
30
31
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
31
- import { f as EngramAccessService } from './access-service-CsU-ljFD.js';
32
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-CsU-ljFD.js';
32
+ import { f as EngramAccessService } from './access-service-loJadYd7.js';
33
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-loJadYd7.js';
33
34
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
34
35
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
35
36
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -37,13 +38,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
37
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';
38
39
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
39
40
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
40
- export { Q as QmdClient } from './qmd-C0UDZidt.js';
41
+ export { Q as QmdClient } from './qmd-UdwoF71D.js';
41
42
  export { LanceDbBackend } from './search/lancedb-backend.js';
42
43
  export { OramaBackend } from './search/orama-backend.js';
43
44
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
44
45
  export { buildEntityRecallSection } from './entity-retrieval.js';
45
46
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
46
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-bctMURhN.js';
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-Iwbk9h5E.js';
47
48
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
48
49
  export { storagePathHash } from './storage-paths.js';
49
50
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -72,8 +73,8 @@ export { initLogger, log } from './logger.js';
72
73
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
73
74
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
74
75
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
75
- import { D as DiscoveredExtension } from './semantic-consolidation-D4KAZO2G.js';
76
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-D4KAZO2G.js';
76
+ import { D as DiscoveredExtension } from './semantic-consolidation-CrySDbk3.js';
77
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-CrySDbk3.js';
77
78
  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';
78
79
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
79
80
  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';
@@ -88,12 +89,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
88
89
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
89
90
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
90
91
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
91
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CNjY4wk3.js';
92
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BBHDtG36.js';
93
- import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-BeDxSqE-.js';
94
- export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-BeDxSqE-.js';
95
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-D2mveyCd.js';
96
- export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-D2mveyCd.js';
92
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-1h2GpiHP.js';
93
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-D_RcqXfZ.js';
94
+ 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-DJ0LDyuN.js';
95
+ 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-DJ0LDyuN.js';
96
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DQrL93Uu.js';
97
+ 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-DQrL93Uu.js';
97
98
  import { SearchExecutionOptions } from './search/port.js';
98
99
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
99
100
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -111,7 +112,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
111
112
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
112
113
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
113
114
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
114
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-BJzp2F5A.js';
115
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-APjhSe-w.js';
115
116
  export { ContinuityImprovementLoop } from './types-continuity.js';
116
117
  export { EngramAccessInputError } from './access-errors.js';
117
118
  export { ExternalWikiRoot } from './external-wiki-config.js';
@@ -173,7 +174,7 @@ import './policy-runtime.js';
173
174
  import './profiling.js';
174
175
  import './schemas.js';
175
176
  import './extraction-error-classification.js';
176
- import './access-namespace-preflight-CWUDwB4M.js';
177
+ import './access-namespace-preflight--H6HwN85.js';
177
178
  import './recall-explain-renderer.js';
178
179
  import './access-citation.js';
179
180
  import './access-health-types.js';
@@ -885,15 +886,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
885
886
  locator: z.ZodOptional<z.ZodString>;
886
887
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
887
888
  }, "strict", z.ZodTypeAny, {
888
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
889
- label: string;
890
889
  id: string;
890
+ label: string;
891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
891
892
  capture: "at_action" | "historical_lookup" | "fixture";
892
893
  locator?: string | undefined;
893
894
  }, {
894
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
895
- label: string;
896
895
  id: string;
896
+ label: string;
897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
897
898
  capture: "at_action" | "historical_lookup" | "fixture";
898
899
  locator?: string | undefined;
899
900
  }>;
@@ -910,15 +911,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
910
911
  locator: z.ZodOptional<z.ZodString>;
911
912
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
912
913
  }, "strict", z.ZodTypeAny, {
913
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
914
- label: string;
915
914
  id: string;
915
+ label: string;
916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
916
917
  capture: "at_action" | "historical_lookup" | "fixture";
917
918
  locator?: string | undefined;
918
919
  }, {
919
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
920
- label: string;
921
920
  id: string;
921
+ label: string;
922
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
922
923
  capture: "at_action" | "historical_lookup" | "fixture";
923
924
  locator?: string | undefined;
924
925
  }>, "many">>;
@@ -926,9 +927,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
926
927
  kind: "mission_started";
927
928
  title: string;
928
929
  evidence: {
929
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
930
- label: string;
931
930
  id: string;
931
+ label: string;
932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
932
933
  capture: "at_action" | "historical_lookup" | "fixture";
933
934
  locator?: string | undefined;
934
935
  }[];
@@ -940,9 +941,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
940
941
  objective: string;
941
942
  runMode: "replay" | "fixture" | "live";
942
943
  evidence?: {
943
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
944
- label: string;
945
944
  id: string;
945
+ label: string;
946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
946
947
  capture: "at_action" | "historical_lookup" | "fixture";
947
948
  locator?: string | undefined;
948
949
  }[] | undefined;
@@ -958,15 +959,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
958
959
  locator: z.ZodOptional<z.ZodString>;
959
960
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
960
961
  }, "strict", z.ZodTypeAny, {
961
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
962
- label: string;
963
962
  id: string;
963
+ label: string;
964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
964
965
  capture: "at_action" | "historical_lookup" | "fixture";
965
966
  locator?: string | undefined;
966
967
  }, {
967
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
968
- label: string;
969
968
  id: string;
969
+ label: string;
970
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
970
971
  capture: "at_action" | "historical_lookup" | "fixture";
971
972
  locator?: string | undefined;
972
973
  }>, "many">>;
@@ -974,32 +975,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
974
975
  sessionId: z.ZodString;
975
976
  kind: z.ZodLiteral<"agent_status">;
976
977
  }, "strict", z.ZodTypeAny, {
977
- kind: "agent_status";
978
- status: "failed" | "complete" | "blocked" | "working" | "idle";
979
978
  label: string;
979
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
980
+ kind: "agent_status";
980
981
  role: string;
981
982
  agentId: string;
982
983
  sessionId: string;
983
984
  evidence: {
984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
985
- label: string;
986
985
  id: string;
986
+ label: string;
987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
987
988
  capture: "at_action" | "historical_lookup" | "fixture";
988
989
  locator?: string | undefined;
989
990
  }[];
990
991
  detail?: string | undefined;
991
992
  }, {
992
- kind: "agent_status";
993
- status: "failed" | "complete" | "blocked" | "working" | "idle";
994
993
  label: string;
994
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
995
+ kind: "agent_status";
995
996
  role: string;
996
997
  agentId: string;
997
998
  sessionId: string;
998
999
  detail?: string | undefined;
999
1000
  evidence?: {
1000
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1001
- label: string;
1002
1001
  id: string;
1002
+ label: string;
1003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1003
1004
  capture: "at_action" | "historical_lookup" | "fixture";
1004
1005
  locator?: string | undefined;
1005
1006
  }[] | undefined;
@@ -1013,15 +1014,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1013
1014
  locator: z.ZodOptional<z.ZodString>;
1014
1015
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1015
1016
  }, "strict", z.ZodTypeAny, {
1016
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1017
- label: string;
1018
1017
  id: string;
1018
+ label: string;
1019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1019
1020
  capture: "at_action" | "historical_lookup" | "fixture";
1020
1021
  locator?: string | undefined;
1021
1022
  }, {
1022
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1023
- label: string;
1024
1023
  id: string;
1024
+ label: string;
1025
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1025
1026
  capture: "at_action" | "historical_lookup" | "fixture";
1026
1027
  locator?: string | undefined;
1027
1028
  }>, "many">>;
@@ -1029,28 +1030,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1029
1030
  sessionId: z.ZodString;
1030
1031
  kind: z.ZodLiteral<"agent_output">;
1031
1032
  }, "strict", z.ZodTypeAny, {
1032
- kind: "agent_output";
1033
1033
  summary: string;
1034
+ kind: "agent_output";
1034
1035
  agentId: string;
1035
1036
  sessionId: string;
1036
1037
  evidence: {
1037
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1038
- label: string;
1039
1038
  id: string;
1039
+ label: string;
1040
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1040
1041
  capture: "at_action" | "historical_lookup" | "fixture";
1041
1042
  locator?: string | undefined;
1042
1043
  }[];
1043
1044
  outputId: string;
1044
1045
  }, {
1045
- kind: "agent_output";
1046
1046
  summary: string;
1047
+ kind: "agent_output";
1047
1048
  agentId: string;
1048
1049
  sessionId: string;
1049
1050
  outputId: string;
1050
1051
  evidence?: {
1051
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1052
- label: string;
1053
1052
  id: string;
1053
+ label: string;
1054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1054
1055
  capture: "at_action" | "historical_lookup" | "fixture";
1055
1056
  locator?: string | undefined;
1056
1057
  }[] | undefined;
@@ -1066,15 +1067,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1066
1067
  locator: z.ZodOptional<z.ZodString>;
1067
1068
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1068
1069
  }, "strict", z.ZodTypeAny, {
1069
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1070
- label: string;
1071
1070
  id: string;
1071
+ label: string;
1072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1072
1073
  capture: "at_action" | "historical_lookup" | "fixture";
1073
1074
  locator?: string | undefined;
1074
1075
  }, {
1075
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1076
- label: string;
1077
1076
  id: string;
1077
+ label: string;
1078
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1078
1079
  capture: "at_action" | "historical_lookup" | "fixture";
1079
1080
  locator?: string | undefined;
1080
1081
  }>, "many">>;
@@ -1087,9 +1088,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1087
1088
  statement: string;
1088
1089
  sessionId: string;
1089
1090
  evidence: {
1090
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1091
- label: string;
1092
1091
  id: string;
1092
+ label: string;
1093
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1093
1094
  capture: "at_action" | "historical_lookup" | "fixture";
1094
1095
  locator?: string | undefined;
1095
1096
  }[];
@@ -1105,9 +1106,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1105
1106
  decisionId: string;
1106
1107
  confidence?: number | undefined;
1107
1108
  evidence?: {
1108
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1109
- label: string;
1110
1109
  id: string;
1110
+ label: string;
1111
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1111
1112
  capture: "at_action" | "historical_lookup" | "fixture";
1112
1113
  locator?: string | undefined;
1113
1114
  }[] | undefined;
@@ -1124,25 +1125,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1124
1125
  locator: z.ZodOptional<z.ZodString>;
1125
1126
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1126
1127
  }, "strict", z.ZodTypeAny, {
1127
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1128
- label: string;
1129
1128
  id: string;
1129
+ label: string;
1130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1130
1131
  capture: "at_action" | "historical_lookup" | "fixture";
1131
1132
  locator?: string | undefined;
1132
1133
  }, {
1133
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1134
- label: string;
1135
1134
  id: string;
1135
+ label: string;
1136
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1136
1137
  capture: "at_action" | "historical_lookup" | "fixture";
1137
1138
  locator?: string | undefined;
1138
1139
  }>, "many">>;
1139
1140
  }, "strict", z.ZodTypeAny, {
1140
- kind: "conflict_detected";
1141
1141
  summary: string;
1142
+ kind: "conflict_detected";
1142
1143
  evidence: {
1143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1144
- label: string;
1145
1144
  id: string;
1145
+ label: string;
1146
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1146
1147
  capture: "at_action" | "historical_lookup" | "fixture";
1147
1148
  locator?: string | undefined;
1148
1149
  }[];
@@ -1150,15 +1151,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1150
1151
  decisionIds: string[];
1151
1152
  agentIds: string[];
1152
1153
  }, {
1153
- kind: "conflict_detected";
1154
1154
  summary: string;
1155
+ kind: "conflict_detected";
1155
1156
  conflictId: string;
1156
1157
  decisionIds: string[];
1157
1158
  agentIds: string[];
1158
1159
  evidence?: {
1159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1160
- label: string;
1161
1160
  id: string;
1161
+ label: string;
1162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1162
1163
  capture: "at_action" | "historical_lookup" | "fixture";
1163
1164
  locator?: string | undefined;
1164
1165
  }[] | undefined;
@@ -1178,27 +1179,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1178
1179
  locator: z.ZodOptional<z.ZodString>;
1179
1180
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1180
1181
  }, "strict", z.ZodTypeAny, {
1181
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1182
- label: string;
1183
1182
  id: string;
1183
+ label: string;
1184
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1184
1185
  capture: "at_action" | "historical_lookup" | "fixture";
1185
1186
  locator?: string | undefined;
1186
1187
  }, {
1187
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1188
- label: string;
1189
1188
  id: string;
1189
+ label: string;
1190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1190
1191
  capture: "at_action" | "historical_lookup" | "fixture";
1191
1192
  locator?: string | undefined;
1192
1193
  }>, "many">>;
1193
1194
  }, "strict", z.ZodTypeAny, {
1194
- kind: "test_result";
1195
1195
  summary: string;
1196
1196
  status: "error" | "failed" | "passed";
1197
+ kind: "test_result";
1197
1198
  command: string;
1198
1199
  evidence: {
1199
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1200
- label: string;
1201
1200
  id: string;
1201
+ label: string;
1202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1202
1203
  capture: "at_action" | "historical_lookup" | "fixture";
1203
1204
  locator?: string | undefined;
1204
1205
  }[];
@@ -1207,17 +1208,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1207
1208
  durationMs?: number | undefined;
1208
1209
  correctionId?: string | undefined;
1209
1210
  }, {
1210
- kind: "test_result";
1211
1211
  summary: string;
1212
1212
  status: "error" | "failed" | "passed";
1213
+ kind: "test_result";
1213
1214
  command: string;
1214
1215
  decisionId: string;
1215
1216
  testId: string;
1216
1217
  durationMs?: number | undefined;
1217
1218
  evidence?: {
1218
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1219
- label: string;
1220
1219
  id: string;
1220
+ label: string;
1221
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1221
1222
  capture: "at_action" | "historical_lookup" | "fixture";
1222
1223
  locator?: string | undefined;
1223
1224
  }[] | undefined;
@@ -1238,15 +1239,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1238
1239
  locator: z.ZodOptional<z.ZodString>;
1239
1240
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1240
1241
  }, "strict", z.ZodTypeAny, {
1241
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1242
- label: string;
1243
1242
  id: string;
1243
+ label: string;
1244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1244
1245
  capture: "at_action" | "historical_lookup" | "fixture";
1245
1246
  locator?: string | undefined;
1246
1247
  }, {
1247
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1248
- label: string;
1249
1248
  id: string;
1249
+ label: string;
1250
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1250
1251
  capture: "at_action" | "historical_lookup" | "fixture";
1251
1252
  locator?: string | undefined;
1252
1253
  }>, "many">>;
@@ -1255,9 +1256,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1255
1256
  rationale: string;
1256
1257
  statement: string;
1257
1258
  evidence: {
1258
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1259
- label: string;
1260
1259
  id: string;
1260
+ label: string;
1261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1261
1262
  capture: "at_action" | "historical_lookup" | "fixture";
1262
1263
  locator?: string | undefined;
1263
1264
  }[];
@@ -1276,9 +1277,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1276
1277
  supersedesDecisionIds: string[];
1277
1278
  proposedBy: string;
1278
1279
  evidence?: {
1279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1280
- label: string;
1281
1280
  id: string;
1281
+ label: string;
1282
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
1283
  capture: "at_action" | "historical_lookup" | "fixture";
1283
1284
  locator?: string | undefined;
1284
1285
  }[] | undefined;
@@ -1290,13 +1291,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1290
1291
  id: z.ZodString;
1291
1292
  label: z.ZodString;
1292
1293
  }, "strict", z.ZodTypeAny, {
1293
- kind: "agent" | "human";
1294
- label: string;
1295
1294
  id: string;
1296
- }, {
1297
- kind: "agent" | "human";
1298
1295
  label: string;
1296
+ kind: "agent" | "human";
1297
+ }, {
1299
1298
  id: string;
1299
+ label: string;
1300
+ kind: "agent" | "human";
1300
1301
  }>;
1301
1302
  note: z.ZodOptional<z.ZodString>;
1302
1303
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1306,47 +1307,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1306
1307
  locator: z.ZodOptional<z.ZodString>;
1307
1308
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1308
1309
  }, "strict", z.ZodTypeAny, {
1309
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
- label: string;
1311
1310
  id: string;
1311
+ label: string;
1312
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
1313
  capture: "at_action" | "historical_lookup" | "fixture";
1313
1314
  locator?: string | undefined;
1314
1315
  }, {
1315
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
- label: string;
1317
1316
  id: string;
1317
+ label: string;
1318
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1318
1319
  capture: "at_action" | "historical_lookup" | "fixture";
1319
1320
  locator?: string | undefined;
1320
1321
  }>, "many">>;
1321
1322
  }, "strict", z.ZodTypeAny, {
1322
1323
  kind: "correction_approved";
1323
1324
  evidence: {
1324
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1325
- label: string;
1326
1325
  id: string;
1326
+ label: string;
1327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1327
1328
  capture: "at_action" | "historical_lookup" | "fixture";
1328
1329
  locator?: string | undefined;
1329
1330
  }[];
1330
1331
  correctionId: string;
1331
1332
  approvedBy: {
1332
- kind: "agent" | "human";
1333
- label: string;
1334
1333
  id: string;
1334
+ label: string;
1335
+ kind: "agent" | "human";
1335
1336
  };
1336
1337
  note?: string | undefined;
1337
1338
  }, {
1338
1339
  kind: "correction_approved";
1339
1340
  correctionId: string;
1340
1341
  approvedBy: {
1341
- kind: "agent" | "human";
1342
- label: string;
1343
1342
  id: string;
1343
+ label: string;
1344
+ kind: "agent" | "human";
1344
1345
  };
1345
1346
  note?: string | undefined;
1346
1347
  evidence?: {
1347
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1348
- label: string;
1349
1348
  id: string;
1349
+ label: string;
1350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1350
1351
  capture: "at_action" | "historical_lookup" | "fixture";
1351
1352
  locator?: string | undefined;
1352
1353
  }[] | undefined;
@@ -1362,24 +1363,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1362
1363
  locator: z.ZodOptional<z.ZodString>;
1363
1364
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1364
1365
  }, "strict", z.ZodTypeAny, {
1365
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1366
- label: string;
1367
1366
  id: string;
1367
+ label: string;
1368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1368
1369
  capture: "at_action" | "historical_lookup" | "fixture";
1369
1370
  locator?: string | undefined;
1370
1371
  }, {
1371
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1372
- label: string;
1373
1372
  id: string;
1373
+ label: string;
1374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1374
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1375
1376
  locator?: string | undefined;
1376
1377
  }>, "many">>;
1377
1378
  }, "strict", z.ZodTypeAny, {
1378
1379
  kind: "decision_superseded";
1379
1380
  evidence: {
1380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
- label: string;
1382
1381
  id: string;
1382
+ label: string;
1383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
1384
  capture: "at_action" | "historical_lookup" | "fixture";
1384
1385
  locator?: string | undefined;
1385
1386
  }[];
@@ -1392,9 +1393,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1392
1393
  correctionId: string;
1393
1394
  replacementDecisionId: string;
1394
1395
  evidence?: {
1395
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1396
- label: string;
1397
1396
  id: string;
1397
+ label: string;
1398
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
1399
  capture: "at_action" | "historical_lookup" | "fixture";
1399
1400
  locator?: string | undefined;
1400
1401
  }[] | undefined;
@@ -1410,15 +1411,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1410
1411
  locator: z.ZodOptional<z.ZodString>;
1411
1412
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1412
1413
  }, "strict", z.ZodTypeAny, {
1413
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1414
- label: string;
1415
1414
  id: string;
1415
+ label: string;
1416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1417
  capture: "at_action" | "historical_lookup" | "fixture";
1417
1418
  locator?: string | undefined;
1418
1419
  }, {
1419
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
- label: string;
1421
1420
  id: string;
1421
+ label: string;
1422
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1423
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1424
  locator?: string | undefined;
1424
1425
  }>, "many">>;
@@ -1431,9 +1432,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1431
1432
  agentId: string;
1432
1433
  sessionId: string;
1433
1434
  evidence: {
1434
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
- label: string;
1436
1435
  id: string;
1436
+ label: string;
1437
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
1438
  capture: "at_action" | "historical_lookup" | "fixture";
1438
1439
  locator?: string | undefined;
1439
1440
  }[];
@@ -1449,9 +1450,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1449
1450
  recallReceiptId: string;
1450
1451
  capturedAtAction: boolean;
1451
1452
  evidence?: {
1452
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1453
- label: string;
1454
1453
  id: string;
1454
+ label: string;
1455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
1456
  capture: "at_action" | "historical_lookup" | "fixture";
1456
1457
  locator?: string | undefined;
1457
1458
  }[] | undefined;
@@ -1467,15 +1468,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1467
1468
  locator: z.ZodOptional<z.ZodString>;
1468
1469
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1469
1470
  }, "strict", z.ZodTypeAny, {
1470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1471
- label: string;
1472
1471
  id: string;
1472
+ label: string;
1473
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1473
1474
  capture: "at_action" | "historical_lookup" | "fixture";
1474
1475
  locator?: string | undefined;
1475
1476
  }, {
1476
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
- label: string;
1478
1477
  id: string;
1478
+ label: string;
1479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1481
  locator?: string | undefined;
1481
1482
  }>, "many">>;
@@ -1487,9 +1488,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1487
1488
  agentId: string;
1488
1489
  sessionId: string;
1489
1490
  evidence: {
1490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1491
- label: string;
1492
1491
  id: string;
1492
+ label: string;
1493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1493
1494
  capture: "at_action" | "historical_lookup" | "fixture";
1494
1495
  locator?: string | undefined;
1495
1496
  }[];
@@ -1506,9 +1507,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1506
1507
  recallReceiptId: string;
1507
1508
  staleDecisionAbsent: boolean;
1508
1509
  evidence?: {
1509
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1510
- label: string;
1511
1510
  id: string;
1511
+ label: string;
1512
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
1513
  capture: "at_action" | "historical_lookup" | "fixture";
1513
1514
  locator?: string | undefined;
1514
1515
  }[] | undefined;
@@ -1523,37 +1524,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1523
1524
  locator: z.ZodOptional<z.ZodString>;
1524
1525
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1525
1526
  }, "strict", z.ZodTypeAny, {
1526
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1527
- label: string;
1528
1527
  id: string;
1528
+ label: string;
1529
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1530
1531
  locator?: string | undefined;
1531
1532
  }, {
1532
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1533
- label: string;
1534
1533
  id: string;
1534
+ label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1536
1537
  locator?: string | undefined;
1537
1538
  }>, "many">>;
1538
1539
  }, "strict", z.ZodTypeAny, {
1539
- kind: "mission_completed";
1540
1540
  summary: string;
1541
+ kind: "mission_completed";
1541
1542
  outcome: "failed" | "recovered" | "inconclusive";
1542
1543
  evidence: {
1543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
- label: string;
1545
1544
  id: string;
1545
+ label: string;
1546
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1547
  capture: "at_action" | "historical_lookup" | "fixture";
1547
1548
  locator?: string | undefined;
1548
1549
  }[];
1549
1550
  }, {
1550
- kind: "mission_completed";
1551
1551
  summary: string;
1552
+ kind: "mission_completed";
1552
1553
  outcome: "failed" | "recovered" | "inconclusive";
1553
1554
  evidence?: {
1554
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1555
- label: string;
1556
1555
  id: string;
1556
+ label: string;
1557
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1557
1558
  capture: "at_action" | "historical_lookup" | "fixture";
1558
1559
  locator?: string | undefined;
1559
1560
  }[] | undefined;
@@ -1561,38 +1562,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1561
1562
  kind: "mission_started";
1562
1563
  title: string;
1563
1564
  evidence: {
1564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
- label: string;
1566
1565
  id: string;
1566
+ label: string;
1567
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1567
1568
  capture: "at_action" | "historical_lookup" | "fixture";
1568
1569
  locator?: string | undefined;
1569
1570
  }[];
1570
1571
  objective: string;
1571
1572
  runMode: "replay" | "fixture" | "live";
1572
1573
  } | {
1573
- kind: "agent_status";
1574
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1575
1574
  label: string;
1575
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1576
+ kind: "agent_status";
1576
1577
  role: string;
1577
1578
  agentId: string;
1578
1579
  sessionId: string;
1579
1580
  evidence: {
1580
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1581
- label: string;
1582
1581
  id: string;
1582
+ label: string;
1583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
1584
  capture: "at_action" | "historical_lookup" | "fixture";
1584
1585
  locator?: string | undefined;
1585
1586
  }[];
1586
1587
  detail?: string | undefined;
1587
1588
  } | {
1588
- kind: "agent_output";
1589
1589
  summary: string;
1590
+ kind: "agent_output";
1590
1591
  agentId: string;
1591
1592
  sessionId: string;
1592
1593
  evidence: {
1593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
- label: string;
1595
1594
  id: string;
1595
+ label: string;
1596
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
1597
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1598
  locator?: string | undefined;
1598
1599
  }[];
@@ -1603,9 +1604,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1603
1604
  statement: string;
1604
1605
  sessionId: string;
1605
1606
  evidence: {
1606
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1607
- label: string;
1608
1607
  id: string;
1608
+ label: string;
1609
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1610
  capture: "at_action" | "historical_lookup" | "fixture";
1610
1611
  locator?: string | undefined;
1611
1612
  }[];
@@ -1613,12 +1614,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1613
1614
  decisionId: string;
1614
1615
  confidence?: number | undefined;
1615
1616
  } | {
1616
- kind: "conflict_detected";
1617
1617
  summary: string;
1618
+ kind: "conflict_detected";
1618
1619
  evidence: {
1619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
- label: string;
1621
1620
  id: string;
1621
+ label: string;
1622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
1623
  capture: "at_action" | "historical_lookup" | "fixture";
1623
1624
  locator?: string | undefined;
1624
1625
  }[];
@@ -1626,14 +1627,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1626
1627
  decisionIds: string[];
1627
1628
  agentIds: string[];
1628
1629
  } | {
1629
- kind: "test_result";
1630
1630
  summary: string;
1631
1631
  status: "error" | "failed" | "passed";
1632
+ kind: "test_result";
1632
1633
  command: string;
1633
1634
  evidence: {
1634
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1635
- label: string;
1636
1635
  id: string;
1636
+ label: string;
1637
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1637
1638
  capture: "at_action" | "historical_lookup" | "fixture";
1638
1639
  locator?: string | undefined;
1639
1640
  }[];
@@ -1646,9 +1647,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1646
1647
  rationale: string;
1647
1648
  statement: string;
1648
1649
  evidence: {
1649
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1650
- label: string;
1651
1650
  id: string;
1651
+ label: string;
1652
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1652
1653
  capture: "at_action" | "historical_lookup" | "fixture";
1653
1654
  locator?: string | undefined;
1654
1655
  }[];
@@ -1660,25 +1661,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1660
1661
  } | {
1661
1662
  kind: "correction_approved";
1662
1663
  evidence: {
1663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1664
- label: string;
1665
1664
  id: string;
1665
+ label: string;
1666
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
1667
  capture: "at_action" | "historical_lookup" | "fixture";
1667
1668
  locator?: string | undefined;
1668
1669
  }[];
1669
1670
  correctionId: string;
1670
1671
  approvedBy: {
1671
- kind: "agent" | "human";
1672
- label: string;
1673
1672
  id: string;
1673
+ label: string;
1674
+ kind: "agent" | "human";
1674
1675
  };
1675
1676
  note?: string | undefined;
1676
1677
  } | {
1677
1678
  kind: "decision_superseded";
1678
1679
  evidence: {
1679
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1680
- label: string;
1681
1680
  id: string;
1681
+ label: string;
1682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1682
1683
  capture: "at_action" | "historical_lookup" | "fixture";
1683
1684
  locator?: string | undefined;
1684
1685
  }[];
@@ -1691,9 +1692,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1691
1692
  agentId: string;
1692
1693
  sessionId: string;
1693
1694
  evidence: {
1694
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1695
- label: string;
1696
1695
  id: string;
1696
+ label: string;
1697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1697
1698
  capture: "at_action" | "historical_lookup" | "fixture";
1698
1699
  locator?: string | undefined;
1699
1700
  }[];
@@ -1705,9 +1706,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1705
1706
  agentId: string;
1706
1707
  sessionId: string;
1707
1708
  evidence: {
1708
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1709
- label: string;
1710
1709
  id: string;
1710
+ label: string;
1711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1711
1712
  capture: "at_action" | "historical_lookup" | "fixture";
1712
1713
  locator?: string | undefined;
1713
1714
  }[];
@@ -1716,13 +1717,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1716
1717
  recallReceiptId: string;
1717
1718
  staleDecisionAbsent: boolean;
1718
1719
  } | {
1719
- kind: "mission_completed";
1720
1720
  summary: string;
1721
+ kind: "mission_completed";
1721
1722
  outcome: "failed" | "recovered" | "inconclusive";
1722
1723
  evidence: {
1723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
- label: string;
1725
1724
  id: string;
1725
+ label: string;
1726
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1726
1727
  capture: "at_action" | "historical_lookup" | "fixture";
1727
1728
  locator?: string | undefined;
1728
1729
  }[];
@@ -1732,37 +1733,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1732
1733
  objective: string;
1733
1734
  runMode: "replay" | "fixture" | "live";
1734
1735
  evidence?: {
1735
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1736
- label: string;
1737
1736
  id: string;
1737
+ label: string;
1738
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1738
1739
  capture: "at_action" | "historical_lookup" | "fixture";
1739
1740
  locator?: string | undefined;
1740
1741
  }[] | undefined;
1741
1742
  } | {
1742
- kind: "agent_status";
1743
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1744
1743
  label: string;
1744
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1745
+ kind: "agent_status";
1745
1746
  role: string;
1746
1747
  agentId: string;
1747
1748
  sessionId: string;
1748
1749
  detail?: string | undefined;
1749
1750
  evidence?: {
1750
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1751
- label: string;
1752
1751
  id: string;
1752
+ label: string;
1753
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1753
1754
  capture: "at_action" | "historical_lookup" | "fixture";
1754
1755
  locator?: string | undefined;
1755
1756
  }[] | undefined;
1756
1757
  } | {
1757
- kind: "agent_output";
1758
1758
  summary: string;
1759
+ kind: "agent_output";
1759
1760
  agentId: string;
1760
1761
  sessionId: string;
1761
1762
  outputId: string;
1762
1763
  evidence?: {
1763
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
- label: string;
1765
1764
  id: string;
1765
+ label: string;
1766
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1767
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1768
  locator?: string | undefined;
1768
1769
  }[] | undefined;
@@ -1775,37 +1776,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1775
1776
  decisionId: string;
1776
1777
  confidence?: number | undefined;
1777
1778
  evidence?: {
1778
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1779
- label: string;
1780
1779
  id: string;
1780
+ label: string;
1781
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1782
  capture: "at_action" | "historical_lookup" | "fixture";
1782
1783
  locator?: string | undefined;
1783
1784
  }[] | undefined;
1784
1785
  } | {
1785
- kind: "conflict_detected";
1786
1786
  summary: string;
1787
+ kind: "conflict_detected";
1787
1788
  conflictId: string;
1788
1789
  decisionIds: string[];
1789
1790
  agentIds: string[];
1790
1791
  evidence?: {
1791
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1792
- label: string;
1793
1792
  id: string;
1793
+ label: string;
1794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1794
1795
  capture: "at_action" | "historical_lookup" | "fixture";
1795
1796
  locator?: string | undefined;
1796
1797
  }[] | undefined;
1797
1798
  } | {
1798
- kind: "test_result";
1799
1799
  summary: string;
1800
1800
  status: "error" | "failed" | "passed";
1801
+ kind: "test_result";
1801
1802
  command: string;
1802
1803
  decisionId: string;
1803
1804
  testId: string;
1804
1805
  durationMs?: number | undefined;
1805
1806
  evidence?: {
1806
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1807
- label: string;
1808
1807
  id: string;
1808
+ label: string;
1809
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1809
1810
  capture: "at_action" | "historical_lookup" | "fixture";
1810
1811
  locator?: string | undefined;
1811
1812
  }[] | undefined;
@@ -1820,9 +1821,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1820
1821
  supersedesDecisionIds: string[];
1821
1822
  proposedBy: string;
1822
1823
  evidence?: {
1823
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1824
- label: string;
1825
1824
  id: string;
1825
+ label: string;
1826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1826
1827
  capture: "at_action" | "historical_lookup" | "fixture";
1827
1828
  locator?: string | undefined;
1828
1829
  }[] | undefined;
@@ -1830,15 +1831,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1830
1831
  kind: "correction_approved";
1831
1832
  correctionId: string;
1832
1833
  approvedBy: {
1833
- kind: "agent" | "human";
1834
- label: string;
1835
1834
  id: string;
1835
+ label: string;
1836
+ kind: "agent" | "human";
1836
1837
  };
1837
1838
  note?: string | undefined;
1838
1839
  evidence?: {
1839
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1840
- label: string;
1841
1840
  id: string;
1841
+ label: string;
1842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1842
1843
  capture: "at_action" | "historical_lookup" | "fixture";
1843
1844
  locator?: string | undefined;
1844
1845
  }[] | undefined;
@@ -1848,9 +1849,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1848
1849
  correctionId: string;
1849
1850
  replacementDecisionId: string;
1850
1851
  evidence?: {
1851
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1852
- label: string;
1853
1852
  id: string;
1853
+ label: string;
1854
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1854
1855
  capture: "at_action" | "historical_lookup" | "fixture";
1855
1856
  locator?: string | undefined;
1856
1857
  }[] | undefined;
@@ -1863,9 +1864,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1863
1864
  recallReceiptId: string;
1864
1865
  capturedAtAction: boolean;
1865
1866
  evidence?: {
1866
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1867
- label: string;
1868
1867
  id: string;
1868
+ label: string;
1869
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1869
1870
  capture: "at_action" | "historical_lookup" | "fixture";
1870
1871
  locator?: string | undefined;
1871
1872
  }[] | undefined;
@@ -1878,20 +1879,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1878
1879
  recallReceiptId: string;
1879
1880
  staleDecisionAbsent: boolean;
1880
1881
  evidence?: {
1881
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1882
- label: string;
1883
1882
  id: string;
1883
+ label: string;
1884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
1885
  capture: "at_action" | "historical_lookup" | "fixture";
1885
1886
  locator?: string | undefined;
1886
1887
  }[] | undefined;
1887
1888
  } | {
1888
- kind: "mission_completed";
1889
1889
  summary: string;
1890
+ kind: "mission_completed";
1890
1891
  outcome: "failed" | "recovered" | "inconclusive";
1891
1892
  evidence?: {
1892
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1893
- label: string;
1894
1893
  id: string;
1894
+ label: string;
1895
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1895
1896
  capture: "at_action" | "historical_lookup" | "fixture";
1896
1897
  locator?: string | undefined;
1897
1898
  }[] | undefined;
@@ -1912,15 +1913,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1912
1913
  locator: z.ZodOptional<z.ZodString>;
1913
1914
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1914
1915
  }, "strict", z.ZodTypeAny, {
1915
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1916
- label: string;
1917
1916
  id: string;
1917
+ label: string;
1918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1918
1919
  capture: "at_action" | "historical_lookup" | "fixture";
1919
1920
  locator?: string | undefined;
1920
1921
  }, {
1921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
- label: string;
1923
1922
  id: string;
1923
+ label: string;
1924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1924
1925
  capture: "at_action" | "historical_lookup" | "fixture";
1925
1926
  locator?: string | undefined;
1926
1927
  }>, "many">>;
@@ -1928,9 +1929,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1928
1929
  kind: "mission_started";
1929
1930
  title: string;
1930
1931
  evidence: {
1931
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1932
- label: string;
1933
1932
  id: string;
1933
+ label: string;
1934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1935
1936
  locator?: string | undefined;
1936
1937
  }[];
@@ -1942,9 +1943,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1942
1943
  objective: string;
1943
1944
  runMode: "replay" | "fixture" | "live";
1944
1945
  evidence?: {
1945
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
- label: string;
1947
1946
  id: string;
1947
+ label: string;
1948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
1949
  capture: "at_action" | "historical_lookup" | "fixture";
1949
1950
  locator?: string | undefined;
1950
1951
  }[] | undefined;
@@ -1960,15 +1961,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1960
1961
  locator: z.ZodOptional<z.ZodString>;
1961
1962
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1962
1963
  }, "strict", z.ZodTypeAny, {
1963
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1964
- label: string;
1965
1964
  id: string;
1965
+ label: string;
1966
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
1967
  capture: "at_action" | "historical_lookup" | "fixture";
1967
1968
  locator?: string | undefined;
1968
1969
  }, {
1969
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
- label: string;
1971
1970
  id: string;
1971
+ label: string;
1972
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
1973
  capture: "at_action" | "historical_lookup" | "fixture";
1973
1974
  locator?: string | undefined;
1974
1975
  }>, "many">>;
@@ -1976,32 +1977,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1976
1977
  sessionId: z.ZodString;
1977
1978
  kind: z.ZodLiteral<"agent_status">;
1978
1979
  }, "strict", z.ZodTypeAny, {
1979
- kind: "agent_status";
1980
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1981
1980
  label: string;
1981
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1982
+ kind: "agent_status";
1982
1983
  role: string;
1983
1984
  agentId: string;
1984
1985
  sessionId: string;
1985
1986
  evidence: {
1986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
- label: string;
1988
1987
  id: string;
1988
+ label: string;
1989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1989
1990
  capture: "at_action" | "historical_lookup" | "fixture";
1990
1991
  locator?: string | undefined;
1991
1992
  }[];
1992
1993
  detail?: string | undefined;
1993
1994
  }, {
1994
- kind: "agent_status";
1995
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1996
1995
  label: string;
1996
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1997
+ kind: "agent_status";
1997
1998
  role: string;
1998
1999
  agentId: string;
1999
2000
  sessionId: string;
2000
2001
  detail?: string | undefined;
2001
2002
  evidence?: {
2002
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2003
- label: string;
2004
2003
  id: string;
2004
+ label: string;
2005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2005
2006
  capture: "at_action" | "historical_lookup" | "fixture";
2006
2007
  locator?: string | undefined;
2007
2008
  }[] | undefined;
@@ -2015,15 +2016,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2015
2016
  locator: z.ZodOptional<z.ZodString>;
2016
2017
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2017
2018
  }, "strict", z.ZodTypeAny, {
2018
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2019
- label: string;
2020
2019
  id: string;
2020
+ label: string;
2021
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
2022
  capture: "at_action" | "historical_lookup" | "fixture";
2022
2023
  locator?: string | undefined;
2023
2024
  }, {
2024
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2025
- label: string;
2026
2025
  id: string;
2026
+ label: string;
2027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2027
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2028
2029
  locator?: string | undefined;
2029
2030
  }>, "many">>;
@@ -2031,28 +2032,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2031
2032
  sessionId: z.ZodString;
2032
2033
  kind: z.ZodLiteral<"agent_output">;
2033
2034
  }, "strict", z.ZodTypeAny, {
2034
- kind: "agent_output";
2035
2035
  summary: string;
2036
+ kind: "agent_output";
2036
2037
  agentId: string;
2037
2038
  sessionId: string;
2038
2039
  evidence: {
2039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2040
- label: string;
2041
2040
  id: string;
2041
+ label: string;
2042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2042
2043
  capture: "at_action" | "historical_lookup" | "fixture";
2043
2044
  locator?: string | undefined;
2044
2045
  }[];
2045
2046
  outputId: string;
2046
2047
  }, {
2047
- kind: "agent_output";
2048
2048
  summary: string;
2049
+ kind: "agent_output";
2049
2050
  agentId: string;
2050
2051
  sessionId: string;
2051
2052
  outputId: string;
2052
2053
  evidence?: {
2053
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2054
- label: string;
2055
2054
  id: string;
2055
+ label: string;
2056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2056
2057
  capture: "at_action" | "historical_lookup" | "fixture";
2057
2058
  locator?: string | undefined;
2058
2059
  }[] | undefined;
@@ -2068,15 +2069,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2068
2069
  locator: z.ZodOptional<z.ZodString>;
2069
2070
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2070
2071
  }, "strict", z.ZodTypeAny, {
2071
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2072
- label: string;
2073
2072
  id: string;
2073
+ label: string;
2074
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
2075
  capture: "at_action" | "historical_lookup" | "fixture";
2075
2076
  locator?: string | undefined;
2076
2077
  }, {
2077
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2078
- label: string;
2079
2078
  id: string;
2079
+ label: string;
2080
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2080
2081
  capture: "at_action" | "historical_lookup" | "fixture";
2081
2082
  locator?: string | undefined;
2082
2083
  }>, "many">>;
@@ -2089,9 +2090,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2089
2090
  statement: string;
2090
2091
  sessionId: string;
2091
2092
  evidence: {
2092
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2093
- label: string;
2094
2093
  id: string;
2094
+ label: string;
2095
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2095
2096
  capture: "at_action" | "historical_lookup" | "fixture";
2096
2097
  locator?: string | undefined;
2097
2098
  }[];
@@ -2107,9 +2108,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2107
2108
  decisionId: string;
2108
2109
  confidence?: number | undefined;
2109
2110
  evidence?: {
2110
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2111
- label: string;
2112
2111
  id: string;
2112
+ label: string;
2113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2113
2114
  capture: "at_action" | "historical_lookup" | "fixture";
2114
2115
  locator?: string | undefined;
2115
2116
  }[] | undefined;
@@ -2126,25 +2127,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2126
2127
  locator: z.ZodOptional<z.ZodString>;
2127
2128
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2128
2129
  }, "strict", z.ZodTypeAny, {
2129
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2130
- label: string;
2131
2130
  id: string;
2131
+ label: string;
2132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2132
2133
  capture: "at_action" | "historical_lookup" | "fixture";
2133
2134
  locator?: string | undefined;
2134
2135
  }, {
2135
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2136
- label: string;
2137
2136
  id: string;
2137
+ label: string;
2138
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
2139
  capture: "at_action" | "historical_lookup" | "fixture";
2139
2140
  locator?: string | undefined;
2140
2141
  }>, "many">>;
2141
2142
  }, "strict", z.ZodTypeAny, {
2142
- kind: "conflict_detected";
2143
2143
  summary: string;
2144
+ kind: "conflict_detected";
2144
2145
  evidence: {
2145
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2146
- label: string;
2147
2146
  id: string;
2147
+ label: string;
2148
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2148
2149
  capture: "at_action" | "historical_lookup" | "fixture";
2149
2150
  locator?: string | undefined;
2150
2151
  }[];
@@ -2152,15 +2153,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2152
2153
  decisionIds: string[];
2153
2154
  agentIds: string[];
2154
2155
  }, {
2155
- kind: "conflict_detected";
2156
2156
  summary: string;
2157
+ kind: "conflict_detected";
2157
2158
  conflictId: string;
2158
2159
  decisionIds: string[];
2159
2160
  agentIds: string[];
2160
2161
  evidence?: {
2161
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2162
- label: string;
2163
2162
  id: string;
2163
+ label: string;
2164
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2164
2165
  capture: "at_action" | "historical_lookup" | "fixture";
2165
2166
  locator?: string | undefined;
2166
2167
  }[] | undefined;
@@ -2180,27 +2181,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2180
2181
  locator: z.ZodOptional<z.ZodString>;
2181
2182
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2182
2183
  }, "strict", z.ZodTypeAny, {
2183
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2184
- label: string;
2185
2184
  id: string;
2185
+ label: string;
2186
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
2187
  capture: "at_action" | "historical_lookup" | "fixture";
2187
2188
  locator?: string | undefined;
2188
2189
  }, {
2189
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
- label: string;
2191
2190
  id: string;
2191
+ label: string;
2192
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2193
  capture: "at_action" | "historical_lookup" | "fixture";
2193
2194
  locator?: string | undefined;
2194
2195
  }>, "many">>;
2195
2196
  }, "strict", z.ZodTypeAny, {
2196
- kind: "test_result";
2197
2197
  summary: string;
2198
2198
  status: "error" | "failed" | "passed";
2199
+ kind: "test_result";
2199
2200
  command: string;
2200
2201
  evidence: {
2201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
- label: string;
2203
2202
  id: string;
2203
+ label: string;
2204
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
2205
  capture: "at_action" | "historical_lookup" | "fixture";
2205
2206
  locator?: string | undefined;
2206
2207
  }[];
@@ -2209,17 +2210,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2209
2210
  durationMs?: number | undefined;
2210
2211
  correctionId?: string | undefined;
2211
2212
  }, {
2212
- kind: "test_result";
2213
2213
  summary: string;
2214
2214
  status: "error" | "failed" | "passed";
2215
+ kind: "test_result";
2215
2216
  command: string;
2216
2217
  decisionId: string;
2217
2218
  testId: string;
2218
2219
  durationMs?: number | undefined;
2219
2220
  evidence?: {
2220
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2221
- label: string;
2222
2221
  id: string;
2222
+ label: string;
2223
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2223
2224
  capture: "at_action" | "historical_lookup" | "fixture";
2224
2225
  locator?: string | undefined;
2225
2226
  }[] | undefined;
@@ -2240,15 +2241,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2240
2241
  locator: z.ZodOptional<z.ZodString>;
2241
2242
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2242
2243
  }, "strict", z.ZodTypeAny, {
2243
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2244
- label: string;
2245
2244
  id: string;
2245
+ label: string;
2246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2246
2247
  capture: "at_action" | "historical_lookup" | "fixture";
2247
2248
  locator?: string | undefined;
2248
2249
  }, {
2249
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2250
- label: string;
2251
2250
  id: string;
2251
+ label: string;
2252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2252
2253
  capture: "at_action" | "historical_lookup" | "fixture";
2253
2254
  locator?: string | undefined;
2254
2255
  }>, "many">>;
@@ -2257,9 +2258,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2257
2258
  rationale: string;
2258
2259
  statement: string;
2259
2260
  evidence: {
2260
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2261
- label: string;
2262
2261
  id: string;
2262
+ label: string;
2263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
2264
  capture: "at_action" | "historical_lookup" | "fixture";
2264
2265
  locator?: string | undefined;
2265
2266
  }[];
@@ -2278,9 +2279,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2278
2279
  supersedesDecisionIds: string[];
2279
2280
  proposedBy: string;
2280
2281
  evidence?: {
2281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2282
- label: string;
2283
2282
  id: string;
2283
+ label: string;
2284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
2285
  capture: "at_action" | "historical_lookup" | "fixture";
2285
2286
  locator?: string | undefined;
2286
2287
  }[] | undefined;
@@ -2292,13 +2293,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2292
2293
  id: z.ZodString;
2293
2294
  label: z.ZodString;
2294
2295
  }, "strict", z.ZodTypeAny, {
2295
- kind: "agent" | "human";
2296
- label: string;
2297
2296
  id: string;
2298
- }, {
2299
- kind: "agent" | "human";
2300
2297
  label: string;
2298
+ kind: "agent" | "human";
2299
+ }, {
2301
2300
  id: string;
2301
+ label: string;
2302
+ kind: "agent" | "human";
2302
2303
  }>;
2303
2304
  note: z.ZodOptional<z.ZodString>;
2304
2305
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2308,47 +2309,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2308
2309
  locator: z.ZodOptional<z.ZodString>;
2309
2310
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2310
2311
  }, "strict", z.ZodTypeAny, {
2311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
- label: string;
2313
2312
  id: string;
2313
+ label: string;
2314
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
2315
  capture: "at_action" | "historical_lookup" | "fixture";
2315
2316
  locator?: string | undefined;
2316
2317
  }, {
2317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
- label: string;
2319
2318
  id: string;
2319
+ label: string;
2320
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2321
  capture: "at_action" | "historical_lookup" | "fixture";
2321
2322
  locator?: string | undefined;
2322
2323
  }>, "many">>;
2323
2324
  }, "strict", z.ZodTypeAny, {
2324
2325
  kind: "correction_approved";
2325
2326
  evidence: {
2326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2327
- label: string;
2328
2327
  id: string;
2328
+ label: string;
2329
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2329
2330
  capture: "at_action" | "historical_lookup" | "fixture";
2330
2331
  locator?: string | undefined;
2331
2332
  }[];
2332
2333
  correctionId: string;
2333
2334
  approvedBy: {
2334
- kind: "agent" | "human";
2335
- label: string;
2336
2335
  id: string;
2336
+ label: string;
2337
+ kind: "agent" | "human";
2337
2338
  };
2338
2339
  note?: string | undefined;
2339
2340
  }, {
2340
2341
  kind: "correction_approved";
2341
2342
  correctionId: string;
2342
2343
  approvedBy: {
2343
- kind: "agent" | "human";
2344
- label: string;
2345
2344
  id: string;
2345
+ label: string;
2346
+ kind: "agent" | "human";
2346
2347
  };
2347
2348
  note?: string | undefined;
2348
2349
  evidence?: {
2349
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2350
- label: string;
2351
2350
  id: string;
2351
+ label: string;
2352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2352
2353
  capture: "at_action" | "historical_lookup" | "fixture";
2353
2354
  locator?: string | undefined;
2354
2355
  }[] | undefined;
@@ -2364,24 +2365,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2364
2365
  locator: z.ZodOptional<z.ZodString>;
2365
2366
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2366
2367
  }, "strict", z.ZodTypeAny, {
2367
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2368
- label: string;
2369
2368
  id: string;
2369
+ label: string;
2370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2370
2371
  capture: "at_action" | "historical_lookup" | "fixture";
2371
2372
  locator?: string | undefined;
2372
2373
  }, {
2373
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2374
- label: string;
2375
2374
  id: string;
2375
+ label: string;
2376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2376
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2377
2378
  locator?: string | undefined;
2378
2379
  }>, "many">>;
2379
2380
  }, "strict", z.ZodTypeAny, {
2380
2381
  kind: "decision_superseded";
2381
2382
  evidence: {
2382
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
- label: string;
2384
2383
  id: string;
2384
+ label: string;
2385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
2386
  capture: "at_action" | "historical_lookup" | "fixture";
2386
2387
  locator?: string | undefined;
2387
2388
  }[];
@@ -2394,9 +2395,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2394
2395
  correctionId: string;
2395
2396
  replacementDecisionId: string;
2396
2397
  evidence?: {
2397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2398
- label: string;
2399
2398
  id: string;
2399
+ label: string;
2400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
2401
  capture: "at_action" | "historical_lookup" | "fixture";
2401
2402
  locator?: string | undefined;
2402
2403
  }[] | undefined;
@@ -2412,15 +2413,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2412
2413
  locator: z.ZodOptional<z.ZodString>;
2413
2414
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2414
2415
  }, "strict", z.ZodTypeAny, {
2415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2416
- label: string;
2417
2416
  id: string;
2417
+ label: string;
2418
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2419
  capture: "at_action" | "historical_lookup" | "fixture";
2419
2420
  locator?: string | undefined;
2420
2421
  }, {
2421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
- label: string;
2423
2422
  id: string;
2423
+ label: string;
2424
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2425
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2426
  locator?: string | undefined;
2426
2427
  }>, "many">>;
@@ -2433,9 +2434,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2433
2434
  agentId: string;
2434
2435
  sessionId: string;
2435
2436
  evidence: {
2436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
- label: string;
2438
2437
  id: string;
2438
+ label: string;
2439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
2440
  capture: "at_action" | "historical_lookup" | "fixture";
2440
2441
  locator?: string | undefined;
2441
2442
  }[];
@@ -2451,9 +2452,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2451
2452
  recallReceiptId: string;
2452
2453
  capturedAtAction: boolean;
2453
2454
  evidence?: {
2454
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2455
- label: string;
2456
2455
  id: string;
2456
+ label: string;
2457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
2458
  capture: "at_action" | "historical_lookup" | "fixture";
2458
2459
  locator?: string | undefined;
2459
2460
  }[] | undefined;
@@ -2469,15 +2470,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2469
2470
  locator: z.ZodOptional<z.ZodString>;
2470
2471
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2471
2472
  }, "strict", z.ZodTypeAny, {
2472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2473
- label: string;
2474
2473
  id: string;
2474
+ label: string;
2475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2475
2476
  capture: "at_action" | "historical_lookup" | "fixture";
2476
2477
  locator?: string | undefined;
2477
2478
  }, {
2478
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
- label: string;
2480
2479
  id: string;
2480
+ label: string;
2481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2483
  locator?: string | undefined;
2483
2484
  }>, "many">>;
@@ -2489,9 +2490,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2489
2490
  agentId: string;
2490
2491
  sessionId: string;
2491
2492
  evidence: {
2492
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2493
- label: string;
2494
2493
  id: string;
2494
+ label: string;
2495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2495
2496
  capture: "at_action" | "historical_lookup" | "fixture";
2496
2497
  locator?: string | undefined;
2497
2498
  }[];
@@ -2508,9 +2509,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2508
2509
  recallReceiptId: string;
2509
2510
  staleDecisionAbsent: boolean;
2510
2511
  evidence?: {
2511
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2512
- label: string;
2513
2512
  id: string;
2513
+ label: string;
2514
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
2515
  capture: "at_action" | "historical_lookup" | "fixture";
2515
2516
  locator?: string | undefined;
2516
2517
  }[] | undefined;
@@ -2525,37 +2526,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2525
2526
  locator: z.ZodOptional<z.ZodString>;
2526
2527
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2527
2528
  }, "strict", z.ZodTypeAny, {
2528
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2529
- label: string;
2530
2529
  id: string;
2530
+ label: string;
2531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2532
2533
  locator?: string | undefined;
2533
2534
  }, {
2534
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2535
- label: string;
2536
2535
  id: string;
2536
+ label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2538
2539
  locator?: string | undefined;
2539
2540
  }>, "many">>;
2540
2541
  }, "strict", z.ZodTypeAny, {
2541
- kind: "mission_completed";
2542
2542
  summary: string;
2543
+ kind: "mission_completed";
2543
2544
  outcome: "failed" | "recovered" | "inconclusive";
2544
2545
  evidence: {
2545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
- label: string;
2547
2546
  id: string;
2547
+ label: string;
2548
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2549
  capture: "at_action" | "historical_lookup" | "fixture";
2549
2550
  locator?: string | undefined;
2550
2551
  }[];
2551
2552
  }, {
2552
- kind: "mission_completed";
2553
2553
  summary: string;
2554
+ kind: "mission_completed";
2554
2555
  outcome: "failed" | "recovered" | "inconclusive";
2555
2556
  evidence?: {
2556
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2557
- label: string;
2558
2557
  id: string;
2558
+ label: string;
2559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2559
2560
  capture: "at_action" | "historical_lookup" | "fixture";
2560
2561
  locator?: string | undefined;
2561
2562
  }[] | undefined;
@@ -2563,38 +2564,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2563
2564
  kind: "mission_started";
2564
2565
  title: string;
2565
2566
  evidence: {
2566
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
- label: string;
2568
2567
  id: string;
2568
+ label: string;
2569
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2569
2570
  capture: "at_action" | "historical_lookup" | "fixture";
2570
2571
  locator?: string | undefined;
2571
2572
  }[];
2572
2573
  objective: string;
2573
2574
  runMode: "replay" | "fixture" | "live";
2574
2575
  } | {
2575
- kind: "agent_status";
2576
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2577
2576
  label: string;
2577
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2578
+ kind: "agent_status";
2578
2579
  role: string;
2579
2580
  agentId: string;
2580
2581
  sessionId: string;
2581
2582
  evidence: {
2582
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2583
- label: string;
2584
2583
  id: string;
2584
+ label: string;
2585
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
2586
  capture: "at_action" | "historical_lookup" | "fixture";
2586
2587
  locator?: string | undefined;
2587
2588
  }[];
2588
2589
  detail?: string | undefined;
2589
2590
  } | {
2590
- kind: "agent_output";
2591
2591
  summary: string;
2592
+ kind: "agent_output";
2592
2593
  agentId: string;
2593
2594
  sessionId: string;
2594
2595
  evidence: {
2595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
- label: string;
2597
2596
  id: string;
2597
+ label: string;
2598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
2599
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2600
  locator?: string | undefined;
2600
2601
  }[];
@@ -2605,9 +2606,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2605
2606
  statement: string;
2606
2607
  sessionId: string;
2607
2608
  evidence: {
2608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2609
- label: string;
2610
2609
  id: string;
2610
+ label: string;
2611
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2612
  capture: "at_action" | "historical_lookup" | "fixture";
2612
2613
  locator?: string | undefined;
2613
2614
  }[];
@@ -2615,12 +2616,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2615
2616
  decisionId: string;
2616
2617
  confidence?: number | undefined;
2617
2618
  } | {
2618
- kind: "conflict_detected";
2619
2619
  summary: string;
2620
+ kind: "conflict_detected";
2620
2621
  evidence: {
2621
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
- label: string;
2623
2622
  id: string;
2623
+ label: string;
2624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
2625
  capture: "at_action" | "historical_lookup" | "fixture";
2625
2626
  locator?: string | undefined;
2626
2627
  }[];
@@ -2628,14 +2629,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2628
2629
  decisionIds: string[];
2629
2630
  agentIds: string[];
2630
2631
  } | {
2631
- kind: "test_result";
2632
2632
  summary: string;
2633
2633
  status: "error" | "failed" | "passed";
2634
+ kind: "test_result";
2634
2635
  command: string;
2635
2636
  evidence: {
2636
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2637
- label: string;
2638
2637
  id: string;
2638
+ label: string;
2639
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2639
2640
  capture: "at_action" | "historical_lookup" | "fixture";
2640
2641
  locator?: string | undefined;
2641
2642
  }[];
@@ -2648,9 +2649,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2648
2649
  rationale: string;
2649
2650
  statement: string;
2650
2651
  evidence: {
2651
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2652
- label: string;
2653
2652
  id: string;
2653
+ label: string;
2654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2654
2655
  capture: "at_action" | "historical_lookup" | "fixture";
2655
2656
  locator?: string | undefined;
2656
2657
  }[];
@@ -2662,25 +2663,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2662
2663
  } | {
2663
2664
  kind: "correction_approved";
2664
2665
  evidence: {
2665
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2666
- label: string;
2667
2666
  id: string;
2667
+ label: string;
2668
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
2669
  capture: "at_action" | "historical_lookup" | "fixture";
2669
2670
  locator?: string | undefined;
2670
2671
  }[];
2671
2672
  correctionId: string;
2672
2673
  approvedBy: {
2673
- kind: "agent" | "human";
2674
- label: string;
2675
2674
  id: string;
2675
+ label: string;
2676
+ kind: "agent" | "human";
2676
2677
  };
2677
2678
  note?: string | undefined;
2678
2679
  } | {
2679
2680
  kind: "decision_superseded";
2680
2681
  evidence: {
2681
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2682
- label: string;
2683
2682
  id: string;
2683
+ label: string;
2684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2684
2685
  capture: "at_action" | "historical_lookup" | "fixture";
2685
2686
  locator?: string | undefined;
2686
2687
  }[];
@@ -2693,9 +2694,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2693
2694
  agentId: string;
2694
2695
  sessionId: string;
2695
2696
  evidence: {
2696
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2697
- label: string;
2698
2697
  id: string;
2698
+ label: string;
2699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2699
2700
  capture: "at_action" | "historical_lookup" | "fixture";
2700
2701
  locator?: string | undefined;
2701
2702
  }[];
@@ -2707,9 +2708,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2707
2708
  agentId: string;
2708
2709
  sessionId: string;
2709
2710
  evidence: {
2710
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2711
- label: string;
2712
2711
  id: string;
2712
+ label: string;
2713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2713
2714
  capture: "at_action" | "historical_lookup" | "fixture";
2714
2715
  locator?: string | undefined;
2715
2716
  }[];
@@ -2718,13 +2719,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2718
2719
  recallReceiptId: string;
2719
2720
  staleDecisionAbsent: boolean;
2720
2721
  } | {
2721
- kind: "mission_completed";
2722
2722
  summary: string;
2723
+ kind: "mission_completed";
2723
2724
  outcome: "failed" | "recovered" | "inconclusive";
2724
2725
  evidence: {
2725
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
- label: string;
2727
2726
  id: string;
2727
+ label: string;
2728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2728
2729
  capture: "at_action" | "historical_lookup" | "fixture";
2729
2730
  locator?: string | undefined;
2730
2731
  }[];
@@ -2734,37 +2735,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2734
2735
  objective: string;
2735
2736
  runMode: "replay" | "fixture" | "live";
2736
2737
  evidence?: {
2737
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2738
- label: string;
2739
2738
  id: string;
2739
+ label: string;
2740
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2740
2741
  capture: "at_action" | "historical_lookup" | "fixture";
2741
2742
  locator?: string | undefined;
2742
2743
  }[] | undefined;
2743
2744
  } | {
2744
- kind: "agent_status";
2745
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2746
2745
  label: string;
2746
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2747
+ kind: "agent_status";
2747
2748
  role: string;
2748
2749
  agentId: string;
2749
2750
  sessionId: string;
2750
2751
  detail?: string | undefined;
2751
2752
  evidence?: {
2752
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2753
- label: string;
2754
2753
  id: string;
2754
+ label: string;
2755
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2755
2756
  capture: "at_action" | "historical_lookup" | "fixture";
2756
2757
  locator?: string | undefined;
2757
2758
  }[] | undefined;
2758
2759
  } | {
2759
- kind: "agent_output";
2760
2760
  summary: string;
2761
+ kind: "agent_output";
2761
2762
  agentId: string;
2762
2763
  sessionId: string;
2763
2764
  outputId: string;
2764
2765
  evidence?: {
2765
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
- label: string;
2767
2766
  id: string;
2767
+ label: string;
2768
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2769
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2770
  locator?: string | undefined;
2770
2771
  }[] | undefined;
@@ -2777,37 +2778,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2777
2778
  decisionId: string;
2778
2779
  confidence?: number | undefined;
2779
2780
  evidence?: {
2780
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2781
- label: string;
2782
2781
  id: string;
2782
+ label: string;
2783
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2784
  capture: "at_action" | "historical_lookup" | "fixture";
2784
2785
  locator?: string | undefined;
2785
2786
  }[] | undefined;
2786
2787
  } | {
2787
- kind: "conflict_detected";
2788
2788
  summary: string;
2789
+ kind: "conflict_detected";
2789
2790
  conflictId: string;
2790
2791
  decisionIds: string[];
2791
2792
  agentIds: string[];
2792
2793
  evidence?: {
2793
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2794
- label: string;
2795
2794
  id: string;
2795
+ label: string;
2796
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2796
2797
  capture: "at_action" | "historical_lookup" | "fixture";
2797
2798
  locator?: string | undefined;
2798
2799
  }[] | undefined;
2799
2800
  } | {
2800
- kind: "test_result";
2801
2801
  summary: string;
2802
2802
  status: "error" | "failed" | "passed";
2803
+ kind: "test_result";
2803
2804
  command: string;
2804
2805
  decisionId: string;
2805
2806
  testId: string;
2806
2807
  durationMs?: number | undefined;
2807
2808
  evidence?: {
2808
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2809
- label: string;
2810
2809
  id: string;
2810
+ label: string;
2811
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2811
2812
  capture: "at_action" | "historical_lookup" | "fixture";
2812
2813
  locator?: string | undefined;
2813
2814
  }[] | undefined;
@@ -2822,9 +2823,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2822
2823
  supersedesDecisionIds: string[];
2823
2824
  proposedBy: string;
2824
2825
  evidence?: {
2825
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2826
- label: string;
2827
2826
  id: string;
2827
+ label: string;
2828
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2828
2829
  capture: "at_action" | "historical_lookup" | "fixture";
2829
2830
  locator?: string | undefined;
2830
2831
  }[] | undefined;
@@ -2832,15 +2833,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2832
2833
  kind: "correction_approved";
2833
2834
  correctionId: string;
2834
2835
  approvedBy: {
2835
- kind: "agent" | "human";
2836
- label: string;
2837
2836
  id: string;
2837
+ label: string;
2838
+ kind: "agent" | "human";
2838
2839
  };
2839
2840
  note?: string | undefined;
2840
2841
  evidence?: {
2841
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2842
- label: string;
2843
2842
  id: string;
2843
+ label: string;
2844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2844
2845
  capture: "at_action" | "historical_lookup" | "fixture";
2845
2846
  locator?: string | undefined;
2846
2847
  }[] | undefined;
@@ -2850,9 +2851,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2850
2851
  correctionId: string;
2851
2852
  replacementDecisionId: string;
2852
2853
  evidence?: {
2853
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2854
- label: string;
2855
2854
  id: string;
2855
+ label: string;
2856
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2856
2857
  capture: "at_action" | "historical_lookup" | "fixture";
2857
2858
  locator?: string | undefined;
2858
2859
  }[] | undefined;
@@ -2865,9 +2866,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2865
2866
  recallReceiptId: string;
2866
2867
  capturedAtAction: boolean;
2867
2868
  evidence?: {
2868
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2869
- label: string;
2870
2869
  id: string;
2870
+ label: string;
2871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2871
2872
  capture: "at_action" | "historical_lookup" | "fixture";
2872
2873
  locator?: string | undefined;
2873
2874
  }[] | undefined;
@@ -2880,20 +2881,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2880
2881
  recallReceiptId: string;
2881
2882
  staleDecisionAbsent: boolean;
2882
2883
  evidence?: {
2883
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2884
- label: string;
2885
2884
  id: string;
2885
+ label: string;
2886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
2887
  capture: "at_action" | "historical_lookup" | "fixture";
2887
2888
  locator?: string | undefined;
2888
2889
  }[] | undefined;
2889
2890
  } | {
2890
- kind: "mission_completed";
2891
2891
  summary: string;
2892
+ kind: "mission_completed";
2892
2893
  outcome: "failed" | "recovered" | "inconclusive";
2893
2894
  evidence?: {
2894
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2895
- label: string;
2896
2895
  id: string;
2896
+ label: string;
2897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2897
2898
  capture: "at_action" | "historical_lookup" | "fixture";
2898
2899
  locator?: string | undefined;
2899
2900
  }[] | undefined;
@@ -2903,38 +2904,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2903
2904
  kind: "mission_started";
2904
2905
  title: string;
2905
2906
  evidence: {
2906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
- label: string;
2908
2907
  id: string;
2908
+ label: string;
2909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
2910
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2911
  locator?: string | undefined;
2911
2912
  }[];
2912
2913
  objective: string;
2913
2914
  runMode: "replay" | "fixture" | "live";
2914
2915
  } | {
2915
- kind: "agent_status";
2916
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2917
2916
  label: string;
2917
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2918
+ kind: "agent_status";
2918
2919
  role: string;
2919
2920
  agentId: string;
2920
2921
  sessionId: string;
2921
2922
  evidence: {
2922
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2923
- label: string;
2924
2923
  id: string;
2924
+ label: string;
2925
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2925
2926
  capture: "at_action" | "historical_lookup" | "fixture";
2926
2927
  locator?: string | undefined;
2927
2928
  }[];
2928
2929
  detail?: string | undefined;
2929
2930
  } | {
2930
- kind: "agent_output";
2931
2931
  summary: string;
2932
+ kind: "agent_output";
2932
2933
  agentId: string;
2933
2934
  sessionId: string;
2934
2935
  evidence: {
2935
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
- label: string;
2937
2936
  id: string;
2937
+ label: string;
2938
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2938
2939
  capture: "at_action" | "historical_lookup" | "fixture";
2939
2940
  locator?: string | undefined;
2940
2941
  }[];
@@ -2945,9 +2946,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2945
2946
  statement: string;
2946
2947
  sessionId: string;
2947
2948
  evidence: {
2948
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
- label: string;
2950
2949
  id: string;
2950
+ label: string;
2951
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
2952
  capture: "at_action" | "historical_lookup" | "fixture";
2952
2953
  locator?: string | undefined;
2953
2954
  }[];
@@ -2955,12 +2956,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2956
  decisionId: string;
2956
2957
  confidence?: number | undefined;
2957
2958
  } | {
2958
- kind: "conflict_detected";
2959
2959
  summary: string;
2960
+ kind: "conflict_detected";
2960
2961
  evidence: {
2961
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
- label: string;
2963
2962
  id: string;
2963
+ label: string;
2964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2964
2965
  capture: "at_action" | "historical_lookup" | "fixture";
2965
2966
  locator?: string | undefined;
2966
2967
  }[];
@@ -2968,14 +2969,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2968
2969
  decisionIds: string[];
2969
2970
  agentIds: string[];
2970
2971
  } | {
2971
- kind: "test_result";
2972
2972
  summary: string;
2973
2973
  status: "error" | "failed" | "passed";
2974
+ kind: "test_result";
2974
2975
  command: string;
2975
2976
  evidence: {
2976
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2977
- label: string;
2978
2977
  id: string;
2978
+ label: string;
2979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2979
2980
  capture: "at_action" | "historical_lookup" | "fixture";
2980
2981
  locator?: string | undefined;
2981
2982
  }[];
@@ -2988,9 +2989,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2988
2989
  rationale: string;
2989
2990
  statement: string;
2990
2991
  evidence: {
2991
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2992
- label: string;
2993
2992
  id: string;
2993
+ label: string;
2994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2994
2995
  capture: "at_action" | "historical_lookup" | "fixture";
2995
2996
  locator?: string | undefined;
2996
2997
  }[];
@@ -3002,25 +3003,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3002
3003
  } | {
3003
3004
  kind: "correction_approved";
3004
3005
  evidence: {
3005
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
- label: string;
3007
3006
  id: string;
3007
+ label: string;
3008
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3008
3009
  capture: "at_action" | "historical_lookup" | "fixture";
3009
3010
  locator?: string | undefined;
3010
3011
  }[];
3011
3012
  correctionId: string;
3012
3013
  approvedBy: {
3013
- kind: "agent" | "human";
3014
- label: string;
3015
3014
  id: string;
3015
+ label: string;
3016
+ kind: "agent" | "human";
3016
3017
  };
3017
3018
  note?: string | undefined;
3018
3019
  } | {
3019
3020
  kind: "decision_superseded";
3020
3021
  evidence: {
3021
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3022
- label: string;
3023
3022
  id: string;
3023
+ label: string;
3024
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3024
3025
  capture: "at_action" | "historical_lookup" | "fixture";
3025
3026
  locator?: string | undefined;
3026
3027
  }[];
@@ -3033,9 +3034,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3033
3034
  agentId: string;
3034
3035
  sessionId: string;
3035
3036
  evidence: {
3036
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3037
- label: string;
3038
3037
  id: string;
3038
+ label: string;
3039
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3039
3040
  capture: "at_action" | "historical_lookup" | "fixture";
3040
3041
  locator?: string | undefined;
3041
3042
  }[];
@@ -3047,9 +3048,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3047
3048
  agentId: string;
3048
3049
  sessionId: string;
3049
3050
  evidence: {
3050
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
- label: string;
3052
3051
  id: string;
3052
+ label: string;
3053
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3053
3054
  capture: "at_action" | "historical_lookup" | "fixture";
3054
3055
  locator?: string | undefined;
3055
3056
  }[];
@@ -3058,13 +3059,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3058
3059
  recallReceiptId: string;
3059
3060
  staleDecisionAbsent: boolean;
3060
3061
  } | {
3061
- kind: "mission_completed";
3062
3062
  summary: string;
3063
+ kind: "mission_completed";
3063
3064
  outcome: "failed" | "recovered" | "inconclusive";
3064
3065
  evidence: {
3065
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3066
- label: string;
3067
3066
  id: string;
3067
+ label: string;
3068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3068
3069
  capture: "at_action" | "historical_lookup" | "fixture";
3069
3070
  locator?: string | undefined;
3070
3071
  }[];
@@ -3078,37 +3079,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3078
3079
  objective: string;
3079
3080
  runMode: "replay" | "fixture" | "live";
3080
3081
  evidence?: {
3081
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3082
- label: string;
3083
3082
  id: string;
3083
+ label: string;
3084
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
3085
  capture: "at_action" | "historical_lookup" | "fixture";
3085
3086
  locator?: string | undefined;
3086
3087
  }[] | undefined;
3087
3088
  } | {
3088
- kind: "agent_status";
3089
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3090
3089
  label: string;
3090
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3091
+ kind: "agent_status";
3091
3092
  role: string;
3092
3093
  agentId: string;
3093
3094
  sessionId: string;
3094
3095
  detail?: string | undefined;
3095
3096
  evidence?: {
3096
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3097
- label: string;
3098
3097
  id: string;
3098
+ label: string;
3099
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
3100
  capture: "at_action" | "historical_lookup" | "fixture";
3100
3101
  locator?: string | undefined;
3101
3102
  }[] | undefined;
3102
3103
  } | {
3103
- kind: "agent_output";
3104
3104
  summary: string;
3105
+ kind: "agent_output";
3105
3106
  agentId: string;
3106
3107
  sessionId: string;
3107
3108
  outputId: string;
3108
3109
  evidence?: {
3109
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3110
- label: string;
3111
3110
  id: string;
3111
+ label: string;
3112
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
3113
  capture: "at_action" | "historical_lookup" | "fixture";
3113
3114
  locator?: string | undefined;
3114
3115
  }[] | undefined;
@@ -3121,37 +3122,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3121
3122
  decisionId: string;
3122
3123
  confidence?: number | undefined;
3123
3124
  evidence?: {
3124
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3125
- label: string;
3126
3125
  id: string;
3126
+ label: string;
3127
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
3128
  capture: "at_action" | "historical_lookup" | "fixture";
3128
3129
  locator?: string | undefined;
3129
3130
  }[] | undefined;
3130
3131
  } | {
3131
- kind: "conflict_detected";
3132
3132
  summary: string;
3133
+ kind: "conflict_detected";
3133
3134
  conflictId: string;
3134
3135
  decisionIds: string[];
3135
3136
  agentIds: string[];
3136
3137
  evidence?: {
3137
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3138
- label: string;
3139
3138
  id: string;
3139
+ label: string;
3140
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
3141
  capture: "at_action" | "historical_lookup" | "fixture";
3141
3142
  locator?: string | undefined;
3142
3143
  }[] | undefined;
3143
3144
  } | {
3144
- kind: "test_result";
3145
3145
  summary: string;
3146
3146
  status: "error" | "failed" | "passed";
3147
+ kind: "test_result";
3147
3148
  command: string;
3148
3149
  decisionId: string;
3149
3150
  testId: string;
3150
3151
  durationMs?: number | undefined;
3151
3152
  evidence?: {
3152
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3153
- label: string;
3154
3153
  id: string;
3154
+ label: string;
3155
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3156
  capture: "at_action" | "historical_lookup" | "fixture";
3156
3157
  locator?: string | undefined;
3157
3158
  }[] | undefined;
@@ -3166,9 +3167,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3166
3167
  supersedesDecisionIds: string[];
3167
3168
  proposedBy: string;
3168
3169
  evidence?: {
3169
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3170
- label: string;
3171
3170
  id: string;
3171
+ label: string;
3172
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3172
3173
  capture: "at_action" | "historical_lookup" | "fixture";
3173
3174
  locator?: string | undefined;
3174
3175
  }[] | undefined;
@@ -3176,15 +3177,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3176
3177
  kind: "correction_approved";
3177
3178
  correctionId: string;
3178
3179
  approvedBy: {
3179
- kind: "agent" | "human";
3180
- label: string;
3181
3180
  id: string;
3181
+ label: string;
3182
+ kind: "agent" | "human";
3182
3183
  };
3183
3184
  note?: string | undefined;
3184
3185
  evidence?: {
3185
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3186
- label: string;
3187
3186
  id: string;
3187
+ label: string;
3188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3189
  capture: "at_action" | "historical_lookup" | "fixture";
3189
3190
  locator?: string | undefined;
3190
3191
  }[] | undefined;
@@ -3194,9 +3195,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3194
3195
  correctionId: string;
3195
3196
  replacementDecisionId: string;
3196
3197
  evidence?: {
3197
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3198
- label: string;
3199
3198
  id: string;
3199
+ label: string;
3200
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3201
  capture: "at_action" | "historical_lookup" | "fixture";
3201
3202
  locator?: string | undefined;
3202
3203
  }[] | undefined;
@@ -3209,9 +3210,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3209
3210
  recallReceiptId: string;
3210
3211
  capturedAtAction: boolean;
3211
3212
  evidence?: {
3212
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3213
- label: string;
3214
3213
  id: string;
3214
+ label: string;
3215
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
3216
  capture: "at_action" | "historical_lookup" | "fixture";
3216
3217
  locator?: string | undefined;
3217
3218
  }[] | undefined;
@@ -3224,20 +3225,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3224
3225
  recallReceiptId: string;
3225
3226
  staleDecisionAbsent: boolean;
3226
3227
  evidence?: {
3227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3228
- label: string;
3229
3228
  id: string;
3229
+ label: string;
3230
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3231
  capture: "at_action" | "historical_lookup" | "fixture";
3231
3232
  locator?: string | undefined;
3232
3233
  }[] | undefined;
3233
3234
  } | {
3234
- kind: "mission_completed";
3235
3235
  summary: string;
3236
+ kind: "mission_completed";
3236
3237
  outcome: "failed" | "recovered" | "inconclusive";
3237
3238
  evidence?: {
3238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3239
- label: string;
3240
3239
  id: string;
3240
+ label: string;
3241
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3241
3242
  capture: "at_action" | "historical_lookup" | "fixture";
3242
3243
  locator?: string | undefined;
3243
3244
  }[] | undefined;
@@ -3267,15 +3268,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3267
3268
  locator: z.ZodOptional<z.ZodString>;
3268
3269
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3269
3270
  }, "strict", z.ZodTypeAny, {
3270
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3271
- label: string;
3272
3271
  id: string;
3272
+ label: string;
3273
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3273
3274
  capture: "at_action" | "historical_lookup" | "fixture";
3274
3275
  locator?: string | undefined;
3275
3276
  }, {
3276
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
- label: string;
3278
3277
  id: string;
3278
+ label: string;
3279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3279
3280
  capture: "at_action" | "historical_lookup" | "fixture";
3280
3281
  locator?: string | undefined;
3281
3282
  }>, "many">>;
@@ -3283,9 +3284,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3283
3284
  kind: "mission_started";
3284
3285
  title: string;
3285
3286
  evidence: {
3286
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3287
- label: string;
3288
3287
  id: string;
3288
+ label: string;
3289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3289
3290
  capture: "at_action" | "historical_lookup" | "fixture";
3290
3291
  locator?: string | undefined;
3291
3292
  }[];
@@ -3297,9 +3298,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3297
3298
  objective: string;
3298
3299
  runMode: "replay" | "fixture" | "live";
3299
3300
  evidence?: {
3300
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3301
- label: string;
3302
3301
  id: string;
3302
+ label: string;
3303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
3304
  capture: "at_action" | "historical_lookup" | "fixture";
3304
3305
  locator?: string | undefined;
3305
3306
  }[] | undefined;
@@ -3315,15 +3316,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3315
3316
  locator: z.ZodOptional<z.ZodString>;
3316
3317
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3317
3318
  }, "strict", z.ZodTypeAny, {
3318
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3319
- label: string;
3320
3319
  id: string;
3320
+ label: string;
3321
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3321
3322
  capture: "at_action" | "historical_lookup" | "fixture";
3322
3323
  locator?: string | undefined;
3323
3324
  }, {
3324
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3325
- label: string;
3326
3325
  id: string;
3326
+ label: string;
3327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3328
  capture: "at_action" | "historical_lookup" | "fixture";
3328
3329
  locator?: string | undefined;
3329
3330
  }>, "many">>;
@@ -3331,32 +3332,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3331
3332
  sessionId: z.ZodString;
3332
3333
  kind: z.ZodLiteral<"agent_status">;
3333
3334
  }, "strict", z.ZodTypeAny, {
3334
- kind: "agent_status";
3335
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3336
3335
  label: string;
3336
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3337
+ kind: "agent_status";
3337
3338
  role: string;
3338
3339
  agentId: string;
3339
3340
  sessionId: string;
3340
3341
  evidence: {
3341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
- label: string;
3343
3342
  id: string;
3343
+ label: string;
3344
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3345
  capture: "at_action" | "historical_lookup" | "fixture";
3345
3346
  locator?: string | undefined;
3346
3347
  }[];
3347
3348
  detail?: string | undefined;
3348
3349
  }, {
3349
- kind: "agent_status";
3350
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3351
3350
  label: string;
3351
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3352
+ kind: "agent_status";
3352
3353
  role: string;
3353
3354
  agentId: string;
3354
3355
  sessionId: string;
3355
3356
  detail?: string | undefined;
3356
3357
  evidence?: {
3357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
- label: string;
3359
3358
  id: string;
3359
+ label: string;
3360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3360
3361
  capture: "at_action" | "historical_lookup" | "fixture";
3361
3362
  locator?: string | undefined;
3362
3363
  }[] | undefined;
@@ -3370,15 +3371,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3370
3371
  locator: z.ZodOptional<z.ZodString>;
3371
3372
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3372
3373
  }, "strict", z.ZodTypeAny, {
3373
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
- label: string;
3375
3374
  id: string;
3375
+ label: string;
3376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3376
3377
  capture: "at_action" | "historical_lookup" | "fixture";
3377
3378
  locator?: string | undefined;
3378
3379
  }, {
3379
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3380
- label: string;
3381
3380
  id: string;
3381
+ label: string;
3382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3382
3383
  capture: "at_action" | "historical_lookup" | "fixture";
3383
3384
  locator?: string | undefined;
3384
3385
  }>, "many">>;
@@ -3386,28 +3387,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3386
3387
  sessionId: z.ZodString;
3387
3388
  kind: z.ZodLiteral<"agent_output">;
3388
3389
  }, "strict", z.ZodTypeAny, {
3389
- kind: "agent_output";
3390
3390
  summary: string;
3391
+ kind: "agent_output";
3391
3392
  agentId: string;
3392
3393
  sessionId: string;
3393
3394
  evidence: {
3394
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3395
- label: string;
3396
3395
  id: string;
3396
+ label: string;
3397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
3398
  capture: "at_action" | "historical_lookup" | "fixture";
3398
3399
  locator?: string | undefined;
3399
3400
  }[];
3400
3401
  outputId: string;
3401
3402
  }, {
3402
- kind: "agent_output";
3403
3403
  summary: string;
3404
+ kind: "agent_output";
3404
3405
  agentId: string;
3405
3406
  sessionId: string;
3406
3407
  outputId: string;
3407
3408
  evidence?: {
3408
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
- label: string;
3410
3409
  id: string;
3410
+ label: string;
3411
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3411
3412
  capture: "at_action" | "historical_lookup" | "fixture";
3412
3413
  locator?: string | undefined;
3413
3414
  }[] | undefined;
@@ -3423,15 +3424,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3423
3424
  locator: z.ZodOptional<z.ZodString>;
3424
3425
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3425
3426
  }, "strict", z.ZodTypeAny, {
3426
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3427
- label: string;
3428
3427
  id: string;
3428
+ label: string;
3429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3429
3430
  capture: "at_action" | "historical_lookup" | "fixture";
3430
3431
  locator?: string | undefined;
3431
3432
  }, {
3432
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3433
- label: string;
3434
3433
  id: string;
3434
+ label: string;
3435
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3435
3436
  capture: "at_action" | "historical_lookup" | "fixture";
3436
3437
  locator?: string | undefined;
3437
3438
  }>, "many">>;
@@ -3444,9 +3445,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3444
3445
  statement: string;
3445
3446
  sessionId: string;
3446
3447
  evidence: {
3447
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3448
- label: string;
3449
3448
  id: string;
3449
+ label: string;
3450
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3450
3451
  capture: "at_action" | "historical_lookup" | "fixture";
3451
3452
  locator?: string | undefined;
3452
3453
  }[];
@@ -3462,9 +3463,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3462
3463
  decisionId: string;
3463
3464
  confidence?: number | undefined;
3464
3465
  evidence?: {
3465
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3466
- label: string;
3467
3466
  id: string;
3467
+ label: string;
3468
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3468
3469
  capture: "at_action" | "historical_lookup" | "fixture";
3469
3470
  locator?: string | undefined;
3470
3471
  }[] | undefined;
@@ -3481,25 +3482,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3481
3482
  locator: z.ZodOptional<z.ZodString>;
3482
3483
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3483
3484
  }, "strict", z.ZodTypeAny, {
3484
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3485
- label: string;
3486
3485
  id: string;
3486
+ label: string;
3487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3487
3488
  capture: "at_action" | "historical_lookup" | "fixture";
3488
3489
  locator?: string | undefined;
3489
3490
  }, {
3490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
- label: string;
3492
3491
  id: string;
3492
+ label: string;
3493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3493
3494
  capture: "at_action" | "historical_lookup" | "fixture";
3494
3495
  locator?: string | undefined;
3495
3496
  }>, "many">>;
3496
3497
  }, "strict", z.ZodTypeAny, {
3497
- kind: "conflict_detected";
3498
3498
  summary: string;
3499
+ kind: "conflict_detected";
3499
3500
  evidence: {
3500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3501
- label: string;
3502
3501
  id: string;
3502
+ label: string;
3503
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
3504
  capture: "at_action" | "historical_lookup" | "fixture";
3504
3505
  locator?: string | undefined;
3505
3506
  }[];
@@ -3507,15 +3508,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3507
3508
  decisionIds: string[];
3508
3509
  agentIds: string[];
3509
3510
  }, {
3510
- kind: "conflict_detected";
3511
3511
  summary: string;
3512
+ kind: "conflict_detected";
3512
3513
  conflictId: string;
3513
3514
  decisionIds: string[];
3514
3515
  agentIds: string[];
3515
3516
  evidence?: {
3516
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3517
- label: string;
3518
3517
  id: string;
3518
+ label: string;
3519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3519
3520
  capture: "at_action" | "historical_lookup" | "fixture";
3520
3521
  locator?: string | undefined;
3521
3522
  }[] | undefined;
@@ -3535,27 +3536,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3535
3536
  locator: z.ZodOptional<z.ZodString>;
3536
3537
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3537
3538
  }, "strict", z.ZodTypeAny, {
3538
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3539
- label: string;
3540
3539
  id: string;
3540
+ label: string;
3541
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3541
3542
  capture: "at_action" | "historical_lookup" | "fixture";
3542
3543
  locator?: string | undefined;
3543
3544
  }, {
3544
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3545
- label: string;
3546
3545
  id: string;
3546
+ label: string;
3547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3547
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3548
3549
  locator?: string | undefined;
3549
3550
  }>, "many">>;
3550
3551
  }, "strict", z.ZodTypeAny, {
3551
- kind: "test_result";
3552
3552
  summary: string;
3553
3553
  status: "error" | "failed" | "passed";
3554
+ kind: "test_result";
3554
3555
  command: string;
3555
3556
  evidence: {
3556
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3557
- label: string;
3558
3557
  id: string;
3558
+ label: string;
3559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3560
  capture: "at_action" | "historical_lookup" | "fixture";
3560
3561
  locator?: string | undefined;
3561
3562
  }[];
@@ -3564,17 +3565,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3564
3565
  durationMs?: number | undefined;
3565
3566
  correctionId?: string | undefined;
3566
3567
  }, {
3567
- kind: "test_result";
3568
3568
  summary: string;
3569
3569
  status: "error" | "failed" | "passed";
3570
+ kind: "test_result";
3570
3571
  command: string;
3571
3572
  decisionId: string;
3572
3573
  testId: string;
3573
3574
  durationMs?: number | undefined;
3574
3575
  evidence?: {
3575
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3576
- label: string;
3577
3576
  id: string;
3577
+ label: string;
3578
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3578
3579
  capture: "at_action" | "historical_lookup" | "fixture";
3579
3580
  locator?: string | undefined;
3580
3581
  }[] | undefined;
@@ -3595,15 +3596,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3595
3596
  locator: z.ZodOptional<z.ZodString>;
3596
3597
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3597
3598
  }, "strict", z.ZodTypeAny, {
3598
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3599
- label: string;
3600
3599
  id: string;
3600
+ label: string;
3601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3601
3602
  capture: "at_action" | "historical_lookup" | "fixture";
3602
3603
  locator?: string | undefined;
3603
3604
  }, {
3604
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3605
- label: string;
3606
3605
  id: string;
3606
+ label: string;
3607
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3607
3608
  capture: "at_action" | "historical_lookup" | "fixture";
3608
3609
  locator?: string | undefined;
3609
3610
  }>, "many">>;
@@ -3612,9 +3613,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3612
3613
  rationale: string;
3613
3614
  statement: string;
3614
3615
  evidence: {
3615
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3616
- label: string;
3617
3616
  id: string;
3617
+ label: string;
3618
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3618
3619
  capture: "at_action" | "historical_lookup" | "fixture";
3619
3620
  locator?: string | undefined;
3620
3621
  }[];
@@ -3633,9 +3634,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3633
3634
  supersedesDecisionIds: string[];
3634
3635
  proposedBy: string;
3635
3636
  evidence?: {
3636
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
- label: string;
3638
3637
  id: string;
3638
+ label: string;
3639
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
3640
  capture: "at_action" | "historical_lookup" | "fixture";
3640
3641
  locator?: string | undefined;
3641
3642
  }[] | undefined;
@@ -3647,13 +3648,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3647
3648
  id: z.ZodString;
3648
3649
  label: z.ZodString;
3649
3650
  }, "strict", z.ZodTypeAny, {
3650
- kind: "agent" | "human";
3651
- label: string;
3652
3651
  id: string;
3653
- }, {
3654
- kind: "agent" | "human";
3655
3652
  label: string;
3653
+ kind: "agent" | "human";
3654
+ }, {
3656
3655
  id: string;
3656
+ label: string;
3657
+ kind: "agent" | "human";
3657
3658
  }>;
3658
3659
  note: z.ZodOptional<z.ZodString>;
3659
3660
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3663,47 +3664,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3663
3664
  locator: z.ZodOptional<z.ZodString>;
3664
3665
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3665
3666
  }, "strict", z.ZodTypeAny, {
3666
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
- label: string;
3668
3667
  id: string;
3668
+ label: string;
3669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3670
  capture: "at_action" | "historical_lookup" | "fixture";
3670
3671
  locator?: string | undefined;
3671
3672
  }, {
3672
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
- label: string;
3674
3673
  id: string;
3674
+ label: string;
3675
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
3676
  capture: "at_action" | "historical_lookup" | "fixture";
3676
3677
  locator?: string | undefined;
3677
3678
  }>, "many">>;
3678
3679
  }, "strict", z.ZodTypeAny, {
3679
3680
  kind: "correction_approved";
3680
3681
  evidence: {
3681
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3682
- label: string;
3683
3682
  id: string;
3683
+ label: string;
3684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3684
3685
  capture: "at_action" | "historical_lookup" | "fixture";
3685
3686
  locator?: string | undefined;
3686
3687
  }[];
3687
3688
  correctionId: string;
3688
3689
  approvedBy: {
3689
- kind: "agent" | "human";
3690
- label: string;
3691
3690
  id: string;
3691
+ label: string;
3692
+ kind: "agent" | "human";
3692
3693
  };
3693
3694
  note?: string | undefined;
3694
3695
  }, {
3695
3696
  kind: "correction_approved";
3696
3697
  correctionId: string;
3697
3698
  approvedBy: {
3698
- kind: "agent" | "human";
3699
- label: string;
3700
3699
  id: string;
3700
+ label: string;
3701
+ kind: "agent" | "human";
3701
3702
  };
3702
3703
  note?: string | undefined;
3703
3704
  evidence?: {
3704
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3705
- label: string;
3706
3705
  id: string;
3706
+ label: string;
3707
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3707
3708
  capture: "at_action" | "historical_lookup" | "fixture";
3708
3709
  locator?: string | undefined;
3709
3710
  }[] | undefined;
@@ -3719,24 +3720,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3719
3720
  locator: z.ZodOptional<z.ZodString>;
3720
3721
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3721
3722
  }, "strict", z.ZodTypeAny, {
3722
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3723
- label: string;
3724
3723
  id: string;
3724
+ label: string;
3725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3725
3726
  capture: "at_action" | "historical_lookup" | "fixture";
3726
3727
  locator?: string | undefined;
3727
3728
  }, {
3728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3729
- label: string;
3730
3729
  id: string;
3730
+ label: string;
3731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3731
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3732
3733
  locator?: string | undefined;
3733
3734
  }>, "many">>;
3734
3735
  }, "strict", z.ZodTypeAny, {
3735
3736
  kind: "decision_superseded";
3736
3737
  evidence: {
3737
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
- label: string;
3739
3738
  id: string;
3739
+ label: string;
3740
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
3741
  capture: "at_action" | "historical_lookup" | "fixture";
3741
3742
  locator?: string | undefined;
3742
3743
  }[];
@@ -3749,9 +3750,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3749
3750
  correctionId: string;
3750
3751
  replacementDecisionId: string;
3751
3752
  evidence?: {
3752
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3753
- label: string;
3754
3753
  id: string;
3754
+ label: string;
3755
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
3756
  capture: "at_action" | "historical_lookup" | "fixture";
3756
3757
  locator?: string | undefined;
3757
3758
  }[] | undefined;
@@ -3767,15 +3768,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3767
3768
  locator: z.ZodOptional<z.ZodString>;
3768
3769
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3769
3770
  }, "strict", z.ZodTypeAny, {
3770
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3771
- label: string;
3772
3771
  id: string;
3772
+ label: string;
3773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3774
  capture: "at_action" | "historical_lookup" | "fixture";
3774
3775
  locator?: string | undefined;
3775
3776
  }, {
3776
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
- label: string;
3778
3777
  id: string;
3778
+ label: string;
3779
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3780
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3781
  locator?: string | undefined;
3781
3782
  }>, "many">>;
@@ -3788,9 +3789,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3788
3789
  agentId: string;
3789
3790
  sessionId: string;
3790
3791
  evidence: {
3791
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
- label: string;
3793
3792
  id: string;
3793
+ label: string;
3794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
3795
  capture: "at_action" | "historical_lookup" | "fixture";
3795
3796
  locator?: string | undefined;
3796
3797
  }[];
@@ -3806,9 +3807,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3806
3807
  recallReceiptId: string;
3807
3808
  capturedAtAction: boolean;
3808
3809
  evidence?: {
3809
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3810
- label: string;
3811
3810
  id: string;
3811
+ label: string;
3812
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
3813
  capture: "at_action" | "historical_lookup" | "fixture";
3813
3814
  locator?: string | undefined;
3814
3815
  }[] | undefined;
@@ -3824,15 +3825,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3824
3825
  locator: z.ZodOptional<z.ZodString>;
3825
3826
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3826
3827
  }, "strict", z.ZodTypeAny, {
3827
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3828
- label: string;
3829
3828
  id: string;
3829
+ label: string;
3830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3830
3831
  capture: "at_action" | "historical_lookup" | "fixture";
3831
3832
  locator?: string | undefined;
3832
3833
  }, {
3833
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
- label: string;
3835
3834
  id: string;
3835
+ label: string;
3836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3838
  locator?: string | undefined;
3838
3839
  }>, "many">>;
@@ -3844,9 +3845,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3844
3845
  agentId: string;
3845
3846
  sessionId: string;
3846
3847
  evidence: {
3847
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3848
- label: string;
3849
3848
  id: string;
3849
+ label: string;
3850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3850
3851
  capture: "at_action" | "historical_lookup" | "fixture";
3851
3852
  locator?: string | undefined;
3852
3853
  }[];
@@ -3863,9 +3864,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3863
3864
  recallReceiptId: string;
3864
3865
  staleDecisionAbsent: boolean;
3865
3866
  evidence?: {
3866
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3867
- label: string;
3868
3867
  id: string;
3868
+ label: string;
3869
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
3870
  capture: "at_action" | "historical_lookup" | "fixture";
3870
3871
  locator?: string | undefined;
3871
3872
  }[] | undefined;
@@ -3880,37 +3881,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3880
3881
  locator: z.ZodOptional<z.ZodString>;
3881
3882
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3882
3883
  }, "strict", z.ZodTypeAny, {
3883
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3884
- label: string;
3885
3884
  id: string;
3885
+ label: string;
3886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3887
3888
  locator?: string | undefined;
3888
3889
  }, {
3889
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3890
- label: string;
3891
3890
  id: string;
3891
+ label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3893
3894
  locator?: string | undefined;
3894
3895
  }>, "many">>;
3895
3896
  }, "strict", z.ZodTypeAny, {
3896
- kind: "mission_completed";
3897
3897
  summary: string;
3898
+ kind: "mission_completed";
3898
3899
  outcome: "failed" | "recovered" | "inconclusive";
3899
3900
  evidence: {
3900
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
- label: string;
3902
3901
  id: string;
3902
+ label: string;
3903
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3904
  capture: "at_action" | "historical_lookup" | "fixture";
3904
3905
  locator?: string | undefined;
3905
3906
  }[];
3906
3907
  }, {
3907
- kind: "mission_completed";
3908
3908
  summary: string;
3909
+ kind: "mission_completed";
3909
3910
  outcome: "failed" | "recovered" | "inconclusive";
3910
3911
  evidence?: {
3911
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3912
- label: string;
3913
3912
  id: string;
3913
+ label: string;
3914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3914
3915
  capture: "at_action" | "historical_lookup" | "fixture";
3915
3916
  locator?: string | undefined;
3916
3917
  }[] | undefined;
@@ -3918,38 +3919,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3918
3919
  kind: "mission_started";
3919
3920
  title: string;
3920
3921
  evidence: {
3921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
- label: string;
3923
3922
  id: string;
3923
+ label: string;
3924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3924
3925
  capture: "at_action" | "historical_lookup" | "fixture";
3925
3926
  locator?: string | undefined;
3926
3927
  }[];
3927
3928
  objective: string;
3928
3929
  runMode: "replay" | "fixture" | "live";
3929
3930
  } | {
3930
- kind: "agent_status";
3931
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3932
3931
  label: string;
3932
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3933
+ kind: "agent_status";
3933
3934
  role: string;
3934
3935
  agentId: string;
3935
3936
  sessionId: string;
3936
3937
  evidence: {
3937
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3938
- label: string;
3939
3938
  id: string;
3939
+ label: string;
3940
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
3941
  capture: "at_action" | "historical_lookup" | "fixture";
3941
3942
  locator?: string | undefined;
3942
3943
  }[];
3943
3944
  detail?: string | undefined;
3944
3945
  } | {
3945
- kind: "agent_output";
3946
3946
  summary: string;
3947
+ kind: "agent_output";
3947
3948
  agentId: string;
3948
3949
  sessionId: string;
3949
3950
  evidence: {
3950
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
- label: string;
3952
3951
  id: string;
3952
+ label: string;
3953
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
3954
  capture: "at_action" | "historical_lookup" | "fixture";
3954
3955
  locator?: string | undefined;
3955
3956
  }[];
@@ -3960,9 +3961,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3960
3961
  statement: string;
3961
3962
  sessionId: string;
3962
3963
  evidence: {
3963
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3964
- label: string;
3965
3964
  id: string;
3965
+ label: string;
3966
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3967
  capture: "at_action" | "historical_lookup" | "fixture";
3967
3968
  locator?: string | undefined;
3968
3969
  }[];
@@ -3970,12 +3971,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3970
3971
  decisionId: string;
3971
3972
  confidence?: number | undefined;
3972
3973
  } | {
3973
- kind: "conflict_detected";
3974
3974
  summary: string;
3975
+ kind: "conflict_detected";
3975
3976
  evidence: {
3976
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
- label: string;
3978
3977
  id: string;
3978
+ label: string;
3979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
3980
  capture: "at_action" | "historical_lookup" | "fixture";
3980
3981
  locator?: string | undefined;
3981
3982
  }[];
@@ -3983,14 +3984,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3983
3984
  decisionIds: string[];
3984
3985
  agentIds: string[];
3985
3986
  } | {
3986
- kind: "test_result";
3987
3987
  summary: string;
3988
3988
  status: "error" | "failed" | "passed";
3989
+ kind: "test_result";
3989
3990
  command: string;
3990
3991
  evidence: {
3991
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3992
- label: string;
3993
3992
  id: string;
3993
+ label: string;
3994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3994
3995
  capture: "at_action" | "historical_lookup" | "fixture";
3995
3996
  locator?: string | undefined;
3996
3997
  }[];
@@ -4003,9 +4004,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4003
4004
  rationale: string;
4004
4005
  statement: string;
4005
4006
  evidence: {
4006
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4007
- label: string;
4008
4007
  id: string;
4008
+ label: string;
4009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4009
4010
  capture: "at_action" | "historical_lookup" | "fixture";
4010
4011
  locator?: string | undefined;
4011
4012
  }[];
@@ -4017,25 +4018,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4017
4018
  } | {
4018
4019
  kind: "correction_approved";
4019
4020
  evidence: {
4020
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4021
- label: string;
4022
4021
  id: string;
4022
+ label: string;
4023
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
4024
  capture: "at_action" | "historical_lookup" | "fixture";
4024
4025
  locator?: string | undefined;
4025
4026
  }[];
4026
4027
  correctionId: string;
4027
4028
  approvedBy: {
4028
- kind: "agent" | "human";
4029
- label: string;
4030
4029
  id: string;
4030
+ label: string;
4031
+ kind: "agent" | "human";
4031
4032
  };
4032
4033
  note?: string | undefined;
4033
4034
  } | {
4034
4035
  kind: "decision_superseded";
4035
4036
  evidence: {
4036
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4037
- label: string;
4038
4037
  id: string;
4038
+ label: string;
4039
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4039
4040
  capture: "at_action" | "historical_lookup" | "fixture";
4040
4041
  locator?: string | undefined;
4041
4042
  }[];
@@ -4048,9 +4049,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4048
4049
  agentId: string;
4049
4050
  sessionId: string;
4050
4051
  evidence: {
4051
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4052
- label: string;
4053
4052
  id: string;
4053
+ label: string;
4054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4054
4055
  capture: "at_action" | "historical_lookup" | "fixture";
4055
4056
  locator?: string | undefined;
4056
4057
  }[];
@@ -4062,9 +4063,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4062
4063
  agentId: string;
4063
4064
  sessionId: string;
4064
4065
  evidence: {
4065
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4066
- label: string;
4067
4066
  id: string;
4067
+ label: string;
4068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4068
4069
  capture: "at_action" | "historical_lookup" | "fixture";
4069
4070
  locator?: string | undefined;
4070
4071
  }[];
@@ -4073,13 +4074,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4073
4074
  recallReceiptId: string;
4074
4075
  staleDecisionAbsent: boolean;
4075
4076
  } | {
4076
- kind: "mission_completed";
4077
4077
  summary: string;
4078
+ kind: "mission_completed";
4078
4079
  outcome: "failed" | "recovered" | "inconclusive";
4079
4080
  evidence: {
4080
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
- label: string;
4082
4081
  id: string;
4082
+ label: string;
4083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4083
4084
  capture: "at_action" | "historical_lookup" | "fixture";
4084
4085
  locator?: string | undefined;
4085
4086
  }[];
@@ -4089,37 +4090,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4089
4090
  objective: string;
4090
4091
  runMode: "replay" | "fixture" | "live";
4091
4092
  evidence?: {
4092
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4093
- label: string;
4094
4093
  id: string;
4094
+ label: string;
4095
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4095
4096
  capture: "at_action" | "historical_lookup" | "fixture";
4096
4097
  locator?: string | undefined;
4097
4098
  }[] | undefined;
4098
4099
  } | {
4099
- kind: "agent_status";
4100
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4101
4100
  label: string;
4101
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4102
+ kind: "agent_status";
4102
4103
  role: string;
4103
4104
  agentId: string;
4104
4105
  sessionId: string;
4105
4106
  detail?: string | undefined;
4106
4107
  evidence?: {
4107
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4108
- label: string;
4109
4108
  id: string;
4109
+ label: string;
4110
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4110
4111
  capture: "at_action" | "historical_lookup" | "fixture";
4111
4112
  locator?: string | undefined;
4112
4113
  }[] | undefined;
4113
4114
  } | {
4114
- kind: "agent_output";
4115
4115
  summary: string;
4116
+ kind: "agent_output";
4116
4117
  agentId: string;
4117
4118
  sessionId: string;
4118
4119
  outputId: string;
4119
4120
  evidence?: {
4120
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
- label: string;
4122
4121
  id: string;
4122
+ label: string;
4123
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4124
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4125
  locator?: string | undefined;
4125
4126
  }[] | undefined;
@@ -4132,37 +4133,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4132
4133
  decisionId: string;
4133
4134
  confidence?: number | undefined;
4134
4135
  evidence?: {
4135
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4136
- label: string;
4137
4136
  id: string;
4137
+ label: string;
4138
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4139
  capture: "at_action" | "historical_lookup" | "fixture";
4139
4140
  locator?: string | undefined;
4140
4141
  }[] | undefined;
4141
4142
  } | {
4142
- kind: "conflict_detected";
4143
4143
  summary: string;
4144
+ kind: "conflict_detected";
4144
4145
  conflictId: string;
4145
4146
  decisionIds: string[];
4146
4147
  agentIds: string[];
4147
4148
  evidence?: {
4148
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4149
- label: string;
4150
4149
  id: string;
4150
+ label: string;
4151
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4151
4152
  capture: "at_action" | "historical_lookup" | "fixture";
4152
4153
  locator?: string | undefined;
4153
4154
  }[] | undefined;
4154
4155
  } | {
4155
- kind: "test_result";
4156
4156
  summary: string;
4157
4157
  status: "error" | "failed" | "passed";
4158
+ kind: "test_result";
4158
4159
  command: string;
4159
4160
  decisionId: string;
4160
4161
  testId: string;
4161
4162
  durationMs?: number | undefined;
4162
4163
  evidence?: {
4163
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4164
- label: string;
4165
4164
  id: string;
4165
+ label: string;
4166
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4166
4167
  capture: "at_action" | "historical_lookup" | "fixture";
4167
4168
  locator?: string | undefined;
4168
4169
  }[] | undefined;
@@ -4177,9 +4178,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4177
4178
  supersedesDecisionIds: string[];
4178
4179
  proposedBy: string;
4179
4180
  evidence?: {
4180
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4181
- label: string;
4182
4181
  id: string;
4182
+ label: string;
4183
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4183
4184
  capture: "at_action" | "historical_lookup" | "fixture";
4184
4185
  locator?: string | undefined;
4185
4186
  }[] | undefined;
@@ -4187,15 +4188,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4187
4188
  kind: "correction_approved";
4188
4189
  correctionId: string;
4189
4190
  approvedBy: {
4190
- kind: "agent" | "human";
4191
- label: string;
4192
4191
  id: string;
4192
+ label: string;
4193
+ kind: "agent" | "human";
4193
4194
  };
4194
4195
  note?: string | undefined;
4195
4196
  evidence?: {
4196
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4197
- label: string;
4198
4197
  id: string;
4198
+ label: string;
4199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4199
4200
  capture: "at_action" | "historical_lookup" | "fixture";
4200
4201
  locator?: string | undefined;
4201
4202
  }[] | undefined;
@@ -4205,9 +4206,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4205
4206
  correctionId: string;
4206
4207
  replacementDecisionId: string;
4207
4208
  evidence?: {
4208
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4209
- label: string;
4210
4209
  id: string;
4210
+ label: string;
4211
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4211
4212
  capture: "at_action" | "historical_lookup" | "fixture";
4212
4213
  locator?: string | undefined;
4213
4214
  }[] | undefined;
@@ -4220,9 +4221,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4220
4221
  recallReceiptId: string;
4221
4222
  capturedAtAction: boolean;
4222
4223
  evidence?: {
4223
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4224
- label: string;
4225
4224
  id: string;
4225
+ label: string;
4226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4226
4227
  capture: "at_action" | "historical_lookup" | "fixture";
4227
4228
  locator?: string | undefined;
4228
4229
  }[] | undefined;
@@ -4235,63 +4236,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4235
4236
  recallReceiptId: string;
4236
4237
  staleDecisionAbsent: boolean;
4237
4238
  evidence?: {
4238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4239
- label: string;
4240
4239
  id: string;
4240
+ label: string;
4241
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
4242
  capture: "at_action" | "historical_lookup" | "fixture";
4242
4243
  locator?: string | undefined;
4243
4244
  }[] | undefined;
4244
4245
  } | {
4245
- kind: "mission_completed";
4246
4246
  summary: string;
4247
+ kind: "mission_completed";
4247
4248
  outcome: "failed" | "recovered" | "inconclusive";
4248
4249
  evidence?: {
4249
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4250
- label: string;
4251
4250
  id: string;
4251
+ label: string;
4252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4252
4253
  capture: "at_action" | "historical_lookup" | "fixture";
4253
4254
  locator?: string | undefined;
4254
4255
  }[] | undefined;
4255
4256
  }>;
4256
4257
  }, "strict", z.ZodTypeAny, {
4257
- schemaVersion: "1";
4258
+ namespace: string;
4258
4259
  recordedAt: string;
4260
+ schemaVersion: "1";
4259
4261
  payload: {
4260
4262
  kind: "mission_started";
4261
4263
  title: string;
4262
4264
  evidence: {
4263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
- label: string;
4265
4265
  id: string;
4266
+ label: string;
4267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4266
4268
  capture: "at_action" | "historical_lookup" | "fixture";
4267
4269
  locator?: string | undefined;
4268
4270
  }[];
4269
4271
  objective: string;
4270
4272
  runMode: "replay" | "fixture" | "live";
4271
4273
  } | {
4272
- kind: "agent_status";
4273
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4274
4274
  label: string;
4275
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4276
+ kind: "agent_status";
4275
4277
  role: string;
4276
4278
  agentId: string;
4277
4279
  sessionId: string;
4278
4280
  evidence: {
4279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4280
- label: string;
4281
4281
  id: string;
4282
+ label: string;
4283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4282
4284
  capture: "at_action" | "historical_lookup" | "fixture";
4283
4285
  locator?: string | undefined;
4284
4286
  }[];
4285
4287
  detail?: string | undefined;
4286
4288
  } | {
4287
- kind: "agent_output";
4288
4289
  summary: string;
4290
+ kind: "agent_output";
4289
4291
  agentId: string;
4290
4292
  sessionId: string;
4291
4293
  evidence: {
4292
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4293
- label: string;
4294
4294
  id: string;
4295
+ label: string;
4296
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4295
4297
  capture: "at_action" | "historical_lookup" | "fixture";
4296
4298
  locator?: string | undefined;
4297
4299
  }[];
@@ -4302,9 +4304,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4302
4304
  statement: string;
4303
4305
  sessionId: string;
4304
4306
  evidence: {
4305
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
- label: string;
4307
4307
  id: string;
4308
+ label: string;
4309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4308
4310
  capture: "at_action" | "historical_lookup" | "fixture";
4309
4311
  locator?: string | undefined;
4310
4312
  }[];
@@ -4312,12 +4314,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4314
  decisionId: string;
4313
4315
  confidence?: number | undefined;
4314
4316
  } | {
4315
- kind: "conflict_detected";
4316
4317
  summary: string;
4318
+ kind: "conflict_detected";
4317
4319
  evidence: {
4318
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4319
- label: string;
4320
4320
  id: string;
4321
+ label: string;
4322
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4321
4323
  capture: "at_action" | "historical_lookup" | "fixture";
4322
4324
  locator?: string | undefined;
4323
4325
  }[];
@@ -4325,14 +4327,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4325
4327
  decisionIds: string[];
4326
4328
  agentIds: string[];
4327
4329
  } | {
4328
- kind: "test_result";
4329
4330
  summary: string;
4330
4331
  status: "error" | "failed" | "passed";
4332
+ kind: "test_result";
4331
4333
  command: string;
4332
4334
  evidence: {
4333
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4334
- label: string;
4335
4335
  id: string;
4336
+ label: string;
4337
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4336
4338
  capture: "at_action" | "historical_lookup" | "fixture";
4337
4339
  locator?: string | undefined;
4338
4340
  }[];
@@ -4345,9 +4347,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4345
4347
  rationale: string;
4346
4348
  statement: string;
4347
4349
  evidence: {
4348
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4349
- label: string;
4350
4350
  id: string;
4351
+ label: string;
4352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4351
4353
  capture: "at_action" | "historical_lookup" | "fixture";
4352
4354
  locator?: string | undefined;
4353
4355
  }[];
@@ -4359,25 +4361,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4359
4361
  } | {
4360
4362
  kind: "correction_approved";
4361
4363
  evidence: {
4362
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4363
- label: string;
4364
4364
  id: string;
4365
+ label: string;
4366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4365
4367
  capture: "at_action" | "historical_lookup" | "fixture";
4366
4368
  locator?: string | undefined;
4367
4369
  }[];
4368
4370
  correctionId: string;
4369
4371
  approvedBy: {
4370
- kind: "agent" | "human";
4371
- label: string;
4372
4372
  id: string;
4373
+ label: string;
4374
+ kind: "agent" | "human";
4373
4375
  };
4374
4376
  note?: string | undefined;
4375
4377
  } | {
4376
4378
  kind: "decision_superseded";
4377
4379
  evidence: {
4378
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4379
- label: string;
4380
4380
  id: string;
4381
+ label: string;
4382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4381
4383
  capture: "at_action" | "historical_lookup" | "fixture";
4382
4384
  locator?: string | undefined;
4383
4385
  }[];
@@ -4390,9 +4392,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4390
4392
  agentId: string;
4391
4393
  sessionId: string;
4392
4394
  evidence: {
4393
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4394
- label: string;
4395
4395
  id: string;
4396
+ label: string;
4397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4396
4398
  capture: "at_action" | "historical_lookup" | "fixture";
4397
4399
  locator?: string | undefined;
4398
4400
  }[];
@@ -4404,9 +4406,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4404
4406
  agentId: string;
4405
4407
  sessionId: string;
4406
4408
  evidence: {
4407
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4408
- label: string;
4409
4409
  id: string;
4410
+ label: string;
4411
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4410
4412
  capture: "at_action" | "historical_lookup" | "fixture";
4411
4413
  locator?: string | undefined;
4412
4414
  }[];
@@ -4415,63 +4417,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4415
4417
  recallReceiptId: string;
4416
4418
  staleDecisionAbsent: boolean;
4417
4419
  } | {
4418
- kind: "mission_completed";
4419
4420
  summary: string;
4421
+ kind: "mission_completed";
4420
4422
  outcome: "failed" | "recovered" | "inconclusive";
4421
4423
  evidence: {
4422
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4423
- label: string;
4424
4424
  id: string;
4425
+ label: string;
4426
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4425
4427
  capture: "at_action" | "historical_lookup" | "fixture";
4426
4428
  locator?: string | undefined;
4427
4429
  }[];
4428
4430
  };
4429
- namespace: string;
4430
4431
  eventId: string;
4431
4432
  occurredAt: string;
4432
4433
  missionId: string;
4433
4434
  authenticatedPrincipal?: string | undefined;
4434
4435
  idempotencyKey?: string | undefined;
4435
4436
  }, {
4436
- schemaVersion: "1";
4437
+ namespace: string;
4437
4438
  recordedAt: string;
4439
+ schemaVersion: "1";
4438
4440
  payload: {
4439
4441
  kind: "mission_started";
4440
4442
  title: string;
4441
4443
  objective: string;
4442
4444
  runMode: "replay" | "fixture" | "live";
4443
4445
  evidence?: {
4444
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
- label: string;
4446
4446
  id: string;
4447
+ label: string;
4448
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4447
4449
  capture: "at_action" | "historical_lookup" | "fixture";
4448
4450
  locator?: string | undefined;
4449
4451
  }[] | undefined;
4450
4452
  } | {
4451
- kind: "agent_status";
4452
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4453
4453
  label: string;
4454
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4455
+ kind: "agent_status";
4454
4456
  role: string;
4455
4457
  agentId: string;
4456
4458
  sessionId: string;
4457
4459
  detail?: string | undefined;
4458
4460
  evidence?: {
4459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
- label: string;
4461
4461
  id: string;
4462
+ label: string;
4463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
4464
  capture: "at_action" | "historical_lookup" | "fixture";
4463
4465
  locator?: string | undefined;
4464
4466
  }[] | undefined;
4465
4467
  } | {
4466
- kind: "agent_output";
4467
4468
  summary: string;
4469
+ kind: "agent_output";
4468
4470
  agentId: string;
4469
4471
  sessionId: string;
4470
4472
  outputId: string;
4471
4473
  evidence?: {
4472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
- label: string;
4474
4474
  id: string;
4475
+ label: string;
4476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4477
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4478
  locator?: string | undefined;
4477
4479
  }[] | undefined;
@@ -4484,37 +4486,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4484
4486
  decisionId: string;
4485
4487
  confidence?: number | undefined;
4486
4488
  evidence?: {
4487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
- label: string;
4489
4489
  id: string;
4490
+ label: string;
4491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4492
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4493
  locator?: string | undefined;
4492
4494
  }[] | undefined;
4493
4495
  } | {
4494
- kind: "conflict_detected";
4495
4496
  summary: string;
4497
+ kind: "conflict_detected";
4496
4498
  conflictId: string;
4497
4499
  decisionIds: string[];
4498
4500
  agentIds: string[];
4499
4501
  evidence?: {
4500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
- label: string;
4502
4502
  id: string;
4503
+ label: string;
4504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4503
4505
  capture: "at_action" | "historical_lookup" | "fixture";
4504
4506
  locator?: string | undefined;
4505
4507
  }[] | undefined;
4506
4508
  } | {
4507
- kind: "test_result";
4508
4509
  summary: string;
4509
4510
  status: "error" | "failed" | "passed";
4511
+ kind: "test_result";
4510
4512
  command: string;
4511
4513
  decisionId: string;
4512
4514
  testId: string;
4513
4515
  durationMs?: number | undefined;
4514
4516
  evidence?: {
4515
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
- label: string;
4517
4517
  id: string;
4518
+ label: string;
4519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4518
4520
  capture: "at_action" | "historical_lookup" | "fixture";
4519
4521
  locator?: string | undefined;
4520
4522
  }[] | undefined;
@@ -4529,9 +4531,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4529
4531
  supersedesDecisionIds: string[];
4530
4532
  proposedBy: string;
4531
4533
  evidence?: {
4532
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4533
- label: string;
4534
4534
  id: string;
4535
+ label: string;
4536
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4535
4537
  capture: "at_action" | "historical_lookup" | "fixture";
4536
4538
  locator?: string | undefined;
4537
4539
  }[] | undefined;
@@ -4539,15 +4541,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4539
4541
  kind: "correction_approved";
4540
4542
  correctionId: string;
4541
4543
  approvedBy: {
4542
- kind: "agent" | "human";
4543
- label: string;
4544
4544
  id: string;
4545
+ label: string;
4546
+ kind: "agent" | "human";
4545
4547
  };
4546
4548
  note?: string | undefined;
4547
4549
  evidence?: {
4548
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
- label: string;
4550
4550
  id: string;
4551
+ label: string;
4552
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4551
4553
  capture: "at_action" | "historical_lookup" | "fixture";
4552
4554
  locator?: string | undefined;
4553
4555
  }[] | undefined;
@@ -4557,9 +4559,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4557
4559
  correctionId: string;
4558
4560
  replacementDecisionId: string;
4559
4561
  evidence?: {
4560
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4561
- label: string;
4562
4562
  id: string;
4563
+ label: string;
4564
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4563
4565
  capture: "at_action" | "historical_lookup" | "fixture";
4564
4566
  locator?: string | undefined;
4565
4567
  }[] | undefined;
@@ -4572,9 +4574,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4572
4574
  recallReceiptId: string;
4573
4575
  capturedAtAction: boolean;
4574
4576
  evidence?: {
4575
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
- label: string;
4577
4577
  id: string;
4578
+ label: string;
4579
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4578
4580
  capture: "at_action" | "historical_lookup" | "fixture";
4579
4581
  locator?: string | undefined;
4580
4582
  }[] | undefined;
@@ -4587,25 +4589,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4587
4589
  recallReceiptId: string;
4588
4590
  staleDecisionAbsent: boolean;
4589
4591
  evidence?: {
4590
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
- label: string;
4592
4592
  id: string;
4593
+ label: string;
4594
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4593
4595
  capture: "at_action" | "historical_lookup" | "fixture";
4594
4596
  locator?: string | undefined;
4595
4597
  }[] | undefined;
4596
4598
  } | {
4597
- kind: "mission_completed";
4598
4599
  summary: string;
4600
+ kind: "mission_completed";
4599
4601
  outcome: "failed" | "recovered" | "inconclusive";
4600
4602
  evidence?: {
4601
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4602
- label: string;
4603
4603
  id: string;
4604
+ label: string;
4605
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4604
4606
  capture: "at_action" | "historical_lookup" | "fixture";
4605
4607
  locator?: string | undefined;
4606
4608
  }[] | undefined;
4607
4609
  };
4608
- namespace: string;
4609
4610
  eventId: string;
4610
4611
  occurredAt: string;
4611
4612
  missionId: string;
@@ -7226,7 +7227,10 @@ declare function composeMeetingEpisodeContent(record: MeetingRecord): string;
7226
7227
  /**
7227
7228
  * Write the deterministic episode memory for one meeting. Idempotent: skips
7228
7229
  * when an identical episode already exists. Returns true when a new episode was
7229
- * written. The episode is `active` (a recall anchor, not a trust-gated claim).
7230
+ * written. The episode is `active` (a recall anchor, not a trust-gated claim)
7231
+ * UNLESS its provider-derived title is itself a personal claim — that title
7232
+ * comes from the same ambient audio the summary layer already guards, so it
7233
+ * gets the same treatment rather than riding in on the anchor (#2294).
7230
7234
  */
7231
7235
  declare function writeMeetingEpisodeMemory(record: MeetingRecord, writer: MeetingMemoryWriter): Promise<boolean>;
7232
7236
  /** Write one deterministic episode per record, idempotently. */