@remnic/core 9.50.3 → 9.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (486) hide show
  1. package/dist/access-admin-ops-surface.d.ts +13 -11
  2. package/dist/access-admin-ops-surface.js +41 -39
  3. package/dist/access-authorization-probe.d.ts +13 -11
  4. package/dist/access-authorization-probe.js +42 -40
  5. package/dist/access-boundary.d.ts +13 -11
  6. package/dist/access-boundary.js +41 -39
  7. package/dist/access-cli.js +109 -104
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +3 -1
  10. package/dist/access-extraction-force-flush.d.ts +13 -11
  11. package/dist/access-extraction-force-flush.js +41 -39
  12. package/dist/access-health-types.d.ts +3 -1
  13. package/dist/access-http-lcm-compaction.d.ts +13 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +13 -11
  15. package/dist/access-http-offline-stream.d.ts +13 -11
  16. package/dist/access-http-query.js +41 -39
  17. package/dist/access-http.d.ts +13 -11
  18. package/dist/access-http.js +52 -50
  19. package/dist/access-identity-continuity-surface.d.ts +11 -9
  20. package/dist/access-identity-continuity-surface.js +41 -39
  21. package/dist/access-lcm-surface.d.ts +13 -11
  22. package/dist/access-lcm-surface.js +41 -39
  23. package/dist/access-mcp.d.ts +13 -11
  24. package/dist/access-mcp.js +47 -45
  25. package/dist/access-memory-search-fanout.d.ts +4 -2
  26. package/dist/{access-namespace-preflight-Dj2QolFE.d.ts → access-namespace-preflight-Ds6CGlCP.d.ts} +1 -1
  27. package/dist/access-namespace-preflight.d.ts +5 -3
  28. package/dist/access-namespace-preflight.js +41 -39
  29. package/dist/access-observe-write-surface.d.ts +13 -11
  30. package/dist/access-observe-write-surface.js +41 -39
  31. package/dist/access-offline-manifest.d.ts +11 -9
  32. package/dist/access-operations-batch.js +43 -41
  33. package/dist/access-operations.d.ts +16 -14
  34. package/dist/access-operations.js +46 -44
  35. package/dist/access-recall-concurrency.d.ts +13 -11
  36. package/dist/access-recall-concurrency.js +41 -39
  37. package/dist/access-recall-response.d.ts +13 -11
  38. package/dist/access-recall-response.js +41 -39
  39. package/dist/access-recall-surface.d.ts +13 -11
  40. package/dist/access-recall-surface.js +41 -39
  41. package/dist/access-schema.d.ts +88 -88
  42. package/dist/access-schema.js +3 -3
  43. package/dist/{access-service-DesbnTSa.d.ts → access-service-BY0KJ44c.d.ts} +7 -7
  44. package/dist/access-service-helpers.d.ts +13 -11
  45. package/dist/access-service.d.ts +13 -11
  46. package/dist/access-service.js +41 -39
  47. package/dist/access-surface-catalog.d.ts +13 -11
  48. package/dist/access-wearables-meetings-surface.d.ts +5 -3
  49. package/dist/action-confidence.d.ts +3 -1
  50. package/dist/active-memory-bridge.d.ts +3 -1
  51. package/dist/active-recall.d.ts +3 -1
  52. package/dist/active-recall.js +5 -3
  53. package/dist/active-recall.js.map +1 -1
  54. package/dist/adapters/index.js +4 -4
  55. package/dist/adapters/registry.js +2 -2
  56. package/dist/ambient-provenance.d.ts +3 -1
  57. package/dist/archive-mutation-version.d.ts +9 -0
  58. package/dist/archive-mutation-version.js +20 -0
  59. package/dist/artifact-search.d.ts +3 -1
  60. package/dist/behavior-learner.d.ts +3 -1
  61. package/dist/behavior-signals.d.ts +3 -1
  62. package/dist/bootstrap.d.ts +11 -9
  63. package/dist/briefing.d.ts +4 -2
  64. package/dist/briefing.js +10 -9
  65. package/dist/buffer-surprise-report.d.ts +3 -1
  66. package/dist/buffer-turn-helpers.d.ts +3 -1
  67. package/dist/buffer.d.ts +4 -2
  68. package/dist/buffer.js +5 -5
  69. package/dist/bulk-import/index.d.ts +5 -3
  70. package/dist/calibration.d.ts +3 -1
  71. package/dist/capabilities.d.ts +3 -1
  72. package/dist/{catalog-D-G7RgXR.d.ts → catalog-D3B4RDy1.d.ts} +1 -1
  73. package/dist/causal-behavior.d.ts +3 -1
  74. package/dist/causal-behavior.js +2 -2
  75. package/dist/causal-chain.js +2 -2
  76. package/dist/causal-consolidation.d.ts +3 -1
  77. package/dist/causal-consolidation.js +13 -12
  78. package/dist/causal-consolidation.js.map +1 -1
  79. package/dist/causal-retrieval.js +2 -2
  80. package/dist/causal-trajectory-graph.d.ts +4 -2
  81. package/dist/causal-trajectory-graph.js +2 -1
  82. package/dist/causal-trajectory-graph.js.map +1 -1
  83. package/dist/causal-trajectory.js +1 -1
  84. package/dist/{chunk-KDG2KTWW.js → chunk-33SV3E43.js} +4 -4
  85. package/dist/{chunk-2HGUDBRJ.js → chunk-37ZO6LLJ.js} +2 -2
  86. package/dist/{chunk-QW3WFHKU.js → chunk-45BRYON6.js} +2 -2
  87. package/dist/{chunk-GZICBRWK.js → chunk-4F6X3RXW.js} +2 -2
  88. package/dist/{chunk-7BAYBYY5.js → chunk-4PC4PRJE.js} +2 -2
  89. package/dist/{chunk-VJXY5ZCT.js → chunk-52UKFTUK.js} +2 -2
  90. package/dist/{chunk-ESG7Z255.js → chunk-5UDMFE3Q.js} +2 -2
  91. package/dist/{chunk-JPHEOE6Z.js → chunk-6MTSFX7A.js} +15 -15
  92. package/dist/chunk-6ZN34ISG.js +44 -0
  93. package/dist/chunk-6ZN34ISG.js.map +1 -0
  94. package/dist/{chunk-M4MP34AQ.js → chunk-AHZOMHWN.js} +1 -1
  95. package/dist/{chunk-Z3RHPGSY.js → chunk-AIUBBHSF.js} +3 -3
  96. package/dist/{chunk-S3AYIQCU.js → chunk-AXIDQG5A.js} +12 -12
  97. package/dist/{chunk-QN7NTKRC.js → chunk-AZ2QBGYB.js} +1 -1
  98. package/dist/{chunk-47J4EDGR.js → chunk-AZM4CCAC.js} +8 -8
  99. package/dist/{chunk-IXXABW5A.js → chunk-BHXYAVUM.js} +11 -5
  100. package/dist/chunk-BHXYAVUM.js.map +1 -0
  101. package/dist/{chunk-L2DPF4DF.js → chunk-BIJAWZYW.js} +54 -12
  102. package/dist/chunk-BIJAWZYW.js.map +1 -0
  103. package/dist/{chunk-LEJPSMKM.js → chunk-C5QLI33R.js} +3 -3
  104. package/dist/{chunk-SV3PSA7Y.js → chunk-CV6BBVYV.js} +5 -5
  105. package/dist/{chunk-V7X767RT.js → chunk-DCZBSE4F.js} +52 -52
  106. package/dist/chunk-FC67T4E6.js +70 -0
  107. package/dist/chunk-FC67T4E6.js.map +1 -0
  108. package/dist/{chunk-7PKFPLLZ.js → chunk-FXTYIA46.js} +2 -2
  109. package/dist/{chunk-64BHFFKZ.js → chunk-HLYR2TQL.js} +5 -5
  110. package/dist/{chunk-5C2HNJMO.js → chunk-J5LLX6IL.js} +32 -32
  111. package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
  112. package/dist/{chunk-PLKFO2HJ.js → chunk-JL43BVDE.js} +2 -2
  113. package/dist/{chunk-2S72LWKX.js → chunk-JYL3BVVZ.js} +2 -2
  114. package/dist/{chunk-IPLYGWQF.js → chunk-KQAFEZQX.js} +5 -5
  115. package/dist/chunk-LXY5VVGM.js +61 -0
  116. package/dist/chunk-LXY5VVGM.js.map +1 -0
  117. package/dist/{chunk-PYKKWQZ2.js → chunk-M7BXDKPR.js} +6 -6
  118. package/dist/{chunk-Z54EM5YZ.js → chunk-MAXVH44E.js} +7 -7
  119. package/dist/{chunk-LYMNZZIM.js → chunk-NIS256NW.js} +2 -2
  120. package/dist/{chunk-67QG75MJ.js → chunk-NLK2VZYZ.js} +2 -2
  121. package/dist/{chunk-A4QMKFFO.js → chunk-O5FFBO2M.js} +14 -28
  122. package/dist/chunk-O5FFBO2M.js.map +1 -0
  123. package/dist/{chunk-JYIFGGEM.js → chunk-OUKBMQ2O.js} +2 -2
  124. package/dist/{chunk-75XOWNRS.js → chunk-OYESWJ43.js} +4 -4
  125. package/dist/{chunk-TS4AJ2GI.js → chunk-PA45XCUD.js} +3 -3
  126. package/dist/{chunk-BJYET5TX.js → chunk-PRDJMOST.js} +7 -1
  127. package/dist/chunk-PRDJMOST.js.map +1 -0
  128. package/dist/{chunk-4MBPIL4V.js → chunk-PUSLMZBQ.js} +2 -2
  129. package/dist/{chunk-RVO6TCTU.js → chunk-QCECHYZL.js} +6 -6
  130. package/dist/{chunk-GFIKG4FR.js → chunk-QGR6OVGT.js} +2 -2
  131. package/dist/{chunk-NSGU76YO.js → chunk-QHFV6VNU.js} +6 -2
  132. package/dist/chunk-QHFV6VNU.js.map +1 -0
  133. package/dist/{chunk-PDEKQWDV.js → chunk-QT2FRYI4.js} +18 -2
  134. package/dist/chunk-QT2FRYI4.js.map +1 -0
  135. package/dist/{chunk-HNZKVLAN.js → chunk-S354QO4R.js} +2 -2
  136. package/dist/{chunk-NO37MR45.js → chunk-SOEN6KCF.js} +2 -2
  137. package/dist/{chunk-FXX6RQYC.js → chunk-TPTECFWR.js} +2 -2
  138. package/dist/{chunk-GDDGZVFI.js → chunk-UEVLYVNW.js} +2 -2
  139. package/dist/{chunk-YQ4IQ2GA.js → chunk-UT5BV5OG.js} +2 -2
  140. package/dist/{chunk-LAQ33B5D.js → chunk-UU3G6GUP.js} +1 -1
  141. package/dist/chunk-UU3G6GUP.js.map +1 -0
  142. package/dist/{chunk-LNTUXKBT.js → chunk-UYYW2KPU.js} +2 -2
  143. package/dist/{chunk-BOFVT6P3.js → chunk-VBHPOWBJ.js} +175 -98
  144. package/dist/chunk-VBHPOWBJ.js.map +1 -0
  145. package/dist/{chunk-QSYL5CXK.js → chunk-VKXWK44Q.js} +3 -3
  146. package/dist/{chunk-KMWYZTIE.js → chunk-VMMQDEN5.js} +2 -2
  147. package/dist/{chunk-JB6D7EFB.js → chunk-VVG2BOKA.js} +2 -2
  148. package/dist/chunk-W5BIQOAJ.js +69 -0
  149. package/dist/chunk-W5BIQOAJ.js.map +1 -0
  150. package/dist/{chunk-V5H6OJCR.js → chunk-W5XVQFLM.js} +2 -2
  151. package/dist/{chunk-OIOZ6MOP.js → chunk-W6FNX2LP.js} +2 -2
  152. package/dist/{chunk-6QPHF6RR.js → chunk-WQM326GS.js} +2 -2
  153. package/dist/{chunk-TQFHQPWD.js → chunk-XADV5IZ3.js} +8 -8
  154. package/dist/{chunk-DATDLJAO.js → chunk-XAPMEU3K.js} +2 -2
  155. package/dist/chunk-XXSOVESA.js +42 -0
  156. package/dist/chunk-XXSOVESA.js.map +1 -0
  157. package/dist/{chunk-IK6X5QPO.js → chunk-ZHY5TMJG.js} +1193 -443
  158. package/dist/chunk-ZHY5TMJG.js.map +1 -0
  159. package/dist/{chunk-N3LL5NEU.js → chunk-ZMYDYNI4.js} +2 -2
  160. package/dist/{cli-D4vvtxjY.d.ts → cli-CnOkH9hA.d.ts} +6 -6
  161. package/dist/cli.d.ts +15 -13
  162. package/dist/cli.js +74 -70
  163. package/dist/coding/pre-action-gate.d.ts +3 -1
  164. package/dist/coding/pre-action-gate.js +2 -2
  165. package/dist/compounding/engine.d.ts +4 -2
  166. package/dist/compounding/engine.js +10 -9
  167. package/dist/compounding/preference-consolidator.d.ts +3 -1
  168. package/dist/compression-optimizer.d.ts +3 -1
  169. package/dist/config.d.ts +3 -1
  170. package/dist/config.js +5 -3
  171. package/dist/connectors/codex-materialize-runner.d.ts +3 -1
  172. package/dist/connectors/codex-materialize-runner.js +10 -9
  173. package/dist/connectors/codex-materialize.d.ts +3 -1
  174. package/dist/connectors/index.d.ts +3 -1
  175. package/dist/connectors/index.js +10 -9
  176. package/dist/consolidation-provenance-check.d.ts +4 -2
  177. package/dist/consolidation-undo.d.ts +4 -2
  178. package/dist/contradiction/index.d.ts +4 -2
  179. package/dist/contradiction-config.d.ts +29 -0
  180. package/dist/contradiction-config.js +12 -0
  181. package/dist/contradiction-config.js.map +1 -0
  182. package/dist/converge-config.d.ts +3 -1
  183. package/dist/convergence-refresh.d.ts +4 -2
  184. package/dist/convergence-refresh.js +12 -11
  185. package/dist/conversation-index/backend.d.ts +3 -1
  186. package/dist/conversation-index/chunker.d.ts +3 -1
  187. package/dist/conversation-index/faiss-adapter.d.ts +3 -1
  188. package/dist/conversation-index/indexer.d.ts +3 -1
  189. package/dist/conversation-index/search.d.ts +3 -1
  190. package/dist/corpus-watermark.d.ts +3 -1
  191. package/dist/corpus-watermark.js +21 -20
  192. package/dist/day-summary.d.ts +3 -1
  193. package/dist/delinearize.d.ts +3 -1
  194. package/dist/dependency-propagation-config.d.ts +3 -1
  195. package/dist/direct-answer-wiring.d.ts +3 -1
  196. package/dist/direct-answer.d.ts +3 -1
  197. package/dist/embedding-fallback.d.ts +3 -1
  198. package/dist/enrichment/index.d.ts +3 -1
  199. package/dist/entity-retrieval.d.ts +4 -2
  200. package/dist/entity-retrieval.js +10 -9
  201. package/dist/entity-schema.d.ts +3 -1
  202. package/dist/explicit-capture.d.ts +11 -9
  203. package/dist/explicit-capture.js +3 -2
  204. package/dist/external-wiki-access.d.ts +13 -11
  205. package/dist/external-wiki-access.js +42 -40
  206. package/dist/external-wiki-collection-registration.d.ts +3 -1
  207. package/dist/external-wiki-collection.d.ts +3 -1
  208. package/dist/external-wiki-mcp-tools.d.ts +13 -11
  209. package/dist/extraction-error-classification.d.ts +3 -1
  210. package/dist/extraction-faithfulness.d.ts +3 -1
  211. package/dist/extraction-judge-telemetry.d.ts +3 -1
  212. package/dist/extraction-judge-training.d.ts +3 -1
  213. package/dist/extraction-judge.d.ts +3 -1
  214. package/dist/extraction-liveness.d.ts +3 -1
  215. package/dist/extraction-normalization.d.ts +3 -1
  216. package/dist/extraction-prompt.d.ts +3 -1
  217. package/dist/extraction-source-grounding-rules.d.ts +3 -1
  218. package/dist/extraction-source-grounding.d.ts +3 -1
  219. package/dist/extraction.d.ts +3 -1
  220. package/dist/extraction.js +22 -21
  221. package/dist/fallback-llm.d.ts +3 -1
  222. package/dist/graph-444E-DrF.d.ts +349 -0
  223. package/dist/graph-dashboard-diff.d.ts +4 -2
  224. package/dist/graph-dashboard-key.d.ts +4 -2
  225. package/dist/graph-dashboard-parser.d.ts +4 -2
  226. package/dist/{graph-edge-decay-Z6ENALU2.js → graph-edge-decay-65KMOJWY.js} +4 -3
  227. package/dist/graph-edge-decay-65KMOJWY.js.map +1 -0
  228. package/dist/graph-edge-reinforcement.d.ts +4 -2
  229. package/dist/graph-path-reconstruction.d.ts +10 -0
  230. package/dist/graph-path-reconstruction.js +12 -0
  231. package/dist/graph-path-reconstruction.js.map +1 -0
  232. package/dist/graph-path-scoring-config.d.ts +8 -0
  233. package/dist/graph-path-scoring-config.js +10 -0
  234. package/dist/graph-path-scoring-config.js.map +1 -0
  235. package/dist/graph-path-scoring.d.ts +36 -0
  236. package/dist/graph-path-scoring.js +11 -0
  237. package/dist/graph-path-scoring.js.map +1 -0
  238. package/dist/graph-snapshot.d.ts +4 -2
  239. package/dist/graph-snapshot.js +3 -2
  240. package/dist/graph.d.ts +5 -318
  241. package/dist/graph.js +5 -1
  242. package/dist/harmonic-retrieval.js +1 -1
  243. package/dist/importance.d.ts +3 -1
  244. package/dist/importers/index.d.ts +3 -1
  245. package/dist/in-flight-reads.d.ts +3 -1
  246. package/dist/index.d.ts +696 -694
  247. package/dist/index.js +149 -144
  248. package/dist/intent.d.ts +3 -1
  249. package/dist/lcm/engine.d.ts +3 -1
  250. package/dist/lcm/engine.js +3 -3
  251. package/dist/lcm/index.d.ts +3 -1
  252. package/dist/lcm/index.js +6 -6
  253. package/dist/lcm/tools.d.ts +3 -1
  254. package/dist/lifecycle.d.ts +3 -1
  255. package/dist/live-connectors-runner.d.ts +3 -1
  256. package/dist/local-llm.d.ts +3 -1
  257. package/dist/local-model-endpoint.d.ts +3 -1
  258. package/dist/maintenance/memory-governance.d.ts +3 -1
  259. package/dist/maintenance/memory-governance.js +10 -9
  260. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +4 -2
  261. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -9
  262. package/dist/maintenance/rebuild-memory-projection.d.ts +4 -2
  263. package/dist/maintenance/rebuild-memory-projection.js +11 -10
  264. package/dist/{maintenance-ClmUVpGI.d.ts → maintenance-CKwxpdRx.d.ts} +3 -3
  265. package/dist/mcp-memory-inspector-app.d.ts +13 -11
  266. package/dist/memory-action-policy.d.ts +3 -1
  267. package/dist/memory-cache.d.ts +3 -1
  268. package/dist/memory-lifecycle-ledger-utils.d.ts +3 -1
  269. package/dist/memory-projection-store.d.ts +3 -1
  270. package/dist/memory-provenance.d.ts +3 -1
  271. package/dist/memory-snapshot.d.ts +3 -1
  272. package/dist/memory-worth-outcomes.d.ts +4 -2
  273. package/dist/models-json.d.ts +3 -1
  274. package/dist/namespaces/migrate.d.ts +5 -3
  275. package/dist/namespaces/migrate.js +20 -19
  276. package/dist/namespaces/principal.d.ts +3 -1
  277. package/dist/namespaces/search.d.ts +3 -1
  278. package/dist/namespaces/search.js +7 -7
  279. package/dist/namespaces/storage.d.ts +5 -3
  280. package/dist/namespaces/storage.js +10 -9
  281. package/dist/native-knowledge.d.ts +3 -1
  282. package/dist/offline-sync-impression-drain.d.ts +3 -1
  283. package/dist/operator-doctor-corpus.d.ts +3 -1
  284. package/dist/operator-doctor-corpus.js +22 -21
  285. package/dist/operator-doctor-replica.d.ts +3 -1
  286. package/dist/operator-toolkit.d.ts +6 -4
  287. package/dist/operator-toolkit.js +33 -29
  288. package/dist/orchestration/compression-guideline-coordinator.d.ts +4 -2
  289. package/dist/orchestration/maintenance.d.ts +6 -4
  290. package/dist/orchestration/maintenance.js +15 -14
  291. package/dist/{orchestrator-qJ07zI8H.d.ts → orchestrator-BshGam-o.d.ts} +45 -19
  292. package/dist/orchestrator.d.ts +11 -9
  293. package/dist/orchestrator.js +109 -104
  294. package/dist/patterns-cli.d.ts +3 -1
  295. package/dist/{pipeline-WFCxhHOn.d.ts → pipeline-D21Rs6gW.d.ts} +1 -1
  296. package/dist/policy-runtime.d.ts +3 -1
  297. package/dist/proactive-contention.d.ts +3 -1
  298. package/dist/provenance.d.ts +3 -1
  299. package/dist/{qmd-5tzkQ44y.d.ts → qmd-Dhle1P4X.d.ts} +1 -1
  300. package/dist/qmd-preflight.d.ts +4 -2
  301. package/dist/qmd-recall-cache.d.ts +3 -1
  302. package/dist/qmd.d.ts +4 -2
  303. package/dist/qmd.js +4 -4
  304. package/dist/recall-concurrency-config.d.ts +3 -1
  305. package/dist/recall-disclosure-escalation.d.ts +3 -1
  306. package/dist/recall-explain-renderer.d.ts +3 -1
  307. package/dist/recall-explain-renderer.js +3 -3
  308. package/dist/recall-memory-map.d.ts +3 -1
  309. package/dist/recall-planner-llm.d.ts +3 -1
  310. package/dist/recall-planner-llm.js +3 -3
  311. package/dist/recall-state.d.ts +7 -1
  312. package/dist/recall-state.js +1 -1
  313. package/dist/recall-tag-filter.d.ts +3 -1
  314. package/dist/recall-timings.d.ts +3 -1
  315. package/dist/recall-xray-cli.d.ts +3 -1
  316. package/dist/recall-xray-cli.js +4 -4
  317. package/dist/recall-xray-renderer.d.ts +3 -1
  318. package/dist/recall-xray-renderer.js +3 -3
  319. package/dist/recall-xray.d.ts +7 -1
  320. package/dist/recall-xray.js +2 -2
  321. package/dist/reconcile/cursor.d.ts +3 -1
  322. package/dist/reconcile/manifest.d.ts +3 -1
  323. package/dist/reconcile/plan.d.ts +3 -1
  324. package/dist/replay/normalizers/chatgpt.d.ts +3 -1
  325. package/dist/replay/normalizers/claude.d.ts +3 -1
  326. package/dist/replay/normalizers/openclaw.d.ts +3 -1
  327. package/dist/replay/normalizers/shared.d.ts +3 -1
  328. package/dist/replay/runner.d.ts +3 -1
  329. package/dist/replay/types.d.ts +3 -1
  330. package/dist/replica-divergence.d.ts +3 -1
  331. package/dist/replica-peers-config.d.ts +3 -1
  332. package/dist/resolve-auth-token.d.ts +3 -1
  333. package/dist/resume-bundles.js +6 -4
  334. package/dist/retrieval-agents.d.ts +4 -2
  335. package/dist/retrieval-tiers.d.ts +3 -1
  336. package/dist/routing/engine.d.ts +3 -1
  337. package/dist/routing/store.d.ts +3 -1
  338. package/dist/salvage-envelope.d.ts +3 -1
  339. package/dist/schemas.d.ts +116 -116
  340. package/dist/{scope-profiles--vfXPl3X.d.ts → scope-profiles-NzGPDXLn.d.ts} +1 -1
  341. package/dist/search/embed-helper.d.ts +3 -1
  342. package/dist/search/factory.d.ts +3 -1
  343. package/dist/search/factory.js +6 -6
  344. package/dist/search/index.d.ts +3 -1
  345. package/dist/search/index.js +12 -12
  346. package/dist/search/lancedb-backend.d.ts +3 -1
  347. package/dist/search/meilisearch-backend.d.ts +3 -1
  348. package/dist/search/noop-backend.d.ts +3 -1
  349. package/dist/search/orama-backend.d.ts +3 -1
  350. package/dist/search/port.d.ts +3 -1
  351. package/dist/search/remote-backend.d.ts +3 -1
  352. package/dist/{semantic-consolidation-BBDuP9nJ.d.ts → semantic-consolidation-DLDKvyy5.d.ts} +1 -1
  353. package/dist/semantic-consolidation.d.ts +4 -2
  354. package/dist/semantic-consolidation.js +11 -10
  355. package/dist/semantic-rule-promotion.js +10 -9
  356. package/dist/semantic-rule-verifier.d.ts +3 -1
  357. package/dist/semantic-rule-verifier.js +10 -9
  358. package/dist/{service-B8DtbpCM.d.ts → service-BIgVM7fL.d.ts} +2 -2
  359. package/dist/session-observer-bands.d.ts +3 -1
  360. package/dist/session-observer-state.d.ts +3 -1
  361. package/dist/shared-context/manager.d.ts +11 -9
  362. package/dist/signal.d.ts +3 -1
  363. package/dist/source-agent-qualifier.d.ts +3 -1
  364. package/dist/source-agent-qualifier.js +18 -17
  365. package/dist/{storage-BkYN1RIy.d.ts → storage-CVfGWqCI.d.ts} +7 -6
  366. package/dist/storage.d.ts +4 -2
  367. package/dist/storage.js +9 -8
  368. package/dist/summarizer.d.ts +3 -1
  369. package/dist/summary-snapshot.d.ts +3 -1
  370. package/dist/temporal-supersession.d.ts +4 -2
  371. package/dist/temporal-timeline-recall.d.ts +3 -1
  372. package/dist/temporal-validity.d.ts +3 -1
  373. package/dist/threading.d.ts +3 -1
  374. package/dist/tier-migration.d.ts +4 -2
  375. package/dist/tier-routing.d.ts +3 -1
  376. package/dist/topics.d.ts +3 -1
  377. package/dist/transcript.d.ts +3 -1
  378. package/dist/transfer/autodetect.js +1 -1
  379. package/dist/transfer/backup.js +1 -1
  380. package/dist/transfer/capsule-export.js +2 -2
  381. package/dist/transfer/types.d.ts +66 -66
  382. package/dist/trust-score-stage.d.ts +3 -1
  383. package/dist/trust-score.d.ts +3 -1
  384. package/dist/{types-u2s9j1uD.d.ts → types-CkiDUorT.d.ts} +10 -16
  385. package/dist/types.d.ts +3 -1
  386. package/dist/types.js +1 -1
  387. package/dist/utility-runtime.d.ts +3 -1
  388. package/dist/verified-recall.js +10 -9
  389. package/dist/write-envelope.d.ts +3 -1
  390. package/package.json +2 -2
  391. package/src/archive-mutation-version.ts +59 -0
  392. package/src/config.test.ts +45 -0
  393. package/src/config.ts +10 -30
  394. package/src/contradiction/contradiction.test.ts +86 -1
  395. package/src/contradiction-config.ts +92 -0
  396. package/src/graph-path-reconstruction.ts +91 -0
  397. package/src/graph-path-scoring-config.ts +55 -0
  398. package/src/graph-path-scoring.test.ts +238 -0
  399. package/src/graph-path-scoring.ts +77 -0
  400. package/src/graph.test.ts +225 -5
  401. package/src/graph.ts +72 -5
  402. package/src/orchestration/contradiction-linking-coordinator.ts +246 -76
  403. package/src/orchestration/contradiction-localization.integration.test.ts +1953 -0
  404. package/src/orchestration/extraction-anchor-snapshot.ts +83 -0
  405. package/src/orchestration/extraction-persist-deps.ts +8 -2
  406. package/src/orchestration/extraction-persist.ts +43 -34
  407. package/src/orchestration/graph-path-state-loader.test.ts +801 -0
  408. package/src/orchestration/graph-path-state-loader.ts +318 -0
  409. package/src/orchestration/graph-recall-coordinator.integration.test.ts +1163 -0
  410. package/src/orchestration/graph-recall-coordinator.ts +206 -29
  411. package/src/orchestration/graph-recall-seam.ts +19 -0
  412. package/src/orchestration/recall-internal-deps.ts +7 -13
  413. package/src/orchestration/recall-internal.ts +5 -0
  414. package/src/orchestration/recall-introspection.ts +9 -1
  415. package/src/orchestration/recall-search-pipeline.ts +8 -13
  416. package/src/orchestration/update-localization.test.ts +784 -0
  417. package/src/orchestration/update-localization.ts +173 -0
  418. package/src/orchestrator.ts +19 -18
  419. package/src/recall-state.test.ts +29 -1
  420. package/src/recall-state.ts +13 -0
  421. package/src/recall-xray-renderer.test.ts +45 -0
  422. package/src/recall-xray-renderer.ts +16 -0
  423. package/src/recall-xray.ts +13 -0
  424. package/src/storage/supersession-side-effects.ts +97 -0
  425. package/src/storage/tombstone-blocked-capture-sync.ts +13 -5
  426. package/src/storage-contract/cache-coherence.test.ts +299 -0
  427. package/src/storage.ts +86 -88
  428. package/src/types.ts +12 -15
  429. package/dist/chunk-A4QMKFFO.js.map +0 -1
  430. package/dist/chunk-BJYET5TX.js.map +0 -1
  431. package/dist/chunk-BOFVT6P3.js.map +0 -1
  432. package/dist/chunk-IK6X5QPO.js.map +0 -1
  433. package/dist/chunk-IXXABW5A.js.map +0 -1
  434. package/dist/chunk-L2DPF4DF.js.map +0 -1
  435. package/dist/chunk-LAQ33B5D.js.map +0 -1
  436. package/dist/chunk-NSGU76YO.js.map +0 -1
  437. package/dist/chunk-PDEKQWDV.js.map +0 -1
  438. /package/dist/{graph-edge-decay-Z6ENALU2.js.map → archive-mutation-version.js.map} +0 -0
  439. /package/dist/{chunk-KDG2KTWW.js.map → chunk-33SV3E43.js.map} +0 -0
  440. /package/dist/{chunk-2HGUDBRJ.js.map → chunk-37ZO6LLJ.js.map} +0 -0
  441. /package/dist/{chunk-QW3WFHKU.js.map → chunk-45BRYON6.js.map} +0 -0
  442. /package/dist/{chunk-GZICBRWK.js.map → chunk-4F6X3RXW.js.map} +0 -0
  443. /package/dist/{chunk-7BAYBYY5.js.map → chunk-4PC4PRJE.js.map} +0 -0
  444. /package/dist/{chunk-VJXY5ZCT.js.map → chunk-52UKFTUK.js.map} +0 -0
  445. /package/dist/{chunk-ESG7Z255.js.map → chunk-5UDMFE3Q.js.map} +0 -0
  446. /package/dist/{chunk-JPHEOE6Z.js.map → chunk-6MTSFX7A.js.map} +0 -0
  447. /package/dist/{chunk-M4MP34AQ.js.map → chunk-AHZOMHWN.js.map} +0 -0
  448. /package/dist/{chunk-Z3RHPGSY.js.map → chunk-AIUBBHSF.js.map} +0 -0
  449. /package/dist/{chunk-S3AYIQCU.js.map → chunk-AXIDQG5A.js.map} +0 -0
  450. /package/dist/{chunk-QN7NTKRC.js.map → chunk-AZ2QBGYB.js.map} +0 -0
  451. /package/dist/{chunk-47J4EDGR.js.map → chunk-AZM4CCAC.js.map} +0 -0
  452. /package/dist/{chunk-LEJPSMKM.js.map → chunk-C5QLI33R.js.map} +0 -0
  453. /package/dist/{chunk-SV3PSA7Y.js.map → chunk-CV6BBVYV.js.map} +0 -0
  454. /package/dist/{chunk-V7X767RT.js.map → chunk-DCZBSE4F.js.map} +0 -0
  455. /package/dist/{chunk-7PKFPLLZ.js.map → chunk-FXTYIA46.js.map} +0 -0
  456. /package/dist/{chunk-64BHFFKZ.js.map → chunk-HLYR2TQL.js.map} +0 -0
  457. /package/dist/{chunk-5C2HNJMO.js.map → chunk-J5LLX6IL.js.map} +0 -0
  458. /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
  459. /package/dist/{chunk-PLKFO2HJ.js.map → chunk-JL43BVDE.js.map} +0 -0
  460. /package/dist/{chunk-2S72LWKX.js.map → chunk-JYL3BVVZ.js.map} +0 -0
  461. /package/dist/{chunk-IPLYGWQF.js.map → chunk-KQAFEZQX.js.map} +0 -0
  462. /package/dist/{chunk-PYKKWQZ2.js.map → chunk-M7BXDKPR.js.map} +0 -0
  463. /package/dist/{chunk-Z54EM5YZ.js.map → chunk-MAXVH44E.js.map} +0 -0
  464. /package/dist/{chunk-LYMNZZIM.js.map → chunk-NIS256NW.js.map} +0 -0
  465. /package/dist/{chunk-67QG75MJ.js.map → chunk-NLK2VZYZ.js.map} +0 -0
  466. /package/dist/{chunk-JYIFGGEM.js.map → chunk-OUKBMQ2O.js.map} +0 -0
  467. /package/dist/{chunk-75XOWNRS.js.map → chunk-OYESWJ43.js.map} +0 -0
  468. /package/dist/{chunk-TS4AJ2GI.js.map → chunk-PA45XCUD.js.map} +0 -0
  469. /package/dist/{chunk-4MBPIL4V.js.map → chunk-PUSLMZBQ.js.map} +0 -0
  470. /package/dist/{chunk-RVO6TCTU.js.map → chunk-QCECHYZL.js.map} +0 -0
  471. /package/dist/{chunk-GFIKG4FR.js.map → chunk-QGR6OVGT.js.map} +0 -0
  472. /package/dist/{chunk-HNZKVLAN.js.map → chunk-S354QO4R.js.map} +0 -0
  473. /package/dist/{chunk-NO37MR45.js.map → chunk-SOEN6KCF.js.map} +0 -0
  474. /package/dist/{chunk-FXX6RQYC.js.map → chunk-TPTECFWR.js.map} +0 -0
  475. /package/dist/{chunk-GDDGZVFI.js.map → chunk-UEVLYVNW.js.map} +0 -0
  476. /package/dist/{chunk-YQ4IQ2GA.js.map → chunk-UT5BV5OG.js.map} +0 -0
  477. /package/dist/{chunk-LNTUXKBT.js.map → chunk-UYYW2KPU.js.map} +0 -0
  478. /package/dist/{chunk-QSYL5CXK.js.map → chunk-VKXWK44Q.js.map} +0 -0
  479. /package/dist/{chunk-KMWYZTIE.js.map → chunk-VMMQDEN5.js.map} +0 -0
  480. /package/dist/{chunk-JB6D7EFB.js.map → chunk-VVG2BOKA.js.map} +0 -0
  481. /package/dist/{chunk-V5H6OJCR.js.map → chunk-W5XVQFLM.js.map} +0 -0
  482. /package/dist/{chunk-OIOZ6MOP.js.map → chunk-W6FNX2LP.js.map} +0 -0
  483. /package/dist/{chunk-6QPHF6RR.js.map → chunk-WQM326GS.js.map} +0 -0
  484. /package/dist/{chunk-TQFHQPWD.js.map → chunk-XADV5IZ3.js.map} +0 -0
  485. /package/dist/{chunk-DATDLJAO.js.map → chunk-XAPMEU3K.js.map} +0 -0
  486. /package/dist/{chunk-N3LL5NEU.js.map → chunk-ZMYDYNI4.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-qJ07zI8H.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BshGam-o.js';
8
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
9
9
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
10
10
  export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
@@ -14,8 +14,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
14
14
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
15
15
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
16
16
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
17
- import { S as StorageManager, a as MeetingRecordStore } from './storage-BkYN1RIy.js';
18
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-BkYN1RIy.js';
17
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-CVfGWqCI.js';
18
+ export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-CVfGWqCI.js';
19
19
  import { SealedMemoryEnvelope } from './write-envelope.js';
20
20
  export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
21
21
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -24,13 +24,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
24
24
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
25
25
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
26
26
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
27
- import { C as CodingContext, bi as CodingModeConfig, ba as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aZ as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, a_ as WearableSourceSettings, b2 as WearablesConfig, b1 as WearableSourceConnector, b6 as WearableCorrectionRule, br as WearableDayTranscriptMeta, b5 as WearableDayTranscript, aH as ActivitySnapshot, bs as ActivityDayMeta, bt as ActivityDayDigest, aK as ActivitySourceClient, bu as ActivitySourceCheck, bv as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bw as MeetingsDetectionConfig, b9 as MeetingsDetectionInput, bc as DetectedMeeting, b8 as MeetingsConfig, aO as MeetingRecord, bx as MeetingAudioWindow, by as MeetingAppSpan } from './types-u2s9j1uD.js';
28
- export { bz as ActivityExtractionMode, aJ as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, bA as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bB as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bC as BriefingWindow, a7 as BufferSurpriseEvent, bD as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bE as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bF as CodexCompatConfig, bh as ConsolidationObservation, bG as DEFAULT_RECALL_DISCLOSURE, bH as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bI as FusedContribution, bJ as FusedConversationProvenance, aN as FusedDayFile, aM as FusedDayMeta, aQ as FusedMeeting, bK as FusedSegmentProvenance, aL as FusedWearableConversation, bL as FusionSegmentInput, G as GatewayConfig, bM as ImportSourceRole, a8 as ImportTurn, bN as ImportTurnValidationIssue, bb as MeetingActivitySnapshot, b7 as MeetingBuildInput, aP as MeetingDetectionSource, bO as MeetingScreenContextEvent, bP as MeetingSummaryMode, as as MemoryActionEligibilityContext, bQ as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bR as MemoryObservation, bS as MemoryScope, bT as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bU as SegmentPickReason, bV as WearableAuthCheck, bW as WearableFetchOptions, bX as WearableFetchPage, b0 as WearableMemoryMode, a$ as WearableNativeMemory, bY as WearableNativeMemoryPage, b4 as WearableSourceStatus, b3 as WearableSyncSummary, bZ as WearableTranscriptSegment, b_ as isImportRole, b$ as isRecallDisclosure, c0 as parseIsoTimestamp, c1 as validateImportTurn } from './types-u2s9j1uD.js';
27
+ import { C as CodingContext, bi as CodingModeConfig, ba as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aZ as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, a_ as WearableSourceSettings, b2 as WearablesConfig, b1 as WearableSourceConnector, b6 as WearableCorrectionRule, br as WearableDayTranscriptMeta, b5 as WearableDayTranscript, aH as ActivitySnapshot, bs as ActivityDayMeta, bt as ActivityDayDigest, aK as ActivitySourceClient, bu as ActivitySourceCheck, bv as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bw as MeetingsDetectionConfig, b9 as MeetingsDetectionInput, bc as DetectedMeeting, b8 as MeetingsConfig, aO as MeetingRecord, bx as MeetingAudioWindow, by as MeetingAppSpan } from './types-CkiDUorT.js';
28
+ export { bz as ActivityExtractionMode, aJ as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, bA as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bB as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bC as BriefingWindow, a7 as BufferSurpriseEvent, bD as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bE as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bF as CodexCompatConfig, bh as ConsolidationObservation, bG as DEFAULT_RECALL_DISCLOSURE, bH as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bI as FusedContribution, bJ as FusedConversationProvenance, aN as FusedDayFile, aM as FusedDayMeta, aQ as FusedMeeting, bK as FusedSegmentProvenance, aL as FusedWearableConversation, bL as FusionSegmentInput, G as GatewayConfig, bM as ImportSourceRole, a8 as ImportTurn, bN as ImportTurnValidationIssue, bb as MeetingActivitySnapshot, b7 as MeetingBuildInput, aP as MeetingDetectionSource, bO as MeetingScreenContextEvent, bP as MeetingSummaryMode, as as MemoryActionEligibilityContext, bQ as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bR as MemoryObservation, bS as MemoryScope, bT as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bU as SegmentPickReason, bV as WearableAuthCheck, bW as WearableFetchOptions, bX as WearableFetchPage, b0 as WearableMemoryMode, a$ as WearableNativeMemory, bY as WearableNativeMemoryPage, b4 as WearableSourceStatus, b3 as WearableSyncSummary, bZ as WearableTranscriptSegment, b_ as isImportRole, b$ as isRecallDisclosure, c0 as parseIsoTimestamp, c1 as validateImportTurn } from './types-CkiDUorT.js';
29
29
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
30
30
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
31
31
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
32
- import { f as EngramAccessService } from './access-service-DesbnTSa.js';
33
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-DesbnTSa.js';
32
+ import { f as EngramAccessService } from './access-service-BY0KJ44c.js';
33
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-BY0KJ44c.js';
34
34
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
35
35
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
36
36
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -38,13 +38,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
38
38
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
39
39
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
40
40
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
41
- export { Q as QmdClient } from './qmd-5tzkQ44y.js';
41
+ export { Q as QmdClient } from './qmd-Dhle1P4X.js';
42
42
  export { LanceDbBackend } from './search/lancedb-backend.js';
43
43
  export { OramaBackend } from './search/orama-backend.js';
44
44
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
45
45
  export { buildEntityRecallSection } from './entity-retrieval.js';
46
46
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
47
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-D-G7RgXR.js';
47
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-D3B4RDy1.js';
48
48
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
49
49
  export { storagePathHash } from './storage-paths.js';
50
50
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -75,8 +75,8 @@ export { initLogger, log } from './logger.js';
75
75
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
76
76
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
77
77
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
78
- import { D as DiscoveredExtension } from './semantic-consolidation-BBDuP9nJ.js';
79
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-BBDuP9nJ.js';
78
+ import { D as DiscoveredExtension } from './semantic-consolidation-DLDKvyy5.js';
79
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DLDKvyy5.js';
80
80
  export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
81
81
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
82
82
  export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
@@ -91,12 +91,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
91
91
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
92
92
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
93
93
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
94
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-WFCxhHOn.js';
95
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-D4vvtxjY.js';
96
- import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-B8DtbpCM.js';
97
- export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-B8DtbpCM.js';
98
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-ClmUVpGI.js';
99
- export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-ClmUVpGI.js';
94
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-D21Rs6gW.js';
95
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-CnOkH9hA.js';
96
+ import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-BIgVM7fL.js';
97
+ export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-BIgVM7fL.js';
98
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-CKwxpdRx.js';
99
+ export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-CKwxpdRx.js';
100
100
  import { SearchExecutionOptions } from './search/port.js';
101
101
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
102
102
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -114,7 +114,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
114
114
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
115
115
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
116
116
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
117
- export { R as ResolvedScopeProfilePlan } from './scope-profiles--vfXPl3X.js';
117
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-NzGPDXLn.js';
118
118
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
119
119
  export { ContinuityImprovementLoop } from './types-continuity.js';
120
120
  export { EngramAccessInputError } from './access-errors.js';
@@ -123,6 +123,8 @@ export { expandTildePath } from './utils/path.js';
123
123
  export { normalizeAttributePairs } from './structured-attributes.js';
124
124
  import './bounded-jsonl-state.js';
125
125
  import './operator-doctor-types.js';
126
+ import './contradiction-config.js';
127
+ import './graph-path-scoring-config.js';
126
128
  import './recall-state.js';
127
129
  import './utils/serialize-mutations.js';
128
130
  import './extraction-faithfulness.js';
@@ -162,7 +164,7 @@ import './faiss-adapter-BHecI1fF.js';
162
164
  import './runtime/child-process.js';
163
165
  import './namespaces/storage.js';
164
166
  import './threading.js';
165
- import './graph.js';
167
+ import './graph-444E-DrF.js';
166
168
  import './relevance.js';
167
169
  import './negative.js';
168
170
  import './session-observer-state.js';
@@ -178,7 +180,7 @@ import './policy-runtime.js';
178
180
  import './profiling.js';
179
181
  import './schemas.js';
180
182
  import './extraction-error-classification.js';
181
- import './access-namespace-preflight-Dj2QolFE.js';
183
+ import './access-namespace-preflight-Ds6CGlCP.js';
182
184
  import './recall-explain-renderer.js';
183
185
  import './access-citation.js';
184
186
  import './access-health-types.js';
@@ -890,15 +892,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
890
892
  locator: z.ZodOptional<z.ZodString>;
891
893
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
892
894
  }, "strict", z.ZodTypeAny, {
893
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
894
- label: string;
895
895
  id: string;
896
+ label: string;
897
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
896
898
  capture: "at_action" | "historical_lookup" | "fixture";
897
899
  locator?: string | undefined;
898
900
  }, {
899
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
900
- label: string;
901
901
  id: string;
902
+ label: string;
903
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
902
904
  capture: "at_action" | "historical_lookup" | "fixture";
903
905
  locator?: string | undefined;
904
906
  }>;
@@ -915,15 +917,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
915
917
  locator: z.ZodOptional<z.ZodString>;
916
918
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
917
919
  }, "strict", z.ZodTypeAny, {
918
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
919
- label: string;
920
920
  id: string;
921
+ label: string;
922
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
921
923
  capture: "at_action" | "historical_lookup" | "fixture";
922
924
  locator?: string | undefined;
923
925
  }, {
924
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
925
- label: string;
926
926
  id: string;
927
+ label: string;
928
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
927
929
  capture: "at_action" | "historical_lookup" | "fixture";
928
930
  locator?: string | undefined;
929
931
  }>, "many">>;
@@ -931,9 +933,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
931
933
  kind: "mission_started";
932
934
  title: string;
933
935
  evidence: {
934
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
935
- label: string;
936
936
  id: string;
937
+ label: string;
938
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
937
939
  capture: "at_action" | "historical_lookup" | "fixture";
938
940
  locator?: string | undefined;
939
941
  }[];
@@ -945,9 +947,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
945
947
  objective: string;
946
948
  runMode: "replay" | "fixture" | "live";
947
949
  evidence?: {
948
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
949
- label: string;
950
950
  id: string;
951
+ label: string;
952
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
951
953
  capture: "at_action" | "historical_lookup" | "fixture";
952
954
  locator?: string | undefined;
953
955
  }[] | undefined;
@@ -963,15 +965,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
963
965
  locator: z.ZodOptional<z.ZodString>;
964
966
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
965
967
  }, "strict", z.ZodTypeAny, {
966
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
967
- label: string;
968
968
  id: string;
969
+ label: string;
970
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
969
971
  capture: "at_action" | "historical_lookup" | "fixture";
970
972
  locator?: string | undefined;
971
973
  }, {
972
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
973
- label: string;
974
974
  id: string;
975
+ label: string;
976
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
975
977
  capture: "at_action" | "historical_lookup" | "fixture";
976
978
  locator?: string | undefined;
977
979
  }>, "many">>;
@@ -979,32 +981,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
979
981
  sessionId: z.ZodString;
980
982
  kind: z.ZodLiteral<"agent_status">;
981
983
  }, "strict", z.ZodTypeAny, {
982
- kind: "agent_status";
983
- status: "failed" | "blocked" | "working" | "complete" | "idle";
984
984
  label: string;
985
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
986
+ kind: "agent_status";
985
987
  role: string;
986
988
  agentId: string;
987
989
  sessionId: string;
988
990
  evidence: {
989
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
990
- label: string;
991
991
  id: string;
992
+ label: string;
993
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
992
994
  capture: "at_action" | "historical_lookup" | "fixture";
993
995
  locator?: string | undefined;
994
996
  }[];
995
997
  detail?: string | undefined;
996
998
  }, {
997
- kind: "agent_status";
998
- status: "failed" | "blocked" | "working" | "complete" | "idle";
999
999
  label: string;
1000
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1001
+ kind: "agent_status";
1000
1002
  role: string;
1001
1003
  agentId: string;
1002
1004
  sessionId: string;
1003
1005
  detail?: string | undefined;
1004
1006
  evidence?: {
1005
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1006
- label: string;
1007
1007
  id: string;
1008
+ label: string;
1009
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1008
1010
  capture: "at_action" | "historical_lookup" | "fixture";
1009
1011
  locator?: string | undefined;
1010
1012
  }[] | undefined;
@@ -1018,15 +1020,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1018
1020
  locator: z.ZodOptional<z.ZodString>;
1019
1021
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1020
1022
  }, "strict", z.ZodTypeAny, {
1021
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1022
- label: string;
1023
1023
  id: string;
1024
+ label: string;
1025
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1024
1026
  capture: "at_action" | "historical_lookup" | "fixture";
1025
1027
  locator?: string | undefined;
1026
1028
  }, {
1027
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1028
- label: string;
1029
1029
  id: string;
1030
+ label: string;
1031
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1030
1032
  capture: "at_action" | "historical_lookup" | "fixture";
1031
1033
  locator?: string | undefined;
1032
1034
  }>, "many">>;
@@ -1034,28 +1036,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1034
1036
  sessionId: z.ZodString;
1035
1037
  kind: z.ZodLiteral<"agent_output">;
1036
1038
  }, "strict", z.ZodTypeAny, {
1037
- kind: "agent_output";
1038
1039
  summary: string;
1040
+ kind: "agent_output";
1039
1041
  agentId: string;
1040
1042
  sessionId: string;
1041
1043
  evidence: {
1042
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1043
- label: string;
1044
1044
  id: string;
1045
+ label: string;
1046
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1045
1047
  capture: "at_action" | "historical_lookup" | "fixture";
1046
1048
  locator?: string | undefined;
1047
1049
  }[];
1048
1050
  outputId: string;
1049
1051
  }, {
1050
- kind: "agent_output";
1051
1052
  summary: string;
1053
+ kind: "agent_output";
1052
1054
  agentId: string;
1053
1055
  sessionId: string;
1054
1056
  outputId: string;
1055
1057
  evidence?: {
1056
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1057
- label: string;
1058
1058
  id: string;
1059
+ label: string;
1060
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1059
1061
  capture: "at_action" | "historical_lookup" | "fixture";
1060
1062
  locator?: string | undefined;
1061
1063
  }[] | undefined;
@@ -1071,15 +1073,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1071
1073
  locator: z.ZodOptional<z.ZodString>;
1072
1074
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1073
1075
  }, "strict", z.ZodTypeAny, {
1074
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1075
- label: string;
1076
1076
  id: string;
1077
+ label: string;
1078
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1077
1079
  capture: "at_action" | "historical_lookup" | "fixture";
1078
1080
  locator?: string | undefined;
1079
1081
  }, {
1080
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1081
- label: string;
1082
1082
  id: string;
1083
+ label: string;
1084
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1083
1085
  capture: "at_action" | "historical_lookup" | "fixture";
1084
1086
  locator?: string | undefined;
1085
1087
  }>, "many">>;
@@ -1092,9 +1094,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1092
1094
  statement: string;
1093
1095
  sessionId: string;
1094
1096
  evidence: {
1095
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1096
- label: string;
1097
1097
  id: string;
1098
+ label: string;
1099
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1098
1100
  capture: "at_action" | "historical_lookup" | "fixture";
1099
1101
  locator?: string | undefined;
1100
1102
  }[];
@@ -1110,9 +1112,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1110
1112
  decisionId: string;
1111
1113
  confidence?: number | undefined;
1112
1114
  evidence?: {
1113
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1114
- label: string;
1115
1115
  id: string;
1116
+ label: string;
1117
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1116
1118
  capture: "at_action" | "historical_lookup" | "fixture";
1117
1119
  locator?: string | undefined;
1118
1120
  }[] | undefined;
@@ -1129,25 +1131,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1129
1131
  locator: z.ZodOptional<z.ZodString>;
1130
1132
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1131
1133
  }, "strict", z.ZodTypeAny, {
1132
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1133
- label: string;
1134
1134
  id: string;
1135
+ label: string;
1136
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1135
1137
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1138
  locator?: string | undefined;
1137
1139
  }, {
1138
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1139
- label: string;
1140
1140
  id: string;
1141
+ label: string;
1142
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1141
1143
  capture: "at_action" | "historical_lookup" | "fixture";
1142
1144
  locator?: string | undefined;
1143
1145
  }>, "many">>;
1144
1146
  }, "strict", z.ZodTypeAny, {
1145
- kind: "conflict_detected";
1146
1147
  summary: string;
1148
+ kind: "conflict_detected";
1147
1149
  evidence: {
1148
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1149
- label: string;
1150
1150
  id: string;
1151
+ label: string;
1152
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1151
1153
  capture: "at_action" | "historical_lookup" | "fixture";
1152
1154
  locator?: string | undefined;
1153
1155
  }[];
@@ -1155,15 +1157,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1155
1157
  decisionIds: string[];
1156
1158
  agentIds: string[];
1157
1159
  }, {
1158
- kind: "conflict_detected";
1159
1160
  summary: string;
1161
+ kind: "conflict_detected";
1160
1162
  conflictId: string;
1161
1163
  decisionIds: string[];
1162
1164
  agentIds: string[];
1163
1165
  evidence?: {
1164
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1165
- label: string;
1166
1166
  id: string;
1167
+ label: string;
1168
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1167
1169
  capture: "at_action" | "historical_lookup" | "fixture";
1168
1170
  locator?: string | undefined;
1169
1171
  }[] | undefined;
@@ -1183,27 +1185,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1183
1185
  locator: z.ZodOptional<z.ZodString>;
1184
1186
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1185
1187
  }, "strict", z.ZodTypeAny, {
1186
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1187
- label: string;
1188
1188
  id: string;
1189
+ label: string;
1190
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1189
1191
  capture: "at_action" | "historical_lookup" | "fixture";
1190
1192
  locator?: string | undefined;
1191
1193
  }, {
1192
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1193
- label: string;
1194
1194
  id: string;
1195
+ label: string;
1196
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1195
1197
  capture: "at_action" | "historical_lookup" | "fixture";
1196
1198
  locator?: string | undefined;
1197
1199
  }>, "many">>;
1198
1200
  }, "strict", z.ZodTypeAny, {
1199
- kind: "test_result";
1200
1201
  summary: string;
1201
1202
  status: "error" | "failed" | "passed";
1203
+ kind: "test_result";
1202
1204
  command: string;
1203
1205
  evidence: {
1204
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1205
- label: string;
1206
1206
  id: string;
1207
+ label: string;
1208
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1207
1209
  capture: "at_action" | "historical_lookup" | "fixture";
1208
1210
  locator?: string | undefined;
1209
1211
  }[];
@@ -1212,17 +1214,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1212
1214
  durationMs?: number | undefined;
1213
1215
  correctionId?: string | undefined;
1214
1216
  }, {
1215
- kind: "test_result";
1216
1217
  summary: string;
1217
1218
  status: "error" | "failed" | "passed";
1219
+ kind: "test_result";
1218
1220
  command: string;
1219
1221
  decisionId: string;
1220
1222
  testId: string;
1221
1223
  durationMs?: number | undefined;
1222
1224
  evidence?: {
1223
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1224
- label: string;
1225
1225
  id: string;
1226
+ label: string;
1227
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1226
1228
  capture: "at_action" | "historical_lookup" | "fixture";
1227
1229
  locator?: string | undefined;
1228
1230
  }[] | undefined;
@@ -1243,15 +1245,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1243
1245
  locator: z.ZodOptional<z.ZodString>;
1244
1246
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1245
1247
  }, "strict", z.ZodTypeAny, {
1246
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1247
- label: string;
1248
1248
  id: string;
1249
+ label: string;
1250
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1251
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1252
  locator?: string | undefined;
1251
1253
  }, {
1252
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1253
- label: string;
1254
1254
  id: string;
1255
+ label: string;
1256
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1255
1257
  capture: "at_action" | "historical_lookup" | "fixture";
1256
1258
  locator?: string | undefined;
1257
1259
  }>, "many">>;
@@ -1260,9 +1262,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1260
1262
  rationale: string;
1261
1263
  statement: string;
1262
1264
  evidence: {
1263
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1264
- label: string;
1265
1265
  id: string;
1266
+ label: string;
1267
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1269
  locator?: string | undefined;
1268
1270
  }[];
@@ -1281,9 +1283,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1281
1283
  supersedesDecisionIds: string[];
1282
1284
  proposedBy: string;
1283
1285
  evidence?: {
1284
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1285
- label: string;
1286
1286
  id: string;
1287
+ label: string;
1288
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1287
1289
  capture: "at_action" | "historical_lookup" | "fixture";
1288
1290
  locator?: string | undefined;
1289
1291
  }[] | undefined;
@@ -1295,13 +1297,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1295
1297
  id: z.ZodString;
1296
1298
  label: z.ZodString;
1297
1299
  }, "strict", z.ZodTypeAny, {
1298
- kind: "agent" | "human";
1299
- label: string;
1300
1300
  id: string;
1301
- }, {
1302
- kind: "agent" | "human";
1303
1301
  label: string;
1302
+ kind: "agent" | "human";
1303
+ }, {
1304
1304
  id: string;
1305
+ label: string;
1306
+ kind: "agent" | "human";
1305
1307
  }>;
1306
1308
  note: z.ZodOptional<z.ZodString>;
1307
1309
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1311,47 +1313,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1311
1313
  locator: z.ZodOptional<z.ZodString>;
1312
1314
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1313
1315
  }, "strict", z.ZodTypeAny, {
1314
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1315
- label: string;
1316
1316
  id: string;
1317
+ label: string;
1318
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1317
1319
  capture: "at_action" | "historical_lookup" | "fixture";
1318
1320
  locator?: string | undefined;
1319
1321
  }, {
1320
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1321
- label: string;
1322
1322
  id: string;
1323
+ label: string;
1324
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1323
1325
  capture: "at_action" | "historical_lookup" | "fixture";
1324
1326
  locator?: string | undefined;
1325
1327
  }>, "many">>;
1326
1328
  }, "strict", z.ZodTypeAny, {
1327
1329
  kind: "correction_approved";
1328
1330
  evidence: {
1329
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1330
- label: string;
1331
1331
  id: string;
1332
+ label: string;
1333
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1332
1334
  capture: "at_action" | "historical_lookup" | "fixture";
1333
1335
  locator?: string | undefined;
1334
1336
  }[];
1335
1337
  correctionId: string;
1336
1338
  approvedBy: {
1337
- kind: "agent" | "human";
1338
- label: string;
1339
1339
  id: string;
1340
+ label: string;
1341
+ kind: "agent" | "human";
1340
1342
  };
1341
1343
  note?: string | undefined;
1342
1344
  }, {
1343
1345
  kind: "correction_approved";
1344
1346
  correctionId: string;
1345
1347
  approvedBy: {
1346
- kind: "agent" | "human";
1347
- label: string;
1348
1348
  id: string;
1349
+ label: string;
1350
+ kind: "agent" | "human";
1349
1351
  };
1350
1352
  note?: string | undefined;
1351
1353
  evidence?: {
1352
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1353
- label: string;
1354
1354
  id: string;
1355
+ label: string;
1356
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1355
1357
  capture: "at_action" | "historical_lookup" | "fixture";
1356
1358
  locator?: string | undefined;
1357
1359
  }[] | undefined;
@@ -1367,24 +1369,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1367
1369
  locator: z.ZodOptional<z.ZodString>;
1368
1370
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1369
1371
  }, "strict", z.ZodTypeAny, {
1370
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1371
- label: string;
1372
1372
  id: string;
1373
+ label: string;
1374
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1374
1376
  locator?: string | undefined;
1375
1377
  }, {
1376
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1377
- label: string;
1378
1378
  id: string;
1379
+ label: string;
1380
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1379
1381
  capture: "at_action" | "historical_lookup" | "fixture";
1380
1382
  locator?: string | undefined;
1381
1383
  }>, "many">>;
1382
1384
  }, "strict", z.ZodTypeAny, {
1383
1385
  kind: "decision_superseded";
1384
1386
  evidence: {
1385
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1386
- label: string;
1387
1387
  id: string;
1388
+ label: string;
1389
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1390
  capture: "at_action" | "historical_lookup" | "fixture";
1389
1391
  locator?: string | undefined;
1390
1392
  }[];
@@ -1397,9 +1399,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1397
1399
  correctionId: string;
1398
1400
  replacementDecisionId: string;
1399
1401
  evidence?: {
1400
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1401
- label: string;
1402
1402
  id: string;
1403
+ label: string;
1404
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1403
1405
  capture: "at_action" | "historical_lookup" | "fixture";
1404
1406
  locator?: string | undefined;
1405
1407
  }[] | undefined;
@@ -1415,15 +1417,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1415
1417
  locator: z.ZodOptional<z.ZodString>;
1416
1418
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1417
1419
  }, "strict", z.ZodTypeAny, {
1418
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1419
- label: string;
1420
1420
  id: string;
1421
+ label: string;
1422
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1421
1423
  capture: "at_action" | "historical_lookup" | "fixture";
1422
1424
  locator?: string | undefined;
1423
1425
  }, {
1424
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1425
- label: string;
1426
1426
  id: string;
1427
+ label: string;
1428
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1427
1429
  capture: "at_action" | "historical_lookup" | "fixture";
1428
1430
  locator?: string | undefined;
1429
1431
  }>, "many">>;
@@ -1436,9 +1438,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1436
1438
  agentId: string;
1437
1439
  sessionId: string;
1438
1440
  evidence: {
1439
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1440
- label: string;
1441
1441
  id: string;
1442
+ label: string;
1443
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1442
1444
  capture: "at_action" | "historical_lookup" | "fixture";
1443
1445
  locator?: string | undefined;
1444
1446
  }[];
@@ -1454,9 +1456,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1454
1456
  recallReceiptId: string;
1455
1457
  capturedAtAction: boolean;
1456
1458
  evidence?: {
1457
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1458
- label: string;
1459
1459
  id: string;
1460
+ label: string;
1461
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1462
  capture: "at_action" | "historical_lookup" | "fixture";
1461
1463
  locator?: string | undefined;
1462
1464
  }[] | undefined;
@@ -1472,15 +1474,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1472
1474
  locator: z.ZodOptional<z.ZodString>;
1473
1475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1474
1476
  }, "strict", z.ZodTypeAny, {
1475
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1476
- label: string;
1477
1477
  id: string;
1478
+ label: string;
1479
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1478
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1479
1481
  locator?: string | undefined;
1480
1482
  }, {
1481
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1482
- label: string;
1483
1483
  id: string;
1484
+ label: string;
1485
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1486
  capture: "at_action" | "historical_lookup" | "fixture";
1485
1487
  locator?: string | undefined;
1486
1488
  }>, "many">>;
@@ -1492,9 +1494,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1492
1494
  agentId: string;
1493
1495
  sessionId: string;
1494
1496
  evidence: {
1495
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1496
- label: string;
1497
1497
  id: string;
1498
+ label: string;
1499
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1498
1500
  capture: "at_action" | "historical_lookup" | "fixture";
1499
1501
  locator?: string | undefined;
1500
1502
  }[];
@@ -1511,9 +1513,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1511
1513
  recallReceiptId: string;
1512
1514
  staleDecisionAbsent: boolean;
1513
1515
  evidence?: {
1514
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1515
- label: string;
1516
1516
  id: string;
1517
+ label: string;
1518
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1517
1519
  capture: "at_action" | "historical_lookup" | "fixture";
1518
1520
  locator?: string | undefined;
1519
1521
  }[] | undefined;
@@ -1528,37 +1530,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1528
1530
  locator: z.ZodOptional<z.ZodString>;
1529
1531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1530
1532
  }, "strict", z.ZodTypeAny, {
1531
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1532
- label: string;
1533
1533
  id: string;
1534
+ label: string;
1535
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1535
1537
  locator?: string | undefined;
1536
1538
  }, {
1537
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1538
- label: string;
1539
1539
  id: string;
1540
+ label: string;
1541
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1543
  locator?: string | undefined;
1542
1544
  }>, "many">>;
1543
1545
  }, "strict", z.ZodTypeAny, {
1544
- kind: "mission_completed";
1545
1546
  summary: string;
1547
+ kind: "mission_completed";
1546
1548
  outcome: "failed" | "recovered" | "inconclusive";
1547
1549
  evidence: {
1548
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1549
- label: string;
1550
1550
  id: string;
1551
+ label: string;
1552
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1551
1553
  capture: "at_action" | "historical_lookup" | "fixture";
1552
1554
  locator?: string | undefined;
1553
1555
  }[];
1554
1556
  }, {
1555
- kind: "mission_completed";
1556
1557
  summary: string;
1558
+ kind: "mission_completed";
1557
1559
  outcome: "failed" | "recovered" | "inconclusive";
1558
1560
  evidence?: {
1559
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1560
- label: string;
1561
1561
  id: string;
1562
+ label: string;
1563
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1562
1564
  capture: "at_action" | "historical_lookup" | "fixture";
1563
1565
  locator?: string | undefined;
1564
1566
  }[] | undefined;
@@ -1566,38 +1568,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1566
1568
  kind: "mission_started";
1567
1569
  title: string;
1568
1570
  evidence: {
1569
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1570
- label: string;
1571
1571
  id: string;
1572
+ label: string;
1573
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1572
1574
  capture: "at_action" | "historical_lookup" | "fixture";
1573
1575
  locator?: string | undefined;
1574
1576
  }[];
1575
1577
  objective: string;
1576
1578
  runMode: "replay" | "fixture" | "live";
1577
1579
  } | {
1578
- kind: "agent_status";
1579
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1580
1580
  label: string;
1581
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1582
+ kind: "agent_status";
1581
1583
  role: string;
1582
1584
  agentId: string;
1583
1585
  sessionId: string;
1584
1586
  evidence: {
1585
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1586
- label: string;
1587
1587
  id: string;
1588
+ label: string;
1589
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1590
  capture: "at_action" | "historical_lookup" | "fixture";
1589
1591
  locator?: string | undefined;
1590
1592
  }[];
1591
1593
  detail?: string | undefined;
1592
1594
  } | {
1593
- kind: "agent_output";
1594
1595
  summary: string;
1596
+ kind: "agent_output";
1595
1597
  agentId: string;
1596
1598
  sessionId: string;
1597
1599
  evidence: {
1598
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1599
- label: string;
1600
1600
  id: string;
1601
+ label: string;
1602
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1601
1603
  capture: "at_action" | "historical_lookup" | "fixture";
1602
1604
  locator?: string | undefined;
1603
1605
  }[];
@@ -1608,9 +1610,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1608
1610
  statement: string;
1609
1611
  sessionId: string;
1610
1612
  evidence: {
1611
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1612
- label: string;
1613
1613
  id: string;
1614
+ label: string;
1615
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1614
1616
  capture: "at_action" | "historical_lookup" | "fixture";
1615
1617
  locator?: string | undefined;
1616
1618
  }[];
@@ -1618,12 +1620,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1618
1620
  decisionId: string;
1619
1621
  confidence?: number | undefined;
1620
1622
  } | {
1621
- kind: "conflict_detected";
1622
1623
  summary: string;
1624
+ kind: "conflict_detected";
1623
1625
  evidence: {
1624
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1625
- label: string;
1626
1626
  id: string;
1627
+ label: string;
1628
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1627
1629
  capture: "at_action" | "historical_lookup" | "fixture";
1628
1630
  locator?: string | undefined;
1629
1631
  }[];
@@ -1631,14 +1633,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1631
1633
  decisionIds: string[];
1632
1634
  agentIds: string[];
1633
1635
  } | {
1634
- kind: "test_result";
1635
1636
  summary: string;
1636
1637
  status: "error" | "failed" | "passed";
1638
+ kind: "test_result";
1637
1639
  command: string;
1638
1640
  evidence: {
1639
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1640
- label: string;
1641
1641
  id: string;
1642
+ label: string;
1643
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1642
1644
  capture: "at_action" | "historical_lookup" | "fixture";
1643
1645
  locator?: string | undefined;
1644
1646
  }[];
@@ -1651,9 +1653,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1651
1653
  rationale: string;
1652
1654
  statement: string;
1653
1655
  evidence: {
1654
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1655
- label: string;
1656
1656
  id: string;
1657
+ label: string;
1658
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1657
1659
  capture: "at_action" | "historical_lookup" | "fixture";
1658
1660
  locator?: string | undefined;
1659
1661
  }[];
@@ -1665,25 +1667,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1665
1667
  } | {
1666
1668
  kind: "correction_approved";
1667
1669
  evidence: {
1668
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1669
- label: string;
1670
1670
  id: string;
1671
+ label: string;
1672
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1673
  capture: "at_action" | "historical_lookup" | "fixture";
1672
1674
  locator?: string | undefined;
1673
1675
  }[];
1674
1676
  correctionId: string;
1675
1677
  approvedBy: {
1676
- kind: "agent" | "human";
1677
- label: string;
1678
1678
  id: string;
1679
+ label: string;
1680
+ kind: "agent" | "human";
1679
1681
  };
1680
1682
  note?: string | undefined;
1681
1683
  } | {
1682
1684
  kind: "decision_superseded";
1683
1685
  evidence: {
1684
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1685
- label: string;
1686
1686
  id: string;
1687
+ label: string;
1688
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1687
1689
  capture: "at_action" | "historical_lookup" | "fixture";
1688
1690
  locator?: string | undefined;
1689
1691
  }[];
@@ -1696,9 +1698,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1696
1698
  agentId: string;
1697
1699
  sessionId: string;
1698
1700
  evidence: {
1699
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1700
- label: string;
1701
1701
  id: string;
1702
+ label: string;
1703
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1702
1704
  capture: "at_action" | "historical_lookup" | "fixture";
1703
1705
  locator?: string | undefined;
1704
1706
  }[];
@@ -1710,9 +1712,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1710
1712
  agentId: string;
1711
1713
  sessionId: string;
1712
1714
  evidence: {
1713
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1714
- label: string;
1715
1715
  id: string;
1716
+ label: string;
1717
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1716
1718
  capture: "at_action" | "historical_lookup" | "fixture";
1717
1719
  locator?: string | undefined;
1718
1720
  }[];
@@ -1721,13 +1723,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1721
1723
  recallReceiptId: string;
1722
1724
  staleDecisionAbsent: boolean;
1723
1725
  } | {
1724
- kind: "mission_completed";
1725
1726
  summary: string;
1727
+ kind: "mission_completed";
1726
1728
  outcome: "failed" | "recovered" | "inconclusive";
1727
1729
  evidence: {
1728
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1729
- label: string;
1730
1730
  id: string;
1731
+ label: string;
1732
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1733
  capture: "at_action" | "historical_lookup" | "fixture";
1732
1734
  locator?: string | undefined;
1733
1735
  }[];
@@ -1737,37 +1739,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1737
1739
  objective: string;
1738
1740
  runMode: "replay" | "fixture" | "live";
1739
1741
  evidence?: {
1740
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1741
- label: string;
1742
1742
  id: string;
1743
+ label: string;
1744
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1743
1745
  capture: "at_action" | "historical_lookup" | "fixture";
1744
1746
  locator?: string | undefined;
1745
1747
  }[] | undefined;
1746
1748
  } | {
1747
- kind: "agent_status";
1748
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1749
1749
  label: string;
1750
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1751
+ kind: "agent_status";
1750
1752
  role: string;
1751
1753
  agentId: string;
1752
1754
  sessionId: string;
1753
1755
  detail?: string | undefined;
1754
1756
  evidence?: {
1755
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1756
- label: string;
1757
1757
  id: string;
1758
+ label: string;
1759
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1758
1760
  capture: "at_action" | "historical_lookup" | "fixture";
1759
1761
  locator?: string | undefined;
1760
1762
  }[] | undefined;
1761
1763
  } | {
1762
- kind: "agent_output";
1763
1764
  summary: string;
1765
+ kind: "agent_output";
1764
1766
  agentId: string;
1765
1767
  sessionId: string;
1766
1768
  outputId: string;
1767
1769
  evidence?: {
1768
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1769
- label: string;
1770
1770
  id: string;
1771
+ label: string;
1772
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1771
1773
  capture: "at_action" | "historical_lookup" | "fixture";
1772
1774
  locator?: string | undefined;
1773
1775
  }[] | undefined;
@@ -1780,37 +1782,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1780
1782
  decisionId: string;
1781
1783
  confidence?: number | undefined;
1782
1784
  evidence?: {
1783
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1784
- label: string;
1785
1785
  id: string;
1786
+ label: string;
1787
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1786
1788
  capture: "at_action" | "historical_lookup" | "fixture";
1787
1789
  locator?: string | undefined;
1788
1790
  }[] | undefined;
1789
1791
  } | {
1790
- kind: "conflict_detected";
1791
1792
  summary: string;
1793
+ kind: "conflict_detected";
1792
1794
  conflictId: string;
1793
1795
  decisionIds: string[];
1794
1796
  agentIds: string[];
1795
1797
  evidence?: {
1796
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1797
- label: string;
1798
1798
  id: string;
1799
+ label: string;
1800
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1800
1802
  locator?: string | undefined;
1801
1803
  }[] | undefined;
1802
1804
  } | {
1803
- kind: "test_result";
1804
1805
  summary: string;
1805
1806
  status: "error" | "failed" | "passed";
1807
+ kind: "test_result";
1806
1808
  command: string;
1807
1809
  decisionId: string;
1808
1810
  testId: string;
1809
1811
  durationMs?: number | undefined;
1810
1812
  evidence?: {
1811
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1812
- label: string;
1813
1813
  id: string;
1814
+ label: string;
1815
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1814
1816
  capture: "at_action" | "historical_lookup" | "fixture";
1815
1817
  locator?: string | undefined;
1816
1818
  }[] | undefined;
@@ -1825,9 +1827,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1825
1827
  supersedesDecisionIds: string[];
1826
1828
  proposedBy: string;
1827
1829
  evidence?: {
1828
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1829
- label: string;
1830
1830
  id: string;
1831
+ label: string;
1832
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1833
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1834
  locator?: string | undefined;
1833
1835
  }[] | undefined;
@@ -1835,15 +1837,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1835
1837
  kind: "correction_approved";
1836
1838
  correctionId: string;
1837
1839
  approvedBy: {
1838
- kind: "agent" | "human";
1839
- label: string;
1840
1840
  id: string;
1841
+ label: string;
1842
+ kind: "agent" | "human";
1841
1843
  };
1842
1844
  note?: string | undefined;
1843
1845
  evidence?: {
1844
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1845
- label: string;
1846
1846
  id: string;
1847
+ label: string;
1848
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1847
1849
  capture: "at_action" | "historical_lookup" | "fixture";
1848
1850
  locator?: string | undefined;
1849
1851
  }[] | undefined;
@@ -1853,9 +1855,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1853
1855
  correctionId: string;
1854
1856
  replacementDecisionId: string;
1855
1857
  evidence?: {
1856
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1857
- label: string;
1858
1858
  id: string;
1859
+ label: string;
1860
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1859
1861
  capture: "at_action" | "historical_lookup" | "fixture";
1860
1862
  locator?: string | undefined;
1861
1863
  }[] | undefined;
@@ -1868,9 +1870,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1868
1870
  recallReceiptId: string;
1869
1871
  capturedAtAction: boolean;
1870
1872
  evidence?: {
1871
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1872
- label: string;
1873
1873
  id: string;
1874
+ label: string;
1875
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1874
1876
  capture: "at_action" | "historical_lookup" | "fixture";
1875
1877
  locator?: string | undefined;
1876
1878
  }[] | undefined;
@@ -1883,20 +1885,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1883
1885
  recallReceiptId: string;
1884
1886
  staleDecisionAbsent: boolean;
1885
1887
  evidence?: {
1886
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1887
- label: string;
1888
1888
  id: string;
1889
+ label: string;
1890
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1889
1891
  capture: "at_action" | "historical_lookup" | "fixture";
1890
1892
  locator?: string | undefined;
1891
1893
  }[] | undefined;
1892
1894
  } | {
1893
- kind: "mission_completed";
1894
1895
  summary: string;
1896
+ kind: "mission_completed";
1895
1897
  outcome: "failed" | "recovered" | "inconclusive";
1896
1898
  evidence?: {
1897
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1898
- label: string;
1899
1899
  id: string;
1900
+ label: string;
1901
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1900
1902
  capture: "at_action" | "historical_lookup" | "fixture";
1901
1903
  locator?: string | undefined;
1902
1904
  }[] | undefined;
@@ -1917,15 +1919,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1917
1919
  locator: z.ZodOptional<z.ZodString>;
1918
1920
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1919
1921
  }, "strict", z.ZodTypeAny, {
1920
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1921
- label: string;
1922
1922
  id: string;
1923
+ label: string;
1924
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1923
1925
  capture: "at_action" | "historical_lookup" | "fixture";
1924
1926
  locator?: string | undefined;
1925
1927
  }, {
1926
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1927
- label: string;
1928
1928
  id: string;
1929
+ label: string;
1930
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1929
1931
  capture: "at_action" | "historical_lookup" | "fixture";
1930
1932
  locator?: string | undefined;
1931
1933
  }>, "many">>;
@@ -1933,9 +1935,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1933
1935
  kind: "mission_started";
1934
1936
  title: string;
1935
1937
  evidence: {
1936
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1937
- label: string;
1938
1938
  id: string;
1939
+ label: string;
1940
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1939
1941
  capture: "at_action" | "historical_lookup" | "fixture";
1940
1942
  locator?: string | undefined;
1941
1943
  }[];
@@ -1947,9 +1949,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1947
1949
  objective: string;
1948
1950
  runMode: "replay" | "fixture" | "live";
1949
1951
  evidence?: {
1950
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1951
- label: string;
1952
1952
  id: string;
1953
+ label: string;
1954
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1955
  capture: "at_action" | "historical_lookup" | "fixture";
1954
1956
  locator?: string | undefined;
1955
1957
  }[] | undefined;
@@ -1965,15 +1967,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1965
1967
  locator: z.ZodOptional<z.ZodString>;
1966
1968
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1967
1969
  }, "strict", z.ZodTypeAny, {
1968
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1969
- label: string;
1970
1970
  id: string;
1971
+ label: string;
1972
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1971
1973
  capture: "at_action" | "historical_lookup" | "fixture";
1972
1974
  locator?: string | undefined;
1973
1975
  }, {
1974
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1975
- label: string;
1976
1976
  id: string;
1977
+ label: string;
1978
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1977
1979
  capture: "at_action" | "historical_lookup" | "fixture";
1978
1980
  locator?: string | undefined;
1979
1981
  }>, "many">>;
@@ -1981,32 +1983,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1981
1983
  sessionId: z.ZodString;
1982
1984
  kind: z.ZodLiteral<"agent_status">;
1983
1985
  }, "strict", z.ZodTypeAny, {
1984
- kind: "agent_status";
1985
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1986
1986
  label: string;
1987
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1988
+ kind: "agent_status";
1987
1989
  role: string;
1988
1990
  agentId: string;
1989
1991
  sessionId: string;
1990
1992
  evidence: {
1991
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1992
- label: string;
1993
1993
  id: string;
1994
+ label: string;
1995
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1994
1996
  capture: "at_action" | "historical_lookup" | "fixture";
1995
1997
  locator?: string | undefined;
1996
1998
  }[];
1997
1999
  detail?: string | undefined;
1998
2000
  }, {
1999
- kind: "agent_status";
2000
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2001
2001
  label: string;
2002
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2003
+ kind: "agent_status";
2002
2004
  role: string;
2003
2005
  agentId: string;
2004
2006
  sessionId: string;
2005
2007
  detail?: string | undefined;
2006
2008
  evidence?: {
2007
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2008
- label: string;
2009
2009
  id: string;
2010
+ label: string;
2011
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2012
  capture: "at_action" | "historical_lookup" | "fixture";
2011
2013
  locator?: string | undefined;
2012
2014
  }[] | undefined;
@@ -2020,15 +2022,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2020
2022
  locator: z.ZodOptional<z.ZodString>;
2021
2023
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2022
2024
  }, "strict", z.ZodTypeAny, {
2023
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2024
- label: string;
2025
2025
  id: string;
2026
+ label: string;
2027
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2026
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2027
2029
  locator?: string | undefined;
2028
2030
  }, {
2029
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2030
- label: string;
2031
2031
  id: string;
2032
+ label: string;
2033
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2034
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2035
  locator?: string | undefined;
2034
2036
  }>, "many">>;
@@ -2036,28 +2038,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2036
2038
  sessionId: z.ZodString;
2037
2039
  kind: z.ZodLiteral<"agent_output">;
2038
2040
  }, "strict", z.ZodTypeAny, {
2039
- kind: "agent_output";
2040
2041
  summary: string;
2042
+ kind: "agent_output";
2041
2043
  agentId: string;
2042
2044
  sessionId: string;
2043
2045
  evidence: {
2044
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2045
- label: string;
2046
2046
  id: string;
2047
+ label: string;
2048
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2049
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2050
  locator?: string | undefined;
2049
2051
  }[];
2050
2052
  outputId: string;
2051
2053
  }, {
2052
- kind: "agent_output";
2053
2054
  summary: string;
2055
+ kind: "agent_output";
2054
2056
  agentId: string;
2055
2057
  sessionId: string;
2056
2058
  outputId: string;
2057
2059
  evidence?: {
2058
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2059
- label: string;
2060
2060
  id: string;
2061
+ label: string;
2062
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2063
  capture: "at_action" | "historical_lookup" | "fixture";
2062
2064
  locator?: string | undefined;
2063
2065
  }[] | undefined;
@@ -2073,15 +2075,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2073
2075
  locator: z.ZodOptional<z.ZodString>;
2074
2076
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2075
2077
  }, "strict", z.ZodTypeAny, {
2076
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2077
- label: string;
2078
2078
  id: string;
2079
+ label: string;
2080
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2079
2081
  capture: "at_action" | "historical_lookup" | "fixture";
2080
2082
  locator?: string | undefined;
2081
2083
  }, {
2082
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2083
- label: string;
2084
2084
  id: string;
2085
+ label: string;
2086
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2085
2087
  capture: "at_action" | "historical_lookup" | "fixture";
2086
2088
  locator?: string | undefined;
2087
2089
  }>, "many">>;
@@ -2094,9 +2096,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2094
2096
  statement: string;
2095
2097
  sessionId: string;
2096
2098
  evidence: {
2097
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2098
- label: string;
2099
2099
  id: string;
2100
+ label: string;
2101
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2100
2102
  capture: "at_action" | "historical_lookup" | "fixture";
2101
2103
  locator?: string | undefined;
2102
2104
  }[];
@@ -2112,9 +2114,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2112
2114
  decisionId: string;
2113
2115
  confidence?: number | undefined;
2114
2116
  evidence?: {
2115
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2116
- label: string;
2117
2117
  id: string;
2118
+ label: string;
2119
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2118
2120
  capture: "at_action" | "historical_lookup" | "fixture";
2119
2121
  locator?: string | undefined;
2120
2122
  }[] | undefined;
@@ -2131,25 +2133,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2131
2133
  locator: z.ZodOptional<z.ZodString>;
2132
2134
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2133
2135
  }, "strict", z.ZodTypeAny, {
2134
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2135
- label: string;
2136
2136
  id: string;
2137
+ label: string;
2138
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2137
2139
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2140
  locator?: string | undefined;
2139
2141
  }, {
2140
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2141
- label: string;
2142
2142
  id: string;
2143
+ label: string;
2144
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2143
2145
  capture: "at_action" | "historical_lookup" | "fixture";
2144
2146
  locator?: string | undefined;
2145
2147
  }>, "many">>;
2146
2148
  }, "strict", z.ZodTypeAny, {
2147
- kind: "conflict_detected";
2148
2149
  summary: string;
2150
+ kind: "conflict_detected";
2149
2151
  evidence: {
2150
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2151
- label: string;
2152
2152
  id: string;
2153
+ label: string;
2154
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2155
  capture: "at_action" | "historical_lookup" | "fixture";
2154
2156
  locator?: string | undefined;
2155
2157
  }[];
@@ -2157,15 +2159,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2157
2159
  decisionIds: string[];
2158
2160
  agentIds: string[];
2159
2161
  }, {
2160
- kind: "conflict_detected";
2161
2162
  summary: string;
2163
+ kind: "conflict_detected";
2162
2164
  conflictId: string;
2163
2165
  decisionIds: string[];
2164
2166
  agentIds: string[];
2165
2167
  evidence?: {
2166
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2167
- label: string;
2168
2168
  id: string;
2169
+ label: string;
2170
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2169
2171
  capture: "at_action" | "historical_lookup" | "fixture";
2170
2172
  locator?: string | undefined;
2171
2173
  }[] | undefined;
@@ -2185,27 +2187,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2185
2187
  locator: z.ZodOptional<z.ZodString>;
2186
2188
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2187
2189
  }, "strict", z.ZodTypeAny, {
2188
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2189
- label: string;
2190
2190
  id: string;
2191
+ label: string;
2192
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2191
2193
  capture: "at_action" | "historical_lookup" | "fixture";
2192
2194
  locator?: string | undefined;
2193
2195
  }, {
2194
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2195
- label: string;
2196
2196
  id: string;
2197
+ label: string;
2198
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2197
2199
  capture: "at_action" | "historical_lookup" | "fixture";
2198
2200
  locator?: string | undefined;
2199
2201
  }>, "many">>;
2200
2202
  }, "strict", z.ZodTypeAny, {
2201
- kind: "test_result";
2202
2203
  summary: string;
2203
2204
  status: "error" | "failed" | "passed";
2205
+ kind: "test_result";
2204
2206
  command: string;
2205
2207
  evidence: {
2206
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2207
- label: string;
2208
2208
  id: string;
2209
+ label: string;
2210
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2209
2211
  capture: "at_action" | "historical_lookup" | "fixture";
2210
2212
  locator?: string | undefined;
2211
2213
  }[];
@@ -2214,17 +2216,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2214
2216
  durationMs?: number | undefined;
2215
2217
  correctionId?: string | undefined;
2216
2218
  }, {
2217
- kind: "test_result";
2218
2219
  summary: string;
2219
2220
  status: "error" | "failed" | "passed";
2221
+ kind: "test_result";
2220
2222
  command: string;
2221
2223
  decisionId: string;
2222
2224
  testId: string;
2223
2225
  durationMs?: number | undefined;
2224
2226
  evidence?: {
2225
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2226
- label: string;
2227
2227
  id: string;
2228
+ label: string;
2229
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2229
2231
  locator?: string | undefined;
2230
2232
  }[] | undefined;
@@ -2245,15 +2247,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2245
2247
  locator: z.ZodOptional<z.ZodString>;
2246
2248
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2247
2249
  }, "strict", z.ZodTypeAny, {
2248
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2249
- label: string;
2250
2250
  id: string;
2251
+ label: string;
2252
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2253
  capture: "at_action" | "historical_lookup" | "fixture";
2252
2254
  locator?: string | undefined;
2253
2255
  }, {
2254
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2255
- label: string;
2256
2256
  id: string;
2257
+ label: string;
2258
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2257
2259
  capture: "at_action" | "historical_lookup" | "fixture";
2258
2260
  locator?: string | undefined;
2259
2261
  }>, "many">>;
@@ -2262,9 +2264,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2262
2264
  rationale: string;
2263
2265
  statement: string;
2264
2266
  evidence: {
2265
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2266
- label: string;
2267
2267
  id: string;
2268
+ label: string;
2269
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2271
  locator?: string | undefined;
2270
2272
  }[];
@@ -2283,9 +2285,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2283
2285
  supersedesDecisionIds: string[];
2284
2286
  proposedBy: string;
2285
2287
  evidence?: {
2286
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2287
- label: string;
2288
2288
  id: string;
2289
+ label: string;
2290
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2289
2291
  capture: "at_action" | "historical_lookup" | "fixture";
2290
2292
  locator?: string | undefined;
2291
2293
  }[] | undefined;
@@ -2297,13 +2299,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2297
2299
  id: z.ZodString;
2298
2300
  label: z.ZodString;
2299
2301
  }, "strict", z.ZodTypeAny, {
2300
- kind: "agent" | "human";
2301
- label: string;
2302
2302
  id: string;
2303
- }, {
2304
- kind: "agent" | "human";
2305
2303
  label: string;
2304
+ kind: "agent" | "human";
2305
+ }, {
2306
2306
  id: string;
2307
+ label: string;
2308
+ kind: "agent" | "human";
2307
2309
  }>;
2308
2310
  note: z.ZodOptional<z.ZodString>;
2309
2311
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2313,47 +2315,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2313
2315
  locator: z.ZodOptional<z.ZodString>;
2314
2316
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2315
2317
  }, "strict", z.ZodTypeAny, {
2316
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2317
- label: string;
2318
2318
  id: string;
2319
+ label: string;
2320
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2319
2321
  capture: "at_action" | "historical_lookup" | "fixture";
2320
2322
  locator?: string | undefined;
2321
2323
  }, {
2322
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2323
- label: string;
2324
2324
  id: string;
2325
+ label: string;
2326
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2325
2327
  capture: "at_action" | "historical_lookup" | "fixture";
2326
2328
  locator?: string | undefined;
2327
2329
  }>, "many">>;
2328
2330
  }, "strict", z.ZodTypeAny, {
2329
2331
  kind: "correction_approved";
2330
2332
  evidence: {
2331
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2332
- label: string;
2333
2333
  id: string;
2334
+ label: string;
2335
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2334
2336
  capture: "at_action" | "historical_lookup" | "fixture";
2335
2337
  locator?: string | undefined;
2336
2338
  }[];
2337
2339
  correctionId: string;
2338
2340
  approvedBy: {
2339
- kind: "agent" | "human";
2340
- label: string;
2341
2341
  id: string;
2342
+ label: string;
2343
+ kind: "agent" | "human";
2342
2344
  };
2343
2345
  note?: string | undefined;
2344
2346
  }, {
2345
2347
  kind: "correction_approved";
2346
2348
  correctionId: string;
2347
2349
  approvedBy: {
2348
- kind: "agent" | "human";
2349
- label: string;
2350
2350
  id: string;
2351
+ label: string;
2352
+ kind: "agent" | "human";
2351
2353
  };
2352
2354
  note?: string | undefined;
2353
2355
  evidence?: {
2354
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2355
- label: string;
2356
2356
  id: string;
2357
+ label: string;
2358
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2357
2359
  capture: "at_action" | "historical_lookup" | "fixture";
2358
2360
  locator?: string | undefined;
2359
2361
  }[] | undefined;
@@ -2369,24 +2371,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2369
2371
  locator: z.ZodOptional<z.ZodString>;
2370
2372
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2371
2373
  }, "strict", z.ZodTypeAny, {
2372
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2373
- label: string;
2374
2374
  id: string;
2375
+ label: string;
2376
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2376
2378
  locator?: string | undefined;
2377
2379
  }, {
2378
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2379
- label: string;
2380
2380
  id: string;
2381
+ label: string;
2382
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2381
2383
  capture: "at_action" | "historical_lookup" | "fixture";
2382
2384
  locator?: string | undefined;
2383
2385
  }>, "many">>;
2384
2386
  }, "strict", z.ZodTypeAny, {
2385
2387
  kind: "decision_superseded";
2386
2388
  evidence: {
2387
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2388
- label: string;
2389
2389
  id: string;
2390
+ label: string;
2391
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2392
  capture: "at_action" | "historical_lookup" | "fixture";
2391
2393
  locator?: string | undefined;
2392
2394
  }[];
@@ -2399,9 +2401,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2399
2401
  correctionId: string;
2400
2402
  replacementDecisionId: string;
2401
2403
  evidence?: {
2402
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2403
- label: string;
2404
2404
  id: string;
2405
+ label: string;
2406
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2405
2407
  capture: "at_action" | "historical_lookup" | "fixture";
2406
2408
  locator?: string | undefined;
2407
2409
  }[] | undefined;
@@ -2417,15 +2419,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2417
2419
  locator: z.ZodOptional<z.ZodString>;
2418
2420
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2419
2421
  }, "strict", z.ZodTypeAny, {
2420
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2421
- label: string;
2422
2422
  id: string;
2423
+ label: string;
2424
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2423
2425
  capture: "at_action" | "historical_lookup" | "fixture";
2424
2426
  locator?: string | undefined;
2425
2427
  }, {
2426
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2427
- label: string;
2428
2428
  id: string;
2429
+ label: string;
2430
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2429
2431
  capture: "at_action" | "historical_lookup" | "fixture";
2430
2432
  locator?: string | undefined;
2431
2433
  }>, "many">>;
@@ -2438,9 +2440,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2438
2440
  agentId: string;
2439
2441
  sessionId: string;
2440
2442
  evidence: {
2441
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2442
- label: string;
2443
2443
  id: string;
2444
+ label: string;
2445
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2444
2446
  capture: "at_action" | "historical_lookup" | "fixture";
2445
2447
  locator?: string | undefined;
2446
2448
  }[];
@@ -2456,9 +2458,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2456
2458
  recallReceiptId: string;
2457
2459
  capturedAtAction: boolean;
2458
2460
  evidence?: {
2459
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2460
- label: string;
2461
2461
  id: string;
2462
+ label: string;
2463
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2464
  capture: "at_action" | "historical_lookup" | "fixture";
2463
2465
  locator?: string | undefined;
2464
2466
  }[] | undefined;
@@ -2474,15 +2476,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2474
2476
  locator: z.ZodOptional<z.ZodString>;
2475
2477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2476
2478
  }, "strict", z.ZodTypeAny, {
2477
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2478
- label: string;
2479
2479
  id: string;
2480
+ label: string;
2481
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2480
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2481
2483
  locator?: string | undefined;
2482
2484
  }, {
2483
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2484
- label: string;
2485
2485
  id: string;
2486
+ label: string;
2487
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2488
  capture: "at_action" | "historical_lookup" | "fixture";
2487
2489
  locator?: string | undefined;
2488
2490
  }>, "many">>;
@@ -2494,9 +2496,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2494
2496
  agentId: string;
2495
2497
  sessionId: string;
2496
2498
  evidence: {
2497
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2498
- label: string;
2499
2499
  id: string;
2500
+ label: string;
2501
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2500
2502
  capture: "at_action" | "historical_lookup" | "fixture";
2501
2503
  locator?: string | undefined;
2502
2504
  }[];
@@ -2513,9 +2515,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2513
2515
  recallReceiptId: string;
2514
2516
  staleDecisionAbsent: boolean;
2515
2517
  evidence?: {
2516
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2517
- label: string;
2518
2518
  id: string;
2519
+ label: string;
2520
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2519
2521
  capture: "at_action" | "historical_lookup" | "fixture";
2520
2522
  locator?: string | undefined;
2521
2523
  }[] | undefined;
@@ -2530,37 +2532,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2530
2532
  locator: z.ZodOptional<z.ZodString>;
2531
2533
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2532
2534
  }, "strict", z.ZodTypeAny, {
2533
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2534
- label: string;
2535
2535
  id: string;
2536
+ label: string;
2537
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2537
2539
  locator?: string | undefined;
2538
2540
  }, {
2539
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2540
- label: string;
2541
2541
  id: string;
2542
+ label: string;
2543
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2545
  locator?: string | undefined;
2544
2546
  }>, "many">>;
2545
2547
  }, "strict", z.ZodTypeAny, {
2546
- kind: "mission_completed";
2547
2548
  summary: string;
2549
+ kind: "mission_completed";
2548
2550
  outcome: "failed" | "recovered" | "inconclusive";
2549
2551
  evidence: {
2550
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2551
- label: string;
2552
2552
  id: string;
2553
+ label: string;
2554
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2553
2555
  capture: "at_action" | "historical_lookup" | "fixture";
2554
2556
  locator?: string | undefined;
2555
2557
  }[];
2556
2558
  }, {
2557
- kind: "mission_completed";
2558
2559
  summary: string;
2560
+ kind: "mission_completed";
2559
2561
  outcome: "failed" | "recovered" | "inconclusive";
2560
2562
  evidence?: {
2561
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2562
- label: string;
2563
2563
  id: string;
2564
+ label: string;
2565
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2564
2566
  capture: "at_action" | "historical_lookup" | "fixture";
2565
2567
  locator?: string | undefined;
2566
2568
  }[] | undefined;
@@ -2568,38 +2570,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2568
2570
  kind: "mission_started";
2569
2571
  title: string;
2570
2572
  evidence: {
2571
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2572
- label: string;
2573
2573
  id: string;
2574
+ label: string;
2575
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2574
2576
  capture: "at_action" | "historical_lookup" | "fixture";
2575
2577
  locator?: string | undefined;
2576
2578
  }[];
2577
2579
  objective: string;
2578
2580
  runMode: "replay" | "fixture" | "live";
2579
2581
  } | {
2580
- kind: "agent_status";
2581
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2582
2582
  label: string;
2583
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2584
+ kind: "agent_status";
2583
2585
  role: string;
2584
2586
  agentId: string;
2585
2587
  sessionId: string;
2586
2588
  evidence: {
2587
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2588
- label: string;
2589
2589
  id: string;
2590
+ label: string;
2591
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2592
  capture: "at_action" | "historical_lookup" | "fixture";
2591
2593
  locator?: string | undefined;
2592
2594
  }[];
2593
2595
  detail?: string | undefined;
2594
2596
  } | {
2595
- kind: "agent_output";
2596
2597
  summary: string;
2598
+ kind: "agent_output";
2597
2599
  agentId: string;
2598
2600
  sessionId: string;
2599
2601
  evidence: {
2600
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2601
- label: string;
2602
2602
  id: string;
2603
+ label: string;
2604
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2603
2605
  capture: "at_action" | "historical_lookup" | "fixture";
2604
2606
  locator?: string | undefined;
2605
2607
  }[];
@@ -2610,9 +2612,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2610
2612
  statement: string;
2611
2613
  sessionId: string;
2612
2614
  evidence: {
2613
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2614
- label: string;
2615
2615
  id: string;
2616
+ label: string;
2617
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2616
2618
  capture: "at_action" | "historical_lookup" | "fixture";
2617
2619
  locator?: string | undefined;
2618
2620
  }[];
@@ -2620,12 +2622,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2620
2622
  decisionId: string;
2621
2623
  confidence?: number | undefined;
2622
2624
  } | {
2623
- kind: "conflict_detected";
2624
2625
  summary: string;
2626
+ kind: "conflict_detected";
2625
2627
  evidence: {
2626
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2627
- label: string;
2628
2628
  id: string;
2629
+ label: string;
2630
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2629
2631
  capture: "at_action" | "historical_lookup" | "fixture";
2630
2632
  locator?: string | undefined;
2631
2633
  }[];
@@ -2633,14 +2635,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2633
2635
  decisionIds: string[];
2634
2636
  agentIds: string[];
2635
2637
  } | {
2636
- kind: "test_result";
2637
2638
  summary: string;
2638
2639
  status: "error" | "failed" | "passed";
2640
+ kind: "test_result";
2639
2641
  command: string;
2640
2642
  evidence: {
2641
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2642
- label: string;
2643
2643
  id: string;
2644
+ label: string;
2645
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2644
2646
  capture: "at_action" | "historical_lookup" | "fixture";
2645
2647
  locator?: string | undefined;
2646
2648
  }[];
@@ -2653,9 +2655,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2653
2655
  rationale: string;
2654
2656
  statement: string;
2655
2657
  evidence: {
2656
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2657
- label: string;
2658
2658
  id: string;
2659
+ label: string;
2660
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2659
2661
  capture: "at_action" | "historical_lookup" | "fixture";
2660
2662
  locator?: string | undefined;
2661
2663
  }[];
@@ -2667,25 +2669,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2667
2669
  } | {
2668
2670
  kind: "correction_approved";
2669
2671
  evidence: {
2670
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2671
- label: string;
2672
2672
  id: string;
2673
+ label: string;
2674
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2675
  capture: "at_action" | "historical_lookup" | "fixture";
2674
2676
  locator?: string | undefined;
2675
2677
  }[];
2676
2678
  correctionId: string;
2677
2679
  approvedBy: {
2678
- kind: "agent" | "human";
2679
- label: string;
2680
2680
  id: string;
2681
+ label: string;
2682
+ kind: "agent" | "human";
2681
2683
  };
2682
2684
  note?: string | undefined;
2683
2685
  } | {
2684
2686
  kind: "decision_superseded";
2685
2687
  evidence: {
2686
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2687
- label: string;
2688
2688
  id: string;
2689
+ label: string;
2690
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2689
2691
  capture: "at_action" | "historical_lookup" | "fixture";
2690
2692
  locator?: string | undefined;
2691
2693
  }[];
@@ -2698,9 +2700,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2698
2700
  agentId: string;
2699
2701
  sessionId: string;
2700
2702
  evidence: {
2701
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2702
- label: string;
2703
2703
  id: string;
2704
+ label: string;
2705
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2704
2706
  capture: "at_action" | "historical_lookup" | "fixture";
2705
2707
  locator?: string | undefined;
2706
2708
  }[];
@@ -2712,9 +2714,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2712
2714
  agentId: string;
2713
2715
  sessionId: string;
2714
2716
  evidence: {
2715
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2716
- label: string;
2717
2717
  id: string;
2718
+ label: string;
2719
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2718
2720
  capture: "at_action" | "historical_lookup" | "fixture";
2719
2721
  locator?: string | undefined;
2720
2722
  }[];
@@ -2723,13 +2725,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2723
2725
  recallReceiptId: string;
2724
2726
  staleDecisionAbsent: boolean;
2725
2727
  } | {
2726
- kind: "mission_completed";
2727
2728
  summary: string;
2729
+ kind: "mission_completed";
2728
2730
  outcome: "failed" | "recovered" | "inconclusive";
2729
2731
  evidence: {
2730
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2731
- label: string;
2732
2732
  id: string;
2733
+ label: string;
2734
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2735
  capture: "at_action" | "historical_lookup" | "fixture";
2734
2736
  locator?: string | undefined;
2735
2737
  }[];
@@ -2739,37 +2741,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2739
2741
  objective: string;
2740
2742
  runMode: "replay" | "fixture" | "live";
2741
2743
  evidence?: {
2742
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2743
- label: string;
2744
2744
  id: string;
2745
+ label: string;
2746
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2745
2747
  capture: "at_action" | "historical_lookup" | "fixture";
2746
2748
  locator?: string | undefined;
2747
2749
  }[] | undefined;
2748
2750
  } | {
2749
- kind: "agent_status";
2750
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2751
2751
  label: string;
2752
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2753
+ kind: "agent_status";
2752
2754
  role: string;
2753
2755
  agentId: string;
2754
2756
  sessionId: string;
2755
2757
  detail?: string | undefined;
2756
2758
  evidence?: {
2757
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2758
- label: string;
2759
2759
  id: string;
2760
+ label: string;
2761
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2760
2762
  capture: "at_action" | "historical_lookup" | "fixture";
2761
2763
  locator?: string | undefined;
2762
2764
  }[] | undefined;
2763
2765
  } | {
2764
- kind: "agent_output";
2765
2766
  summary: string;
2767
+ kind: "agent_output";
2766
2768
  agentId: string;
2767
2769
  sessionId: string;
2768
2770
  outputId: string;
2769
2771
  evidence?: {
2770
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2771
- label: string;
2772
2772
  id: string;
2773
+ label: string;
2774
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2773
2775
  capture: "at_action" | "historical_lookup" | "fixture";
2774
2776
  locator?: string | undefined;
2775
2777
  }[] | undefined;
@@ -2782,37 +2784,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2782
2784
  decisionId: string;
2783
2785
  confidence?: number | undefined;
2784
2786
  evidence?: {
2785
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2786
- label: string;
2787
2787
  id: string;
2788
+ label: string;
2789
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2788
2790
  capture: "at_action" | "historical_lookup" | "fixture";
2789
2791
  locator?: string | undefined;
2790
2792
  }[] | undefined;
2791
2793
  } | {
2792
- kind: "conflict_detected";
2793
2794
  summary: string;
2795
+ kind: "conflict_detected";
2794
2796
  conflictId: string;
2795
2797
  decisionIds: string[];
2796
2798
  agentIds: string[];
2797
2799
  evidence?: {
2798
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2799
- label: string;
2800
2800
  id: string;
2801
+ label: string;
2802
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2802
2804
  locator?: string | undefined;
2803
2805
  }[] | undefined;
2804
2806
  } | {
2805
- kind: "test_result";
2806
2807
  summary: string;
2807
2808
  status: "error" | "failed" | "passed";
2809
+ kind: "test_result";
2808
2810
  command: string;
2809
2811
  decisionId: string;
2810
2812
  testId: string;
2811
2813
  durationMs?: number | undefined;
2812
2814
  evidence?: {
2813
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2814
- label: string;
2815
2815
  id: string;
2816
+ label: string;
2817
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2816
2818
  capture: "at_action" | "historical_lookup" | "fixture";
2817
2819
  locator?: string | undefined;
2818
2820
  }[] | undefined;
@@ -2827,9 +2829,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2827
2829
  supersedesDecisionIds: string[];
2828
2830
  proposedBy: string;
2829
2831
  evidence?: {
2830
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2831
- label: string;
2832
2832
  id: string;
2833
+ label: string;
2834
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2835
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2836
  locator?: string | undefined;
2835
2837
  }[] | undefined;
@@ -2837,15 +2839,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2837
2839
  kind: "correction_approved";
2838
2840
  correctionId: string;
2839
2841
  approvedBy: {
2840
- kind: "agent" | "human";
2841
- label: string;
2842
2842
  id: string;
2843
+ label: string;
2844
+ kind: "agent" | "human";
2843
2845
  };
2844
2846
  note?: string | undefined;
2845
2847
  evidence?: {
2846
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2847
- label: string;
2848
2848
  id: string;
2849
+ label: string;
2850
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2849
2851
  capture: "at_action" | "historical_lookup" | "fixture";
2850
2852
  locator?: string | undefined;
2851
2853
  }[] | undefined;
@@ -2855,9 +2857,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2855
2857
  correctionId: string;
2856
2858
  replacementDecisionId: string;
2857
2859
  evidence?: {
2858
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2859
- label: string;
2860
2860
  id: string;
2861
+ label: string;
2862
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2861
2863
  capture: "at_action" | "historical_lookup" | "fixture";
2862
2864
  locator?: string | undefined;
2863
2865
  }[] | undefined;
@@ -2870,9 +2872,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2870
2872
  recallReceiptId: string;
2871
2873
  capturedAtAction: boolean;
2872
2874
  evidence?: {
2873
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2874
- label: string;
2875
2875
  id: string;
2876
+ label: string;
2877
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2878
  capture: "at_action" | "historical_lookup" | "fixture";
2877
2879
  locator?: string | undefined;
2878
2880
  }[] | undefined;
@@ -2885,20 +2887,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2885
2887
  recallReceiptId: string;
2886
2888
  staleDecisionAbsent: boolean;
2887
2889
  evidence?: {
2888
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2889
- label: string;
2890
2890
  id: string;
2891
+ label: string;
2892
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2891
2893
  capture: "at_action" | "historical_lookup" | "fixture";
2892
2894
  locator?: string | undefined;
2893
2895
  }[] | undefined;
2894
2896
  } | {
2895
- kind: "mission_completed";
2896
2897
  summary: string;
2898
+ kind: "mission_completed";
2897
2899
  outcome: "failed" | "recovered" | "inconclusive";
2898
2900
  evidence?: {
2899
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2900
- label: string;
2901
2901
  id: string;
2902
+ label: string;
2903
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2902
2904
  capture: "at_action" | "historical_lookup" | "fixture";
2903
2905
  locator?: string | undefined;
2904
2906
  }[] | undefined;
@@ -2908,38 +2910,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2908
2910
  kind: "mission_started";
2909
2911
  title: string;
2910
2912
  evidence: {
2911
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2912
- label: string;
2913
2913
  id: string;
2914
+ label: string;
2915
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2914
2916
  capture: "at_action" | "historical_lookup" | "fixture";
2915
2917
  locator?: string | undefined;
2916
2918
  }[];
2917
2919
  objective: string;
2918
2920
  runMode: "replay" | "fixture" | "live";
2919
2921
  } | {
2920
- kind: "agent_status";
2921
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2922
2922
  label: string;
2923
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2924
+ kind: "agent_status";
2923
2925
  role: string;
2924
2926
  agentId: string;
2925
2927
  sessionId: string;
2926
2928
  evidence: {
2927
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2928
- label: string;
2929
2929
  id: string;
2930
+ label: string;
2931
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2930
2932
  capture: "at_action" | "historical_lookup" | "fixture";
2931
2933
  locator?: string | undefined;
2932
2934
  }[];
2933
2935
  detail?: string | undefined;
2934
2936
  } | {
2935
- kind: "agent_output";
2936
2937
  summary: string;
2938
+ kind: "agent_output";
2937
2939
  agentId: string;
2938
2940
  sessionId: string;
2939
2941
  evidence: {
2940
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2941
- label: string;
2942
2942
  id: string;
2943
+ label: string;
2944
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2943
2945
  capture: "at_action" | "historical_lookup" | "fixture";
2944
2946
  locator?: string | undefined;
2945
2947
  }[];
@@ -2950,9 +2952,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2950
2952
  statement: string;
2951
2953
  sessionId: string;
2952
2954
  evidence: {
2953
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2954
- label: string;
2955
2955
  id: string;
2956
+ label: string;
2957
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2956
2958
  capture: "at_action" | "historical_lookup" | "fixture";
2957
2959
  locator?: string | undefined;
2958
2960
  }[];
@@ -2960,12 +2962,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2960
2962
  decisionId: string;
2961
2963
  confidence?: number | undefined;
2962
2964
  } | {
2963
- kind: "conflict_detected";
2964
2965
  summary: string;
2966
+ kind: "conflict_detected";
2965
2967
  evidence: {
2966
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2967
- label: string;
2968
2968
  id: string;
2969
+ label: string;
2970
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2969
2971
  capture: "at_action" | "historical_lookup" | "fixture";
2970
2972
  locator?: string | undefined;
2971
2973
  }[];
@@ -2973,14 +2975,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2973
2975
  decisionIds: string[];
2974
2976
  agentIds: string[];
2975
2977
  } | {
2976
- kind: "test_result";
2977
2978
  summary: string;
2978
2979
  status: "error" | "failed" | "passed";
2980
+ kind: "test_result";
2979
2981
  command: string;
2980
2982
  evidence: {
2981
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2982
- label: string;
2983
2983
  id: string;
2984
+ label: string;
2985
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2984
2986
  capture: "at_action" | "historical_lookup" | "fixture";
2985
2987
  locator?: string | undefined;
2986
2988
  }[];
@@ -2993,9 +2995,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2993
2995
  rationale: string;
2994
2996
  statement: string;
2995
2997
  evidence: {
2996
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2997
- label: string;
2998
2998
  id: string;
2999
+ label: string;
3000
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2999
3001
  capture: "at_action" | "historical_lookup" | "fixture";
3000
3002
  locator?: string | undefined;
3001
3003
  }[];
@@ -3007,25 +3009,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3007
3009
  } | {
3008
3010
  kind: "correction_approved";
3009
3011
  evidence: {
3010
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3011
- label: string;
3012
3012
  id: string;
3013
+ label: string;
3014
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3013
3015
  capture: "at_action" | "historical_lookup" | "fixture";
3014
3016
  locator?: string | undefined;
3015
3017
  }[];
3016
3018
  correctionId: string;
3017
3019
  approvedBy: {
3018
- kind: "agent" | "human";
3019
- label: string;
3020
3020
  id: string;
3021
+ label: string;
3022
+ kind: "agent" | "human";
3021
3023
  };
3022
3024
  note?: string | undefined;
3023
3025
  } | {
3024
3026
  kind: "decision_superseded";
3025
3027
  evidence: {
3026
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3027
- label: string;
3028
3028
  id: string;
3029
+ label: string;
3030
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3029
3031
  capture: "at_action" | "historical_lookup" | "fixture";
3030
3032
  locator?: string | undefined;
3031
3033
  }[];
@@ -3038,9 +3040,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3038
3040
  agentId: string;
3039
3041
  sessionId: string;
3040
3042
  evidence: {
3041
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3042
- label: string;
3043
3043
  id: string;
3044
+ label: string;
3045
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3044
3046
  capture: "at_action" | "historical_lookup" | "fixture";
3045
3047
  locator?: string | undefined;
3046
3048
  }[];
@@ -3052,9 +3054,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3052
3054
  agentId: string;
3053
3055
  sessionId: string;
3054
3056
  evidence: {
3055
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3056
- label: string;
3057
3057
  id: string;
3058
+ label: string;
3059
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3058
3060
  capture: "at_action" | "historical_lookup" | "fixture";
3059
3061
  locator?: string | undefined;
3060
3062
  }[];
@@ -3063,13 +3065,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3063
3065
  recallReceiptId: string;
3064
3066
  staleDecisionAbsent: boolean;
3065
3067
  } | {
3066
- kind: "mission_completed";
3067
3068
  summary: string;
3069
+ kind: "mission_completed";
3068
3070
  outcome: "failed" | "recovered" | "inconclusive";
3069
3071
  evidence: {
3070
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3071
- label: string;
3072
3072
  id: string;
3073
+ label: string;
3074
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3075
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3076
  locator?: string | undefined;
3075
3077
  }[];
@@ -3083,37 +3085,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3083
3085
  objective: string;
3084
3086
  runMode: "replay" | "fixture" | "live";
3085
3087
  evidence?: {
3086
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3087
- label: string;
3088
3088
  id: string;
3089
+ label: string;
3090
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3089
3091
  capture: "at_action" | "historical_lookup" | "fixture";
3090
3092
  locator?: string | undefined;
3091
3093
  }[] | undefined;
3092
3094
  } | {
3093
- kind: "agent_status";
3094
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3095
3095
  label: string;
3096
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3097
+ kind: "agent_status";
3096
3098
  role: string;
3097
3099
  agentId: string;
3098
3100
  sessionId: string;
3099
3101
  detail?: string | undefined;
3100
3102
  evidence?: {
3101
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3102
- label: string;
3103
3103
  id: string;
3104
+ label: string;
3105
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3104
3106
  capture: "at_action" | "historical_lookup" | "fixture";
3105
3107
  locator?: string | undefined;
3106
3108
  }[] | undefined;
3107
3109
  } | {
3108
- kind: "agent_output";
3109
3110
  summary: string;
3111
+ kind: "agent_output";
3110
3112
  agentId: string;
3111
3113
  sessionId: string;
3112
3114
  outputId: string;
3113
3115
  evidence?: {
3114
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3115
- label: string;
3116
3116
  id: string;
3117
+ label: string;
3118
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3117
3119
  capture: "at_action" | "historical_lookup" | "fixture";
3118
3120
  locator?: string | undefined;
3119
3121
  }[] | undefined;
@@ -3126,37 +3128,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3126
3128
  decisionId: string;
3127
3129
  confidence?: number | undefined;
3128
3130
  evidence?: {
3129
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3130
- label: string;
3131
3131
  id: string;
3132
+ label: string;
3133
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3132
3134
  capture: "at_action" | "historical_lookup" | "fixture";
3133
3135
  locator?: string | undefined;
3134
3136
  }[] | undefined;
3135
3137
  } | {
3136
- kind: "conflict_detected";
3137
3138
  summary: string;
3139
+ kind: "conflict_detected";
3138
3140
  conflictId: string;
3139
3141
  decisionIds: string[];
3140
3142
  agentIds: string[];
3141
3143
  evidence?: {
3142
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3143
- label: string;
3144
3144
  id: string;
3145
+ label: string;
3146
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3145
3147
  capture: "at_action" | "historical_lookup" | "fixture";
3146
3148
  locator?: string | undefined;
3147
3149
  }[] | undefined;
3148
3150
  } | {
3149
- kind: "test_result";
3150
3151
  summary: string;
3151
3152
  status: "error" | "failed" | "passed";
3153
+ kind: "test_result";
3152
3154
  command: string;
3153
3155
  decisionId: string;
3154
3156
  testId: string;
3155
3157
  durationMs?: number | undefined;
3156
3158
  evidence?: {
3157
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3158
- label: string;
3159
3159
  id: string;
3160
+ label: string;
3161
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3160
3162
  capture: "at_action" | "historical_lookup" | "fixture";
3161
3163
  locator?: string | undefined;
3162
3164
  }[] | undefined;
@@ -3171,9 +3173,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3171
3173
  supersedesDecisionIds: string[];
3172
3174
  proposedBy: string;
3173
3175
  evidence?: {
3174
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3175
- label: string;
3176
3176
  id: string;
3177
+ label: string;
3178
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3179
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3180
  locator?: string | undefined;
3179
3181
  }[] | undefined;
@@ -3181,15 +3183,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3181
3183
  kind: "correction_approved";
3182
3184
  correctionId: string;
3183
3185
  approvedBy: {
3184
- kind: "agent" | "human";
3185
- label: string;
3186
3186
  id: string;
3187
+ label: string;
3188
+ kind: "agent" | "human";
3187
3189
  };
3188
3190
  note?: string | undefined;
3189
3191
  evidence?: {
3190
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3191
- label: string;
3192
3192
  id: string;
3193
+ label: string;
3194
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3193
3195
  capture: "at_action" | "historical_lookup" | "fixture";
3194
3196
  locator?: string | undefined;
3195
3197
  }[] | undefined;
@@ -3199,9 +3201,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3199
3201
  correctionId: string;
3200
3202
  replacementDecisionId: string;
3201
3203
  evidence?: {
3202
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3203
- label: string;
3204
3204
  id: string;
3205
+ label: string;
3206
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3205
3207
  capture: "at_action" | "historical_lookup" | "fixture";
3206
3208
  locator?: string | undefined;
3207
3209
  }[] | undefined;
@@ -3214,9 +3216,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3214
3216
  recallReceiptId: string;
3215
3217
  capturedAtAction: boolean;
3216
3218
  evidence?: {
3217
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3218
- label: string;
3219
3219
  id: string;
3220
+ label: string;
3221
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3220
3222
  capture: "at_action" | "historical_lookup" | "fixture";
3221
3223
  locator?: string | undefined;
3222
3224
  }[] | undefined;
@@ -3229,20 +3231,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3229
3231
  recallReceiptId: string;
3230
3232
  staleDecisionAbsent: boolean;
3231
3233
  evidence?: {
3232
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3233
- label: string;
3234
3234
  id: string;
3235
+ label: string;
3236
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3235
3237
  capture: "at_action" | "historical_lookup" | "fixture";
3236
3238
  locator?: string | undefined;
3237
3239
  }[] | undefined;
3238
3240
  } | {
3239
- kind: "mission_completed";
3240
3241
  summary: string;
3242
+ kind: "mission_completed";
3241
3243
  outcome: "failed" | "recovered" | "inconclusive";
3242
3244
  evidence?: {
3243
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3244
- label: string;
3245
3245
  id: string;
3246
+ label: string;
3247
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3246
3248
  capture: "at_action" | "historical_lookup" | "fixture";
3247
3249
  locator?: string | undefined;
3248
3250
  }[] | undefined;
@@ -3272,15 +3274,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3272
3274
  locator: z.ZodOptional<z.ZodString>;
3273
3275
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3274
3276
  }, "strict", z.ZodTypeAny, {
3275
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3276
- label: string;
3277
3277
  id: string;
3278
+ label: string;
3279
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3278
3280
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3281
  locator?: string | undefined;
3280
3282
  }, {
3281
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3282
- label: string;
3283
3283
  id: string;
3284
+ label: string;
3285
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3284
3286
  capture: "at_action" | "historical_lookup" | "fixture";
3285
3287
  locator?: string | undefined;
3286
3288
  }>, "many">>;
@@ -3288,9 +3290,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3288
3290
  kind: "mission_started";
3289
3291
  title: string;
3290
3292
  evidence: {
3291
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3292
- label: string;
3293
3293
  id: string;
3294
+ label: string;
3295
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3294
3296
  capture: "at_action" | "historical_lookup" | "fixture";
3295
3297
  locator?: string | undefined;
3296
3298
  }[];
@@ -3302,9 +3304,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3302
3304
  objective: string;
3303
3305
  runMode: "replay" | "fixture" | "live";
3304
3306
  evidence?: {
3305
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3306
- label: string;
3307
3307
  id: string;
3308
+ label: string;
3309
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3310
  capture: "at_action" | "historical_lookup" | "fixture";
3309
3311
  locator?: string | undefined;
3310
3312
  }[] | undefined;
@@ -3320,15 +3322,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3320
3322
  locator: z.ZodOptional<z.ZodString>;
3321
3323
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3322
3324
  }, "strict", z.ZodTypeAny, {
3323
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3324
- label: string;
3325
3325
  id: string;
3326
+ label: string;
3327
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3326
3328
  capture: "at_action" | "historical_lookup" | "fixture";
3327
3329
  locator?: string | undefined;
3328
3330
  }, {
3329
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3330
- label: string;
3331
3331
  id: string;
3332
+ label: string;
3333
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3332
3334
  capture: "at_action" | "historical_lookup" | "fixture";
3333
3335
  locator?: string | undefined;
3334
3336
  }>, "many">>;
@@ -3336,32 +3338,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3336
3338
  sessionId: z.ZodString;
3337
3339
  kind: z.ZodLiteral<"agent_status">;
3338
3340
  }, "strict", z.ZodTypeAny, {
3339
- kind: "agent_status";
3340
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3341
3341
  label: string;
3342
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3343
+ kind: "agent_status";
3342
3344
  role: string;
3343
3345
  agentId: string;
3344
3346
  sessionId: string;
3345
3347
  evidence: {
3346
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3347
- label: string;
3348
3348
  id: string;
3349
+ label: string;
3350
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3349
3351
  capture: "at_action" | "historical_lookup" | "fixture";
3350
3352
  locator?: string | undefined;
3351
3353
  }[];
3352
3354
  detail?: string | undefined;
3353
3355
  }, {
3354
- kind: "agent_status";
3355
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3356
3356
  label: string;
3357
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3358
+ kind: "agent_status";
3357
3359
  role: string;
3358
3360
  agentId: string;
3359
3361
  sessionId: string;
3360
3362
  detail?: string | undefined;
3361
3363
  evidence?: {
3362
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3363
- label: string;
3364
3364
  id: string;
3365
+ label: string;
3366
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3365
3367
  capture: "at_action" | "historical_lookup" | "fixture";
3366
3368
  locator?: string | undefined;
3367
3369
  }[] | undefined;
@@ -3375,15 +3377,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3375
3377
  locator: z.ZodOptional<z.ZodString>;
3376
3378
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3377
3379
  }, "strict", z.ZodTypeAny, {
3378
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3379
- label: string;
3380
3380
  id: string;
3381
+ label: string;
3382
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3381
3383
  capture: "at_action" | "historical_lookup" | "fixture";
3382
3384
  locator?: string | undefined;
3383
3385
  }, {
3384
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3385
- label: string;
3386
3386
  id: string;
3387
+ label: string;
3388
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3389
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3390
  locator?: string | undefined;
3389
3391
  }>, "many">>;
@@ -3391,28 +3393,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3391
3393
  sessionId: z.ZodString;
3392
3394
  kind: z.ZodLiteral<"agent_output">;
3393
3395
  }, "strict", z.ZodTypeAny, {
3394
- kind: "agent_output";
3395
3396
  summary: string;
3397
+ kind: "agent_output";
3396
3398
  agentId: string;
3397
3399
  sessionId: string;
3398
3400
  evidence: {
3399
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3400
- label: string;
3401
3401
  id: string;
3402
+ label: string;
3403
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3402
3404
  capture: "at_action" | "historical_lookup" | "fixture";
3403
3405
  locator?: string | undefined;
3404
3406
  }[];
3405
3407
  outputId: string;
3406
3408
  }, {
3407
- kind: "agent_output";
3408
3409
  summary: string;
3410
+ kind: "agent_output";
3409
3411
  agentId: string;
3410
3412
  sessionId: string;
3411
3413
  outputId: string;
3412
3414
  evidence?: {
3413
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3414
- label: string;
3415
3415
  id: string;
3416
+ label: string;
3417
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3418
  capture: "at_action" | "historical_lookup" | "fixture";
3417
3419
  locator?: string | undefined;
3418
3420
  }[] | undefined;
@@ -3428,15 +3430,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3428
3430
  locator: z.ZodOptional<z.ZodString>;
3429
3431
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3430
3432
  }, "strict", z.ZodTypeAny, {
3431
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3432
- label: string;
3433
3433
  id: string;
3434
+ label: string;
3435
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3434
3436
  capture: "at_action" | "historical_lookup" | "fixture";
3435
3437
  locator?: string | undefined;
3436
3438
  }, {
3437
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3438
- label: string;
3439
3439
  id: string;
3440
+ label: string;
3441
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3440
3442
  capture: "at_action" | "historical_lookup" | "fixture";
3441
3443
  locator?: string | undefined;
3442
3444
  }>, "many">>;
@@ -3449,9 +3451,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3449
3451
  statement: string;
3450
3452
  sessionId: string;
3451
3453
  evidence: {
3452
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3453
- label: string;
3454
3454
  id: string;
3455
+ label: string;
3456
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3455
3457
  capture: "at_action" | "historical_lookup" | "fixture";
3456
3458
  locator?: string | undefined;
3457
3459
  }[];
@@ -3467,9 +3469,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3467
3469
  decisionId: string;
3468
3470
  confidence?: number | undefined;
3469
3471
  evidence?: {
3470
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3471
- label: string;
3472
3472
  id: string;
3473
+ label: string;
3474
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3473
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3476
  locator?: string | undefined;
3475
3477
  }[] | undefined;
@@ -3486,25 +3488,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3486
3488
  locator: z.ZodOptional<z.ZodString>;
3487
3489
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3488
3490
  }, "strict", z.ZodTypeAny, {
3489
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3490
- label: string;
3491
3491
  id: string;
3492
+ label: string;
3493
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3494
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3495
  locator?: string | undefined;
3494
3496
  }, {
3495
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3496
- label: string;
3497
3497
  id: string;
3498
+ label: string;
3499
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3498
3500
  capture: "at_action" | "historical_lookup" | "fixture";
3499
3501
  locator?: string | undefined;
3500
3502
  }>, "many">>;
3501
3503
  }, "strict", z.ZodTypeAny, {
3502
- kind: "conflict_detected";
3503
3504
  summary: string;
3505
+ kind: "conflict_detected";
3504
3506
  evidence: {
3505
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3506
- label: string;
3507
3507
  id: string;
3508
+ label: string;
3509
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3508
3510
  capture: "at_action" | "historical_lookup" | "fixture";
3509
3511
  locator?: string | undefined;
3510
3512
  }[];
@@ -3512,15 +3514,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3512
3514
  decisionIds: string[];
3513
3515
  agentIds: string[];
3514
3516
  }, {
3515
- kind: "conflict_detected";
3516
3517
  summary: string;
3518
+ kind: "conflict_detected";
3517
3519
  conflictId: string;
3518
3520
  decisionIds: string[];
3519
3521
  agentIds: string[];
3520
3522
  evidence?: {
3521
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3522
- label: string;
3523
3523
  id: string;
3524
+ label: string;
3525
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3524
3526
  capture: "at_action" | "historical_lookup" | "fixture";
3525
3527
  locator?: string | undefined;
3526
3528
  }[] | undefined;
@@ -3540,27 +3542,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3540
3542
  locator: z.ZodOptional<z.ZodString>;
3541
3543
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3542
3544
  }, "strict", z.ZodTypeAny, {
3543
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3544
- label: string;
3545
3545
  id: string;
3546
+ label: string;
3547
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3546
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3547
3549
  locator?: string | undefined;
3548
3550
  }, {
3549
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3550
- label: string;
3551
3551
  id: string;
3552
+ label: string;
3553
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3552
3554
  capture: "at_action" | "historical_lookup" | "fixture";
3553
3555
  locator?: string | undefined;
3554
3556
  }>, "many">>;
3555
3557
  }, "strict", z.ZodTypeAny, {
3556
- kind: "test_result";
3557
3558
  summary: string;
3558
3559
  status: "error" | "failed" | "passed";
3560
+ kind: "test_result";
3559
3561
  command: string;
3560
3562
  evidence: {
3561
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3562
- label: string;
3563
3563
  id: string;
3564
+ label: string;
3565
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3564
3566
  capture: "at_action" | "historical_lookup" | "fixture";
3565
3567
  locator?: string | undefined;
3566
3568
  }[];
@@ -3569,17 +3571,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3569
3571
  durationMs?: number | undefined;
3570
3572
  correctionId?: string | undefined;
3571
3573
  }, {
3572
- kind: "test_result";
3573
3574
  summary: string;
3574
3575
  status: "error" | "failed" | "passed";
3576
+ kind: "test_result";
3575
3577
  command: string;
3576
3578
  decisionId: string;
3577
3579
  testId: string;
3578
3580
  durationMs?: number | undefined;
3579
3581
  evidence?: {
3580
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3581
- label: string;
3582
3582
  id: string;
3583
+ label: string;
3584
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3583
3585
  capture: "at_action" | "historical_lookup" | "fixture";
3584
3586
  locator?: string | undefined;
3585
3587
  }[] | undefined;
@@ -3600,15 +3602,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3600
3602
  locator: z.ZodOptional<z.ZodString>;
3601
3603
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3602
3604
  }, "strict", z.ZodTypeAny, {
3603
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3604
- label: string;
3605
3605
  id: string;
3606
+ label: string;
3607
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3608
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3609
  locator?: string | undefined;
3608
3610
  }, {
3609
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3610
- label: string;
3611
3611
  id: string;
3612
+ label: string;
3613
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3612
3614
  capture: "at_action" | "historical_lookup" | "fixture";
3613
3615
  locator?: string | undefined;
3614
3616
  }>, "many">>;
@@ -3617,9 +3619,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3617
3619
  rationale: string;
3618
3620
  statement: string;
3619
3621
  evidence: {
3620
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3621
- label: string;
3622
3622
  id: string;
3623
+ label: string;
3624
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3626
  locator?: string | undefined;
3625
3627
  }[];
@@ -3638,9 +3640,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3638
3640
  supersedesDecisionIds: string[];
3639
3641
  proposedBy: string;
3640
3642
  evidence?: {
3641
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3642
- label: string;
3643
3643
  id: string;
3644
+ label: string;
3645
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3644
3646
  capture: "at_action" | "historical_lookup" | "fixture";
3645
3647
  locator?: string | undefined;
3646
3648
  }[] | undefined;
@@ -3652,13 +3654,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3652
3654
  id: z.ZodString;
3653
3655
  label: z.ZodString;
3654
3656
  }, "strict", z.ZodTypeAny, {
3655
- kind: "agent" | "human";
3656
- label: string;
3657
3657
  id: string;
3658
- }, {
3659
- kind: "agent" | "human";
3660
3658
  label: string;
3659
+ kind: "agent" | "human";
3660
+ }, {
3661
3661
  id: string;
3662
+ label: string;
3663
+ kind: "agent" | "human";
3662
3664
  }>;
3663
3665
  note: z.ZodOptional<z.ZodString>;
3664
3666
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3668,47 +3670,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3668
3670
  locator: z.ZodOptional<z.ZodString>;
3669
3671
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3670
3672
  }, "strict", z.ZodTypeAny, {
3671
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3672
- label: string;
3673
3673
  id: string;
3674
+ label: string;
3675
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3674
3676
  capture: "at_action" | "historical_lookup" | "fixture";
3675
3677
  locator?: string | undefined;
3676
3678
  }, {
3677
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3678
- label: string;
3679
3679
  id: string;
3680
+ label: string;
3681
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3680
3682
  capture: "at_action" | "historical_lookup" | "fixture";
3681
3683
  locator?: string | undefined;
3682
3684
  }>, "many">>;
3683
3685
  }, "strict", z.ZodTypeAny, {
3684
3686
  kind: "correction_approved";
3685
3687
  evidence: {
3686
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3687
- label: string;
3688
3688
  id: string;
3689
+ label: string;
3690
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3689
3691
  capture: "at_action" | "historical_lookup" | "fixture";
3690
3692
  locator?: string | undefined;
3691
3693
  }[];
3692
3694
  correctionId: string;
3693
3695
  approvedBy: {
3694
- kind: "agent" | "human";
3695
- label: string;
3696
3696
  id: string;
3697
+ label: string;
3698
+ kind: "agent" | "human";
3697
3699
  };
3698
3700
  note?: string | undefined;
3699
3701
  }, {
3700
3702
  kind: "correction_approved";
3701
3703
  correctionId: string;
3702
3704
  approvedBy: {
3703
- kind: "agent" | "human";
3704
- label: string;
3705
3705
  id: string;
3706
+ label: string;
3707
+ kind: "agent" | "human";
3706
3708
  };
3707
3709
  note?: string | undefined;
3708
3710
  evidence?: {
3709
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3710
- label: string;
3711
3711
  id: string;
3712
+ label: string;
3713
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3712
3714
  capture: "at_action" | "historical_lookup" | "fixture";
3713
3715
  locator?: string | undefined;
3714
3716
  }[] | undefined;
@@ -3724,24 +3726,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3724
3726
  locator: z.ZodOptional<z.ZodString>;
3725
3727
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3726
3728
  }, "strict", z.ZodTypeAny, {
3727
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3728
- label: string;
3729
3729
  id: string;
3730
+ label: string;
3731
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3731
3733
  locator?: string | undefined;
3732
3734
  }, {
3733
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3734
- label: string;
3735
3735
  id: string;
3736
+ label: string;
3737
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3736
3738
  capture: "at_action" | "historical_lookup" | "fixture";
3737
3739
  locator?: string | undefined;
3738
3740
  }>, "many">>;
3739
3741
  }, "strict", z.ZodTypeAny, {
3740
3742
  kind: "decision_superseded";
3741
3743
  evidence: {
3742
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3743
- label: string;
3744
3744
  id: string;
3745
+ label: string;
3746
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3747
  capture: "at_action" | "historical_lookup" | "fixture";
3746
3748
  locator?: string | undefined;
3747
3749
  }[];
@@ -3754,9 +3756,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3754
3756
  correctionId: string;
3755
3757
  replacementDecisionId: string;
3756
3758
  evidence?: {
3757
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3758
- label: string;
3759
3759
  id: string;
3760
+ label: string;
3761
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3760
3762
  capture: "at_action" | "historical_lookup" | "fixture";
3761
3763
  locator?: string | undefined;
3762
3764
  }[] | undefined;
@@ -3772,15 +3774,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3772
3774
  locator: z.ZodOptional<z.ZodString>;
3773
3775
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3774
3776
  }, "strict", z.ZodTypeAny, {
3775
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3776
- label: string;
3777
3777
  id: string;
3778
+ label: string;
3779
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3778
3780
  capture: "at_action" | "historical_lookup" | "fixture";
3779
3781
  locator?: string | undefined;
3780
3782
  }, {
3781
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3782
- label: string;
3783
3783
  id: string;
3784
+ label: string;
3785
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3784
3786
  capture: "at_action" | "historical_lookup" | "fixture";
3785
3787
  locator?: string | undefined;
3786
3788
  }>, "many">>;
@@ -3793,9 +3795,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3793
3795
  agentId: string;
3794
3796
  sessionId: string;
3795
3797
  evidence: {
3796
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3797
- label: string;
3798
3798
  id: string;
3799
+ label: string;
3800
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3799
3801
  capture: "at_action" | "historical_lookup" | "fixture";
3800
3802
  locator?: string | undefined;
3801
3803
  }[];
@@ -3811,9 +3813,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3811
3813
  recallReceiptId: string;
3812
3814
  capturedAtAction: boolean;
3813
3815
  evidence?: {
3814
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3815
- label: string;
3816
3816
  id: string;
3817
+ label: string;
3818
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3819
  capture: "at_action" | "historical_lookup" | "fixture";
3818
3820
  locator?: string | undefined;
3819
3821
  }[] | undefined;
@@ -3829,15 +3831,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3829
3831
  locator: z.ZodOptional<z.ZodString>;
3830
3832
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3831
3833
  }, "strict", z.ZodTypeAny, {
3832
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3833
- label: string;
3834
3834
  id: string;
3835
+ label: string;
3836
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3835
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3836
3838
  locator?: string | undefined;
3837
3839
  }, {
3838
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3839
- label: string;
3840
3840
  id: string;
3841
+ label: string;
3842
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3843
  capture: "at_action" | "historical_lookup" | "fixture";
3842
3844
  locator?: string | undefined;
3843
3845
  }>, "many">>;
@@ -3849,9 +3851,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3849
3851
  agentId: string;
3850
3852
  sessionId: string;
3851
3853
  evidence: {
3852
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3853
- label: string;
3854
3854
  id: string;
3855
+ label: string;
3856
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3855
3857
  capture: "at_action" | "historical_lookup" | "fixture";
3856
3858
  locator?: string | undefined;
3857
3859
  }[];
@@ -3868,9 +3870,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3868
3870
  recallReceiptId: string;
3869
3871
  staleDecisionAbsent: boolean;
3870
3872
  evidence?: {
3871
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3872
- label: string;
3873
3873
  id: string;
3874
+ label: string;
3875
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3874
3876
  capture: "at_action" | "historical_lookup" | "fixture";
3875
3877
  locator?: string | undefined;
3876
3878
  }[] | undefined;
@@ -3885,37 +3887,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3885
3887
  locator: z.ZodOptional<z.ZodString>;
3886
3888
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3887
3889
  }, "strict", z.ZodTypeAny, {
3888
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3889
- label: string;
3890
3890
  id: string;
3891
+ label: string;
3892
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3892
3894
  locator?: string | undefined;
3893
3895
  }, {
3894
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3895
- label: string;
3896
3896
  id: string;
3897
+ label: string;
3898
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3900
  locator?: string | undefined;
3899
3901
  }>, "many">>;
3900
3902
  }, "strict", z.ZodTypeAny, {
3901
- kind: "mission_completed";
3902
3903
  summary: string;
3904
+ kind: "mission_completed";
3903
3905
  outcome: "failed" | "recovered" | "inconclusive";
3904
3906
  evidence: {
3905
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3906
- label: string;
3907
3907
  id: string;
3908
+ label: string;
3909
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3908
3910
  capture: "at_action" | "historical_lookup" | "fixture";
3909
3911
  locator?: string | undefined;
3910
3912
  }[];
3911
3913
  }, {
3912
- kind: "mission_completed";
3913
3914
  summary: string;
3915
+ kind: "mission_completed";
3914
3916
  outcome: "failed" | "recovered" | "inconclusive";
3915
3917
  evidence?: {
3916
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3917
- label: string;
3918
3918
  id: string;
3919
+ label: string;
3920
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3919
3921
  capture: "at_action" | "historical_lookup" | "fixture";
3920
3922
  locator?: string | undefined;
3921
3923
  }[] | undefined;
@@ -3923,38 +3925,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3923
3925
  kind: "mission_started";
3924
3926
  title: string;
3925
3927
  evidence: {
3926
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3927
- label: string;
3928
3928
  id: string;
3929
+ label: string;
3930
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3929
3931
  capture: "at_action" | "historical_lookup" | "fixture";
3930
3932
  locator?: string | undefined;
3931
3933
  }[];
3932
3934
  objective: string;
3933
3935
  runMode: "replay" | "fixture" | "live";
3934
3936
  } | {
3935
- kind: "agent_status";
3936
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3937
3937
  label: string;
3938
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3939
+ kind: "agent_status";
3938
3940
  role: string;
3939
3941
  agentId: string;
3940
3942
  sessionId: string;
3941
3943
  evidence: {
3942
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3943
- label: string;
3944
3944
  id: string;
3945
+ label: string;
3946
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3947
  capture: "at_action" | "historical_lookup" | "fixture";
3946
3948
  locator?: string | undefined;
3947
3949
  }[];
3948
3950
  detail?: string | undefined;
3949
3951
  } | {
3950
- kind: "agent_output";
3951
3952
  summary: string;
3953
+ kind: "agent_output";
3952
3954
  agentId: string;
3953
3955
  sessionId: string;
3954
3956
  evidence: {
3955
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3956
- label: string;
3957
3957
  id: string;
3958
+ label: string;
3959
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3958
3960
  capture: "at_action" | "historical_lookup" | "fixture";
3959
3961
  locator?: string | undefined;
3960
3962
  }[];
@@ -3965,9 +3967,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3965
3967
  statement: string;
3966
3968
  sessionId: string;
3967
3969
  evidence: {
3968
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3969
- label: string;
3970
3970
  id: string;
3971
+ label: string;
3972
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3971
3973
  capture: "at_action" | "historical_lookup" | "fixture";
3972
3974
  locator?: string | undefined;
3973
3975
  }[];
@@ -3975,12 +3977,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3975
3977
  decisionId: string;
3976
3978
  confidence?: number | undefined;
3977
3979
  } | {
3978
- kind: "conflict_detected";
3979
3980
  summary: string;
3981
+ kind: "conflict_detected";
3980
3982
  evidence: {
3981
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3982
- label: string;
3983
3983
  id: string;
3984
+ label: string;
3985
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3984
3986
  capture: "at_action" | "historical_lookup" | "fixture";
3985
3987
  locator?: string | undefined;
3986
3988
  }[];
@@ -3988,14 +3990,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3988
3990
  decisionIds: string[];
3989
3991
  agentIds: string[];
3990
3992
  } | {
3991
- kind: "test_result";
3992
3993
  summary: string;
3993
3994
  status: "error" | "failed" | "passed";
3995
+ kind: "test_result";
3994
3996
  command: string;
3995
3997
  evidence: {
3996
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3997
- label: string;
3998
3998
  id: string;
3999
+ label: string;
4000
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3999
4001
  capture: "at_action" | "historical_lookup" | "fixture";
4000
4002
  locator?: string | undefined;
4001
4003
  }[];
@@ -4008,9 +4010,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4008
4010
  rationale: string;
4009
4011
  statement: string;
4010
4012
  evidence: {
4011
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4012
- label: string;
4013
4013
  id: string;
4014
+ label: string;
4015
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4014
4016
  capture: "at_action" | "historical_lookup" | "fixture";
4015
4017
  locator?: string | undefined;
4016
4018
  }[];
@@ -4022,25 +4024,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4022
4024
  } | {
4023
4025
  kind: "correction_approved";
4024
4026
  evidence: {
4025
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4026
- label: string;
4027
4027
  id: string;
4028
+ label: string;
4029
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4030
  capture: "at_action" | "historical_lookup" | "fixture";
4029
4031
  locator?: string | undefined;
4030
4032
  }[];
4031
4033
  correctionId: string;
4032
4034
  approvedBy: {
4033
- kind: "agent" | "human";
4034
- label: string;
4035
4035
  id: string;
4036
+ label: string;
4037
+ kind: "agent" | "human";
4036
4038
  };
4037
4039
  note?: string | undefined;
4038
4040
  } | {
4039
4041
  kind: "decision_superseded";
4040
4042
  evidence: {
4041
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4042
- label: string;
4043
4043
  id: string;
4044
+ label: string;
4045
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4044
4046
  capture: "at_action" | "historical_lookup" | "fixture";
4045
4047
  locator?: string | undefined;
4046
4048
  }[];
@@ -4053,9 +4055,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4053
4055
  agentId: string;
4054
4056
  sessionId: string;
4055
4057
  evidence: {
4056
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4057
- label: string;
4058
4058
  id: string;
4059
+ label: string;
4060
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4059
4061
  capture: "at_action" | "historical_lookup" | "fixture";
4060
4062
  locator?: string | undefined;
4061
4063
  }[];
@@ -4067,9 +4069,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4067
4069
  agentId: string;
4068
4070
  sessionId: string;
4069
4071
  evidence: {
4070
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4071
- label: string;
4072
4072
  id: string;
4073
+ label: string;
4074
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4073
4075
  capture: "at_action" | "historical_lookup" | "fixture";
4074
4076
  locator?: string | undefined;
4075
4077
  }[];
@@ -4078,13 +4080,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4078
4080
  recallReceiptId: string;
4079
4081
  staleDecisionAbsent: boolean;
4080
4082
  } | {
4081
- kind: "mission_completed";
4082
4083
  summary: string;
4084
+ kind: "mission_completed";
4083
4085
  outcome: "failed" | "recovered" | "inconclusive";
4084
4086
  evidence: {
4085
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4086
- label: string;
4087
4087
  id: string;
4088
+ label: string;
4089
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4090
  capture: "at_action" | "historical_lookup" | "fixture";
4089
4091
  locator?: string | undefined;
4090
4092
  }[];
@@ -4094,37 +4096,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4094
4096
  objective: string;
4095
4097
  runMode: "replay" | "fixture" | "live";
4096
4098
  evidence?: {
4097
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4098
- label: string;
4099
4099
  id: string;
4100
+ label: string;
4101
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4100
4102
  capture: "at_action" | "historical_lookup" | "fixture";
4101
4103
  locator?: string | undefined;
4102
4104
  }[] | undefined;
4103
4105
  } | {
4104
- kind: "agent_status";
4105
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4106
4106
  label: string;
4107
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4108
+ kind: "agent_status";
4107
4109
  role: string;
4108
4110
  agentId: string;
4109
4111
  sessionId: string;
4110
4112
  detail?: string | undefined;
4111
4113
  evidence?: {
4112
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4113
- label: string;
4114
4114
  id: string;
4115
+ label: string;
4116
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4115
4117
  capture: "at_action" | "historical_lookup" | "fixture";
4116
4118
  locator?: string | undefined;
4117
4119
  }[] | undefined;
4118
4120
  } | {
4119
- kind: "agent_output";
4120
4121
  summary: string;
4122
+ kind: "agent_output";
4121
4123
  agentId: string;
4122
4124
  sessionId: string;
4123
4125
  outputId: string;
4124
4126
  evidence?: {
4125
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4126
- label: string;
4127
4127
  id: string;
4128
+ label: string;
4129
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4128
4130
  capture: "at_action" | "historical_lookup" | "fixture";
4129
4131
  locator?: string | undefined;
4130
4132
  }[] | undefined;
@@ -4137,37 +4139,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4137
4139
  decisionId: string;
4138
4140
  confidence?: number | undefined;
4139
4141
  evidence?: {
4140
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4141
- label: string;
4142
4142
  id: string;
4143
+ label: string;
4144
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4143
4145
  capture: "at_action" | "historical_lookup" | "fixture";
4144
4146
  locator?: string | undefined;
4145
4147
  }[] | undefined;
4146
4148
  } | {
4147
- kind: "conflict_detected";
4148
4149
  summary: string;
4150
+ kind: "conflict_detected";
4149
4151
  conflictId: string;
4150
4152
  decisionIds: string[];
4151
4153
  agentIds: string[];
4152
4154
  evidence?: {
4153
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4154
- label: string;
4155
4155
  id: string;
4156
+ label: string;
4157
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4157
4159
  locator?: string | undefined;
4158
4160
  }[] | undefined;
4159
4161
  } | {
4160
- kind: "test_result";
4161
4162
  summary: string;
4162
4163
  status: "error" | "failed" | "passed";
4164
+ kind: "test_result";
4163
4165
  command: string;
4164
4166
  decisionId: string;
4165
4167
  testId: string;
4166
4168
  durationMs?: number | undefined;
4167
4169
  evidence?: {
4168
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4169
- label: string;
4170
4170
  id: string;
4171
+ label: string;
4172
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4171
4173
  capture: "at_action" | "historical_lookup" | "fixture";
4172
4174
  locator?: string | undefined;
4173
4175
  }[] | undefined;
@@ -4182,9 +4184,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4182
4184
  supersedesDecisionIds: string[];
4183
4185
  proposedBy: string;
4184
4186
  evidence?: {
4185
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4186
- label: string;
4187
4187
  id: string;
4188
+ label: string;
4189
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4190
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4191
  locator?: string | undefined;
4190
4192
  }[] | undefined;
@@ -4192,15 +4194,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4192
4194
  kind: "correction_approved";
4193
4195
  correctionId: string;
4194
4196
  approvedBy: {
4195
- kind: "agent" | "human";
4196
- label: string;
4197
4197
  id: string;
4198
+ label: string;
4199
+ kind: "agent" | "human";
4198
4200
  };
4199
4201
  note?: string | undefined;
4200
4202
  evidence?: {
4201
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4202
- label: string;
4203
4203
  id: string;
4204
+ label: string;
4205
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4204
4206
  capture: "at_action" | "historical_lookup" | "fixture";
4205
4207
  locator?: string | undefined;
4206
4208
  }[] | undefined;
@@ -4210,9 +4212,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4210
4212
  correctionId: string;
4211
4213
  replacementDecisionId: string;
4212
4214
  evidence?: {
4213
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4214
- label: string;
4215
4215
  id: string;
4216
+ label: string;
4217
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4216
4218
  capture: "at_action" | "historical_lookup" | "fixture";
4217
4219
  locator?: string | undefined;
4218
4220
  }[] | undefined;
@@ -4225,9 +4227,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4225
4227
  recallReceiptId: string;
4226
4228
  capturedAtAction: boolean;
4227
4229
  evidence?: {
4228
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4229
- label: string;
4230
4230
  id: string;
4231
+ label: string;
4232
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4231
4233
  capture: "at_action" | "historical_lookup" | "fixture";
4232
4234
  locator?: string | undefined;
4233
4235
  }[] | undefined;
@@ -4240,63 +4242,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4240
4242
  recallReceiptId: string;
4241
4243
  staleDecisionAbsent: boolean;
4242
4244
  evidence?: {
4243
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4244
- label: string;
4245
4245
  id: string;
4246
+ label: string;
4247
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4246
4248
  capture: "at_action" | "historical_lookup" | "fixture";
4247
4249
  locator?: string | undefined;
4248
4250
  }[] | undefined;
4249
4251
  } | {
4250
- kind: "mission_completed";
4251
4252
  summary: string;
4253
+ kind: "mission_completed";
4252
4254
  outcome: "failed" | "recovered" | "inconclusive";
4253
4255
  evidence?: {
4254
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4255
- label: string;
4256
4256
  id: string;
4257
+ label: string;
4258
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4257
4259
  capture: "at_action" | "historical_lookup" | "fixture";
4258
4260
  locator?: string | undefined;
4259
4261
  }[] | undefined;
4260
4262
  }>;
4261
4263
  }, "strict", z.ZodTypeAny, {
4264
+ namespace: string;
4262
4265
  recordedAt: string;
4263
4266
  schemaVersion: "1";
4264
4267
  payload: {
4265
4268
  kind: "mission_started";
4266
4269
  title: string;
4267
4270
  evidence: {
4268
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4269
- label: string;
4270
4271
  id: string;
4272
+ label: string;
4273
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4271
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4272
4275
  locator?: string | undefined;
4273
4276
  }[];
4274
4277
  objective: string;
4275
4278
  runMode: "replay" | "fixture" | "live";
4276
4279
  } | {
4277
- kind: "agent_status";
4278
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4279
4280
  label: string;
4281
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4282
+ kind: "agent_status";
4280
4283
  role: string;
4281
4284
  agentId: string;
4282
4285
  sessionId: string;
4283
4286
  evidence: {
4284
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4285
- label: string;
4286
4287
  id: string;
4288
+ label: string;
4289
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4287
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4288
4291
  locator?: string | undefined;
4289
4292
  }[];
4290
4293
  detail?: string | undefined;
4291
4294
  } | {
4292
- kind: "agent_output";
4293
4295
  summary: string;
4296
+ kind: "agent_output";
4294
4297
  agentId: string;
4295
4298
  sessionId: string;
4296
4299
  evidence: {
4297
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4298
- label: string;
4299
4300
  id: string;
4301
+ label: string;
4302
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4300
4303
  capture: "at_action" | "historical_lookup" | "fixture";
4301
4304
  locator?: string | undefined;
4302
4305
  }[];
@@ -4307,9 +4310,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4307
4310
  statement: string;
4308
4311
  sessionId: string;
4309
4312
  evidence: {
4310
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4311
- label: string;
4312
4313
  id: string;
4314
+ label: string;
4315
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4313
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4314
4317
  locator?: string | undefined;
4315
4318
  }[];
@@ -4317,12 +4320,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4317
4320
  decisionId: string;
4318
4321
  confidence?: number | undefined;
4319
4322
  } | {
4320
- kind: "conflict_detected";
4321
4323
  summary: string;
4324
+ kind: "conflict_detected";
4322
4325
  evidence: {
4323
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4324
- label: string;
4325
4326
  id: string;
4327
+ label: string;
4328
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4326
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4327
4330
  locator?: string | undefined;
4328
4331
  }[];
@@ -4330,14 +4333,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4330
4333
  decisionIds: string[];
4331
4334
  agentIds: string[];
4332
4335
  } | {
4333
- kind: "test_result";
4334
4336
  summary: string;
4335
4337
  status: "error" | "failed" | "passed";
4338
+ kind: "test_result";
4336
4339
  command: string;
4337
4340
  evidence: {
4338
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4339
- label: string;
4340
4341
  id: string;
4342
+ label: string;
4343
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4341
4344
  capture: "at_action" | "historical_lookup" | "fixture";
4342
4345
  locator?: string | undefined;
4343
4346
  }[];
@@ -4350,9 +4353,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4350
4353
  rationale: string;
4351
4354
  statement: string;
4352
4355
  evidence: {
4353
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4354
- label: string;
4355
4356
  id: string;
4357
+ label: string;
4358
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4356
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4357
4360
  locator?: string | undefined;
4358
4361
  }[];
@@ -4364,25 +4367,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4364
4367
  } | {
4365
4368
  kind: "correction_approved";
4366
4369
  evidence: {
4367
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4368
- label: string;
4369
4370
  id: string;
4371
+ label: string;
4372
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4370
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4371
4374
  locator?: string | undefined;
4372
4375
  }[];
4373
4376
  correctionId: string;
4374
4377
  approvedBy: {
4375
- kind: "agent" | "human";
4376
- label: string;
4377
4378
  id: string;
4379
+ label: string;
4380
+ kind: "agent" | "human";
4378
4381
  };
4379
4382
  note?: string | undefined;
4380
4383
  } | {
4381
4384
  kind: "decision_superseded";
4382
4385
  evidence: {
4383
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4384
- label: string;
4385
4386
  id: string;
4387
+ label: string;
4388
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4386
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4387
4390
  locator?: string | undefined;
4388
4391
  }[];
@@ -4395,9 +4398,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4395
4398
  agentId: string;
4396
4399
  sessionId: string;
4397
4400
  evidence: {
4398
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4399
- label: string;
4400
4401
  id: string;
4402
+ label: string;
4403
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4401
4404
  capture: "at_action" | "historical_lookup" | "fixture";
4402
4405
  locator?: string | undefined;
4403
4406
  }[];
@@ -4409,9 +4412,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4409
4412
  agentId: string;
4410
4413
  sessionId: string;
4411
4414
  evidence: {
4412
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4413
- label: string;
4414
4415
  id: string;
4416
+ label: string;
4417
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4415
4418
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4419
  locator?: string | undefined;
4417
4420
  }[];
@@ -4420,24 +4423,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4420
4423
  recallReceiptId: string;
4421
4424
  staleDecisionAbsent: boolean;
4422
4425
  } | {
4423
- kind: "mission_completed";
4424
4426
  summary: string;
4427
+ kind: "mission_completed";
4425
4428
  outcome: "failed" | "recovered" | "inconclusive";
4426
4429
  evidence: {
4427
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4428
- label: string;
4429
4430
  id: string;
4431
+ label: string;
4432
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4430
4433
  capture: "at_action" | "historical_lookup" | "fixture";
4431
4434
  locator?: string | undefined;
4432
4435
  }[];
4433
4436
  };
4434
- namespace: string;
4435
4437
  eventId: string;
4436
4438
  occurredAt: string;
4437
4439
  missionId: string;
4438
4440
  authenticatedPrincipal?: string | undefined;
4439
4441
  idempotencyKey?: string | undefined;
4440
4442
  }, {
4443
+ namespace: string;
4441
4444
  recordedAt: string;
4442
4445
  schemaVersion: "1";
4443
4446
  payload: {
@@ -4446,37 +4449,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4446
4449
  objective: string;
4447
4450
  runMode: "replay" | "fixture" | "live";
4448
4451
  evidence?: {
4449
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4450
- label: string;
4451
4452
  id: string;
4453
+ label: string;
4454
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4452
4455
  capture: "at_action" | "historical_lookup" | "fixture";
4453
4456
  locator?: string | undefined;
4454
4457
  }[] | undefined;
4455
4458
  } | {
4456
- kind: "agent_status";
4457
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4458
4459
  label: string;
4460
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4461
+ kind: "agent_status";
4459
4462
  role: string;
4460
4463
  agentId: string;
4461
4464
  sessionId: string;
4462
4465
  detail?: string | undefined;
4463
4466
  evidence?: {
4464
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4465
- label: string;
4466
4467
  id: string;
4468
+ label: string;
4469
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4467
4470
  capture: "at_action" | "historical_lookup" | "fixture";
4468
4471
  locator?: string | undefined;
4469
4472
  }[] | undefined;
4470
4473
  } | {
4471
- kind: "agent_output";
4472
4474
  summary: string;
4475
+ kind: "agent_output";
4473
4476
  agentId: string;
4474
4477
  sessionId: string;
4475
4478
  outputId: string;
4476
4479
  evidence?: {
4477
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4478
- label: string;
4479
4480
  id: string;
4481
+ label: string;
4482
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4480
4483
  capture: "at_action" | "historical_lookup" | "fixture";
4481
4484
  locator?: string | undefined;
4482
4485
  }[] | undefined;
@@ -4489,37 +4492,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4489
4492
  decisionId: string;
4490
4493
  confidence?: number | undefined;
4491
4494
  evidence?: {
4492
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4493
- label: string;
4494
4495
  id: string;
4496
+ label: string;
4497
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4495
4498
  capture: "at_action" | "historical_lookup" | "fixture";
4496
4499
  locator?: string | undefined;
4497
4500
  }[] | undefined;
4498
4501
  } | {
4499
- kind: "conflict_detected";
4500
4502
  summary: string;
4503
+ kind: "conflict_detected";
4501
4504
  conflictId: string;
4502
4505
  decisionIds: string[];
4503
4506
  agentIds: string[];
4504
4507
  evidence?: {
4505
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4506
- label: string;
4507
4508
  id: string;
4509
+ label: string;
4510
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4508
4511
  capture: "at_action" | "historical_lookup" | "fixture";
4509
4512
  locator?: string | undefined;
4510
4513
  }[] | undefined;
4511
4514
  } | {
4512
- kind: "test_result";
4513
4515
  summary: string;
4514
4516
  status: "error" | "failed" | "passed";
4517
+ kind: "test_result";
4515
4518
  command: string;
4516
4519
  decisionId: string;
4517
4520
  testId: string;
4518
4521
  durationMs?: number | undefined;
4519
4522
  evidence?: {
4520
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4521
- label: string;
4522
4523
  id: string;
4524
+ label: string;
4525
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4523
4526
  capture: "at_action" | "historical_lookup" | "fixture";
4524
4527
  locator?: string | undefined;
4525
4528
  }[] | undefined;
@@ -4534,9 +4537,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4534
4537
  supersedesDecisionIds: string[];
4535
4538
  proposedBy: string;
4536
4539
  evidence?: {
4537
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4538
- label: string;
4539
4540
  id: string;
4541
+ label: string;
4542
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4540
4543
  capture: "at_action" | "historical_lookup" | "fixture";
4541
4544
  locator?: string | undefined;
4542
4545
  }[] | undefined;
@@ -4544,15 +4547,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4544
4547
  kind: "correction_approved";
4545
4548
  correctionId: string;
4546
4549
  approvedBy: {
4547
- kind: "agent" | "human";
4548
- label: string;
4549
4550
  id: string;
4551
+ label: string;
4552
+ kind: "agent" | "human";
4550
4553
  };
4551
4554
  note?: string | undefined;
4552
4555
  evidence?: {
4553
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4554
- label: string;
4555
4556
  id: string;
4557
+ label: string;
4558
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4556
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4557
4560
  locator?: string | undefined;
4558
4561
  }[] | undefined;
@@ -4562,9 +4565,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4562
4565
  correctionId: string;
4563
4566
  replacementDecisionId: string;
4564
4567
  evidence?: {
4565
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4566
- label: string;
4567
4568
  id: string;
4569
+ label: string;
4570
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4568
4571
  capture: "at_action" | "historical_lookup" | "fixture";
4569
4572
  locator?: string | undefined;
4570
4573
  }[] | undefined;
@@ -4577,9 +4580,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4577
4580
  recallReceiptId: string;
4578
4581
  capturedAtAction: boolean;
4579
4582
  evidence?: {
4580
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4581
- label: string;
4582
4583
  id: string;
4584
+ label: string;
4585
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4583
4586
  capture: "at_action" | "historical_lookup" | "fixture";
4584
4587
  locator?: string | undefined;
4585
4588
  }[] | undefined;
@@ -4592,25 +4595,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4592
4595
  recallReceiptId: string;
4593
4596
  staleDecisionAbsent: boolean;
4594
4597
  evidence?: {
4595
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4596
- label: string;
4597
4598
  id: string;
4599
+ label: string;
4600
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4598
4601
  capture: "at_action" | "historical_lookup" | "fixture";
4599
4602
  locator?: string | undefined;
4600
4603
  }[] | undefined;
4601
4604
  } | {
4602
- kind: "mission_completed";
4603
4605
  summary: string;
4606
+ kind: "mission_completed";
4604
4607
  outcome: "failed" | "recovered" | "inconclusive";
4605
4608
  evidence?: {
4606
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4607
- label: string;
4608
4609
  id: string;
4610
+ label: string;
4611
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4609
4612
  capture: "at_action" | "historical_lookup" | "fixture";
4610
4613
  locator?: string | undefined;
4611
4614
  }[] | undefined;
4612
4615
  };
4613
- namespace: string;
4614
4616
  eventId: string;
4615
4617
  occurredAt: string;
4616
4618
  missionId: string;