@remnic/core 9.65.7 → 9.65.8

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 (512) hide show
  1. package/dist/access-admin-ops-surface.d.ts +15 -13
  2. package/dist/access-admin-ops-surface.js +42 -42
  3. package/dist/access-authorization-probe.d.ts +15 -13
  4. package/dist/access-authorization-probe.js +43 -43
  5. package/dist/access-boundary.d.ts +15 -13
  6. package/dist/access-boundary.js +42 -42
  7. package/dist/access-cli.js +143 -140
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +2 -1
  10. package/dist/access-extraction-force-flush.d.ts +15 -13
  11. package/dist/access-extraction-force-flush.js +42 -42
  12. package/dist/access-health-types.d.ts +2 -1
  13. package/dist/access-http-lcm-compaction.d.ts +15 -13
  14. package/dist/access-http-lifecycle-flush.d.ts +15 -13
  15. package/dist/access-http-offline-stream.d.ts +15 -13
  16. package/dist/access-http-query.d.ts +3 -2
  17. package/dist/access-http-query.js +44 -44
  18. package/dist/access-http.d.ts +16 -14
  19. package/dist/access-http.js +59 -59
  20. package/dist/access-identity-continuity-surface.d.ts +13 -11
  21. package/dist/access-identity-continuity-surface.js +42 -42
  22. package/dist/access-lcm-surface.d.ts +15 -13
  23. package/dist/access-lcm-surface.js +42 -42
  24. package/dist/access-mcp.d.ts +15 -13
  25. package/dist/access-mcp.js +49 -49
  26. package/dist/access-memory-search-fanout.d.ts +3 -2
  27. package/dist/{access-namespace-preflight-8VYKmRX0.d.ts → access-namespace-preflight-CpAOrS-9.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +4 -3
  29. package/dist/access-namespace-preflight.js +42 -42
  30. package/dist/access-observe-write-surface.d.ts +15 -13
  31. package/dist/access-observe-write-surface.js +42 -42
  32. package/dist/access-offline-manifest.d.ts +13 -11
  33. package/dist/access-offline-manifest.js +6 -6
  34. package/dist/access-operations-batch.js +45 -45
  35. package/dist/access-operations.d.ts +20 -18
  36. package/dist/access-operations.js +48 -48
  37. package/dist/access-recall-concurrency.d.ts +15 -13
  38. package/dist/access-recall-concurrency.js +42 -42
  39. package/dist/access-recall-response.d.ts +15 -13
  40. package/dist/access-recall-response.js +42 -42
  41. package/dist/access-recall-surface.d.ts +15 -13
  42. package/dist/access-recall-surface.js +42 -42
  43. package/dist/access-schema.d.ts +83 -83
  44. package/dist/{access-service-Crk__Git.d.ts → access-service-Diu61Cfv.d.ts} +71 -71
  45. package/dist/access-service-helpers.d.ts +15 -13
  46. package/dist/access-service.d.ts +15 -13
  47. package/dist/access-service.js +42 -42
  48. package/dist/access-surface-catalog.d.ts +15 -13
  49. package/dist/access-surface-catalog.js +44 -44
  50. package/dist/access-wearables-meetings-surface.d.ts +6 -3
  51. package/dist/action-confidence.d.ts +2 -1
  52. package/dist/active-context-config.d.ts +27 -0
  53. package/dist/active-context-config.js +14 -0
  54. package/dist/active-context-transform.d.ts +267 -0
  55. package/dist/active-context-transform.js +31 -0
  56. package/dist/active-context-transform.js.map +1 -0
  57. package/dist/active-memory-bridge.d.ts +2 -1
  58. package/dist/active-recall.d.ts +2 -1
  59. package/dist/active-recall.js +10 -9
  60. package/dist/active-recall.js.map +1 -1
  61. package/dist/adapters/index.js +7 -7
  62. package/dist/adapters/registry.js +3 -3
  63. package/dist/ambient-provenance.d.ts +2 -1
  64. package/dist/artifact-search.d.ts +2 -1
  65. package/dist/{auto-sync-XVMLL2RH.js → auto-sync-2YPITIWN.js} +6 -6
  66. package/dist/behavior-learner.d.ts +2 -1
  67. package/dist/behavior-signals.d.ts +2 -1
  68. package/dist/bootstrap.d.ts +13 -11
  69. package/dist/briefing-window.d.ts +5 -2
  70. package/dist/briefing.d.ts +5 -2
  71. package/dist/briefing.js +23 -23
  72. package/dist/buffer-surprise-report.d.ts +2 -1
  73. package/dist/buffer-turn-helpers.d.ts +2 -1
  74. package/dist/buffer.d.ts +5 -2
  75. package/dist/buffer.js +6 -6
  76. package/dist/bulk-import/index.d.ts +4 -3
  77. package/dist/calibration.d.ts +2 -1
  78. package/dist/capabilities.d.ts +2 -1
  79. package/dist/{catalog-DybwVNW3.d.ts → catalog-9f-vEQLS.d.ts} +1 -1
  80. package/dist/causal-behavior.d.ts +4 -3
  81. package/dist/causal-consolidation.d.ts +2 -1
  82. package/dist/causal-consolidation.js +24 -24
  83. package/dist/causal-trajectory-graph.d.ts +2 -1
  84. package/dist/{chunk-JBPKEARU.js → chunk-2QSZNTDO.js} +7 -7
  85. package/dist/{chunk-S3K2CIK5.js → chunk-3A2NJP2U.js} +2 -2
  86. package/dist/{chunk-OPGL46PX.js → chunk-3PKAS6VL.js} +2 -2
  87. package/dist/{chunk-GTSVEEP3.js → chunk-3SZD4CYO.js} +3 -3
  88. package/dist/chunk-43HUVDTD.js +114 -0
  89. package/dist/chunk-43HUVDTD.js.map +1 -0
  90. package/dist/{chunk-YKWFK7XA.js → chunk-4F4AQFWL.js} +7 -7
  91. package/dist/{chunk-RGCF4XNH.js → chunk-4QEYREAV.js} +9 -9
  92. package/dist/{chunk-46WM6JX2.js → chunk-4ZWCQJNM.js} +5 -5
  93. package/dist/{chunk-DVYRD4HY.js → chunk-5ACCD4L7.js} +30 -1
  94. package/dist/chunk-5ACCD4L7.js.map +1 -0
  95. package/dist/{chunk-3RI5Y7KU.js → chunk-5DHKCO52.js} +2 -2
  96. package/dist/{chunk-VKCAHCBI.js → chunk-5RWZH6PH.js} +2 -2
  97. package/dist/{chunk-52II7PB6.js → chunk-645WOU5I.js} +4 -4
  98. package/dist/{chunk-A32YEQAM.js → chunk-76DIF5KT.js} +2 -2
  99. package/dist/{chunk-OPPBTPUU.js → chunk-7KQB4EBS.js} +4 -4
  100. package/dist/{chunk-I2HTKOOP.js → chunk-7VZFRUQU.js} +3 -3
  101. package/dist/{chunk-D4QVPP3G.js → chunk-7WOWGRAU.js} +10 -6
  102. package/dist/chunk-7WOWGRAU.js.map +1 -0
  103. package/dist/{chunk-JCWY73FK.js → chunk-AHPIFKNG.js} +2 -2
  104. package/dist/{chunk-IP4ZNT4U.js → chunk-AZMLH5UT.js} +2 -2
  105. package/dist/chunk-B32WYRXX.js +77 -0
  106. package/dist/chunk-B32WYRXX.js.map +1 -0
  107. package/dist/{chunk-JOEJG4SD.js → chunk-BEC4YBNA.js} +4 -4
  108. package/dist/{chunk-VXVZ2GM3.js → chunk-CAMNRAJF.js} +2 -2
  109. package/dist/{chunk-C24UZSFW.js → chunk-CEH2AFXG.js} +6 -6
  110. package/dist/{chunk-YOXVZJFM.js → chunk-CFVTRUR3.js} +2 -2
  111. package/dist/{chunk-SVSRPG6M.js → chunk-CPA5NBHN.js} +2 -2
  112. package/dist/{chunk-7BEPVIH3.js → chunk-CRML27CO.js} +3 -3
  113. package/dist/{chunk-IY7UXD3J.js → chunk-DA7ITC5Z.js} +2 -2
  114. package/dist/{chunk-AFR6AIM4.js → chunk-DEACDKE3.js} +3 -3
  115. package/dist/{chunk-NG3MBQV4.js → chunk-DPCXDG7G.js} +2 -2
  116. package/dist/{chunk-HZNYJN77.js → chunk-F3NVYTTA.js} +2 -2
  117. package/dist/{chunk-PDDSFELN.js → chunk-F7XUD3PL.js} +2 -2
  118. package/dist/{chunk-YWSQD2IB.js → chunk-GTO56JY5.js} +2 -2
  119. package/dist/{chunk-RAIUTAZZ.js → chunk-H2YSH3DG.js} +2 -2
  120. package/dist/{chunk-F6QHHRWP.js → chunk-HMZKGHMD.js} +2 -2
  121. package/dist/{chunk-ZIJDI4CP.js → chunk-HRHO3ZNG.js} +2 -2
  122. package/dist/{chunk-SDEPLF7V.js → chunk-IBJ6U753.js} +2 -2
  123. package/dist/{chunk-T3JQTCCO.js → chunk-JI7U6AS3.js} +4 -4
  124. package/dist/{chunk-TR7DGXGI.js → chunk-JOZUBF4A.js} +5 -5
  125. package/dist/{chunk-I7EX6KSH.js → chunk-JYSN42VN.js} +55 -55
  126. package/dist/{chunk-ZPUIRTIZ.js → chunk-KOLJJN5G.js} +12 -75
  127. package/dist/chunk-KOLJJN5G.js.map +1 -0
  128. package/dist/{chunk-FMQ4MOQO.js → chunk-KZIF6XHX.js} +14 -14
  129. package/dist/chunk-LB7WCZHY.js +553 -0
  130. package/dist/chunk-LB7WCZHY.js.map +1 -0
  131. package/dist/{chunk-RIAM7DND.js → chunk-LDKPDODJ.js} +2 -2
  132. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  133. package/dist/{chunk-LLQCM2U2.js → chunk-LKYIOCWL.js} +101 -101
  134. package/dist/{chunk-5S4LQOPE.js → chunk-LOXHYCVS.js} +2 -2
  135. package/dist/{chunk-ANJXPFRS.js → chunk-LPNCR4QK.js} +8 -8
  136. package/dist/{chunk-GEPACVWN.js → chunk-MDD2RINF.js} +2 -2
  137. package/dist/{chunk-H63EDPFJ.js → chunk-MI2OTWV5.js} +15 -2
  138. package/dist/{chunk-H63EDPFJ.js.map → chunk-MI2OTWV5.js.map} +1 -1
  139. package/dist/{chunk-LBFFNDFM.js → chunk-MINHJ55X.js} +1 -1
  140. package/dist/chunk-MINHJ55X.js.map +1 -0
  141. package/dist/{chunk-6CPUQ5D6.js → chunk-MY2BC6UE.js} +13 -13
  142. package/dist/{chunk-CFGU52XJ.js → chunk-NPFUNWNX.js} +2 -2
  143. package/dist/{chunk-MFOSZUIT.js → chunk-NPIBN2VL.js} +2 -2
  144. package/dist/{chunk-5DH6PG4B.js → chunk-OA2O2GJ4.js} +3 -3
  145. package/dist/{chunk-JAQXUGLN.js → chunk-ODU2CNNX.js} +2 -2
  146. package/dist/{chunk-RQE4TITU.js → chunk-OXRRJXPR.js} +32 -32
  147. package/dist/{chunk-SEA6M7SS.js → chunk-P36Z4JRA.js} +2 -2
  148. package/dist/{chunk-Z4U3UN56.js → chunk-PU56CXZA.js} +6 -6
  149. package/dist/{chunk-5VPQSRQO.js → chunk-S5XOSTYM.js} +3 -3
  150. package/dist/{chunk-SVVIASVX.js → chunk-SEEJOGQX.js} +5 -5
  151. package/dist/{chunk-7TCGNUVP.js → chunk-SNOIKAHM.js} +2 -2
  152. package/dist/{chunk-7F27PCSN.js → chunk-T6ILXUAH.js} +2 -2
  153. package/dist/{chunk-EOHKUWXW.js → chunk-T7XP6IZE.js} +2 -2
  154. package/dist/{chunk-7WR462EM.js → chunk-TFR3HG4K.js} +3 -3
  155. package/dist/{chunk-YRVAKONL.js → chunk-TUHBYJXL.js} +1 -1
  156. package/dist/{chunk-F635GAL7.js → chunk-U7EW2W4W.js} +10 -10
  157. package/dist/{chunk-VFYRYFLL.js → chunk-UEBDCMOO.js} +2 -2
  158. package/dist/{chunk-WTOZBZNN.js → chunk-UENKPWCS.js} +4 -4
  159. package/dist/{chunk-AAXJNINV.js → chunk-UL4MKZHI.js} +2 -2
  160. package/dist/{chunk-R2MZCYA6.js → chunk-UNUMFURP.js} +3 -3
  161. package/dist/{chunk-ACOC27BB.js → chunk-UPFNQJC7.js} +2 -2
  162. package/dist/{chunk-W4BMEGQA.js → chunk-UTQUEHC7.js} +2 -2
  163. package/dist/{chunk-I32NKXE2.js → chunk-V4IDF3EZ.js} +2 -2
  164. package/dist/{chunk-BJTHRFFC.js → chunk-W2BAGGEW.js} +51 -19
  165. package/dist/chunk-W2BAGGEW.js.map +1 -0
  166. package/dist/{chunk-ZAOHJDKH.js → chunk-WNXYT4MK.js} +3 -3
  167. package/dist/{chunk-T42L3S6A.js → chunk-XBGHAAKR.js} +2 -2
  168. package/dist/{chunk-I4343FIA.js → chunk-XNWXSGHS.js} +4 -4
  169. package/dist/{chunk-THG4GYIE.js → chunk-YEUXERJ6.js} +5 -5
  170. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  171. package/dist/{chunk-5HERQ5FX.js → chunk-Z3YEGSR4.js} +10 -10
  172. package/dist/{cli-B322UMvB.d.ts → cli-O3F-ht3i.d.ts} +5 -5
  173. package/dist/cli.d.ts +17 -15
  174. package/dist/cli.js +92 -91
  175. package/dist/coding/pre-action-gate.d.ts +2 -1
  176. package/dist/compounding/engine.d.ts +5 -2
  177. package/dist/compounding/engine.js +24 -24
  178. package/dist/compounding/preference-consolidator.d.ts +4 -3
  179. package/dist/compression-optimizer.d.ts +2 -1
  180. package/dist/config-security.js +2 -2
  181. package/dist/config.d.ts +2 -1
  182. package/dist/config.js +10 -9
  183. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  184. package/dist/connectors/codex-materialize-runner.js +23 -23
  185. package/dist/connectors/codex-materialize.d.ts +2 -1
  186. package/dist/connectors/index.d.ts +2 -1
  187. package/dist/connectors/index.js +23 -23
  188. package/dist/consolidation-provenance-check.d.ts +5 -2
  189. package/dist/consolidation-provenance-check.js +2 -2
  190. package/dist/consolidation-undo.d.ts +5 -2
  191. package/dist/context-summary.d.ts +43 -0
  192. package/dist/context-summary.js +14 -0
  193. package/dist/context-summary.js.map +1 -0
  194. package/dist/contradiction/index.d.ts +6 -3
  195. package/dist/contradiction/index.js +5 -5
  196. package/dist/converge-config.d.ts +2 -1
  197. package/dist/convergence-refresh.d.ts +5 -2
  198. package/dist/convergence-refresh.js +26 -26
  199. package/dist/conversation-index/backend.d.ts +2 -1
  200. package/dist/conversation-index/backend.js +2 -2
  201. package/dist/conversation-index/chunker.d.ts +2 -1
  202. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  203. package/dist/conversation-index/indexer.d.ts +2 -1
  204. package/dist/conversation-index/search.d.ts +2 -1
  205. package/dist/corpus-watermark.d.ts +2 -1
  206. package/dist/corpus-watermark.js +25 -25
  207. package/dist/cross-lingual-recall.d.ts +2 -1
  208. package/dist/dashboard-runtime.js +2 -2
  209. package/dist/day-summary.d.ts +2 -1
  210. package/dist/delinearize.d.ts +2 -1
  211. package/dist/dependency-propagation-config.d.ts +2 -1
  212. package/dist/{dependency-propagation-delivery-BGcNairQ.d.ts → dependency-propagation-delivery-CL6RWXTA.d.ts} +1 -1
  213. package/dist/direct-answer-wiring.d.ts +2 -1
  214. package/dist/direct-answer.d.ts +2 -1
  215. package/dist/embedding-fallback.d.ts +2 -1
  216. package/dist/enrichment/index.d.ts +2 -1
  217. package/dist/entity-origin-fields.d.ts +2 -1
  218. package/dist/entity-retrieval.d.ts +5 -2
  219. package/dist/entity-retrieval.js +24 -24
  220. package/dist/entity-schema.d.ts +2 -1
  221. package/dist/episodic-context.d.ts +2 -1
  222. package/dist/eval-trajectory-contracts.d.ts +2 -1
  223. package/dist/eval-trajectory-store.d.ts +2 -1
  224. package/dist/eval-trajectory.d.ts +2 -1
  225. package/dist/event-order-recall.js +3 -3
  226. package/dist/explicit-capture.d.ts +13 -11
  227. package/dist/explicit-capture.js +6 -6
  228. package/dist/external-wiki-access.d.ts +15 -13
  229. package/dist/external-wiki-access.js +43 -43
  230. package/dist/external-wiki-collection-registration.d.ts +2 -1
  231. package/dist/external-wiki-collection.d.ts +2 -1
  232. package/dist/external-wiki-mcp-tools.d.ts +15 -13
  233. package/dist/extraction-error-classification.d.ts +2 -1
  234. package/dist/extraction-faithfulness.d.ts +2 -1
  235. package/dist/extraction-judge-telemetry.d.ts +2 -1
  236. package/dist/extraction-judge-training.d.ts +2 -1
  237. package/dist/extraction-judge.d.ts +2 -1
  238. package/dist/extraction-liveness.d.ts +2 -1
  239. package/dist/extraction-normalization.d.ts +2 -1
  240. package/dist/extraction-prompt.d.ts +2 -1
  241. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  242. package/dist/extraction-source-grounding.d.ts +2 -1
  243. package/dist/extraction.d.ts +2 -1
  244. package/dist/extraction.js +31 -31
  245. package/dist/fallback-llm.d.ts +2 -1
  246. package/dist/{forget-SZ2BXDGF.js → forget-2AE4MDK3.js} +3 -3
  247. package/dist/graph-dashboard-diff.d.ts +2 -1
  248. package/dist/graph-dashboard-key.d.ts +2 -1
  249. package/dist/graph-dashboard-parser.d.ts +2 -1
  250. package/dist/graph-edge-reinforcement.d.ts +2 -1
  251. package/dist/graph-path-reconstruction.d.ts +2 -1
  252. package/dist/graph-path-scoring.d.ts +2 -1
  253. package/dist/graph-snapshot.d.ts +2 -1
  254. package/dist/graph.d.ts +2 -1
  255. package/dist/harmonic-retrieval.js +1 -1
  256. package/dist/importance.d.ts +2 -1
  257. package/dist/importers/index.d.ts +2 -1
  258. package/dist/in-flight-reads.d.ts +2 -1
  259. package/dist/{index-By2QUAMh.d.ts → index-C7Xep6S9.d.ts} +2 -2
  260. package/dist/index.d.ts +703 -701
  261. package/dist/index.js +225 -196
  262. package/dist/intent.d.ts +2 -1
  263. package/dist/lcm/engine.d.ts +3 -2
  264. package/dist/lcm/engine.js +5 -4
  265. package/dist/lcm/index.d.ts +4 -2
  266. package/dist/lcm/index.js +12 -11
  267. package/dist/lcm/summarizer.d.ts +4 -6
  268. package/dist/lcm/summarizer.js +2 -1
  269. package/dist/lcm/tools.d.ts +4 -3
  270. package/dist/lifecycle.d.ts +2 -1
  271. package/dist/live-connectors-runner.d.ts +2 -1
  272. package/dist/local-llm.d.ts +2 -1
  273. package/dist/local-model-endpoint.d.ts +2 -1
  274. package/dist/maintenance/memory-governance.d.ts +2 -1
  275. package/dist/maintenance/memory-governance.js +24 -24
  276. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +5 -2
  277. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +23 -23
  278. package/dist/maintenance/rebuild-memory-projection.d.ts +5 -2
  279. package/dist/maintenance/rebuild-memory-projection.js +25 -25
  280. package/dist/{maintenance-Dm2McrIx.d.ts → maintenance-CJ-xqFp0.d.ts} +3 -3
  281. package/dist/mcp-memory-inspector-app.d.ts +15 -13
  282. package/dist/memory-action-policy.d.ts +18 -2
  283. package/dist/memory-action-policy.js +3 -1
  284. package/dist/memory-cache.d.ts +2 -1
  285. package/dist/memory-controller.d.ts +2 -1
  286. package/dist/memory-controller.js +2 -2
  287. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  288. package/dist/memory-projection-store.d.ts +2 -1
  289. package/dist/memory-provenance.d.ts +2 -1
  290. package/dist/memory-snapshot.d.ts +2 -1
  291. package/dist/memory-subject-cli.d.ts +15 -13
  292. package/dist/memory-subject.d.ts +15 -13
  293. package/dist/memory-subject.js +3 -3
  294. package/dist/memory-worth-outcomes.d.ts +5 -2
  295. package/dist/models-json.d.ts +2 -1
  296. package/dist/namespaces/migrate.d.ts +6 -3
  297. package/dist/namespaces/migrate.js +24 -24
  298. package/dist/namespaces/principal.d.ts +2 -1
  299. package/dist/namespaces/search.d.ts +2 -1
  300. package/dist/namespaces/search.js +9 -9
  301. package/dist/namespaces/storage.d.ts +6 -3
  302. package/dist/namespaces/storage.js +23 -23
  303. package/dist/native-knowledge.d.ts +2 -1
  304. package/dist/offline-sync-impression-drain.d.ts +2 -1
  305. package/dist/offline-sync-impression-drain.js +2 -2
  306. package/dist/operator-doctor-corpus.d.ts +2 -1
  307. package/dist/operator-doctor-corpus.js +26 -26
  308. package/dist/operator-doctor-replica.d.ts +2 -1
  309. package/dist/operator-toolkit.d.ts +6 -3
  310. package/dist/operator-toolkit.js +38 -37
  311. package/dist/orchestration/compression-guideline-coordinator.d.ts +5 -2
  312. package/dist/orchestration/maintenance.d.ts +7 -4
  313. package/dist/orchestration/maintenance.js +31 -31
  314. package/dist/{orchestrator-Co1DyfuP.d.ts → orchestrator-BsntWxLy.d.ts} +8 -8
  315. package/dist/orchestrator.d.ts +13 -11
  316. package/dist/orchestrator.js +143 -140
  317. package/dist/patterns-cli.d.ts +2 -1
  318. package/dist/{pipeline-DotMnb6y.d.ts → pipeline-CVoysPm2.d.ts} +1 -1
  319. package/dist/policy-runtime.d.ts +2 -1
  320. package/dist/proactive-contention.d.ts +2 -1
  321. package/dist/provenance.d.ts +2 -1
  322. package/dist/{public-http-PJRtnSi-.d.ts → public-http-CuOxlTC2.d.ts} +1 -1
  323. package/dist/{qmd-BP0n11fR.d.ts → qmd-DWMAGA5l.d.ts} +1 -1
  324. package/dist/qmd-preflight.d.ts +3 -2
  325. package/dist/qmd-recall-cache.d.ts +2 -1
  326. package/dist/qmd.d.ts +3 -2
  327. package/dist/qmd.js +4 -4
  328. package/dist/recall-concurrency-config.d.ts +2 -1
  329. package/dist/recall-disclosure-escalation.d.ts +2 -1
  330. package/dist/recall-explain-renderer.d.ts +2 -1
  331. package/dist/recall-explain-renderer.js +3 -3
  332. package/dist/recall-memory-map.d.ts +2 -1
  333. package/dist/recall-planner-llm.d.ts +2 -1
  334. package/dist/recall-state.d.ts +2 -1
  335. package/dist/recall-tag-filter.d.ts +2 -1
  336. package/dist/recall-timings.d.ts +2 -1
  337. package/dist/recall-xray-cli.d.ts +2 -1
  338. package/dist/recall-xray-cli.js +4 -4
  339. package/dist/recall-xray-renderer.d.ts +2 -1
  340. package/dist/recall-xray-renderer.js +3 -3
  341. package/dist/recall-xray.d.ts +2 -1
  342. package/dist/recall-xray.js +2 -2
  343. package/dist/reconcile/cursor.d.ts +2 -1
  344. package/dist/reconcile/manifest.d.ts +2 -1
  345. package/dist/reconcile/manifest.js +3 -3
  346. package/dist/reconcile/plan.d.ts +2 -1
  347. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  348. package/dist/replay/normalizers/claude.d.ts +2 -1
  349. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  350. package/dist/replay/normalizers/shared.d.ts +2 -1
  351. package/dist/replay/runner.d.ts +2 -1
  352. package/dist/replay/types.d.ts +2 -1
  353. package/dist/replica-divergence.d.ts +2 -1
  354. package/dist/replica-peers-config.d.ts +2 -1
  355. package/dist/{resolution-4552BNRV.js → resolution-XWBPKYFB.js} +6 -6
  356. package/dist/resolution-XWBPKYFB.js.map +1 -0
  357. package/dist/resolve-auth-token.d.ts +2 -1
  358. package/dist/resume-bundles.js +11 -10
  359. package/dist/retrieval-agents.d.ts +3 -2
  360. package/dist/retrieval-tiers.d.ts +2 -1
  361. package/dist/routing/engine.d.ts +2 -1
  362. package/dist/routing/store.d.ts +2 -1
  363. package/dist/salvage-envelope.d.ts +2 -1
  364. package/dist/salvage-envelope.js +5 -5
  365. package/dist/schemas.d.ts +124 -124
  366. package/dist/{scope-profiles-6ChZKTy-.d.ts → scope-profiles-CPWkW_dI.d.ts} +1 -1
  367. package/dist/search/embed-helper.d.ts +2 -1
  368. package/dist/search/factory.d.ts +2 -1
  369. package/dist/search/factory.js +8 -8
  370. package/dist/search/index.d.ts +2 -1
  371. package/dist/search/index.js +14 -14
  372. package/dist/search/lancedb-backend.d.ts +2 -1
  373. package/dist/search/meilisearch-backend.d.ts +2 -1
  374. package/dist/search/noop-backend.d.ts +2 -1
  375. package/dist/search/orama-backend.d.ts +2 -1
  376. package/dist/search/port.d.ts +2 -1
  377. package/dist/search/remote-backend.d.ts +2 -1
  378. package/dist/{semantic-consolidation-DziYcW5J.d.ts → semantic-consolidation-CNFVBXFc.d.ts} +1 -1
  379. package/dist/semantic-consolidation.d.ts +3 -2
  380. package/dist/semantic-consolidation.js +29 -29
  381. package/dist/semantic-rule-promotion.js +23 -23
  382. package/dist/semantic-rule-verifier.d.ts +2 -1
  383. package/dist/semantic-rule-verifier.js +23 -23
  384. package/dist/{service-C7rIBuK_.d.ts → service-Bb-JIdQ0.d.ts} +2 -2
  385. package/dist/session-observer-bands.d.ts +2 -1
  386. package/dist/session-observer-state.d.ts +2 -1
  387. package/dist/shared-context/manager.d.ts +8 -7
  388. package/dist/signal.d.ts +2 -1
  389. package/dist/source-agent-qualifier.d.ts +2 -1
  390. package/dist/source-agent-qualifier.js +27 -27
  391. package/dist/{storage-B1hEx8Xg.d.ts → storage-CukrlNKk.d.ts} +4 -1
  392. package/dist/storage.d.ts +5 -2
  393. package/dist/storage.js +22 -22
  394. package/dist/subject-config.d.ts +2 -1
  395. package/dist/subject-config.js +4 -4
  396. package/dist/summarizer.d.ts +2 -1
  397. package/dist/summary-snapshot.d.ts +2 -1
  398. package/dist/support-passport/index.d.ts +18 -16
  399. package/dist/support-passport/index.js +45 -45
  400. package/dist/temporal-supersession.d.ts +3 -2
  401. package/dist/temporal-timeline-recall.d.ts +2 -1
  402. package/dist/temporal-validity.d.ts +2 -1
  403. package/dist/threading.d.ts +2 -1
  404. package/dist/tier-migration.d.ts +5 -2
  405. package/dist/tier-routing.d.ts +2 -1
  406. package/dist/topics.d.ts +2 -1
  407. package/dist/transcript.d.ts +2 -1
  408. package/dist/transfer/types.d.ts +78 -78
  409. package/dist/trust-score-stage.d.ts +2 -1
  410. package/dist/trust-score.d.ts +2 -1
  411. package/dist/{types-BHDNxGTT.d.ts → types-djxQlxJ7.d.ts} +2 -1
  412. package/dist/types.d.ts +2 -1
  413. package/dist/types.js +1 -1
  414. package/dist/utility-runtime.d.ts +2 -1
  415. package/dist/verified-recall.js +23 -23
  416. package/dist/who-knows-cli.d.ts +15 -13
  417. package/dist/who-knows-cli.js +24 -24
  418. package/dist/who-knows.d.ts +15 -13
  419. package/dist/who-knows.js +23 -23
  420. package/dist/write-envelope.d.ts +2 -1
  421. package/dist/write-envelope.js +4 -4
  422. package/package.json +22 -2
  423. package/src/active-context-config.ts +98 -0
  424. package/src/active-context-transform.test.ts +533 -0
  425. package/src/active-context-transform.ts +981 -0
  426. package/src/config.ts +3 -5
  427. package/src/context-summary.ts +182 -0
  428. package/src/index.ts +4 -11
  429. package/src/lcm/summarizer.ts +14 -93
  430. package/src/memory-action-policy.ts +28 -0
  431. package/src/storage/context-transform-ledger.ts +39 -0
  432. package/src/storage/secure-line-reader.ts +50 -1
  433. package/src/storage.ts +4 -1
  434. package/src/types.ts +2 -3
  435. package/dist/chunk-BJTHRFFC.js.map +0 -1
  436. package/dist/chunk-D4QVPP3G.js.map +0 -1
  437. package/dist/chunk-DVYRD4HY.js.map +0 -1
  438. package/dist/chunk-LBFFNDFM.js.map +0 -1
  439. package/dist/chunk-ZPUIRTIZ.js.map +0 -1
  440. /package/dist/{resolution-4552BNRV.js.map → active-context-config.js.map} +0 -0
  441. /package/dist/{auto-sync-XVMLL2RH.js.map → auto-sync-2YPITIWN.js.map} +0 -0
  442. /package/dist/{chunk-JBPKEARU.js.map → chunk-2QSZNTDO.js.map} +0 -0
  443. /package/dist/{chunk-S3K2CIK5.js.map → chunk-3A2NJP2U.js.map} +0 -0
  444. /package/dist/{chunk-OPGL46PX.js.map → chunk-3PKAS6VL.js.map} +0 -0
  445. /package/dist/{chunk-GTSVEEP3.js.map → chunk-3SZD4CYO.js.map} +0 -0
  446. /package/dist/{chunk-YKWFK7XA.js.map → chunk-4F4AQFWL.js.map} +0 -0
  447. /package/dist/{chunk-RGCF4XNH.js.map → chunk-4QEYREAV.js.map} +0 -0
  448. /package/dist/{chunk-46WM6JX2.js.map → chunk-4ZWCQJNM.js.map} +0 -0
  449. /package/dist/{chunk-3RI5Y7KU.js.map → chunk-5DHKCO52.js.map} +0 -0
  450. /package/dist/{chunk-VKCAHCBI.js.map → chunk-5RWZH6PH.js.map} +0 -0
  451. /package/dist/{chunk-52II7PB6.js.map → chunk-645WOU5I.js.map} +0 -0
  452. /package/dist/{chunk-A32YEQAM.js.map → chunk-76DIF5KT.js.map} +0 -0
  453. /package/dist/{chunk-OPPBTPUU.js.map → chunk-7KQB4EBS.js.map} +0 -0
  454. /package/dist/{chunk-I2HTKOOP.js.map → chunk-7VZFRUQU.js.map} +0 -0
  455. /package/dist/{chunk-JCWY73FK.js.map → chunk-AHPIFKNG.js.map} +0 -0
  456. /package/dist/{chunk-IP4ZNT4U.js.map → chunk-AZMLH5UT.js.map} +0 -0
  457. /package/dist/{chunk-JOEJG4SD.js.map → chunk-BEC4YBNA.js.map} +0 -0
  458. /package/dist/{chunk-VXVZ2GM3.js.map → chunk-CAMNRAJF.js.map} +0 -0
  459. /package/dist/{chunk-C24UZSFW.js.map → chunk-CEH2AFXG.js.map} +0 -0
  460. /package/dist/{chunk-YOXVZJFM.js.map → chunk-CFVTRUR3.js.map} +0 -0
  461. /package/dist/{chunk-SVSRPG6M.js.map → chunk-CPA5NBHN.js.map} +0 -0
  462. /package/dist/{chunk-7BEPVIH3.js.map → chunk-CRML27CO.js.map} +0 -0
  463. /package/dist/{chunk-IY7UXD3J.js.map → chunk-DA7ITC5Z.js.map} +0 -0
  464. /package/dist/{chunk-AFR6AIM4.js.map → chunk-DEACDKE3.js.map} +0 -0
  465. /package/dist/{chunk-NG3MBQV4.js.map → chunk-DPCXDG7G.js.map} +0 -0
  466. /package/dist/{chunk-HZNYJN77.js.map → chunk-F3NVYTTA.js.map} +0 -0
  467. /package/dist/{chunk-PDDSFELN.js.map → chunk-F7XUD3PL.js.map} +0 -0
  468. /package/dist/{chunk-YWSQD2IB.js.map → chunk-GTO56JY5.js.map} +0 -0
  469. /package/dist/{chunk-RAIUTAZZ.js.map → chunk-H2YSH3DG.js.map} +0 -0
  470. /package/dist/{chunk-F6QHHRWP.js.map → chunk-HMZKGHMD.js.map} +0 -0
  471. /package/dist/{chunk-ZIJDI4CP.js.map → chunk-HRHO3ZNG.js.map} +0 -0
  472. /package/dist/{chunk-SDEPLF7V.js.map → chunk-IBJ6U753.js.map} +0 -0
  473. /package/dist/{chunk-T3JQTCCO.js.map → chunk-JI7U6AS3.js.map} +0 -0
  474. /package/dist/{chunk-TR7DGXGI.js.map → chunk-JOZUBF4A.js.map} +0 -0
  475. /package/dist/{chunk-I7EX6KSH.js.map → chunk-JYSN42VN.js.map} +0 -0
  476. /package/dist/{chunk-FMQ4MOQO.js.map → chunk-KZIF6XHX.js.map} +0 -0
  477. /package/dist/{chunk-RIAM7DND.js.map → chunk-LDKPDODJ.js.map} +0 -0
  478. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  479. /package/dist/{chunk-LLQCM2U2.js.map → chunk-LKYIOCWL.js.map} +0 -0
  480. /package/dist/{chunk-5S4LQOPE.js.map → chunk-LOXHYCVS.js.map} +0 -0
  481. /package/dist/{chunk-ANJXPFRS.js.map → chunk-LPNCR4QK.js.map} +0 -0
  482. /package/dist/{chunk-GEPACVWN.js.map → chunk-MDD2RINF.js.map} +0 -0
  483. /package/dist/{chunk-6CPUQ5D6.js.map → chunk-MY2BC6UE.js.map} +0 -0
  484. /package/dist/{chunk-CFGU52XJ.js.map → chunk-NPFUNWNX.js.map} +0 -0
  485. /package/dist/{chunk-MFOSZUIT.js.map → chunk-NPIBN2VL.js.map} +0 -0
  486. /package/dist/{chunk-5DH6PG4B.js.map → chunk-OA2O2GJ4.js.map} +0 -0
  487. /package/dist/{chunk-JAQXUGLN.js.map → chunk-ODU2CNNX.js.map} +0 -0
  488. /package/dist/{chunk-RQE4TITU.js.map → chunk-OXRRJXPR.js.map} +0 -0
  489. /package/dist/{chunk-SEA6M7SS.js.map → chunk-P36Z4JRA.js.map} +0 -0
  490. /package/dist/{chunk-Z4U3UN56.js.map → chunk-PU56CXZA.js.map} +0 -0
  491. /package/dist/{chunk-5VPQSRQO.js.map → chunk-S5XOSTYM.js.map} +0 -0
  492. /package/dist/{chunk-SVVIASVX.js.map → chunk-SEEJOGQX.js.map} +0 -0
  493. /package/dist/{chunk-7TCGNUVP.js.map → chunk-SNOIKAHM.js.map} +0 -0
  494. /package/dist/{chunk-7F27PCSN.js.map → chunk-T6ILXUAH.js.map} +0 -0
  495. /package/dist/{chunk-EOHKUWXW.js.map → chunk-T7XP6IZE.js.map} +0 -0
  496. /package/dist/{chunk-7WR462EM.js.map → chunk-TFR3HG4K.js.map} +0 -0
  497. /package/dist/{chunk-YRVAKONL.js.map → chunk-TUHBYJXL.js.map} +0 -0
  498. /package/dist/{chunk-F635GAL7.js.map → chunk-U7EW2W4W.js.map} +0 -0
  499. /package/dist/{chunk-VFYRYFLL.js.map → chunk-UEBDCMOO.js.map} +0 -0
  500. /package/dist/{chunk-WTOZBZNN.js.map → chunk-UENKPWCS.js.map} +0 -0
  501. /package/dist/{chunk-AAXJNINV.js.map → chunk-UL4MKZHI.js.map} +0 -0
  502. /package/dist/{chunk-R2MZCYA6.js.map → chunk-UNUMFURP.js.map} +0 -0
  503. /package/dist/{chunk-ACOC27BB.js.map → chunk-UPFNQJC7.js.map} +0 -0
  504. /package/dist/{chunk-W4BMEGQA.js.map → chunk-UTQUEHC7.js.map} +0 -0
  505. /package/dist/{chunk-I32NKXE2.js.map → chunk-V4IDF3EZ.js.map} +0 -0
  506. /package/dist/{chunk-ZAOHJDKH.js.map → chunk-WNXYT4MK.js.map} +0 -0
  507. /package/dist/{chunk-T42L3S6A.js.map → chunk-XBGHAAKR.js.map} +0 -0
  508. /package/dist/{chunk-I4343FIA.js.map → chunk-XNWXSGHS.js.map} +0 -0
  509. /package/dist/{chunk-THG4GYIE.js.map → chunk-YEUXERJ6.js.map} +0 -0
  510. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  511. /package/dist/{chunk-5HERQ5FX.js.map → chunk-Z3YEGSR4.js.map} +0 -0
  512. /package/dist/{forget-SZ2BXDGF.js.map → forget-2AE4MDK3.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,24 +1,26 @@
1
1
  export { collapseWhitespace, displayWidth, graphemeUnits, padEndDisplay, truncateCodePointSafe, truncateGraphemeSafe } from './whitespace.js';
2
+ export { ContextSummaryMethod, ContextSummaryUnavailableError, PureContextSummaryResult, SummarizeContextPureOptions, SummarizeFn, deterministicTruncate, summarizeContextPure } from './context-summary.js';
3
+ export { ACTIVE_CONTEXT_ALGORITHM_VERSION, ACTIVE_CONTEXT_PLAN_SCHEMA_VERSION, ACTIVE_CONTEXT_RECEIPT_SCHEMA_VERSION, ACTIVE_CONTEXT_RECORD_SCHEMA_VERSION, ACTIVE_CONTEXT_SNAPSHOT_SCHEMA_VERSION, ActiveContextApplyReceipt, ActiveContextErrorCode, ActiveContextHostCapability, ActiveContextMessageRole, ActiveContextOperation, ActiveContextPhase, ActiveContextPlanReplacement, ActiveContextPreparedReplacement, ActiveContextPreparedTransform, ActiveContextResolvedScope, ActiveContextScoreMessageFn, ActiveContextScoreRow, ActiveContextSnapshot, ActiveContextSpanSelector, ActiveContextTransformDeps, ActiveContextTransformPlan, ActiveContextTransformRequest, ContextTransformTelemetryRecord, buildContextTransformPlanEvent, planActiveContextTransform, prepareActiveContextTransform, recordActiveContextApplyReceipt } from './active-context-transform.js';
2
4
  export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-resolver.js';
3
5
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
4
6
  export { resolveRemnicConfigRecord } from './config-record.js';
5
7
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
6
8
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
7
9
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
8
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-Co1DyfuP.js';
10
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BsntWxLy.js';
9
11
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
10
12
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
11
13
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
12
- import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-By2QUAMh.js';
13
- export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-By2QUAMh.js';
14
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-C7Xep6S9.js';
15
+ export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-C7Xep6S9.js';
14
16
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
15
17
  export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisLineReceipt, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
16
18
  export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
17
19
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
18
20
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
19
21
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
20
- import { S as StorageManager, a as MeetingRecordStore } from './storage-B1hEx8Xg.js';
21
- 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-B1hEx8Xg.js';
22
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-CukrlNKk.js';
23
+ 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-CukrlNKk.js';
22
24
  import { SealedMemoryEnvelope } from './write-envelope.js';
23
25
  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';
24
26
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -27,13 +29,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
27
29
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
28
30
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
29
31
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
30
- import { C as CodingContext, bn as CodingModeConfig, aW as FusionConversationInput, bo as FusedSpeaker, bp as FusedSegment, bq as FusedDisagreement, br as FusionOptions, aY as WearableConversation, bs as FusionDayResult, P as PluginConfig, bt as ParsedSkillBundle, Z as SkillBundle, bu as MemoryDriftState, bv as DriftDetectionConfig, bw as CodingKnowledgeConfig, ax as SubjectGuardMode, y as MemoryCategory, bx as WearableCleanupSettings, by as WearableFusionConfig, aZ as WearableSourceSettings, b1 as WearablesConfig, b0 as WearableSourceConnector, bz as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bA as WearableDayTranscriptMeta, b4 as WearableDayTranscript, aN as ActivitySnapshot, bB as ActivityDayMeta, bC as ActivityDayDigest, aQ as ActivitySourceClient, bD as ActivitySourceCheck, bE as ActivitySnapshotPage, aO as ActivityConfig, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bF as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bG as MeetingAudioWindow, bH as MeetingAppSpan } from './types-BHDNxGTT.js';
31
- export { bI as ACTION_GATE_DEFAULTS, bJ as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bK as ActionGateAdvisory, bL as ActionGateAuditRecord, bM as ActionGateAuditSink, bN as ActionGateCandidate, bO as ActionGateCandidateQuery, bP as ActionGateCandidateSource, bQ as ActionGateConfig, bR as ActionGateDecision, bS as ActionGateRequest, bT as ActionGateService, bU as ActionGateServiceDependencies, bV as ActionGateSourceResult, bW as ActionGateStatus, bX as ActivityExtractionMode, aP as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bY as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bZ as BriefingWindow, aa as BufferSurpriseEvent, b_ as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, b$ as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, c0 as CodexCompatConfig, bl as ConsolidationObservation, c1 as DEFAULT_RECALL_DISCLOSURE, c2 as DRIFT_DETECTION_DEFAULTS, c3 as DisagreementKind, c4 as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, c5 as FailureMemorySourceDependencies, c6 as FusedContribution, c7 as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, c8 as FusedSegmentProvenance, b5 as FusedWearableConversation, c9 as FusionSegmentInput, G as GatewayConfig, ca as ImportSourceRole, ab as ImportTurn, cb as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, cc as MeetingScreenContextEvent, cd as MeetingSummaryMode, ay as MemoryActionEligibilityContext, ce as MemoryActionEligibilitySource, ai as MemoryActionType, cf as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cg as MemoryObservation, ch as MemoryScope, ci as NormalizedActionIntent, cj as PRE_ACTION_FINGERPRINT_VERSION, ck as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cl as PRE_ACTION_WARNING_VERSION, cm as PreActionFailureGate, cn as PreActionGateDependencies, co as PreActionGateRequest, cp as PreActionGateResult, cq as PreActionGateStatus, cr as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cs as RecallDriftAnnotation, ct as SKILL_FILE_NAME, u as SecretRef, cu as SegmentPickReason, cv as SkillProjectionConfig, cw as WearableAuthCheck, cx as WearableFetchOptions, cy as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cz as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cA as WearableTranscriptSegment, cB as actionTermsFor, cC as buildProcedureMarkdownBody, cD as createFailureMemoryCandidateSource, cE as createTrajectoryCandidateSource, cF as isFailureClassMemory, cG as isImportRole, cH as isRecallDisclosure, cI as normalizeActionIntent, cJ as parseActionGateConfig, cK as parseDriftDetectionConfig, cL as parseDriftProvenance, cM as parseIsoTimestamp, cN as parseProcedureStepsFromBody, cO as parseSkillBundle, cP as parseSkillProjectionConfig, cQ as projectProceduresToSkills, cR as renderSkillBundle, cS as sanitizePayloadString, cT as sanitizeSkillSlug, cU as serializeDriftProvenance, cV as validateImportTurn } from './types-BHDNxGTT.js';
32
+ import { C as CodingContext, bn as CodingModeConfig, aW as FusionConversationInput, bo as FusedSpeaker, bp as FusedSegment, bq as FusedDisagreement, br as FusionOptions, aY as WearableConversation, bs as FusionDayResult, P as PluginConfig, bt as ParsedSkillBundle, Z as SkillBundle, bu as MemoryDriftState, bv as DriftDetectionConfig, bw as CodingKnowledgeConfig, ax as SubjectGuardMode, y as MemoryCategory, bx as WearableCleanupSettings, by as WearableFusionConfig, aZ as WearableSourceSettings, b1 as WearablesConfig, b0 as WearableSourceConnector, bz as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bA as WearableDayTranscriptMeta, b4 as WearableDayTranscript, aN as ActivitySnapshot, bB as ActivityDayMeta, bC as ActivityDayDigest, aQ as ActivitySourceClient, bD as ActivitySourceCheck, bE as ActivitySnapshotPage, aO as ActivityConfig, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bF as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bG as MeetingAudioWindow, bH as MeetingAppSpan } from './types-djxQlxJ7.js';
33
+ export { bI as ACTION_GATE_DEFAULTS, bJ as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bK as ActionGateAdvisory, bL as ActionGateAuditRecord, bM as ActionGateAuditSink, bN as ActionGateCandidate, bO as ActionGateCandidateQuery, bP as ActionGateCandidateSource, bQ as ActionGateConfig, bR as ActionGateDecision, bS as ActionGateRequest, bT as ActionGateService, bU as ActionGateServiceDependencies, bV as ActionGateSourceResult, bW as ActionGateStatus, bX as ActivityExtractionMode, aP as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bY as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bZ as BriefingWindow, aa as BufferSurpriseEvent, b_ as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, b$ as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, c0 as CodexCompatConfig, bl as ConsolidationObservation, c1 as DEFAULT_RECALL_DISCLOSURE, c2 as DRIFT_DETECTION_DEFAULTS, c3 as DisagreementKind, c4 as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, c5 as FailureMemorySourceDependencies, c6 as FusedContribution, c7 as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, c8 as FusedSegmentProvenance, b5 as FusedWearableConversation, c9 as FusionSegmentInput, G as GatewayConfig, ca as ImportSourceRole, ab as ImportTurn, cb as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, cc as MeetingScreenContextEvent, cd as MeetingSummaryMode, ay as MemoryActionEligibilityContext, ce as MemoryActionEligibilitySource, ai as MemoryActionType, cf as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cg as MemoryObservation, ch as MemoryScope, ci as NormalizedActionIntent, cj as PRE_ACTION_FINGERPRINT_VERSION, ck as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cl as PRE_ACTION_WARNING_VERSION, cm as PreActionFailureGate, cn as PreActionGateDependencies, co as PreActionGateRequest, cp as PreActionGateResult, cq as PreActionGateStatus, cr as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cs as RecallDriftAnnotation, ct as SKILL_FILE_NAME, u as SecretRef, cu as SegmentPickReason, cv as SkillProjectionConfig, cw as WearableAuthCheck, cx as WearableFetchOptions, cy as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cz as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cA as WearableTranscriptSegment, cB as actionTermsFor, cC as buildProcedureMarkdownBody, cD as createFailureMemoryCandidateSource, cE as createTrajectoryCandidateSource, cF as isFailureClassMemory, cG as isImportRole, cH as isRecallDisclosure, cI as normalizeActionIntent, cJ as parseActionGateConfig, cK as parseDriftDetectionConfig, cL as parseDriftProvenance, cM as parseIsoTimestamp, cN as parseProcedureStepsFromBody, cO as parseSkillBundle, cP as parseSkillProjectionConfig, cQ as projectProceduresToSkills, cR as renderSkillBundle, cS as sanitizePayloadString, cT as sanitizeSkillSlug, cU as serializeDriftProvenance, cV as validateImportTurn } from './types-djxQlxJ7.js';
32
34
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
33
35
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
34
36
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
35
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Crk__Git.js';
36
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-Crk__Git.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Diu61Cfv.js';
38
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-Diu61Cfv.js';
37
39
  import { LocalLlmClient } from './local-llm.js';
38
40
  import { FallbackLlmClient } from './fallback-llm.js';
39
41
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -46,20 +48,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
46
48
  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';
47
49
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
48
50
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
49
- export { Q as QmdClient } from './qmd-BP0n11fR.js';
51
+ export { Q as QmdClient } from './qmd-DWMAGA5l.js';
50
52
  export { LanceDbBackend } from './search/lancedb-backend.js';
51
53
  export { OramaBackend } from './search/orama-backend.js';
52
54
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
53
55
  export { buildEntityRecallSection } from './entity-retrieval.js';
54
56
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
55
- export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-DybwVNW3.js';
57
+ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-9f-vEQLS.js';
56
58
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
57
59
  export { storagePathHash } from './storage-paths.js';
58
60
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
59
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-B322UMvB.js';
61
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-O3F-ht3i.js';
60
62
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
61
63
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
62
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-PJRtnSi-.js';
64
+ export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-CuOxlTC2.js';
63
65
  import { z } from 'zod';
64
66
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
65
67
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -84,8 +86,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
84
86
  export { initLogger, log } from './logger.js';
85
87
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
86
88
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
87
- import { D as DiscoveredExtension } from './semantic-consolidation-DziYcW5J.js';
88
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DziYcW5J.js';
89
+ import { D as DiscoveredExtension } from './semantic-consolidation-CNFVBXFc.js';
90
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-CNFVBXFc.js';
89
91
  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';
90
92
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
91
93
  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';
@@ -100,11 +102,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
100
102
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
101
103
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
102
104
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
103
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DotMnb6y.js';
104
- 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-C7rIBuK_.js';
105
- 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-C7rIBuK_.js';
106
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-Dm2McrIx.js';
107
- 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-Dm2McrIx.js';
105
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CVoysPm2.js';
106
+ 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-Bb-JIdQ0.js';
107
+ 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-Bb-JIdQ0.js';
108
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-CJ-xqFp0.js';
109
+ 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-CJ-xqFp0.js';
108
110
  import { SearchExecutionOptions } from './search/port.js';
109
111
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
110
112
  export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
@@ -121,7 +123,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
121
123
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
122
124
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
123
125
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
124
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-6ChZKTy-.js';
126
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-CPWkW_dI.js';
125
127
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
126
128
  export { BuildEvalTrajectoryReportOptions, EvalTrajectoryReader, EvalTrajectoryReaderResult, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader } from './eval-trajectory.js';
127
129
  export { ActiveContextAdapter, ActiveContextMessage, ActiveContextPlan, MemoryControllerActionFamily, MemoryControllerChoice, MemoryControllerConfig, MemoryControllerCoordinator, MemoryControllerDeps, MemoryControllerEvent, MemoryControllerEvidence, MemoryControllerEvidenceReport, MemoryControllerExecutors, MemoryControllerMode, MemoryControllerPairedSeedEvidence, MemoryControllerReceipt, MemoryControllerRecorder, MemoryControllerReportReader, MemoryControllerRunResult, MemoryControllerState, chooseAction, computeEvidenceReportHash, controllerConfigHash, evaluateActiveGates, hashControllerState, verifyEvidenceReport } from './memory-controller.js';
@@ -134,6 +136,7 @@ export { assertEvalTrajectoryReportRedacted, deriveUnifiedMemoryPromotionReport,
134
136
  export { expandTildePath } from './utils/path.js';
135
137
  export { normalizeAttributePairs } from './structured-attributes.js';
136
138
  export { shouldRecallEventOrderEvidence } from './event-order-query.js';
139
+ import './active-context-config.js';
137
140
  import './bounded-jsonl-state.js';
138
141
  import './types-CM86alG1.js';
139
142
  import './operator-doctor-types.js';
@@ -176,7 +179,7 @@ import './conversation-index/chunker.js';
176
179
  import './conversation-index/backend.js';
177
180
  import './faiss-adapter-BHecI1fF.js';
178
181
  import './runtime/child-process.js';
179
- import './dependency-propagation-delivery-BGcNairQ.js';
182
+ import './dependency-propagation-delivery-CL6RWXTA.js';
180
183
  import './namespaces/storage.js';
181
184
  import './threading.js';
182
185
  import './graph-444E-DrF.js';
@@ -187,9 +190,8 @@ import './replay/types.js';
187
190
  import './lcm/engine.js';
188
191
  import './lcm/archive.js';
189
192
  import './token-estimate.js';
190
- import './lcm/summarizer.js';
191
- import './lcm/dag.js';
192
193
  import './lcm/recall.js';
194
+ import './lcm/dag.js';
193
195
  import './lcm/queue.js';
194
196
  import './namespaces/search.js';
195
197
  import './policy-runtime.js';
@@ -197,7 +199,7 @@ import './profiling.js';
197
199
  import './schemas.js';
198
200
  import './extraction-error-classification.js';
199
201
  import 'node:stream';
200
- import './access-namespace-preflight-8VYKmRX0.js';
202
+ import './access-namespace-preflight-CpAOrS-9.js';
201
203
  import './recall-explain-renderer.js';
202
204
  import './access-citation.js';
203
205
  import './access-health-types.js';
@@ -1229,15 +1231,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1229
1231
  locator: z.ZodOptional<z.ZodString>;
1230
1232
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1231
1233
  }, "strict", z.ZodTypeAny, {
1232
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1233
- label: string;
1234
1234
  id: string;
1235
+ label: string;
1236
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
1237
  capture: "at_action" | "historical_lookup" | "fixture";
1236
1238
  locator?: string | undefined;
1237
1239
  }, {
1238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
- label: string;
1240
1240
  id: string;
1241
+ label: string;
1242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
1243
  capture: "at_action" | "historical_lookup" | "fixture";
1242
1244
  locator?: string | undefined;
1243
1245
  }>;
@@ -1254,15 +1256,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1254
1256
  locator: z.ZodOptional<z.ZodString>;
1255
1257
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1256
1258
  }, "strict", z.ZodTypeAny, {
1257
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1258
- label: string;
1259
1259
  id: string;
1260
+ label: string;
1261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
1262
  capture: "at_action" | "historical_lookup" | "fixture";
1261
1263
  locator?: string | undefined;
1262
1264
  }, {
1263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
- label: string;
1265
1265
  id: string;
1266
+ label: string;
1267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1269
  locator?: string | undefined;
1268
1270
  }>, "many">>;
@@ -1270,9 +1272,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1270
1272
  kind: "mission_started";
1271
1273
  title: string;
1272
1274
  evidence: {
1273
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1274
- label: string;
1275
1275
  id: string;
1276
+ label: string;
1277
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1276
1278
  capture: "at_action" | "historical_lookup" | "fixture";
1277
1279
  locator?: string | undefined;
1278
1280
  }[];
@@ -1284,9 +1286,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1284
1286
  objective: string;
1285
1287
  runMode: "replay" | "fixture" | "live";
1286
1288
  evidence?: {
1287
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1288
- label: string;
1289
1289
  id: string;
1290
+ label: string;
1291
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1290
1292
  capture: "at_action" | "historical_lookup" | "fixture";
1291
1293
  locator?: string | undefined;
1292
1294
  }[] | undefined;
@@ -1302,15 +1304,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1302
1304
  locator: z.ZodOptional<z.ZodString>;
1303
1305
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1304
1306
  }, "strict", z.ZodTypeAny, {
1305
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1306
- label: string;
1307
1307
  id: string;
1308
+ label: string;
1309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
1310
  capture: "at_action" | "historical_lookup" | "fixture";
1309
1311
  locator?: string | undefined;
1310
1312
  }, {
1311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
- label: string;
1313
1313
  id: string;
1314
+ label: string;
1315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1315
1317
  locator?: string | undefined;
1316
1318
  }>, "many">>;
@@ -1318,32 +1320,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1318
1320
  sessionId: z.ZodString;
1319
1321
  kind: z.ZodLiteral<"agent_status">;
1320
1322
  }, "strict", z.ZodTypeAny, {
1321
- kind: "agent_status";
1322
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1323
1323
  label: string;
1324
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1325
+ kind: "agent_status";
1324
1326
  role: string;
1325
1327
  agentId: string;
1326
1328
  sessionId: string;
1327
1329
  evidence: {
1328
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1329
- label: string;
1330
1330
  id: string;
1331
+ label: string;
1332
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
1333
  capture: "at_action" | "historical_lookup" | "fixture";
1332
1334
  locator?: string | undefined;
1333
1335
  }[];
1334
1336
  detail?: string | undefined;
1335
1337
  }, {
1336
- kind: "agent_status";
1337
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1338
1338
  label: string;
1339
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1340
+ kind: "agent_status";
1339
1341
  role: string;
1340
1342
  agentId: string;
1341
1343
  sessionId: string;
1342
1344
  detail?: string | undefined;
1343
1345
  evidence?: {
1344
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
- label: string;
1346
1346
  id: string;
1347
+ label: string;
1348
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
1349
  capture: "at_action" | "historical_lookup" | "fixture";
1348
1350
  locator?: string | undefined;
1349
1351
  }[] | undefined;
@@ -1357,15 +1359,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1357
1359
  locator: z.ZodOptional<z.ZodString>;
1358
1360
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1359
1361
  }, "strict", z.ZodTypeAny, {
1360
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1361
- label: string;
1362
1362
  id: string;
1363
+ label: string;
1364
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1364
1366
  locator?: string | undefined;
1365
1367
  }, {
1366
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
- label: string;
1368
1368
  id: string;
1369
+ label: string;
1370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1371
  capture: "at_action" | "historical_lookup" | "fixture";
1370
1372
  locator?: string | undefined;
1371
1373
  }>, "many">>;
@@ -1373,28 +1375,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1373
1375
  sessionId: z.ZodString;
1374
1376
  kind: z.ZodLiteral<"agent_output">;
1375
1377
  }, "strict", z.ZodTypeAny, {
1376
- kind: "agent_output";
1377
1378
  summary: string;
1379
+ kind: "agent_output";
1378
1380
  agentId: string;
1379
1381
  sessionId: string;
1380
1382
  evidence: {
1381
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1382
- label: string;
1383
1383
  id: string;
1384
+ label: string;
1385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
1386
  capture: "at_action" | "historical_lookup" | "fixture";
1385
1387
  locator?: string | undefined;
1386
1388
  }[];
1387
1389
  outputId: string;
1388
1390
  }, {
1389
- kind: "agent_output";
1390
1391
  summary: string;
1392
+ kind: "agent_output";
1391
1393
  agentId: string;
1392
1394
  sessionId: string;
1393
1395
  outputId: string;
1394
1396
  evidence?: {
1395
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1396
- label: string;
1397
1397
  id: string;
1398
+ label: string;
1399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
1400
  capture: "at_action" | "historical_lookup" | "fixture";
1399
1401
  locator?: string | undefined;
1400
1402
  }[] | undefined;
@@ -1410,15 +1412,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1410
1412
  locator: z.ZodOptional<z.ZodString>;
1411
1413
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1412
1414
  }, "strict", z.ZodTypeAny, {
1413
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1414
- label: string;
1415
1415
  id: string;
1416
+ label: string;
1417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1418
  capture: "at_action" | "historical_lookup" | "fixture";
1417
1419
  locator?: string | undefined;
1418
1420
  }, {
1419
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
- label: string;
1421
1421
  id: string;
1422
+ label: string;
1423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1425
  locator?: string | undefined;
1424
1426
  }>, "many">>;
@@ -1431,9 +1433,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1431
1433
  statement: string;
1432
1434
  sessionId: string;
1433
1435
  evidence: {
1434
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
- label: string;
1436
1436
  id: string;
1437
+ label: string;
1438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
1439
  capture: "at_action" | "historical_lookup" | "fixture";
1438
1440
  locator?: string | undefined;
1439
1441
  }[];
@@ -1449,9 +1451,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1449
1451
  decisionId: string;
1450
1452
  confidence?: number | undefined;
1451
1453
  evidence?: {
1452
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1453
- label: string;
1454
1454
  id: string;
1455
+ label: string;
1456
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
1457
  capture: "at_action" | "historical_lookup" | "fixture";
1456
1458
  locator?: string | undefined;
1457
1459
  }[] | undefined;
@@ -1468,25 +1470,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1468
1470
  locator: z.ZodOptional<z.ZodString>;
1469
1471
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1470
1472
  }, "strict", z.ZodTypeAny, {
1471
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1472
- label: string;
1473
1473
  id: string;
1474
+ label: string;
1475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1476
  capture: "at_action" | "historical_lookup" | "fixture";
1475
1477
  locator?: string | undefined;
1476
1478
  }, {
1477
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
- label: string;
1479
1479
  id: string;
1480
+ label: string;
1481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1483
  locator?: string | undefined;
1482
1484
  }>, "many">>;
1483
1485
  }, "strict", z.ZodTypeAny, {
1484
- kind: "conflict_detected";
1485
1486
  summary: string;
1487
+ kind: "conflict_detected";
1486
1488
  evidence: {
1487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1488
- label: string;
1489
1489
  id: string;
1490
+ label: string;
1491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
1492
  capture: "at_action" | "historical_lookup" | "fixture";
1491
1493
  locator?: string | undefined;
1492
1494
  }[];
@@ -1494,15 +1496,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1494
1496
  decisionIds: string[];
1495
1497
  agentIds: string[];
1496
1498
  }, {
1497
- kind: "conflict_detected";
1498
1499
  summary: string;
1500
+ kind: "conflict_detected";
1499
1501
  conflictId: string;
1500
1502
  decisionIds: string[];
1501
1503
  agentIds: string[];
1502
1504
  evidence?: {
1503
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1504
- label: string;
1505
1505
  id: string;
1506
+ label: string;
1507
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
1508
  capture: "at_action" | "historical_lookup" | "fixture";
1507
1509
  locator?: string | undefined;
1508
1510
  }[] | undefined;
@@ -1522,27 +1524,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1522
1524
  locator: z.ZodOptional<z.ZodString>;
1523
1525
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1524
1526
  }, "strict", z.ZodTypeAny, {
1525
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1526
- label: string;
1527
1527
  id: string;
1528
+ label: string;
1529
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1529
1531
  locator?: string | undefined;
1530
1532
  }, {
1531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
- label: string;
1533
1533
  id: string;
1534
+ label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1535
1537
  locator?: string | undefined;
1536
1538
  }>, "many">>;
1537
1539
  }, "strict", z.ZodTypeAny, {
1538
- kind: "test_result";
1539
1540
  summary: string;
1540
1541
  status: "error" | "failed" | "passed";
1542
+ kind: "test_result";
1541
1543
  command: string;
1542
1544
  evidence: {
1543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
- label: string;
1545
1545
  id: string;
1546
+ label: string;
1547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1548
  capture: "at_action" | "historical_lookup" | "fixture";
1547
1549
  locator?: string | undefined;
1548
1550
  }[];
@@ -1551,17 +1553,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1551
1553
  durationMs?: number | undefined;
1552
1554
  correctionId?: string | undefined;
1553
1555
  }, {
1554
- kind: "test_result";
1555
1556
  summary: string;
1556
1557
  status: "error" | "failed" | "passed";
1558
+ kind: "test_result";
1557
1559
  command: string;
1558
1560
  decisionId: string;
1559
1561
  testId: string;
1560
1562
  durationMs?: number | undefined;
1561
1563
  evidence?: {
1562
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1563
- label: string;
1564
1564
  id: string;
1565
+ label: string;
1566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
1567
  capture: "at_action" | "historical_lookup" | "fixture";
1566
1568
  locator?: string | undefined;
1567
1569
  }[] | undefined;
@@ -1582,15 +1584,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1582
1584
  locator: z.ZodOptional<z.ZodString>;
1583
1585
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1584
1586
  }, "strict", z.ZodTypeAny, {
1585
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1586
- label: string;
1587
1587
  id: string;
1588
+ label: string;
1589
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1590
  capture: "at_action" | "historical_lookup" | "fixture";
1589
1591
  locator?: string | undefined;
1590
1592
  }, {
1591
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
- label: string;
1593
1593
  id: string;
1594
+ label: string;
1595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1597
  locator?: string | undefined;
1596
1598
  }>, "many">>;
@@ -1599,9 +1601,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1599
1601
  statement: string;
1600
1602
  rationale: string;
1601
1603
  evidence: {
1602
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1603
- label: string;
1604
1604
  id: string;
1605
+ label: string;
1606
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1605
1607
  capture: "at_action" | "historical_lookup" | "fixture";
1606
1608
  locator?: string | undefined;
1607
1609
  }[];
@@ -1620,9 +1622,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1620
1622
  supersedesDecisionIds: string[];
1621
1623
  proposedBy: string;
1622
1624
  evidence?: {
1623
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1624
- label: string;
1625
1625
  id: string;
1626
+ label: string;
1627
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
1628
  capture: "at_action" | "historical_lookup" | "fixture";
1627
1629
  locator?: string | undefined;
1628
1630
  }[] | undefined;
@@ -1634,13 +1636,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1634
1636
  id: z.ZodString;
1635
1637
  label: z.ZodString;
1636
1638
  }, "strict", z.ZodTypeAny, {
1637
- kind: "agent" | "human";
1638
- label: string;
1639
1639
  id: string;
1640
- }, {
1641
- kind: "agent" | "human";
1642
1640
  label: string;
1641
+ kind: "agent" | "human";
1642
+ }, {
1643
1643
  id: string;
1644
+ label: string;
1645
+ kind: "agent" | "human";
1644
1646
  }>;
1645
1647
  note: z.ZodOptional<z.ZodString>;
1646
1648
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1650,47 +1652,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1650
1652
  locator: z.ZodOptional<z.ZodString>;
1651
1653
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1652
1654
  }, "strict", z.ZodTypeAny, {
1653
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1654
- label: string;
1655
1655
  id: string;
1656
+ label: string;
1657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1658
  capture: "at_action" | "historical_lookup" | "fixture";
1657
1659
  locator?: string | undefined;
1658
1660
  }, {
1659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1660
- label: string;
1661
1661
  id: string;
1662
+ label: string;
1663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1664
  capture: "at_action" | "historical_lookup" | "fixture";
1663
1665
  locator?: string | undefined;
1664
1666
  }>, "many">>;
1665
1667
  }, "strict", z.ZodTypeAny, {
1666
1668
  kind: "correction_approved";
1667
1669
  evidence: {
1668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1669
- label: string;
1670
1670
  id: string;
1671
+ label: string;
1672
+ kind: "correction" | "source" | "memory" | "commit" | "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: "correction_approved";
1683
1685
  correctionId: string;
1684
1686
  approvedBy: {
1685
- kind: "agent" | "human";
1686
- label: string;
1687
1687
  id: string;
1688
+ label: string;
1689
+ kind: "agent" | "human";
1688
1690
  };
1689
1691
  note?: string | undefined;
1690
1692
  evidence?: {
1691
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1692
- label: string;
1693
1693
  id: string;
1694
+ label: string;
1695
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
1696
  capture: "at_action" | "historical_lookup" | "fixture";
1695
1697
  locator?: string | undefined;
1696
1698
  }[] | undefined;
@@ -1706,24 +1708,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1706
1708
  locator: z.ZodOptional<z.ZodString>;
1707
1709
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1708
1710
  }, "strict", z.ZodTypeAny, {
1709
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1710
- label: string;
1711
1711
  id: string;
1712
+ label: string;
1713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1714
  capture: "at_action" | "historical_lookup" | "fixture";
1713
1715
  locator?: string | undefined;
1714
1716
  }, {
1715
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
- label: string;
1717
1717
  id: string;
1718
+ label: string;
1719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1720
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1721
  locator?: string | undefined;
1720
1722
  }>, "many">>;
1721
1723
  }, "strict", z.ZodTypeAny, {
1722
1724
  kind: "decision_superseded";
1723
1725
  evidence: {
1724
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1725
- label: string;
1726
1726
  id: string;
1727
+ label: string;
1728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1729
  capture: "at_action" | "historical_lookup" | "fixture";
1728
1730
  locator?: string | undefined;
1729
1731
  }[];
@@ -1736,9 +1738,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1736
1738
  correctionId: string;
1737
1739
  replacementDecisionId: string;
1738
1740
  evidence?: {
1739
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1740
- label: string;
1741
1741
  id: string;
1742
+ label: string;
1743
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
1744
  capture: "at_action" | "historical_lookup" | "fixture";
1743
1745
  locator?: string | undefined;
1744
1746
  }[] | undefined;
@@ -1754,15 +1756,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1754
1756
  locator: z.ZodOptional<z.ZodString>;
1755
1757
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1756
1758
  }, "strict", z.ZodTypeAny, {
1757
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1758
- label: string;
1759
1759
  id: string;
1760
+ label: string;
1761
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1762
  capture: "at_action" | "historical_lookup" | "fixture";
1761
1763
  locator?: string | undefined;
1762
1764
  }, {
1763
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
- label: string;
1765
1765
  id: string;
1766
+ label: string;
1767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1768
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1769
  locator?: string | undefined;
1768
1770
  }>, "many">>;
@@ -1775,9 +1777,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1775
1777
  agentId: string;
1776
1778
  sessionId: string;
1777
1779
  evidence: {
1778
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1779
- label: string;
1780
1780
  id: string;
1781
+ label: string;
1782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1783
  capture: "at_action" | "historical_lookup" | "fixture";
1782
1784
  locator?: string | undefined;
1783
1785
  }[];
@@ -1793,9 +1795,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1793
1795
  recallReceiptId: string;
1794
1796
  capturedAtAction: boolean;
1795
1797
  evidence?: {
1796
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1797
- label: string;
1798
1798
  id: string;
1799
+ label: string;
1800
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1800
1802
  locator?: string | undefined;
1801
1803
  }[] | undefined;
@@ -1811,15 +1813,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1811
1813
  locator: z.ZodOptional<z.ZodString>;
1812
1814
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1813
1815
  }, "strict", z.ZodTypeAny, {
1814
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
- label: string;
1816
1816
  id: string;
1817
+ label: string;
1818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1818
1820
  locator?: string | undefined;
1819
1821
  }, {
1820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
- label: string;
1822
1822
  id: string;
1823
+ label: string;
1824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1825
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1826
  locator?: string | undefined;
1825
1827
  }>, "many">>;
@@ -1831,9 +1833,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1831
1833
  agentId: string;
1832
1834
  sessionId: string;
1833
1835
  evidence: {
1834
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1835
- label: string;
1836
1836
  id: string;
1837
+ label: string;
1838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
1839
  capture: "at_action" | "historical_lookup" | "fixture";
1838
1840
  locator?: string | undefined;
1839
1841
  }[];
@@ -1850,9 +1852,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1850
1852
  recallReceiptId: string;
1851
1853
  staleDecisionAbsent: boolean;
1852
1854
  evidence?: {
1853
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1854
- label: string;
1855
1855
  id: string;
1856
+ label: string;
1857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1857
1859
  locator?: string | undefined;
1858
1860
  }[] | undefined;
@@ -1867,37 +1869,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1867
1869
  locator: z.ZodOptional<z.ZodString>;
1868
1870
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1869
1871
  }, "strict", z.ZodTypeAny, {
1870
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
- label: string;
1872
1872
  id: string;
1873
+ label: string;
1874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1875
  capture: "at_action" | "historical_lookup" | "fixture";
1874
1876
  locator?: string | undefined;
1875
1877
  }, {
1876
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1877
- label: string;
1878
1878
  id: string;
1879
+ label: string;
1880
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1881
  capture: "at_action" | "historical_lookup" | "fixture";
1880
1882
  locator?: string | undefined;
1881
1883
  }>, "many">>;
1882
1884
  }, "strict", z.ZodTypeAny, {
1883
- kind: "mission_completed";
1884
1885
  summary: string;
1886
+ kind: "mission_completed";
1885
1887
  outcome: "failed" | "recovered" | "inconclusive";
1886
1888
  evidence: {
1887
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1888
- label: string;
1889
1889
  id: string;
1890
+ label: string;
1891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1890
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1891
1893
  locator?: string | undefined;
1892
1894
  }[];
1893
1895
  }, {
1894
- kind: "mission_completed";
1895
1896
  summary: string;
1897
+ kind: "mission_completed";
1896
1898
  outcome: "failed" | "recovered" | "inconclusive";
1897
1899
  evidence?: {
1898
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1899
- label: string;
1900
1900
  id: string;
1901
+ label: string;
1902
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1902
1904
  locator?: string | undefined;
1903
1905
  }[] | undefined;
@@ -1905,38 +1907,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1905
1907
  kind: "mission_started";
1906
1908
  title: string;
1907
1909
  evidence: {
1908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1909
- label: string;
1910
1910
  id: string;
1911
+ label: string;
1912
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
1913
  capture: "at_action" | "historical_lookup" | "fixture";
1912
1914
  locator?: string | undefined;
1913
1915
  }[];
1914
1916
  objective: string;
1915
1917
  runMode: "replay" | "fixture" | "live";
1916
1918
  } | {
1917
- kind: "agent_status";
1918
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1919
1919
  label: string;
1920
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1921
+ kind: "agent_status";
1920
1922
  role: string;
1921
1923
  agentId: string;
1922
1924
  sessionId: string;
1923
1925
  evidence: {
1924
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1925
- label: string;
1926
1926
  id: string;
1927
+ label: string;
1928
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1929
  capture: "at_action" | "historical_lookup" | "fixture";
1928
1930
  locator?: string | undefined;
1929
1931
  }[];
1930
1932
  detail?: string | undefined;
1931
1933
  } | {
1932
- kind: "agent_output";
1933
1934
  summary: string;
1935
+ kind: "agent_output";
1934
1936
  agentId: string;
1935
1937
  sessionId: string;
1936
1938
  evidence: {
1937
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1938
- label: string;
1939
1939
  id: string;
1940
+ label: string;
1941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1941
1943
  locator?: string | undefined;
1942
1944
  }[];
@@ -1947,9 +1949,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1947
1949
  statement: string;
1948
1950
  sessionId: string;
1949
1951
  evidence: {
1950
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1951
- label: string;
1952
1952
  id: string;
1953
+ label: string;
1954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1955
  capture: "at_action" | "historical_lookup" | "fixture";
1954
1956
  locator?: string | undefined;
1955
1957
  }[];
@@ -1957,12 +1959,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1957
1959
  decisionId: string;
1958
1960
  confidence?: number | undefined;
1959
1961
  } | {
1960
- kind: "conflict_detected";
1961
1962
  summary: string;
1963
+ kind: "conflict_detected";
1962
1964
  evidence: {
1963
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1964
- label: string;
1965
1965
  id: string;
1966
+ label: string;
1967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
1968
  capture: "at_action" | "historical_lookup" | "fixture";
1967
1969
  locator?: string | undefined;
1968
1970
  }[];
@@ -1970,14 +1972,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1970
1972
  decisionIds: string[];
1971
1973
  agentIds: string[];
1972
1974
  } | {
1973
- kind: "test_result";
1974
1975
  summary: string;
1975
1976
  status: "error" | "failed" | "passed";
1977
+ kind: "test_result";
1976
1978
  command: string;
1977
1979
  evidence: {
1978
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1979
- label: string;
1980
1980
  id: string;
1981
+ label: string;
1982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1983
  capture: "at_action" | "historical_lookup" | "fixture";
1982
1984
  locator?: string | undefined;
1983
1985
  }[];
@@ -1990,9 +1992,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1990
1992
  statement: string;
1991
1993
  rationale: string;
1992
1994
  evidence: {
1993
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1994
- label: string;
1995
1995
  id: string;
1996
+ label: string;
1997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
1998
  capture: "at_action" | "historical_lookup" | "fixture";
1997
1999
  locator?: string | undefined;
1998
2000
  }[];
@@ -2004,25 +2006,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2004
2006
  } | {
2005
2007
  kind: "correction_approved";
2006
2008
  evidence: {
2007
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2008
- label: string;
2009
2009
  id: string;
2010
+ label: string;
2011
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2012
  capture: "at_action" | "historical_lookup" | "fixture";
2011
2013
  locator?: string | undefined;
2012
2014
  }[];
2013
2015
  correctionId: string;
2014
2016
  approvedBy: {
2015
- kind: "agent" | "human";
2016
- label: string;
2017
2017
  id: string;
2018
+ label: string;
2019
+ kind: "agent" | "human";
2018
2020
  };
2019
2021
  note?: string | undefined;
2020
2022
  } | {
2021
2023
  kind: "decision_superseded";
2022
2024
  evidence: {
2023
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2024
- label: string;
2025
2025
  id: string;
2026
+ label: string;
2027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2026
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2027
2029
  locator?: string | undefined;
2028
2030
  }[];
@@ -2035,9 +2037,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2035
2037
  agentId: string;
2036
2038
  sessionId: string;
2037
2039
  evidence: {
2038
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2039
- label: string;
2040
2040
  id: string;
2041
+ label: string;
2042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
2043
  capture: "at_action" | "historical_lookup" | "fixture";
2042
2044
  locator?: string | undefined;
2043
2045
  }[];
@@ -2049,9 +2051,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2049
2051
  agentId: string;
2050
2052
  sessionId: string;
2051
2053
  evidence: {
2052
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2053
- label: string;
2054
2054
  id: string;
2055
+ label: string;
2056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
2057
  capture: "at_action" | "historical_lookup" | "fixture";
2056
2058
  locator?: string | undefined;
2057
2059
  }[];
@@ -2060,13 +2062,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2060
2062
  recallReceiptId: string;
2061
2063
  staleDecisionAbsent: boolean;
2062
2064
  } | {
2063
- kind: "mission_completed";
2064
2065
  summary: string;
2066
+ kind: "mission_completed";
2065
2067
  outcome: "failed" | "recovered" | "inconclusive";
2066
2068
  evidence: {
2067
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
- label: string;
2069
2069
  id: string;
2070
+ label: string;
2071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
2072
  capture: "at_action" | "historical_lookup" | "fixture";
2071
2073
  locator?: string | undefined;
2072
2074
  }[];
@@ -2076,37 +2078,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2076
2078
  objective: string;
2077
2079
  runMode: "replay" | "fixture" | "live";
2078
2080
  evidence?: {
2079
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2080
- label: string;
2081
2081
  id: string;
2082
+ label: string;
2083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2084
  capture: "at_action" | "historical_lookup" | "fixture";
2083
2085
  locator?: string | undefined;
2084
2086
  }[] | undefined;
2085
2087
  } | {
2086
- kind: "agent_status";
2087
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2088
2088
  label: string;
2089
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2090
+ kind: "agent_status";
2089
2091
  role: string;
2090
2092
  agentId: string;
2091
2093
  sessionId: string;
2092
2094
  detail?: string | undefined;
2093
2095
  evidence?: {
2094
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2095
- label: string;
2096
2096
  id: string;
2097
+ label: string;
2098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
2099
  capture: "at_action" | "historical_lookup" | "fixture";
2098
2100
  locator?: string | undefined;
2099
2101
  }[] | undefined;
2100
2102
  } | {
2101
- kind: "agent_output";
2102
2103
  summary: string;
2104
+ kind: "agent_output";
2103
2105
  agentId: string;
2104
2106
  sessionId: string;
2105
2107
  outputId: string;
2106
2108
  evidence?: {
2107
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2108
- label: string;
2109
2109
  id: string;
2110
+ label: string;
2111
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2110
2112
  capture: "at_action" | "historical_lookup" | "fixture";
2111
2113
  locator?: string | undefined;
2112
2114
  }[] | undefined;
@@ -2119,37 +2121,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2119
2121
  decisionId: string;
2120
2122
  confidence?: number | undefined;
2121
2123
  evidence?: {
2122
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2123
- label: string;
2124
2124
  id: string;
2125
+ label: string;
2126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
2127
  capture: "at_action" | "historical_lookup" | "fixture";
2126
2128
  locator?: string | undefined;
2127
2129
  }[] | undefined;
2128
2130
  } | {
2129
- kind: "conflict_detected";
2130
2131
  summary: string;
2132
+ kind: "conflict_detected";
2131
2133
  conflictId: string;
2132
2134
  decisionIds: string[];
2133
2135
  agentIds: string[];
2134
2136
  evidence?: {
2135
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2136
- label: string;
2137
2137
  id: string;
2138
+ label: string;
2139
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2139
2141
  locator?: string | undefined;
2140
2142
  }[] | undefined;
2141
2143
  } | {
2142
- kind: "test_result";
2143
2144
  summary: string;
2144
2145
  status: "error" | "failed" | "passed";
2146
+ kind: "test_result";
2145
2147
  command: string;
2146
2148
  decisionId: string;
2147
2149
  testId: string;
2148
2150
  durationMs?: number | undefined;
2149
2151
  evidence?: {
2150
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2151
- label: string;
2152
2152
  id: string;
2153
+ label: string;
2154
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2155
  capture: "at_action" | "historical_lookup" | "fixture";
2154
2156
  locator?: string | undefined;
2155
2157
  }[] | undefined;
@@ -2164,9 +2166,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2164
2166
  supersedesDecisionIds: string[];
2165
2167
  proposedBy: string;
2166
2168
  evidence?: {
2167
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2168
- label: string;
2169
2169
  id: string;
2170
+ label: string;
2171
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2170
2172
  capture: "at_action" | "historical_lookup" | "fixture";
2171
2173
  locator?: string | undefined;
2172
2174
  }[] | undefined;
@@ -2174,15 +2176,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2174
2176
  kind: "correction_approved";
2175
2177
  correctionId: string;
2176
2178
  approvedBy: {
2177
- kind: "agent" | "human";
2178
- label: string;
2179
2179
  id: string;
2180
+ label: string;
2181
+ kind: "agent" | "human";
2180
2182
  };
2181
2183
  note?: string | undefined;
2182
2184
  evidence?: {
2183
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2184
- label: string;
2185
2185
  id: string;
2186
+ label: string;
2187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
2188
  capture: "at_action" | "historical_lookup" | "fixture";
2187
2189
  locator?: string | undefined;
2188
2190
  }[] | undefined;
@@ -2192,9 +2194,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2192
2194
  correctionId: string;
2193
2195
  replacementDecisionId: string;
2194
2196
  evidence?: {
2195
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2196
- label: string;
2197
2197
  id: string;
2198
+ label: string;
2199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
2200
  capture: "at_action" | "historical_lookup" | "fixture";
2199
2201
  locator?: string | undefined;
2200
2202
  }[] | undefined;
@@ -2207,9 +2209,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2207
2209
  recallReceiptId: string;
2208
2210
  capturedAtAction: boolean;
2209
2211
  evidence?: {
2210
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
- label: string;
2212
2212
  id: string;
2213
+ label: string;
2214
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2215
  capture: "at_action" | "historical_lookup" | "fixture";
2214
2216
  locator?: string | undefined;
2215
2217
  }[] | undefined;
@@ -2222,20 +2224,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2222
2224
  recallReceiptId: string;
2223
2225
  staleDecisionAbsent: boolean;
2224
2226
  evidence?: {
2225
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2226
- label: string;
2227
2227
  id: string;
2228
+ label: string;
2229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2229
2231
  locator?: string | undefined;
2230
2232
  }[] | undefined;
2231
2233
  } | {
2232
- kind: "mission_completed";
2233
2234
  summary: string;
2235
+ kind: "mission_completed";
2234
2236
  outcome: "failed" | "recovered" | "inconclusive";
2235
2237
  evidence?: {
2236
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2237
- label: string;
2238
2238
  id: string;
2239
+ label: string;
2240
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2241
  capture: "at_action" | "historical_lookup" | "fixture";
2240
2242
  locator?: string | undefined;
2241
2243
  }[] | undefined;
@@ -2256,15 +2258,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2256
2258
  locator: z.ZodOptional<z.ZodString>;
2257
2259
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2258
2260
  }, "strict", z.ZodTypeAny, {
2259
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2260
- label: string;
2261
2261
  id: string;
2262
+ label: string;
2263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2264
  capture: "at_action" | "historical_lookup" | "fixture";
2263
2265
  locator?: string | undefined;
2264
2266
  }, {
2265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
- label: string;
2267
2267
  id: string;
2268
+ label: string;
2269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2271
  locator?: string | undefined;
2270
2272
  }>, "many">>;
@@ -2272,9 +2274,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2272
2274
  kind: "mission_started";
2273
2275
  title: string;
2274
2276
  evidence: {
2275
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2276
- label: string;
2277
2277
  id: string;
2278
+ label: string;
2279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
2280
  capture: "at_action" | "historical_lookup" | "fixture";
2279
2281
  locator?: string | undefined;
2280
2282
  }[];
@@ -2286,9 +2288,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2286
2288
  objective: string;
2287
2289
  runMode: "replay" | "fixture" | "live";
2288
2290
  evidence?: {
2289
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2290
- label: string;
2291
2291
  id: string;
2292
+ label: string;
2293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2292
2294
  capture: "at_action" | "historical_lookup" | "fixture";
2293
2295
  locator?: string | undefined;
2294
2296
  }[] | undefined;
@@ -2304,15 +2306,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2304
2306
  locator: z.ZodOptional<z.ZodString>;
2305
2307
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2306
2308
  }, "strict", z.ZodTypeAny, {
2307
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2308
- label: string;
2309
2309
  id: string;
2310
+ label: string;
2311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
2312
  capture: "at_action" | "historical_lookup" | "fixture";
2311
2313
  locator?: string | undefined;
2312
2314
  }, {
2313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
- label: string;
2315
2315
  id: string;
2316
+ label: string;
2317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2317
2319
  locator?: string | undefined;
2318
2320
  }>, "many">>;
@@ -2320,32 +2322,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2320
2322
  sessionId: z.ZodString;
2321
2323
  kind: z.ZodLiteral<"agent_status">;
2322
2324
  }, "strict", z.ZodTypeAny, {
2323
- kind: "agent_status";
2324
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2325
2325
  label: string;
2326
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2327
+ kind: "agent_status";
2326
2328
  role: string;
2327
2329
  agentId: string;
2328
2330
  sessionId: string;
2329
2331
  evidence: {
2330
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2331
- label: string;
2332
2332
  id: string;
2333
+ label: string;
2334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
2335
  capture: "at_action" | "historical_lookup" | "fixture";
2334
2336
  locator?: string | undefined;
2335
2337
  }[];
2336
2338
  detail?: string | undefined;
2337
2339
  }, {
2338
- kind: "agent_status";
2339
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2340
2340
  label: string;
2341
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2342
+ kind: "agent_status";
2341
2343
  role: string;
2342
2344
  agentId: string;
2343
2345
  sessionId: string;
2344
2346
  detail?: string | undefined;
2345
2347
  evidence?: {
2346
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
- label: string;
2348
2348
  id: string;
2349
+ label: string;
2350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2351
  capture: "at_action" | "historical_lookup" | "fixture";
2350
2352
  locator?: string | undefined;
2351
2353
  }[] | undefined;
@@ -2359,15 +2361,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2359
2361
  locator: z.ZodOptional<z.ZodString>;
2360
2362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2361
2363
  }, "strict", z.ZodTypeAny, {
2362
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2363
- label: string;
2364
2364
  id: string;
2365
+ label: string;
2366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2366
2368
  locator?: string | undefined;
2367
2369
  }, {
2368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
- label: string;
2370
2370
  id: string;
2371
+ label: string;
2372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2373
  capture: "at_action" | "historical_lookup" | "fixture";
2372
2374
  locator?: string | undefined;
2373
2375
  }>, "many">>;
@@ -2375,28 +2377,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2375
2377
  sessionId: z.ZodString;
2376
2378
  kind: z.ZodLiteral<"agent_output">;
2377
2379
  }, "strict", z.ZodTypeAny, {
2378
- kind: "agent_output";
2379
2380
  summary: string;
2381
+ kind: "agent_output";
2380
2382
  agentId: string;
2381
2383
  sessionId: string;
2382
2384
  evidence: {
2383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2384
- label: string;
2385
2385
  id: string;
2386
+ label: string;
2387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
2388
  capture: "at_action" | "historical_lookup" | "fixture";
2387
2389
  locator?: string | undefined;
2388
2390
  }[];
2389
2391
  outputId: string;
2390
2392
  }, {
2391
- kind: "agent_output";
2392
2393
  summary: string;
2394
+ kind: "agent_output";
2393
2395
  agentId: string;
2394
2396
  sessionId: string;
2395
2397
  outputId: string;
2396
2398
  evidence?: {
2397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2398
- label: string;
2399
2399
  id: string;
2400
+ label: string;
2401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
2402
  capture: "at_action" | "historical_lookup" | "fixture";
2401
2403
  locator?: string | undefined;
2402
2404
  }[] | undefined;
@@ -2412,15 +2414,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2412
2414
  locator: z.ZodOptional<z.ZodString>;
2413
2415
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2414
2416
  }, "strict", z.ZodTypeAny, {
2415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2416
- label: string;
2417
2417
  id: string;
2418
+ label: string;
2419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2420
  capture: "at_action" | "historical_lookup" | "fixture";
2419
2421
  locator?: string | undefined;
2420
2422
  }, {
2421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
- label: string;
2423
2423
  id: string;
2424
+ label: string;
2425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2427
  locator?: string | undefined;
2426
2428
  }>, "many">>;
@@ -2433,9 +2435,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2433
2435
  statement: string;
2434
2436
  sessionId: string;
2435
2437
  evidence: {
2436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
- label: string;
2438
2438
  id: string;
2439
+ label: string;
2440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
2441
  capture: "at_action" | "historical_lookup" | "fixture";
2440
2442
  locator?: string | undefined;
2441
2443
  }[];
@@ -2451,9 +2453,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2451
2453
  decisionId: string;
2452
2454
  confidence?: number | undefined;
2453
2455
  evidence?: {
2454
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2455
- label: string;
2456
2456
  id: string;
2457
+ label: string;
2458
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
2459
  capture: "at_action" | "historical_lookup" | "fixture";
2458
2460
  locator?: string | undefined;
2459
2461
  }[] | undefined;
@@ -2470,25 +2472,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2470
2472
  locator: z.ZodOptional<z.ZodString>;
2471
2473
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2472
2474
  }, "strict", z.ZodTypeAny, {
2473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2474
- label: string;
2475
2475
  id: string;
2476
+ label: string;
2477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2478
  capture: "at_action" | "historical_lookup" | "fixture";
2477
2479
  locator?: string | undefined;
2478
2480
  }, {
2479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
- label: string;
2481
2481
  id: string;
2482
+ label: string;
2483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2485
  locator?: string | undefined;
2484
2486
  }>, "many">>;
2485
2487
  }, "strict", z.ZodTypeAny, {
2486
- kind: "conflict_detected";
2487
2488
  summary: string;
2489
+ kind: "conflict_detected";
2488
2490
  evidence: {
2489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2490
- label: string;
2491
2491
  id: string;
2492
+ label: string;
2493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
2494
  capture: "at_action" | "historical_lookup" | "fixture";
2493
2495
  locator?: string | undefined;
2494
2496
  }[];
@@ -2496,15 +2498,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2496
2498
  decisionIds: string[];
2497
2499
  agentIds: string[];
2498
2500
  }, {
2499
- kind: "conflict_detected";
2500
2501
  summary: string;
2502
+ kind: "conflict_detected";
2501
2503
  conflictId: string;
2502
2504
  decisionIds: string[];
2503
2505
  agentIds: string[];
2504
2506
  evidence?: {
2505
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2506
- label: string;
2507
2507
  id: string;
2508
+ label: string;
2509
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
2510
  capture: "at_action" | "historical_lookup" | "fixture";
2509
2511
  locator?: string | undefined;
2510
2512
  }[] | undefined;
@@ -2524,27 +2526,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2524
2526
  locator: z.ZodOptional<z.ZodString>;
2525
2527
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2526
2528
  }, "strict", z.ZodTypeAny, {
2527
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2528
- label: string;
2529
2529
  id: string;
2530
+ label: string;
2531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2531
2533
  locator?: string | undefined;
2532
2534
  }, {
2533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
- label: string;
2535
2535
  id: string;
2536
+ label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2537
2539
  locator?: string | undefined;
2538
2540
  }>, "many">>;
2539
2541
  }, "strict", z.ZodTypeAny, {
2540
- kind: "test_result";
2541
2542
  summary: string;
2542
2543
  status: "error" | "failed" | "passed";
2544
+ kind: "test_result";
2543
2545
  command: string;
2544
2546
  evidence: {
2545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
- label: string;
2547
2547
  id: string;
2548
+ label: string;
2549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2550
  capture: "at_action" | "historical_lookup" | "fixture";
2549
2551
  locator?: string | undefined;
2550
2552
  }[];
@@ -2553,17 +2555,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2553
2555
  durationMs?: number | undefined;
2554
2556
  correctionId?: string | undefined;
2555
2557
  }, {
2556
- kind: "test_result";
2557
2558
  summary: string;
2558
2559
  status: "error" | "failed" | "passed";
2560
+ kind: "test_result";
2559
2561
  command: string;
2560
2562
  decisionId: string;
2561
2563
  testId: string;
2562
2564
  durationMs?: number | undefined;
2563
2565
  evidence?: {
2564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2565
- label: string;
2566
2566
  id: string;
2567
+ label: string;
2568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
2569
  capture: "at_action" | "historical_lookup" | "fixture";
2568
2570
  locator?: string | undefined;
2569
2571
  }[] | undefined;
@@ -2584,15 +2586,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2584
2586
  locator: z.ZodOptional<z.ZodString>;
2585
2587
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2586
2588
  }, "strict", z.ZodTypeAny, {
2587
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2588
- label: string;
2589
2589
  id: string;
2590
+ label: string;
2591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2592
  capture: "at_action" | "historical_lookup" | "fixture";
2591
2593
  locator?: string | undefined;
2592
2594
  }, {
2593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
- label: string;
2595
2595
  id: string;
2596
+ label: string;
2597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2599
  locator?: string | undefined;
2598
2600
  }>, "many">>;
@@ -2601,9 +2603,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2601
2603
  statement: string;
2602
2604
  rationale: string;
2603
2605
  evidence: {
2604
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2605
- label: string;
2606
2606
  id: string;
2607
+ label: string;
2608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2607
2609
  capture: "at_action" | "historical_lookup" | "fixture";
2608
2610
  locator?: string | undefined;
2609
2611
  }[];
@@ -2622,9 +2624,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2622
2624
  supersedesDecisionIds: string[];
2623
2625
  proposedBy: string;
2624
2626
  evidence?: {
2625
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2626
- label: string;
2627
2627
  id: string;
2628
+ label: string;
2629
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
2630
  capture: "at_action" | "historical_lookup" | "fixture";
2629
2631
  locator?: string | undefined;
2630
2632
  }[] | undefined;
@@ -2636,13 +2638,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2636
2638
  id: z.ZodString;
2637
2639
  label: z.ZodString;
2638
2640
  }, "strict", z.ZodTypeAny, {
2639
- kind: "agent" | "human";
2640
- label: string;
2641
2641
  id: string;
2642
- }, {
2643
- kind: "agent" | "human";
2644
2642
  label: string;
2643
+ kind: "agent" | "human";
2644
+ }, {
2645
2645
  id: string;
2646
+ label: string;
2647
+ kind: "agent" | "human";
2646
2648
  }>;
2647
2649
  note: z.ZodOptional<z.ZodString>;
2648
2650
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2652,47 +2654,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2652
2654
  locator: z.ZodOptional<z.ZodString>;
2653
2655
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2654
2656
  }, "strict", z.ZodTypeAny, {
2655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2656
- label: string;
2657
2657
  id: string;
2658
+ label: string;
2659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2660
  capture: "at_action" | "historical_lookup" | "fixture";
2659
2661
  locator?: string | undefined;
2660
2662
  }, {
2661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2662
- label: string;
2663
2663
  id: string;
2664
+ label: string;
2665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2666
  capture: "at_action" | "historical_lookup" | "fixture";
2665
2667
  locator?: string | undefined;
2666
2668
  }>, "many">>;
2667
2669
  }, "strict", z.ZodTypeAny, {
2668
2670
  kind: "correction_approved";
2669
2671
  evidence: {
2670
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2671
- label: string;
2672
2672
  id: string;
2673
+ label: string;
2674
+ kind: "correction" | "source" | "memory" | "commit" | "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: "correction_approved";
2685
2687
  correctionId: string;
2686
2688
  approvedBy: {
2687
- kind: "agent" | "human";
2688
- label: string;
2689
2689
  id: string;
2690
+ label: string;
2691
+ kind: "agent" | "human";
2690
2692
  };
2691
2693
  note?: string | undefined;
2692
2694
  evidence?: {
2693
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2694
- label: string;
2695
2695
  id: string;
2696
+ label: string;
2697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
2698
  capture: "at_action" | "historical_lookup" | "fixture";
2697
2699
  locator?: string | undefined;
2698
2700
  }[] | undefined;
@@ -2708,24 +2710,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2708
2710
  locator: z.ZodOptional<z.ZodString>;
2709
2711
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2710
2712
  }, "strict", z.ZodTypeAny, {
2711
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2712
- label: string;
2713
2713
  id: string;
2714
+ label: string;
2715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2716
  capture: "at_action" | "historical_lookup" | "fixture";
2715
2717
  locator?: string | undefined;
2716
2718
  }, {
2717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
- label: string;
2719
2719
  id: string;
2720
+ label: string;
2721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2722
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2723
  locator?: string | undefined;
2722
2724
  }>, "many">>;
2723
2725
  }, "strict", z.ZodTypeAny, {
2724
2726
  kind: "decision_superseded";
2725
2727
  evidence: {
2726
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2727
- label: string;
2728
2728
  id: string;
2729
+ label: string;
2730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2731
  capture: "at_action" | "historical_lookup" | "fixture";
2730
2732
  locator?: string | undefined;
2731
2733
  }[];
@@ -2738,9 +2740,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2738
2740
  correctionId: string;
2739
2741
  replacementDecisionId: string;
2740
2742
  evidence?: {
2741
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2742
- label: string;
2743
2743
  id: string;
2744
+ label: string;
2745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
2746
  capture: "at_action" | "historical_lookup" | "fixture";
2745
2747
  locator?: string | undefined;
2746
2748
  }[] | undefined;
@@ -2756,15 +2758,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2756
2758
  locator: z.ZodOptional<z.ZodString>;
2757
2759
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2758
2760
  }, "strict", z.ZodTypeAny, {
2759
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2760
- label: string;
2761
2761
  id: string;
2762
+ label: string;
2763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2764
  capture: "at_action" | "historical_lookup" | "fixture";
2763
2765
  locator?: string | undefined;
2764
2766
  }, {
2765
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
- label: string;
2767
2767
  id: string;
2768
+ label: string;
2769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2770
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2771
  locator?: string | undefined;
2770
2772
  }>, "many">>;
@@ -2777,9 +2779,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2777
2779
  agentId: string;
2778
2780
  sessionId: string;
2779
2781
  evidence: {
2780
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2781
- label: string;
2782
2782
  id: string;
2783
+ label: string;
2784
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2785
  capture: "at_action" | "historical_lookup" | "fixture";
2784
2786
  locator?: string | undefined;
2785
2787
  }[];
@@ -2795,9 +2797,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2795
2797
  recallReceiptId: string;
2796
2798
  capturedAtAction: boolean;
2797
2799
  evidence?: {
2798
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2799
- label: string;
2800
2800
  id: string;
2801
+ label: string;
2802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2802
2804
  locator?: string | undefined;
2803
2805
  }[] | undefined;
@@ -2813,15 +2815,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2813
2815
  locator: z.ZodOptional<z.ZodString>;
2814
2816
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2815
2817
  }, "strict", z.ZodTypeAny, {
2816
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
- label: string;
2818
2818
  id: string;
2819
+ label: string;
2820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2820
2822
  locator?: string | undefined;
2821
2823
  }, {
2822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
- label: string;
2824
2824
  id: string;
2825
+ label: string;
2826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2827
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2828
  locator?: string | undefined;
2827
2829
  }>, "many">>;
@@ -2833,9 +2835,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2833
2835
  agentId: string;
2834
2836
  sessionId: string;
2835
2837
  evidence: {
2836
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2837
- label: string;
2838
2838
  id: string;
2839
+ label: string;
2840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
2841
  capture: "at_action" | "historical_lookup" | "fixture";
2840
2842
  locator?: string | undefined;
2841
2843
  }[];
@@ -2852,9 +2854,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2852
2854
  recallReceiptId: string;
2853
2855
  staleDecisionAbsent: boolean;
2854
2856
  evidence?: {
2855
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2856
- label: string;
2857
2857
  id: string;
2858
+ label: string;
2859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2859
2861
  locator?: string | undefined;
2860
2862
  }[] | undefined;
@@ -2869,37 +2871,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2869
2871
  locator: z.ZodOptional<z.ZodString>;
2870
2872
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2871
2873
  }, "strict", z.ZodTypeAny, {
2872
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
- label: string;
2874
2874
  id: string;
2875
+ label: string;
2876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2877
  capture: "at_action" | "historical_lookup" | "fixture";
2876
2878
  locator?: string | undefined;
2877
2879
  }, {
2878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2879
- label: string;
2880
2880
  id: string;
2881
+ label: string;
2882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2883
  capture: "at_action" | "historical_lookup" | "fixture";
2882
2884
  locator?: string | undefined;
2883
2885
  }>, "many">>;
2884
2886
  }, "strict", z.ZodTypeAny, {
2885
- kind: "mission_completed";
2886
2887
  summary: string;
2888
+ kind: "mission_completed";
2887
2889
  outcome: "failed" | "recovered" | "inconclusive";
2888
2890
  evidence: {
2889
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
- label: string;
2891
2891
  id: string;
2892
+ label: string;
2893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2893
2895
  locator?: string | undefined;
2894
2896
  }[];
2895
2897
  }, {
2896
- kind: "mission_completed";
2897
2898
  summary: string;
2899
+ kind: "mission_completed";
2898
2900
  outcome: "failed" | "recovered" | "inconclusive";
2899
2901
  evidence?: {
2900
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2901
- label: string;
2902
2902
  id: string;
2903
+ label: string;
2904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
2905
  capture: "at_action" | "historical_lookup" | "fixture";
2904
2906
  locator?: string | undefined;
2905
2907
  }[] | undefined;
@@ -2907,38 +2909,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2907
2909
  kind: "mission_started";
2908
2910
  title: string;
2909
2911
  evidence: {
2910
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2911
- label: string;
2912
2912
  id: string;
2913
+ label: string;
2914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2913
2915
  capture: "at_action" | "historical_lookup" | "fixture";
2914
2916
  locator?: string | undefined;
2915
2917
  }[];
2916
2918
  objective: string;
2917
2919
  runMode: "replay" | "fixture" | "live";
2918
2920
  } | {
2919
- kind: "agent_status";
2920
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2921
2921
  label: string;
2922
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2923
+ kind: "agent_status";
2922
2924
  role: string;
2923
2925
  agentId: string;
2924
2926
  sessionId: string;
2925
2927
  evidence: {
2926
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2927
- label: string;
2928
2928
  id: string;
2929
+ label: string;
2930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
2931
  capture: "at_action" | "historical_lookup" | "fixture";
2930
2932
  locator?: string | undefined;
2931
2933
  }[];
2932
2934
  detail?: string | undefined;
2933
2935
  } | {
2934
- kind: "agent_output";
2935
2936
  summary: string;
2937
+ kind: "agent_output";
2936
2938
  agentId: string;
2937
2939
  sessionId: string;
2938
2940
  evidence: {
2939
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2940
- label: string;
2941
2941
  id: string;
2942
+ label: string;
2943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
2944
  capture: "at_action" | "historical_lookup" | "fixture";
2943
2945
  locator?: string | undefined;
2944
2946
  }[];
@@ -2949,9 +2951,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2949
2951
  statement: string;
2950
2952
  sessionId: string;
2951
2953
  evidence: {
2952
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2953
- label: string;
2954
2954
  id: string;
2955
+ label: string;
2956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2955
2957
  capture: "at_action" | "historical_lookup" | "fixture";
2956
2958
  locator?: string | undefined;
2957
2959
  }[];
@@ -2959,12 +2961,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2959
2961
  decisionId: string;
2960
2962
  confidence?: number | undefined;
2961
2963
  } | {
2962
- kind: "conflict_detected";
2963
2964
  summary: string;
2965
+ kind: "conflict_detected";
2964
2966
  evidence: {
2965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2966
- label: string;
2967
2967
  id: string;
2968
+ label: string;
2969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
2970
  capture: "at_action" | "historical_lookup" | "fixture";
2969
2971
  locator?: string | undefined;
2970
2972
  }[];
@@ -2972,14 +2974,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2972
2974
  decisionIds: string[];
2973
2975
  agentIds: string[];
2974
2976
  } | {
2975
- kind: "test_result";
2976
2977
  summary: string;
2977
2978
  status: "error" | "failed" | "passed";
2979
+ kind: "test_result";
2978
2980
  command: string;
2979
2981
  evidence: {
2980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2981
- label: string;
2982
2982
  id: string;
2983
+ label: string;
2984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
2985
  capture: "at_action" | "historical_lookup" | "fixture";
2984
2986
  locator?: string | undefined;
2985
2987
  }[];
@@ -2992,9 +2994,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2992
2994
  statement: string;
2993
2995
  rationale: string;
2994
2996
  evidence: {
2995
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2996
- label: string;
2997
2997
  id: string;
2998
+ label: string;
2999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2998
3000
  capture: "at_action" | "historical_lookup" | "fixture";
2999
3001
  locator?: string | undefined;
3000
3002
  }[];
@@ -3006,25 +3008,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3006
3008
  } | {
3007
3009
  kind: "correction_approved";
3008
3010
  evidence: {
3009
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3010
- label: string;
3011
3011
  id: string;
3012
+ label: string;
3013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
3014
  capture: "at_action" | "historical_lookup" | "fixture";
3013
3015
  locator?: string | undefined;
3014
3016
  }[];
3015
3017
  correctionId: string;
3016
3018
  approvedBy: {
3017
- kind: "agent" | "human";
3018
- label: string;
3019
3019
  id: string;
3020
+ label: string;
3021
+ kind: "agent" | "human";
3020
3022
  };
3021
3023
  note?: string | undefined;
3022
3024
  } | {
3023
3025
  kind: "decision_superseded";
3024
3026
  evidence: {
3025
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3026
- label: string;
3027
3027
  id: string;
3028
+ label: string;
3029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
3030
  capture: "at_action" | "historical_lookup" | "fixture";
3029
3031
  locator?: string | undefined;
3030
3032
  }[];
@@ -3037,9 +3039,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3037
3039
  agentId: string;
3038
3040
  sessionId: string;
3039
3041
  evidence: {
3040
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3041
- label: string;
3042
3042
  id: string;
3043
+ label: string;
3044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3043
3045
  capture: "at_action" | "historical_lookup" | "fixture";
3044
3046
  locator?: string | undefined;
3045
3047
  }[];
@@ -3051,9 +3053,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3051
3053
  agentId: string;
3052
3054
  sessionId: string;
3053
3055
  evidence: {
3054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3055
- label: string;
3056
3056
  id: string;
3057
+ label: string;
3058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3059
  capture: "at_action" | "historical_lookup" | "fixture";
3058
3060
  locator?: string | undefined;
3059
3061
  }[];
@@ -3062,13 +3064,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3062
3064
  recallReceiptId: string;
3063
3065
  staleDecisionAbsent: boolean;
3064
3066
  } | {
3065
- kind: "mission_completed";
3066
3067
  summary: string;
3068
+ kind: "mission_completed";
3067
3069
  outcome: "failed" | "recovered" | "inconclusive";
3068
3070
  evidence: {
3069
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3070
- label: string;
3071
3071
  id: string;
3072
+ label: string;
3073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
3074
  capture: "at_action" | "historical_lookup" | "fixture";
3073
3075
  locator?: string | undefined;
3074
3076
  }[];
@@ -3078,37 +3080,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3078
3080
  objective: string;
3079
3081
  runMode: "replay" | "fixture" | "live";
3080
3082
  evidence?: {
3081
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3082
- label: string;
3083
3083
  id: string;
3084
+ label: string;
3085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
3086
  capture: "at_action" | "historical_lookup" | "fixture";
3085
3087
  locator?: string | undefined;
3086
3088
  }[] | undefined;
3087
3089
  } | {
3088
- kind: "agent_status";
3089
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3090
3090
  label: string;
3091
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3092
+ kind: "agent_status";
3091
3093
  role: string;
3092
3094
  agentId: string;
3093
3095
  sessionId: string;
3094
3096
  detail?: string | undefined;
3095
3097
  evidence?: {
3096
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3097
- label: string;
3098
3098
  id: string;
3099
+ label: string;
3100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
3101
  capture: "at_action" | "historical_lookup" | "fixture";
3100
3102
  locator?: string | undefined;
3101
3103
  }[] | undefined;
3102
3104
  } | {
3103
- kind: "agent_output";
3104
3105
  summary: string;
3106
+ kind: "agent_output";
3105
3107
  agentId: string;
3106
3108
  sessionId: string;
3107
3109
  outputId: string;
3108
3110
  evidence?: {
3109
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3110
- label: string;
3111
3111
  id: string;
3112
+ label: string;
3113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
3114
  capture: "at_action" | "historical_lookup" | "fixture";
3113
3115
  locator?: string | undefined;
3114
3116
  }[] | undefined;
@@ -3121,37 +3123,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3121
3123
  decisionId: string;
3122
3124
  confidence?: number | undefined;
3123
3125
  evidence?: {
3124
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3125
- label: string;
3126
3126
  id: string;
3127
+ label: string;
3128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
3129
  capture: "at_action" | "historical_lookup" | "fixture";
3128
3130
  locator?: string | undefined;
3129
3131
  }[] | undefined;
3130
3132
  } | {
3131
- kind: "conflict_detected";
3132
3133
  summary: string;
3134
+ kind: "conflict_detected";
3133
3135
  conflictId: string;
3134
3136
  decisionIds: string[];
3135
3137
  agentIds: string[];
3136
3138
  evidence?: {
3137
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3138
- label: string;
3139
3139
  id: string;
3140
+ label: string;
3141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
3142
  capture: "at_action" | "historical_lookup" | "fixture";
3141
3143
  locator?: string | undefined;
3142
3144
  }[] | undefined;
3143
3145
  } | {
3144
- kind: "test_result";
3145
3146
  summary: string;
3146
3147
  status: "error" | "failed" | "passed";
3148
+ kind: "test_result";
3147
3149
  command: string;
3148
3150
  decisionId: string;
3149
3151
  testId: string;
3150
3152
  durationMs?: number | undefined;
3151
3153
  evidence?: {
3152
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3153
- label: string;
3154
3154
  id: string;
3155
+ label: string;
3156
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3157
  capture: "at_action" | "historical_lookup" | "fixture";
3156
3158
  locator?: string | undefined;
3157
3159
  }[] | undefined;
@@ -3166,9 +3168,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3166
3168
  supersedesDecisionIds: string[];
3167
3169
  proposedBy: string;
3168
3170
  evidence?: {
3169
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3170
- label: string;
3171
3171
  id: string;
3172
+ label: string;
3173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3172
3174
  capture: "at_action" | "historical_lookup" | "fixture";
3173
3175
  locator?: string | undefined;
3174
3176
  }[] | undefined;
@@ -3176,15 +3178,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3176
3178
  kind: "correction_approved";
3177
3179
  correctionId: string;
3178
3180
  approvedBy: {
3179
- kind: "agent" | "human";
3180
- label: string;
3181
3181
  id: string;
3182
+ label: string;
3183
+ kind: "agent" | "human";
3182
3184
  };
3183
3185
  note?: string | undefined;
3184
3186
  evidence?: {
3185
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3186
- label: string;
3187
3187
  id: string;
3188
+ label: string;
3189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3190
  capture: "at_action" | "historical_lookup" | "fixture";
3189
3191
  locator?: string | undefined;
3190
3192
  }[] | undefined;
@@ -3194,9 +3196,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3194
3196
  correctionId: string;
3195
3197
  replacementDecisionId: string;
3196
3198
  evidence?: {
3197
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3198
- label: string;
3199
3199
  id: string;
3200
+ label: string;
3201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3202
  capture: "at_action" | "historical_lookup" | "fixture";
3201
3203
  locator?: string | undefined;
3202
3204
  }[] | undefined;
@@ -3209,9 +3211,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3209
3211
  recallReceiptId: string;
3210
3212
  capturedAtAction: boolean;
3211
3213
  evidence?: {
3212
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3213
- label: string;
3214
3214
  id: string;
3215
+ label: string;
3216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
3217
  capture: "at_action" | "historical_lookup" | "fixture";
3216
3218
  locator?: string | undefined;
3217
3219
  }[] | undefined;
@@ -3224,20 +3226,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3224
3226
  recallReceiptId: string;
3225
3227
  staleDecisionAbsent: boolean;
3226
3228
  evidence?: {
3227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3228
- label: string;
3229
3229
  id: string;
3230
+ label: string;
3231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3232
  capture: "at_action" | "historical_lookup" | "fixture";
3231
3233
  locator?: string | undefined;
3232
3234
  }[] | undefined;
3233
3235
  } | {
3234
- kind: "mission_completed";
3235
3236
  summary: string;
3237
+ kind: "mission_completed";
3236
3238
  outcome: "failed" | "recovered" | "inconclusive";
3237
3239
  evidence?: {
3238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3239
- label: string;
3240
3240
  id: string;
3241
+ label: string;
3242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3241
3243
  capture: "at_action" | "historical_lookup" | "fixture";
3242
3244
  locator?: string | undefined;
3243
3245
  }[] | undefined;
@@ -3247,38 +3249,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3247
3249
  kind: "mission_started";
3248
3250
  title: string;
3249
3251
  evidence: {
3250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3251
- label: string;
3252
3252
  id: string;
3253
+ label: string;
3254
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
3255
  capture: "at_action" | "historical_lookup" | "fixture";
3254
3256
  locator?: string | undefined;
3255
3257
  }[];
3256
3258
  objective: string;
3257
3259
  runMode: "replay" | "fixture" | "live";
3258
3260
  } | {
3259
- kind: "agent_status";
3260
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3261
3261
  label: string;
3262
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3263
+ kind: "agent_status";
3262
3264
  role: string;
3263
3265
  agentId: string;
3264
3266
  sessionId: string;
3265
3267
  evidence: {
3266
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3267
- label: string;
3268
3268
  id: string;
3269
+ label: string;
3270
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3269
3271
  capture: "at_action" | "historical_lookup" | "fixture";
3270
3272
  locator?: string | undefined;
3271
3273
  }[];
3272
3274
  detail?: string | undefined;
3273
3275
  } | {
3274
- kind: "agent_output";
3275
3276
  summary: string;
3277
+ kind: "agent_output";
3276
3278
  agentId: string;
3277
3279
  sessionId: string;
3278
3280
  evidence: {
3279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
- label: string;
3281
3281
  id: string;
3282
+ label: string;
3283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3284
  capture: "at_action" | "historical_lookup" | "fixture";
3283
3285
  locator?: string | undefined;
3284
3286
  }[];
@@ -3289,9 +3291,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3289
3291
  statement: string;
3290
3292
  sessionId: string;
3291
3293
  evidence: {
3292
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
- label: string;
3294
3294
  id: string;
3295
+ label: string;
3296
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3296
3298
  locator?: string | undefined;
3297
3299
  }[];
@@ -3299,12 +3301,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3299
3301
  decisionId: string;
3300
3302
  confidence?: number | undefined;
3301
3303
  } | {
3302
- kind: "conflict_detected";
3303
3304
  summary: string;
3305
+ kind: "conflict_detected";
3304
3306
  evidence: {
3305
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
- label: string;
3307
3307
  id: string;
3308
+ label: string;
3309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3310
  capture: "at_action" | "historical_lookup" | "fixture";
3309
3311
  locator?: string | undefined;
3310
3312
  }[];
@@ -3312,14 +3314,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3312
3314
  decisionIds: string[];
3313
3315
  agentIds: string[];
3314
3316
  } | {
3315
- kind: "test_result";
3316
3317
  summary: string;
3317
3318
  status: "error" | "failed" | "passed";
3319
+ kind: "test_result";
3318
3320
  command: string;
3319
3321
  evidence: {
3320
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3321
- label: string;
3322
3322
  id: string;
3323
+ label: string;
3324
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
3325
  capture: "at_action" | "historical_lookup" | "fixture";
3324
3326
  locator?: string | undefined;
3325
3327
  }[];
@@ -3332,9 +3334,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3332
3334
  statement: string;
3333
3335
  rationale: string;
3334
3336
  evidence: {
3335
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
- label: string;
3337
3337
  id: string;
3338
+ label: string;
3339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
3340
  capture: "at_action" | "historical_lookup" | "fixture";
3339
3341
  locator?: string | undefined;
3340
3342
  }[];
@@ -3346,25 +3348,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3346
3348
  } | {
3347
3349
  kind: "correction_approved";
3348
3350
  evidence: {
3349
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3350
- label: string;
3351
3351
  id: string;
3352
+ label: string;
3353
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
3354
  capture: "at_action" | "historical_lookup" | "fixture";
3353
3355
  locator?: string | undefined;
3354
3356
  }[];
3355
3357
  correctionId: string;
3356
3358
  approvedBy: {
3357
- kind: "agent" | "human";
3358
- label: string;
3359
3359
  id: string;
3360
+ label: string;
3361
+ kind: "agent" | "human";
3360
3362
  };
3361
3363
  note?: string | undefined;
3362
3364
  } | {
3363
3365
  kind: "decision_superseded";
3364
3366
  evidence: {
3365
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3366
- label: string;
3367
3367
  id: string;
3368
+ label: string;
3369
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3370
  capture: "at_action" | "historical_lookup" | "fixture";
3369
3371
  locator?: string | undefined;
3370
3372
  }[];
@@ -3377,9 +3379,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3377
3379
  agentId: string;
3378
3380
  sessionId: string;
3379
3381
  evidence: {
3380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3381
- label: string;
3382
3382
  id: string;
3383
+ label: string;
3384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
3385
  capture: "at_action" | "historical_lookup" | "fixture";
3384
3386
  locator?: string | undefined;
3385
3387
  }[];
@@ -3391,9 +3393,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3391
3393
  agentId: string;
3392
3394
  sessionId: string;
3393
3395
  evidence: {
3394
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3395
- label: string;
3396
3396
  id: string;
3397
+ label: string;
3398
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
3399
  capture: "at_action" | "historical_lookup" | "fixture";
3398
3400
  locator?: string | undefined;
3399
3401
  }[];
@@ -3402,13 +3404,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3402
3404
  recallReceiptId: string;
3403
3405
  staleDecisionAbsent: boolean;
3404
3406
  } | {
3405
- kind: "mission_completed";
3406
3407
  summary: string;
3408
+ kind: "mission_completed";
3407
3409
  outcome: "failed" | "recovered" | "inconclusive";
3408
3410
  evidence: {
3409
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3410
- label: string;
3411
3411
  id: string;
3412
+ label: string;
3413
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
3414
  capture: "at_action" | "historical_lookup" | "fixture";
3413
3415
  locator?: string | undefined;
3414
3416
  }[];
@@ -3422,37 +3424,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3422
3424
  objective: string;
3423
3425
  runMode: "replay" | "fixture" | "live";
3424
3426
  evidence?: {
3425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3426
- label: string;
3427
3427
  id: string;
3428
+ label: string;
3429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
3430
  capture: "at_action" | "historical_lookup" | "fixture";
3429
3431
  locator?: string | undefined;
3430
3432
  }[] | undefined;
3431
3433
  } | {
3432
- kind: "agent_status";
3433
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3434
3434
  label: string;
3435
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3436
+ kind: "agent_status";
3435
3437
  role: string;
3436
3438
  agentId: string;
3437
3439
  sessionId: string;
3438
3440
  detail?: string | undefined;
3439
3441
  evidence?: {
3440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
- label: string;
3442
3442
  id: string;
3443
+ label: string;
3444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3444
3446
  locator?: string | undefined;
3445
3447
  }[] | undefined;
3446
3448
  } | {
3447
- kind: "agent_output";
3448
3449
  summary: string;
3450
+ kind: "agent_output";
3449
3451
  agentId: string;
3450
3452
  sessionId: string;
3451
3453
  outputId: string;
3452
3454
  evidence?: {
3453
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3454
- label: string;
3455
3455
  id: string;
3456
+ label: string;
3457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
3458
  capture: "at_action" | "historical_lookup" | "fixture";
3457
3459
  locator?: string | undefined;
3458
3460
  }[] | undefined;
@@ -3465,37 +3467,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3465
3467
  decisionId: string;
3466
3468
  confidence?: number | undefined;
3467
3469
  evidence?: {
3468
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3469
- label: string;
3470
3470
  id: string;
3471
+ label: string;
3472
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3472
3474
  locator?: string | undefined;
3473
3475
  }[] | undefined;
3474
3476
  } | {
3475
- kind: "conflict_detected";
3476
3477
  summary: string;
3478
+ kind: "conflict_detected";
3477
3479
  conflictId: string;
3478
3480
  decisionIds: string[];
3479
3481
  agentIds: string[];
3480
3482
  evidence?: {
3481
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3482
- label: string;
3483
3483
  id: string;
3484
+ label: string;
3485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
3486
  capture: "at_action" | "historical_lookup" | "fixture";
3485
3487
  locator?: string | undefined;
3486
3488
  }[] | undefined;
3487
3489
  } | {
3488
- kind: "test_result";
3489
3490
  summary: string;
3490
3491
  status: "error" | "failed" | "passed";
3492
+ kind: "test_result";
3491
3493
  command: string;
3492
3494
  decisionId: string;
3493
3495
  testId: string;
3494
3496
  durationMs?: number | undefined;
3495
3497
  evidence?: {
3496
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3497
- label: string;
3498
3498
  id: string;
3499
+ label: string;
3500
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3499
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3500
3502
  locator?: string | undefined;
3501
3503
  }[] | undefined;
@@ -3510,9 +3512,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3510
3512
  supersedesDecisionIds: string[];
3511
3513
  proposedBy: string;
3512
3514
  evidence?: {
3513
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3514
- label: string;
3515
3515
  id: string;
3516
+ label: string;
3517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
3518
  capture: "at_action" | "historical_lookup" | "fixture";
3517
3519
  locator?: string | undefined;
3518
3520
  }[] | undefined;
@@ -3520,15 +3522,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3520
3522
  kind: "correction_approved";
3521
3523
  correctionId: string;
3522
3524
  approvedBy: {
3523
- kind: "agent" | "human";
3524
- label: string;
3525
3525
  id: string;
3526
+ label: string;
3527
+ kind: "agent" | "human";
3526
3528
  };
3527
3529
  note?: string | undefined;
3528
3530
  evidence?: {
3529
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3530
- label: string;
3531
3531
  id: string;
3532
+ label: string;
3533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
3534
  capture: "at_action" | "historical_lookup" | "fixture";
3533
3535
  locator?: string | undefined;
3534
3536
  }[] | undefined;
@@ -3538,9 +3540,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3538
3540
  correctionId: string;
3539
3541
  replacementDecisionId: string;
3540
3542
  evidence?: {
3541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3542
- label: string;
3543
3543
  id: string;
3544
+ label: string;
3545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3544
3546
  capture: "at_action" | "historical_lookup" | "fixture";
3545
3547
  locator?: string | undefined;
3546
3548
  }[] | undefined;
@@ -3553,9 +3555,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3553
3555
  recallReceiptId: string;
3554
3556
  capturedAtAction: boolean;
3555
3557
  evidence?: {
3556
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3557
- label: string;
3558
3558
  id: string;
3559
+ label: string;
3560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3561
  capture: "at_action" | "historical_lookup" | "fixture";
3560
3562
  locator?: string | undefined;
3561
3563
  }[] | undefined;
@@ -3568,20 +3570,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3568
3570
  recallReceiptId: string;
3569
3571
  staleDecisionAbsent: boolean;
3570
3572
  evidence?: {
3571
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3572
- label: string;
3573
3573
  id: string;
3574
+ label: string;
3575
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
3576
  capture: "at_action" | "historical_lookup" | "fixture";
3575
3577
  locator?: string | undefined;
3576
3578
  }[] | undefined;
3577
3579
  } | {
3578
- kind: "mission_completed";
3579
3580
  summary: string;
3581
+ kind: "mission_completed";
3580
3582
  outcome: "failed" | "recovered" | "inconclusive";
3581
3583
  evidence?: {
3582
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3583
- label: string;
3584
3584
  id: string;
3585
+ label: string;
3586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
3587
  capture: "at_action" | "historical_lookup" | "fixture";
3586
3588
  locator?: string | undefined;
3587
3589
  }[] | undefined;
@@ -3611,15 +3613,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3611
3613
  locator: z.ZodOptional<z.ZodString>;
3612
3614
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3613
3615
  }, "strict", z.ZodTypeAny, {
3614
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3615
- label: string;
3616
3616
  id: string;
3617
+ label: string;
3618
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
3619
  capture: "at_action" | "historical_lookup" | "fixture";
3618
3620
  locator?: string | undefined;
3619
3621
  }, {
3620
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
- label: string;
3622
3622
  id: string;
3623
+ label: string;
3624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3626
  locator?: string | undefined;
3625
3627
  }>, "many">>;
@@ -3627,9 +3629,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3627
3629
  kind: "mission_started";
3628
3630
  title: string;
3629
3631
  evidence: {
3630
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3631
- label: string;
3632
3632
  id: string;
3633
+ label: string;
3634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3633
3635
  capture: "at_action" | "historical_lookup" | "fixture";
3634
3636
  locator?: string | undefined;
3635
3637
  }[];
@@ -3641,9 +3643,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3641
3643
  objective: string;
3642
3644
  runMode: "replay" | "fixture" | "live";
3643
3645
  evidence?: {
3644
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3645
- label: string;
3646
3646
  id: string;
3647
+ label: string;
3648
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
3649
  capture: "at_action" | "historical_lookup" | "fixture";
3648
3650
  locator?: string | undefined;
3649
3651
  }[] | undefined;
@@ -3659,15 +3661,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3659
3661
  locator: z.ZodOptional<z.ZodString>;
3660
3662
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3661
3663
  }, "strict", z.ZodTypeAny, {
3662
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3663
- label: string;
3664
3664
  id: string;
3665
+ label: string;
3666
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
3667
  capture: "at_action" | "historical_lookup" | "fixture";
3666
3668
  locator?: string | undefined;
3667
3669
  }, {
3668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
- label: string;
3670
3670
  id: string;
3671
+ label: string;
3672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3672
3674
  locator?: string | undefined;
3673
3675
  }>, "many">>;
@@ -3675,32 +3677,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3675
3677
  sessionId: z.ZodString;
3676
3678
  kind: z.ZodLiteral<"agent_status">;
3677
3679
  }, "strict", z.ZodTypeAny, {
3678
- kind: "agent_status";
3679
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3680
3680
  label: string;
3681
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3682
+ kind: "agent_status";
3681
3683
  role: string;
3682
3684
  agentId: string;
3683
3685
  sessionId: string;
3684
3686
  evidence: {
3685
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3686
- label: string;
3687
3687
  id: string;
3688
+ label: string;
3689
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
3690
  capture: "at_action" | "historical_lookup" | "fixture";
3689
3691
  locator?: string | undefined;
3690
3692
  }[];
3691
3693
  detail?: string | undefined;
3692
3694
  }, {
3693
- kind: "agent_status";
3694
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3695
3695
  label: string;
3696
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3697
+ kind: "agent_status";
3696
3698
  role: string;
3697
3699
  agentId: string;
3698
3700
  sessionId: string;
3699
3701
  detail?: string | undefined;
3700
3702
  evidence?: {
3701
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3702
- label: string;
3703
3703
  id: string;
3704
+ label: string;
3705
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
3706
  capture: "at_action" | "historical_lookup" | "fixture";
3705
3707
  locator?: string | undefined;
3706
3708
  }[] | undefined;
@@ -3714,15 +3716,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3714
3716
  locator: z.ZodOptional<z.ZodString>;
3715
3717
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3716
3718
  }, "strict", z.ZodTypeAny, {
3717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3718
- label: string;
3719
3719
  id: string;
3720
+ label: string;
3721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3721
3723
  locator?: string | undefined;
3722
3724
  }, {
3723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
- label: string;
3725
3725
  id: string;
3726
+ label: string;
3727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3728
  capture: "at_action" | "historical_lookup" | "fixture";
3727
3729
  locator?: string | undefined;
3728
3730
  }>, "many">>;
@@ -3730,28 +3732,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3730
3732
  sessionId: z.ZodString;
3731
3733
  kind: z.ZodLiteral<"agent_output">;
3732
3734
  }, "strict", z.ZodTypeAny, {
3733
- kind: "agent_output";
3734
3735
  summary: string;
3736
+ kind: "agent_output";
3735
3737
  agentId: string;
3736
3738
  sessionId: string;
3737
3739
  evidence: {
3738
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3739
- label: string;
3740
3740
  id: string;
3741
+ label: string;
3742
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
3743
  capture: "at_action" | "historical_lookup" | "fixture";
3742
3744
  locator?: string | undefined;
3743
3745
  }[];
3744
3746
  outputId: string;
3745
3747
  }, {
3746
- kind: "agent_output";
3747
3748
  summary: string;
3749
+ kind: "agent_output";
3748
3750
  agentId: string;
3749
3751
  sessionId: string;
3750
3752
  outputId: string;
3751
3753
  evidence?: {
3752
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3753
- label: string;
3754
3754
  id: string;
3755
+ label: string;
3756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
3757
  capture: "at_action" | "historical_lookup" | "fixture";
3756
3758
  locator?: string | undefined;
3757
3759
  }[] | undefined;
@@ -3767,15 +3769,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3767
3769
  locator: z.ZodOptional<z.ZodString>;
3768
3770
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3769
3771
  }, "strict", z.ZodTypeAny, {
3770
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3771
- label: string;
3772
3772
  id: string;
3773
+ label: string;
3774
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3775
  capture: "at_action" | "historical_lookup" | "fixture";
3774
3776
  locator?: string | undefined;
3775
3777
  }, {
3776
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
- label: string;
3778
3778
  id: string;
3779
+ label: string;
3780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3782
  locator?: string | undefined;
3781
3783
  }>, "many">>;
@@ -3788,9 +3790,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3788
3790
  statement: string;
3789
3791
  sessionId: string;
3790
3792
  evidence: {
3791
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
- label: string;
3793
3793
  id: string;
3794
+ label: string;
3795
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
3796
  capture: "at_action" | "historical_lookup" | "fixture";
3795
3797
  locator?: string | undefined;
3796
3798
  }[];
@@ -3806,9 +3808,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3806
3808
  decisionId: string;
3807
3809
  confidence?: number | undefined;
3808
3810
  evidence?: {
3809
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3810
- label: string;
3811
3811
  id: string;
3812
+ label: string;
3813
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
3814
  capture: "at_action" | "historical_lookup" | "fixture";
3813
3815
  locator?: string | undefined;
3814
3816
  }[] | undefined;
@@ -3825,25 +3827,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3825
3827
  locator: z.ZodOptional<z.ZodString>;
3826
3828
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3827
3829
  }, "strict", z.ZodTypeAny, {
3828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3829
- label: string;
3830
3830
  id: string;
3831
+ label: string;
3832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3833
  capture: "at_action" | "historical_lookup" | "fixture";
3832
3834
  locator?: string | undefined;
3833
3835
  }, {
3834
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
- label: string;
3836
3836
  id: string;
3837
+ label: string;
3838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3840
  locator?: string | undefined;
3839
3841
  }>, "many">>;
3840
3842
  }, "strict", z.ZodTypeAny, {
3841
- kind: "conflict_detected";
3842
3843
  summary: string;
3844
+ kind: "conflict_detected";
3843
3845
  evidence: {
3844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3845
- label: string;
3846
3846
  id: string;
3847
+ label: string;
3848
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
3849
  capture: "at_action" | "historical_lookup" | "fixture";
3848
3850
  locator?: string | undefined;
3849
3851
  }[];
@@ -3851,15 +3853,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3851
3853
  decisionIds: string[];
3852
3854
  agentIds: string[];
3853
3855
  }, {
3854
- kind: "conflict_detected";
3855
3856
  summary: string;
3857
+ kind: "conflict_detected";
3856
3858
  conflictId: string;
3857
3859
  decisionIds: string[];
3858
3860
  agentIds: string[];
3859
3861
  evidence?: {
3860
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3861
- label: string;
3862
3862
  id: string;
3863
+ label: string;
3864
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
3865
  capture: "at_action" | "historical_lookup" | "fixture";
3864
3866
  locator?: string | undefined;
3865
3867
  }[] | undefined;
@@ -3879,27 +3881,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3879
3881
  locator: z.ZodOptional<z.ZodString>;
3880
3882
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3881
3883
  }, "strict", z.ZodTypeAny, {
3882
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3883
- label: string;
3884
3884
  id: string;
3885
+ label: string;
3886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3886
3888
  locator?: string | undefined;
3887
3889
  }, {
3888
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
- label: string;
3890
3890
  id: string;
3891
+ label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3892
3894
  locator?: string | undefined;
3893
3895
  }>, "many">>;
3894
3896
  }, "strict", z.ZodTypeAny, {
3895
- kind: "test_result";
3896
3897
  summary: string;
3897
3898
  status: "error" | "failed" | "passed";
3899
+ kind: "test_result";
3898
3900
  command: string;
3899
3901
  evidence: {
3900
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
- label: string;
3902
3902
  id: string;
3903
+ label: string;
3904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3905
  capture: "at_action" | "historical_lookup" | "fixture";
3904
3906
  locator?: string | undefined;
3905
3907
  }[];
@@ -3908,17 +3910,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3908
3910
  durationMs?: number | undefined;
3909
3911
  correctionId?: string | undefined;
3910
3912
  }, {
3911
- kind: "test_result";
3912
3913
  summary: string;
3913
3914
  status: "error" | "failed" | "passed";
3915
+ kind: "test_result";
3914
3916
  command: string;
3915
3917
  decisionId: string;
3916
3918
  testId: string;
3917
3919
  durationMs?: number | undefined;
3918
3920
  evidence?: {
3919
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3920
- label: string;
3921
3921
  id: string;
3922
+ label: string;
3923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
3924
  capture: "at_action" | "historical_lookup" | "fixture";
3923
3925
  locator?: string | undefined;
3924
3926
  }[] | undefined;
@@ -3939,15 +3941,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3939
3941
  locator: z.ZodOptional<z.ZodString>;
3940
3942
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3941
3943
  }, "strict", z.ZodTypeAny, {
3942
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3943
- label: string;
3944
3944
  id: string;
3945
+ label: string;
3946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3947
  capture: "at_action" | "historical_lookup" | "fixture";
3946
3948
  locator?: string | undefined;
3947
3949
  }, {
3948
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
- label: string;
3950
3950
  id: string;
3951
+ label: string;
3952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3954
  locator?: string | undefined;
3953
3955
  }>, "many">>;
@@ -3956,9 +3958,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3956
3958
  statement: string;
3957
3959
  rationale: string;
3958
3960
  evidence: {
3959
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3960
- label: string;
3961
3961
  id: string;
3962
+ label: string;
3963
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3962
3964
  capture: "at_action" | "historical_lookup" | "fixture";
3963
3965
  locator?: string | undefined;
3964
3966
  }[];
@@ -3977,9 +3979,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3977
3979
  supersedesDecisionIds: string[];
3978
3980
  proposedBy: string;
3979
3981
  evidence?: {
3980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3981
- label: string;
3982
3982
  id: string;
3983
+ label: string;
3984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
3985
  capture: "at_action" | "historical_lookup" | "fixture";
3984
3986
  locator?: string | undefined;
3985
3987
  }[] | undefined;
@@ -3991,13 +3993,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3991
3993
  id: z.ZodString;
3992
3994
  label: z.ZodString;
3993
3995
  }, "strict", z.ZodTypeAny, {
3994
- kind: "agent" | "human";
3995
- label: string;
3996
3996
  id: string;
3997
- }, {
3998
- kind: "agent" | "human";
3999
3997
  label: string;
3998
+ kind: "agent" | "human";
3999
+ }, {
4000
4000
  id: string;
4001
+ label: string;
4002
+ kind: "agent" | "human";
4001
4003
  }>;
4002
4004
  note: z.ZodOptional<z.ZodString>;
4003
4005
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4007,47 +4009,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4007
4009
  locator: z.ZodOptional<z.ZodString>;
4008
4010
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4009
4011
  }, "strict", z.ZodTypeAny, {
4010
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4011
- label: string;
4012
4012
  id: string;
4013
+ label: string;
4014
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4015
  capture: "at_action" | "historical_lookup" | "fixture";
4014
4016
  locator?: string | undefined;
4015
4017
  }, {
4016
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4017
- label: string;
4018
4018
  id: string;
4019
+ label: string;
4020
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4021
  capture: "at_action" | "historical_lookup" | "fixture";
4020
4022
  locator?: string | undefined;
4021
4023
  }>, "many">>;
4022
4024
  }, "strict", z.ZodTypeAny, {
4023
4025
  kind: "correction_approved";
4024
4026
  evidence: {
4025
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4026
- label: string;
4027
4027
  id: string;
4028
+ label: string;
4029
+ kind: "correction" | "source" | "memory" | "commit" | "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: "correction_approved";
4040
4042
  correctionId: string;
4041
4043
  approvedBy: {
4042
- kind: "agent" | "human";
4043
- label: string;
4044
4044
  id: string;
4045
+ label: string;
4046
+ kind: "agent" | "human";
4045
4047
  };
4046
4048
  note?: string | undefined;
4047
4049
  evidence?: {
4048
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4049
- label: string;
4050
4050
  id: string;
4051
+ label: string;
4052
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
4053
  capture: "at_action" | "historical_lookup" | "fixture";
4052
4054
  locator?: string | undefined;
4053
4055
  }[] | undefined;
@@ -4063,24 +4065,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4063
4065
  locator: z.ZodOptional<z.ZodString>;
4064
4066
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4065
4067
  }, "strict", z.ZodTypeAny, {
4066
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4067
- label: string;
4068
4068
  id: string;
4069
+ label: string;
4070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4071
  capture: "at_action" | "historical_lookup" | "fixture";
4070
4072
  locator?: string | undefined;
4071
4073
  }, {
4072
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
- label: string;
4074
4074
  id: string;
4075
+ label: string;
4076
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4077
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4078
  locator?: string | undefined;
4077
4079
  }>, "many">>;
4078
4080
  }, "strict", z.ZodTypeAny, {
4079
4081
  kind: "decision_superseded";
4080
4082
  evidence: {
4081
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4082
- label: string;
4083
4083
  id: string;
4084
+ label: string;
4085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4086
  capture: "at_action" | "historical_lookup" | "fixture";
4085
4087
  locator?: string | undefined;
4086
4088
  }[];
@@ -4093,9 +4095,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4093
4095
  correctionId: string;
4094
4096
  replacementDecisionId: string;
4095
4097
  evidence?: {
4096
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4097
- label: string;
4098
4098
  id: string;
4099
+ label: string;
4100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
4101
  capture: "at_action" | "historical_lookup" | "fixture";
4100
4102
  locator?: string | undefined;
4101
4103
  }[] | undefined;
@@ -4111,15 +4113,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4111
4113
  locator: z.ZodOptional<z.ZodString>;
4112
4114
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4113
4115
  }, "strict", z.ZodTypeAny, {
4114
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4115
- label: string;
4116
4116
  id: string;
4117
+ label: string;
4118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4119
  capture: "at_action" | "historical_lookup" | "fixture";
4118
4120
  locator?: string | undefined;
4119
4121
  }, {
4120
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
- label: string;
4122
4122
  id: string;
4123
+ label: string;
4124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4125
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4126
  locator?: string | undefined;
4125
4127
  }>, "many">>;
@@ -4132,9 +4134,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4132
4134
  agentId: string;
4133
4135
  sessionId: string;
4134
4136
  evidence: {
4135
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4136
- label: string;
4137
4137
  id: string;
4138
+ label: string;
4139
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4140
  capture: "at_action" | "historical_lookup" | "fixture";
4139
4141
  locator?: string | undefined;
4140
4142
  }[];
@@ -4150,9 +4152,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4150
4152
  recallReceiptId: string;
4151
4153
  capturedAtAction: boolean;
4152
4154
  evidence?: {
4153
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4154
- label: string;
4155
4155
  id: string;
4156
+ label: string;
4157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4157
4159
  locator?: string | undefined;
4158
4160
  }[] | undefined;
@@ -4168,15 +4170,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4168
4170
  locator: z.ZodOptional<z.ZodString>;
4169
4171
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4170
4172
  }, "strict", z.ZodTypeAny, {
4171
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
- label: string;
4173
4173
  id: string;
4174
+ label: string;
4175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4175
4177
  locator?: string | undefined;
4176
4178
  }, {
4177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
- label: string;
4179
4179
  id: string;
4180
+ label: string;
4181
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4182
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4183
  locator?: string | undefined;
4182
4184
  }>, "many">>;
@@ -4188,9 +4190,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4188
4190
  agentId: string;
4189
4191
  sessionId: string;
4190
4192
  evidence: {
4191
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4192
- label: string;
4193
4193
  id: string;
4194
+ label: string;
4195
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
4196
  capture: "at_action" | "historical_lookup" | "fixture";
4195
4197
  locator?: string | undefined;
4196
4198
  }[];
@@ -4207,9 +4209,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4207
4209
  recallReceiptId: string;
4208
4210
  staleDecisionAbsent: boolean;
4209
4211
  evidence?: {
4210
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4211
- label: string;
4212
4212
  id: string;
4213
+ label: string;
4214
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4214
4216
  locator?: string | undefined;
4215
4217
  }[] | undefined;
@@ -4224,37 +4226,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4224
4226
  locator: z.ZodOptional<z.ZodString>;
4225
4227
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4226
4228
  }, "strict", z.ZodTypeAny, {
4227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
- label: string;
4229
4229
  id: string;
4230
+ label: string;
4231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4232
  capture: "at_action" | "historical_lookup" | "fixture";
4231
4233
  locator?: string | undefined;
4232
4234
  }, {
4233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4234
- label: string;
4235
4235
  id: string;
4236
+ label: string;
4237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4238
  capture: "at_action" | "historical_lookup" | "fixture";
4237
4239
  locator?: string | undefined;
4238
4240
  }>, "many">>;
4239
4241
  }, "strict", z.ZodTypeAny, {
4240
- kind: "mission_completed";
4241
4242
  summary: string;
4243
+ kind: "mission_completed";
4242
4244
  outcome: "failed" | "recovered" | "inconclusive";
4243
4245
  evidence: {
4244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4245
- label: string;
4246
4246
  id: string;
4247
+ label: string;
4248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4248
4250
  locator?: string | undefined;
4249
4251
  }[];
4250
4252
  }, {
4251
- kind: "mission_completed";
4252
4253
  summary: string;
4254
+ kind: "mission_completed";
4253
4255
  outcome: "failed" | "recovered" | "inconclusive";
4254
4256
  evidence?: {
4255
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4256
- label: string;
4257
4257
  id: string;
4258
+ label: string;
4259
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4258
4260
  capture: "at_action" | "historical_lookup" | "fixture";
4259
4261
  locator?: string | undefined;
4260
4262
  }[] | undefined;
@@ -4262,38 +4264,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4262
4264
  kind: "mission_started";
4263
4265
  title: string;
4264
4266
  evidence: {
4265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4266
- label: string;
4267
4267
  id: string;
4268
+ label: string;
4269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4268
4270
  capture: "at_action" | "historical_lookup" | "fixture";
4269
4271
  locator?: string | undefined;
4270
4272
  }[];
4271
4273
  objective: string;
4272
4274
  runMode: "replay" | "fixture" | "live";
4273
4275
  } | {
4274
- kind: "agent_status";
4275
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4276
4276
  label: string;
4277
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4278
+ kind: "agent_status";
4277
4279
  role: string;
4278
4280
  agentId: string;
4279
4281
  sessionId: string;
4280
4282
  evidence: {
4281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4282
- label: string;
4283
4283
  id: string;
4284
+ label: string;
4285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
4286
  capture: "at_action" | "historical_lookup" | "fixture";
4285
4287
  locator?: string | undefined;
4286
4288
  }[];
4287
4289
  detail?: string | undefined;
4288
4290
  } | {
4289
- kind: "agent_output";
4290
4291
  summary: string;
4292
+ kind: "agent_output";
4291
4293
  agentId: string;
4292
4294
  sessionId: string;
4293
4295
  evidence: {
4294
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4295
- label: string;
4296
4296
  id: string;
4297
+ label: string;
4298
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
4299
  capture: "at_action" | "historical_lookup" | "fixture";
4298
4300
  locator?: string | undefined;
4299
4301
  }[];
@@ -4304,9 +4306,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4304
4306
  statement: string;
4305
4307
  sessionId: string;
4306
4308
  evidence: {
4307
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4308
- label: string;
4309
4309
  id: string;
4310
+ label: string;
4311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4310
4312
  capture: "at_action" | "historical_lookup" | "fixture";
4311
4313
  locator?: string | undefined;
4312
4314
  }[];
@@ -4314,12 +4316,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4314
4316
  decisionId: string;
4315
4317
  confidence?: number | undefined;
4316
4318
  } | {
4317
- kind: "conflict_detected";
4318
4319
  summary: string;
4320
+ kind: "conflict_detected";
4319
4321
  evidence: {
4320
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4321
- label: string;
4322
4322
  id: string;
4323
+ label: string;
4324
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4325
  capture: "at_action" | "historical_lookup" | "fixture";
4324
4326
  locator?: string | undefined;
4325
4327
  }[];
@@ -4327,14 +4329,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4327
4329
  decisionIds: string[];
4328
4330
  agentIds: string[];
4329
4331
  } | {
4330
- kind: "test_result";
4331
4332
  summary: string;
4332
4333
  status: "error" | "failed" | "passed";
4334
+ kind: "test_result";
4333
4335
  command: string;
4334
4336
  evidence: {
4335
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4336
- label: string;
4337
4337
  id: string;
4338
+ label: string;
4339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
4340
  capture: "at_action" | "historical_lookup" | "fixture";
4339
4341
  locator?: string | undefined;
4340
4342
  }[];
@@ -4347,9 +4349,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4347
4349
  statement: string;
4348
4350
  rationale: string;
4349
4351
  evidence: {
4350
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4351
- label: string;
4352
4352
  id: string;
4353
+ label: string;
4354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4353
4355
  capture: "at_action" | "historical_lookup" | "fixture";
4354
4356
  locator?: string | undefined;
4355
4357
  }[];
@@ -4361,25 +4363,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4361
4363
  } | {
4362
4364
  kind: "correction_approved";
4363
4365
  evidence: {
4364
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4365
- label: string;
4366
4366
  id: string;
4367
+ label: string;
4368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4367
4369
  capture: "at_action" | "historical_lookup" | "fixture";
4368
4370
  locator?: string | undefined;
4369
4371
  }[];
4370
4372
  correctionId: string;
4371
4373
  approvedBy: {
4372
- kind: "agent" | "human";
4373
- label: string;
4374
4374
  id: string;
4375
+ label: string;
4376
+ kind: "agent" | "human";
4375
4377
  };
4376
4378
  note?: string | undefined;
4377
4379
  } | {
4378
4380
  kind: "decision_superseded";
4379
4381
  evidence: {
4380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4381
- label: string;
4382
4382
  id: string;
4383
+ label: string;
4384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4385
  capture: "at_action" | "historical_lookup" | "fixture";
4384
4386
  locator?: string | undefined;
4385
4387
  }[];
@@ -4392,9 +4394,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4392
4394
  agentId: string;
4393
4395
  sessionId: string;
4394
4396
  evidence: {
4395
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4396
- label: string;
4397
4397
  id: string;
4398
+ label: string;
4399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4399
4401
  locator?: string | undefined;
4400
4402
  }[];
@@ -4406,9 +4408,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4406
4408
  agentId: string;
4407
4409
  sessionId: string;
4408
4410
  evidence: {
4409
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4410
- label: string;
4411
4411
  id: string;
4412
+ label: string;
4413
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4414
  capture: "at_action" | "historical_lookup" | "fixture";
4413
4415
  locator?: string | undefined;
4414
4416
  }[];
@@ -4417,13 +4419,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4417
4419
  recallReceiptId: string;
4418
4420
  staleDecisionAbsent: boolean;
4419
4421
  } | {
4420
- kind: "mission_completed";
4421
4422
  summary: string;
4423
+ kind: "mission_completed";
4422
4424
  outcome: "failed" | "recovered" | "inconclusive";
4423
4425
  evidence: {
4424
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4425
- label: string;
4426
4426
  id: string;
4427
+ label: string;
4428
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4429
  capture: "at_action" | "historical_lookup" | "fixture";
4428
4430
  locator?: string | undefined;
4429
4431
  }[];
@@ -4433,37 +4435,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4433
4435
  objective: string;
4434
4436
  runMode: "replay" | "fixture" | "live";
4435
4437
  evidence?: {
4436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4437
- label: string;
4438
4438
  id: string;
4439
+ label: string;
4440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4439
4441
  capture: "at_action" | "historical_lookup" | "fixture";
4440
4442
  locator?: string | undefined;
4441
4443
  }[] | undefined;
4442
4444
  } | {
4443
- kind: "agent_status";
4444
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4445
4445
  label: string;
4446
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4447
+ kind: "agent_status";
4446
4448
  role: string;
4447
4449
  agentId: string;
4448
4450
  sessionId: string;
4449
4451
  detail?: string | undefined;
4450
4452
  evidence?: {
4451
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4452
- label: string;
4453
4453
  id: string;
4454
+ label: string;
4455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4454
4456
  capture: "at_action" | "historical_lookup" | "fixture";
4455
4457
  locator?: string | undefined;
4456
4458
  }[] | undefined;
4457
4459
  } | {
4458
- kind: "agent_output";
4459
4460
  summary: string;
4461
+ kind: "agent_output";
4460
4462
  agentId: string;
4461
4463
  sessionId: string;
4462
4464
  outputId: string;
4463
4465
  evidence?: {
4464
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4465
- label: string;
4466
4466
  id: string;
4467
+ label: string;
4468
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4467
4469
  capture: "at_action" | "historical_lookup" | "fixture";
4468
4470
  locator?: string | undefined;
4469
4471
  }[] | undefined;
@@ -4476,37 +4478,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4476
4478
  decisionId: string;
4477
4479
  confidence?: number | undefined;
4478
4480
  evidence?: {
4479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4480
- label: string;
4481
4481
  id: string;
4482
+ label: string;
4483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4482
4484
  capture: "at_action" | "historical_lookup" | "fixture";
4483
4485
  locator?: string | undefined;
4484
4486
  }[] | undefined;
4485
4487
  } | {
4486
- kind: "conflict_detected";
4487
4488
  summary: string;
4489
+ kind: "conflict_detected";
4488
4490
  conflictId: string;
4489
4491
  decisionIds: string[];
4490
4492
  agentIds: string[];
4491
4493
  evidence?: {
4492
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4493
- label: string;
4494
4494
  id: string;
4495
+ label: string;
4496
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4495
4497
  capture: "at_action" | "historical_lookup" | "fixture";
4496
4498
  locator?: string | undefined;
4497
4499
  }[] | undefined;
4498
4500
  } | {
4499
- kind: "test_result";
4500
4501
  summary: string;
4501
4502
  status: "error" | "failed" | "passed";
4503
+ kind: "test_result";
4502
4504
  command: string;
4503
4505
  decisionId: string;
4504
4506
  testId: string;
4505
4507
  durationMs?: number | undefined;
4506
4508
  evidence?: {
4507
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4508
- label: string;
4509
4509
  id: string;
4510
+ label: string;
4511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4512
  capture: "at_action" | "historical_lookup" | "fixture";
4511
4513
  locator?: string | undefined;
4512
4514
  }[] | undefined;
@@ -4521,9 +4523,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4521
4523
  supersedesDecisionIds: string[];
4522
4524
  proposedBy: string;
4523
4525
  evidence?: {
4524
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
- label: string;
4526
4526
  id: string;
4527
+ label: string;
4528
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
4529
  capture: "at_action" | "historical_lookup" | "fixture";
4528
4530
  locator?: string | undefined;
4529
4531
  }[] | undefined;
@@ -4531,15 +4533,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4531
4533
  kind: "correction_approved";
4532
4534
  correctionId: string;
4533
4535
  approvedBy: {
4534
- kind: "agent" | "human";
4535
- label: string;
4536
4536
  id: string;
4537
+ label: string;
4538
+ kind: "agent" | "human";
4537
4539
  };
4538
4540
  note?: string | undefined;
4539
4541
  evidence?: {
4540
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4541
- label: string;
4542
4542
  id: string;
4543
+ label: string;
4544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4545
  capture: "at_action" | "historical_lookup" | "fixture";
4544
4546
  locator?: string | undefined;
4545
4547
  }[] | undefined;
@@ -4549,9 +4551,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4549
4551
  correctionId: string;
4550
4552
  replacementDecisionId: string;
4551
4553
  evidence?: {
4552
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
- label: string;
4554
4554
  id: string;
4555
+ label: string;
4556
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4557
  capture: "at_action" | "historical_lookup" | "fixture";
4556
4558
  locator?: string | undefined;
4557
4559
  }[] | undefined;
@@ -4564,9 +4566,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4564
4566
  recallReceiptId: string;
4565
4567
  capturedAtAction: boolean;
4566
4568
  evidence?: {
4567
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
- label: string;
4569
4569
  id: string;
4570
+ label: string;
4571
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4571
4573
  locator?: string | undefined;
4572
4574
  }[] | undefined;
@@ -4579,63 +4581,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4579
4581
  recallReceiptId: string;
4580
4582
  staleDecisionAbsent: boolean;
4581
4583
  evidence?: {
4582
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
- label: string;
4584
4584
  id: string;
4585
+ label: string;
4586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
4587
  capture: "at_action" | "historical_lookup" | "fixture";
4586
4588
  locator?: string | undefined;
4587
4589
  }[] | undefined;
4588
4590
  } | {
4589
- kind: "mission_completed";
4590
4591
  summary: string;
4592
+ kind: "mission_completed";
4591
4593
  outcome: "failed" | "recovered" | "inconclusive";
4592
4594
  evidence?: {
4593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4594
- label: string;
4595
4595
  id: string;
4596
+ label: string;
4597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
4598
  capture: "at_action" | "historical_lookup" | "fixture";
4597
4599
  locator?: string | undefined;
4598
4600
  }[] | undefined;
4599
4601
  }>;
4600
4602
  }, "strict", z.ZodTypeAny, {
4601
- schemaVersion: "1";
4603
+ namespace: string;
4602
4604
  recordedAt: string;
4605
+ schemaVersion: "1";
4603
4606
  payload: {
4604
4607
  kind: "mission_started";
4605
4608
  title: string;
4606
4609
  evidence: {
4607
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4608
- label: string;
4609
4610
  id: string;
4611
+ label: string;
4612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4610
4613
  capture: "at_action" | "historical_lookup" | "fixture";
4611
4614
  locator?: string | undefined;
4612
4615
  }[];
4613
4616
  objective: string;
4614
4617
  runMode: "replay" | "fixture" | "live";
4615
4618
  } | {
4616
- kind: "agent_status";
4617
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4618
4619
  label: string;
4620
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4621
+ kind: "agent_status";
4619
4622
  role: string;
4620
4623
  agentId: string;
4621
4624
  sessionId: string;
4622
4625
  evidence: {
4623
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4624
- label: string;
4625
4626
  id: string;
4627
+ label: string;
4628
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
4629
  capture: "at_action" | "historical_lookup" | "fixture";
4627
4630
  locator?: string | undefined;
4628
4631
  }[];
4629
4632
  detail?: string | undefined;
4630
4633
  } | {
4631
- kind: "agent_output";
4632
4634
  summary: string;
4635
+ kind: "agent_output";
4633
4636
  agentId: string;
4634
4637
  sessionId: string;
4635
4638
  evidence: {
4636
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4637
- label: string;
4638
4639
  id: string;
4640
+ label: string;
4641
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4639
4642
  capture: "at_action" | "historical_lookup" | "fixture";
4640
4643
  locator?: string | undefined;
4641
4644
  }[];
@@ -4646,9 +4649,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4646
4649
  statement: string;
4647
4650
  sessionId: string;
4648
4651
  evidence: {
4649
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4650
- label: string;
4651
4652
  id: string;
4653
+ label: string;
4654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4652
4655
  capture: "at_action" | "historical_lookup" | "fixture";
4653
4656
  locator?: string | undefined;
4654
4657
  }[];
@@ -4656,12 +4659,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4656
4659
  decisionId: string;
4657
4660
  confidence?: number | undefined;
4658
4661
  } | {
4659
- kind: "conflict_detected";
4660
4662
  summary: string;
4663
+ kind: "conflict_detected";
4661
4664
  evidence: {
4662
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4663
- label: string;
4664
4665
  id: string;
4666
+ label: string;
4667
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4665
4668
  capture: "at_action" | "historical_lookup" | "fixture";
4666
4669
  locator?: string | undefined;
4667
4670
  }[];
@@ -4669,14 +4672,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4669
4672
  decisionIds: string[];
4670
4673
  agentIds: string[];
4671
4674
  } | {
4672
- kind: "test_result";
4673
4675
  summary: string;
4674
4676
  status: "error" | "failed" | "passed";
4677
+ kind: "test_result";
4675
4678
  command: string;
4676
4679
  evidence: {
4677
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4678
- label: string;
4679
4680
  id: string;
4681
+ label: string;
4682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4680
4683
  capture: "at_action" | "historical_lookup" | "fixture";
4681
4684
  locator?: string | undefined;
4682
4685
  }[];
@@ -4689,9 +4692,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4689
4692
  statement: string;
4690
4693
  rationale: string;
4691
4694
  evidence: {
4692
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4693
- label: string;
4694
4695
  id: string;
4696
+ label: string;
4697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4695
4698
  capture: "at_action" | "historical_lookup" | "fixture";
4696
4699
  locator?: string | undefined;
4697
4700
  }[];
@@ -4703,25 +4706,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4703
4706
  } | {
4704
4707
  kind: "correction_approved";
4705
4708
  evidence: {
4706
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4707
- label: string;
4708
4709
  id: string;
4710
+ label: string;
4711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4709
4712
  capture: "at_action" | "historical_lookup" | "fixture";
4710
4713
  locator?: string | undefined;
4711
4714
  }[];
4712
4715
  correctionId: string;
4713
4716
  approvedBy: {
4714
- kind: "agent" | "human";
4715
- label: string;
4716
4717
  id: string;
4718
+ label: string;
4719
+ kind: "agent" | "human";
4717
4720
  };
4718
4721
  note?: string | undefined;
4719
4722
  } | {
4720
4723
  kind: "decision_superseded";
4721
4724
  evidence: {
4722
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4723
- label: string;
4724
4725
  id: string;
4726
+ label: string;
4727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4725
4728
  capture: "at_action" | "historical_lookup" | "fixture";
4726
4729
  locator?: string | undefined;
4727
4730
  }[];
@@ -4734,9 +4737,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4734
4737
  agentId: string;
4735
4738
  sessionId: string;
4736
4739
  evidence: {
4737
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4738
- label: string;
4739
4740
  id: string;
4741
+ label: string;
4742
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4740
4743
  capture: "at_action" | "historical_lookup" | "fixture";
4741
4744
  locator?: string | undefined;
4742
4745
  }[];
@@ -4748,9 +4751,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4748
4751
  agentId: string;
4749
4752
  sessionId: string;
4750
4753
  evidence: {
4751
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4752
- label: string;
4753
4754
  id: string;
4755
+ label: string;
4756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4754
4757
  capture: "at_action" | "historical_lookup" | "fixture";
4755
4758
  locator?: string | undefined;
4756
4759
  }[];
@@ -4759,63 +4762,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4759
4762
  recallReceiptId: string;
4760
4763
  staleDecisionAbsent: boolean;
4761
4764
  } | {
4762
- kind: "mission_completed";
4763
4765
  summary: string;
4766
+ kind: "mission_completed";
4764
4767
  outcome: "failed" | "recovered" | "inconclusive";
4765
4768
  evidence: {
4766
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4767
- label: string;
4768
4769
  id: string;
4770
+ label: string;
4771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4769
4772
  capture: "at_action" | "historical_lookup" | "fixture";
4770
4773
  locator?: string | undefined;
4771
4774
  }[];
4772
4775
  };
4773
- namespace: string;
4774
4776
  eventId: string;
4775
4777
  occurredAt: string;
4776
4778
  missionId: string;
4777
4779
  idempotencyKey?: string | undefined;
4778
4780
  authenticatedPrincipal?: string | undefined;
4779
4781
  }, {
4780
- schemaVersion: "1";
4782
+ namespace: string;
4781
4783
  recordedAt: string;
4784
+ schemaVersion: "1";
4782
4785
  payload: {
4783
4786
  kind: "mission_started";
4784
4787
  title: string;
4785
4788
  objective: string;
4786
4789
  runMode: "replay" | "fixture" | "live";
4787
4790
  evidence?: {
4788
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4789
- label: string;
4790
4791
  id: string;
4792
+ label: string;
4793
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4791
4794
  capture: "at_action" | "historical_lookup" | "fixture";
4792
4795
  locator?: string | undefined;
4793
4796
  }[] | undefined;
4794
4797
  } | {
4795
- kind: "agent_status";
4796
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4797
4798
  label: string;
4799
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4800
+ kind: "agent_status";
4798
4801
  role: string;
4799
4802
  agentId: string;
4800
4803
  sessionId: string;
4801
4804
  detail?: string | undefined;
4802
4805
  evidence?: {
4803
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4804
- label: string;
4805
4806
  id: string;
4807
+ label: string;
4808
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4806
4809
  capture: "at_action" | "historical_lookup" | "fixture";
4807
4810
  locator?: string | undefined;
4808
4811
  }[] | undefined;
4809
4812
  } | {
4810
- kind: "agent_output";
4811
4813
  summary: string;
4814
+ kind: "agent_output";
4812
4815
  agentId: string;
4813
4816
  sessionId: string;
4814
4817
  outputId: string;
4815
4818
  evidence?: {
4816
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4817
- label: string;
4818
4819
  id: string;
4820
+ label: string;
4821
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4819
4822
  capture: "at_action" | "historical_lookup" | "fixture";
4820
4823
  locator?: string | undefined;
4821
4824
  }[] | undefined;
@@ -4828,37 +4831,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4828
4831
  decisionId: string;
4829
4832
  confidence?: number | undefined;
4830
4833
  evidence?: {
4831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4832
- label: string;
4833
4834
  id: string;
4835
+ label: string;
4836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4834
4837
  capture: "at_action" | "historical_lookup" | "fixture";
4835
4838
  locator?: string | undefined;
4836
4839
  }[] | undefined;
4837
4840
  } | {
4838
- kind: "conflict_detected";
4839
4841
  summary: string;
4842
+ kind: "conflict_detected";
4840
4843
  conflictId: string;
4841
4844
  decisionIds: string[];
4842
4845
  agentIds: string[];
4843
4846
  evidence?: {
4844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4845
- label: string;
4846
4847
  id: string;
4848
+ label: string;
4849
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4847
4850
  capture: "at_action" | "historical_lookup" | "fixture";
4848
4851
  locator?: string | undefined;
4849
4852
  }[] | undefined;
4850
4853
  } | {
4851
- kind: "test_result";
4852
4854
  summary: string;
4853
4855
  status: "error" | "failed" | "passed";
4856
+ kind: "test_result";
4854
4857
  command: string;
4855
4858
  decisionId: string;
4856
4859
  testId: string;
4857
4860
  durationMs?: number | undefined;
4858
4861
  evidence?: {
4859
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4860
- label: string;
4861
4862
  id: string;
4863
+ label: string;
4864
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4862
4865
  capture: "at_action" | "historical_lookup" | "fixture";
4863
4866
  locator?: string | undefined;
4864
4867
  }[] | undefined;
@@ -4873,9 +4876,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4873
4876
  supersedesDecisionIds: string[];
4874
4877
  proposedBy: string;
4875
4878
  evidence?: {
4876
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4877
- label: string;
4878
4879
  id: string;
4880
+ label: string;
4881
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4879
4882
  capture: "at_action" | "historical_lookup" | "fixture";
4880
4883
  locator?: string | undefined;
4881
4884
  }[] | undefined;
@@ -4883,15 +4886,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4883
4886
  kind: "correction_approved";
4884
4887
  correctionId: string;
4885
4888
  approvedBy: {
4886
- kind: "agent" | "human";
4887
- label: string;
4888
4889
  id: string;
4890
+ label: string;
4891
+ kind: "agent" | "human";
4889
4892
  };
4890
4893
  note?: string | undefined;
4891
4894
  evidence?: {
4892
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4893
- label: string;
4894
4895
  id: string;
4896
+ label: string;
4897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4895
4898
  capture: "at_action" | "historical_lookup" | "fixture";
4896
4899
  locator?: string | undefined;
4897
4900
  }[] | undefined;
@@ -4901,9 +4904,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4901
4904
  correctionId: string;
4902
4905
  replacementDecisionId: string;
4903
4906
  evidence?: {
4904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4905
- label: string;
4906
4907
  id: string;
4908
+ label: string;
4909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4907
4910
  capture: "at_action" | "historical_lookup" | "fixture";
4908
4911
  locator?: string | undefined;
4909
4912
  }[] | undefined;
@@ -4916,9 +4919,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4916
4919
  recallReceiptId: string;
4917
4920
  capturedAtAction: boolean;
4918
4921
  evidence?: {
4919
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4920
- label: string;
4921
4922
  id: string;
4923
+ label: string;
4924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4922
4925
  capture: "at_action" | "historical_lookup" | "fixture";
4923
4926
  locator?: string | undefined;
4924
4927
  }[] | undefined;
@@ -4931,25 +4934,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4931
4934
  recallReceiptId: string;
4932
4935
  staleDecisionAbsent: boolean;
4933
4936
  evidence?: {
4934
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4935
- label: string;
4936
4937
  id: string;
4938
+ label: string;
4939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4937
4940
  capture: "at_action" | "historical_lookup" | "fixture";
4938
4941
  locator?: string | undefined;
4939
4942
  }[] | undefined;
4940
4943
  } | {
4941
- kind: "mission_completed";
4942
4944
  summary: string;
4945
+ kind: "mission_completed";
4943
4946
  outcome: "failed" | "recovered" | "inconclusive";
4944
4947
  evidence?: {
4945
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4946
- label: string;
4947
4948
  id: string;
4949
+ label: string;
4950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4948
4951
  capture: "at_action" | "historical_lookup" | "fixture";
4949
4952
  locator?: string | undefined;
4950
4953
  }[] | undefined;
4951
4954
  };
4952
- namespace: string;
4953
4955
  eventId: string;
4954
4956
  occurredAt: string;
4955
4957
  missionId: string;