@remnic/core 9.60.1 → 9.60.2

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 (427) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +25 -25
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +26 -26
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +25 -25
  7. package/dist/access-cli.js +75 -74
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +11 -11
  11. package/dist/access-extraction-force-flush.js +25 -25
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.js +25 -25
  17. package/dist/access-http.d.ts +12 -12
  18. package/dist/access-http.js +38 -38
  19. package/dist/access-identity-continuity-surface.d.ts +9 -9
  20. package/dist/access-identity-continuity-surface.js +25 -25
  21. package/dist/access-lcm-surface.d.ts +11 -11
  22. package/dist/access-lcm-surface.js +25 -25
  23. package/dist/access-mcp.d.ts +11 -11
  24. package/dist/access-mcp.js +32 -32
  25. package/dist/access-memory-search-fanout.d.ts +2 -2
  26. package/dist/{access-namespace-preflight-TBXz-8s_.d.ts → access-namespace-preflight-EMvicnrb.d.ts} +1 -1
  27. package/dist/access-namespace-preflight.d.ts +3 -3
  28. package/dist/access-namespace-preflight.js +25 -25
  29. package/dist/access-observe-write-surface.d.ts +11 -11
  30. package/dist/access-observe-write-surface.js +25 -25
  31. package/dist/access-offline-manifest.d.ts +9 -9
  32. package/dist/access-operations-batch.js +27 -27
  33. package/dist/access-operations.d.ts +14 -14
  34. package/dist/access-operations.js +31 -31
  35. package/dist/access-recall-concurrency.d.ts +11 -11
  36. package/dist/access-recall-concurrency.js +25 -25
  37. package/dist/access-recall-response.d.ts +11 -11
  38. package/dist/access-recall-response.js +25 -25
  39. package/dist/access-recall-surface.d.ts +11 -11
  40. package/dist/access-recall-surface.js +25 -25
  41. package/dist/access-schema.d.ts +88 -88
  42. package/dist/access-schema.js +3 -3
  43. package/dist/{access-service-BogiG4Dy.d.ts → access-service-BeDYQQ62.d.ts} +71 -71
  44. package/dist/access-service-helpers.d.ts +11 -11
  45. package/dist/access-service.d.ts +11 -11
  46. package/dist/access-service.js +25 -25
  47. package/dist/access-surface-catalog.d.ts +11 -11
  48. package/dist/access-surface-catalog.js +27 -27
  49. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  50. package/dist/action-confidence.d.ts +1 -1
  51. package/dist/active-memory-bridge.d.ts +1 -1
  52. package/dist/active-recall.d.ts +1 -1
  53. package/dist/adapters/index.js +4 -4
  54. package/dist/adapters/registry.js +2 -2
  55. package/dist/ambient-provenance.d.ts +1 -1
  56. package/dist/artifact-search.d.ts +1 -1
  57. package/dist/behavior-learner.d.ts +1 -1
  58. package/dist/behavior-signals.d.ts +1 -1
  59. package/dist/bootstrap.d.ts +9 -9
  60. package/dist/briefing-window.d.ts +2 -2
  61. package/dist/briefing.d.ts +2 -2
  62. package/dist/briefing.js +11 -11
  63. package/dist/buffer-surprise-report.d.ts +1 -1
  64. package/dist/buffer-turn-helpers.d.ts +1 -1
  65. package/dist/buffer.d.ts +2 -2
  66. package/dist/buffer.js +4 -4
  67. package/dist/bulk-import/index.d.ts +3 -3
  68. package/dist/calibration.d.ts +1 -1
  69. package/dist/capabilities.d.ts +1 -1
  70. package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
  71. package/dist/{catalog-z1UerMbh.d.ts → catalog-B2SxZ6LU.d.ts} +1 -1
  72. package/dist/causal-behavior.d.ts +1 -1
  73. package/dist/causal-consolidation.d.ts +1 -1
  74. package/dist/causal-consolidation.js +12 -12
  75. package/dist/causal-trajectory-graph.d.ts +1 -1
  76. package/dist/{chunk-7DHFB5SG.js → chunk-2GRLJMKJ.js} +3 -3
  77. package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
  78. package/dist/{chunk-VUJN44CT.js → chunk-2RIDW23Y.js} +7 -7
  79. package/dist/{chunk-VOKK4WCG.js → chunk-3GPBFDXH.js} +2 -2
  80. package/dist/{chunk-KXYMU4IN.js → chunk-4JGSG7QN.js} +3 -3
  81. package/dist/{chunk-A7266TRJ.js → chunk-4XAVQLBR.js} +2 -2
  82. package/dist/{chunk-LLZKOSGM.js → chunk-5WVUO6QT.js} +1 -1
  83. package/dist/{chunk-LLZKOSGM.js.map → chunk-5WVUO6QT.js.map} +1 -1
  84. package/dist/{chunk-UBSM6TZP.js → chunk-76YNCJ5H.js} +2 -2
  85. package/dist/{chunk-JNWISMYG.js → chunk-7N7DB4L5.js} +5 -5
  86. package/dist/{chunk-6C7Q6NG3.js → chunk-AWRJBAIH.js} +16 -16
  87. package/dist/{chunk-GKHMV2KK.js → chunk-C3R732UY.js} +51 -32
  88. package/dist/chunk-C3R732UY.js.map +1 -0
  89. package/dist/{chunk-DE6YCZEE.js → chunk-CIA6ZUBA.js} +2 -2
  90. package/dist/{chunk-PEDYKCJI.js → chunk-CK3NQUSQ.js} +2 -2
  91. package/dist/{chunk-OU7RWWW6.js → chunk-CM4SZZBN.js} +2 -2
  92. package/dist/{chunk-ODAE36PG.js → chunk-D5HDJWNN.js} +2 -2
  93. package/dist/{chunk-4CLE2LXB.js → chunk-EGW4O32Z.js} +75 -38
  94. package/dist/chunk-EGW4O32Z.js.map +1 -0
  95. package/dist/{chunk-KF75ANST.js → chunk-EHMMRZOZ.js} +2 -2
  96. package/dist/{chunk-7G34CBKS.js → chunk-EIQFIJDM.js} +2 -2
  97. package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
  98. package/dist/{chunk-G3JFFUKR.js → chunk-FW73HN33.js} +2 -2
  99. package/dist/{chunk-MMZK2DWN.js → chunk-G3YBWFUC.js} +1 -1
  100. package/dist/chunk-GKUA4MGB.js +40 -0
  101. package/dist/chunk-GKUA4MGB.js.map +1 -0
  102. package/dist/{chunk-I4BLRM7X.js → chunk-GN7HO2LA.js} +10 -10
  103. package/dist/{chunk-ZOGOOSB3.js → chunk-H32ANIFP.js} +2 -2
  104. package/dist/{chunk-AH2NX6S7.js → chunk-HEEEMJ26.js} +3 -3
  105. package/dist/{chunk-J65AKOD6.js → chunk-HQBVQICL.js} +2 -2
  106. package/dist/{chunk-VJXSAJFW.js → chunk-I67HKRBF.js} +2 -2
  107. package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
  108. package/dist/{chunk-R7IV3EUJ.js → chunk-JKW663ZN.js} +2 -2
  109. package/dist/{chunk-YBCZTBN2.js → chunk-KAB7TZN3.js} +2 -2
  110. package/dist/{chunk-4UUF2EX3.js → chunk-KPML4Q3M.js} +2 -2
  111. package/dist/{chunk-5W7CTZ2E.js → chunk-KQAFEZQX.js} +4 -4
  112. package/dist/{chunk-YKZFX2HQ.js → chunk-L33N3BCA.js} +2 -2
  113. package/dist/{chunk-PYHOAXTI.js → chunk-LRGSLV7M.js} +4 -4
  114. package/dist/{chunk-FI5EAP4N.js → chunk-MJ4UGUR6.js} +2 -2
  115. package/dist/{chunk-KBIIE57I.js → chunk-MU3TPZOV.js} +2 -2
  116. package/dist/{chunk-77DAFTUU.js → chunk-MYZ4NA43.js} +2 -2
  117. package/dist/{chunk-T2VJ2EO5.js → chunk-N4EPIKSY.js} +6 -6
  118. package/dist/{chunk-EZXGJJXM.js → chunk-N4OYPGZS.js} +2 -2
  119. package/dist/{chunk-L3JVAM5Q.js → chunk-PA5OPZX2.js} +2 -2
  120. package/dist/{chunk-RVO6TCTU.js → chunk-QCECHYZL.js} +6 -6
  121. package/dist/{chunk-2HGV44MM.js → chunk-QRKYABS6.js} +2 -2
  122. package/dist/{chunk-P6GOYLHN.js → chunk-QWPAQLYV.js} +2 -2
  123. package/dist/{chunk-BTHDQOF4.js → chunk-QYN5PXDZ.js} +5 -5
  124. package/dist/{chunk-MG7GI4TT.js → chunk-S3B3UIQ3.js} +2 -2
  125. package/dist/{chunk-6W2ISYUV.js → chunk-TE4MKFT2.js} +4 -4
  126. package/dist/{chunk-QUJC22CT.js → chunk-URN7XWGC.js} +2 -2
  127. package/dist/{chunk-G5OB4XZX.js → chunk-VANZKHTN.js} +4 -4
  128. package/dist/{chunk-BPM6UHUL.js → chunk-VWDTV6SH.js} +2 -2
  129. package/dist/{chunk-P5OYNV7B.js → chunk-W3Y6FYRK.js} +2 -2
  130. package/dist/{chunk-VIM6QH4D.js → chunk-W4Q54HM3.js} +2 -2
  131. package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
  132. package/dist/{chunk-FUWS2MNJ.js → chunk-XBR5BAKW.js} +4 -4
  133. package/dist/{chunk-XU4OLEYW.js → chunk-XD4VGLDL.js} +45 -45
  134. package/dist/{chunk-OV36CROW.js → chunk-XDK6ZFLL.js} +3 -3
  135. package/dist/{chunk-JHMAYABJ.js → chunk-XL3TATMJ.js} +4 -4
  136. package/dist/{chunk-OLX2HJFW.js → chunk-YLHM5BQQ.js} +4 -4
  137. package/dist/{chunk-2VHCLHZ5.js → chunk-YUIBXMZY.js} +147 -40
  138. package/dist/chunk-YUIBXMZY.js.map +1 -0
  139. package/dist/{cli-CTgFjmDs.d.ts → cli-DB_uakTc.d.ts} +5 -5
  140. package/dist/cli.d.ts +13 -13
  141. package/dist/cli.js +58 -58
  142. package/dist/coding/pre-action-gate.d.ts +1 -1
  143. package/dist/compounding/engine.d.ts +2 -2
  144. package/dist/compounding/engine.js +11 -11
  145. package/dist/compounding/preference-consolidator.d.ts +1 -1
  146. package/dist/compression-optimizer.d.ts +1 -1
  147. package/dist/config.d.ts +1 -1
  148. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  149. package/dist/connectors/codex-materialize-runner.js +11 -11
  150. package/dist/connectors/codex-materialize.d.ts +1 -1
  151. package/dist/connectors/index.d.ts +1 -1
  152. package/dist/connectors/index.js +11 -11
  153. package/dist/consolidation-provenance-check.d.ts +2 -2
  154. package/dist/consolidation-undo.d.ts +2 -2
  155. package/dist/contradiction/index.d.ts +2 -2
  156. package/dist/contradiction/index.js +4 -4
  157. package/dist/converge-config.d.ts +1 -1
  158. package/dist/convergence-refresh.d.ts +2 -2
  159. package/dist/convergence-refresh.js +13 -13
  160. package/dist/conversation-index/backend.d.ts +1 -1
  161. package/dist/conversation-index/chunker.d.ts +1 -1
  162. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  163. package/dist/conversation-index/indexer.d.ts +1 -1
  164. package/dist/conversation-index/search.d.ts +1 -1
  165. package/dist/corpus-watermark.d.ts +1 -1
  166. package/dist/corpus-watermark.js +13 -13
  167. package/dist/dashboard-runtime.js +2 -2
  168. package/dist/day-summary.d.ts +1 -1
  169. package/dist/delinearize.d.ts +1 -1
  170. package/dist/dependency-propagation-config.d.ts +1 -1
  171. package/dist/{dependency-propagation-delivery-DdwSc1qh.d.ts → dependency-propagation-delivery-DcOVpK3y.d.ts} +1 -1
  172. package/dist/direct-answer-wiring.d.ts +1 -1
  173. package/dist/direct-answer.d.ts +1 -1
  174. package/dist/embedding-fallback.d.ts +1 -1
  175. package/dist/enrichment/index.d.ts +1 -1
  176. package/dist/entity-origin-fields.d.ts +28 -0
  177. package/dist/entity-origin-fields.js +10 -0
  178. package/dist/entity-origin-fields.js.map +1 -0
  179. package/dist/entity-retrieval.d.ts +2 -2
  180. package/dist/entity-retrieval.js +12 -11
  181. package/dist/entity-schema.d.ts +1 -1
  182. package/dist/explicit-capture.d.ts +9 -9
  183. package/dist/external-wiki-access.d.ts +11 -11
  184. package/dist/external-wiki-access.js +26 -26
  185. package/dist/external-wiki-collection-registration.d.ts +1 -1
  186. package/dist/external-wiki-collection.d.ts +1 -1
  187. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  188. package/dist/extraction-error-classification.d.ts +1 -1
  189. package/dist/extraction-faithfulness.d.ts +1 -1
  190. package/dist/extraction-judge-telemetry.d.ts +1 -1
  191. package/dist/extraction-judge-training.d.ts +1 -1
  192. package/dist/extraction-judge.d.ts +1 -1
  193. package/dist/extraction-liveness.d.ts +1 -1
  194. package/dist/extraction-normalization.d.ts +1 -1
  195. package/dist/extraction-prompt.d.ts +1 -1
  196. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  197. package/dist/extraction-source-grounding.d.ts +1 -1
  198. package/dist/extraction.d.ts +1 -1
  199. package/dist/extraction.js +15 -15
  200. package/dist/fallback-llm.d.ts +1 -1
  201. package/dist/graph-dashboard-diff.d.ts +1 -1
  202. package/dist/graph-dashboard-key.d.ts +1 -1
  203. package/dist/graph-dashboard-parser.d.ts +1 -1
  204. package/dist/graph-edge-reinforcement.d.ts +1 -1
  205. package/dist/graph-path-reconstruction.d.ts +1 -1
  206. package/dist/graph-path-scoring.d.ts +1 -1
  207. package/dist/graph-snapshot.d.ts +1 -1
  208. package/dist/graph.d.ts +1 -1
  209. package/dist/harmonic-retrieval.js +1 -1
  210. package/dist/importance.d.ts +1 -1
  211. package/dist/importers/index.d.ts +1 -1
  212. package/dist/in-flight-reads.d.ts +1 -1
  213. package/dist/index.d.ts +697 -697
  214. package/dist/index.js +85 -84
  215. package/dist/intent.d.ts +1 -1
  216. package/dist/lcm/engine.d.ts +1 -1
  217. package/dist/lcm/index.d.ts +1 -1
  218. package/dist/lcm/index.js +3 -3
  219. package/dist/lcm/tools.d.ts +1 -1
  220. package/dist/lifecycle.d.ts +1 -1
  221. package/dist/live-connectors-runner.d.ts +1 -1
  222. package/dist/local-llm.d.ts +1 -1
  223. package/dist/local-model-endpoint.d.ts +1 -1
  224. package/dist/maintenance/memory-governance.d.ts +1 -1
  225. package/dist/maintenance/memory-governance.js +11 -11
  226. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  227. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +11 -11
  228. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  229. package/dist/maintenance/rebuild-memory-projection.js +12 -12
  230. package/dist/{maintenance-DvkiF7fm.d.ts → maintenance-5c1olVtB.d.ts} +3 -3
  231. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  232. package/dist/memory-action-policy.d.ts +1 -1
  233. package/dist/memory-cache.d.ts +1 -1
  234. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  235. package/dist/memory-projection-store.d.ts +1 -1
  236. package/dist/memory-provenance.d.ts +1 -1
  237. package/dist/memory-snapshot.d.ts +1 -1
  238. package/dist/memory-worth-outcomes.d.ts +2 -2
  239. package/dist/models-json.d.ts +1 -1
  240. package/dist/namespaces/migrate.d.ts +3 -3
  241. package/dist/namespaces/migrate.js +12 -12
  242. package/dist/namespaces/principal.d.ts +1 -1
  243. package/dist/namespaces/search.d.ts +1 -1
  244. package/dist/namespaces/search.js +8 -8
  245. package/dist/namespaces/storage.d.ts +3 -3
  246. package/dist/namespaces/storage.js +11 -11
  247. package/dist/native-knowledge.d.ts +1 -1
  248. package/dist/offline-sync-impression-drain.d.ts +1 -1
  249. package/dist/operator-doctor-corpus.d.ts +1 -1
  250. package/dist/operator-doctor-corpus.js +14 -14
  251. package/dist/operator-doctor-replica.d.ts +1 -1
  252. package/dist/operator-toolkit.d.ts +3 -3
  253. package/dist/operator-toolkit.js +18 -18
  254. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  255. package/dist/orchestration/maintenance.d.ts +4 -4
  256. package/dist/orchestration/maintenance.js +16 -16
  257. package/dist/{orchestrator-CXPIzs3D.d.ts → orchestrator-HPuY6I4i.d.ts} +8 -8
  258. package/dist/orchestrator.d.ts +9 -9
  259. package/dist/orchestrator.js +75 -74
  260. package/dist/patterns-cli.d.ts +1 -1
  261. package/dist/{pipeline-BuYWU9rt.d.ts → pipeline-CvVe1Q2_.d.ts} +1 -1
  262. package/dist/policy-runtime.d.ts +1 -1
  263. package/dist/proactive-contention.d.ts +1 -1
  264. package/dist/provenance.d.ts +1 -1
  265. package/dist/{public-http-CEwDOGO7.d.ts → public-http-D0JKFkyf.d.ts} +1 -1
  266. package/dist/{qmd-DYnrPw-m.d.ts → qmd-Bd0Tp76_.d.ts} +1 -1
  267. package/dist/qmd-preflight.d.ts +2 -2
  268. package/dist/qmd-recall-cache.d.ts +1 -1
  269. package/dist/qmd.d.ts +2 -2
  270. package/dist/qmd.js +4 -4
  271. package/dist/recall-concurrency-config.d.ts +1 -1
  272. package/dist/recall-disclosure-escalation.d.ts +1 -1
  273. package/dist/recall-explain-renderer.d.ts +1 -1
  274. package/dist/recall-explain-renderer.js +3 -3
  275. package/dist/recall-memory-map.d.ts +1 -1
  276. package/dist/recall-planner-llm.d.ts +1 -1
  277. package/dist/recall-state.d.ts +1 -1
  278. package/dist/recall-tag-filter.d.ts +1 -1
  279. package/dist/recall-timings.d.ts +1 -1
  280. package/dist/recall-xray-cli.d.ts +1 -1
  281. package/dist/recall-xray-cli.js +4 -4
  282. package/dist/recall-xray-renderer.d.ts +1 -1
  283. package/dist/recall-xray-renderer.js +3 -3
  284. package/dist/recall-xray.d.ts +1 -1
  285. package/dist/recall-xray.js +2 -2
  286. package/dist/reconcile/cursor.d.ts +1 -1
  287. package/dist/reconcile/manifest.d.ts +1 -1
  288. package/dist/reconcile/plan.d.ts +1 -1
  289. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  290. package/dist/replay/normalizers/claude.d.ts +1 -1
  291. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  292. package/dist/replay/normalizers/shared.d.ts +1 -1
  293. package/dist/replay/runner.d.ts +1 -1
  294. package/dist/replay/types.d.ts +1 -1
  295. package/dist/replica-divergence.d.ts +1 -1
  296. package/dist/replica-peers-config.d.ts +1 -1
  297. package/dist/resolve-auth-token.d.ts +1 -1
  298. package/dist/retrieval-agents.d.ts +2 -2
  299. package/dist/retrieval-tiers.d.ts +1 -1
  300. package/dist/routing/engine.d.ts +1 -1
  301. package/dist/routing/store.d.ts +1 -1
  302. package/dist/salvage-envelope.d.ts +1 -1
  303. package/dist/schemas.d.ts +138 -138
  304. package/dist/{scope-profiles-C1QG4Cmv.d.ts → scope-profiles-ClLtm9gK.d.ts} +1 -1
  305. package/dist/search/embed-helper.d.ts +1 -1
  306. package/dist/search/factory.d.ts +1 -1
  307. package/dist/search/factory.js +7 -7
  308. package/dist/search/index.d.ts +1 -1
  309. package/dist/search/index.js +7 -7
  310. package/dist/search/lancedb-backend.d.ts +1 -1
  311. package/dist/search/lancedb-backend.js +2 -2
  312. package/dist/search/meilisearch-backend.d.ts +1 -1
  313. package/dist/search/meilisearch-backend.js +2 -2
  314. package/dist/search/noop-backend.d.ts +1 -1
  315. package/dist/search/orama-backend.d.ts +1 -1
  316. package/dist/search/orama-backend.js +2 -2
  317. package/dist/search/port.d.ts +1 -1
  318. package/dist/search/remote-backend.d.ts +1 -1
  319. package/dist/{semantic-consolidation-DMeX8XS0.d.ts → semantic-consolidation-B1EkeEDj.d.ts} +1 -1
  320. package/dist/semantic-consolidation.d.ts +2 -2
  321. package/dist/semantic-consolidation.js +12 -12
  322. package/dist/semantic-rule-promotion.js +11 -11
  323. package/dist/semantic-rule-verifier.d.ts +1 -1
  324. package/dist/semantic-rule-verifier.js +11 -11
  325. package/dist/{service-CT3ENiTO.d.ts → service-Cf3ANQj9.d.ts} +2 -2
  326. package/dist/session-observer-bands.d.ts +1 -1
  327. package/dist/session-observer-state.d.ts +1 -1
  328. package/dist/shared-context/manager.d.ts +9 -9
  329. package/dist/signal.d.ts +1 -1
  330. package/dist/source-agent-qualifier.d.ts +1 -1
  331. package/dist/source-agent-qualifier.js +13 -13
  332. package/dist/{storage-B0L76y7N.d.ts → storage-DS2O_6Qt.d.ts} +4 -2
  333. package/dist/storage.d.ts +2 -2
  334. package/dist/storage.js +12 -10
  335. package/dist/summarizer.d.ts +1 -1
  336. package/dist/summary-snapshot.d.ts +1 -1
  337. package/dist/support-passport/index.d.ts +14 -14
  338. package/dist/support-passport/index.js +28 -28
  339. package/dist/temporal-supersession.d.ts +2 -2
  340. package/dist/temporal-timeline-recall.d.ts +1 -1
  341. package/dist/temporal-validity.d.ts +1 -1
  342. package/dist/threading.d.ts +1 -1
  343. package/dist/tier-migration.d.ts +2 -2
  344. package/dist/tier-routing.d.ts +1 -1
  345. package/dist/topics.d.ts +1 -1
  346. package/dist/transcript.d.ts +1 -1
  347. package/dist/transfer/backup.js +2 -2
  348. package/dist/transfer/capsule-export.js +2 -2
  349. package/dist/transfer/capsule-import.js +2 -2
  350. package/dist/transfer/import-sqlite.js +2 -2
  351. package/dist/transfer/types.d.ts +66 -66
  352. package/dist/trust-score-stage.d.ts +1 -1
  353. package/dist/trust-score.d.ts +1 -1
  354. package/dist/{types-D7pB0QwO.d.ts → types-BOANGhCJ.d.ts} +3 -1
  355. package/dist/types.d.ts +1 -1
  356. package/dist/types.js +1 -1
  357. package/dist/utility-runtime.d.ts +1 -1
  358. package/dist/verified-recall.js +11 -11
  359. package/dist/write-envelope.d.ts +1 -1
  360. package/package.json +2 -2
  361. package/src/entity-origin-fields.ts +56 -0
  362. package/src/entity-retrieval.ts +84 -84
  363. package/src/orchestration/extraction-injection-gate.ts +17 -5
  364. package/src/orchestration/extraction-persist.ts +1 -1
  365. package/src/recall-authority-fence.test.ts +40 -0
  366. package/src/security/audit-memory.test.ts +24 -1
  367. package/src/storage/entity-store.ts +52 -17
  368. package/src/storage/entity-timeline.ts +96 -16
  369. package/src/storage.ts +18 -18
  370. package/src/types.ts +2 -2
  371. package/dist/chunk-2VHCLHZ5.js.map +0 -1
  372. package/dist/chunk-4CLE2LXB.js.map +0 -1
  373. package/dist/chunk-GKHMV2KK.js.map +0 -1
  374. /package/dist/{capsule-crypto-GWVG7LGC.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  375. /package/dist/{chunk-7DHFB5SG.js.map → chunk-2GRLJMKJ.js.map} +0 -0
  376. /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
  377. /package/dist/{chunk-VUJN44CT.js.map → chunk-2RIDW23Y.js.map} +0 -0
  378. /package/dist/{chunk-VOKK4WCG.js.map → chunk-3GPBFDXH.js.map} +0 -0
  379. /package/dist/{chunk-KXYMU4IN.js.map → chunk-4JGSG7QN.js.map} +0 -0
  380. /package/dist/{chunk-A7266TRJ.js.map → chunk-4XAVQLBR.js.map} +0 -0
  381. /package/dist/{chunk-UBSM6TZP.js.map → chunk-76YNCJ5H.js.map} +0 -0
  382. /package/dist/{chunk-JNWISMYG.js.map → chunk-7N7DB4L5.js.map} +0 -0
  383. /package/dist/{chunk-6C7Q6NG3.js.map → chunk-AWRJBAIH.js.map} +0 -0
  384. /package/dist/{chunk-DE6YCZEE.js.map → chunk-CIA6ZUBA.js.map} +0 -0
  385. /package/dist/{chunk-PEDYKCJI.js.map → chunk-CK3NQUSQ.js.map} +0 -0
  386. /package/dist/{chunk-OU7RWWW6.js.map → chunk-CM4SZZBN.js.map} +0 -0
  387. /package/dist/{chunk-ODAE36PG.js.map → chunk-D5HDJWNN.js.map} +0 -0
  388. /package/dist/{chunk-KF75ANST.js.map → chunk-EHMMRZOZ.js.map} +0 -0
  389. /package/dist/{chunk-7G34CBKS.js.map → chunk-EIQFIJDM.js.map} +0 -0
  390. /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
  391. /package/dist/{chunk-G3JFFUKR.js.map → chunk-FW73HN33.js.map} +0 -0
  392. /package/dist/{chunk-MMZK2DWN.js.map → chunk-G3YBWFUC.js.map} +0 -0
  393. /package/dist/{chunk-I4BLRM7X.js.map → chunk-GN7HO2LA.js.map} +0 -0
  394. /package/dist/{chunk-ZOGOOSB3.js.map → chunk-H32ANIFP.js.map} +0 -0
  395. /package/dist/{chunk-AH2NX6S7.js.map → chunk-HEEEMJ26.js.map} +0 -0
  396. /package/dist/{chunk-J65AKOD6.js.map → chunk-HQBVQICL.js.map} +0 -0
  397. /package/dist/{chunk-VJXSAJFW.js.map → chunk-I67HKRBF.js.map} +0 -0
  398. /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
  399. /package/dist/{chunk-R7IV3EUJ.js.map → chunk-JKW663ZN.js.map} +0 -0
  400. /package/dist/{chunk-YBCZTBN2.js.map → chunk-KAB7TZN3.js.map} +0 -0
  401. /package/dist/{chunk-4UUF2EX3.js.map → chunk-KPML4Q3M.js.map} +0 -0
  402. /package/dist/{chunk-5W7CTZ2E.js.map → chunk-KQAFEZQX.js.map} +0 -0
  403. /package/dist/{chunk-YKZFX2HQ.js.map → chunk-L33N3BCA.js.map} +0 -0
  404. /package/dist/{chunk-PYHOAXTI.js.map → chunk-LRGSLV7M.js.map} +0 -0
  405. /package/dist/{chunk-FI5EAP4N.js.map → chunk-MJ4UGUR6.js.map} +0 -0
  406. /package/dist/{chunk-KBIIE57I.js.map → chunk-MU3TPZOV.js.map} +0 -0
  407. /package/dist/{chunk-77DAFTUU.js.map → chunk-MYZ4NA43.js.map} +0 -0
  408. /package/dist/{chunk-T2VJ2EO5.js.map → chunk-N4EPIKSY.js.map} +0 -0
  409. /package/dist/{chunk-EZXGJJXM.js.map → chunk-N4OYPGZS.js.map} +0 -0
  410. /package/dist/{chunk-L3JVAM5Q.js.map → chunk-PA5OPZX2.js.map} +0 -0
  411. /package/dist/{chunk-RVO6TCTU.js.map → chunk-QCECHYZL.js.map} +0 -0
  412. /package/dist/{chunk-2HGV44MM.js.map → chunk-QRKYABS6.js.map} +0 -0
  413. /package/dist/{chunk-P6GOYLHN.js.map → chunk-QWPAQLYV.js.map} +0 -0
  414. /package/dist/{chunk-BTHDQOF4.js.map → chunk-QYN5PXDZ.js.map} +0 -0
  415. /package/dist/{chunk-MG7GI4TT.js.map → chunk-S3B3UIQ3.js.map} +0 -0
  416. /package/dist/{chunk-6W2ISYUV.js.map → chunk-TE4MKFT2.js.map} +0 -0
  417. /package/dist/{chunk-QUJC22CT.js.map → chunk-URN7XWGC.js.map} +0 -0
  418. /package/dist/{chunk-G5OB4XZX.js.map → chunk-VANZKHTN.js.map} +0 -0
  419. /package/dist/{chunk-BPM6UHUL.js.map → chunk-VWDTV6SH.js.map} +0 -0
  420. /package/dist/{chunk-P5OYNV7B.js.map → chunk-W3Y6FYRK.js.map} +0 -0
  421. /package/dist/{chunk-VIM6QH4D.js.map → chunk-W4Q54HM3.js.map} +0 -0
  422. /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
  423. /package/dist/{chunk-FUWS2MNJ.js.map → chunk-XBR5BAKW.js.map} +0 -0
  424. /package/dist/{chunk-XU4OLEYW.js.map → chunk-XD4VGLDL.js.map} +0 -0
  425. /package/dist/{chunk-OV36CROW.js.map → chunk-XDK6ZFLL.js.map} +0 -0
  426. /package/dist/{chunk-JHMAYABJ.js.map → chunk-XL3TATMJ.js.map} +0 -0
  427. /package/dist/{chunk-OLX2HJFW.js.map → chunk-YLHM5BQQ.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
5
5
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
6
6
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
7
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-CXPIzs3D.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-HPuY6I4i.js';
8
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
9
9
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
10
10
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
@@ -15,8 +15,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
15
15
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
16
16
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
17
17
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
18
- import { S as StorageManager, a as MeetingRecordStore } from './storage-B0L76y7N.js';
19
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-B0L76y7N.js';
18
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-DS2O_6Qt.js';
19
+ export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-DS2O_6Qt.js';
20
20
  import { SealedMemoryEnvelope } from './write-envelope.js';
21
21
  export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
22
22
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -25,13 +25,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
25
25
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
26
26
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
27
27
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
28
- import { C as CodingContext, bi as CodingModeConfig, aQ as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aT as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aU as WearableSourceSettings, aY as WearablesConfig, aX as WearableSourceConnector, br as OffTheRecordMarkerSettings, b1 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, a$ as WearableDayTranscript, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aS as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-D7pB0QwO.js';
29
- export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aN as FusedMeeting, bL as FusedSegmentProvenance, b0 as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, aR as MeetingActivitySnapshot, aL as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bZ as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-D7pB0QwO.js';
28
+ import { C as CodingContext, bi as CodingModeConfig, aQ as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aT as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aU as WearableSourceSettings, aY as WearablesConfig, aX as WearableSourceConnector, br as OffTheRecordMarkerSettings, b1 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, a$ as WearableDayTranscript, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aS as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-BOANGhCJ.js';
29
+ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, al as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aN as FusedMeeting, bL as FusedSegmentProvenance, b0 as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, aR as MeetingActivitySnapshot, aL as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bZ as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-BOANGhCJ.js';
30
30
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
31
31
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
32
32
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
33
- import { f as EngramAccessService } from './access-service-BogiG4Dy.js';
34
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-BogiG4Dy.js';
33
+ import { f as EngramAccessService } from './access-service-BeDYQQ62.js';
34
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-BeDYQQ62.js';
35
35
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
36
36
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
37
37
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -39,23 +39,23 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
39
39
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
40
40
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
41
41
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
42
- export { Q as QmdClient } from './qmd-DYnrPw-m.js';
42
+ export { Q as QmdClient } from './qmd-Bd0Tp76_.js';
43
43
  export { LanceDbBackend } from './search/lancedb-backend.js';
44
44
  export { OramaBackend } from './search/orama-backend.js';
45
45
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
46
46
  export { buildEntityRecallSection } from './entity-retrieval.js';
47
47
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
48
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-z1UerMbh.js';
48
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-B2SxZ6LU.js';
49
49
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
50
50
  export { storagePathHash } from './storage-paths.js';
51
51
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
52
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-CTgFjmDs.js';
52
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DB_uakTc.js';
53
53
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
54
54
  export { EngramMcpServer } from './access-mcp.js';
55
55
  import { BoundOperation } from './access-boundary.js';
56
56
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
57
57
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
58
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-CEwDOGO7.js';
58
+ export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-D0JKFkyf.js';
59
59
  import { z } from 'zod';
60
60
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
61
61
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -79,8 +79,8 @@ export { initLogger, log } from './logger.js';
79
79
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
80
80
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
81
81
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
82
- import { D as DiscoveredExtension } from './semantic-consolidation-DMeX8XS0.js';
83
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DMeX8XS0.js';
82
+ import { D as DiscoveredExtension } from './semantic-consolidation-B1EkeEDj.js';
83
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-B1EkeEDj.js';
84
84
  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';
85
85
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
86
86
  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';
@@ -95,11 +95,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
95
95
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
96
96
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
97
97
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
98
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-BuYWU9rt.js';
99
- import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-CT3ENiTO.js';
100
- export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-CT3ENiTO.js';
101
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DvkiF7fm.js';
102
- export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-DvkiF7fm.js';
98
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CvVe1Q2_.js';
99
+ import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-Cf3ANQj9.js';
100
+ export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-Cf3ANQj9.js';
101
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-5c1olVtB.js';
102
+ export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-5c1olVtB.js';
103
103
  import { SearchExecutionOptions } from './search/port.js';
104
104
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
105
105
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -117,7 +117,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
117
117
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
118
118
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
119
119
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
120
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-C1QG4Cmv.js';
120
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-ClLtm9gK.js';
121
121
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
122
122
  export { ContinuityImprovementLoop } from './types-continuity.js';
123
123
  export { EngramAccessInputError } from './access-errors.js';
@@ -166,7 +166,7 @@ import './conversation-index/chunker.js';
166
166
  import './conversation-index/backend.js';
167
167
  import './faiss-adapter-BHecI1fF.js';
168
168
  import './runtime/child-process.js';
169
- import './dependency-propagation-delivery-DdwSc1qh.js';
169
+ import './dependency-propagation-delivery-DcOVpK3y.js';
170
170
  import './namespaces/storage.js';
171
171
  import './threading.js';
172
172
  import './graph-444E-DrF.js';
@@ -186,7 +186,7 @@ import './policy-runtime.js';
186
186
  import './profiling.js';
187
187
  import './schemas.js';
188
188
  import './extraction-error-classification.js';
189
- import './access-namespace-preflight-TBXz-8s_.js';
189
+ import './access-namespace-preflight-EMvicnrb.js';
190
190
  import './recall-explain-renderer.js';
191
191
  import './access-citation.js';
192
192
  import './access-health-types.js';
@@ -949,15 +949,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
949
949
  locator: z.ZodOptional<z.ZodString>;
950
950
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
951
951
  }, "strict", z.ZodTypeAny, {
952
- id: string;
952
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
953
953
  label: string;
954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
+ id: string;
955
955
  capture: "at_action" | "historical_lookup" | "fixture";
956
956
  locator?: string | undefined;
957
957
  }, {
958
- id: string;
958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
959
959
  label: string;
960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
960
+ id: string;
961
961
  capture: "at_action" | "historical_lookup" | "fixture";
962
962
  locator?: string | undefined;
963
963
  }>;
@@ -974,15 +974,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
974
974
  locator: z.ZodOptional<z.ZodString>;
975
975
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
976
976
  }, "strict", z.ZodTypeAny, {
977
- id: string;
977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
978
978
  label: string;
979
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
+ id: string;
980
980
  capture: "at_action" | "historical_lookup" | "fixture";
981
981
  locator?: string | undefined;
982
982
  }, {
983
- id: string;
983
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
984
984
  label: string;
985
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
985
+ id: string;
986
986
  capture: "at_action" | "historical_lookup" | "fixture";
987
987
  locator?: string | undefined;
988
988
  }>, "many">>;
@@ -990,9 +990,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
990
990
  kind: "mission_started";
991
991
  title: string;
992
992
  evidence: {
993
- id: string;
993
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
994
994
  label: string;
995
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
995
+ id: string;
996
996
  capture: "at_action" | "historical_lookup" | "fixture";
997
997
  locator?: string | undefined;
998
998
  }[];
@@ -1004,9 +1004,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1004
1004
  objective: string;
1005
1005
  runMode: "replay" | "fixture" | "live";
1006
1006
  evidence?: {
1007
- id: string;
1007
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1008
1008
  label: string;
1009
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1009
+ id: string;
1010
1010
  capture: "at_action" | "historical_lookup" | "fixture";
1011
1011
  locator?: string | undefined;
1012
1012
  }[] | undefined;
@@ -1022,15 +1022,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1022
1022
  locator: z.ZodOptional<z.ZodString>;
1023
1023
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1024
1024
  }, "strict", z.ZodTypeAny, {
1025
- id: string;
1025
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1026
1026
  label: string;
1027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
+ id: string;
1028
1028
  capture: "at_action" | "historical_lookup" | "fixture";
1029
1029
  locator?: string | undefined;
1030
1030
  }, {
1031
- id: string;
1031
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1032
1032
  label: string;
1033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1033
+ id: string;
1034
1034
  capture: "at_action" | "historical_lookup" | "fixture";
1035
1035
  locator?: string | undefined;
1036
1036
  }>, "many">>;
@@ -1038,32 +1038,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1038
1038
  sessionId: z.ZodString;
1039
1039
  kind: z.ZodLiteral<"agent_status">;
1040
1040
  }, "strict", z.ZodTypeAny, {
1041
- label: string;
1042
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1043
1041
  kind: "agent_status";
1042
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1043
+ label: string;
1044
1044
  role: string;
1045
1045
  agentId: string;
1046
1046
  sessionId: string;
1047
1047
  evidence: {
1048
- id: string;
1048
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1049
1049
  label: string;
1050
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
+ id: string;
1051
1051
  capture: "at_action" | "historical_lookup" | "fixture";
1052
1052
  locator?: string | undefined;
1053
1053
  }[];
1054
1054
  detail?: string | undefined;
1055
1055
  }, {
1056
- label: string;
1057
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1058
1056
  kind: "agent_status";
1057
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1058
+ label: string;
1059
1059
  role: string;
1060
1060
  agentId: string;
1061
1061
  sessionId: string;
1062
1062
  detail?: string | undefined;
1063
1063
  evidence?: {
1064
- id: string;
1064
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1065
1065
  label: string;
1066
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1066
+ id: string;
1067
1067
  capture: "at_action" | "historical_lookup" | "fixture";
1068
1068
  locator?: string | undefined;
1069
1069
  }[] | undefined;
@@ -1077,15 +1077,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1077
1077
  locator: z.ZodOptional<z.ZodString>;
1078
1078
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1079
1079
  }, "strict", z.ZodTypeAny, {
1080
- id: string;
1080
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1081
1081
  label: string;
1082
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
+ id: string;
1083
1083
  capture: "at_action" | "historical_lookup" | "fixture";
1084
1084
  locator?: string | undefined;
1085
1085
  }, {
1086
- id: string;
1086
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1087
1087
  label: string;
1088
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1088
+ id: string;
1089
1089
  capture: "at_action" | "historical_lookup" | "fixture";
1090
1090
  locator?: string | undefined;
1091
1091
  }>, "many">>;
@@ -1093,28 +1093,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1093
1093
  sessionId: z.ZodString;
1094
1094
  kind: z.ZodLiteral<"agent_output">;
1095
1095
  }, "strict", z.ZodTypeAny, {
1096
- summary: string;
1097
1096
  kind: "agent_output";
1097
+ summary: string;
1098
1098
  agentId: string;
1099
1099
  sessionId: string;
1100
1100
  evidence: {
1101
- id: string;
1101
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1102
1102
  label: string;
1103
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
+ id: string;
1104
1104
  capture: "at_action" | "historical_lookup" | "fixture";
1105
1105
  locator?: string | undefined;
1106
1106
  }[];
1107
1107
  outputId: string;
1108
1108
  }, {
1109
- summary: string;
1110
1109
  kind: "agent_output";
1110
+ summary: string;
1111
1111
  agentId: string;
1112
1112
  sessionId: string;
1113
1113
  outputId: string;
1114
1114
  evidence?: {
1115
- id: string;
1115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1116
1116
  label: string;
1117
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
+ id: string;
1118
1118
  capture: "at_action" | "historical_lookup" | "fixture";
1119
1119
  locator?: string | undefined;
1120
1120
  }[] | undefined;
@@ -1130,15 +1130,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1130
1130
  locator: z.ZodOptional<z.ZodString>;
1131
1131
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1132
1132
  }, "strict", z.ZodTypeAny, {
1133
- id: string;
1133
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1134
1134
  label: string;
1135
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
+ id: string;
1136
1136
  capture: "at_action" | "historical_lookup" | "fixture";
1137
1137
  locator?: string | undefined;
1138
1138
  }, {
1139
- id: string;
1139
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1140
1140
  label: string;
1141
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1141
+ id: string;
1142
1142
  capture: "at_action" | "historical_lookup" | "fixture";
1143
1143
  locator?: string | undefined;
1144
1144
  }>, "many">>;
@@ -1151,9 +1151,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1151
1151
  statement: string;
1152
1152
  sessionId: string;
1153
1153
  evidence: {
1154
- id: string;
1154
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1155
1155
  label: string;
1156
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1156
+ id: string;
1157
1157
  capture: "at_action" | "historical_lookup" | "fixture";
1158
1158
  locator?: string | undefined;
1159
1159
  }[];
@@ -1169,9 +1169,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1169
1169
  decisionId: string;
1170
1170
  confidence?: number | undefined;
1171
1171
  evidence?: {
1172
- id: string;
1172
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1173
1173
  label: string;
1174
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1174
+ id: string;
1175
1175
  capture: "at_action" | "historical_lookup" | "fixture";
1176
1176
  locator?: string | undefined;
1177
1177
  }[] | undefined;
@@ -1188,25 +1188,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1188
1188
  locator: z.ZodOptional<z.ZodString>;
1189
1189
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1190
1190
  }, "strict", z.ZodTypeAny, {
1191
- id: string;
1191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1192
1192
  label: string;
1193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1193
+ id: string;
1194
1194
  capture: "at_action" | "historical_lookup" | "fixture";
1195
1195
  locator?: string | undefined;
1196
1196
  }, {
1197
- id: string;
1197
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1198
1198
  label: string;
1199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1199
+ id: string;
1200
1200
  capture: "at_action" | "historical_lookup" | "fixture";
1201
1201
  locator?: string | undefined;
1202
1202
  }>, "many">>;
1203
1203
  }, "strict", z.ZodTypeAny, {
1204
- summary: string;
1205
1204
  kind: "conflict_detected";
1205
+ summary: string;
1206
1206
  evidence: {
1207
- id: string;
1207
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1208
1208
  label: string;
1209
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
+ id: string;
1210
1210
  capture: "at_action" | "historical_lookup" | "fixture";
1211
1211
  locator?: string | undefined;
1212
1212
  }[];
@@ -1214,15 +1214,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1214
1214
  decisionIds: string[];
1215
1215
  agentIds: string[];
1216
1216
  }, {
1217
- summary: string;
1218
1217
  kind: "conflict_detected";
1218
+ summary: string;
1219
1219
  conflictId: string;
1220
1220
  decisionIds: string[];
1221
1221
  agentIds: string[];
1222
1222
  evidence?: {
1223
- id: string;
1223
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1224
1224
  label: string;
1225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1225
+ id: string;
1226
1226
  capture: "at_action" | "historical_lookup" | "fixture";
1227
1227
  locator?: string | undefined;
1228
1228
  }[] | undefined;
@@ -1242,27 +1242,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1242
1242
  locator: z.ZodOptional<z.ZodString>;
1243
1243
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1244
1244
  }, "strict", z.ZodTypeAny, {
1245
- id: string;
1245
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1246
1246
  label: string;
1247
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
+ id: string;
1248
1248
  capture: "at_action" | "historical_lookup" | "fixture";
1249
1249
  locator?: string | undefined;
1250
1250
  }, {
1251
- id: string;
1251
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1252
1252
  label: string;
1253
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1253
+ id: string;
1254
1254
  capture: "at_action" | "historical_lookup" | "fixture";
1255
1255
  locator?: string | undefined;
1256
1256
  }>, "many">>;
1257
1257
  }, "strict", z.ZodTypeAny, {
1258
+ kind: "test_result";
1258
1259
  summary: string;
1259
1260
  status: "error" | "failed" | "passed";
1260
- kind: "test_result";
1261
1261
  command: string;
1262
1262
  evidence: {
1263
- id: string;
1263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
1264
  label: string;
1265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1265
+ id: string;
1266
1266
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1267
  locator?: string | undefined;
1268
1268
  }[];
@@ -1271,17 +1271,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1271
1271
  durationMs?: number | undefined;
1272
1272
  correctionId?: string | undefined;
1273
1273
  }, {
1274
+ kind: "test_result";
1274
1275
  summary: string;
1275
1276
  status: "error" | "failed" | "passed";
1276
- kind: "test_result";
1277
1277
  command: string;
1278
1278
  decisionId: string;
1279
1279
  testId: string;
1280
1280
  durationMs?: number | undefined;
1281
1281
  evidence?: {
1282
- id: string;
1282
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1283
1283
  label: string;
1284
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
+ id: string;
1285
1285
  capture: "at_action" | "historical_lookup" | "fixture";
1286
1286
  locator?: string | undefined;
1287
1287
  }[] | undefined;
@@ -1302,15 +1302,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1302
1302
  locator: z.ZodOptional<z.ZodString>;
1303
1303
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1304
1304
  }, "strict", z.ZodTypeAny, {
1305
- id: string;
1305
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1306
1306
  label: string;
1307
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
+ id: string;
1308
1308
  capture: "at_action" | "historical_lookup" | "fixture";
1309
1309
  locator?: string | undefined;
1310
1310
  }, {
1311
- id: string;
1311
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
1312
  label: string;
1313
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
+ id: string;
1314
1314
  capture: "at_action" | "historical_lookup" | "fixture";
1315
1315
  locator?: string | undefined;
1316
1316
  }>, "many">>;
@@ -1319,9 +1319,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1319
1319
  statement: string;
1320
1320
  rationale: string;
1321
1321
  evidence: {
1322
- id: string;
1322
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1323
1323
  label: string;
1324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1324
+ id: string;
1325
1325
  capture: "at_action" | "historical_lookup" | "fixture";
1326
1326
  locator?: string | undefined;
1327
1327
  }[];
@@ -1340,9 +1340,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1340
1340
  supersedesDecisionIds: string[];
1341
1341
  proposedBy: string;
1342
1342
  evidence?: {
1343
- id: string;
1343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1344
1344
  label: string;
1345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
+ id: string;
1346
1346
  capture: "at_action" | "historical_lookup" | "fixture";
1347
1347
  locator?: string | undefined;
1348
1348
  }[] | undefined;
@@ -1354,13 +1354,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1354
1354
  id: z.ZodString;
1355
1355
  label: z.ZodString;
1356
1356
  }, "strict", z.ZodTypeAny, {
1357
- id: string;
1358
- label: string;
1359
1357
  kind: "agent" | "human";
1360
- }, {
1361
- id: string;
1362
1358
  label: string;
1359
+ id: string;
1360
+ }, {
1363
1361
  kind: "agent" | "human";
1362
+ label: string;
1363
+ id: string;
1364
1364
  }>;
1365
1365
  note: z.ZodOptional<z.ZodString>;
1366
1366
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1370,47 +1370,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1370
1370
  locator: z.ZodOptional<z.ZodString>;
1371
1371
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1372
1372
  }, "strict", z.ZodTypeAny, {
1373
- id: string;
1373
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1374
1374
  label: string;
1375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
+ id: string;
1376
1376
  capture: "at_action" | "historical_lookup" | "fixture";
1377
1377
  locator?: string | undefined;
1378
1378
  }, {
1379
- id: string;
1379
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
1380
  label: string;
1381
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
+ id: string;
1382
1382
  capture: "at_action" | "historical_lookup" | "fixture";
1383
1383
  locator?: string | undefined;
1384
1384
  }>, "many">>;
1385
1385
  }, "strict", z.ZodTypeAny, {
1386
1386
  kind: "correction_approved";
1387
1387
  evidence: {
1388
- id: string;
1388
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1389
1389
  label: string;
1390
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
+ id: string;
1391
1391
  capture: "at_action" | "historical_lookup" | "fixture";
1392
1392
  locator?: string | undefined;
1393
1393
  }[];
1394
1394
  correctionId: string;
1395
1395
  approvedBy: {
1396
- id: string;
1397
- label: string;
1398
1396
  kind: "agent" | "human";
1397
+ label: string;
1398
+ id: string;
1399
1399
  };
1400
1400
  note?: string | undefined;
1401
1401
  }, {
1402
1402
  kind: "correction_approved";
1403
1403
  correctionId: string;
1404
1404
  approvedBy: {
1405
- id: string;
1406
- label: string;
1407
1405
  kind: "agent" | "human";
1406
+ label: string;
1407
+ id: string;
1408
1408
  };
1409
1409
  note?: string | undefined;
1410
1410
  evidence?: {
1411
- id: string;
1411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1412
1412
  label: string;
1413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
+ id: string;
1414
1414
  capture: "at_action" | "historical_lookup" | "fixture";
1415
1415
  locator?: string | undefined;
1416
1416
  }[] | undefined;
@@ -1426,24 +1426,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1426
1426
  locator: z.ZodOptional<z.ZodString>;
1427
1427
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1428
1428
  }, "strict", z.ZodTypeAny, {
1429
- id: string;
1429
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1430
1430
  label: string;
1431
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
+ id: string;
1432
1432
  capture: "at_action" | "historical_lookup" | "fixture";
1433
1433
  locator?: string | undefined;
1434
1434
  }, {
1435
- id: string;
1435
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1436
1436
  label: string;
1437
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
+ id: string;
1438
1438
  capture: "at_action" | "historical_lookup" | "fixture";
1439
1439
  locator?: string | undefined;
1440
1440
  }>, "many">>;
1441
1441
  }, "strict", z.ZodTypeAny, {
1442
1442
  kind: "decision_superseded";
1443
1443
  evidence: {
1444
- id: string;
1444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1445
1445
  label: string;
1446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1446
+ id: string;
1447
1447
  capture: "at_action" | "historical_lookup" | "fixture";
1448
1448
  locator?: string | undefined;
1449
1449
  }[];
@@ -1456,9 +1456,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1456
1456
  correctionId: string;
1457
1457
  replacementDecisionId: string;
1458
1458
  evidence?: {
1459
- id: string;
1459
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1460
  label: string;
1461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
+ id: string;
1462
1462
  capture: "at_action" | "historical_lookup" | "fixture";
1463
1463
  locator?: string | undefined;
1464
1464
  }[] | undefined;
@@ -1474,15 +1474,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1474
1474
  locator: z.ZodOptional<z.ZodString>;
1475
1475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1476
1476
  }, "strict", z.ZodTypeAny, {
1477
- id: string;
1477
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
1478
  label: string;
1479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
+ id: string;
1480
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1481
  locator?: string | undefined;
1482
1482
  }, {
1483
- id: string;
1483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1484
  label: string;
1485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
+ id: string;
1486
1486
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1487
  locator?: string | undefined;
1488
1488
  }>, "many">>;
@@ -1495,9 +1495,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1495
1495
  agentId: string;
1496
1496
  sessionId: string;
1497
1497
  evidence: {
1498
- id: string;
1498
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1499
1499
  label: string;
1500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
+ id: string;
1501
1501
  capture: "at_action" | "historical_lookup" | "fixture";
1502
1502
  locator?: string | undefined;
1503
1503
  }[];
@@ -1513,9 +1513,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1513
1513
  recallReceiptId: string;
1514
1514
  capturedAtAction: boolean;
1515
1515
  evidence?: {
1516
- id: string;
1516
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1517
1517
  label: string;
1518
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
+ id: string;
1519
1519
  capture: "at_action" | "historical_lookup" | "fixture";
1520
1520
  locator?: string | undefined;
1521
1521
  }[] | undefined;
@@ -1531,15 +1531,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1531
1531
  locator: z.ZodOptional<z.ZodString>;
1532
1532
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1533
1533
  }, "strict", z.ZodTypeAny, {
1534
- id: string;
1534
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
1535
  label: string;
1536
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
+ id: string;
1537
1537
  capture: "at_action" | "historical_lookup" | "fixture";
1538
1538
  locator?: string | undefined;
1539
1539
  }, {
1540
- id: string;
1540
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
1541
  label: string;
1542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
+ id: string;
1543
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1544
1544
  locator?: string | undefined;
1545
1545
  }>, "many">>;
@@ -1551,9 +1551,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1551
1551
  agentId: string;
1552
1552
  sessionId: string;
1553
1553
  evidence: {
1554
- id: string;
1554
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1555
1555
  label: string;
1556
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
+ id: string;
1557
1557
  capture: "at_action" | "historical_lookup" | "fixture";
1558
1558
  locator?: string | undefined;
1559
1559
  }[];
@@ -1570,9 +1570,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1570
1570
  recallReceiptId: string;
1571
1571
  staleDecisionAbsent: boolean;
1572
1572
  evidence?: {
1573
- id: string;
1573
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1574
1574
  label: string;
1575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1575
+ id: string;
1576
1576
  capture: "at_action" | "historical_lookup" | "fixture";
1577
1577
  locator?: string | undefined;
1578
1578
  }[] | undefined;
@@ -1587,37 +1587,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1587
1587
  locator: z.ZodOptional<z.ZodString>;
1588
1588
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1589
1589
  }, "strict", z.ZodTypeAny, {
1590
- id: string;
1590
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1591
1591
  label: string;
1592
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
+ id: string;
1593
1593
  capture: "at_action" | "historical_lookup" | "fixture";
1594
1594
  locator?: string | undefined;
1595
1595
  }, {
1596
- id: string;
1596
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
1597
  label: string;
1598
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
+ id: string;
1599
1599
  capture: "at_action" | "historical_lookup" | "fixture";
1600
1600
  locator?: string | undefined;
1601
1601
  }>, "many">>;
1602
1602
  }, "strict", z.ZodTypeAny, {
1603
- summary: string;
1604
1603
  kind: "mission_completed";
1604
+ summary: string;
1605
1605
  outcome: "failed" | "recovered" | "inconclusive";
1606
1606
  evidence: {
1607
- id: string;
1607
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1608
1608
  label: string;
1609
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
+ id: string;
1610
1610
  capture: "at_action" | "historical_lookup" | "fixture";
1611
1611
  locator?: string | undefined;
1612
1612
  }[];
1613
1613
  }, {
1614
- summary: string;
1615
1614
  kind: "mission_completed";
1615
+ summary: string;
1616
1616
  outcome: "failed" | "recovered" | "inconclusive";
1617
1617
  evidence?: {
1618
- id: string;
1618
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1619
1619
  label: string;
1620
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
+ id: string;
1621
1621
  capture: "at_action" | "historical_lookup" | "fixture";
1622
1622
  locator?: string | undefined;
1623
1623
  }[] | undefined;
@@ -1625,38 +1625,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1625
1625
  kind: "mission_started";
1626
1626
  title: string;
1627
1627
  evidence: {
1628
- id: string;
1628
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1629
1629
  label: string;
1630
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
+ id: string;
1631
1631
  capture: "at_action" | "historical_lookup" | "fixture";
1632
1632
  locator?: string | undefined;
1633
1633
  }[];
1634
1634
  objective: string;
1635
1635
  runMode: "replay" | "fixture" | "live";
1636
1636
  } | {
1637
- label: string;
1638
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1639
1637
  kind: "agent_status";
1638
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1639
+ label: string;
1640
1640
  role: string;
1641
1641
  agentId: string;
1642
1642
  sessionId: string;
1643
1643
  evidence: {
1644
- id: string;
1644
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1645
1645
  label: string;
1646
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1646
+ id: string;
1647
1647
  capture: "at_action" | "historical_lookup" | "fixture";
1648
1648
  locator?: string | undefined;
1649
1649
  }[];
1650
1650
  detail?: string | undefined;
1651
1651
  } | {
1652
- summary: string;
1653
1652
  kind: "agent_output";
1653
+ summary: string;
1654
1654
  agentId: string;
1655
1655
  sessionId: string;
1656
1656
  evidence: {
1657
- id: string;
1657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1658
1658
  label: string;
1659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
+ id: string;
1660
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1661
1661
  locator?: string | undefined;
1662
1662
  }[];
@@ -1667,9 +1667,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1667
1667
  statement: string;
1668
1668
  sessionId: string;
1669
1669
  evidence: {
1670
- id: string;
1670
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1671
  label: string;
1672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
+ id: string;
1673
1673
  capture: "at_action" | "historical_lookup" | "fixture";
1674
1674
  locator?: string | undefined;
1675
1675
  }[];
@@ -1677,12 +1677,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1677
1677
  decisionId: string;
1678
1678
  confidence?: number | undefined;
1679
1679
  } | {
1680
- summary: string;
1681
1680
  kind: "conflict_detected";
1681
+ summary: string;
1682
1682
  evidence: {
1683
- id: string;
1683
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1684
1684
  label: string;
1685
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1685
+ id: string;
1686
1686
  capture: "at_action" | "historical_lookup" | "fixture";
1687
1687
  locator?: string | undefined;
1688
1688
  }[];
@@ -1690,14 +1690,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1690
1690
  decisionIds: string[];
1691
1691
  agentIds: string[];
1692
1692
  } | {
1693
+ kind: "test_result";
1693
1694
  summary: string;
1694
1695
  status: "error" | "failed" | "passed";
1695
- kind: "test_result";
1696
1696
  command: string;
1697
1697
  evidence: {
1698
- id: string;
1698
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1699
1699
  label: string;
1700
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
+ id: string;
1701
1701
  capture: "at_action" | "historical_lookup" | "fixture";
1702
1702
  locator?: string | undefined;
1703
1703
  }[];
@@ -1710,9 +1710,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1710
1710
  statement: string;
1711
1711
  rationale: string;
1712
1712
  evidence: {
1713
- id: string;
1713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
1714
  label: string;
1715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
+ id: string;
1716
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1717
1717
  locator?: string | undefined;
1718
1718
  }[];
@@ -1724,25 +1724,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1724
1724
  } | {
1725
1725
  kind: "correction_approved";
1726
1726
  evidence: {
1727
- id: string;
1727
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1728
1728
  label: string;
1729
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
+ id: string;
1730
1730
  capture: "at_action" | "historical_lookup" | "fixture";
1731
1731
  locator?: string | undefined;
1732
1732
  }[];
1733
1733
  correctionId: string;
1734
1734
  approvedBy: {
1735
- id: string;
1736
- label: string;
1737
1735
  kind: "agent" | "human";
1736
+ label: string;
1737
+ id: string;
1738
1738
  };
1739
1739
  note?: string | undefined;
1740
1740
  } | {
1741
1741
  kind: "decision_superseded";
1742
1742
  evidence: {
1743
- id: string;
1743
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1744
1744
  label: string;
1745
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1745
+ id: string;
1746
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1747
1747
  locator?: string | undefined;
1748
1748
  }[];
@@ -1755,9 +1755,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1755
1755
  agentId: string;
1756
1756
  sessionId: string;
1757
1757
  evidence: {
1758
- id: string;
1758
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1759
1759
  label: string;
1760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
+ id: string;
1761
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1762
1762
  locator?: string | undefined;
1763
1763
  }[];
@@ -1769,9 +1769,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1769
1769
  agentId: string;
1770
1770
  sessionId: string;
1771
1771
  evidence: {
1772
- id: string;
1772
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1773
1773
  label: string;
1774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
+ id: string;
1775
1775
  capture: "at_action" | "historical_lookup" | "fixture";
1776
1776
  locator?: string | undefined;
1777
1777
  }[];
@@ -1780,13 +1780,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1780
1780
  recallReceiptId: string;
1781
1781
  staleDecisionAbsent: boolean;
1782
1782
  } | {
1783
- summary: string;
1784
1783
  kind: "mission_completed";
1784
+ summary: string;
1785
1785
  outcome: "failed" | "recovered" | "inconclusive";
1786
1786
  evidence: {
1787
- id: string;
1787
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1788
1788
  label: string;
1789
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1789
+ id: string;
1790
1790
  capture: "at_action" | "historical_lookup" | "fixture";
1791
1791
  locator?: string | undefined;
1792
1792
  }[];
@@ -1796,37 +1796,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1796
1796
  objective: string;
1797
1797
  runMode: "replay" | "fixture" | "live";
1798
1798
  evidence?: {
1799
- id: string;
1799
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1800
1800
  label: string;
1801
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
+ id: string;
1802
1802
  capture: "at_action" | "historical_lookup" | "fixture";
1803
1803
  locator?: string | undefined;
1804
1804
  }[] | undefined;
1805
1805
  } | {
1806
- label: string;
1807
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1808
1806
  kind: "agent_status";
1807
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1808
+ label: string;
1809
1809
  role: string;
1810
1810
  agentId: string;
1811
1811
  sessionId: string;
1812
1812
  detail?: string | undefined;
1813
1813
  evidence?: {
1814
- id: string;
1814
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
1815
  label: string;
1816
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
+ id: string;
1817
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1818
1818
  locator?: string | undefined;
1819
1819
  }[] | undefined;
1820
1820
  } | {
1821
- summary: string;
1822
1821
  kind: "agent_output";
1822
+ summary: string;
1823
1823
  agentId: string;
1824
1824
  sessionId: string;
1825
1825
  outputId: string;
1826
1826
  evidence?: {
1827
- id: string;
1827
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1828
1828
  label: string;
1829
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
+ id: string;
1830
1830
  capture: "at_action" | "historical_lookup" | "fixture";
1831
1831
  locator?: string | undefined;
1832
1832
  }[] | undefined;
@@ -1839,37 +1839,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1839
1839
  decisionId: string;
1840
1840
  confidence?: number | undefined;
1841
1841
  evidence?: {
1842
- id: string;
1842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
1843
  label: string;
1844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
+ id: string;
1845
1845
  capture: "at_action" | "historical_lookup" | "fixture";
1846
1846
  locator?: string | undefined;
1847
1847
  }[] | undefined;
1848
1848
  } | {
1849
- summary: string;
1850
1849
  kind: "conflict_detected";
1850
+ summary: string;
1851
1851
  conflictId: string;
1852
1852
  decisionIds: string[];
1853
1853
  agentIds: string[];
1854
1854
  evidence?: {
1855
- id: string;
1855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
1856
  label: string;
1857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
+ id: string;
1858
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1859
1859
  locator?: string | undefined;
1860
1860
  }[] | undefined;
1861
1861
  } | {
1862
+ kind: "test_result";
1862
1863
  summary: string;
1863
1864
  status: "error" | "failed" | "passed";
1864
- kind: "test_result";
1865
1865
  command: string;
1866
1866
  decisionId: string;
1867
1867
  testId: string;
1868
1868
  durationMs?: number | undefined;
1869
1869
  evidence?: {
1870
- id: string;
1870
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
1871
  label: string;
1872
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1872
+ id: string;
1873
1873
  capture: "at_action" | "historical_lookup" | "fixture";
1874
1874
  locator?: string | undefined;
1875
1875
  }[] | undefined;
@@ -1884,9 +1884,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1884
1884
  supersedesDecisionIds: string[];
1885
1885
  proposedBy: string;
1886
1886
  evidence?: {
1887
- id: string;
1887
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1888
1888
  label: string;
1889
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
+ id: string;
1890
1890
  capture: "at_action" | "historical_lookup" | "fixture";
1891
1891
  locator?: string | undefined;
1892
1892
  }[] | undefined;
@@ -1894,15 +1894,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1894
1894
  kind: "correction_approved";
1895
1895
  correctionId: string;
1896
1896
  approvedBy: {
1897
- id: string;
1898
- label: string;
1899
1897
  kind: "agent" | "human";
1898
+ label: string;
1899
+ id: string;
1900
1900
  };
1901
1901
  note?: string | undefined;
1902
1902
  evidence?: {
1903
- id: string;
1903
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1904
1904
  label: string;
1905
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
+ id: string;
1906
1906
  capture: "at_action" | "historical_lookup" | "fixture";
1907
1907
  locator?: string | undefined;
1908
1908
  }[] | undefined;
@@ -1912,9 +1912,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1912
1912
  correctionId: string;
1913
1913
  replacementDecisionId: string;
1914
1914
  evidence?: {
1915
- id: string;
1915
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1916
1916
  label: string;
1917
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
+ id: string;
1918
1918
  capture: "at_action" | "historical_lookup" | "fixture";
1919
1919
  locator?: string | undefined;
1920
1920
  }[] | undefined;
@@ -1927,9 +1927,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1927
1927
  recallReceiptId: string;
1928
1928
  capturedAtAction: boolean;
1929
1929
  evidence?: {
1930
- id: string;
1930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
1931
  label: string;
1932
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1932
+ id: string;
1933
1933
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1934
  locator?: string | undefined;
1935
1935
  }[] | undefined;
@@ -1942,20 +1942,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1942
1942
  recallReceiptId: string;
1943
1943
  staleDecisionAbsent: boolean;
1944
1944
  evidence?: {
1945
- id: string;
1945
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
1946
  label: string;
1947
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
+ id: string;
1948
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1949
1949
  locator?: string | undefined;
1950
1950
  }[] | undefined;
1951
1951
  } | {
1952
- summary: string;
1953
1952
  kind: "mission_completed";
1953
+ summary: string;
1954
1954
  outcome: "failed" | "recovered" | "inconclusive";
1955
1955
  evidence?: {
1956
- id: string;
1956
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
1957
  label: string;
1958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
+ id: string;
1959
1959
  capture: "at_action" | "historical_lookup" | "fixture";
1960
1960
  locator?: string | undefined;
1961
1961
  }[] | undefined;
@@ -1976,15 +1976,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1976
1976
  locator: z.ZodOptional<z.ZodString>;
1977
1977
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1978
1978
  }, "strict", z.ZodTypeAny, {
1979
- id: string;
1979
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1980
1980
  label: string;
1981
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
+ id: string;
1982
1982
  capture: "at_action" | "historical_lookup" | "fixture";
1983
1983
  locator?: string | undefined;
1984
1984
  }, {
1985
- id: string;
1985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
1986
  label: string;
1987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
+ id: string;
1988
1988
  capture: "at_action" | "historical_lookup" | "fixture";
1989
1989
  locator?: string | undefined;
1990
1990
  }>, "many">>;
@@ -1992,9 +1992,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1992
1992
  kind: "mission_started";
1993
1993
  title: string;
1994
1994
  evidence: {
1995
- id: string;
1995
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
1996
  label: string;
1997
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
+ id: string;
1998
1998
  capture: "at_action" | "historical_lookup" | "fixture";
1999
1999
  locator?: string | undefined;
2000
2000
  }[];
@@ -2006,9 +2006,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2006
2006
  objective: string;
2007
2007
  runMode: "replay" | "fixture" | "live";
2008
2008
  evidence?: {
2009
- id: string;
2009
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2010
  label: string;
2011
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
+ id: string;
2012
2012
  capture: "at_action" | "historical_lookup" | "fixture";
2013
2013
  locator?: string | undefined;
2014
2014
  }[] | undefined;
@@ -2024,15 +2024,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2024
2024
  locator: z.ZodOptional<z.ZodString>;
2025
2025
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2026
2026
  }, "strict", z.ZodTypeAny, {
2027
- id: string;
2027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2028
2028
  label: string;
2029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
+ id: string;
2030
2030
  capture: "at_action" | "historical_lookup" | "fixture";
2031
2031
  locator?: string | undefined;
2032
2032
  }, {
2033
- id: string;
2033
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2034
2034
  label: string;
2035
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
+ id: string;
2036
2036
  capture: "at_action" | "historical_lookup" | "fixture";
2037
2037
  locator?: string | undefined;
2038
2038
  }>, "many">>;
@@ -2040,32 +2040,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2040
2040
  sessionId: z.ZodString;
2041
2041
  kind: z.ZodLiteral<"agent_status">;
2042
2042
  }, "strict", z.ZodTypeAny, {
2043
- label: string;
2044
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2045
2043
  kind: "agent_status";
2044
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2045
+ label: string;
2046
2046
  role: string;
2047
2047
  agentId: string;
2048
2048
  sessionId: string;
2049
2049
  evidence: {
2050
- id: string;
2050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2051
2051
  label: string;
2052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
+ id: string;
2053
2053
  capture: "at_action" | "historical_lookup" | "fixture";
2054
2054
  locator?: string | undefined;
2055
2055
  }[];
2056
2056
  detail?: string | undefined;
2057
2057
  }, {
2058
- label: string;
2059
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2060
2058
  kind: "agent_status";
2059
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2060
+ label: string;
2061
2061
  role: string;
2062
2062
  agentId: string;
2063
2063
  sessionId: string;
2064
2064
  detail?: string | undefined;
2065
2065
  evidence?: {
2066
- id: string;
2066
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2067
2067
  label: string;
2068
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
+ id: string;
2069
2069
  capture: "at_action" | "historical_lookup" | "fixture";
2070
2070
  locator?: string | undefined;
2071
2071
  }[] | undefined;
@@ -2079,15 +2079,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2079
2079
  locator: z.ZodOptional<z.ZodString>;
2080
2080
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2081
2081
  }, "strict", z.ZodTypeAny, {
2082
- id: string;
2082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2083
2083
  label: string;
2084
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
+ id: string;
2085
2085
  capture: "at_action" | "historical_lookup" | "fixture";
2086
2086
  locator?: string | undefined;
2087
2087
  }, {
2088
- id: string;
2088
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2089
2089
  label: string;
2090
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2090
+ id: string;
2091
2091
  capture: "at_action" | "historical_lookup" | "fixture";
2092
2092
  locator?: string | undefined;
2093
2093
  }>, "many">>;
@@ -2095,28 +2095,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2095
2095
  sessionId: z.ZodString;
2096
2096
  kind: z.ZodLiteral<"agent_output">;
2097
2097
  }, "strict", z.ZodTypeAny, {
2098
- summary: string;
2099
2098
  kind: "agent_output";
2099
+ summary: string;
2100
2100
  agentId: string;
2101
2101
  sessionId: string;
2102
2102
  evidence: {
2103
- id: string;
2103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2104
2104
  label: string;
2105
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
+ id: string;
2106
2106
  capture: "at_action" | "historical_lookup" | "fixture";
2107
2107
  locator?: string | undefined;
2108
2108
  }[];
2109
2109
  outputId: string;
2110
2110
  }, {
2111
- summary: string;
2112
2111
  kind: "agent_output";
2112
+ summary: string;
2113
2113
  agentId: string;
2114
2114
  sessionId: string;
2115
2115
  outputId: string;
2116
2116
  evidence?: {
2117
- id: string;
2117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2118
2118
  label: string;
2119
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
+ id: string;
2120
2120
  capture: "at_action" | "historical_lookup" | "fixture";
2121
2121
  locator?: string | undefined;
2122
2122
  }[] | undefined;
@@ -2132,15 +2132,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2132
2132
  locator: z.ZodOptional<z.ZodString>;
2133
2133
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2134
2134
  }, "strict", z.ZodTypeAny, {
2135
- id: string;
2135
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2136
2136
  label: string;
2137
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
+ id: string;
2138
2138
  capture: "at_action" | "historical_lookup" | "fixture";
2139
2139
  locator?: string | undefined;
2140
2140
  }, {
2141
- id: string;
2141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
2142
  label: string;
2143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2143
+ id: string;
2144
2144
  capture: "at_action" | "historical_lookup" | "fixture";
2145
2145
  locator?: string | undefined;
2146
2146
  }>, "many">>;
@@ -2153,9 +2153,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2153
2153
  statement: string;
2154
2154
  sessionId: string;
2155
2155
  evidence: {
2156
- id: string;
2156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
2157
  label: string;
2158
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
+ id: string;
2159
2159
  capture: "at_action" | "historical_lookup" | "fixture";
2160
2160
  locator?: string | undefined;
2161
2161
  }[];
@@ -2171,9 +2171,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2171
2171
  decisionId: string;
2172
2172
  confidence?: number | undefined;
2173
2173
  evidence?: {
2174
- id: string;
2174
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
2175
  label: string;
2176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
+ id: string;
2177
2177
  capture: "at_action" | "historical_lookup" | "fixture";
2178
2178
  locator?: string | undefined;
2179
2179
  }[] | undefined;
@@ -2190,25 +2190,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2190
2190
  locator: z.ZodOptional<z.ZodString>;
2191
2191
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2192
2192
  }, "strict", z.ZodTypeAny, {
2193
- id: string;
2193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2194
2194
  label: string;
2195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
+ id: string;
2196
2196
  capture: "at_action" | "historical_lookup" | "fixture";
2197
2197
  locator?: string | undefined;
2198
2198
  }, {
2199
- id: string;
2199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
2200
  label: string;
2201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
+ id: string;
2202
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2203
2203
  locator?: string | undefined;
2204
2204
  }>, "many">>;
2205
2205
  }, "strict", z.ZodTypeAny, {
2206
- summary: string;
2207
2206
  kind: "conflict_detected";
2207
+ summary: string;
2208
2208
  evidence: {
2209
- id: string;
2209
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2210
2210
  label: string;
2211
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
+ id: string;
2212
2212
  capture: "at_action" | "historical_lookup" | "fixture";
2213
2213
  locator?: string | undefined;
2214
2214
  }[];
@@ -2216,15 +2216,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2216
2216
  decisionIds: string[];
2217
2217
  agentIds: string[];
2218
2218
  }, {
2219
- summary: string;
2220
2219
  kind: "conflict_detected";
2220
+ summary: string;
2221
2221
  conflictId: string;
2222
2222
  decisionIds: string[];
2223
2223
  agentIds: string[];
2224
2224
  evidence?: {
2225
- id: string;
2225
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2226
2226
  label: string;
2227
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2227
+ id: string;
2228
2228
  capture: "at_action" | "historical_lookup" | "fixture";
2229
2229
  locator?: string | undefined;
2230
2230
  }[] | undefined;
@@ -2244,27 +2244,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2244
2244
  locator: z.ZodOptional<z.ZodString>;
2245
2245
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2246
2246
  }, "strict", z.ZodTypeAny, {
2247
- id: string;
2247
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2248
2248
  label: string;
2249
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
+ id: string;
2250
2250
  capture: "at_action" | "historical_lookup" | "fixture";
2251
2251
  locator?: string | undefined;
2252
2252
  }, {
2253
- id: string;
2253
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2254
2254
  label: string;
2255
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2255
+ id: string;
2256
2256
  capture: "at_action" | "historical_lookup" | "fixture";
2257
2257
  locator?: string | undefined;
2258
2258
  }>, "many">>;
2259
2259
  }, "strict", z.ZodTypeAny, {
2260
+ kind: "test_result";
2260
2261
  summary: string;
2261
2262
  status: "error" | "failed" | "passed";
2262
- kind: "test_result";
2263
2263
  command: string;
2264
2264
  evidence: {
2265
- id: string;
2265
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
2266
  label: string;
2267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2267
+ id: string;
2268
2268
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2269
  locator?: string | undefined;
2270
2270
  }[];
@@ -2273,17 +2273,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2273
2273
  durationMs?: number | undefined;
2274
2274
  correctionId?: string | undefined;
2275
2275
  }, {
2276
+ kind: "test_result";
2276
2277
  summary: string;
2277
2278
  status: "error" | "failed" | "passed";
2278
- kind: "test_result";
2279
2279
  command: string;
2280
2280
  decisionId: string;
2281
2281
  testId: string;
2282
2282
  durationMs?: number | undefined;
2283
2283
  evidence?: {
2284
- id: string;
2284
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2285
2285
  label: string;
2286
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
+ id: string;
2287
2287
  capture: "at_action" | "historical_lookup" | "fixture";
2288
2288
  locator?: string | undefined;
2289
2289
  }[] | undefined;
@@ -2304,15 +2304,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2304
2304
  locator: z.ZodOptional<z.ZodString>;
2305
2305
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2306
2306
  }, "strict", z.ZodTypeAny, {
2307
- id: string;
2307
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2308
2308
  label: string;
2309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
+ id: string;
2310
2310
  capture: "at_action" | "historical_lookup" | "fixture";
2311
2311
  locator?: string | undefined;
2312
2312
  }, {
2313
- id: string;
2313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
2314
  label: string;
2315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
+ id: string;
2316
2316
  capture: "at_action" | "historical_lookup" | "fixture";
2317
2317
  locator?: string | undefined;
2318
2318
  }>, "many">>;
@@ -2321,9 +2321,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2321
2321
  statement: string;
2322
2322
  rationale: string;
2323
2323
  evidence: {
2324
- id: string;
2324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2325
2325
  label: string;
2326
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2326
+ id: string;
2327
2327
  capture: "at_action" | "historical_lookup" | "fixture";
2328
2328
  locator?: string | undefined;
2329
2329
  }[];
@@ -2342,9 +2342,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2342
2342
  supersedesDecisionIds: string[];
2343
2343
  proposedBy: string;
2344
2344
  evidence?: {
2345
- id: string;
2345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2346
2346
  label: string;
2347
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
+ id: string;
2348
2348
  capture: "at_action" | "historical_lookup" | "fixture";
2349
2349
  locator?: string | undefined;
2350
2350
  }[] | undefined;
@@ -2356,13 +2356,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2356
2356
  id: z.ZodString;
2357
2357
  label: z.ZodString;
2358
2358
  }, "strict", z.ZodTypeAny, {
2359
- id: string;
2360
- label: string;
2361
2359
  kind: "agent" | "human";
2362
- }, {
2363
- id: string;
2364
2360
  label: string;
2361
+ id: string;
2362
+ }, {
2365
2363
  kind: "agent" | "human";
2364
+ label: string;
2365
+ id: string;
2366
2366
  }>;
2367
2367
  note: z.ZodOptional<z.ZodString>;
2368
2368
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2372,47 +2372,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2372
2372
  locator: z.ZodOptional<z.ZodString>;
2373
2373
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2374
2374
  }, "strict", z.ZodTypeAny, {
2375
- id: string;
2375
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2376
2376
  label: string;
2377
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
+ id: string;
2378
2378
  capture: "at_action" | "historical_lookup" | "fixture";
2379
2379
  locator?: string | undefined;
2380
2380
  }, {
2381
- id: string;
2381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
2382
  label: string;
2383
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
+ id: string;
2384
2384
  capture: "at_action" | "historical_lookup" | "fixture";
2385
2385
  locator?: string | undefined;
2386
2386
  }>, "many">>;
2387
2387
  }, "strict", z.ZodTypeAny, {
2388
2388
  kind: "correction_approved";
2389
2389
  evidence: {
2390
- id: string;
2390
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2391
2391
  label: string;
2392
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
+ id: string;
2393
2393
  capture: "at_action" | "historical_lookup" | "fixture";
2394
2394
  locator?: string | undefined;
2395
2395
  }[];
2396
2396
  correctionId: string;
2397
2397
  approvedBy: {
2398
- id: string;
2399
- label: string;
2400
2398
  kind: "agent" | "human";
2399
+ label: string;
2400
+ id: string;
2401
2401
  };
2402
2402
  note?: string | undefined;
2403
2403
  }, {
2404
2404
  kind: "correction_approved";
2405
2405
  correctionId: string;
2406
2406
  approvedBy: {
2407
- id: string;
2408
- label: string;
2409
2407
  kind: "agent" | "human";
2408
+ label: string;
2409
+ id: string;
2410
2410
  };
2411
2411
  note?: string | undefined;
2412
2412
  evidence?: {
2413
- id: string;
2413
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2414
2414
  label: string;
2415
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
+ id: string;
2416
2416
  capture: "at_action" | "historical_lookup" | "fixture";
2417
2417
  locator?: string | undefined;
2418
2418
  }[] | undefined;
@@ -2428,24 +2428,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2428
2428
  locator: z.ZodOptional<z.ZodString>;
2429
2429
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2430
2430
  }, "strict", z.ZodTypeAny, {
2431
- id: string;
2431
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2432
2432
  label: string;
2433
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
+ id: string;
2434
2434
  capture: "at_action" | "historical_lookup" | "fixture";
2435
2435
  locator?: string | undefined;
2436
2436
  }, {
2437
- id: string;
2437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2438
2438
  label: string;
2439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
+ id: string;
2440
2440
  capture: "at_action" | "historical_lookup" | "fixture";
2441
2441
  locator?: string | undefined;
2442
2442
  }>, "many">>;
2443
2443
  }, "strict", z.ZodTypeAny, {
2444
2444
  kind: "decision_superseded";
2445
2445
  evidence: {
2446
- id: string;
2446
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2447
2447
  label: string;
2448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2448
+ id: string;
2449
2449
  capture: "at_action" | "historical_lookup" | "fixture";
2450
2450
  locator?: string | undefined;
2451
2451
  }[];
@@ -2458,9 +2458,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2458
2458
  correctionId: string;
2459
2459
  replacementDecisionId: string;
2460
2460
  evidence?: {
2461
- id: string;
2461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2462
  label: string;
2463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
+ id: string;
2464
2464
  capture: "at_action" | "historical_lookup" | "fixture";
2465
2465
  locator?: string | undefined;
2466
2466
  }[] | undefined;
@@ -2476,15 +2476,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2476
2476
  locator: z.ZodOptional<z.ZodString>;
2477
2477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2478
2478
  }, "strict", z.ZodTypeAny, {
2479
- id: string;
2479
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
2480
  label: string;
2481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
+ id: string;
2482
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2483
  locator?: string | undefined;
2484
2484
  }, {
2485
- id: string;
2485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2486
  label: string;
2487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
+ id: string;
2488
2488
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2489
  locator?: string | undefined;
2490
2490
  }>, "many">>;
@@ -2497,9 +2497,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2497
2497
  agentId: string;
2498
2498
  sessionId: string;
2499
2499
  evidence: {
2500
- id: string;
2500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2501
2501
  label: string;
2502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
+ id: string;
2503
2503
  capture: "at_action" | "historical_lookup" | "fixture";
2504
2504
  locator?: string | undefined;
2505
2505
  }[];
@@ -2515,9 +2515,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2515
2515
  recallReceiptId: string;
2516
2516
  capturedAtAction: boolean;
2517
2517
  evidence?: {
2518
- id: string;
2518
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2519
2519
  label: string;
2520
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
+ id: string;
2521
2521
  capture: "at_action" | "historical_lookup" | "fixture";
2522
2522
  locator?: string | undefined;
2523
2523
  }[] | undefined;
@@ -2533,15 +2533,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2533
2533
  locator: z.ZodOptional<z.ZodString>;
2534
2534
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2535
2535
  }, "strict", z.ZodTypeAny, {
2536
- id: string;
2536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
2537
  label: string;
2538
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
+ id: string;
2539
2539
  capture: "at_action" | "historical_lookup" | "fixture";
2540
2540
  locator?: string | undefined;
2541
2541
  }, {
2542
- id: string;
2542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
2543
  label: string;
2544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
+ id: string;
2545
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2546
2546
  locator?: string | undefined;
2547
2547
  }>, "many">>;
@@ -2553,9 +2553,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2553
2553
  agentId: string;
2554
2554
  sessionId: string;
2555
2555
  evidence: {
2556
- id: string;
2556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2557
2557
  label: string;
2558
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
+ id: string;
2559
2559
  capture: "at_action" | "historical_lookup" | "fixture";
2560
2560
  locator?: string | undefined;
2561
2561
  }[];
@@ -2572,9 +2572,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2572
2572
  recallReceiptId: string;
2573
2573
  staleDecisionAbsent: boolean;
2574
2574
  evidence?: {
2575
- id: string;
2575
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2576
2576
  label: string;
2577
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2577
+ id: string;
2578
2578
  capture: "at_action" | "historical_lookup" | "fixture";
2579
2579
  locator?: string | undefined;
2580
2580
  }[] | undefined;
@@ -2589,37 +2589,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2589
2589
  locator: z.ZodOptional<z.ZodString>;
2590
2590
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2591
2591
  }, "strict", z.ZodTypeAny, {
2592
- id: string;
2592
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2593
2593
  label: string;
2594
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
+ id: string;
2595
2595
  capture: "at_action" | "historical_lookup" | "fixture";
2596
2596
  locator?: string | undefined;
2597
2597
  }, {
2598
- id: string;
2598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
2599
  label: string;
2600
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
+ id: string;
2601
2601
  capture: "at_action" | "historical_lookup" | "fixture";
2602
2602
  locator?: string | undefined;
2603
2603
  }>, "many">>;
2604
2604
  }, "strict", z.ZodTypeAny, {
2605
- summary: string;
2606
2605
  kind: "mission_completed";
2606
+ summary: string;
2607
2607
  outcome: "failed" | "recovered" | "inconclusive";
2608
2608
  evidence: {
2609
- id: string;
2609
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2610
2610
  label: string;
2611
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
+ id: string;
2612
2612
  capture: "at_action" | "historical_lookup" | "fixture";
2613
2613
  locator?: string | undefined;
2614
2614
  }[];
2615
2615
  }, {
2616
- summary: string;
2617
2616
  kind: "mission_completed";
2617
+ summary: string;
2618
2618
  outcome: "failed" | "recovered" | "inconclusive";
2619
2619
  evidence?: {
2620
- id: string;
2620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2621
2621
  label: string;
2622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
+ id: string;
2623
2623
  capture: "at_action" | "historical_lookup" | "fixture";
2624
2624
  locator?: string | undefined;
2625
2625
  }[] | undefined;
@@ -2627,38 +2627,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2627
2627
  kind: "mission_started";
2628
2628
  title: string;
2629
2629
  evidence: {
2630
- id: string;
2630
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2631
2631
  label: string;
2632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
+ id: string;
2633
2633
  capture: "at_action" | "historical_lookup" | "fixture";
2634
2634
  locator?: string | undefined;
2635
2635
  }[];
2636
2636
  objective: string;
2637
2637
  runMode: "replay" | "fixture" | "live";
2638
2638
  } | {
2639
- label: string;
2640
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2641
2639
  kind: "agent_status";
2640
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2641
+ label: string;
2642
2642
  role: string;
2643
2643
  agentId: string;
2644
2644
  sessionId: string;
2645
2645
  evidence: {
2646
- id: string;
2646
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2647
2647
  label: string;
2648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2648
+ id: string;
2649
2649
  capture: "at_action" | "historical_lookup" | "fixture";
2650
2650
  locator?: string | undefined;
2651
2651
  }[];
2652
2652
  detail?: string | undefined;
2653
2653
  } | {
2654
- summary: string;
2655
2654
  kind: "agent_output";
2655
+ summary: string;
2656
2656
  agentId: string;
2657
2657
  sessionId: string;
2658
2658
  evidence: {
2659
- id: string;
2659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2660
2660
  label: string;
2661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
+ id: string;
2662
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2663
2663
  locator?: string | undefined;
2664
2664
  }[];
@@ -2669,9 +2669,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2669
2669
  statement: string;
2670
2670
  sessionId: string;
2671
2671
  evidence: {
2672
- id: string;
2672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2673
  label: string;
2674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
+ id: string;
2675
2675
  capture: "at_action" | "historical_lookup" | "fixture";
2676
2676
  locator?: string | undefined;
2677
2677
  }[];
@@ -2679,12 +2679,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2679
2679
  decisionId: string;
2680
2680
  confidence?: number | undefined;
2681
2681
  } | {
2682
- summary: string;
2683
2682
  kind: "conflict_detected";
2683
+ summary: string;
2684
2684
  evidence: {
2685
- id: string;
2685
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2686
2686
  label: string;
2687
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2687
+ id: string;
2688
2688
  capture: "at_action" | "historical_lookup" | "fixture";
2689
2689
  locator?: string | undefined;
2690
2690
  }[];
@@ -2692,14 +2692,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2692
2692
  decisionIds: string[];
2693
2693
  agentIds: string[];
2694
2694
  } | {
2695
+ kind: "test_result";
2695
2696
  summary: string;
2696
2697
  status: "error" | "failed" | "passed";
2697
- kind: "test_result";
2698
2698
  command: string;
2699
2699
  evidence: {
2700
- id: string;
2700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2701
2701
  label: string;
2702
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
+ id: string;
2703
2703
  capture: "at_action" | "historical_lookup" | "fixture";
2704
2704
  locator?: string | undefined;
2705
2705
  }[];
@@ -2712,9 +2712,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2712
2712
  statement: string;
2713
2713
  rationale: string;
2714
2714
  evidence: {
2715
- id: string;
2715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
2716
  label: string;
2717
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
+ id: string;
2718
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2719
2719
  locator?: string | undefined;
2720
2720
  }[];
@@ -2726,25 +2726,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2726
2726
  } | {
2727
2727
  kind: "correction_approved";
2728
2728
  evidence: {
2729
- id: string;
2729
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2730
2730
  label: string;
2731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
+ id: string;
2732
2732
  capture: "at_action" | "historical_lookup" | "fixture";
2733
2733
  locator?: string | undefined;
2734
2734
  }[];
2735
2735
  correctionId: string;
2736
2736
  approvedBy: {
2737
- id: string;
2738
- label: string;
2739
2737
  kind: "agent" | "human";
2738
+ label: string;
2739
+ id: string;
2740
2740
  };
2741
2741
  note?: string | undefined;
2742
2742
  } | {
2743
2743
  kind: "decision_superseded";
2744
2744
  evidence: {
2745
- id: string;
2745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2746
2746
  label: string;
2747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2747
+ id: string;
2748
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2749
2749
  locator?: string | undefined;
2750
2750
  }[];
@@ -2757,9 +2757,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2757
2757
  agentId: string;
2758
2758
  sessionId: string;
2759
2759
  evidence: {
2760
- id: string;
2760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2761
2761
  label: string;
2762
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
+ id: string;
2763
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2764
2764
  locator?: string | undefined;
2765
2765
  }[];
@@ -2771,9 +2771,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2771
2771
  agentId: string;
2772
2772
  sessionId: string;
2773
2773
  evidence: {
2774
- id: string;
2774
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2775
2775
  label: string;
2776
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
+ id: string;
2777
2777
  capture: "at_action" | "historical_lookup" | "fixture";
2778
2778
  locator?: string | undefined;
2779
2779
  }[];
@@ -2782,13 +2782,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2782
2782
  recallReceiptId: string;
2783
2783
  staleDecisionAbsent: boolean;
2784
2784
  } | {
2785
- summary: string;
2786
2785
  kind: "mission_completed";
2786
+ summary: string;
2787
2787
  outcome: "failed" | "recovered" | "inconclusive";
2788
2788
  evidence: {
2789
- id: string;
2789
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2790
2790
  label: string;
2791
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2791
+ id: string;
2792
2792
  capture: "at_action" | "historical_lookup" | "fixture";
2793
2793
  locator?: string | undefined;
2794
2794
  }[];
@@ -2798,37 +2798,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2798
2798
  objective: string;
2799
2799
  runMode: "replay" | "fixture" | "live";
2800
2800
  evidence?: {
2801
- id: string;
2801
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2802
2802
  label: string;
2803
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
+ id: string;
2804
2804
  capture: "at_action" | "historical_lookup" | "fixture";
2805
2805
  locator?: string | undefined;
2806
2806
  }[] | undefined;
2807
2807
  } | {
2808
- label: string;
2809
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2810
2808
  kind: "agent_status";
2809
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2810
+ label: string;
2811
2811
  role: string;
2812
2812
  agentId: string;
2813
2813
  sessionId: string;
2814
2814
  detail?: string | undefined;
2815
2815
  evidence?: {
2816
- id: string;
2816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
2817
  label: string;
2818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
+ id: string;
2819
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2820
2820
  locator?: string | undefined;
2821
2821
  }[] | undefined;
2822
2822
  } | {
2823
- summary: string;
2824
2823
  kind: "agent_output";
2824
+ summary: string;
2825
2825
  agentId: string;
2826
2826
  sessionId: string;
2827
2827
  outputId: string;
2828
2828
  evidence?: {
2829
- id: string;
2829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2830
2830
  label: string;
2831
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
+ id: string;
2832
2832
  capture: "at_action" | "historical_lookup" | "fixture";
2833
2833
  locator?: string | undefined;
2834
2834
  }[] | undefined;
@@ -2841,37 +2841,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2841
2841
  decisionId: string;
2842
2842
  confidence?: number | undefined;
2843
2843
  evidence?: {
2844
- id: string;
2844
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
2845
  label: string;
2846
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
+ id: string;
2847
2847
  capture: "at_action" | "historical_lookup" | "fixture";
2848
2848
  locator?: string | undefined;
2849
2849
  }[] | undefined;
2850
2850
  } | {
2851
- summary: string;
2852
2851
  kind: "conflict_detected";
2852
+ summary: string;
2853
2853
  conflictId: string;
2854
2854
  decisionIds: string[];
2855
2855
  agentIds: string[];
2856
2856
  evidence?: {
2857
- id: string;
2857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
2858
  label: string;
2859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
+ id: string;
2860
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2861
2861
  locator?: string | undefined;
2862
2862
  }[] | undefined;
2863
2863
  } | {
2864
+ kind: "test_result";
2864
2865
  summary: string;
2865
2866
  status: "error" | "failed" | "passed";
2866
- kind: "test_result";
2867
2867
  command: string;
2868
2868
  decisionId: string;
2869
2869
  testId: string;
2870
2870
  durationMs?: number | undefined;
2871
2871
  evidence?: {
2872
- id: string;
2872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
2873
  label: string;
2874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2874
+ id: string;
2875
2875
  capture: "at_action" | "historical_lookup" | "fixture";
2876
2876
  locator?: string | undefined;
2877
2877
  }[] | undefined;
@@ -2886,9 +2886,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2886
2886
  supersedesDecisionIds: string[];
2887
2887
  proposedBy: string;
2888
2888
  evidence?: {
2889
- id: string;
2889
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
2890
  label: string;
2891
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2891
+ id: string;
2892
2892
  capture: "at_action" | "historical_lookup" | "fixture";
2893
2893
  locator?: string | undefined;
2894
2894
  }[] | undefined;
@@ -2896,15 +2896,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2896
2896
  kind: "correction_approved";
2897
2897
  correctionId: string;
2898
2898
  approvedBy: {
2899
- id: string;
2900
- label: string;
2901
2899
  kind: "agent" | "human";
2900
+ label: string;
2901
+ id: string;
2902
2902
  };
2903
2903
  note?: string | undefined;
2904
2904
  evidence?: {
2905
- id: string;
2905
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2906
2906
  label: string;
2907
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
+ id: string;
2908
2908
  capture: "at_action" | "historical_lookup" | "fixture";
2909
2909
  locator?: string | undefined;
2910
2910
  }[] | undefined;
@@ -2914,9 +2914,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2914
2914
  correctionId: string;
2915
2915
  replacementDecisionId: string;
2916
2916
  evidence?: {
2917
- id: string;
2917
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2918
2918
  label: string;
2919
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
+ id: string;
2920
2920
  capture: "at_action" | "historical_lookup" | "fixture";
2921
2921
  locator?: string | undefined;
2922
2922
  }[] | undefined;
@@ -2929,9 +2929,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2929
2929
  recallReceiptId: string;
2930
2930
  capturedAtAction: boolean;
2931
2931
  evidence?: {
2932
- id: string;
2932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
2933
  label: string;
2934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2934
+ id: string;
2935
2935
  capture: "at_action" | "historical_lookup" | "fixture";
2936
2936
  locator?: string | undefined;
2937
2937
  }[] | undefined;
@@ -2944,20 +2944,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2944
2944
  recallReceiptId: string;
2945
2945
  staleDecisionAbsent: boolean;
2946
2946
  evidence?: {
2947
- id: string;
2947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
2948
  label: string;
2949
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
+ id: string;
2950
2950
  capture: "at_action" | "historical_lookup" | "fixture";
2951
2951
  locator?: string | undefined;
2952
2952
  }[] | undefined;
2953
2953
  } | {
2954
- summary: string;
2955
2954
  kind: "mission_completed";
2955
+ summary: string;
2956
2956
  outcome: "failed" | "recovered" | "inconclusive";
2957
2957
  evidence?: {
2958
- id: string;
2958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
2959
  label: string;
2960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2960
+ id: string;
2961
2961
  capture: "at_action" | "historical_lookup" | "fixture";
2962
2962
  locator?: string | undefined;
2963
2963
  }[] | undefined;
@@ -2967,38 +2967,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2967
2967
  kind: "mission_started";
2968
2968
  title: string;
2969
2969
  evidence: {
2970
- id: string;
2970
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2971
2971
  label: string;
2972
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
+ id: string;
2973
2973
  capture: "at_action" | "historical_lookup" | "fixture";
2974
2974
  locator?: string | undefined;
2975
2975
  }[];
2976
2976
  objective: string;
2977
2977
  runMode: "replay" | "fixture" | "live";
2978
2978
  } | {
2979
- label: string;
2980
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2981
2979
  kind: "agent_status";
2980
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2981
+ label: string;
2982
2982
  role: string;
2983
2983
  agentId: string;
2984
2984
  sessionId: string;
2985
2985
  evidence: {
2986
- id: string;
2986
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
2987
  label: string;
2988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
+ id: string;
2989
2989
  capture: "at_action" | "historical_lookup" | "fixture";
2990
2990
  locator?: string | undefined;
2991
2991
  }[];
2992
2992
  detail?: string | undefined;
2993
2993
  } | {
2994
- summary: string;
2995
2994
  kind: "agent_output";
2995
+ summary: string;
2996
2996
  agentId: string;
2997
2997
  sessionId: string;
2998
2998
  evidence: {
2999
- id: string;
2999
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3000
3000
  label: string;
3001
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3001
+ id: string;
3002
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3003
3003
  locator?: string | undefined;
3004
3004
  }[];
@@ -3009,9 +3009,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3009
3009
  statement: string;
3010
3010
  sessionId: string;
3011
3011
  evidence: {
3012
- id: string;
3012
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3013
3013
  label: string;
3014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3014
+ id: string;
3015
3015
  capture: "at_action" | "historical_lookup" | "fixture";
3016
3016
  locator?: string | undefined;
3017
3017
  }[];
@@ -3019,12 +3019,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3019
3019
  decisionId: string;
3020
3020
  confidence?: number | undefined;
3021
3021
  } | {
3022
- summary: string;
3023
3022
  kind: "conflict_detected";
3023
+ summary: string;
3024
3024
  evidence: {
3025
- id: string;
3025
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3026
3026
  label: string;
3027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3027
+ id: string;
3028
3028
  capture: "at_action" | "historical_lookup" | "fixture";
3029
3029
  locator?: string | undefined;
3030
3030
  }[];
@@ -3032,14 +3032,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3032
3032
  decisionIds: string[];
3033
3033
  agentIds: string[];
3034
3034
  } | {
3035
+ kind: "test_result";
3035
3036
  summary: string;
3036
3037
  status: "error" | "failed" | "passed";
3037
- kind: "test_result";
3038
3038
  command: string;
3039
3039
  evidence: {
3040
- id: string;
3040
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3041
3041
  label: string;
3042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
+ id: string;
3043
3043
  capture: "at_action" | "historical_lookup" | "fixture";
3044
3044
  locator?: string | undefined;
3045
3045
  }[];
@@ -3052,9 +3052,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3052
3052
  statement: string;
3053
3053
  rationale: string;
3054
3054
  evidence: {
3055
- id: string;
3055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3056
3056
  label: string;
3057
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
+ id: string;
3058
3058
  capture: "at_action" | "historical_lookup" | "fixture";
3059
3059
  locator?: string | undefined;
3060
3060
  }[];
@@ -3066,25 +3066,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3066
3066
  } | {
3067
3067
  kind: "correction_approved";
3068
3068
  evidence: {
3069
- id: string;
3069
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3070
3070
  label: string;
3071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
+ id: string;
3072
3072
  capture: "at_action" | "historical_lookup" | "fixture";
3073
3073
  locator?: string | undefined;
3074
3074
  }[];
3075
3075
  correctionId: string;
3076
3076
  approvedBy: {
3077
- id: string;
3078
- label: string;
3079
3077
  kind: "agent" | "human";
3078
+ label: string;
3079
+ id: string;
3080
3080
  };
3081
3081
  note?: string | undefined;
3082
3082
  } | {
3083
3083
  kind: "decision_superseded";
3084
3084
  evidence: {
3085
- id: string;
3085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
3086
  label: string;
3087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
+ id: string;
3088
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3089
3089
  locator?: string | undefined;
3090
3090
  }[];
@@ -3097,9 +3097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3097
3097
  agentId: string;
3098
3098
  sessionId: string;
3099
3099
  evidence: {
3100
- id: string;
3100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
3101
  label: string;
3102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
+ id: string;
3103
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3104
3104
  locator?: string | undefined;
3105
3105
  }[];
@@ -3111,9 +3111,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3111
3111
  agentId: string;
3112
3112
  sessionId: string;
3113
3113
  evidence: {
3114
- id: string;
3114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3115
3115
  label: string;
3116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
+ id: string;
3117
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3118
3118
  locator?: string | undefined;
3119
3119
  }[];
@@ -3122,13 +3122,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3122
3122
  recallReceiptId: string;
3123
3123
  staleDecisionAbsent: boolean;
3124
3124
  } | {
3125
- summary: string;
3126
3125
  kind: "mission_completed";
3126
+ summary: string;
3127
3127
  outcome: "failed" | "recovered" | "inconclusive";
3128
3128
  evidence: {
3129
- id: string;
3129
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3130
3130
  label: string;
3131
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
+ id: string;
3132
3132
  capture: "at_action" | "historical_lookup" | "fixture";
3133
3133
  locator?: string | undefined;
3134
3134
  }[];
@@ -3142,37 +3142,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3142
3142
  objective: string;
3143
3143
  runMode: "replay" | "fixture" | "live";
3144
3144
  evidence?: {
3145
- id: string;
3145
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
3146
  label: string;
3147
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
+ id: string;
3148
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3149
3149
  locator?: string | undefined;
3150
3150
  }[] | undefined;
3151
3151
  } | {
3152
- label: string;
3153
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3154
3152
  kind: "agent_status";
3153
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3154
+ label: string;
3155
3155
  role: string;
3156
3156
  agentId: string;
3157
3157
  sessionId: string;
3158
3158
  detail?: string | undefined;
3159
3159
  evidence?: {
3160
- id: string;
3160
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
3161
  label: string;
3162
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
+ id: string;
3163
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3164
3164
  locator?: string | undefined;
3165
3165
  }[] | undefined;
3166
3166
  } | {
3167
- summary: string;
3168
3167
  kind: "agent_output";
3168
+ summary: string;
3169
3169
  agentId: string;
3170
3170
  sessionId: string;
3171
3171
  outputId: string;
3172
3172
  evidence?: {
3173
- id: string;
3173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3174
3174
  label: string;
3175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
+ id: string;
3176
3176
  capture: "at_action" | "historical_lookup" | "fixture";
3177
3177
  locator?: string | undefined;
3178
3178
  }[] | undefined;
@@ -3185,37 +3185,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3185
3185
  decisionId: string;
3186
3186
  confidence?: number | undefined;
3187
3187
  evidence?: {
3188
- id: string;
3188
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
3189
  label: string;
3190
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
+ id: string;
3191
3191
  capture: "at_action" | "historical_lookup" | "fixture";
3192
3192
  locator?: string | undefined;
3193
3193
  }[] | undefined;
3194
3194
  } | {
3195
- summary: string;
3196
3195
  kind: "conflict_detected";
3196
+ summary: string;
3197
3197
  conflictId: string;
3198
3198
  decisionIds: string[];
3199
3199
  agentIds: string[];
3200
3200
  evidence?: {
3201
- id: string;
3201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
3202
  label: string;
3203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
+ id: string;
3204
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3205
3205
  locator?: string | undefined;
3206
3206
  }[] | undefined;
3207
3207
  } | {
3208
+ kind: "test_result";
3208
3209
  summary: string;
3209
3210
  status: "error" | "failed" | "passed";
3210
- kind: "test_result";
3211
3211
  command: string;
3212
3212
  decisionId: string;
3213
3213
  testId: string;
3214
3214
  durationMs?: number | undefined;
3215
3215
  evidence?: {
3216
- id: string;
3216
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
3217
  label: string;
3218
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
+ id: string;
3219
3219
  capture: "at_action" | "historical_lookup" | "fixture";
3220
3220
  locator?: string | undefined;
3221
3221
  }[] | undefined;
@@ -3230,9 +3230,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3230
3230
  supersedesDecisionIds: string[];
3231
3231
  proposedBy: string;
3232
3232
  evidence?: {
3233
- id: string;
3233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
3234
  label: string;
3235
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
+ id: string;
3236
3236
  capture: "at_action" | "historical_lookup" | "fixture";
3237
3237
  locator?: string | undefined;
3238
3238
  }[] | undefined;
@@ -3240,15 +3240,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3240
3240
  kind: "correction_approved";
3241
3241
  correctionId: string;
3242
3242
  approvedBy: {
3243
- id: string;
3244
- label: string;
3245
3243
  kind: "agent" | "human";
3244
+ label: string;
3245
+ id: string;
3246
3246
  };
3247
3247
  note?: string | undefined;
3248
3248
  evidence?: {
3249
- id: string;
3249
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3250
3250
  label: string;
3251
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3251
+ id: string;
3252
3252
  capture: "at_action" | "historical_lookup" | "fixture";
3253
3253
  locator?: string | undefined;
3254
3254
  }[] | undefined;
@@ -3258,9 +3258,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3258
3258
  correctionId: string;
3259
3259
  replacementDecisionId: string;
3260
3260
  evidence?: {
3261
- id: string;
3261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
3262
  label: string;
3263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
+ id: string;
3264
3264
  capture: "at_action" | "historical_lookup" | "fixture";
3265
3265
  locator?: string | undefined;
3266
3266
  }[] | undefined;
@@ -3273,9 +3273,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3273
3273
  recallReceiptId: string;
3274
3274
  capturedAtAction: boolean;
3275
3275
  evidence?: {
3276
- id: string;
3276
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
3277
  label: string;
3278
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
+ id: string;
3279
3279
  capture: "at_action" | "historical_lookup" | "fixture";
3280
3280
  locator?: string | undefined;
3281
3281
  }[] | undefined;
@@ -3288,20 +3288,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3288
3288
  recallReceiptId: string;
3289
3289
  staleDecisionAbsent: boolean;
3290
3290
  evidence?: {
3291
- id: string;
3291
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3292
  label: string;
3293
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
+ id: string;
3294
3294
  capture: "at_action" | "historical_lookup" | "fixture";
3295
3295
  locator?: string | undefined;
3296
3296
  }[] | undefined;
3297
3297
  } | {
3298
- summary: string;
3299
3298
  kind: "mission_completed";
3299
+ summary: string;
3300
3300
  outcome: "failed" | "recovered" | "inconclusive";
3301
3301
  evidence?: {
3302
- id: string;
3302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
3303
  label: string;
3304
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
+ id: string;
3305
3305
  capture: "at_action" | "historical_lookup" | "fixture";
3306
3306
  locator?: string | undefined;
3307
3307
  }[] | undefined;
@@ -3331,15 +3331,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3331
3331
  locator: z.ZodOptional<z.ZodString>;
3332
3332
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3333
3333
  }, "strict", z.ZodTypeAny, {
3334
- id: string;
3334
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3335
3335
  label: string;
3336
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
+ id: string;
3337
3337
  capture: "at_action" | "historical_lookup" | "fixture";
3338
3338
  locator?: string | undefined;
3339
3339
  }, {
3340
- id: string;
3340
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
3341
  label: string;
3342
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
+ id: string;
3343
3343
  capture: "at_action" | "historical_lookup" | "fixture";
3344
3344
  locator?: string | undefined;
3345
3345
  }>, "many">>;
@@ -3347,9 +3347,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3347
3347
  kind: "mission_started";
3348
3348
  title: string;
3349
3349
  evidence: {
3350
- id: string;
3350
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3351
3351
  label: string;
3352
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
+ id: string;
3353
3353
  capture: "at_action" | "historical_lookup" | "fixture";
3354
3354
  locator?: string | undefined;
3355
3355
  }[];
@@ -3361,9 +3361,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3361
3361
  objective: string;
3362
3362
  runMode: "replay" | "fixture" | "live";
3363
3363
  evidence?: {
3364
- id: string;
3364
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3365
3365
  label: string;
3366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3366
+ id: string;
3367
3367
  capture: "at_action" | "historical_lookup" | "fixture";
3368
3368
  locator?: string | undefined;
3369
3369
  }[] | undefined;
@@ -3379,15 +3379,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3379
3379
  locator: z.ZodOptional<z.ZodString>;
3380
3380
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3381
3381
  }, "strict", z.ZodTypeAny, {
3382
- id: string;
3382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
3383
  label: string;
3384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
+ id: string;
3385
3385
  capture: "at_action" | "historical_lookup" | "fixture";
3386
3386
  locator?: string | undefined;
3387
3387
  }, {
3388
- id: string;
3388
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
3389
  label: string;
3390
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
+ id: string;
3391
3391
  capture: "at_action" | "historical_lookup" | "fixture";
3392
3392
  locator?: string | undefined;
3393
3393
  }>, "many">>;
@@ -3395,32 +3395,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3395
3395
  sessionId: z.ZodString;
3396
3396
  kind: z.ZodLiteral<"agent_status">;
3397
3397
  }, "strict", z.ZodTypeAny, {
3398
- label: string;
3399
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3400
3398
  kind: "agent_status";
3399
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3400
+ label: string;
3401
3401
  role: string;
3402
3402
  agentId: string;
3403
3403
  sessionId: string;
3404
3404
  evidence: {
3405
- id: string;
3405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3406
3406
  label: string;
3407
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
+ id: string;
3408
3408
  capture: "at_action" | "historical_lookup" | "fixture";
3409
3409
  locator?: string | undefined;
3410
3410
  }[];
3411
3411
  detail?: string | undefined;
3412
3412
  }, {
3413
- label: string;
3414
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3415
3413
  kind: "agent_status";
3414
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3415
+ label: string;
3416
3416
  role: string;
3417
3417
  agentId: string;
3418
3418
  sessionId: string;
3419
3419
  detail?: string | undefined;
3420
3420
  evidence?: {
3421
- id: string;
3421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3422
3422
  label: string;
3423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
+ id: string;
3424
3424
  capture: "at_action" | "historical_lookup" | "fixture";
3425
3425
  locator?: string | undefined;
3426
3426
  }[] | undefined;
@@ -3434,15 +3434,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3434
3434
  locator: z.ZodOptional<z.ZodString>;
3435
3435
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3436
3436
  }, "strict", z.ZodTypeAny, {
3437
- id: string;
3437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3438
3438
  label: string;
3439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
+ id: string;
3440
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3441
3441
  locator?: string | undefined;
3442
3442
  }, {
3443
- id: string;
3443
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3444
3444
  label: string;
3445
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
+ id: string;
3446
3446
  capture: "at_action" | "historical_lookup" | "fixture";
3447
3447
  locator?: string | undefined;
3448
3448
  }>, "many">>;
@@ -3450,28 +3450,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3450
3450
  sessionId: z.ZodString;
3451
3451
  kind: z.ZodLiteral<"agent_output">;
3452
3452
  }, "strict", z.ZodTypeAny, {
3453
- summary: string;
3454
3453
  kind: "agent_output";
3454
+ summary: string;
3455
3455
  agentId: string;
3456
3456
  sessionId: string;
3457
3457
  evidence: {
3458
- id: string;
3458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3459
3459
  label: string;
3460
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
+ id: string;
3461
3461
  capture: "at_action" | "historical_lookup" | "fixture";
3462
3462
  locator?: string | undefined;
3463
3463
  }[];
3464
3464
  outputId: string;
3465
3465
  }, {
3466
- summary: string;
3467
3466
  kind: "agent_output";
3467
+ summary: string;
3468
3468
  agentId: string;
3469
3469
  sessionId: string;
3470
3470
  outputId: string;
3471
3471
  evidence?: {
3472
- id: string;
3472
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
3473
  label: string;
3474
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
+ id: string;
3475
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3476
3476
  locator?: string | undefined;
3477
3477
  }[] | undefined;
@@ -3487,15 +3487,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3487
3487
  locator: z.ZodOptional<z.ZodString>;
3488
3488
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3489
3489
  }, "strict", z.ZodTypeAny, {
3490
- id: string;
3490
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
3491
  label: string;
3492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
+ id: string;
3493
3493
  capture: "at_action" | "historical_lookup" | "fixture";
3494
3494
  locator?: string | undefined;
3495
3495
  }, {
3496
- id: string;
3496
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3497
3497
  label: string;
3498
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3498
+ id: string;
3499
3499
  capture: "at_action" | "historical_lookup" | "fixture";
3500
3500
  locator?: string | undefined;
3501
3501
  }>, "many">>;
@@ -3508,9 +3508,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3508
3508
  statement: string;
3509
3509
  sessionId: string;
3510
3510
  evidence: {
3511
- id: string;
3511
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3512
3512
  label: string;
3513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3513
+ id: string;
3514
3514
  capture: "at_action" | "historical_lookup" | "fixture";
3515
3515
  locator?: string | undefined;
3516
3516
  }[];
@@ -3526,9 +3526,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3526
3526
  decisionId: string;
3527
3527
  confidence?: number | undefined;
3528
3528
  evidence?: {
3529
- id: string;
3529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3530
3530
  label: string;
3531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
+ id: string;
3532
3532
  capture: "at_action" | "historical_lookup" | "fixture";
3533
3533
  locator?: string | undefined;
3534
3534
  }[] | undefined;
@@ -3545,25 +3545,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3545
3545
  locator: z.ZodOptional<z.ZodString>;
3546
3546
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3547
3547
  }, "strict", z.ZodTypeAny, {
3548
- id: string;
3548
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3549
3549
  label: string;
3550
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
+ id: string;
3551
3551
  capture: "at_action" | "historical_lookup" | "fixture";
3552
3552
  locator?: string | undefined;
3553
3553
  }, {
3554
- id: string;
3554
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3555
3555
  label: string;
3556
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
+ id: string;
3557
3557
  capture: "at_action" | "historical_lookup" | "fixture";
3558
3558
  locator?: string | undefined;
3559
3559
  }>, "many">>;
3560
3560
  }, "strict", z.ZodTypeAny, {
3561
- summary: string;
3562
3561
  kind: "conflict_detected";
3562
+ summary: string;
3563
3563
  evidence: {
3564
- id: string;
3564
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
3565
  label: string;
3566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
+ id: string;
3567
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3568
3568
  locator?: string | undefined;
3569
3569
  }[];
@@ -3571,15 +3571,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3571
3571
  decisionIds: string[];
3572
3572
  agentIds: string[];
3573
3573
  }, {
3574
- summary: string;
3575
3574
  kind: "conflict_detected";
3575
+ summary: string;
3576
3576
  conflictId: string;
3577
3577
  decisionIds: string[];
3578
3578
  agentIds: string[];
3579
3579
  evidence?: {
3580
- id: string;
3580
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3581
3581
  label: string;
3582
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
+ id: string;
3583
3583
  capture: "at_action" | "historical_lookup" | "fixture";
3584
3584
  locator?: string | undefined;
3585
3585
  }[] | undefined;
@@ -3599,27 +3599,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3599
3599
  locator: z.ZodOptional<z.ZodString>;
3600
3600
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3601
3601
  }, "strict", z.ZodTypeAny, {
3602
- id: string;
3602
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3603
3603
  label: string;
3604
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
+ id: string;
3605
3605
  capture: "at_action" | "historical_lookup" | "fixture";
3606
3606
  locator?: string | undefined;
3607
3607
  }, {
3608
- id: string;
3608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3609
3609
  label: string;
3610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3610
+ id: string;
3611
3611
  capture: "at_action" | "historical_lookup" | "fixture";
3612
3612
  locator?: string | undefined;
3613
3613
  }>, "many">>;
3614
3614
  }, "strict", z.ZodTypeAny, {
3615
+ kind: "test_result";
3615
3616
  summary: string;
3616
3617
  status: "error" | "failed" | "passed";
3617
- kind: "test_result";
3618
3618
  command: string;
3619
3619
  evidence: {
3620
- id: string;
3620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
3621
  label: string;
3622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
+ id: string;
3623
3623
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3624
  locator?: string | undefined;
3625
3625
  }[];
@@ -3628,17 +3628,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3628
3628
  durationMs?: number | undefined;
3629
3629
  correctionId?: string | undefined;
3630
3630
  }, {
3631
+ kind: "test_result";
3631
3632
  summary: string;
3632
3633
  status: "error" | "failed" | "passed";
3633
- kind: "test_result";
3634
3634
  command: string;
3635
3635
  decisionId: string;
3636
3636
  testId: string;
3637
3637
  durationMs?: number | undefined;
3638
3638
  evidence?: {
3639
- id: string;
3639
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
3640
  label: string;
3641
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
+ id: string;
3642
3642
  capture: "at_action" | "historical_lookup" | "fixture";
3643
3643
  locator?: string | undefined;
3644
3644
  }[] | undefined;
@@ -3659,15 +3659,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3659
3659
  locator: z.ZodOptional<z.ZodString>;
3660
3660
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3661
3661
  }, "strict", z.ZodTypeAny, {
3662
- id: string;
3662
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3663
3663
  label: string;
3664
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
+ id: string;
3665
3665
  capture: "at_action" | "historical_lookup" | "fixture";
3666
3666
  locator?: string | undefined;
3667
3667
  }, {
3668
- id: string;
3668
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3669
  label: string;
3670
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
+ id: string;
3671
3671
  capture: "at_action" | "historical_lookup" | "fixture";
3672
3672
  locator?: string | undefined;
3673
3673
  }>, "many">>;
@@ -3676,9 +3676,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3676
3676
  statement: string;
3677
3677
  rationale: string;
3678
3678
  evidence: {
3679
- id: string;
3679
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3680
3680
  label: string;
3681
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
+ id: string;
3682
3682
  capture: "at_action" | "historical_lookup" | "fixture";
3683
3683
  locator?: string | undefined;
3684
3684
  }[];
@@ -3697,9 +3697,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3697
3697
  supersedesDecisionIds: string[];
3698
3698
  proposedBy: string;
3699
3699
  evidence?: {
3700
- id: string;
3700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3701
3701
  label: string;
3702
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3702
+ id: string;
3703
3703
  capture: "at_action" | "historical_lookup" | "fixture";
3704
3704
  locator?: string | undefined;
3705
3705
  }[] | undefined;
@@ -3711,13 +3711,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3711
3711
  id: z.ZodString;
3712
3712
  label: z.ZodString;
3713
3713
  }, "strict", z.ZodTypeAny, {
3714
- id: string;
3715
- label: string;
3716
3714
  kind: "agent" | "human";
3717
- }, {
3718
- id: string;
3719
3715
  label: string;
3716
+ id: string;
3717
+ }, {
3720
3718
  kind: "agent" | "human";
3719
+ label: string;
3720
+ id: string;
3721
3721
  }>;
3722
3722
  note: z.ZodOptional<z.ZodString>;
3723
3723
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3727,47 +3727,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3727
3727
  locator: z.ZodOptional<z.ZodString>;
3728
3728
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3729
3729
  }, "strict", z.ZodTypeAny, {
3730
- id: string;
3730
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3731
3731
  label: string;
3732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
+ id: string;
3733
3733
  capture: "at_action" | "historical_lookup" | "fixture";
3734
3734
  locator?: string | undefined;
3735
3735
  }, {
3736
- id: string;
3736
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
3737
  label: string;
3738
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
+ id: string;
3739
3739
  capture: "at_action" | "historical_lookup" | "fixture";
3740
3740
  locator?: string | undefined;
3741
3741
  }>, "many">>;
3742
3742
  }, "strict", z.ZodTypeAny, {
3743
3743
  kind: "correction_approved";
3744
3744
  evidence: {
3745
- id: string;
3745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3746
3746
  label: string;
3747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
+ id: string;
3748
3748
  capture: "at_action" | "historical_lookup" | "fixture";
3749
3749
  locator?: string | undefined;
3750
3750
  }[];
3751
3751
  correctionId: string;
3752
3752
  approvedBy: {
3753
- id: string;
3754
- label: string;
3755
3753
  kind: "agent" | "human";
3754
+ label: string;
3755
+ id: string;
3756
3756
  };
3757
3757
  note?: string | undefined;
3758
3758
  }, {
3759
3759
  kind: "correction_approved";
3760
3760
  correctionId: string;
3761
3761
  approvedBy: {
3762
- id: string;
3763
- label: string;
3764
3762
  kind: "agent" | "human";
3763
+ label: string;
3764
+ id: string;
3765
3765
  };
3766
3766
  note?: string | undefined;
3767
3767
  evidence?: {
3768
- id: string;
3768
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3769
3769
  label: string;
3770
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
+ id: string;
3771
3771
  capture: "at_action" | "historical_lookup" | "fixture";
3772
3772
  locator?: string | undefined;
3773
3773
  }[] | undefined;
@@ -3783,24 +3783,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3783
3783
  locator: z.ZodOptional<z.ZodString>;
3784
3784
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3785
3785
  }, "strict", z.ZodTypeAny, {
3786
- id: string;
3786
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3787
3787
  label: string;
3788
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
+ id: string;
3789
3789
  capture: "at_action" | "historical_lookup" | "fixture";
3790
3790
  locator?: string | undefined;
3791
3791
  }, {
3792
- id: string;
3792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3793
3793
  label: string;
3794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
+ id: string;
3795
3795
  capture: "at_action" | "historical_lookup" | "fixture";
3796
3796
  locator?: string | undefined;
3797
3797
  }>, "many">>;
3798
3798
  }, "strict", z.ZodTypeAny, {
3799
3799
  kind: "decision_superseded";
3800
3800
  evidence: {
3801
- id: string;
3801
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3802
3802
  label: string;
3803
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3803
+ id: string;
3804
3804
  capture: "at_action" | "historical_lookup" | "fixture";
3805
3805
  locator?: string | undefined;
3806
3806
  }[];
@@ -3813,9 +3813,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3813
3813
  correctionId: string;
3814
3814
  replacementDecisionId: string;
3815
3815
  evidence?: {
3816
- id: string;
3816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3817
  label: string;
3818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
+ id: string;
3819
3819
  capture: "at_action" | "historical_lookup" | "fixture";
3820
3820
  locator?: string | undefined;
3821
3821
  }[] | undefined;
@@ -3831,15 +3831,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3831
3831
  locator: z.ZodOptional<z.ZodString>;
3832
3832
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3833
3833
  }, "strict", z.ZodTypeAny, {
3834
- id: string;
3834
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
3835
  label: string;
3836
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
+ id: string;
3837
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3838
  locator?: string | undefined;
3839
3839
  }, {
3840
- id: string;
3840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3841
  label: string;
3842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
+ id: string;
3843
3843
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3844
  locator?: string | undefined;
3845
3845
  }>, "many">>;
@@ -3852,9 +3852,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3852
3852
  agentId: string;
3853
3853
  sessionId: string;
3854
3854
  evidence: {
3855
- id: string;
3855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3856
3856
  label: string;
3857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
+ id: string;
3858
3858
  capture: "at_action" | "historical_lookup" | "fixture";
3859
3859
  locator?: string | undefined;
3860
3860
  }[];
@@ -3870,9 +3870,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3870
3870
  recallReceiptId: string;
3871
3871
  capturedAtAction: boolean;
3872
3872
  evidence?: {
3873
- id: string;
3873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3874
3874
  label: string;
3875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
+ id: string;
3876
3876
  capture: "at_action" | "historical_lookup" | "fixture";
3877
3877
  locator?: string | undefined;
3878
3878
  }[] | undefined;
@@ -3888,15 +3888,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3888
3888
  locator: z.ZodOptional<z.ZodString>;
3889
3889
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3890
3890
  }, "strict", z.ZodTypeAny, {
3891
- id: string;
3891
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
3892
  label: string;
3893
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
+ id: string;
3894
3894
  capture: "at_action" | "historical_lookup" | "fixture";
3895
3895
  locator?: string | undefined;
3896
3896
  }, {
3897
- id: string;
3897
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
3898
  label: string;
3899
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
+ id: string;
3900
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3901
3901
  locator?: string | undefined;
3902
3902
  }>, "many">>;
@@ -3908,9 +3908,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3908
3908
  agentId: string;
3909
3909
  sessionId: string;
3910
3910
  evidence: {
3911
- id: string;
3911
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3912
3912
  label: string;
3913
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
+ id: string;
3914
3914
  capture: "at_action" | "historical_lookup" | "fixture";
3915
3915
  locator?: string | undefined;
3916
3916
  }[];
@@ -3927,9 +3927,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3927
3927
  recallReceiptId: string;
3928
3928
  staleDecisionAbsent: boolean;
3929
3929
  evidence?: {
3930
- id: string;
3930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3931
3931
  label: string;
3932
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3932
+ id: string;
3933
3933
  capture: "at_action" | "historical_lookup" | "fixture";
3934
3934
  locator?: string | undefined;
3935
3935
  }[] | undefined;
@@ -3944,37 +3944,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3944
3944
  locator: z.ZodOptional<z.ZodString>;
3945
3945
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3946
3946
  }, "strict", z.ZodTypeAny, {
3947
- id: string;
3947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3948
3948
  label: string;
3949
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
+ id: string;
3950
3950
  capture: "at_action" | "historical_lookup" | "fixture";
3951
3951
  locator?: string | undefined;
3952
3952
  }, {
3953
- id: string;
3953
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
3954
  label: string;
3955
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
+ id: string;
3956
3956
  capture: "at_action" | "historical_lookup" | "fixture";
3957
3957
  locator?: string | undefined;
3958
3958
  }>, "many">>;
3959
3959
  }, "strict", z.ZodTypeAny, {
3960
- summary: string;
3961
3960
  kind: "mission_completed";
3961
+ summary: string;
3962
3962
  outcome: "failed" | "recovered" | "inconclusive";
3963
3963
  evidence: {
3964
- id: string;
3964
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3965
3965
  label: string;
3966
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
+ id: string;
3967
3967
  capture: "at_action" | "historical_lookup" | "fixture";
3968
3968
  locator?: string | undefined;
3969
3969
  }[];
3970
3970
  }, {
3971
- summary: string;
3972
3971
  kind: "mission_completed";
3972
+ summary: string;
3973
3973
  outcome: "failed" | "recovered" | "inconclusive";
3974
3974
  evidence?: {
3975
- id: string;
3975
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3976
3976
  label: string;
3977
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
+ id: string;
3978
3978
  capture: "at_action" | "historical_lookup" | "fixture";
3979
3979
  locator?: string | undefined;
3980
3980
  }[] | undefined;
@@ -3982,38 +3982,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3982
3982
  kind: "mission_started";
3983
3983
  title: string;
3984
3984
  evidence: {
3985
- id: string;
3985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3986
3986
  label: string;
3987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
+ id: string;
3988
3988
  capture: "at_action" | "historical_lookup" | "fixture";
3989
3989
  locator?: string | undefined;
3990
3990
  }[];
3991
3991
  objective: string;
3992
3992
  runMode: "replay" | "fixture" | "live";
3993
3993
  } | {
3994
- label: string;
3995
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3996
3994
  kind: "agent_status";
3995
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3996
+ label: string;
3997
3997
  role: string;
3998
3998
  agentId: string;
3999
3999
  sessionId: string;
4000
4000
  evidence: {
4001
- id: string;
4001
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4002
4002
  label: string;
4003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4003
+ id: string;
4004
4004
  capture: "at_action" | "historical_lookup" | "fixture";
4005
4005
  locator?: string | undefined;
4006
4006
  }[];
4007
4007
  detail?: string | undefined;
4008
4008
  } | {
4009
- summary: string;
4010
4009
  kind: "agent_output";
4010
+ summary: string;
4011
4011
  agentId: string;
4012
4012
  sessionId: string;
4013
4013
  evidence: {
4014
- id: string;
4014
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4015
4015
  label: string;
4016
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
+ id: string;
4017
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4018
4018
  locator?: string | undefined;
4019
4019
  }[];
@@ -4024,9 +4024,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4024
4024
  statement: string;
4025
4025
  sessionId: string;
4026
4026
  evidence: {
4027
- id: string;
4027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4028
  label: string;
4029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
+ id: string;
4030
4030
  capture: "at_action" | "historical_lookup" | "fixture";
4031
4031
  locator?: string | undefined;
4032
4032
  }[];
@@ -4034,12 +4034,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4034
4034
  decisionId: string;
4035
4035
  confidence?: number | undefined;
4036
4036
  } | {
4037
- summary: string;
4038
4037
  kind: "conflict_detected";
4038
+ summary: string;
4039
4039
  evidence: {
4040
- id: string;
4040
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4041
4041
  label: string;
4042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4042
+ id: string;
4043
4043
  capture: "at_action" | "historical_lookup" | "fixture";
4044
4044
  locator?: string | undefined;
4045
4045
  }[];
@@ -4047,14 +4047,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4047
4047
  decisionIds: string[];
4048
4048
  agentIds: string[];
4049
4049
  } | {
4050
+ kind: "test_result";
4050
4051
  summary: string;
4051
4052
  status: "error" | "failed" | "passed";
4052
- kind: "test_result";
4053
4053
  command: string;
4054
4054
  evidence: {
4055
- id: string;
4055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4056
4056
  label: string;
4057
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
+ id: string;
4058
4058
  capture: "at_action" | "historical_lookup" | "fixture";
4059
4059
  locator?: string | undefined;
4060
4060
  }[];
@@ -4067,9 +4067,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4067
4067
  statement: string;
4068
4068
  rationale: string;
4069
4069
  evidence: {
4070
- id: string;
4070
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
4071
  label: string;
4072
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
+ id: string;
4073
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4074
4074
  locator?: string | undefined;
4075
4075
  }[];
@@ -4081,25 +4081,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4081
4081
  } | {
4082
4082
  kind: "correction_approved";
4083
4083
  evidence: {
4084
- id: string;
4084
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4085
4085
  label: string;
4086
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
+ id: string;
4087
4087
  capture: "at_action" | "historical_lookup" | "fixture";
4088
4088
  locator?: string | undefined;
4089
4089
  }[];
4090
4090
  correctionId: string;
4091
4091
  approvedBy: {
4092
- id: string;
4093
- label: string;
4094
4092
  kind: "agent" | "human";
4093
+ label: string;
4094
+ id: string;
4095
4095
  };
4096
4096
  note?: string | undefined;
4097
4097
  } | {
4098
4098
  kind: "decision_superseded";
4099
4099
  evidence: {
4100
- id: string;
4100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4101
4101
  label: string;
4102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4102
+ id: string;
4103
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4104
4104
  locator?: string | undefined;
4105
4105
  }[];
@@ -4112,9 +4112,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4112
4112
  agentId: string;
4113
4113
  sessionId: string;
4114
4114
  evidence: {
4115
- id: string;
4115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4116
4116
  label: string;
4117
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
+ id: string;
4118
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4119
4119
  locator?: string | undefined;
4120
4120
  }[];
@@ -4126,9 +4126,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4126
4126
  agentId: string;
4127
4127
  sessionId: string;
4128
4128
  evidence: {
4129
- id: string;
4129
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4130
4130
  label: string;
4131
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
+ id: string;
4132
4132
  capture: "at_action" | "historical_lookup" | "fixture";
4133
4133
  locator?: string | undefined;
4134
4134
  }[];
@@ -4137,13 +4137,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4137
4137
  recallReceiptId: string;
4138
4138
  staleDecisionAbsent: boolean;
4139
4139
  } | {
4140
- summary: string;
4141
4140
  kind: "mission_completed";
4141
+ summary: string;
4142
4142
  outcome: "failed" | "recovered" | "inconclusive";
4143
4143
  evidence: {
4144
- id: string;
4144
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4145
4145
  label: string;
4146
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4146
+ id: string;
4147
4147
  capture: "at_action" | "historical_lookup" | "fixture";
4148
4148
  locator?: string | undefined;
4149
4149
  }[];
@@ -4153,37 +4153,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4153
4153
  objective: string;
4154
4154
  runMode: "replay" | "fixture" | "live";
4155
4155
  evidence?: {
4156
- id: string;
4156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4157
4157
  label: string;
4158
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
+ id: string;
4159
4159
  capture: "at_action" | "historical_lookup" | "fixture";
4160
4160
  locator?: string | undefined;
4161
4161
  }[] | undefined;
4162
4162
  } | {
4163
- label: string;
4164
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4165
4163
  kind: "agent_status";
4164
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4165
+ label: string;
4166
4166
  role: string;
4167
4167
  agentId: string;
4168
4168
  sessionId: string;
4169
4169
  detail?: string | undefined;
4170
4170
  evidence?: {
4171
- id: string;
4171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
4172
  label: string;
4173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
+ id: string;
4174
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4175
4175
  locator?: string | undefined;
4176
4176
  }[] | undefined;
4177
4177
  } | {
4178
- summary: string;
4179
4178
  kind: "agent_output";
4179
+ summary: string;
4180
4180
  agentId: string;
4181
4181
  sessionId: string;
4182
4182
  outputId: string;
4183
4183
  evidence?: {
4184
- id: string;
4184
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4185
4185
  label: string;
4186
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
+ id: string;
4187
4187
  capture: "at_action" | "historical_lookup" | "fixture";
4188
4188
  locator?: string | undefined;
4189
4189
  }[] | undefined;
@@ -4196,37 +4196,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4196
4196
  decisionId: string;
4197
4197
  confidence?: number | undefined;
4198
4198
  evidence?: {
4199
- id: string;
4199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
4200
  label: string;
4201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
+ id: string;
4202
4202
  capture: "at_action" | "historical_lookup" | "fixture";
4203
4203
  locator?: string | undefined;
4204
4204
  }[] | undefined;
4205
4205
  } | {
4206
- summary: string;
4207
4206
  kind: "conflict_detected";
4207
+ summary: string;
4208
4208
  conflictId: string;
4209
4209
  decisionIds: string[];
4210
4210
  agentIds: string[];
4211
4211
  evidence?: {
4212
- id: string;
4212
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
4213
  label: string;
4214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
+ id: string;
4215
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4216
4216
  locator?: string | undefined;
4217
4217
  }[] | undefined;
4218
4218
  } | {
4219
+ kind: "test_result";
4219
4220
  summary: string;
4220
4221
  status: "error" | "failed" | "passed";
4221
- kind: "test_result";
4222
4222
  command: string;
4223
4223
  decisionId: string;
4224
4224
  testId: string;
4225
4225
  durationMs?: number | undefined;
4226
4226
  evidence?: {
4227
- id: string;
4227
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
4228
  label: string;
4229
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4229
+ id: string;
4230
4230
  capture: "at_action" | "historical_lookup" | "fixture";
4231
4231
  locator?: string | undefined;
4232
4232
  }[] | undefined;
@@ -4241,9 +4241,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4241
4241
  supersedesDecisionIds: string[];
4242
4242
  proposedBy: string;
4243
4243
  evidence?: {
4244
- id: string;
4244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4245
4245
  label: string;
4246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
+ id: string;
4247
4247
  capture: "at_action" | "historical_lookup" | "fixture";
4248
4248
  locator?: string | undefined;
4249
4249
  }[] | undefined;
@@ -4251,15 +4251,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4251
4251
  kind: "correction_approved";
4252
4252
  correctionId: string;
4253
4253
  approvedBy: {
4254
- id: string;
4255
- label: string;
4256
4254
  kind: "agent" | "human";
4255
+ label: string;
4256
+ id: string;
4257
4257
  };
4258
4258
  note?: string | undefined;
4259
4259
  evidence?: {
4260
- id: string;
4260
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4261
4261
  label: string;
4262
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
+ id: string;
4263
4263
  capture: "at_action" | "historical_lookup" | "fixture";
4264
4264
  locator?: string | undefined;
4265
4265
  }[] | undefined;
@@ -4269,9 +4269,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4269
4269
  correctionId: string;
4270
4270
  replacementDecisionId: string;
4271
4271
  evidence?: {
4272
- id: string;
4272
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4273
4273
  label: string;
4274
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
+ id: string;
4275
4275
  capture: "at_action" | "historical_lookup" | "fixture";
4276
4276
  locator?: string | undefined;
4277
4277
  }[] | undefined;
@@ -4284,9 +4284,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4284
4284
  recallReceiptId: string;
4285
4285
  capturedAtAction: boolean;
4286
4286
  evidence?: {
4287
- id: string;
4287
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4288
  label: string;
4289
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
+ id: string;
4290
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4291
  locator?: string | undefined;
4292
4292
  }[] | undefined;
@@ -4299,64 +4299,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4299
4299
  recallReceiptId: string;
4300
4300
  staleDecisionAbsent: boolean;
4301
4301
  evidence?: {
4302
- id: string;
4302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
4303
  label: string;
4304
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
+ id: string;
4305
4305
  capture: "at_action" | "historical_lookup" | "fixture";
4306
4306
  locator?: string | undefined;
4307
4307
  }[] | undefined;
4308
4308
  } | {
4309
- summary: string;
4310
4309
  kind: "mission_completed";
4310
+ summary: string;
4311
4311
  outcome: "failed" | "recovered" | "inconclusive";
4312
4312
  evidence?: {
4313
- id: string;
4313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
4314
  label: string;
4315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4315
+ id: string;
4316
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4317
  locator?: string | undefined;
4318
4318
  }[] | undefined;
4319
4319
  }>;
4320
4320
  }, "strict", z.ZodTypeAny, {
4321
- namespace: string;
4322
- recordedAt: string;
4323
4321
  schemaVersion: "1";
4322
+ recordedAt: string;
4324
4323
  payload: {
4325
4324
  kind: "mission_started";
4326
4325
  title: string;
4327
4326
  evidence: {
4328
- id: string;
4327
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
4328
  label: string;
4330
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
+ id: string;
4331
4330
  capture: "at_action" | "historical_lookup" | "fixture";
4332
4331
  locator?: string | undefined;
4333
4332
  }[];
4334
4333
  objective: string;
4335
4334
  runMode: "replay" | "fixture" | "live";
4336
4335
  } | {
4337
- label: string;
4338
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4339
4336
  kind: "agent_status";
4337
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4338
+ label: string;
4340
4339
  role: string;
4341
4340
  agentId: string;
4342
4341
  sessionId: string;
4343
4342
  evidence: {
4344
- id: string;
4343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
4344
  label: string;
4346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
+ id: string;
4347
4346
  capture: "at_action" | "historical_lookup" | "fixture";
4348
4347
  locator?: string | undefined;
4349
4348
  }[];
4350
4349
  detail?: string | undefined;
4351
4350
  } | {
4352
- summary: string;
4353
4351
  kind: "agent_output";
4352
+ summary: string;
4354
4353
  agentId: string;
4355
4354
  sessionId: string;
4356
4355
  evidence: {
4357
- id: string;
4356
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
4357
  label: string;
4359
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
+ id: string;
4360
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4361
4360
  locator?: string | undefined;
4362
4361
  }[];
@@ -4367,9 +4366,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4366
  statement: string;
4368
4367
  sessionId: string;
4369
4368
  evidence: {
4370
- id: string;
4369
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4370
  label: string;
4372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
+ id: string;
4373
4372
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4373
  locator?: string | undefined;
4375
4374
  }[];
@@ -4377,12 +4376,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4377
4376
  decisionId: string;
4378
4377
  confidence?: number | undefined;
4379
4378
  } | {
4380
- summary: string;
4381
4379
  kind: "conflict_detected";
4380
+ summary: string;
4382
4381
  evidence: {
4383
- id: string;
4382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
4383
  label: string;
4385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
+ id: string;
4386
4385
  capture: "at_action" | "historical_lookup" | "fixture";
4387
4386
  locator?: string | undefined;
4388
4387
  }[];
@@ -4390,14 +4389,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4390
4389
  decisionIds: string[];
4391
4390
  agentIds: string[];
4392
4391
  } | {
4392
+ kind: "test_result";
4393
4393
  summary: string;
4394
4394
  status: "error" | "failed" | "passed";
4395
- kind: "test_result";
4396
4395
  command: string;
4397
4396
  evidence: {
4398
- id: string;
4397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
4398
  label: string;
4400
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
+ id: string;
4401
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4402
4401
  locator?: string | undefined;
4403
4402
  }[];
@@ -4410,9 +4409,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4410
4409
  statement: string;
4411
4410
  rationale: string;
4412
4411
  evidence: {
4413
- id: string;
4412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4413
  label: string;
4415
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
+ id: string;
4416
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4417
4416
  locator?: string | undefined;
4418
4417
  }[];
@@ -4424,25 +4423,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4424
4423
  } | {
4425
4424
  kind: "correction_approved";
4426
4425
  evidence: {
4427
- id: string;
4426
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
4427
  label: string;
4429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
+ id: string;
4430
4429
  capture: "at_action" | "historical_lookup" | "fixture";
4431
4430
  locator?: string | undefined;
4432
4431
  }[];
4433
4432
  correctionId: string;
4434
4433
  approvedBy: {
4435
- id: string;
4436
- label: string;
4437
4434
  kind: "agent" | "human";
4435
+ label: string;
4436
+ id: string;
4438
4437
  };
4439
4438
  note?: string | undefined;
4440
4439
  } | {
4441
4440
  kind: "decision_superseded";
4442
4441
  evidence: {
4443
- id: string;
4442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
4443
  label: string;
4445
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
+ id: string;
4446
4445
  capture: "at_action" | "historical_lookup" | "fixture";
4447
4446
  locator?: string | undefined;
4448
4447
  }[];
@@ -4455,9 +4454,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4455
4454
  agentId: string;
4456
4455
  sessionId: string;
4457
4456
  evidence: {
4458
- id: string;
4457
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
4458
  label: string;
4460
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
+ id: string;
4461
4460
  capture: "at_action" | "historical_lookup" | "fixture";
4462
4461
  locator?: string | undefined;
4463
4462
  }[];
@@ -4469,9 +4468,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4469
4468
  agentId: string;
4470
4469
  sessionId: string;
4471
4470
  evidence: {
4472
- id: string;
4471
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4472
  label: string;
4474
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
+ id: string;
4475
4474
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4475
  locator?: string | undefined;
4477
4476
  }[];
@@ -4480,63 +4479,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4480
4479
  recallReceiptId: string;
4481
4480
  staleDecisionAbsent: boolean;
4482
4481
  } | {
4483
- summary: string;
4484
4482
  kind: "mission_completed";
4483
+ summary: string;
4485
4484
  outcome: "failed" | "recovered" | "inconclusive";
4486
4485
  evidence: {
4487
- id: string;
4486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4487
  label: string;
4489
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
+ id: string;
4490
4489
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4490
  locator?: string | undefined;
4492
4491
  }[];
4493
4492
  };
4493
+ namespace: string;
4494
4494
  eventId: string;
4495
4495
  occurredAt: string;
4496
4496
  missionId: string;
4497
4497
  authenticatedPrincipal?: string | undefined;
4498
4498
  idempotencyKey?: string | undefined;
4499
4499
  }, {
4500
- namespace: string;
4501
- recordedAt: string;
4502
4500
  schemaVersion: "1";
4501
+ recordedAt: string;
4503
4502
  payload: {
4504
4503
  kind: "mission_started";
4505
4504
  title: string;
4506
4505
  objective: string;
4507
4506
  runMode: "replay" | "fixture" | "live";
4508
4507
  evidence?: {
4509
- id: string;
4508
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4509
  label: string;
4511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
+ id: string;
4512
4511
  capture: "at_action" | "historical_lookup" | "fixture";
4513
4512
  locator?: string | undefined;
4514
4513
  }[] | undefined;
4515
4514
  } | {
4516
- label: string;
4517
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4518
4515
  kind: "agent_status";
4516
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4517
+ label: string;
4519
4518
  role: string;
4520
4519
  agentId: string;
4521
4520
  sessionId: string;
4522
4521
  detail?: string | undefined;
4523
4522
  evidence?: {
4524
- id: string;
4523
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
4524
  label: string;
4526
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
+ id: string;
4527
4526
  capture: "at_action" | "historical_lookup" | "fixture";
4528
4527
  locator?: string | undefined;
4529
4528
  }[] | undefined;
4530
4529
  } | {
4531
- summary: string;
4532
4530
  kind: "agent_output";
4531
+ summary: string;
4533
4532
  agentId: string;
4534
4533
  sessionId: string;
4535
4534
  outputId: string;
4536
4535
  evidence?: {
4537
- id: string;
4536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
4537
  label: string;
4539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
+ id: string;
4540
4539
  capture: "at_action" | "historical_lookup" | "fixture";
4541
4540
  locator?: string | undefined;
4542
4541
  }[] | undefined;
@@ -4549,37 +4548,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4549
4548
  decisionId: string;
4550
4549
  confidence?: number | undefined;
4551
4550
  evidence?: {
4552
- id: string;
4551
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
4552
  label: string;
4554
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
+ id: string;
4555
4554
  capture: "at_action" | "historical_lookup" | "fixture";
4556
4555
  locator?: string | undefined;
4557
4556
  }[] | undefined;
4558
4557
  } | {
4559
- summary: string;
4560
4558
  kind: "conflict_detected";
4559
+ summary: string;
4561
4560
  conflictId: string;
4562
4561
  decisionIds: string[];
4563
4562
  agentIds: string[];
4564
4563
  evidence?: {
4565
- id: string;
4564
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
4565
  label: string;
4567
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
+ id: string;
4568
4567
  capture: "at_action" | "historical_lookup" | "fixture";
4569
4568
  locator?: string | undefined;
4570
4569
  }[] | undefined;
4571
4570
  } | {
4571
+ kind: "test_result";
4572
4572
  summary: string;
4573
4573
  status: "error" | "failed" | "passed";
4574
- kind: "test_result";
4575
4574
  command: string;
4576
4575
  decisionId: string;
4577
4576
  testId: string;
4578
4577
  durationMs?: number | undefined;
4579
4578
  evidence?: {
4580
- id: string;
4579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
4580
  label: string;
4582
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
+ id: string;
4583
4582
  capture: "at_action" | "historical_lookup" | "fixture";
4584
4583
  locator?: string | undefined;
4585
4584
  }[] | undefined;
@@ -4594,9 +4593,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4594
4593
  supersedesDecisionIds: string[];
4595
4594
  proposedBy: string;
4596
4595
  evidence?: {
4597
- id: string;
4596
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
4597
  label: string;
4599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
+ id: string;
4600
4599
  capture: "at_action" | "historical_lookup" | "fixture";
4601
4600
  locator?: string | undefined;
4602
4601
  }[] | undefined;
@@ -4604,15 +4603,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4604
4603
  kind: "correction_approved";
4605
4604
  correctionId: string;
4606
4605
  approvedBy: {
4607
- id: string;
4608
- label: string;
4609
4606
  kind: "agent" | "human";
4607
+ label: string;
4608
+ id: string;
4610
4609
  };
4611
4610
  note?: string | undefined;
4612
4611
  evidence?: {
4613
- id: string;
4612
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
4613
  label: string;
4615
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
+ id: string;
4616
4615
  capture: "at_action" | "historical_lookup" | "fixture";
4617
4616
  locator?: string | undefined;
4618
4617
  }[] | undefined;
@@ -4622,9 +4621,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4622
4621
  correctionId: string;
4623
4622
  replacementDecisionId: string;
4624
4623
  evidence?: {
4625
- id: string;
4624
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
4625
  label: string;
4627
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
+ id: string;
4628
4627
  capture: "at_action" | "historical_lookup" | "fixture";
4629
4628
  locator?: string | undefined;
4630
4629
  }[] | undefined;
@@ -4637,9 +4636,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4637
4636
  recallReceiptId: string;
4638
4637
  capturedAtAction: boolean;
4639
4638
  evidence?: {
4640
- id: string;
4639
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
4640
  label: string;
4642
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
+ id: string;
4643
4642
  capture: "at_action" | "historical_lookup" | "fixture";
4644
4643
  locator?: string | undefined;
4645
4644
  }[] | undefined;
@@ -4652,24 +4651,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4652
4651
  recallReceiptId: string;
4653
4652
  staleDecisionAbsent: boolean;
4654
4653
  evidence?: {
4655
- id: string;
4654
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
4655
  label: string;
4657
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
+ id: string;
4658
4657
  capture: "at_action" | "historical_lookup" | "fixture";
4659
4658
  locator?: string | undefined;
4660
4659
  }[] | undefined;
4661
4660
  } | {
4662
- summary: string;
4663
4661
  kind: "mission_completed";
4662
+ summary: string;
4664
4663
  outcome: "failed" | "recovered" | "inconclusive";
4665
4664
  evidence?: {
4666
- id: string;
4665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
4666
  label: string;
4668
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
+ id: string;
4669
4668
  capture: "at_action" | "historical_lookup" | "fixture";
4670
4669
  locator?: string | undefined;
4671
4670
  }[] | undefined;
4672
4671
  };
4672
+ namespace: string;
4673
4673
  eventId: string;
4674
4674
  occurredAt: string;
4675
4675
  missionId: string;