@remnic/core 9.23.3 → 9.24.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 (377) hide show
  1. package/dist/access-admin-ops-surface.d.ts +13 -10
  2. package/dist/access-admin-ops-surface.js +50 -46
  3. package/dist/access-boundary.d.ts +13 -10
  4. package/dist/access-boundary.js +50 -46
  5. package/dist/access-cli.js +125 -122
  6. package/dist/access-cli.js.map +1 -1
  7. package/dist/access-health-types.d.ts +54 -0
  8. package/dist/access-health-types.js +1 -0
  9. package/dist/access-health-types.js.map +1 -0
  10. package/dist/access-http.d.ts +14 -11
  11. package/dist/access-http.js +59 -55
  12. package/dist/access-identity-continuity-surface.d.ts +9 -8
  13. package/dist/access-identity-continuity-surface.js +50 -46
  14. package/dist/access-lcm-surface.d.ts +13 -10
  15. package/dist/access-lcm-surface.js +50 -46
  16. package/dist/access-mcp.d.ts +13 -10
  17. package/dist/access-mcp.js +55 -51
  18. package/dist/access-memory-search-fanout.d.ts +3 -2
  19. package/dist/{access-namespace-preflight-CmErR03h.d.ts → access-namespace-preflight-wRSZEO5V.d.ts} +1 -1
  20. package/dist/access-namespace-preflight.d.ts +4 -3
  21. package/dist/access-namespace-preflight.js +50 -46
  22. package/dist/access-observe-write-surface.d.ts +13 -10
  23. package/dist/access-observe-write-surface.js +50 -46
  24. package/dist/access-operations-batch.js +52 -48
  25. package/dist/access-operations.d.ts +17 -14
  26. package/dist/access-operations.js +54 -50
  27. package/dist/access-recall-concurrency.d.ts +13 -10
  28. package/dist/access-recall-concurrency.js +50 -46
  29. package/dist/access-recall-response.d.ts +13 -10
  30. package/dist/access-recall-response.js +50 -46
  31. package/dist/access-recall-surface.d.ts +13 -10
  32. package/dist/access-recall-surface.js +50 -46
  33. package/dist/access-schema.d.ts +86 -86
  34. package/dist/access-schema.js +8 -8
  35. package/dist/{access-service-CKEROeFP.d.ts → access-service-BlNKWBC9.d.ts} +11 -38
  36. package/dist/access-service.d.ts +15 -12
  37. package/dist/access-service.js +50 -46
  38. package/dist/access-surface-catalog.d.ts +13 -10
  39. package/dist/access-wearables-meetings-surface.d.ts +4 -3
  40. package/dist/action-confidence.d.ts +2 -1
  41. package/dist/active-memory-bridge.d.ts +2 -1
  42. package/dist/active-recall.d.ts +2 -1
  43. package/dist/active-recall.js +3 -2
  44. package/dist/active-recall.js.map +1 -1
  45. package/dist/adapters/index.js +4 -4
  46. package/dist/adapters/registry.js +2 -2
  47. package/dist/behavior-learner.d.ts +2 -1
  48. package/dist/behavior-signals.d.ts +2 -1
  49. package/dist/bootstrap.d.ts +9 -8
  50. package/dist/briefing.d.ts +3 -2
  51. package/dist/briefing.js +14 -14
  52. package/dist/buffer-surprise-report.d.ts +2 -1
  53. package/dist/buffer.d.ts +6 -2
  54. package/dist/buffer.js +1 -1
  55. package/dist/bulk-import/index.d.ts +4 -3
  56. package/dist/calibration.d.ts +2 -1
  57. package/dist/capabilities.d.ts +2 -1
  58. package/dist/{catalog-BFTVo2Ez.d.ts → catalog-BLLxZ5L5.d.ts} +1 -1
  59. package/dist/causal-behavior.d.ts +2 -1
  60. package/dist/causal-consolidation.d.ts +2 -1
  61. package/dist/causal-consolidation.js +15 -15
  62. package/dist/causal-trajectory-graph.d.ts +2 -1
  63. package/dist/{chunk-P2BLHUL2.js → chunk-2NAFR36N.js} +5 -5
  64. package/dist/{chunk-WMLHJ5UW.js → chunk-2WSX7U2N.js} +2 -2
  65. package/dist/{chunk-E3ZMFFQZ.js → chunk-3FLPLDIL.js} +2 -2
  66. package/dist/chunk-443XCR34.js +213 -0
  67. package/dist/chunk-443XCR34.js.map +1 -0
  68. package/dist/{chunk-JNIJBXVK.js → chunk-4KAIGQVU.js} +2 -2
  69. package/dist/{chunk-354T54RR.js → chunk-4TFIRMTE.js} +28 -1
  70. package/dist/chunk-4TFIRMTE.js.map +1 -0
  71. package/dist/{chunk-XWPFZX6S.js → chunk-7CP7SO32.js} +108 -37
  72. package/dist/chunk-7CP7SO32.js.map +1 -0
  73. package/dist/{chunk-XGEFGNL5.js → chunk-7IECFM4E.js} +18 -10
  74. package/dist/chunk-7IECFM4E.js.map +1 -0
  75. package/dist/{chunk-ZN4UZWMT.js → chunk-A5N6ISRK.js} +2 -2
  76. package/dist/{chunk-XKGPIWGI.js → chunk-AVPXXV6J.js} +4 -4
  77. package/dist/{chunk-4PQ4KLLK.js → chunk-BHKDCWGH.js} +9 -9
  78. package/dist/{chunk-5CPI2QWG.js → chunk-CSXHRAJJ.js} +3 -3
  79. package/dist/{chunk-QCKQEBIY.js → chunk-DFTCJVXI.js} +6 -6
  80. package/dist/{chunk-QE63OHLB.js → chunk-ECG64R7B.js} +5 -5
  81. package/dist/{chunk-ATEAL5EI.js → chunk-EFYACT2X.js} +2 -2
  82. package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
  83. package/dist/{chunk-UGH6VPPO.js → chunk-FHH6R3QI.js} +2 -2
  84. package/dist/{chunk-WZVIB5BK.js → chunk-GCKIDUHE.js} +69 -53
  85. package/dist/chunk-GCKIDUHE.js.map +1 -0
  86. package/dist/{chunk-MAXVH44E.js → chunk-GF22HWS2.js} +10 -10
  87. package/dist/{chunk-ZYU7ZFLT.js → chunk-GJJBPI6I.js} +5 -1
  88. package/dist/chunk-GJJBPI6I.js.map +1 -0
  89. package/dist/{chunk-AU7Q3LSC.js → chunk-JBPKEARU.js} +4 -4
  90. package/dist/{chunk-IPLYGWQF.js → chunk-KQAFEZQX.js} +5 -5
  91. package/dist/{chunk-CUUY5CC4.js → chunk-L7DTBRTI.js} +2 -2
  92. package/dist/{chunk-AYAROCWD.js → chunk-LLISELSY.js} +2 -2
  93. package/dist/{chunk-MMTG3SCJ.js → chunk-M5EPMNS4.js} +2 -2
  94. package/dist/{chunk-HSSIWAZP.js → chunk-M6ZJR6HU.js} +140 -124
  95. package/dist/{chunk-HSSIWAZP.js.map → chunk-M6ZJR6HU.js.map} +1 -1
  96. package/dist/{chunk-WWZ35GWW.js → chunk-MX4TUDMB.js} +2 -2
  97. package/dist/{chunk-SVZGA2MK.js → chunk-NHPROHJD.js} +2 -2
  98. package/dist/{chunk-6TWXQ4E2.js → chunk-NM7SKDZM.js} +2 -2
  99. package/dist/chunk-NQ7E27HN.js +261 -0
  100. package/dist/chunk-NQ7E27HN.js.map +1 -0
  101. package/dist/{chunk-QJAQNXWI.js → chunk-ONHRRJZM.js} +6 -6
  102. package/dist/{chunk-V2XVMCP6.js → chunk-P25IPRXP.js} +7 -7
  103. package/dist/{chunk-KXGE7L62.js → chunk-RENY3AIW.js} +67 -67
  104. package/dist/chunk-RENY3AIW.js.map +1 -0
  105. package/dist/{chunk-3L5O7SMT.js → chunk-SGMORUEU.js} +3 -3
  106. package/dist/{chunk-3ZW6ZQO6.js → chunk-TBJV4BZE.js} +13 -13
  107. package/dist/{chunk-7I7AYIUQ.js → chunk-TGHUJC64.js} +5 -5
  108. package/dist/{chunk-SCOT5DTA.js → chunk-V25OWXAC.js} +1 -1
  109. package/dist/chunk-V25OWXAC.js.map +1 -0
  110. package/dist/{chunk-DLKRXYRL.js → chunk-V4MAO2Y4.js} +15 -15
  111. package/dist/{chunk-5FZQ74K5.js → chunk-WMR5WPZU.js} +2 -2
  112. package/dist/{chunk-M6LJXJ3J.js → chunk-WNSQOXWS.js} +6 -6
  113. package/dist/{chunk-KNB7IBBU.js → chunk-WO7KBATL.js} +4 -4
  114. package/dist/{chunk-3NAHZQU3.js → chunk-X3SQYAPP.js} +2 -2
  115. package/dist/{chunk-3UOSVTFR.js → chunk-XBRPEGXF.js} +5 -5
  116. package/dist/{chunk-GD3QOBMB.js → chunk-XHYCPA5C.js} +2 -2
  117. package/dist/{chunk-ES5IHQ6M.js → chunk-Z3B4V4YI.js} +5 -5
  118. package/dist/chunk-ZLNOX7B2.js +60 -0
  119. package/dist/chunk-ZLNOX7B2.js.map +1 -0
  120. package/dist/{cli-BrwT9YMD.d.ts → cli-Zc6UclD1.d.ts} +5 -5
  121. package/dist/cli.d.ts +15 -12
  122. package/dist/cli.js +85 -82
  123. package/dist/compounding/engine.d.ts +3 -2
  124. package/dist/compounding/engine.js +14 -14
  125. package/dist/compounding/preference-consolidator.d.ts +2 -1
  126. package/dist/compression-optimizer.d.ts +2 -1
  127. package/dist/config.d.ts +2 -1
  128. package/dist/config.js +3 -2
  129. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  130. package/dist/connectors/codex-materialize-runner.js +14 -14
  131. package/dist/connectors/codex-materialize.d.ts +2 -1
  132. package/dist/connectors/index.d.ts +2 -1
  133. package/dist/connectors/index.js +17 -17
  134. package/dist/consolidation-provenance-check.d.ts +3 -2
  135. package/dist/consolidation-undo.d.ts +3 -2
  136. package/dist/contradiction/index.d.ts +3 -2
  137. package/dist/conversation-index/backend.d.ts +2 -1
  138. package/dist/conversation-index/chunker.d.ts +2 -1
  139. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  140. package/dist/conversation-index/indexer.d.ts +2 -1
  141. package/dist/conversation-index/search.d.ts +2 -1
  142. package/dist/corpus-watermark.d.ts +228 -0
  143. package/dist/corpus-watermark.js +106 -0
  144. package/dist/corpus-watermark.js.map +1 -0
  145. package/dist/dashboard-runtime.js +2 -2
  146. package/dist/day-summary.d.ts +2 -1
  147. package/dist/delinearize.d.ts +2 -1
  148. package/dist/direct-answer-wiring.d.ts +2 -1
  149. package/dist/direct-answer.d.ts +2 -1
  150. package/dist/embedding-fallback.d.ts +2 -1
  151. package/dist/enrichment/index.d.ts +2 -1
  152. package/dist/entity-retrieval.d.ts +3 -2
  153. package/dist/entity-retrieval.js +14 -14
  154. package/dist/entity-schema.d.ts +2 -1
  155. package/dist/explicit-capture.d.ts +9 -8
  156. package/dist/extraction-error-classification.d.ts +2 -1
  157. package/dist/extraction-faithfulness.d.ts +2 -1
  158. package/dist/extraction-judge-telemetry.d.ts +2 -1
  159. package/dist/extraction-judge-training.d.ts +2 -1
  160. package/dist/extraction-judge.d.ts +2 -1
  161. package/dist/extraction-liveness.d.ts +5 -0
  162. package/dist/extraction-liveness.js +26 -0
  163. package/dist/extraction-liveness.js.map +1 -0
  164. package/dist/extraction.d.ts +2 -1
  165. package/dist/extraction.js +1 -1
  166. package/dist/fallback-llm.d.ts +2 -1
  167. package/dist/graph-dashboard-diff.d.ts +2 -1
  168. package/dist/graph-dashboard-key.d.ts +2 -1
  169. package/dist/graph-dashboard-parser.d.ts +2 -1
  170. package/dist/graph-edge-reinforcement.d.ts +2 -1
  171. package/dist/graph-snapshot.d.ts +2 -1
  172. package/dist/graph.d.ts +2 -1
  173. package/dist/importance.d.ts +2 -1
  174. package/dist/importers/index.d.ts +2 -1
  175. package/dist/in-flight-reads.d.ts +2 -1
  176. package/dist/index.d.ts +427 -424
  177. package/dist/index.js +212 -209
  178. package/dist/intent.d.ts +2 -1
  179. package/dist/lcm/engine.d.ts +2 -1
  180. package/dist/lcm/engine.js +4 -4
  181. package/dist/lcm/index.d.ts +2 -1
  182. package/dist/lcm/index.js +12 -12
  183. package/dist/lcm/tools.d.ts +2 -1
  184. package/dist/lifecycle.d.ts +2 -1
  185. package/dist/live-connectors-runner.d.ts +2 -1
  186. package/dist/local-llm.d.ts +2 -1
  187. package/dist/local-model-endpoint.d.ts +2 -1
  188. package/dist/maintenance/memory-governance.d.ts +2 -1
  189. package/dist/maintenance/memory-governance.js +14 -14
  190. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  191. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
  192. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  193. package/dist/maintenance/rebuild-memory-projection.js +15 -15
  194. package/dist/{maintenance-C98njYb8.d.ts → maintenance-DD22oIx9.d.ts} +3 -3
  195. package/dist/mcp-memory-inspector-app.d.ts +13 -10
  196. package/dist/memory-action-policy.d.ts +2 -1
  197. package/dist/memory-cache.d.ts +2 -1
  198. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  199. package/dist/memory-projection-store.d.ts +2 -1
  200. package/dist/memory-provenance.d.ts +2 -1
  201. package/dist/memory-worth-outcomes.d.ts +3 -2
  202. package/dist/models-json.d.ts +2 -1
  203. package/dist/namespaces/migrate.d.ts +4 -3
  204. package/dist/namespaces/migrate.js +21 -21
  205. package/dist/namespaces/principal.d.ts +2 -1
  206. package/dist/namespaces/search.d.ts +2 -1
  207. package/dist/namespaces/search.js +6 -6
  208. package/dist/namespaces/storage.d.ts +4 -3
  209. package/dist/namespaces/storage.js +14 -14
  210. package/dist/native-knowledge.d.ts +2 -1
  211. package/dist/offline-sync-impression-drain.d.ts +2 -1
  212. package/dist/offline-sync-impression-drain.js +4 -4
  213. package/dist/operator-doctor-corpus.d.ts +31 -0
  214. package/dist/operator-doctor-corpus.js +91 -0
  215. package/dist/operator-doctor-corpus.js.map +1 -0
  216. package/dist/operator-doctor-types.d.ts +22 -0
  217. package/dist/operator-doctor-types.js +1 -0
  218. package/dist/operator-doctor-types.js.map +1 -0
  219. package/dist/operator-toolkit.d.ts +10 -13
  220. package/dist/operator-toolkit.js +35 -29
  221. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  222. package/dist/orchestration/maintenance.d.ts +5 -4
  223. package/dist/orchestration/maintenance.js +20 -20
  224. package/dist/{orchestrator-C9ZVppNh.d.ts → orchestrator-BTGgoKli.d.ts} +7 -7
  225. package/dist/orchestrator.d.ts +9 -8
  226. package/dist/orchestrator.js +123 -120
  227. package/dist/patterns-cli.d.ts +2 -1
  228. package/dist/{pipeline-id_-sqYm.d.ts → pipeline-Bq5zU6Bp.d.ts} +1 -1
  229. package/dist/policy-runtime.d.ts +2 -1
  230. package/dist/proactive-contention.d.ts +2 -1
  231. package/dist/provenance.d.ts +2 -1
  232. package/dist/{qmd-R6XaQOZK.d.ts → qmd-3ILJkC70.d.ts} +1 -1
  233. package/dist/qmd-preflight.d.ts +3 -2
  234. package/dist/qmd-recall-cache.d.ts +2 -1
  235. package/dist/qmd.d.ts +3 -2
  236. package/dist/qmd.js +4 -4
  237. package/dist/recall-concurrency-config.d.ts +2 -1
  238. package/dist/recall-disclosure-escalation.d.ts +2 -1
  239. package/dist/recall-explain-renderer.d.ts +2 -1
  240. package/dist/recall-explain-renderer.js +3 -3
  241. package/dist/recall-memory-map.d.ts +2 -1
  242. package/dist/recall-planner-llm.d.ts +2 -1
  243. package/dist/recall-state.d.ts +2 -1
  244. package/dist/recall-tag-filter.d.ts +2 -1
  245. package/dist/recall-timings.d.ts +2 -1
  246. package/dist/recall-xray-cli.d.ts +2 -1
  247. package/dist/recall-xray-cli.js +4 -4
  248. package/dist/recall-xray-renderer.d.ts +2 -1
  249. package/dist/recall-xray-renderer.js +3 -3
  250. package/dist/recall-xray.d.ts +2 -1
  251. package/dist/recall-xray.js +2 -2
  252. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  253. package/dist/replay/normalizers/claude.d.ts +2 -1
  254. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  255. package/dist/replay/normalizers/shared.d.ts +2 -1
  256. package/dist/replay/runner.d.ts +2 -1
  257. package/dist/replay/types.d.ts +2 -1
  258. package/dist/resolve-auth-token.d.ts +2 -1
  259. package/dist/resume-bundles.js +5 -4
  260. package/dist/retrieval-agents.d.ts +3 -2
  261. package/dist/retrieval-tiers.d.ts +2 -1
  262. package/dist/routing/engine.d.ts +2 -1
  263. package/dist/routing/store.d.ts +2 -1
  264. package/dist/salvage-envelope.d.ts +2 -1
  265. package/dist/schemas.d.ts +76 -76
  266. package/dist/{scope-profiles-EhyuAKkd.d.ts → scope-profiles-D0-ff4xT.d.ts} +1 -1
  267. package/dist/search/embed-helper.d.ts +2 -1
  268. package/dist/search/factory.d.ts +2 -1
  269. package/dist/search/factory.js +5 -5
  270. package/dist/search/index.d.ts +2 -1
  271. package/dist/search/index.js +9 -9
  272. package/dist/search/lancedb-backend.d.ts +2 -1
  273. package/dist/search/meilisearch-backend.d.ts +2 -1
  274. package/dist/search/noop-backend.d.ts +2 -1
  275. package/dist/search/orama-backend.d.ts +2 -1
  276. package/dist/search/port.d.ts +2 -1
  277. package/dist/search/remote-backend.d.ts +2 -1
  278. package/dist/{semantic-consolidation-B2xo26UQ.d.ts → semantic-consolidation-4Tfh7c1g.d.ts} +1 -1
  279. package/dist/semantic-consolidation.d.ts +3 -2
  280. package/dist/semantic-consolidation.js +15 -15
  281. package/dist/semantic-rule-promotion.js +14 -14
  282. package/dist/semantic-rule-verifier.d.ts +2 -1
  283. package/dist/semantic-rule-verifier.js +14 -14
  284. package/dist/{service-DgFWlZ-r.d.ts → service-Z8uzoAST.d.ts} +2 -2
  285. package/dist/session-observer-bands.d.ts +2 -1
  286. package/dist/session-observer-state.d.ts +2 -1
  287. package/dist/shared-context/manager.d.ts +10 -9
  288. package/dist/signal.d.ts +2 -1
  289. package/dist/{storage-XGawwqXE.d.ts → storage-BZVMn8yJ.d.ts} +25 -2
  290. package/dist/storage.d.ts +3 -2
  291. package/dist/storage.js +13 -13
  292. package/dist/summarizer.d.ts +2 -1
  293. package/dist/summary-snapshot.d.ts +2 -1
  294. package/dist/temporal-supersession.d.ts +3 -2
  295. package/dist/temporal-timeline-recall.d.ts +2 -1
  296. package/dist/temporal-validity.d.ts +2 -1
  297. package/dist/threading.d.ts +2 -1
  298. package/dist/tier-migration.d.ts +3 -2
  299. package/dist/tier-routing.d.ts +2 -1
  300. package/dist/tokens.js +2 -2
  301. package/dist/topics.d.ts +2 -1
  302. package/dist/transcript.d.ts +2 -1
  303. package/dist/transfer/autodetect.js +1 -1
  304. package/dist/transfer/backup.js +3 -3
  305. package/dist/transfer/capsule-export.js +4 -4
  306. package/dist/transfer/capsule-import.js +1 -1
  307. package/dist/transfer/types.d.ts +66 -66
  308. package/dist/trust-score-stage.d.ts +2 -1
  309. package/dist/trust-score.d.ts +2 -1
  310. package/dist/{types-Bbs0qz6b.d.ts → types-DHBxIF0s.d.ts} +181 -5
  311. package/dist/types.d.ts +2 -1
  312. package/dist/types.js +1 -1
  313. package/dist/utility-runtime.d.ts +2 -1
  314. package/dist/verified-recall.js +14 -14
  315. package/dist/write-envelope.d.ts +2 -1
  316. package/package.json +12 -2
  317. package/src/access-health-types.ts +51 -0
  318. package/src/access-http.test.ts +22 -2
  319. package/src/access-service-health.test.ts +212 -0
  320. package/src/access-service.ts +14 -37
  321. package/src/buffer.ts +30 -0
  322. package/src/cli.ts +2 -4
  323. package/src/config.ts +4 -4
  324. package/src/corpus-watermark.test.ts +840 -0
  325. package/src/corpus-watermark.ts +531 -0
  326. package/src/extraction-liveness.test.ts +461 -0
  327. package/src/extraction-liveness.ts +462 -0
  328. package/src/operator-doctor-corpus.test.ts +171 -0
  329. package/src/operator-doctor-corpus.ts +95 -0
  330. package/src/operator-doctor-types.ts +20 -0
  331. package/src/operator-toolkit.ts +12 -13
  332. package/src/recall/archive-scoring.ts +18 -0
  333. package/src/storage/memory-read-store.ts +91 -22
  334. package/src/storage.ts +27 -2
  335. package/src/types.ts +4 -4
  336. package/dist/chunk-354T54RR.js.map +0 -1
  337. package/dist/chunk-KXGE7L62.js.map +0 -1
  338. package/dist/chunk-SCOT5DTA.js.map +0 -1
  339. package/dist/chunk-WZVIB5BK.js.map +0 -1
  340. package/dist/chunk-XGEFGNL5.js.map +0 -1
  341. package/dist/chunk-XWPFZX6S.js.map +0 -1
  342. package/dist/chunk-ZYU7ZFLT.js.map +0 -1
  343. /package/dist/{chunk-P2BLHUL2.js.map → chunk-2NAFR36N.js.map} +0 -0
  344. /package/dist/{chunk-WMLHJ5UW.js.map → chunk-2WSX7U2N.js.map} +0 -0
  345. /package/dist/{chunk-E3ZMFFQZ.js.map → chunk-3FLPLDIL.js.map} +0 -0
  346. /package/dist/{chunk-JNIJBXVK.js.map → chunk-4KAIGQVU.js.map} +0 -0
  347. /package/dist/{chunk-ZN4UZWMT.js.map → chunk-A5N6ISRK.js.map} +0 -0
  348. /package/dist/{chunk-XKGPIWGI.js.map → chunk-AVPXXV6J.js.map} +0 -0
  349. /package/dist/{chunk-4PQ4KLLK.js.map → chunk-BHKDCWGH.js.map} +0 -0
  350. /package/dist/{chunk-5CPI2QWG.js.map → chunk-CSXHRAJJ.js.map} +0 -0
  351. /package/dist/{chunk-QCKQEBIY.js.map → chunk-DFTCJVXI.js.map} +0 -0
  352. /package/dist/{chunk-QE63OHLB.js.map → chunk-ECG64R7B.js.map} +0 -0
  353. /package/dist/{chunk-ATEAL5EI.js.map → chunk-EFYACT2X.js.map} +0 -0
  354. /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
  355. /package/dist/{chunk-UGH6VPPO.js.map → chunk-FHH6R3QI.js.map} +0 -0
  356. /package/dist/{chunk-MAXVH44E.js.map → chunk-GF22HWS2.js.map} +0 -0
  357. /package/dist/{chunk-AU7Q3LSC.js.map → chunk-JBPKEARU.js.map} +0 -0
  358. /package/dist/{chunk-IPLYGWQF.js.map → chunk-KQAFEZQX.js.map} +0 -0
  359. /package/dist/{chunk-CUUY5CC4.js.map → chunk-L7DTBRTI.js.map} +0 -0
  360. /package/dist/{chunk-AYAROCWD.js.map → chunk-LLISELSY.js.map} +0 -0
  361. /package/dist/{chunk-MMTG3SCJ.js.map → chunk-M5EPMNS4.js.map} +0 -0
  362. /package/dist/{chunk-WWZ35GWW.js.map → chunk-MX4TUDMB.js.map} +0 -0
  363. /package/dist/{chunk-SVZGA2MK.js.map → chunk-NHPROHJD.js.map} +0 -0
  364. /package/dist/{chunk-6TWXQ4E2.js.map → chunk-NM7SKDZM.js.map} +0 -0
  365. /package/dist/{chunk-QJAQNXWI.js.map → chunk-ONHRRJZM.js.map} +0 -0
  366. /package/dist/{chunk-V2XVMCP6.js.map → chunk-P25IPRXP.js.map} +0 -0
  367. /package/dist/{chunk-3L5O7SMT.js.map → chunk-SGMORUEU.js.map} +0 -0
  368. /package/dist/{chunk-3ZW6ZQO6.js.map → chunk-TBJV4BZE.js.map} +0 -0
  369. /package/dist/{chunk-7I7AYIUQ.js.map → chunk-TGHUJC64.js.map} +0 -0
  370. /package/dist/{chunk-DLKRXYRL.js.map → chunk-V4MAO2Y4.js.map} +0 -0
  371. /package/dist/{chunk-5FZQ74K5.js.map → chunk-WMR5WPZU.js.map} +0 -0
  372. /package/dist/{chunk-M6LJXJ3J.js.map → chunk-WNSQOXWS.js.map} +0 -0
  373. /package/dist/{chunk-KNB7IBBU.js.map → chunk-WO7KBATL.js.map} +0 -0
  374. /package/dist/{chunk-3NAHZQU3.js.map → chunk-X3SQYAPP.js.map} +0 -0
  375. /package/dist/{chunk-3UOSVTFR.js.map → chunk-XBRPEGXF.js.map} +0 -0
  376. /package/dist/{chunk-GD3QOBMB.js.map → chunk-XHYCPA5C.js.map} +0 -0
  377. /package/dist/{chunk-ES5IHQ6M.js.map → chunk-Z3B4V4YI.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
2
2
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
3
3
  export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
5
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-C9ZVppNh.js';
5
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BTGgoKli.js';
6
6
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
7
7
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
8
8
  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';
@@ -12,8 +12,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
12
12
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
13
13
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
14
14
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
15
- import { S as StorageManager, a as MeetingRecordStore } from './storage-XGawwqXE.js';
16
- 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-XGawwqXE.js';
15
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-BZVMn8yJ.js';
16
+ 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-BZVMn8yJ.js';
17
17
  import { SealedMemoryEnvelope } from './write-envelope.js';
18
18
  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';
19
19
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -22,13 +22,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
22
22
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
23
23
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
24
24
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
25
- import { b1 as CodingContext, b7 as CodingModeConfig, a_ as FusionConversationInput, b8 as FusedSpeaker, b9 as FusedSegment, ba as FusedDisagreement, bb as FusionOptions, aN as WearableConversation, bc as FusionDayResult, P as PluginConfig, bd as CodingKnowledgeConfig, w as MemoryCategory, be as WearableCleanupSettings, bf as WearableFusionConfig, aO as WearableSourceSettings, aS as WearablesConfig, aR as WearableSourceConnector, aW as WearableCorrectionRule, bg as WearableDayTranscriptMeta, aV as WearableDayTranscript, au as ActivitySnapshot, bh as ActivityDayMeta, bi as ActivityDayDigest, ax as ActivitySourceClient, bj as ActivitySourceCheck, bk as ActivitySnapshotPage, av as ActivityConfig, J as ExtractionResult, x as MemoryStatus, ah as ImportanceScore, bl as MeetingsDetectionConfig, aZ as MeetingsDetectionInput, b0 as DetectedMeeting, aY as MeetingsConfig, aB as MeetingRecord, bm as MeetingAudioWindow, bn as MeetingAppSpan } from './types-Bbs0qz6b.js';
26
- export { bo as ActivityExtractionMode, aw as ActivitySourceConfig, a6 as AgentAccessAuthToken, k as BriefingActiveThread, bp as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, bq as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, br as BriefingWindow, a0 as BufferSurpriseEvent, bs as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, bt as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, bu as CodexCompatConfig, b6 as ConsolidationObservation, bv as DEFAULT_RECALL_DISCLOSURE, bw as DisagreementKind, E as EntityFile, ag as EntityStructuredSection, bx as ExtractedFact, by as FusedContribution, bz as FusedConversationProvenance, aA as FusedDayFile, az as FusedDayMeta, aD as FusedMeeting, bA as FusedSegmentProvenance, ay as FusedWearableConversation, bB as FusionSegmentInput, G as GatewayConfig, bC as ImportSourceRole, a1 as ImportTurn, bD as ImportTurnValidationIssue, a$ as MeetingActivitySnapshot, aX as MeetingBuildInput, aC as MeetingDetectionSource, bE as MeetingScreenContextEvent, bF as MeetingSummaryMode, aj as MemoryActionEligibilityContext, bG as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, bH as MemoryObservation, bI as MemoryScope, bJ as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, bK as SegmentPickReason, bL as WearableAuthCheck, bM as WearableFetchOptions, bN as WearableFetchPage, aQ as WearableMemoryMode, aP as WearableNativeMemory, bO as WearableNativeMemoryPage, aU as WearableSourceStatus, aT as WearableSyncSummary, bP as WearableTranscriptSegment, bQ as isImportRole, bR as isRecallDisclosure, bS as parseIsoTimestamp, bT as validateImportTurn } from './types-Bbs0qz6b.js';
25
+ import { b5 as CodingContext, bb as CodingModeConfig, b2 as FusionConversationInput, bc as FusedSpeaker, bd as FusedSegment, be as FusedDisagreement, bf as FusionOptions, aR as WearableConversation, bg as FusionDayResult, P as PluginConfig, bh as CodingKnowledgeConfig, t as MemoryCategory, bi as WearableCleanupSettings, bj as WearableFusionConfig, aS as WearableSourceSettings, aW as WearablesConfig, aV as WearableSourceConnector, a_ as WearableCorrectionRule, bk as WearableDayTranscriptMeta, aZ as WearableDayTranscript, ay as ActivitySnapshot, bl as ActivityDayMeta, bm as ActivityDayDigest, aB as ActivitySourceClient, bn as ActivitySourceCheck, bo as ActivitySnapshotPage, az as ActivityConfig, x as ExtractionResult, u as MemoryStatus, aj as ImportanceScore, bp as MeetingsDetectionConfig, b1 as MeetingsDetectionInput, b4 as DetectedMeeting, b0 as MeetingsConfig, aF as MeetingRecord, bq as MeetingAudioWindow, br as MeetingAppSpan } from './types-DHBxIF0s.js';
26
+ export { bs as ActivityExtractionMode, aA as ActivitySourceConfig, a8 as AgentAccessAuthToken, g as BriefingActiveThread, bt as BriefingConfig, e as BriefingFocus, d as BriefingFollowup, bu as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bv as BriefingWindow, a2 as BufferSurpriseEvent, bw as BulkImportError, a4 as BulkImportOptions, a6 as BulkImportResult, a5 as BulkImportSource, bx as BulkImportSourceAdapter, f as CalendarEvent, C as CalendarSource, by as CodexCompatConfig, ba as ConsolidationObservation, bz as DEFAULT_RECALL_DISCLOSURE, bA as DisagreementKind, E as EntityFile, ai as EntityStructuredSection, bB as ExtractedFact, bC as FusedContribution, bD as FusedConversationProvenance, aE as FusedDayFile, aD as FusedDayMeta, aH as FusedMeeting, bE as FusedSegmentProvenance, aC as FusedWearableConversation, bF as FusionSegmentInput, G as GatewayConfig, bG as ImportSourceRole, a3 as ImportTurn, bH as ImportTurnValidationIssue, b3 as MeetingActivitySnapshot, a$ as MeetingBuildInput, aG as MeetingDetectionSource, bI as MeetingScreenContextEvent, bJ as MeetingSummaryMode, al as MemoryActionEligibilityContext, bK as MemoryActionEligibilitySource, ac as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bL as MemoryObservation, bM as MemoryScope, bN as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a7 as SecretRef, bO as SegmentPickReason, bP as WearableAuthCheck, bQ as WearableFetchOptions, bR as WearableFetchPage, aU as WearableMemoryMode, aT as WearableNativeMemory, bS as WearableNativeMemoryPage, aY as WearableSourceStatus, aX as WearableSyncSummary, bT as WearableTranscriptSegment, bU as isImportRole, bV as isRecallDisclosure, bW as parseIsoTimestamp, bX as validateImportTurn } from './types-DHBxIF0s.js';
27
27
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
28
28
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
29
29
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
30
- import { F as EngramAccessService } from './access-service-CKEROeFP.js';
31
- export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-CKEROeFP.js';
30
+ import { z as EngramAccessService } from './access-service-BlNKWBC9.js';
31
+ export { P as ProcedureStatsConfigSnapshot, B as ProcedureStatsRecent, F as ProcedureStatsReport, G as ProcedureStatusCounts, H as computeProcedureStats, I as formatProcedureStatsText } from './access-service-BlNKWBC9.js';
32
32
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
33
33
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
34
34
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -36,13 +36,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
36
36
  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';
37
37
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
38
38
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
39
- export { Q as QmdClient } from './qmd-R6XaQOZK.js';
39
+ export { Q as QmdClient } from './qmd-3ILJkC70.js';
40
40
  export { LanceDbBackend } from './search/lancedb-backend.js';
41
41
  export { OramaBackend } from './search/orama-backend.js';
42
42
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
43
43
  export { buildEntityRecallSection } from './entity-retrieval.js';
44
44
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
45
- 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-BFTVo2Ez.js';
45
+ 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-BLLxZ5L5.js';
46
46
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
47
47
  export { storagePathHash } from './storage-paths.js';
48
48
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -70,8 +70,8 @@ export { initLogger, log } from './logger.js';
70
70
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
71
71
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
72
72
  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_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
73
- import { D as DiscoveredExtension } from './semantic-consolidation-B2xo26UQ.js';
74
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-B2xo26UQ.js';
73
+ import { D as DiscoveredExtension } from './semantic-consolidation-4Tfh7c1g.js';
74
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-4Tfh7c1g.js';
75
75
  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';
76
76
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
77
77
  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';
@@ -86,12 +86,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
86
86
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
87
87
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
88
88
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
89
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-id_-sqYm.js';
90
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BrwT9YMD.js';
91
- 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-DgFWlZ-r.js';
92
- 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-DgFWlZ-r.js';
93
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-C98njYb8.js';
94
- 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-C98njYb8.js';
89
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-Bq5zU6Bp.js';
90
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-Zc6UclD1.js';
91
+ 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-Z8uzoAST.js';
92
+ 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-Z8uzoAST.js';
93
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DD22oIx9.js';
94
+ 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-DD22oIx9.js';
95
95
  import { SearchExecutionOptions } from './search/port.js';
96
96
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
97
97
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -113,6 +113,7 @@ export { EngramAccessInputError } from './access-errors.js';
113
113
  export { expandTildePath } from './utils/path.js';
114
114
  export { normalizeAttributePairs } from './structured-attributes.js';
115
115
  import './bounded-jsonl-state.js';
116
+ import './operator-doctor-types.js';
116
117
  import './recall-state.js';
117
118
  import './utils/serialize-mutations.js';
118
119
  import './extraction-faithfulness.js';
@@ -150,7 +151,7 @@ import './faiss-adapter-BHecI1fF.js';
150
151
  import './runtime/child-process.js';
151
152
  import './namespaces/storage.js';
152
153
  import './threading.js';
153
- import './scope-profiles-EhyuAKkd.js';
154
+ import './scope-profiles-D0-ff4xT.js';
154
155
  import './graph.js';
155
156
  import './relevance.js';
156
157
  import './negative.js';
@@ -167,9 +168,12 @@ import './policy-runtime.js';
167
168
  import './profiling.js';
168
169
  import './schemas.js';
169
170
  import './extraction-error-classification.js';
170
- import './access-namespace-preflight-CmErR03h.js';
171
+ import './access-namespace-preflight-wRSZEO5V.js';
171
172
  import './recall-explain-renderer.js';
172
173
  import './access-citation.js';
174
+ import './access-health-types.js';
175
+ import './corpus-watermark.js';
176
+ import 'node:async_hooks';
173
177
  import './explicit-capture.js';
174
178
  import './access-wearables-meetings-surface.js';
175
179
  import './graph-snapshot.js';
@@ -181,7 +185,6 @@ import 'node:http';
181
185
  import './adapters/types.js';
182
186
  import './adapters/registry.js';
183
187
  import './recall-audit.js';
184
- import 'node:async_hooks';
185
188
  import 'node:stream';
186
189
  import './maintenance/migrate-observations.js';
187
190
  import './maintenance/rebuild-memory-projection.js';
@@ -868,15 +871,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
868
871
  locator: z.ZodOptional<z.ZodString>;
869
872
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
870
873
  }, "strict", z.ZodTypeAny, {
871
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
872
874
  id: string;
873
875
  label: string;
876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
874
877
  capture: "at_action" | "historical_lookup" | "fixture";
875
878
  locator?: string | undefined;
876
879
  }, {
877
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
878
880
  id: string;
879
881
  label: string;
882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
880
883
  capture: "at_action" | "historical_lookup" | "fixture";
881
884
  locator?: string | undefined;
882
885
  }>;
@@ -893,15 +896,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
893
896
  locator: z.ZodOptional<z.ZodString>;
894
897
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
895
898
  }, "strict", z.ZodTypeAny, {
896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
897
899
  id: string;
898
900
  label: string;
901
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
899
902
  capture: "at_action" | "historical_lookup" | "fixture";
900
903
  locator?: string | undefined;
901
904
  }, {
902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
903
905
  id: string;
904
906
  label: string;
907
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
905
908
  capture: "at_action" | "historical_lookup" | "fixture";
906
909
  locator?: string | undefined;
907
910
  }>, "many">>;
@@ -909,9 +912,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
909
912
  kind: "mission_started";
910
913
  title: string;
911
914
  evidence: {
912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
913
915
  id: string;
914
916
  label: string;
917
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
915
918
  capture: "at_action" | "historical_lookup" | "fixture";
916
919
  locator?: string | undefined;
917
920
  }[];
@@ -923,9 +926,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
923
926
  objective: string;
924
927
  runMode: "replay" | "fixture" | "live";
925
928
  evidence?: {
926
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
927
929
  id: string;
928
930
  label: string;
931
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
929
932
  capture: "at_action" | "historical_lookup" | "fixture";
930
933
  locator?: string | undefined;
931
934
  }[] | undefined;
@@ -941,15 +944,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
941
944
  locator: z.ZodOptional<z.ZodString>;
942
945
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
943
946
  }, "strict", z.ZodTypeAny, {
944
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
945
947
  id: string;
946
948
  label: string;
949
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
947
950
  capture: "at_action" | "historical_lookup" | "fixture";
948
951
  locator?: string | undefined;
949
952
  }, {
950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
951
953
  id: string;
952
954
  label: string;
955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
953
956
  capture: "at_action" | "historical_lookup" | "fixture";
954
957
  locator?: string | undefined;
955
958
  }>, "many">>;
@@ -957,32 +960,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
957
960
  sessionId: z.ZodString;
958
961
  kind: z.ZodLiteral<"agent_status">;
959
962
  }, "strict", z.ZodTypeAny, {
963
+ label: string;
964
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
960
965
  kind: "agent_status";
961
966
  role: string;
962
- status: "failed" | "blocked" | "working" | "complete" | "idle";
963
- label: string;
964
967
  agentId: string;
965
968
  sessionId: string;
966
969
  evidence: {
967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
968
970
  id: string;
969
971
  label: string;
972
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
970
973
  capture: "at_action" | "historical_lookup" | "fixture";
971
974
  locator?: string | undefined;
972
975
  }[];
973
976
  detail?: string | undefined;
974
977
  }, {
978
+ label: string;
979
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
975
980
  kind: "agent_status";
976
981
  role: string;
977
- status: "failed" | "blocked" | "working" | "complete" | "idle";
978
- label: string;
979
982
  agentId: string;
980
983
  sessionId: string;
981
984
  detail?: string | undefined;
982
985
  evidence?: {
983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
984
986
  id: string;
985
987
  label: string;
988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
986
989
  capture: "at_action" | "historical_lookup" | "fixture";
987
990
  locator?: string | undefined;
988
991
  }[] | undefined;
@@ -996,15 +999,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
996
999
  locator: z.ZodOptional<z.ZodString>;
997
1000
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
998
1001
  }, "strict", z.ZodTypeAny, {
999
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1000
1002
  id: string;
1001
1003
  label: string;
1004
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1002
1005
  capture: "at_action" | "historical_lookup" | "fixture";
1003
1006
  locator?: string | undefined;
1004
1007
  }, {
1005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1006
1008
  id: string;
1007
1009
  label: string;
1010
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1008
1011
  capture: "at_action" | "historical_lookup" | "fixture";
1009
1012
  locator?: string | undefined;
1010
1013
  }>, "many">>;
@@ -1012,28 +1015,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1012
1015
  sessionId: z.ZodString;
1013
1016
  kind: z.ZodLiteral<"agent_output">;
1014
1017
  }, "strict", z.ZodTypeAny, {
1015
- kind: "agent_output";
1016
1018
  summary: string;
1019
+ kind: "agent_output";
1017
1020
  agentId: string;
1018
1021
  sessionId: string;
1019
1022
  evidence: {
1020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1021
1023
  id: string;
1022
1024
  label: string;
1025
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1023
1026
  capture: "at_action" | "historical_lookup" | "fixture";
1024
1027
  locator?: string | undefined;
1025
1028
  }[];
1026
1029
  outputId: string;
1027
1030
  }, {
1028
- kind: "agent_output";
1029
1031
  summary: string;
1032
+ kind: "agent_output";
1030
1033
  agentId: string;
1031
1034
  sessionId: string;
1032
1035
  outputId: string;
1033
1036
  evidence?: {
1034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1035
1037
  id: string;
1036
1038
  label: string;
1039
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1037
1040
  capture: "at_action" | "historical_lookup" | "fixture";
1038
1041
  locator?: string | undefined;
1039
1042
  }[] | undefined;
@@ -1049,15 +1052,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1049
1052
  locator: z.ZodOptional<z.ZodString>;
1050
1053
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1051
1054
  }, "strict", z.ZodTypeAny, {
1052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1053
1055
  id: string;
1054
1056
  label: string;
1057
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1055
1058
  capture: "at_action" | "historical_lookup" | "fixture";
1056
1059
  locator?: string | undefined;
1057
1060
  }, {
1058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1059
1061
  id: string;
1060
1062
  label: string;
1063
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1061
1064
  capture: "at_action" | "historical_lookup" | "fixture";
1062
1065
  locator?: string | undefined;
1063
1066
  }>, "many">>;
@@ -1070,9 +1073,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1070
1073
  statement: string;
1071
1074
  sessionId: string;
1072
1075
  evidence: {
1073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1074
1076
  id: string;
1075
1077
  label: string;
1078
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1076
1079
  capture: "at_action" | "historical_lookup" | "fixture";
1077
1080
  locator?: string | undefined;
1078
1081
  }[];
@@ -1088,9 +1091,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1088
1091
  decisionId: string;
1089
1092
  confidence?: number | undefined;
1090
1093
  evidence?: {
1091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1092
1094
  id: string;
1093
1095
  label: string;
1096
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1094
1097
  capture: "at_action" | "historical_lookup" | "fixture";
1095
1098
  locator?: string | undefined;
1096
1099
  }[] | undefined;
@@ -1107,25 +1110,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1107
1110
  locator: z.ZodOptional<z.ZodString>;
1108
1111
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1109
1112
  }, "strict", z.ZodTypeAny, {
1110
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1111
1113
  id: string;
1112
1114
  label: string;
1115
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1113
1116
  capture: "at_action" | "historical_lookup" | "fixture";
1114
1117
  locator?: string | undefined;
1115
1118
  }, {
1116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
1119
  id: string;
1118
1120
  label: string;
1121
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1119
1122
  capture: "at_action" | "historical_lookup" | "fixture";
1120
1123
  locator?: string | undefined;
1121
1124
  }>, "many">>;
1122
1125
  }, "strict", z.ZodTypeAny, {
1123
- kind: "conflict_detected";
1124
1126
  summary: string;
1127
+ kind: "conflict_detected";
1125
1128
  evidence: {
1126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1127
1129
  id: string;
1128
1130
  label: string;
1131
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1129
1132
  capture: "at_action" | "historical_lookup" | "fixture";
1130
1133
  locator?: string | undefined;
1131
1134
  }[];
@@ -1133,15 +1136,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1133
1136
  decisionIds: string[];
1134
1137
  agentIds: string[];
1135
1138
  }, {
1136
- kind: "conflict_detected";
1137
1139
  summary: string;
1140
+ kind: "conflict_detected";
1138
1141
  conflictId: string;
1139
1142
  decisionIds: string[];
1140
1143
  agentIds: string[];
1141
1144
  evidence?: {
1142
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1143
1145
  id: string;
1144
1146
  label: string;
1147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1145
1148
  capture: "at_action" | "historical_lookup" | "fixture";
1146
1149
  locator?: string | undefined;
1147
1150
  }[] | undefined;
@@ -1161,27 +1164,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1161
1164
  locator: z.ZodOptional<z.ZodString>;
1162
1165
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1163
1166
  }, "strict", z.ZodTypeAny, {
1164
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1165
1167
  id: string;
1166
1168
  label: string;
1169
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1167
1170
  capture: "at_action" | "historical_lookup" | "fixture";
1168
1171
  locator?: string | undefined;
1169
1172
  }, {
1170
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1171
1173
  id: string;
1172
1174
  label: string;
1175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1173
1176
  capture: "at_action" | "historical_lookup" | "fixture";
1174
1177
  locator?: string | undefined;
1175
1178
  }>, "many">>;
1176
1179
  }, "strict", z.ZodTypeAny, {
1177
- kind: "test_result";
1178
1180
  summary: string;
1179
- command: string;
1180
1181
  status: "error" | "failed" | "passed";
1182
+ kind: "test_result";
1183
+ command: string;
1181
1184
  evidence: {
1182
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1183
1185
  id: string;
1184
1186
  label: string;
1187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1185
1188
  capture: "at_action" | "historical_lookup" | "fixture";
1186
1189
  locator?: string | undefined;
1187
1190
  }[];
@@ -1190,17 +1193,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1190
1193
  durationMs?: number | undefined;
1191
1194
  correctionId?: string | undefined;
1192
1195
  }, {
1193
- kind: "test_result";
1194
1196
  summary: string;
1195
- command: string;
1196
1197
  status: "error" | "failed" | "passed";
1198
+ kind: "test_result";
1199
+ command: string;
1197
1200
  decisionId: string;
1198
1201
  testId: string;
1199
1202
  durationMs?: number | undefined;
1200
1203
  evidence?: {
1201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1202
1204
  id: string;
1203
1205
  label: string;
1206
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1204
1207
  capture: "at_action" | "historical_lookup" | "fixture";
1205
1208
  locator?: string | undefined;
1206
1209
  }[] | undefined;
@@ -1221,15 +1224,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1221
1224
  locator: z.ZodOptional<z.ZodString>;
1222
1225
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1223
1226
  }, "strict", z.ZodTypeAny, {
1224
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1225
1227
  id: string;
1226
1228
  label: string;
1229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1227
1230
  capture: "at_action" | "historical_lookup" | "fixture";
1228
1231
  locator?: string | undefined;
1229
1232
  }, {
1230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1231
1233
  id: string;
1232
1234
  label: string;
1235
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1233
1236
  capture: "at_action" | "historical_lookup" | "fixture";
1234
1237
  locator?: string | undefined;
1235
1238
  }>, "many">>;
@@ -1238,9 +1241,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1238
1241
  rationale: string;
1239
1242
  statement: string;
1240
1243
  evidence: {
1241
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1242
1244
  id: string;
1243
1245
  label: string;
1246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1244
1247
  capture: "at_action" | "historical_lookup" | "fixture";
1245
1248
  locator?: string | undefined;
1246
1249
  }[];
@@ -1259,9 +1262,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1259
1262
  supersedesDecisionIds: string[];
1260
1263
  proposedBy: string;
1261
1264
  evidence?: {
1262
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
1265
  id: string;
1264
1266
  label: string;
1267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1265
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1266
1269
  locator?: string | undefined;
1267
1270
  }[] | undefined;
@@ -1273,13 +1276,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1273
1276
  id: z.ZodString;
1274
1277
  label: z.ZodString;
1275
1278
  }, "strict", z.ZodTypeAny, {
1276
- kind: "agent" | "human";
1277
1279
  id: string;
1278
1280
  label: string;
1279
- }, {
1280
1281
  kind: "agent" | "human";
1282
+ }, {
1281
1283
  id: string;
1282
1284
  label: string;
1285
+ kind: "agent" | "human";
1283
1286
  }>;
1284
1287
  note: z.ZodOptional<z.ZodString>;
1285
1288
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1289,47 +1292,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1289
1292
  locator: z.ZodOptional<z.ZodString>;
1290
1293
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1291
1294
  }, "strict", z.ZodTypeAny, {
1292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1293
1295
  id: string;
1294
1296
  label: string;
1297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1295
1298
  capture: "at_action" | "historical_lookup" | "fixture";
1296
1299
  locator?: string | undefined;
1297
1300
  }, {
1298
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1299
1301
  id: string;
1300
1302
  label: string;
1303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1301
1304
  capture: "at_action" | "historical_lookup" | "fixture";
1302
1305
  locator?: string | undefined;
1303
1306
  }>, "many">>;
1304
1307
  }, "strict", z.ZodTypeAny, {
1305
1308
  kind: "correction_approved";
1306
1309
  evidence: {
1307
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
1310
  id: string;
1309
1311
  label: string;
1312
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
1313
  capture: "at_action" | "historical_lookup" | "fixture";
1311
1314
  locator?: string | undefined;
1312
1315
  }[];
1313
1316
  correctionId: string;
1314
1317
  approvedBy: {
1315
- kind: "agent" | "human";
1316
1318
  id: string;
1317
1319
  label: string;
1320
+ kind: "agent" | "human";
1318
1321
  };
1319
1322
  note?: string | undefined;
1320
1323
  }, {
1321
1324
  kind: "correction_approved";
1322
1325
  correctionId: string;
1323
1326
  approvedBy: {
1324
- kind: "agent" | "human";
1325
1327
  id: string;
1326
1328
  label: string;
1329
+ kind: "agent" | "human";
1327
1330
  };
1328
1331
  note?: string | undefined;
1329
1332
  evidence?: {
1330
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
1333
  id: string;
1332
1334
  label: string;
1335
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1333
1336
  capture: "at_action" | "historical_lookup" | "fixture";
1334
1337
  locator?: string | undefined;
1335
1338
  }[] | undefined;
@@ -1345,24 +1348,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1345
1348
  locator: z.ZodOptional<z.ZodString>;
1346
1349
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1347
1350
  }, "strict", z.ZodTypeAny, {
1348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1349
1351
  id: string;
1350
1352
  label: string;
1353
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
1354
  capture: "at_action" | "historical_lookup" | "fixture";
1352
1355
  locator?: string | undefined;
1353
1356
  }, {
1354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1355
1357
  id: string;
1356
1358
  label: string;
1359
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1357
1360
  capture: "at_action" | "historical_lookup" | "fixture";
1358
1361
  locator?: string | undefined;
1359
1362
  }>, "many">>;
1360
1363
  }, "strict", z.ZodTypeAny, {
1361
1364
  kind: "decision_superseded";
1362
1365
  evidence: {
1363
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1364
1366
  id: string;
1365
1367
  label: string;
1368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1366
1369
  capture: "at_action" | "historical_lookup" | "fixture";
1367
1370
  locator?: string | undefined;
1368
1371
  }[];
@@ -1375,9 +1378,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1375
1378
  correctionId: string;
1376
1379
  replacementDecisionId: string;
1377
1380
  evidence?: {
1378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
1381
  id: string;
1380
1382
  label: string;
1383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
1384
  capture: "at_action" | "historical_lookup" | "fixture";
1382
1385
  locator?: string | undefined;
1383
1386
  }[] | undefined;
@@ -1393,15 +1396,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1393
1396
  locator: z.ZodOptional<z.ZodString>;
1394
1397
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1395
1398
  }, "strict", z.ZodTypeAny, {
1396
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1397
1399
  id: string;
1398
1400
  label: string;
1401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1399
1402
  capture: "at_action" | "historical_lookup" | "fixture";
1400
1403
  locator?: string | undefined;
1401
1404
  }, {
1402
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1403
1405
  id: string;
1404
1406
  label: string;
1407
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1405
1408
  capture: "at_action" | "historical_lookup" | "fixture";
1406
1409
  locator?: string | undefined;
1407
1410
  }>, "many">>;
@@ -1414,9 +1417,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1414
1417
  agentId: string;
1415
1418
  sessionId: string;
1416
1419
  evidence: {
1417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1418
1420
  id: string;
1419
1421
  label: string;
1422
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
1423
  capture: "at_action" | "historical_lookup" | "fixture";
1421
1424
  locator?: string | undefined;
1422
1425
  }[];
@@ -1432,9 +1435,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1432
1435
  recallReceiptId: string;
1433
1436
  capturedAtAction: boolean;
1434
1437
  evidence?: {
1435
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1436
1438
  id: string;
1437
1439
  label: string;
1440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
1441
  capture: "at_action" | "historical_lookup" | "fixture";
1439
1442
  locator?: string | undefined;
1440
1443
  }[] | undefined;
@@ -1450,15 +1453,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1450
1453
  locator: z.ZodOptional<z.ZodString>;
1451
1454
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1452
1455
  }, "strict", z.ZodTypeAny, {
1453
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1454
1456
  id: string;
1455
1457
  label: string;
1458
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1456
1459
  capture: "at_action" | "historical_lookup" | "fixture";
1457
1460
  locator?: string | undefined;
1458
1461
  }, {
1459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1462
  id: string;
1461
1463
  label: string;
1464
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1462
1465
  capture: "at_action" | "historical_lookup" | "fixture";
1463
1466
  locator?: string | undefined;
1464
1467
  }>, "many">>;
@@ -1470,9 +1473,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1470
1473
  agentId: string;
1471
1474
  sessionId: string;
1472
1475
  evidence: {
1473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1476
  id: string;
1475
1477
  label: string;
1478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1476
1479
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1480
  locator?: string | undefined;
1478
1481
  }[];
@@ -1489,9 +1492,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1489
1492
  recallReceiptId: string;
1490
1493
  staleDecisionAbsent: boolean;
1491
1494
  evidence?: {
1492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1493
1495
  id: string;
1494
1496
  label: string;
1497
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1495
1498
  capture: "at_action" | "historical_lookup" | "fixture";
1496
1499
  locator?: string | undefined;
1497
1500
  }[] | undefined;
@@ -1506,37 +1509,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1506
1509
  locator: z.ZodOptional<z.ZodString>;
1507
1510
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1508
1511
  }, "strict", z.ZodTypeAny, {
1509
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1510
1512
  id: string;
1511
1513
  label: string;
1514
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
1515
  capture: "at_action" | "historical_lookup" | "fixture";
1513
1516
  locator?: string | undefined;
1514
1517
  }, {
1515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1516
1518
  id: string;
1517
1519
  label: string;
1520
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
1521
  capture: "at_action" | "historical_lookup" | "fixture";
1519
1522
  locator?: string | undefined;
1520
1523
  }>, "many">>;
1521
1524
  }, "strict", z.ZodTypeAny, {
1522
- kind: "mission_completed";
1523
1525
  summary: string;
1526
+ kind: "mission_completed";
1524
1527
  outcome: "failed" | "recovered" | "inconclusive";
1525
1528
  evidence: {
1526
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1527
1529
  id: string;
1528
1530
  label: string;
1531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
1532
  capture: "at_action" | "historical_lookup" | "fixture";
1530
1533
  locator?: string | undefined;
1531
1534
  }[];
1532
1535
  }, {
1533
- kind: "mission_completed";
1534
1536
  summary: string;
1537
+ kind: "mission_completed";
1535
1538
  outcome: "failed" | "recovered" | "inconclusive";
1536
1539
  evidence?: {
1537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1540
  id: string;
1539
1541
  label: string;
1542
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1544
  locator?: string | undefined;
1542
1545
  }[] | undefined;
@@ -1544,38 +1547,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1544
1547
  kind: "mission_started";
1545
1548
  title: string;
1546
1549
  evidence: {
1547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1548
1550
  id: string;
1549
1551
  label: string;
1552
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
1553
  capture: "at_action" | "historical_lookup" | "fixture";
1551
1554
  locator?: string | undefined;
1552
1555
  }[];
1553
1556
  objective: string;
1554
1557
  runMode: "replay" | "fixture" | "live";
1555
1558
  } | {
1559
+ label: string;
1560
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1556
1561
  kind: "agent_status";
1557
1562
  role: string;
1558
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1559
- label: string;
1560
1563
  agentId: string;
1561
1564
  sessionId: string;
1562
1565
  evidence: {
1563
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1564
1566
  id: string;
1565
1567
  label: string;
1568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1566
1569
  capture: "at_action" | "historical_lookup" | "fixture";
1567
1570
  locator?: string | undefined;
1568
1571
  }[];
1569
1572
  detail?: string | undefined;
1570
1573
  } | {
1571
- kind: "agent_output";
1572
1574
  summary: string;
1575
+ kind: "agent_output";
1573
1576
  agentId: string;
1574
1577
  sessionId: string;
1575
1578
  evidence: {
1576
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
1579
  id: string;
1578
1580
  label: string;
1581
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1579
1582
  capture: "at_action" | "historical_lookup" | "fixture";
1580
1583
  locator?: string | undefined;
1581
1584
  }[];
@@ -1586,9 +1589,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1586
1589
  statement: string;
1587
1590
  sessionId: string;
1588
1591
  evidence: {
1589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
1592
  id: string;
1591
1593
  label: string;
1594
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
1595
  capture: "at_action" | "historical_lookup" | "fixture";
1593
1596
  locator?: string | undefined;
1594
1597
  }[];
@@ -1596,12 +1599,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1596
1599
  decisionId: string;
1597
1600
  confidence?: number | undefined;
1598
1601
  } | {
1599
- kind: "conflict_detected";
1600
1602
  summary: string;
1603
+ kind: "conflict_detected";
1601
1604
  evidence: {
1602
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1603
1605
  id: string;
1604
1606
  label: string;
1607
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1605
1608
  capture: "at_action" | "historical_lookup" | "fixture";
1606
1609
  locator?: string | undefined;
1607
1610
  }[];
@@ -1609,14 +1612,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1609
1612
  decisionIds: string[];
1610
1613
  agentIds: string[];
1611
1614
  } | {
1612
- kind: "test_result";
1613
1615
  summary: string;
1614
- command: string;
1615
1616
  status: "error" | "failed" | "passed";
1617
+ kind: "test_result";
1618
+ command: string;
1616
1619
  evidence: {
1617
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1618
1620
  id: string;
1619
1621
  label: string;
1622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
1623
  capture: "at_action" | "historical_lookup" | "fixture";
1621
1624
  locator?: string | undefined;
1622
1625
  }[];
@@ -1629,9 +1632,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1629
1632
  rationale: string;
1630
1633
  statement: string;
1631
1634
  evidence: {
1632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
1635
  id: string;
1634
1636
  label: string;
1637
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1635
1638
  capture: "at_action" | "historical_lookup" | "fixture";
1636
1639
  locator?: string | undefined;
1637
1640
  }[];
@@ -1643,25 +1646,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1643
1646
  } | {
1644
1647
  kind: "correction_approved";
1645
1648
  evidence: {
1646
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1647
1649
  id: string;
1648
1650
  label: string;
1651
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
1652
  capture: "at_action" | "historical_lookup" | "fixture";
1650
1653
  locator?: string | undefined;
1651
1654
  }[];
1652
1655
  correctionId: string;
1653
1656
  approvedBy: {
1654
- kind: "agent" | "human";
1655
1657
  id: string;
1656
1658
  label: string;
1659
+ kind: "agent" | "human";
1657
1660
  };
1658
1661
  note?: string | undefined;
1659
1662
  } | {
1660
1663
  kind: "decision_superseded";
1661
1664
  evidence: {
1662
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1663
1665
  id: string;
1664
1666
  label: string;
1667
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1665
1668
  capture: "at_action" | "historical_lookup" | "fixture";
1666
1669
  locator?: string | undefined;
1667
1670
  }[];
@@ -1674,9 +1677,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1674
1677
  agentId: string;
1675
1678
  sessionId: string;
1676
1679
  evidence: {
1677
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1678
1680
  id: string;
1679
1681
  label: string;
1682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1680
1683
  capture: "at_action" | "historical_lookup" | "fixture";
1681
1684
  locator?: string | undefined;
1682
1685
  }[];
@@ -1688,9 +1691,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1688
1691
  agentId: string;
1689
1692
  sessionId: string;
1690
1693
  evidence: {
1691
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1692
1694
  id: string;
1693
1695
  label: string;
1696
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
1697
  capture: "at_action" | "historical_lookup" | "fixture";
1695
1698
  locator?: string | undefined;
1696
1699
  }[];
@@ -1699,13 +1702,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1699
1702
  recallReceiptId: string;
1700
1703
  staleDecisionAbsent: boolean;
1701
1704
  } | {
1702
- kind: "mission_completed";
1703
1705
  summary: string;
1706
+ kind: "mission_completed";
1704
1707
  outcome: "failed" | "recovered" | "inconclusive";
1705
1708
  evidence: {
1706
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1707
1709
  id: string;
1708
1710
  label: string;
1711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1709
1712
  capture: "at_action" | "historical_lookup" | "fixture";
1710
1713
  locator?: string | undefined;
1711
1714
  }[];
@@ -1715,37 +1718,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1715
1718
  objective: string;
1716
1719
  runMode: "replay" | "fixture" | "live";
1717
1720
  evidence?: {
1718
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1719
1721
  id: string;
1720
1722
  label: string;
1723
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1721
1724
  capture: "at_action" | "historical_lookup" | "fixture";
1722
1725
  locator?: string | undefined;
1723
1726
  }[] | undefined;
1724
1727
  } | {
1728
+ label: string;
1729
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1725
1730
  kind: "agent_status";
1726
1731
  role: string;
1727
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1728
- label: string;
1729
1732
  agentId: string;
1730
1733
  sessionId: string;
1731
1734
  detail?: string | undefined;
1732
1735
  evidence?: {
1733
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1734
1736
  id: string;
1735
1737
  label: string;
1738
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1736
1739
  capture: "at_action" | "historical_lookup" | "fixture";
1737
1740
  locator?: string | undefined;
1738
1741
  }[] | undefined;
1739
1742
  } | {
1740
- kind: "agent_output";
1741
1743
  summary: string;
1744
+ kind: "agent_output";
1742
1745
  agentId: string;
1743
1746
  sessionId: string;
1744
1747
  outputId: string;
1745
1748
  evidence?: {
1746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1747
1749
  id: string;
1748
1750
  label: string;
1751
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1749
1752
  capture: "at_action" | "historical_lookup" | "fixture";
1750
1753
  locator?: string | undefined;
1751
1754
  }[] | undefined;
@@ -1758,37 +1761,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1758
1761
  decisionId: string;
1759
1762
  confidence?: number | undefined;
1760
1763
  evidence?: {
1761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
1764
  id: string;
1763
1765
  label: string;
1766
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
1767
  capture: "at_action" | "historical_lookup" | "fixture";
1765
1768
  locator?: string | undefined;
1766
1769
  }[] | undefined;
1767
1770
  } | {
1768
- kind: "conflict_detected";
1769
1771
  summary: string;
1772
+ kind: "conflict_detected";
1770
1773
  conflictId: string;
1771
1774
  decisionIds: string[];
1772
1775
  agentIds: string[];
1773
1776
  evidence?: {
1774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1775
1777
  id: string;
1776
1778
  label: string;
1779
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1777
1780
  capture: "at_action" | "historical_lookup" | "fixture";
1778
1781
  locator?: string | undefined;
1779
1782
  }[] | undefined;
1780
1783
  } | {
1781
- kind: "test_result";
1782
1784
  summary: string;
1783
- command: string;
1784
1785
  status: "error" | "failed" | "passed";
1786
+ kind: "test_result";
1787
+ command: string;
1785
1788
  decisionId: string;
1786
1789
  testId: string;
1787
1790
  durationMs?: number | undefined;
1788
1791
  evidence?: {
1789
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1790
1792
  id: string;
1791
1793
  label: string;
1794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1792
1795
  capture: "at_action" | "historical_lookup" | "fixture";
1793
1796
  locator?: string | undefined;
1794
1797
  }[] | undefined;
@@ -1803,9 +1806,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1803
1806
  supersedesDecisionIds: string[];
1804
1807
  proposedBy: string;
1805
1808
  evidence?: {
1806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1807
1809
  id: string;
1808
1810
  label: string;
1811
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1809
1812
  capture: "at_action" | "historical_lookup" | "fixture";
1810
1813
  locator?: string | undefined;
1811
1814
  }[] | undefined;
@@ -1813,15 +1816,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1813
1816
  kind: "correction_approved";
1814
1817
  correctionId: string;
1815
1818
  approvedBy: {
1816
- kind: "agent" | "human";
1817
1819
  id: string;
1818
1820
  label: string;
1821
+ kind: "agent" | "human";
1819
1822
  };
1820
1823
  note?: string | undefined;
1821
1824
  evidence?: {
1822
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1825
  id: string;
1824
1826
  label: string;
1827
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1825
1828
  capture: "at_action" | "historical_lookup" | "fixture";
1826
1829
  locator?: string | undefined;
1827
1830
  }[] | undefined;
@@ -1831,9 +1834,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1831
1834
  correctionId: string;
1832
1835
  replacementDecisionId: string;
1833
1836
  evidence?: {
1834
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1835
1837
  id: string;
1836
1838
  label: string;
1839
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
1840
  capture: "at_action" | "historical_lookup" | "fixture";
1838
1841
  locator?: string | undefined;
1839
1842
  }[] | undefined;
@@ -1846,9 +1849,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1846
1849
  recallReceiptId: string;
1847
1850
  capturedAtAction: boolean;
1848
1851
  evidence?: {
1849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1850
1852
  id: string;
1851
1853
  label: string;
1854
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1852
1855
  capture: "at_action" | "historical_lookup" | "fixture";
1853
1856
  locator?: string | undefined;
1854
1857
  }[] | undefined;
@@ -1861,20 +1864,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1861
1864
  recallReceiptId: string;
1862
1865
  staleDecisionAbsent: boolean;
1863
1866
  evidence?: {
1864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1865
1867
  id: string;
1866
1868
  label: string;
1869
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1867
1870
  capture: "at_action" | "historical_lookup" | "fixture";
1868
1871
  locator?: string | undefined;
1869
1872
  }[] | undefined;
1870
1873
  } | {
1871
- kind: "mission_completed";
1872
1874
  summary: string;
1875
+ kind: "mission_completed";
1873
1876
  outcome: "failed" | "recovered" | "inconclusive";
1874
1877
  evidence?: {
1875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1876
1878
  id: string;
1877
1879
  label: string;
1880
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1878
1881
  capture: "at_action" | "historical_lookup" | "fixture";
1879
1882
  locator?: string | undefined;
1880
1883
  }[] | undefined;
@@ -1895,15 +1898,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1895
1898
  locator: z.ZodOptional<z.ZodString>;
1896
1899
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1897
1900
  }, "strict", z.ZodTypeAny, {
1898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1899
1901
  id: string;
1900
1902
  label: string;
1903
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1904
  capture: "at_action" | "historical_lookup" | "fixture";
1902
1905
  locator?: string | undefined;
1903
1906
  }, {
1904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1907
  id: string;
1906
1908
  label: string;
1909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1910
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1911
  locator?: string | undefined;
1909
1912
  }>, "many">>;
@@ -1911,9 +1914,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1911
1914
  kind: "mission_started";
1912
1915
  title: string;
1913
1916
  evidence: {
1914
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1917
  id: string;
1916
1918
  label: string;
1919
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
1920
  capture: "at_action" | "historical_lookup" | "fixture";
1918
1921
  locator?: string | undefined;
1919
1922
  }[];
@@ -1925,9 +1928,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1925
1928
  objective: string;
1926
1929
  runMode: "replay" | "fixture" | "live";
1927
1930
  evidence?: {
1928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1929
1931
  id: string;
1930
1932
  label: string;
1933
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
1934
  capture: "at_action" | "historical_lookup" | "fixture";
1932
1935
  locator?: string | undefined;
1933
1936
  }[] | undefined;
@@ -1943,15 +1946,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1943
1946
  locator: z.ZodOptional<z.ZodString>;
1944
1947
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1945
1948
  }, "strict", z.ZodTypeAny, {
1946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
1949
  id: string;
1948
1950
  label: string;
1951
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
1952
  capture: "at_action" | "historical_lookup" | "fixture";
1950
1953
  locator?: string | undefined;
1951
1954
  }, {
1952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1955
  id: string;
1954
1956
  label: string;
1957
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1955
1958
  capture: "at_action" | "historical_lookup" | "fixture";
1956
1959
  locator?: string | undefined;
1957
1960
  }>, "many">>;
@@ -1959,32 +1962,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1959
1962
  sessionId: z.ZodString;
1960
1963
  kind: z.ZodLiteral<"agent_status">;
1961
1964
  }, "strict", z.ZodTypeAny, {
1965
+ label: string;
1966
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1962
1967
  kind: "agent_status";
1963
1968
  role: string;
1964
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1965
- label: string;
1966
1969
  agentId: string;
1967
1970
  sessionId: string;
1968
1971
  evidence: {
1969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
1972
  id: string;
1971
1973
  label: string;
1974
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
1975
  capture: "at_action" | "historical_lookup" | "fixture";
1973
1976
  locator?: string | undefined;
1974
1977
  }[];
1975
1978
  detail?: string | undefined;
1976
1979
  }, {
1980
+ label: string;
1981
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1977
1982
  kind: "agent_status";
1978
1983
  role: string;
1979
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1980
- label: string;
1981
1984
  agentId: string;
1982
1985
  sessionId: string;
1983
1986
  detail?: string | undefined;
1984
1987
  evidence?: {
1985
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
1988
  id: string;
1987
1989
  label: string;
1990
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1988
1991
  capture: "at_action" | "historical_lookup" | "fixture";
1989
1992
  locator?: string | undefined;
1990
1993
  }[] | undefined;
@@ -1998,15 +2001,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1998
2001
  locator: z.ZodOptional<z.ZodString>;
1999
2002
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2000
2003
  }, "strict", z.ZodTypeAny, {
2001
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
2004
  id: string;
2003
2005
  label: string;
2006
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2004
2007
  capture: "at_action" | "historical_lookup" | "fixture";
2005
2008
  locator?: string | undefined;
2006
2009
  }, {
2007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2008
2010
  id: string;
2009
2011
  label: string;
2012
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2013
  capture: "at_action" | "historical_lookup" | "fixture";
2011
2014
  locator?: string | undefined;
2012
2015
  }>, "many">>;
@@ -2014,28 +2017,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2014
2017
  sessionId: z.ZodString;
2015
2018
  kind: z.ZodLiteral<"agent_output">;
2016
2019
  }, "strict", z.ZodTypeAny, {
2017
- kind: "agent_output";
2018
2020
  summary: string;
2021
+ kind: "agent_output";
2019
2022
  agentId: string;
2020
2023
  sessionId: string;
2021
2024
  evidence: {
2022
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2023
2025
  id: string;
2024
2026
  label: string;
2027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2025
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2026
2029
  locator?: string | undefined;
2027
2030
  }[];
2028
2031
  outputId: string;
2029
2032
  }, {
2030
- kind: "agent_output";
2031
2033
  summary: string;
2034
+ kind: "agent_output";
2032
2035
  agentId: string;
2033
2036
  sessionId: string;
2034
2037
  outputId: string;
2035
2038
  evidence?: {
2036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
2039
  id: string;
2038
2040
  label: string;
2041
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2039
2042
  capture: "at_action" | "historical_lookup" | "fixture";
2040
2043
  locator?: string | undefined;
2041
2044
  }[] | undefined;
@@ -2051,15 +2054,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2051
2054
  locator: z.ZodOptional<z.ZodString>;
2052
2055
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2053
2056
  }, "strict", z.ZodTypeAny, {
2054
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
2057
  id: string;
2056
2058
  label: string;
2059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2057
2060
  capture: "at_action" | "historical_lookup" | "fixture";
2058
2061
  locator?: string | undefined;
2059
2062
  }, {
2060
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2063
  id: string;
2062
2064
  label: string;
2065
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2063
2066
  capture: "at_action" | "historical_lookup" | "fixture";
2064
2067
  locator?: string | undefined;
2065
2068
  }>, "many">>;
@@ -2072,9 +2075,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2072
2075
  statement: string;
2073
2076
  sessionId: string;
2074
2077
  evidence: {
2075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
2078
  id: string;
2077
2079
  label: string;
2080
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2078
2081
  capture: "at_action" | "historical_lookup" | "fixture";
2079
2082
  locator?: string | undefined;
2080
2083
  }[];
@@ -2090,9 +2093,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2090
2093
  decisionId: string;
2091
2094
  confidence?: number | undefined;
2092
2095
  evidence?: {
2093
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2094
2096
  id: string;
2095
2097
  label: string;
2098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2096
2099
  capture: "at_action" | "historical_lookup" | "fixture";
2097
2100
  locator?: string | undefined;
2098
2101
  }[] | undefined;
@@ -2109,25 +2112,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2109
2112
  locator: z.ZodOptional<z.ZodString>;
2110
2113
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2111
2114
  }, "strict", z.ZodTypeAny, {
2112
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2113
2115
  id: string;
2114
2116
  label: string;
2117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2115
2118
  capture: "at_action" | "historical_lookup" | "fixture";
2116
2119
  locator?: string | undefined;
2117
2120
  }, {
2118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
2121
  id: string;
2120
2122
  label: string;
2123
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
2124
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2125
  locator?: string | undefined;
2123
2126
  }>, "many">>;
2124
2127
  }, "strict", z.ZodTypeAny, {
2125
- kind: "conflict_detected";
2126
2128
  summary: string;
2129
+ kind: "conflict_detected";
2127
2130
  evidence: {
2128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
2131
  id: string;
2130
2132
  label: string;
2133
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
2134
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2135
  locator?: string | undefined;
2133
2136
  }[];
@@ -2135,15 +2138,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2135
2138
  decisionIds: string[];
2136
2139
  agentIds: string[];
2137
2140
  }, {
2138
- kind: "conflict_detected";
2139
2141
  summary: string;
2142
+ kind: "conflict_detected";
2140
2143
  conflictId: string;
2141
2144
  decisionIds: string[];
2142
2145
  agentIds: string[];
2143
2146
  evidence?: {
2144
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
2147
  id: string;
2146
2148
  label: string;
2149
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2147
2150
  capture: "at_action" | "historical_lookup" | "fixture";
2148
2151
  locator?: string | undefined;
2149
2152
  }[] | undefined;
@@ -2163,27 +2166,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2163
2166
  locator: z.ZodOptional<z.ZodString>;
2164
2167
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2165
2168
  }, "strict", z.ZodTypeAny, {
2166
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2167
2169
  id: string;
2168
2170
  label: string;
2171
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2169
2172
  capture: "at_action" | "historical_lookup" | "fixture";
2170
2173
  locator?: string | undefined;
2171
2174
  }, {
2172
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2173
2175
  id: string;
2174
2176
  label: string;
2177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
2178
  capture: "at_action" | "historical_lookup" | "fixture";
2176
2179
  locator?: string | undefined;
2177
2180
  }>, "many">>;
2178
2181
  }, "strict", z.ZodTypeAny, {
2179
- kind: "test_result";
2180
2182
  summary: string;
2181
- command: string;
2182
2183
  status: "error" | "failed" | "passed";
2184
+ kind: "test_result";
2185
+ command: string;
2183
2186
  evidence: {
2184
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2185
2187
  id: string;
2186
2188
  label: string;
2189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2187
2190
  capture: "at_action" | "historical_lookup" | "fixture";
2188
2191
  locator?: string | undefined;
2189
2192
  }[];
@@ -2192,17 +2195,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2192
2195
  durationMs?: number | undefined;
2193
2196
  correctionId?: string | undefined;
2194
2197
  }, {
2195
- kind: "test_result";
2196
2198
  summary: string;
2197
- command: string;
2198
2199
  status: "error" | "failed" | "passed";
2200
+ kind: "test_result";
2201
+ command: string;
2199
2202
  decisionId: string;
2200
2203
  testId: string;
2201
2204
  durationMs?: number | undefined;
2202
2205
  evidence?: {
2203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
2206
  id: string;
2205
2207
  label: string;
2208
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2206
2209
  capture: "at_action" | "historical_lookup" | "fixture";
2207
2210
  locator?: string | undefined;
2208
2211
  }[] | undefined;
@@ -2223,15 +2226,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2223
2226
  locator: z.ZodOptional<z.ZodString>;
2224
2227
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2225
2228
  }, "strict", z.ZodTypeAny, {
2226
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2227
2229
  id: string;
2228
2230
  label: string;
2231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2229
2232
  capture: "at_action" | "historical_lookup" | "fixture";
2230
2233
  locator?: string | undefined;
2231
2234
  }, {
2232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
2235
  id: string;
2234
2236
  label: string;
2237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2235
2238
  capture: "at_action" | "historical_lookup" | "fixture";
2236
2239
  locator?: string | undefined;
2237
2240
  }>, "many">>;
@@ -2240,9 +2243,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2240
2243
  rationale: string;
2241
2244
  statement: string;
2242
2245
  evidence: {
2243
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2244
2246
  id: string;
2245
2247
  label: string;
2248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2246
2249
  capture: "at_action" | "historical_lookup" | "fixture";
2247
2250
  locator?: string | undefined;
2248
2251
  }[];
@@ -2261,9 +2264,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2261
2264
  supersedesDecisionIds: string[];
2262
2265
  proposedBy: string;
2263
2266
  evidence?: {
2264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
2267
  id: string;
2266
2268
  label: string;
2269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2267
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2268
2271
  locator?: string | undefined;
2269
2272
  }[] | undefined;
@@ -2275,13 +2278,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2275
2278
  id: z.ZodString;
2276
2279
  label: z.ZodString;
2277
2280
  }, "strict", z.ZodTypeAny, {
2278
- kind: "agent" | "human";
2279
2281
  id: string;
2280
2282
  label: string;
2281
- }, {
2282
2283
  kind: "agent" | "human";
2284
+ }, {
2283
2285
  id: string;
2284
2286
  label: string;
2287
+ kind: "agent" | "human";
2285
2288
  }>;
2286
2289
  note: z.ZodOptional<z.ZodString>;
2287
2290
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2291,47 +2294,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2291
2294
  locator: z.ZodOptional<z.ZodString>;
2292
2295
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2293
2296
  }, "strict", z.ZodTypeAny, {
2294
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2295
2297
  id: string;
2296
2298
  label: string;
2299
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2297
2300
  capture: "at_action" | "historical_lookup" | "fixture";
2298
2301
  locator?: string | undefined;
2299
2302
  }, {
2300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2301
2303
  id: string;
2302
2304
  label: string;
2305
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2303
2306
  capture: "at_action" | "historical_lookup" | "fixture";
2304
2307
  locator?: string | undefined;
2305
2308
  }>, "many">>;
2306
2309
  }, "strict", z.ZodTypeAny, {
2307
2310
  kind: "correction_approved";
2308
2311
  evidence: {
2309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
2312
  id: string;
2311
2313
  label: string;
2314
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
2315
  capture: "at_action" | "historical_lookup" | "fixture";
2313
2316
  locator?: string | undefined;
2314
2317
  }[];
2315
2318
  correctionId: string;
2316
2319
  approvedBy: {
2317
- kind: "agent" | "human";
2318
2320
  id: string;
2319
2321
  label: string;
2322
+ kind: "agent" | "human";
2320
2323
  };
2321
2324
  note?: string | undefined;
2322
2325
  }, {
2323
2326
  kind: "correction_approved";
2324
2327
  correctionId: string;
2325
2328
  approvedBy: {
2326
- kind: "agent" | "human";
2327
2329
  id: string;
2328
2330
  label: string;
2331
+ kind: "agent" | "human";
2329
2332
  };
2330
2333
  note?: string | undefined;
2331
2334
  evidence?: {
2332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
2335
  id: string;
2334
2336
  label: string;
2337
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2335
2338
  capture: "at_action" | "historical_lookup" | "fixture";
2336
2339
  locator?: string | undefined;
2337
2340
  }[] | undefined;
@@ -2347,24 +2350,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2347
2350
  locator: z.ZodOptional<z.ZodString>;
2348
2351
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2349
2352
  }, "strict", z.ZodTypeAny, {
2350
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2351
2353
  id: string;
2352
2354
  label: string;
2355
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
2356
  capture: "at_action" | "historical_lookup" | "fixture";
2354
2357
  locator?: string | undefined;
2355
2358
  }, {
2356
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2357
2359
  id: string;
2358
2360
  label: string;
2361
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2359
2362
  capture: "at_action" | "historical_lookup" | "fixture";
2360
2363
  locator?: string | undefined;
2361
2364
  }>, "many">>;
2362
2365
  }, "strict", z.ZodTypeAny, {
2363
2366
  kind: "decision_superseded";
2364
2367
  evidence: {
2365
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2366
2368
  id: string;
2367
2369
  label: string;
2370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2368
2371
  capture: "at_action" | "historical_lookup" | "fixture";
2369
2372
  locator?: string | undefined;
2370
2373
  }[];
@@ -2377,9 +2380,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2377
2380
  correctionId: string;
2378
2381
  replacementDecisionId: string;
2379
2382
  evidence?: {
2380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
2383
  id: string;
2382
2384
  label: string;
2385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
2386
  capture: "at_action" | "historical_lookup" | "fixture";
2384
2387
  locator?: string | undefined;
2385
2388
  }[] | undefined;
@@ -2395,15 +2398,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2395
2398
  locator: z.ZodOptional<z.ZodString>;
2396
2399
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2397
2400
  }, "strict", z.ZodTypeAny, {
2398
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2399
2401
  id: string;
2400
2402
  label: string;
2403
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2401
2404
  capture: "at_action" | "historical_lookup" | "fixture";
2402
2405
  locator?: string | undefined;
2403
2406
  }, {
2404
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2405
2407
  id: string;
2406
2408
  label: string;
2409
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2407
2410
  capture: "at_action" | "historical_lookup" | "fixture";
2408
2411
  locator?: string | undefined;
2409
2412
  }>, "many">>;
@@ -2416,9 +2419,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2416
2419
  agentId: string;
2417
2420
  sessionId: string;
2418
2421
  evidence: {
2419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2420
2422
  id: string;
2421
2423
  label: string;
2424
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
2425
  capture: "at_action" | "historical_lookup" | "fixture";
2423
2426
  locator?: string | undefined;
2424
2427
  }[];
@@ -2434,9 +2437,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2434
2437
  recallReceiptId: string;
2435
2438
  capturedAtAction: boolean;
2436
2439
  evidence?: {
2437
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2438
2440
  id: string;
2439
2441
  label: string;
2442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
2443
  capture: "at_action" | "historical_lookup" | "fixture";
2441
2444
  locator?: string | undefined;
2442
2445
  }[] | undefined;
@@ -2452,15 +2455,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2452
2455
  locator: z.ZodOptional<z.ZodString>;
2453
2456
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2454
2457
  }, "strict", z.ZodTypeAny, {
2455
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2456
2458
  id: string;
2457
2459
  label: string;
2460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2458
2461
  capture: "at_action" | "historical_lookup" | "fixture";
2459
2462
  locator?: string | undefined;
2460
2463
  }, {
2461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2464
  id: string;
2463
2465
  label: string;
2466
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2464
2467
  capture: "at_action" | "historical_lookup" | "fixture";
2465
2468
  locator?: string | undefined;
2466
2469
  }>, "many">>;
@@ -2472,9 +2475,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2472
2475
  agentId: string;
2473
2476
  sessionId: string;
2474
2477
  evidence: {
2475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2478
  id: string;
2477
2479
  label: string;
2480
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2478
2481
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2482
  locator?: string | undefined;
2480
2483
  }[];
@@ -2491,9 +2494,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2491
2494
  recallReceiptId: string;
2492
2495
  staleDecisionAbsent: boolean;
2493
2496
  evidence?: {
2494
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2495
2497
  id: string;
2496
2498
  label: string;
2499
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2497
2500
  capture: "at_action" | "historical_lookup" | "fixture";
2498
2501
  locator?: string | undefined;
2499
2502
  }[] | undefined;
@@ -2508,37 +2511,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2508
2511
  locator: z.ZodOptional<z.ZodString>;
2509
2512
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2510
2513
  }, "strict", z.ZodTypeAny, {
2511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2512
2514
  id: string;
2513
2515
  label: string;
2516
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
2517
  capture: "at_action" | "historical_lookup" | "fixture";
2515
2518
  locator?: string | undefined;
2516
2519
  }, {
2517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2518
2520
  id: string;
2519
2521
  label: string;
2522
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
2523
  capture: "at_action" | "historical_lookup" | "fixture";
2521
2524
  locator?: string | undefined;
2522
2525
  }>, "many">>;
2523
2526
  }, "strict", z.ZodTypeAny, {
2524
- kind: "mission_completed";
2525
2527
  summary: string;
2528
+ kind: "mission_completed";
2526
2529
  outcome: "failed" | "recovered" | "inconclusive";
2527
2530
  evidence: {
2528
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2529
2531
  id: string;
2530
2532
  label: string;
2533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
2534
  capture: "at_action" | "historical_lookup" | "fixture";
2532
2535
  locator?: string | undefined;
2533
2536
  }[];
2534
2537
  }, {
2535
- kind: "mission_completed";
2536
2538
  summary: string;
2539
+ kind: "mission_completed";
2537
2540
  outcome: "failed" | "recovered" | "inconclusive";
2538
2541
  evidence?: {
2539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2542
  id: string;
2541
2543
  label: string;
2544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2546
  locator?: string | undefined;
2544
2547
  }[] | undefined;
@@ -2546,38 +2549,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2546
2549
  kind: "mission_started";
2547
2550
  title: string;
2548
2551
  evidence: {
2549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2550
2552
  id: string;
2551
2553
  label: string;
2554
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
2555
  capture: "at_action" | "historical_lookup" | "fixture";
2553
2556
  locator?: string | undefined;
2554
2557
  }[];
2555
2558
  objective: string;
2556
2559
  runMode: "replay" | "fixture" | "live";
2557
2560
  } | {
2561
+ label: string;
2562
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2558
2563
  kind: "agent_status";
2559
2564
  role: string;
2560
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2561
- label: string;
2562
2565
  agentId: string;
2563
2566
  sessionId: string;
2564
2567
  evidence: {
2565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2566
2568
  id: string;
2567
2569
  label: string;
2570
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2568
2571
  capture: "at_action" | "historical_lookup" | "fixture";
2569
2572
  locator?: string | undefined;
2570
2573
  }[];
2571
2574
  detail?: string | undefined;
2572
2575
  } | {
2573
- kind: "agent_output";
2574
2576
  summary: string;
2577
+ kind: "agent_output";
2575
2578
  agentId: string;
2576
2579
  sessionId: string;
2577
2580
  evidence: {
2578
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
2581
  id: string;
2580
2582
  label: string;
2583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2581
2584
  capture: "at_action" | "historical_lookup" | "fixture";
2582
2585
  locator?: string | undefined;
2583
2586
  }[];
@@ -2588,9 +2591,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2588
2591
  statement: string;
2589
2592
  sessionId: string;
2590
2593
  evidence: {
2591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
2594
  id: string;
2593
2595
  label: string;
2596
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
2597
  capture: "at_action" | "historical_lookup" | "fixture";
2595
2598
  locator?: string | undefined;
2596
2599
  }[];
@@ -2598,12 +2601,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2598
2601
  decisionId: string;
2599
2602
  confidence?: number | undefined;
2600
2603
  } | {
2601
- kind: "conflict_detected";
2602
2604
  summary: string;
2605
+ kind: "conflict_detected";
2603
2606
  evidence: {
2604
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2605
2607
  id: string;
2606
2608
  label: string;
2609
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2607
2610
  capture: "at_action" | "historical_lookup" | "fixture";
2608
2611
  locator?: string | undefined;
2609
2612
  }[];
@@ -2611,14 +2614,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2611
2614
  decisionIds: string[];
2612
2615
  agentIds: string[];
2613
2616
  } | {
2614
- kind: "test_result";
2615
2617
  summary: string;
2616
- command: string;
2617
2618
  status: "error" | "failed" | "passed";
2619
+ kind: "test_result";
2620
+ command: string;
2618
2621
  evidence: {
2619
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2620
2622
  id: string;
2621
2623
  label: string;
2624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
2625
  capture: "at_action" | "historical_lookup" | "fixture";
2623
2626
  locator?: string | undefined;
2624
2627
  }[];
@@ -2631,9 +2634,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2631
2634
  rationale: string;
2632
2635
  statement: string;
2633
2636
  evidence: {
2634
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
2637
  id: string;
2636
2638
  label: string;
2639
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2637
2640
  capture: "at_action" | "historical_lookup" | "fixture";
2638
2641
  locator?: string | undefined;
2639
2642
  }[];
@@ -2645,25 +2648,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2645
2648
  } | {
2646
2649
  kind: "correction_approved";
2647
2650
  evidence: {
2648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2649
2651
  id: string;
2650
2652
  label: string;
2653
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
2654
  capture: "at_action" | "historical_lookup" | "fixture";
2652
2655
  locator?: string | undefined;
2653
2656
  }[];
2654
2657
  correctionId: string;
2655
2658
  approvedBy: {
2656
- kind: "agent" | "human";
2657
2659
  id: string;
2658
2660
  label: string;
2661
+ kind: "agent" | "human";
2659
2662
  };
2660
2663
  note?: string | undefined;
2661
2664
  } | {
2662
2665
  kind: "decision_superseded";
2663
2666
  evidence: {
2664
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2665
2667
  id: string;
2666
2668
  label: string;
2669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2667
2670
  capture: "at_action" | "historical_lookup" | "fixture";
2668
2671
  locator?: string | undefined;
2669
2672
  }[];
@@ -2676,9 +2679,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2676
2679
  agentId: string;
2677
2680
  sessionId: string;
2678
2681
  evidence: {
2679
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2680
2682
  id: string;
2681
2683
  label: string;
2684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2682
2685
  capture: "at_action" | "historical_lookup" | "fixture";
2683
2686
  locator?: string | undefined;
2684
2687
  }[];
@@ -2690,9 +2693,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2690
2693
  agentId: string;
2691
2694
  sessionId: string;
2692
2695
  evidence: {
2693
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2694
2696
  id: string;
2695
2697
  label: string;
2698
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
2699
  capture: "at_action" | "historical_lookup" | "fixture";
2697
2700
  locator?: string | undefined;
2698
2701
  }[];
@@ -2701,13 +2704,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2701
2704
  recallReceiptId: string;
2702
2705
  staleDecisionAbsent: boolean;
2703
2706
  } | {
2704
- kind: "mission_completed";
2705
2707
  summary: string;
2708
+ kind: "mission_completed";
2706
2709
  outcome: "failed" | "recovered" | "inconclusive";
2707
2710
  evidence: {
2708
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2709
2711
  id: string;
2710
2712
  label: string;
2713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2711
2714
  capture: "at_action" | "historical_lookup" | "fixture";
2712
2715
  locator?: string | undefined;
2713
2716
  }[];
@@ -2717,37 +2720,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2717
2720
  objective: string;
2718
2721
  runMode: "replay" | "fixture" | "live";
2719
2722
  evidence?: {
2720
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2721
2723
  id: string;
2722
2724
  label: string;
2725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2723
2726
  capture: "at_action" | "historical_lookup" | "fixture";
2724
2727
  locator?: string | undefined;
2725
2728
  }[] | undefined;
2726
2729
  } | {
2730
+ label: string;
2731
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2727
2732
  kind: "agent_status";
2728
2733
  role: string;
2729
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2730
- label: string;
2731
2734
  agentId: string;
2732
2735
  sessionId: string;
2733
2736
  detail?: string | undefined;
2734
2737
  evidence?: {
2735
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2736
2738
  id: string;
2737
2739
  label: string;
2740
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2738
2741
  capture: "at_action" | "historical_lookup" | "fixture";
2739
2742
  locator?: string | undefined;
2740
2743
  }[] | undefined;
2741
2744
  } | {
2742
- kind: "agent_output";
2743
2745
  summary: string;
2746
+ kind: "agent_output";
2744
2747
  agentId: string;
2745
2748
  sessionId: string;
2746
2749
  outputId: string;
2747
2750
  evidence?: {
2748
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2749
2751
  id: string;
2750
2752
  label: string;
2753
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2751
2754
  capture: "at_action" | "historical_lookup" | "fixture";
2752
2755
  locator?: string | undefined;
2753
2756
  }[] | undefined;
@@ -2760,37 +2763,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2760
2763
  decisionId: string;
2761
2764
  confidence?: number | undefined;
2762
2765
  evidence?: {
2763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
2766
  id: string;
2765
2767
  label: string;
2768
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
2769
  capture: "at_action" | "historical_lookup" | "fixture";
2767
2770
  locator?: string | undefined;
2768
2771
  }[] | undefined;
2769
2772
  } | {
2770
- kind: "conflict_detected";
2771
2773
  summary: string;
2774
+ kind: "conflict_detected";
2772
2775
  conflictId: string;
2773
2776
  decisionIds: string[];
2774
2777
  agentIds: string[];
2775
2778
  evidence?: {
2776
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2777
2779
  id: string;
2778
2780
  label: string;
2781
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2779
2782
  capture: "at_action" | "historical_lookup" | "fixture";
2780
2783
  locator?: string | undefined;
2781
2784
  }[] | undefined;
2782
2785
  } | {
2783
- kind: "test_result";
2784
2786
  summary: string;
2785
- command: string;
2786
2787
  status: "error" | "failed" | "passed";
2788
+ kind: "test_result";
2789
+ command: string;
2787
2790
  decisionId: string;
2788
2791
  testId: string;
2789
2792
  durationMs?: number | undefined;
2790
2793
  evidence?: {
2791
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2792
2794
  id: string;
2793
2795
  label: string;
2796
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2794
2797
  capture: "at_action" | "historical_lookup" | "fixture";
2795
2798
  locator?: string | undefined;
2796
2799
  }[] | undefined;
@@ -2805,9 +2808,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2805
2808
  supersedesDecisionIds: string[];
2806
2809
  proposedBy: string;
2807
2810
  evidence?: {
2808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2809
2811
  id: string;
2810
2812
  label: string;
2813
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2811
2814
  capture: "at_action" | "historical_lookup" | "fixture";
2812
2815
  locator?: string | undefined;
2813
2816
  }[] | undefined;
@@ -2815,15 +2818,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2815
2818
  kind: "correction_approved";
2816
2819
  correctionId: string;
2817
2820
  approvedBy: {
2818
- kind: "agent" | "human";
2819
2821
  id: string;
2820
2822
  label: string;
2823
+ kind: "agent" | "human";
2821
2824
  };
2822
2825
  note?: string | undefined;
2823
2826
  evidence?: {
2824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2827
  id: string;
2826
2828
  label: string;
2829
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2827
2830
  capture: "at_action" | "historical_lookup" | "fixture";
2828
2831
  locator?: string | undefined;
2829
2832
  }[] | undefined;
@@ -2833,9 +2836,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2833
2836
  correctionId: string;
2834
2837
  replacementDecisionId: string;
2835
2838
  evidence?: {
2836
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2837
2839
  id: string;
2838
2840
  label: string;
2841
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
2842
  capture: "at_action" | "historical_lookup" | "fixture";
2840
2843
  locator?: string | undefined;
2841
2844
  }[] | undefined;
@@ -2848,9 +2851,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2848
2851
  recallReceiptId: string;
2849
2852
  capturedAtAction: boolean;
2850
2853
  evidence?: {
2851
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2852
2854
  id: string;
2853
2855
  label: string;
2856
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2854
2857
  capture: "at_action" | "historical_lookup" | "fixture";
2855
2858
  locator?: string | undefined;
2856
2859
  }[] | undefined;
@@ -2863,20 +2866,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2863
2866
  recallReceiptId: string;
2864
2867
  staleDecisionAbsent: boolean;
2865
2868
  evidence?: {
2866
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2867
2869
  id: string;
2868
2870
  label: string;
2871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2869
2872
  capture: "at_action" | "historical_lookup" | "fixture";
2870
2873
  locator?: string | undefined;
2871
2874
  }[] | undefined;
2872
2875
  } | {
2873
- kind: "mission_completed";
2874
2876
  summary: string;
2877
+ kind: "mission_completed";
2875
2878
  outcome: "failed" | "recovered" | "inconclusive";
2876
2879
  evidence?: {
2877
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2878
2880
  id: string;
2879
2881
  label: string;
2882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2880
2883
  capture: "at_action" | "historical_lookup" | "fixture";
2881
2884
  locator?: string | undefined;
2882
2885
  }[] | undefined;
@@ -2886,38 +2889,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2886
2889
  kind: "mission_started";
2887
2890
  title: string;
2888
2891
  evidence: {
2889
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
2892
  id: string;
2891
2893
  label: string;
2894
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2895
  capture: "at_action" | "historical_lookup" | "fixture";
2893
2896
  locator?: string | undefined;
2894
2897
  }[];
2895
2898
  objective: string;
2896
2899
  runMode: "replay" | "fixture" | "live";
2897
2900
  } | {
2901
+ label: string;
2902
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2898
2903
  kind: "agent_status";
2899
2904
  role: string;
2900
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2901
- label: string;
2902
2905
  agentId: string;
2903
2906
  sessionId: string;
2904
2907
  evidence: {
2905
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2906
2908
  id: string;
2907
2909
  label: string;
2910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2908
2911
  capture: "at_action" | "historical_lookup" | "fixture";
2909
2912
  locator?: string | undefined;
2910
2913
  }[];
2911
2914
  detail?: string | undefined;
2912
2915
  } | {
2913
- kind: "agent_output";
2914
2916
  summary: string;
2917
+ kind: "agent_output";
2915
2918
  agentId: string;
2916
2919
  sessionId: string;
2917
2920
  evidence: {
2918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
2921
  id: string;
2920
2922
  label: string;
2923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2921
2924
  capture: "at_action" | "historical_lookup" | "fixture";
2922
2925
  locator?: string | undefined;
2923
2926
  }[];
@@ -2928,9 +2931,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2928
2931
  statement: string;
2929
2932
  sessionId: string;
2930
2933
  evidence: {
2931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2932
2934
  id: string;
2933
2935
  label: string;
2936
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2934
2937
  capture: "at_action" | "historical_lookup" | "fixture";
2935
2938
  locator?: string | undefined;
2936
2939
  }[];
@@ -2938,12 +2941,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2938
2941
  decisionId: string;
2939
2942
  confidence?: number | undefined;
2940
2943
  } | {
2941
- kind: "conflict_detected";
2942
2944
  summary: string;
2945
+ kind: "conflict_detected";
2943
2946
  evidence: {
2944
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2945
2947
  id: string;
2946
2948
  label: string;
2949
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2947
2950
  capture: "at_action" | "historical_lookup" | "fixture";
2948
2951
  locator?: string | undefined;
2949
2952
  }[];
@@ -2951,14 +2954,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2951
2954
  decisionIds: string[];
2952
2955
  agentIds: string[];
2953
2956
  } | {
2954
- kind: "test_result";
2955
2957
  summary: string;
2956
- command: string;
2957
2958
  status: "error" | "failed" | "passed";
2959
+ kind: "test_result";
2960
+ command: string;
2958
2961
  evidence: {
2959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2960
2962
  id: string;
2961
2963
  label: string;
2964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
2965
  capture: "at_action" | "historical_lookup" | "fixture";
2963
2966
  locator?: string | undefined;
2964
2967
  }[];
@@ -2971,9 +2974,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2971
2974
  rationale: string;
2972
2975
  statement: string;
2973
2976
  evidence: {
2974
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2975
2977
  id: string;
2976
2978
  label: string;
2979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2977
2980
  capture: "at_action" | "historical_lookup" | "fixture";
2978
2981
  locator?: string | undefined;
2979
2982
  }[];
@@ -2985,25 +2988,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2985
2988
  } | {
2986
2989
  kind: "correction_approved";
2987
2990
  evidence: {
2988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
2991
  id: string;
2990
2992
  label: string;
2993
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2991
2994
  capture: "at_action" | "historical_lookup" | "fixture";
2992
2995
  locator?: string | undefined;
2993
2996
  }[];
2994
2997
  correctionId: string;
2995
2998
  approvedBy: {
2996
- kind: "agent" | "human";
2997
2999
  id: string;
2998
3000
  label: string;
3001
+ kind: "agent" | "human";
2999
3002
  };
3000
3003
  note?: string | undefined;
3001
3004
  } | {
3002
3005
  kind: "decision_superseded";
3003
3006
  evidence: {
3004
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3005
3007
  id: string;
3006
3008
  label: string;
3009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3007
3010
  capture: "at_action" | "historical_lookup" | "fixture";
3008
3011
  locator?: string | undefined;
3009
3012
  }[];
@@ -3016,9 +3019,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3016
3019
  agentId: string;
3017
3020
  sessionId: string;
3018
3021
  evidence: {
3019
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3020
3022
  id: string;
3021
3023
  label: string;
3024
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3022
3025
  capture: "at_action" | "historical_lookup" | "fixture";
3023
3026
  locator?: string | undefined;
3024
3027
  }[];
@@ -3030,9 +3033,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3030
3033
  agentId: string;
3031
3034
  sessionId: string;
3032
3035
  evidence: {
3033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
3036
  id: string;
3035
3037
  label: string;
3038
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3036
3039
  capture: "at_action" | "historical_lookup" | "fixture";
3037
3040
  locator?: string | undefined;
3038
3041
  }[];
@@ -3041,13 +3044,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3041
3044
  recallReceiptId: string;
3042
3045
  staleDecisionAbsent: boolean;
3043
3046
  } | {
3044
- kind: "mission_completed";
3045
3047
  summary: string;
3048
+ kind: "mission_completed";
3046
3049
  outcome: "failed" | "recovered" | "inconclusive";
3047
3050
  evidence: {
3048
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3051
  id: string;
3050
3052
  label: string;
3053
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
3054
  capture: "at_action" | "historical_lookup" | "fixture";
3052
3055
  locator?: string | undefined;
3053
3056
  }[];
@@ -3061,37 +3064,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3061
3064
  objective: string;
3062
3065
  runMode: "replay" | "fixture" | "live";
3063
3066
  evidence?: {
3064
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3065
3067
  id: string;
3066
3068
  label: string;
3069
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3067
3070
  capture: "at_action" | "historical_lookup" | "fixture";
3068
3071
  locator?: string | undefined;
3069
3072
  }[] | undefined;
3070
3073
  } | {
3074
+ label: string;
3075
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3071
3076
  kind: "agent_status";
3072
3077
  role: string;
3073
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3074
- label: string;
3075
3078
  agentId: string;
3076
3079
  sessionId: string;
3077
3080
  detail?: string | undefined;
3078
3081
  evidence?: {
3079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3080
3082
  id: string;
3081
3083
  label: string;
3084
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3082
3085
  capture: "at_action" | "historical_lookup" | "fixture";
3083
3086
  locator?: string | undefined;
3084
3087
  }[] | undefined;
3085
3088
  } | {
3086
- kind: "agent_output";
3087
3089
  summary: string;
3090
+ kind: "agent_output";
3088
3091
  agentId: string;
3089
3092
  sessionId: string;
3090
3093
  outputId: string;
3091
3094
  evidence?: {
3092
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3093
3095
  id: string;
3094
3096
  label: string;
3097
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3095
3098
  capture: "at_action" | "historical_lookup" | "fixture";
3096
3099
  locator?: string | undefined;
3097
3100
  }[] | undefined;
@@ -3104,37 +3107,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3104
3107
  decisionId: string;
3105
3108
  confidence?: number | undefined;
3106
3109
  evidence?: {
3107
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3108
3110
  id: string;
3109
3111
  label: string;
3112
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3110
3113
  capture: "at_action" | "historical_lookup" | "fixture";
3111
3114
  locator?: string | undefined;
3112
3115
  }[] | undefined;
3113
3116
  } | {
3114
- kind: "conflict_detected";
3115
3117
  summary: string;
3118
+ kind: "conflict_detected";
3116
3119
  conflictId: string;
3117
3120
  decisionIds: string[];
3118
3121
  agentIds: string[];
3119
3122
  evidence?: {
3120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3121
3123
  id: string;
3122
3124
  label: string;
3125
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3123
3126
  capture: "at_action" | "historical_lookup" | "fixture";
3124
3127
  locator?: string | undefined;
3125
3128
  }[] | undefined;
3126
3129
  } | {
3127
- kind: "test_result";
3128
3130
  summary: string;
3129
- command: string;
3130
3131
  status: "error" | "failed" | "passed";
3132
+ kind: "test_result";
3133
+ command: string;
3131
3134
  decisionId: string;
3132
3135
  testId: string;
3133
3136
  durationMs?: number | undefined;
3134
3137
  evidence?: {
3135
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3136
3138
  id: string;
3137
3139
  label: string;
3140
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3138
3141
  capture: "at_action" | "historical_lookup" | "fixture";
3139
3142
  locator?: string | undefined;
3140
3143
  }[] | undefined;
@@ -3149,9 +3152,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3149
3152
  supersedesDecisionIds: string[];
3150
3153
  proposedBy: string;
3151
3154
  evidence?: {
3152
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3153
3155
  id: string;
3154
3156
  label: string;
3157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3158
  capture: "at_action" | "historical_lookup" | "fixture";
3156
3159
  locator?: string | undefined;
3157
3160
  }[] | undefined;
@@ -3159,15 +3162,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3159
3162
  kind: "correction_approved";
3160
3163
  correctionId: string;
3161
3164
  approvedBy: {
3162
- kind: "agent" | "human";
3163
3165
  id: string;
3164
3166
  label: string;
3167
+ kind: "agent" | "human";
3165
3168
  };
3166
3169
  note?: string | undefined;
3167
3170
  evidence?: {
3168
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3169
3171
  id: string;
3170
3172
  label: string;
3173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3171
3174
  capture: "at_action" | "historical_lookup" | "fixture";
3172
3175
  locator?: string | undefined;
3173
3176
  }[] | undefined;
@@ -3177,9 +3180,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3177
3180
  correctionId: string;
3178
3181
  replacementDecisionId: string;
3179
3182
  evidence?: {
3180
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3181
3183
  id: string;
3182
3184
  label: string;
3185
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3183
3186
  capture: "at_action" | "historical_lookup" | "fixture";
3184
3187
  locator?: string | undefined;
3185
3188
  }[] | undefined;
@@ -3192,9 +3195,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3192
3195
  recallReceiptId: string;
3193
3196
  capturedAtAction: boolean;
3194
3197
  evidence?: {
3195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3196
3198
  id: string;
3197
3199
  label: string;
3200
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3198
3201
  capture: "at_action" | "historical_lookup" | "fixture";
3199
3202
  locator?: string | undefined;
3200
3203
  }[] | undefined;
@@ -3207,20 +3210,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3207
3210
  recallReceiptId: string;
3208
3211
  staleDecisionAbsent: boolean;
3209
3212
  evidence?: {
3210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3211
3213
  id: string;
3212
3214
  label: string;
3215
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3213
3216
  capture: "at_action" | "historical_lookup" | "fixture";
3214
3217
  locator?: string | undefined;
3215
3218
  }[] | undefined;
3216
3219
  } | {
3217
- kind: "mission_completed";
3218
3220
  summary: string;
3221
+ kind: "mission_completed";
3219
3222
  outcome: "failed" | "recovered" | "inconclusive";
3220
3223
  evidence?: {
3221
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3222
3224
  id: string;
3223
3225
  label: string;
3226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3224
3227
  capture: "at_action" | "historical_lookup" | "fixture";
3225
3228
  locator?: string | undefined;
3226
3229
  }[] | undefined;
@@ -3250,15 +3253,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3250
3253
  locator: z.ZodOptional<z.ZodString>;
3251
3254
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3252
3255
  }, "strict", z.ZodTypeAny, {
3253
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3254
3256
  id: string;
3255
3257
  label: string;
3258
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3256
3259
  capture: "at_action" | "historical_lookup" | "fixture";
3257
3260
  locator?: string | undefined;
3258
3261
  }, {
3259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3260
3262
  id: string;
3261
3263
  label: string;
3264
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
3265
  capture: "at_action" | "historical_lookup" | "fixture";
3263
3266
  locator?: string | undefined;
3264
3267
  }>, "many">>;
@@ -3266,9 +3269,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3266
3269
  kind: "mission_started";
3267
3270
  title: string;
3268
3271
  evidence: {
3269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3270
3272
  id: string;
3271
3273
  label: string;
3274
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3272
3275
  capture: "at_action" | "historical_lookup" | "fixture";
3273
3276
  locator?: string | undefined;
3274
3277
  }[];
@@ -3280,9 +3283,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3280
3283
  objective: string;
3281
3284
  runMode: "replay" | "fixture" | "live";
3282
3285
  evidence?: {
3283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3284
3286
  id: string;
3285
3287
  label: string;
3288
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
3289
  capture: "at_action" | "historical_lookup" | "fixture";
3287
3290
  locator?: string | undefined;
3288
3291
  }[] | undefined;
@@ -3298,15 +3301,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3298
3301
  locator: z.ZodOptional<z.ZodString>;
3299
3302
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3300
3303
  }, "strict", z.ZodTypeAny, {
3301
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
3304
  id: string;
3303
3305
  label: string;
3306
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
3307
  capture: "at_action" | "historical_lookup" | "fixture";
3305
3308
  locator?: string | undefined;
3306
3309
  }, {
3307
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3310
  id: string;
3309
3311
  label: string;
3312
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3310
3313
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3314
  locator?: string | undefined;
3312
3315
  }>, "many">>;
@@ -3314,32 +3317,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3314
3317
  sessionId: z.ZodString;
3315
3318
  kind: z.ZodLiteral<"agent_status">;
3316
3319
  }, "strict", z.ZodTypeAny, {
3320
+ label: string;
3321
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3317
3322
  kind: "agent_status";
3318
3323
  role: string;
3319
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3320
- label: string;
3321
3324
  agentId: string;
3322
3325
  sessionId: string;
3323
3326
  evidence: {
3324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3325
3327
  id: string;
3326
3328
  label: string;
3329
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3330
  capture: "at_action" | "historical_lookup" | "fixture";
3328
3331
  locator?: string | undefined;
3329
3332
  }[];
3330
3333
  detail?: string | undefined;
3331
3334
  }, {
3335
+ label: string;
3336
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3332
3337
  kind: "agent_status";
3333
3338
  role: string;
3334
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3335
- label: string;
3336
3339
  agentId: string;
3337
3340
  sessionId: string;
3338
3341
  detail?: string | undefined;
3339
3342
  evidence?: {
3340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
3343
  id: string;
3342
3344
  label: string;
3345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3343
3346
  capture: "at_action" | "historical_lookup" | "fixture";
3344
3347
  locator?: string | undefined;
3345
3348
  }[] | undefined;
@@ -3353,15 +3356,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3353
3356
  locator: z.ZodOptional<z.ZodString>;
3354
3357
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3355
3358
  }, "strict", z.ZodTypeAny, {
3356
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3357
3359
  id: string;
3358
3360
  label: string;
3361
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3359
3362
  capture: "at_action" | "historical_lookup" | "fixture";
3360
3363
  locator?: string | undefined;
3361
3364
  }, {
3362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3363
3365
  id: string;
3364
3366
  label: string;
3367
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3365
3368
  capture: "at_action" | "historical_lookup" | "fixture";
3366
3369
  locator?: string | undefined;
3367
3370
  }>, "many">>;
@@ -3369,28 +3372,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3369
3372
  sessionId: z.ZodString;
3370
3373
  kind: z.ZodLiteral<"agent_output">;
3371
3374
  }, "strict", z.ZodTypeAny, {
3372
- kind: "agent_output";
3373
3375
  summary: string;
3376
+ kind: "agent_output";
3374
3377
  agentId: string;
3375
3378
  sessionId: string;
3376
3379
  evidence: {
3377
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3378
3380
  id: string;
3379
3381
  label: string;
3382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3380
3383
  capture: "at_action" | "historical_lookup" | "fixture";
3381
3384
  locator?: string | undefined;
3382
3385
  }[];
3383
3386
  outputId: string;
3384
3387
  }, {
3385
- kind: "agent_output";
3386
3388
  summary: string;
3389
+ kind: "agent_output";
3387
3390
  agentId: string;
3388
3391
  sessionId: string;
3389
3392
  outputId: string;
3390
3393
  evidence?: {
3391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
3394
  id: string;
3393
3395
  label: string;
3396
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3394
3397
  capture: "at_action" | "historical_lookup" | "fixture";
3395
3398
  locator?: string | undefined;
3396
3399
  }[] | undefined;
@@ -3406,15 +3409,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3406
3409
  locator: z.ZodOptional<z.ZodString>;
3407
3410
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3408
3411
  }, "strict", z.ZodTypeAny, {
3409
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3410
3412
  id: string;
3411
3413
  label: string;
3414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
3415
  capture: "at_action" | "historical_lookup" | "fixture";
3413
3416
  locator?: string | undefined;
3414
3417
  }, {
3415
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3418
  id: string;
3417
3419
  label: string;
3420
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3421
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3422
  locator?: string | undefined;
3420
3423
  }>, "many">>;
@@ -3427,9 +3430,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3427
3430
  statement: string;
3428
3431
  sessionId: string;
3429
3432
  evidence: {
3430
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3431
3433
  id: string;
3432
3434
  label: string;
3435
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3433
3436
  capture: "at_action" | "historical_lookup" | "fixture";
3434
3437
  locator?: string | undefined;
3435
3438
  }[];
@@ -3445,9 +3448,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3445
3448
  decisionId: string;
3446
3449
  confidence?: number | undefined;
3447
3450
  evidence?: {
3448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3449
3451
  id: string;
3450
3452
  label: string;
3453
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3451
3454
  capture: "at_action" | "historical_lookup" | "fixture";
3452
3455
  locator?: string | undefined;
3453
3456
  }[] | undefined;
@@ -3464,25 +3467,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3464
3467
  locator: z.ZodOptional<z.ZodString>;
3465
3468
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3466
3469
  }, "strict", z.ZodTypeAny, {
3467
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3468
3470
  id: string;
3469
3471
  label: string;
3472
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3470
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3471
3474
  locator?: string | undefined;
3472
3475
  }, {
3473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
3476
  id: string;
3475
3477
  label: string;
3478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
3479
  capture: "at_action" | "historical_lookup" | "fixture";
3477
3480
  locator?: string | undefined;
3478
3481
  }>, "many">>;
3479
3482
  }, "strict", z.ZodTypeAny, {
3480
- kind: "conflict_detected";
3481
3483
  summary: string;
3484
+ kind: "conflict_detected";
3482
3485
  evidence: {
3483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
3486
  id: string;
3485
3487
  label: string;
3488
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3486
3489
  capture: "at_action" | "historical_lookup" | "fixture";
3487
3490
  locator?: string | undefined;
3488
3491
  }[];
@@ -3490,15 +3493,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3490
3493
  decisionIds: string[];
3491
3494
  agentIds: string[];
3492
3495
  }, {
3493
- kind: "conflict_detected";
3494
3496
  summary: string;
3497
+ kind: "conflict_detected";
3495
3498
  conflictId: string;
3496
3499
  decisionIds: string[];
3497
3500
  agentIds: string[];
3498
3501
  evidence?: {
3499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
3502
  id: string;
3501
3503
  label: string;
3504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3502
3505
  capture: "at_action" | "historical_lookup" | "fixture";
3503
3506
  locator?: string | undefined;
3504
3507
  }[] | undefined;
@@ -3518,27 +3521,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3518
3521
  locator: z.ZodOptional<z.ZodString>;
3519
3522
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3520
3523
  }, "strict", z.ZodTypeAny, {
3521
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3522
3524
  id: string;
3523
3525
  label: string;
3526
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3524
3527
  capture: "at_action" | "historical_lookup" | "fixture";
3525
3528
  locator?: string | undefined;
3526
3529
  }, {
3527
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3528
3530
  id: string;
3529
3531
  label: string;
3532
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3530
3533
  capture: "at_action" | "historical_lookup" | "fixture";
3531
3534
  locator?: string | undefined;
3532
3535
  }>, "many">>;
3533
3536
  }, "strict", z.ZodTypeAny, {
3534
- kind: "test_result";
3535
3537
  summary: string;
3536
- command: string;
3537
3538
  status: "error" | "failed" | "passed";
3539
+ kind: "test_result";
3540
+ command: string;
3538
3541
  evidence: {
3539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3540
3542
  id: string;
3541
3543
  label: string;
3544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3542
3545
  capture: "at_action" | "historical_lookup" | "fixture";
3543
3546
  locator?: string | undefined;
3544
3547
  }[];
@@ -3547,17 +3550,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3547
3550
  durationMs?: number | undefined;
3548
3551
  correctionId?: string | undefined;
3549
3552
  }, {
3550
- kind: "test_result";
3551
3553
  summary: string;
3552
- command: string;
3553
3554
  status: "error" | "failed" | "passed";
3555
+ kind: "test_result";
3556
+ command: string;
3554
3557
  decisionId: string;
3555
3558
  testId: string;
3556
3559
  durationMs?: number | undefined;
3557
3560
  evidence?: {
3558
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3561
  id: string;
3560
3562
  label: string;
3563
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3561
3564
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3565
  locator?: string | undefined;
3563
3566
  }[] | undefined;
@@ -3578,15 +3581,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3578
3581
  locator: z.ZodOptional<z.ZodString>;
3579
3582
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3580
3583
  }, "strict", z.ZodTypeAny, {
3581
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
3584
  id: string;
3583
3585
  label: string;
3586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3584
3587
  capture: "at_action" | "historical_lookup" | "fixture";
3585
3588
  locator?: string | undefined;
3586
3589
  }, {
3587
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3588
3590
  id: string;
3589
3591
  label: string;
3592
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3590
3593
  capture: "at_action" | "historical_lookup" | "fixture";
3591
3594
  locator?: string | undefined;
3592
3595
  }>, "many">>;
@@ -3595,9 +3598,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3595
3598
  rationale: string;
3596
3599
  statement: string;
3597
3600
  evidence: {
3598
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3599
3601
  id: string;
3600
3602
  label: string;
3603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3601
3604
  capture: "at_action" | "historical_lookup" | "fixture";
3602
3605
  locator?: string | undefined;
3603
3606
  }[];
@@ -3616,9 +3619,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3616
3619
  supersedesDecisionIds: string[];
3617
3620
  proposedBy: string;
3618
3621
  evidence?: {
3619
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
3622
  id: string;
3621
3623
  label: string;
3624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3623
3626
  locator?: string | undefined;
3624
3627
  }[] | undefined;
@@ -3630,13 +3633,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3630
3633
  id: z.ZodString;
3631
3634
  label: z.ZodString;
3632
3635
  }, "strict", z.ZodTypeAny, {
3633
- kind: "agent" | "human";
3634
3636
  id: string;
3635
3637
  label: string;
3636
- }, {
3637
3638
  kind: "agent" | "human";
3639
+ }, {
3638
3640
  id: string;
3639
3641
  label: string;
3642
+ kind: "agent" | "human";
3640
3643
  }>;
3641
3644
  note: z.ZodOptional<z.ZodString>;
3642
3645
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3646,47 +3649,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3646
3649
  locator: z.ZodOptional<z.ZodString>;
3647
3650
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3648
3651
  }, "strict", z.ZodTypeAny, {
3649
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3650
3652
  id: string;
3651
3653
  label: string;
3654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3652
3655
  capture: "at_action" | "historical_lookup" | "fixture";
3653
3656
  locator?: string | undefined;
3654
3657
  }, {
3655
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3656
3658
  id: string;
3657
3659
  label: string;
3660
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3658
3661
  capture: "at_action" | "historical_lookup" | "fixture";
3659
3662
  locator?: string | undefined;
3660
3663
  }>, "many">>;
3661
3664
  }, "strict", z.ZodTypeAny, {
3662
3665
  kind: "correction_approved";
3663
3666
  evidence: {
3664
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
3667
  id: string;
3666
3668
  label: string;
3669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
3670
  capture: "at_action" | "historical_lookup" | "fixture";
3668
3671
  locator?: string | undefined;
3669
3672
  }[];
3670
3673
  correctionId: string;
3671
3674
  approvedBy: {
3672
- kind: "agent" | "human";
3673
3675
  id: string;
3674
3676
  label: string;
3677
+ kind: "agent" | "human";
3675
3678
  };
3676
3679
  note?: string | undefined;
3677
3680
  }, {
3678
3681
  kind: "correction_approved";
3679
3682
  correctionId: string;
3680
3683
  approvedBy: {
3681
- kind: "agent" | "human";
3682
3684
  id: string;
3683
3685
  label: string;
3686
+ kind: "agent" | "human";
3684
3687
  };
3685
3688
  note?: string | undefined;
3686
3689
  evidence?: {
3687
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
3690
  id: string;
3689
3691
  label: string;
3692
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3690
3693
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3694
  locator?: string | undefined;
3692
3695
  }[] | undefined;
@@ -3702,24 +3705,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3702
3705
  locator: z.ZodOptional<z.ZodString>;
3703
3706
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3704
3707
  }, "strict", z.ZodTypeAny, {
3705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3706
3708
  id: string;
3707
3709
  label: string;
3710
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
3711
  capture: "at_action" | "historical_lookup" | "fixture";
3709
3712
  locator?: string | undefined;
3710
3713
  }, {
3711
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3712
3714
  id: string;
3713
3715
  label: string;
3716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3714
3717
  capture: "at_action" | "historical_lookup" | "fixture";
3715
3718
  locator?: string | undefined;
3716
3719
  }>, "many">>;
3717
3720
  }, "strict", z.ZodTypeAny, {
3718
3721
  kind: "decision_superseded";
3719
3722
  evidence: {
3720
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3721
3723
  id: string;
3722
3724
  label: string;
3725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3723
3726
  capture: "at_action" | "historical_lookup" | "fixture";
3724
3727
  locator?: string | undefined;
3725
3728
  }[];
@@ -3732,9 +3735,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3732
3735
  correctionId: string;
3733
3736
  replacementDecisionId: string;
3734
3737
  evidence?: {
3735
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
3738
  id: string;
3737
3739
  label: string;
3740
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
3741
  capture: "at_action" | "historical_lookup" | "fixture";
3739
3742
  locator?: string | undefined;
3740
3743
  }[] | undefined;
@@ -3750,15 +3753,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3750
3753
  locator: z.ZodOptional<z.ZodString>;
3751
3754
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3752
3755
  }, "strict", z.ZodTypeAny, {
3753
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3754
3756
  id: string;
3755
3757
  label: string;
3758
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3756
3759
  capture: "at_action" | "historical_lookup" | "fixture";
3757
3760
  locator?: string | undefined;
3758
3761
  }, {
3759
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3760
3762
  id: string;
3761
3763
  label: string;
3764
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3762
3765
  capture: "at_action" | "historical_lookup" | "fixture";
3763
3766
  locator?: string | undefined;
3764
3767
  }>, "many">>;
@@ -3771,9 +3774,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3771
3774
  agentId: string;
3772
3775
  sessionId: string;
3773
3776
  evidence: {
3774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3775
3777
  id: string;
3776
3778
  label: string;
3779
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
3780
  capture: "at_action" | "historical_lookup" | "fixture";
3778
3781
  locator?: string | undefined;
3779
3782
  }[];
@@ -3789,9 +3792,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3789
3792
  recallReceiptId: string;
3790
3793
  capturedAtAction: boolean;
3791
3794
  evidence?: {
3792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3793
3795
  id: string;
3794
3796
  label: string;
3797
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
3798
  capture: "at_action" | "historical_lookup" | "fixture";
3796
3799
  locator?: string | undefined;
3797
3800
  }[] | undefined;
@@ -3807,15 +3810,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3807
3810
  locator: z.ZodOptional<z.ZodString>;
3808
3811
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3809
3812
  }, "strict", z.ZodTypeAny, {
3810
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3811
3813
  id: string;
3812
3814
  label: string;
3815
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3813
3816
  capture: "at_action" | "historical_lookup" | "fixture";
3814
3817
  locator?: string | undefined;
3815
3818
  }, {
3816
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3819
  id: string;
3818
3820
  label: string;
3821
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3819
3822
  capture: "at_action" | "historical_lookup" | "fixture";
3820
3823
  locator?: string | undefined;
3821
3824
  }>, "many">>;
@@ -3827,9 +3830,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3827
3830
  agentId: string;
3828
3831
  sessionId: string;
3829
3832
  evidence: {
3830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3833
  id: string;
3832
3834
  label: string;
3835
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3833
3836
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3837
  locator?: string | undefined;
3835
3838
  }[];
@@ -3846,9 +3849,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3846
3849
  recallReceiptId: string;
3847
3850
  staleDecisionAbsent: boolean;
3848
3851
  evidence?: {
3849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3850
3852
  id: string;
3851
3853
  label: string;
3854
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3852
3855
  capture: "at_action" | "historical_lookup" | "fixture";
3853
3856
  locator?: string | undefined;
3854
3857
  }[] | undefined;
@@ -3863,37 +3866,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3863
3866
  locator: z.ZodOptional<z.ZodString>;
3864
3867
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3865
3868
  }, "strict", z.ZodTypeAny, {
3866
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3867
3869
  id: string;
3868
3870
  label: string;
3871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
3872
  capture: "at_action" | "historical_lookup" | "fixture";
3870
3873
  locator?: string | undefined;
3871
3874
  }, {
3872
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3873
3875
  id: string;
3874
3876
  label: string;
3877
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
3878
  capture: "at_action" | "historical_lookup" | "fixture";
3876
3879
  locator?: string | undefined;
3877
3880
  }>, "many">>;
3878
3881
  }, "strict", z.ZodTypeAny, {
3879
- kind: "mission_completed";
3880
3882
  summary: string;
3883
+ kind: "mission_completed";
3881
3884
  outcome: "failed" | "recovered" | "inconclusive";
3882
3885
  evidence: {
3883
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3884
3886
  id: string;
3885
3887
  label: string;
3888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
3889
  capture: "at_action" | "historical_lookup" | "fixture";
3887
3890
  locator?: string | undefined;
3888
3891
  }[];
3889
3892
  }, {
3890
- kind: "mission_completed";
3891
3893
  summary: string;
3894
+ kind: "mission_completed";
3892
3895
  outcome: "failed" | "recovered" | "inconclusive";
3893
3896
  evidence?: {
3894
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3897
  id: string;
3896
3898
  label: string;
3899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3901
  locator?: string | undefined;
3899
3902
  }[] | undefined;
@@ -3901,38 +3904,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3901
3904
  kind: "mission_started";
3902
3905
  title: string;
3903
3906
  evidence: {
3904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3905
3907
  id: string;
3906
3908
  label: string;
3909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
3910
  capture: "at_action" | "historical_lookup" | "fixture";
3908
3911
  locator?: string | undefined;
3909
3912
  }[];
3910
3913
  objective: string;
3911
3914
  runMode: "replay" | "fixture" | "live";
3912
3915
  } | {
3916
+ label: string;
3917
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3913
3918
  kind: "agent_status";
3914
3919
  role: string;
3915
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3916
- label: string;
3917
3920
  agentId: string;
3918
3921
  sessionId: string;
3919
3922
  evidence: {
3920
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3921
3923
  id: string;
3922
3924
  label: string;
3925
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3923
3926
  capture: "at_action" | "historical_lookup" | "fixture";
3924
3927
  locator?: string | undefined;
3925
3928
  }[];
3926
3929
  detail?: string | undefined;
3927
3930
  } | {
3928
- kind: "agent_output";
3929
3931
  summary: string;
3932
+ kind: "agent_output";
3930
3933
  agentId: string;
3931
3934
  sessionId: string;
3932
3935
  evidence: {
3933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
3936
  id: string;
3935
3937
  label: string;
3938
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3936
3939
  capture: "at_action" | "historical_lookup" | "fixture";
3937
3940
  locator?: string | undefined;
3938
3941
  }[];
@@ -3943,9 +3946,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3943
3946
  statement: string;
3944
3947
  sessionId: string;
3945
3948
  evidence: {
3946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
3949
  id: string;
3948
3950
  label: string;
3951
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
3952
  capture: "at_action" | "historical_lookup" | "fixture";
3950
3953
  locator?: string | undefined;
3951
3954
  }[];
@@ -3953,12 +3956,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3953
3956
  decisionId: string;
3954
3957
  confidence?: number | undefined;
3955
3958
  } | {
3956
- kind: "conflict_detected";
3957
3959
  summary: string;
3960
+ kind: "conflict_detected";
3958
3961
  evidence: {
3959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3960
3962
  id: string;
3961
3963
  label: string;
3964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3962
3965
  capture: "at_action" | "historical_lookup" | "fixture";
3963
3966
  locator?: string | undefined;
3964
3967
  }[];
@@ -3966,14 +3969,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3966
3969
  decisionIds: string[];
3967
3970
  agentIds: string[];
3968
3971
  } | {
3969
- kind: "test_result";
3970
3972
  summary: string;
3971
- command: string;
3972
3973
  status: "error" | "failed" | "passed";
3974
+ kind: "test_result";
3975
+ command: string;
3973
3976
  evidence: {
3974
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3975
3977
  id: string;
3976
3978
  label: string;
3979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
3980
  capture: "at_action" | "historical_lookup" | "fixture";
3978
3981
  locator?: string | undefined;
3979
3982
  }[];
@@ -3986,9 +3989,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3986
3989
  rationale: string;
3987
3990
  statement: string;
3988
3991
  evidence: {
3989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
3992
  id: string;
3991
3993
  label: string;
3994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3992
3995
  capture: "at_action" | "historical_lookup" | "fixture";
3993
3996
  locator?: string | undefined;
3994
3997
  }[];
@@ -4000,25 +4003,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4000
4003
  } | {
4001
4004
  kind: "correction_approved";
4002
4005
  evidence: {
4003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4004
4006
  id: string;
4005
4007
  label: string;
4008
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
4009
  capture: "at_action" | "historical_lookup" | "fixture";
4007
4010
  locator?: string | undefined;
4008
4011
  }[];
4009
4012
  correctionId: string;
4010
4013
  approvedBy: {
4011
- kind: "agent" | "human";
4012
4014
  id: string;
4013
4015
  label: string;
4016
+ kind: "agent" | "human";
4014
4017
  };
4015
4018
  note?: string | undefined;
4016
4019
  } | {
4017
4020
  kind: "decision_superseded";
4018
4021
  evidence: {
4019
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4020
4022
  id: string;
4021
4023
  label: string;
4024
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4022
4025
  capture: "at_action" | "historical_lookup" | "fixture";
4023
4026
  locator?: string | undefined;
4024
4027
  }[];
@@ -4031,9 +4034,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4031
4034
  agentId: string;
4032
4035
  sessionId: string;
4033
4036
  evidence: {
4034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4035
4037
  id: string;
4036
4038
  label: string;
4039
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4037
4040
  capture: "at_action" | "historical_lookup" | "fixture";
4038
4041
  locator?: string | undefined;
4039
4042
  }[];
@@ -4045,9 +4048,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4045
4048
  agentId: string;
4046
4049
  sessionId: string;
4047
4050
  evidence: {
4048
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4049
4051
  id: string;
4050
4052
  label: string;
4053
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
4054
  capture: "at_action" | "historical_lookup" | "fixture";
4052
4055
  locator?: string | undefined;
4053
4056
  }[];
@@ -4056,13 +4059,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4056
4059
  recallReceiptId: string;
4057
4060
  staleDecisionAbsent: boolean;
4058
4061
  } | {
4059
- kind: "mission_completed";
4060
4062
  summary: string;
4063
+ kind: "mission_completed";
4061
4064
  outcome: "failed" | "recovered" | "inconclusive";
4062
4065
  evidence: {
4063
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4064
4066
  id: string;
4065
4067
  label: string;
4068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4066
4069
  capture: "at_action" | "historical_lookup" | "fixture";
4067
4070
  locator?: string | undefined;
4068
4071
  }[];
@@ -4072,37 +4075,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4072
4075
  objective: string;
4073
4076
  runMode: "replay" | "fixture" | "live";
4074
4077
  evidence?: {
4075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4076
4078
  id: string;
4077
4079
  label: string;
4080
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4078
4081
  capture: "at_action" | "historical_lookup" | "fixture";
4079
4082
  locator?: string | undefined;
4080
4083
  }[] | undefined;
4081
4084
  } | {
4085
+ label: string;
4086
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4082
4087
  kind: "agent_status";
4083
4088
  role: string;
4084
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4085
- label: string;
4086
4089
  agentId: string;
4087
4090
  sessionId: string;
4088
4091
  detail?: string | undefined;
4089
4092
  evidence?: {
4090
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4091
4093
  id: string;
4092
4094
  label: string;
4095
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4093
4096
  capture: "at_action" | "historical_lookup" | "fixture";
4094
4097
  locator?: string | undefined;
4095
4098
  }[] | undefined;
4096
4099
  } | {
4097
- kind: "agent_output";
4098
4100
  summary: string;
4101
+ kind: "agent_output";
4099
4102
  agentId: string;
4100
4103
  sessionId: string;
4101
4104
  outputId: string;
4102
4105
  evidence?: {
4103
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4104
4106
  id: string;
4105
4107
  label: string;
4108
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4106
4109
  capture: "at_action" | "historical_lookup" | "fixture";
4107
4110
  locator?: string | undefined;
4108
4111
  }[] | undefined;
@@ -4115,37 +4118,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4115
4118
  decisionId: string;
4116
4119
  confidence?: number | undefined;
4117
4120
  evidence?: {
4118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
4121
  id: string;
4120
4122
  label: string;
4123
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
4124
  capture: "at_action" | "historical_lookup" | "fixture";
4122
4125
  locator?: string | undefined;
4123
4126
  }[] | undefined;
4124
4127
  } | {
4125
- kind: "conflict_detected";
4126
4128
  summary: string;
4129
+ kind: "conflict_detected";
4127
4130
  conflictId: string;
4128
4131
  decisionIds: string[];
4129
4132
  agentIds: string[];
4130
4133
  evidence?: {
4131
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4132
4134
  id: string;
4133
4135
  label: string;
4136
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4134
4137
  capture: "at_action" | "historical_lookup" | "fixture";
4135
4138
  locator?: string | undefined;
4136
4139
  }[] | undefined;
4137
4140
  } | {
4138
- kind: "test_result";
4139
4141
  summary: string;
4140
- command: string;
4141
4142
  status: "error" | "failed" | "passed";
4143
+ kind: "test_result";
4144
+ command: string;
4142
4145
  decisionId: string;
4143
4146
  testId: string;
4144
4147
  durationMs?: number | undefined;
4145
4148
  evidence?: {
4146
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4147
4149
  id: string;
4148
4150
  label: string;
4151
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4149
4152
  capture: "at_action" | "historical_lookup" | "fixture";
4150
4153
  locator?: string | undefined;
4151
4154
  }[] | undefined;
@@ -4160,9 +4163,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4160
4163
  supersedesDecisionIds: string[];
4161
4164
  proposedBy: string;
4162
4165
  evidence?: {
4163
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4164
4166
  id: string;
4165
4167
  label: string;
4168
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4166
4169
  capture: "at_action" | "historical_lookup" | "fixture";
4167
4170
  locator?: string | undefined;
4168
4171
  }[] | undefined;
@@ -4170,15 +4173,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4170
4173
  kind: "correction_approved";
4171
4174
  correctionId: string;
4172
4175
  approvedBy: {
4173
- kind: "agent" | "human";
4174
4176
  id: string;
4175
4177
  label: string;
4178
+ kind: "agent" | "human";
4176
4179
  };
4177
4180
  note?: string | undefined;
4178
4181
  evidence?: {
4179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4182
  id: string;
4181
4183
  label: string;
4184
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4182
4185
  capture: "at_action" | "historical_lookup" | "fixture";
4183
4186
  locator?: string | undefined;
4184
4187
  }[] | undefined;
@@ -4188,9 +4191,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4188
4191
  correctionId: string;
4189
4192
  replacementDecisionId: string;
4190
4193
  evidence?: {
4191
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4192
4194
  id: string;
4193
4195
  label: string;
4196
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
4197
  capture: "at_action" | "historical_lookup" | "fixture";
4195
4198
  locator?: string | undefined;
4196
4199
  }[] | undefined;
@@ -4203,9 +4206,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4203
4206
  recallReceiptId: string;
4204
4207
  capturedAtAction: boolean;
4205
4208
  evidence?: {
4206
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4207
4209
  id: string;
4208
4210
  label: string;
4211
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4209
4212
  capture: "at_action" | "historical_lookup" | "fixture";
4210
4213
  locator?: string | undefined;
4211
4214
  }[] | undefined;
@@ -4218,63 +4221,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4218
4221
  recallReceiptId: string;
4219
4222
  staleDecisionAbsent: boolean;
4220
4223
  evidence?: {
4221
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4222
4224
  id: string;
4223
4225
  label: string;
4226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4224
4227
  capture: "at_action" | "historical_lookup" | "fixture";
4225
4228
  locator?: string | undefined;
4226
4229
  }[] | undefined;
4227
4230
  } | {
4228
- kind: "mission_completed";
4229
4231
  summary: string;
4232
+ kind: "mission_completed";
4230
4233
  outcome: "failed" | "recovered" | "inconclusive";
4231
4234
  evidence?: {
4232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4233
4235
  id: string;
4234
4236
  label: string;
4237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4235
4238
  capture: "at_action" | "historical_lookup" | "fixture";
4236
4239
  locator?: string | undefined;
4237
4240
  }[] | undefined;
4238
4241
  }>;
4239
4242
  }, "strict", z.ZodTypeAny, {
4240
- schemaVersion: "1";
4243
+ namespace: string;
4241
4244
  recordedAt: string;
4245
+ schemaVersion: "1";
4242
4246
  payload: {
4243
4247
  kind: "mission_started";
4244
4248
  title: string;
4245
4249
  evidence: {
4246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4250
  id: string;
4248
4251
  label: string;
4252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4249
4253
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4254
  locator?: string | undefined;
4251
4255
  }[];
4252
4256
  objective: string;
4253
4257
  runMode: "replay" | "fixture" | "live";
4254
4258
  } | {
4259
+ label: string;
4260
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4255
4261
  kind: "agent_status";
4256
4262
  role: string;
4257
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4258
- label: string;
4259
4263
  agentId: string;
4260
4264
  sessionId: string;
4261
4265
  evidence: {
4262
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4263
4266
  id: string;
4264
4267
  label: string;
4268
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4265
4269
  capture: "at_action" | "historical_lookup" | "fixture";
4266
4270
  locator?: string | undefined;
4267
4271
  }[];
4268
4272
  detail?: string | undefined;
4269
4273
  } | {
4270
- kind: "agent_output";
4271
4274
  summary: string;
4275
+ kind: "agent_output";
4272
4276
  agentId: string;
4273
4277
  sessionId: string;
4274
4278
  evidence: {
4275
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4276
4279
  id: string;
4277
4280
  label: string;
4281
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4278
4282
  capture: "at_action" | "historical_lookup" | "fixture";
4279
4283
  locator?: string | undefined;
4280
4284
  }[];
@@ -4285,9 +4289,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4285
4289
  statement: string;
4286
4290
  sessionId: string;
4287
4291
  evidence: {
4288
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
4292
  id: string;
4290
4293
  label: string;
4294
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
4295
  capture: "at_action" | "historical_lookup" | "fixture";
4292
4296
  locator?: string | undefined;
4293
4297
  }[];
@@ -4295,12 +4299,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4295
4299
  decisionId: string;
4296
4300
  confidence?: number | undefined;
4297
4301
  } | {
4298
- kind: "conflict_detected";
4299
4302
  summary: string;
4303
+ kind: "conflict_detected";
4300
4304
  evidence: {
4301
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4302
4305
  id: string;
4303
4306
  label: string;
4307
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
4308
  capture: "at_action" | "historical_lookup" | "fixture";
4305
4309
  locator?: string | undefined;
4306
4310
  }[];
@@ -4308,14 +4312,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4308
4312
  decisionIds: string[];
4309
4313
  agentIds: string[];
4310
4314
  } | {
4311
- kind: "test_result";
4312
4315
  summary: string;
4313
- command: string;
4314
4316
  status: "error" | "failed" | "passed";
4317
+ kind: "test_result";
4318
+ command: string;
4315
4319
  evidence: {
4316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
4320
  id: string;
4318
4321
  label: string;
4322
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4319
4323
  capture: "at_action" | "historical_lookup" | "fixture";
4320
4324
  locator?: string | undefined;
4321
4325
  }[];
@@ -4328,9 +4332,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4328
4332
  rationale: string;
4329
4333
  statement: string;
4330
4334
  evidence: {
4331
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
4335
  id: string;
4333
4336
  label: string;
4337
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4334
4338
  capture: "at_action" | "historical_lookup" | "fixture";
4335
4339
  locator?: string | undefined;
4336
4340
  }[];
@@ -4342,25 +4346,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4342
4346
  } | {
4343
4347
  kind: "correction_approved";
4344
4348
  evidence: {
4345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4346
4349
  id: string;
4347
4350
  label: string;
4351
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
4352
  capture: "at_action" | "historical_lookup" | "fixture";
4349
4353
  locator?: string | undefined;
4350
4354
  }[];
4351
4355
  correctionId: string;
4352
4356
  approvedBy: {
4353
- kind: "agent" | "human";
4354
4357
  id: string;
4355
4358
  label: string;
4359
+ kind: "agent" | "human";
4356
4360
  };
4357
4361
  note?: string | undefined;
4358
4362
  } | {
4359
4363
  kind: "decision_superseded";
4360
4364
  evidence: {
4361
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4362
4365
  id: string;
4363
4366
  label: string;
4367
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4364
4368
  capture: "at_action" | "historical_lookup" | "fixture";
4365
4369
  locator?: string | undefined;
4366
4370
  }[];
@@ -4373,9 +4377,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4373
4377
  agentId: string;
4374
4378
  sessionId: string;
4375
4379
  evidence: {
4376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4377
4380
  id: string;
4378
4381
  label: string;
4382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4379
4383
  capture: "at_action" | "historical_lookup" | "fixture";
4380
4384
  locator?: string | undefined;
4381
4385
  }[];
@@ -4387,9 +4391,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4387
4391
  agentId: string;
4388
4392
  sessionId: string;
4389
4393
  evidence: {
4390
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4391
4394
  id: string;
4392
4395
  label: string;
4396
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4393
4397
  capture: "at_action" | "historical_lookup" | "fixture";
4394
4398
  locator?: string | undefined;
4395
4399
  }[];
@@ -4398,63 +4402,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4398
4402
  recallReceiptId: string;
4399
4403
  staleDecisionAbsent: boolean;
4400
4404
  } | {
4401
- kind: "mission_completed";
4402
4405
  summary: string;
4406
+ kind: "mission_completed";
4403
4407
  outcome: "failed" | "recovered" | "inconclusive";
4404
4408
  evidence: {
4405
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4406
4409
  id: string;
4407
4410
  label: string;
4411
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4408
4412
  capture: "at_action" | "historical_lookup" | "fixture";
4409
4413
  locator?: string | undefined;
4410
4414
  }[];
4411
4415
  };
4412
- namespace: string;
4413
4416
  eventId: string;
4414
4417
  occurredAt: string;
4415
4418
  missionId: string;
4416
4419
  authenticatedPrincipal?: string | undefined;
4417
4420
  idempotencyKey?: string | undefined;
4418
4421
  }, {
4419
- schemaVersion: "1";
4422
+ namespace: string;
4420
4423
  recordedAt: string;
4424
+ schemaVersion: "1";
4421
4425
  payload: {
4422
4426
  kind: "mission_started";
4423
4427
  title: string;
4424
4428
  objective: string;
4425
4429
  runMode: "replay" | "fixture" | "live";
4426
4430
  evidence?: {
4427
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
4431
  id: string;
4429
4432
  label: string;
4433
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
4434
  capture: "at_action" | "historical_lookup" | "fixture";
4431
4435
  locator?: string | undefined;
4432
4436
  }[] | undefined;
4433
4437
  } | {
4438
+ label: string;
4439
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4434
4440
  kind: "agent_status";
4435
4441
  role: string;
4436
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4437
- label: string;
4438
4442
  agentId: string;
4439
4443
  sessionId: string;
4440
4444
  detail?: string | undefined;
4441
4445
  evidence?: {
4442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
4446
  id: string;
4444
4447
  label: string;
4448
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
4449
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4450
  locator?: string | undefined;
4447
4451
  }[] | undefined;
4448
4452
  } | {
4449
- kind: "agent_output";
4450
4453
  summary: string;
4454
+ kind: "agent_output";
4451
4455
  agentId: string;
4452
4456
  sessionId: string;
4453
4457
  outputId: string;
4454
4458
  evidence?: {
4455
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4456
4459
  id: string;
4457
4460
  label: string;
4461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4459
4463
  locator?: string | undefined;
4460
4464
  }[] | undefined;
@@ -4467,37 +4471,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4467
4471
  decisionId: string;
4468
4472
  confidence?: number | undefined;
4469
4473
  evidence?: {
4470
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
4474
  id: string;
4472
4475
  label: string;
4476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4477
  capture: "at_action" | "historical_lookup" | "fixture";
4474
4478
  locator?: string | undefined;
4475
4479
  }[] | undefined;
4476
4480
  } | {
4477
- kind: "conflict_detected";
4478
4481
  summary: string;
4482
+ kind: "conflict_detected";
4479
4483
  conflictId: string;
4480
4484
  decisionIds: string[];
4481
4485
  agentIds: string[];
4482
4486
  evidence?: {
4483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4484
4487
  id: string;
4485
4488
  label: string;
4489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
4490
  capture: "at_action" | "historical_lookup" | "fixture";
4487
4491
  locator?: string | undefined;
4488
4492
  }[] | undefined;
4489
4493
  } | {
4490
- kind: "test_result";
4491
4494
  summary: string;
4492
- command: string;
4493
4495
  status: "error" | "failed" | "passed";
4496
+ kind: "test_result";
4497
+ command: string;
4494
4498
  decisionId: string;
4495
4499
  testId: string;
4496
4500
  durationMs?: number | undefined;
4497
4501
  evidence?: {
4498
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4499
4502
  id: string;
4500
4503
  label: string;
4504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
4505
  capture: "at_action" | "historical_lookup" | "fixture";
4502
4506
  locator?: string | undefined;
4503
4507
  }[] | undefined;
@@ -4512,9 +4516,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4512
4516
  supersedesDecisionIds: string[];
4513
4517
  proposedBy: string;
4514
4518
  evidence?: {
4515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
4519
  id: string;
4517
4520
  label: string;
4521
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4518
4522
  capture: "at_action" | "historical_lookup" | "fixture";
4519
4523
  locator?: string | undefined;
4520
4524
  }[] | undefined;
@@ -4522,15 +4526,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4522
4526
  kind: "correction_approved";
4523
4527
  correctionId: string;
4524
4528
  approvedBy: {
4525
- kind: "agent" | "human";
4526
4529
  id: string;
4527
4530
  label: string;
4531
+ kind: "agent" | "human";
4528
4532
  };
4529
4533
  note?: string | undefined;
4530
4534
  evidence?: {
4531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4532
4535
  id: string;
4533
4536
  label: string;
4537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4534
4538
  capture: "at_action" | "historical_lookup" | "fixture";
4535
4539
  locator?: string | undefined;
4536
4540
  }[] | undefined;
@@ -4540,9 +4544,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4540
4544
  correctionId: string;
4541
4545
  replacementDecisionId: string;
4542
4546
  evidence?: {
4543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4544
4547
  id: string;
4545
4548
  label: string;
4549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4546
4550
  capture: "at_action" | "historical_lookup" | "fixture";
4547
4551
  locator?: string | undefined;
4548
4552
  }[] | undefined;
@@ -4555,9 +4559,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4555
4559
  recallReceiptId: string;
4556
4560
  capturedAtAction: boolean;
4557
4561
  evidence?: {
4558
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
4562
  id: string;
4560
4563
  label: string;
4564
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4561
4565
  capture: "at_action" | "historical_lookup" | "fixture";
4562
4566
  locator?: string | undefined;
4563
4567
  }[] | undefined;
@@ -4570,25 +4574,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4570
4574
  recallReceiptId: string;
4571
4575
  staleDecisionAbsent: boolean;
4572
4576
  evidence?: {
4573
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4577
  id: string;
4575
4578
  label: string;
4579
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
4580
  capture: "at_action" | "historical_lookup" | "fixture";
4577
4581
  locator?: string | undefined;
4578
4582
  }[] | undefined;
4579
4583
  } | {
4580
- kind: "mission_completed";
4581
4584
  summary: string;
4585
+ kind: "mission_completed";
4582
4586
  outcome: "failed" | "recovered" | "inconclusive";
4583
4587
  evidence?: {
4584
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
4588
  id: string;
4586
4589
  label: string;
4590
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4587
4591
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4592
  locator?: string | undefined;
4589
4593
  }[] | undefined;
4590
4594
  };
4591
- namespace: string;
4592
4595
  eventId: string;
4593
4596
  occurredAt: string;
4594
4597
  missionId: string;