@remnic/core 9.65.1 → 9.65.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (536) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +35 -34
  3. package/dist/access-authorization-probe.d.ts +12 -13
  4. package/dist/access-authorization-probe.js +36 -35
  5. package/dist/access-boundary.d.ts +12 -156
  6. package/dist/access-boundary.js +35 -34
  7. package/dist/access-cli.js +107 -104
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +11 -11
  11. package/dist/access-extraction-force-flush.js +35 -34
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +12 -13
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.d.ts +2 -2
  17. package/dist/access-http-query.js +37 -36
  18. package/dist/access-http.d.ts +12 -12
  19. package/dist/access-http.js +54 -53
  20. package/dist/access-identity-continuity-surface.d.ts +9 -9
  21. package/dist/access-identity-continuity-surface.js +35 -34
  22. package/dist/access-lcm-surface.d.ts +11 -11
  23. package/dist/access-lcm-surface.js +35 -34
  24. package/dist/access-mcp-admin-tools.js +1 -1
  25. package/dist/access-mcp-output-schemas.js +1 -1
  26. package/dist/access-mcp.d.ts +11 -11
  27. package/dist/access-mcp.js +47 -44
  28. package/dist/access-memory-search-fanout.d.ts +2 -2
  29. package/dist/{access-namespace-preflight-BKUnKsBv.d.ts → access-namespace-preflight-Dhvcl-T0.d.ts} +1 -1
  30. package/dist/access-namespace-preflight.d.ts +3 -3
  31. package/dist/access-namespace-preflight.js +35 -34
  32. package/dist/access-observe-write-surface.d.ts +11 -11
  33. package/dist/access-observe-write-surface.js +35 -34
  34. package/dist/access-offline-manifest.d.ts +9 -9
  35. package/dist/access-offline-manifest.js +5 -5
  36. package/dist/access-operations-batch.js +38 -37
  37. package/dist/access-operations.d.ts +18 -19
  38. package/dist/access-operations.js +41 -40
  39. package/dist/access-recall-concurrency.d.ts +11 -11
  40. package/dist/access-recall-concurrency.js +35 -34
  41. package/dist/access-recall-response.d.ts +11 -11
  42. package/dist/access-recall-response.js +35 -34
  43. package/dist/access-recall-surface.d.ts +11 -11
  44. package/dist/access-recall-surface.js +35 -34
  45. package/dist/access-schema.d.ts +118 -118
  46. package/dist/access-schema.js +3 -3
  47. package/dist/{access-service-B1Lbb-nQ.d.ts → access-service-Bke1alZO.d.ts} +478 -74
  48. package/dist/access-service-helpers.d.ts +11 -11
  49. package/dist/access-service.d.ts +11 -11
  50. package/dist/access-service.js +35 -34
  51. package/dist/access-surface-catalog.d.ts +12 -13
  52. package/dist/access-surface-catalog.js +39 -36
  53. package/dist/access-surface-catalog.js.map +1 -1
  54. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  55. package/dist/action-confidence.d.ts +1 -1
  56. package/dist/active-memory-bridge.d.ts +1 -1
  57. package/dist/active-recall.d.ts +1 -1
  58. package/dist/active-recall.js +6 -1
  59. package/dist/active-recall.js.map +1 -1
  60. package/dist/adapters/index.js +4 -4
  61. package/dist/adapters/registry.js +2 -2
  62. package/dist/ambient-provenance.d.ts +1 -1
  63. package/dist/artifact-search.d.ts +1 -1
  64. package/dist/{auto-sync-5L7EUZ27.js → auto-sync-H64ZCNIR.js} +13 -5
  65. package/dist/{auto-sync-5L7EUZ27.js.map → auto-sync-H64ZCNIR.js.map} +1 -1
  66. package/dist/behavior-learner.d.ts +1 -1
  67. package/dist/behavior-signals.d.ts +1 -1
  68. package/dist/bootstrap.d.ts +9 -9
  69. package/dist/briefing-window.d.ts +2 -2
  70. package/dist/briefing.d.ts +2 -2
  71. package/dist/briefing.js +16 -15
  72. package/dist/buffer-surprise-report.d.ts +1 -1
  73. package/dist/buffer-turn-helpers.d.ts +1 -1
  74. package/dist/buffer.d.ts +2 -2
  75. package/dist/buffer.js +4 -4
  76. package/dist/bulk-import/index.d.ts +3 -3
  77. package/dist/calibration.d.ts +1 -1
  78. package/dist/calibration.js +1 -1
  79. package/dist/capabilities.d.ts +1 -1
  80. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  81. package/dist/{catalog-DjVhJoRM.d.ts → catalog-DV6qnbr7.d.ts} +1 -1
  82. package/dist/causal-behavior.d.ts +1 -1
  83. package/dist/causal-consolidation.d.ts +1 -1
  84. package/dist/causal-consolidation.js +17 -16
  85. package/dist/causal-consolidation.js.map +1 -1
  86. package/dist/causal-trajectory-graph.d.ts +1 -1
  87. package/dist/{chunk-LYIZXQYY.js → chunk-2E36UXVW.js} +2 -2
  88. package/dist/{chunk-7QFBLYFP.js → chunk-2XDWWPTN.js} +3 -3
  89. package/dist/{chunk-CFRBTATE.js → chunk-2YI72KM3.js} +3 -3
  90. package/dist/{chunk-3YTTAGPB.js → chunk-3DVBKTSO.js} +2 -2
  91. package/dist/{chunk-VPGRXEAB.js → chunk-3I7ASZN3.js} +2 -2
  92. package/dist/{chunk-EIR5VLIH.js → chunk-4K7IW3F7.js} +2 -2
  93. package/dist/chunk-4K7IW3F7.js.map +1 -0
  94. package/dist/{chunk-WTOE7CW4.js → chunk-4KYOLI6M.js} +13 -13
  95. package/dist/chunk-573TEZCD.js +88 -0
  96. package/dist/chunk-573TEZCD.js.map +1 -0
  97. package/dist/{chunk-ESCQ6LY7.js → chunk-5NM4OH4P.js} +3 -3
  98. package/dist/{chunk-Y23B2QXP.js → chunk-5YQ63T4B.js} +2 -2
  99. package/dist/{chunk-PMVPCZJZ.js → chunk-6433HV72.js} +2 -2
  100. package/dist/{chunk-4NZHHGVL.js → chunk-7BDZTALN.js} +4 -1
  101. package/dist/chunk-7BDZTALN.js.map +1 -0
  102. package/dist/{chunk-NS5ETDYD.js → chunk-7BEPVIH3.js} +3 -3
  103. package/dist/{chunk-JG22O53B.js → chunk-7CBKAQIG.js} +2 -1
  104. package/dist/chunk-7CBKAQIG.js.map +1 -0
  105. package/dist/{chunk-W6TSGWYS.js → chunk-7YQ4IYS2.js} +2 -2
  106. package/dist/chunk-AAXJNINV.js +55 -0
  107. package/dist/chunk-AAXJNINV.js.map +1 -0
  108. package/dist/{chunk-YQ3CBLL4.js → chunk-BWLRUMOG.js} +78 -8
  109. package/dist/chunk-BWLRUMOG.js.map +1 -0
  110. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  111. package/dist/{chunk-CEH2AFXG.js → chunk-C24UZSFW.js} +6 -6
  112. package/dist/{chunk-ZPN7W3OP.js → chunk-CDUUDBWJ.js} +3 -3
  113. package/dist/{chunk-5UYSCYR7.js → chunk-CT56C22C.js} +4 -4
  114. package/dist/{chunk-HJQZQUPC.js → chunk-DJZWNKFO.js} +5 -5
  115. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  116. package/dist/{chunk-CCTVAVTT.js → chunk-DZUJ46DO.js} +2 -2
  117. package/dist/{chunk-N6TRHP72.js → chunk-EILZG5VC.js} +2 -2
  118. package/dist/{chunk-GXWDWOWP.js → chunk-GDFVPUJ5.js} +2 -2
  119. package/dist/{chunk-7PWWGYGO.js → chunk-GNCCUR6K.js} +2 -2
  120. package/dist/{chunk-KPBLJCCV.js → chunk-IID2CMUU.js} +2 -2
  121. package/dist/{chunk-DEFI2QBT.js → chunk-J275IYMG.js} +25 -22
  122. package/dist/chunk-J275IYMG.js.map +1 -0
  123. package/dist/{chunk-UYCIS6V5.js → chunk-JCWY73FK.js} +2 -2
  124. package/dist/{chunk-SYJ6EKKE.js → chunk-JYYBA7TF.js} +2 -2
  125. package/dist/{chunk-T42L3S6A.js → chunk-LBWQ65SX.js} +4 -4
  126. package/dist/{chunk-MSTNSVXI.js → chunk-LDBFXD4F.js} +2 -1
  127. package/dist/chunk-LDBFXD4F.js.map +1 -0
  128. package/dist/{chunk-LWVO2QZV.js → chunk-LGO6A7GJ.js} +50 -50
  129. package/dist/{chunk-CEQF6L5K.js → chunk-LUNJ3WFO.js} +9 -7
  130. package/dist/chunk-LUNJ3WFO.js.map +1 -0
  131. package/dist/{chunk-2572MRP2.js → chunk-LZH5FR2W.js} +2 -2
  132. package/dist/{chunk-256FBCVX.js → chunk-M4AHBM72.js} +7 -7
  133. package/dist/{chunk-YEQEGSJA.js → chunk-MN4KB2A4.js} +3 -3
  134. package/dist/{chunk-AGKIG3YA.js → chunk-NKKD4ZAU.js} +2 -2
  135. package/dist/{chunk-3TMYV3LP.js → chunk-NTWN6HB2.js} +5 -5
  136. package/dist/{chunk-63FHSH7E.js → chunk-OCZIYAE5.js} +4 -4
  137. package/dist/{chunk-I2HTKOOP.js → chunk-ODZG724P.js} +2 -2
  138. package/dist/{chunk-HQSBYI5X.js → chunk-OTHZWLUD.js} +2 -2
  139. package/dist/{chunk-4W6INNXO.js → chunk-PE255F4T.js} +2 -2
  140. package/dist/{chunk-6L27N6YI.js → chunk-QOS5LBZN.js} +2 -2
  141. package/dist/{chunk-G72IPMR7.js → chunk-R4OCGPSH.js} +2 -2
  142. package/dist/{chunk-MIBKEW7A.js → chunk-R7JAM2XF.js} +3 -3
  143. package/dist/{chunk-LCU5R6TQ.js → chunk-RAIUTAZZ.js} +22 -3
  144. package/dist/chunk-RAIUTAZZ.js.map +1 -0
  145. package/dist/chunk-RIAM7DND.js +167 -0
  146. package/dist/chunk-RIAM7DND.js.map +1 -0
  147. package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
  148. package/dist/{chunk-HUNSEO5U.js → chunk-S2DPMJXH.js} +2 -2
  149. package/dist/{chunk-3PXVYJMC.js → chunk-SB7D4BT7.js} +536 -114
  150. package/dist/chunk-SB7D4BT7.js.map +1 -0
  151. package/dist/{chunk-JFJ3MHGV.js → chunk-SBDCZ2AX.js} +1 -1
  152. package/dist/chunk-SBDCZ2AX.js.map +1 -0
  153. package/dist/{chunk-HQSPXTQO.js → chunk-SIHSCCUQ.js} +1 -1
  154. package/dist/{chunk-R3AAOKR2.js → chunk-SPUJNJJC.js} +2 -2
  155. package/dist/{chunk-IAY7YBXS.js → chunk-SQI57UCJ.js} +2 -2
  156. package/dist/{chunk-CTQRPANJ.js → chunk-SVSRPG6M.js} +2 -2
  157. package/dist/{chunk-56BSXSHC.js → chunk-TBOJ76ER.js} +14 -1
  158. package/dist/{chunk-56BSXSHC.js.map → chunk-TBOJ76ER.js.map} +1 -1
  159. package/dist/{chunk-Z54TXZ2F.js → chunk-TF77C7SV.js} +14 -7
  160. package/dist/chunk-TF77C7SV.js.map +1 -0
  161. package/dist/{chunk-S2VBSTTA.js → chunk-THG4GYIE.js} +2 -2
  162. package/dist/{chunk-IXRC7EQG.js → chunk-TR7DGXGI.js} +2 -2
  163. package/dist/{chunk-GEULB2VI.js → chunk-TZNQUNKL.js} +7 -1
  164. package/dist/chunk-TZNQUNKL.js.map +1 -0
  165. package/dist/{chunk-BC4QD3FM.js → chunk-UIN2BWDD.js} +2 -2
  166. package/dist/{chunk-JTSVMJHV.js → chunk-UXO5IMBK.js} +3 -3
  167. package/dist/{chunk-DBXZZIDU.js → chunk-V3MXUL3D.js} +138 -73
  168. package/dist/chunk-V3MXUL3D.js.map +1 -0
  169. package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
  170. package/dist/{chunk-MUJ4QFUQ.js → chunk-W4BMEGQA.js} +4 -4
  171. package/dist/{chunk-5HK3CJAR.js → chunk-W675UJCZ.js} +2 -2
  172. package/dist/{chunk-MDVBCPOS.js → chunk-XCTXS7VY.js} +2 -2
  173. package/dist/{chunk-53ENM6F6.js → chunk-XRYZRW54.js} +2 -2
  174. package/dist/{chunk-VJ6ECBIP.js → chunk-Y7DK7HHJ.js} +2 -2
  175. package/dist/{chunk-3MADV4YC.js → chunk-YB42WZCY.js} +2 -2
  176. package/dist/{chunk-X5SDZMO7.js → chunk-YHCBJULX.js} +2 -2
  177. package/dist/{chunk-3RHFGGI5.js → chunk-YLDXWCZP.js} +20 -5
  178. package/dist/chunk-YLDXWCZP.js.map +1 -0
  179. package/dist/{chunk-6JJT5AKI.js → chunk-Z7PBQPJ4.js} +2 -2
  180. package/dist/{chunk-ALCJRQ72.js → chunk-ZO6AXLEH.js} +2 -2
  181. package/dist/{chunk-VZVP2W4O.js → chunk-ZQHI2BZB.js} +2 -2
  182. package/dist/{chunk-CUS6S7PN.js → chunk-ZWXJBFZU.js} +9 -9
  183. package/dist/chunk-ZWXJBFZU.js.map +1 -0
  184. package/dist/{cli-Pulnz-qm.d.ts → cli-cShQ13XG.d.ts} +5 -5
  185. package/dist/cli.d.ts +13 -13
  186. package/dist/cli.js +77 -75
  187. package/dist/coding/pre-action-gate.d.ts +1 -1
  188. package/dist/compounding/engine.d.ts +2 -2
  189. package/dist/compounding/engine.js +17 -16
  190. package/dist/compounding/preference-consolidator.d.ts +1 -1
  191. package/dist/compression-optimizer.d.ts +1 -1
  192. package/dist/config.d.ts +1 -1
  193. package/dist/config.js +6 -1
  194. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  195. package/dist/connectors/codex-materialize-runner.js +16 -15
  196. package/dist/connectors/codex-materialize.d.ts +1 -1
  197. package/dist/connectors/index.d.ts +1 -1
  198. package/dist/connectors/index.js +16 -15
  199. package/dist/consolidation-provenance-check.d.ts +2 -2
  200. package/dist/consolidation-undo.d.ts +2 -2
  201. package/dist/contradiction/index.d.ts +2 -2
  202. package/dist/contradiction/index.js +10 -2
  203. package/dist/converge-config.d.ts +1 -1
  204. package/dist/convergence-refresh.d.ts +2 -2
  205. package/dist/convergence-refresh.js +18 -17
  206. package/dist/conversation-index/backend.d.ts +1 -1
  207. package/dist/conversation-index/chunker.d.ts +1 -1
  208. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  209. package/dist/conversation-index/indexer.d.ts +1 -1
  210. package/dist/conversation-index/search.d.ts +1 -1
  211. package/dist/corpus-watermark.d.ts +1 -1
  212. package/dist/corpus-watermark.js +18 -17
  213. package/dist/cross-lingual-recall.d.ts +1 -1
  214. package/dist/day-summary.d.ts +1 -1
  215. package/dist/delinearize.d.ts +1 -1
  216. package/dist/dependency-propagation-config.d.ts +1 -1
  217. package/dist/{dependency-propagation-delivery-Co17gxYb.d.ts → dependency-propagation-delivery-CsGg-VwS.d.ts} +1 -1
  218. package/dist/direct-answer-wiring.d.ts +1 -1
  219. package/dist/direct-answer.d.ts +1 -1
  220. package/dist/embedding-fallback.d.ts +1 -1
  221. package/dist/enrichment/index.d.ts +1 -1
  222. package/dist/entity-origin-fields.d.ts +1 -1
  223. package/dist/entity-retrieval.d.ts +2 -2
  224. package/dist/entity-retrieval.js +16 -15
  225. package/dist/entity-schema.d.ts +1 -1
  226. package/dist/episodic-context.d.ts +1 -1
  227. package/dist/explicit-capture.d.ts +9 -9
  228. package/dist/explicit-capture.js +7 -6
  229. package/dist/external-wiki-access.d.ts +12 -13
  230. package/dist/external-wiki-access.js +36 -35
  231. package/dist/external-wiki-collection-registration.d.ts +1 -1
  232. package/dist/external-wiki-collection.d.ts +1 -1
  233. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  234. package/dist/extraction-error-classification.d.ts +1 -1
  235. package/dist/extraction-faithfulness.d.ts +1 -1
  236. package/dist/extraction-judge-telemetry.d.ts +1 -1
  237. package/dist/extraction-judge-training.d.ts +1 -1
  238. package/dist/extraction-judge.d.ts +1 -1
  239. package/dist/extraction-judge.js +2 -2
  240. package/dist/extraction-liveness.d.ts +1 -1
  241. package/dist/extraction-normalization.d.ts +1 -1
  242. package/dist/extraction-normalization.js +2 -2
  243. package/dist/extraction-prompt.d.ts +2 -2
  244. package/dist/extraction-prompt.js +1 -1
  245. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  246. package/dist/extraction-source-grounding.d.ts +1 -1
  247. package/dist/extraction.d.ts +1 -1
  248. package/dist/extraction.js +22 -21
  249. package/dist/fallback-llm.d.ts +1 -1
  250. package/dist/graph-dashboard-diff.d.ts +1 -1
  251. package/dist/graph-dashboard-key.d.ts +1 -1
  252. package/dist/graph-dashboard-parser.d.ts +1 -1
  253. package/dist/graph-edge-reinforcement.d.ts +1 -1
  254. package/dist/graph-path-reconstruction.d.ts +1 -1
  255. package/dist/graph-path-scoring.d.ts +1 -1
  256. package/dist/graph-snapshot.d.ts +1 -1
  257. package/dist/graph.d.ts +1 -1
  258. package/dist/harmonic-retrieval.js +1 -1
  259. package/dist/importance.d.ts +1 -1
  260. package/dist/importers/index.d.ts +1 -1
  261. package/dist/in-flight-reads.d.ts +1 -1
  262. package/dist/index.d.ts +716 -699
  263. package/dist/index.js +173 -125
  264. package/dist/intent.d.ts +1 -1
  265. package/dist/lcm/engine.d.ts +1 -1
  266. package/dist/lcm/engine.js +3 -3
  267. package/dist/lcm/index.d.ts +1 -1
  268. package/dist/lcm/index.js +6 -6
  269. package/dist/lcm/tools.d.ts +1 -1
  270. package/dist/lifecycle.d.ts +1 -1
  271. package/dist/live-connectors-runner.d.ts +1 -1
  272. package/dist/local-llm.d.ts +1 -1
  273. package/dist/local-model-endpoint.d.ts +1 -1
  274. package/dist/maintenance/memory-governance.d.ts +1 -1
  275. package/dist/maintenance/memory-governance.js +16 -15
  276. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  277. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +16 -15
  278. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  279. package/dist/maintenance/rebuild-memory-projection.js +17 -16
  280. package/dist/{maintenance-DiSLtVN7.d.ts → maintenance-jhMpeGne.d.ts} +3 -3
  281. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  282. package/dist/mcp-read-only-tools.js +1 -1
  283. package/dist/memory-action-policy.d.ts +1 -1
  284. package/dist/memory-cache.d.ts +1 -1
  285. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  286. package/dist/memory-projection-store.d.ts +1 -1
  287. package/dist/memory-provenance.d.ts +1 -1
  288. package/dist/memory-snapshot.d.ts +1 -1
  289. package/dist/memory-subject-cli.d.ts +177 -0
  290. package/dist/memory-subject-cli.js +16 -0
  291. package/dist/memory-subject.d.ts +128 -0
  292. package/dist/memory-subject.js +44 -0
  293. package/dist/memory-subject.js.map +1 -0
  294. package/dist/memory-worth-outcomes.d.ts +5 -4
  295. package/dist/memory-worth-outcomes.js +1 -1
  296. package/dist/models-json.d.ts +1 -1
  297. package/dist/namespaces/migrate.d.ts +3 -3
  298. package/dist/namespaces/migrate.js +17 -16
  299. package/dist/namespaces/principal.d.ts +1 -1
  300. package/dist/namespaces/search.d.ts +1 -1
  301. package/dist/namespaces/search.js +6 -6
  302. package/dist/namespaces/storage.d.ts +3 -3
  303. package/dist/namespaces/storage.js +16 -15
  304. package/dist/native-knowledge.d.ts +1 -1
  305. package/dist/offline-sync-impression-drain.d.ts +1 -1
  306. package/dist/operator-doctor-corpus.d.ts +1 -1
  307. package/dist/operator-doctor-corpus.js +19 -18
  308. package/dist/operator-doctor-replica.d.ts +1 -1
  309. package/dist/operator-toolkit.d.ts +3 -3
  310. package/dist/operator-toolkit.js +26 -24
  311. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  312. package/dist/orchestration/maintenance.d.ts +4 -4
  313. package/dist/orchestration/maintenance.js +22 -21
  314. package/dist/{orchestrator-DzCaxNS4.d.ts → orchestrator-DyGUC7re.d.ts} +8 -8
  315. package/dist/orchestrator.d.ts +9 -9
  316. package/dist/orchestrator.js +108 -105
  317. package/dist/patterns-cli.d.ts +1 -1
  318. package/dist/{pipeline-HJ8DKbFl.d.ts → pipeline-C25Oxtp1.d.ts} +1 -1
  319. package/dist/policy-runtime.d.ts +1 -1
  320. package/dist/proactive-contention.d.ts +1 -1
  321. package/dist/provenance.d.ts +1 -1
  322. package/dist/{public-http-DwXauTX3.d.ts → public-http-CMe7NQzj.d.ts} +1 -1
  323. package/dist/{qmd-BzxluoLt.d.ts → qmd-DkDVCbgF.d.ts} +1 -1
  324. package/dist/qmd-preflight.d.ts +2 -2
  325. package/dist/qmd-recall-cache.d.ts +1 -1
  326. package/dist/qmd.d.ts +2 -2
  327. package/dist/qmd.js +4 -4
  328. package/dist/recall-concurrency-config.d.ts +1 -1
  329. package/dist/recall-disclosure-escalation.d.ts +1 -1
  330. package/dist/recall-explain-renderer.d.ts +1 -1
  331. package/dist/recall-explain-renderer.js +3 -3
  332. package/dist/recall-memory-map.d.ts +1 -1
  333. package/dist/recall-planner-llm.d.ts +1 -1
  334. package/dist/recall-state.d.ts +1 -1
  335. package/dist/recall-tag-filter.d.ts +1 -1
  336. package/dist/recall-timings.d.ts +1 -1
  337. package/dist/recall-xray-cli.d.ts +1 -1
  338. package/dist/recall-xray-cli.js +4 -4
  339. package/dist/recall-xray-renderer.d.ts +1 -1
  340. package/dist/recall-xray-renderer.js +3 -3
  341. package/dist/recall-xray.d.ts +1 -1
  342. package/dist/recall-xray.js +2 -2
  343. package/dist/reconcile/cursor.d.ts +1 -1
  344. package/dist/reconcile/manifest.d.ts +1 -1
  345. package/dist/reconcile/manifest.js +3 -3
  346. package/dist/reconcile/plan.d.ts +1 -1
  347. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  348. package/dist/replay/normalizers/claude.d.ts +1 -1
  349. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  350. package/dist/replay/normalizers/shared.d.ts +1 -1
  351. package/dist/replay/runner.d.ts +1 -1
  352. package/dist/replay/types.d.ts +1 -1
  353. package/dist/replica-divergence.d.ts +1 -1
  354. package/dist/replica-peers-config.d.ts +1 -1
  355. package/dist/{resolution-DKMBPXHI.js → resolution-MFY72STR.js} +11 -3
  356. package/dist/resolution-MFY72STR.js.map +1 -0
  357. package/dist/resolve-auth-token.d.ts +1 -1
  358. package/dist/resume-bundles.js +7 -2
  359. package/dist/retrieval-agents.d.ts +2 -2
  360. package/dist/retrieval-tiers.d.ts +1 -1
  361. package/dist/routing/engine.d.ts +1 -1
  362. package/dist/routing/store.d.ts +1 -1
  363. package/dist/salvage-envelope.d.ts +1 -1
  364. package/dist/salvage-envelope.js +10 -2
  365. package/dist/schemas.d.ts +104 -90
  366. package/dist/schemas.js +1 -1
  367. package/dist/{scope-profiles-CEMZz0t5.d.ts → scope-profiles-B9xMoFO-.d.ts} +1 -1
  368. package/dist/search/embed-helper.d.ts +1 -1
  369. package/dist/search/factory.d.ts +1 -1
  370. package/dist/search/factory.js +5 -5
  371. package/dist/search/index.d.ts +1 -1
  372. package/dist/search/index.js +9 -9
  373. package/dist/search/lancedb-backend.d.ts +1 -1
  374. package/dist/search/meilisearch-backend.d.ts +1 -1
  375. package/dist/search/noop-backend.d.ts +1 -1
  376. package/dist/search/orama-backend.d.ts +1 -1
  377. package/dist/search/port.d.ts +1 -1
  378. package/dist/search/remote-backend.d.ts +1 -1
  379. package/dist/{semantic-consolidation-D9dYj6vu.d.ts → semantic-consolidation-C4uykW84.d.ts} +1 -1
  380. package/dist/semantic-consolidation.d.ts +2 -2
  381. package/dist/semantic-consolidation.js +17 -16
  382. package/dist/semantic-rule-promotion.js +16 -15
  383. package/dist/semantic-rule-verifier.d.ts +1 -1
  384. package/dist/semantic-rule-verifier.js +16 -15
  385. package/dist/{service-_qgST_0y.d.ts → service-DCZDZNcV.d.ts} +2 -2
  386. package/dist/session-observer-bands.d.ts +1 -1
  387. package/dist/session-observer-state.d.ts +1 -1
  388. package/dist/shared-context/manager.d.ts +11 -11
  389. package/dist/signal.d.ts +1 -1
  390. package/dist/source-agent-qualifier.d.ts +1 -1
  391. package/dist/source-agent-qualifier.js +18 -17
  392. package/dist/{storage-B9lbNTYE.d.ts → storage-CcKmEjL8.d.ts} +3 -2
  393. package/dist/storage.d.ts +2 -2
  394. package/dist/storage.js +18 -17
  395. package/dist/subject-config.d.ts +38 -0
  396. package/dist/subject-config.js +20 -0
  397. package/dist/subject-config.js.map +1 -0
  398. package/dist/summarizer.d.ts +1 -1
  399. package/dist/summary-snapshot.d.ts +1 -1
  400. package/dist/support-passport/index.d.ts +14 -14
  401. package/dist/support-passport/index.js +38 -37
  402. package/dist/temporal-supersession.d.ts +2 -2
  403. package/dist/temporal-timeline-recall.d.ts +1 -1
  404. package/dist/temporal-validity.d.ts +1 -1
  405. package/dist/threading.d.ts +1 -1
  406. package/dist/tier-migration.d.ts +2 -2
  407. package/dist/tier-routing.d.ts +1 -1
  408. package/dist/topics.d.ts +1 -1
  409. package/dist/transcript.d.ts +1 -1
  410. package/dist/transfer/backup.js +2 -2
  411. package/dist/transfer/capsule-export.js +2 -2
  412. package/dist/transfer/capsule-import.js +2 -2
  413. package/dist/transfer/types.d.ts +66 -66
  414. package/dist/trust-score-stage.d.ts +1 -1
  415. package/dist/trust-score.d.ts +1 -1
  416. package/dist/{types-BrEzuxPA.d.ts → types-Pi0lfaEt.d.ts} +38 -29
  417. package/dist/types.d.ts +1 -1
  418. package/dist/types.js +1 -1
  419. package/dist/utility-runtime.d.ts +1 -1
  420. package/dist/verified-recall.js +16 -15
  421. package/dist/who-knows-cli.d.ts +11 -11
  422. package/dist/who-knows-cli.js +17 -16
  423. package/dist/who-knows.d.ts +11 -11
  424. package/dist/who-knows.js +16 -15
  425. package/dist/write-envelope.d.ts +5 -2
  426. package/dist/write-envelope.js +10 -1
  427. package/package.json +2 -2
  428. package/scripts/build-with-heap.mjs +1 -1
  429. package/src/access-boundary.ts +2 -0
  430. package/src/access-mcp-admin-tools.ts +14 -0
  431. package/src/access-mcp-output-schemas.ts +6 -0
  432. package/src/access-mcp.ts +6 -6
  433. package/src/access-operations-batch.ts +8 -0
  434. package/src/access-service.ts +85 -0
  435. package/src/access-surface-catalog.ts +2 -0
  436. package/src/config.ts +10 -17
  437. package/src/extraction-prompt.ts +1 -0
  438. package/src/extraction.ts +4 -1
  439. package/src/index.ts +5 -6
  440. package/src/mcp-read-only-tools.ts +1 -0
  441. package/src/memory-subject-cli.ts +135 -0
  442. package/src/memory-subject.test.ts +48 -0
  443. package/src/memory-subject.ts +314 -0
  444. package/src/memory-worth-outcomes.test.ts +6 -2
  445. package/src/memory-worth-outcomes.ts +11 -7
  446. package/src/operator-toolkit.ts +1 -1
  447. package/src/orchestration/extraction-persist.ts +48 -48
  448. package/src/orchestration/recall-internal.ts +6 -5
  449. package/src/procedural/library-maintenance.test.ts +582 -0
  450. package/src/procedural/library-maintenance.ts +546 -0
  451. package/src/procedural/maintenance-config.ts +78 -0
  452. package/src/procedural/procedure-recall.ts +29 -1
  453. package/src/procedural/procedure-stats.ts +20 -0
  454. package/src/schemas.ts +7 -0
  455. package/src/spaces/index.ts +38 -2
  456. package/src/storage.ts +6 -2
  457. package/src/subject-config.ts +80 -0
  458. package/src/types.ts +26 -29
  459. package/src/write-envelope.test.ts +14 -0
  460. package/src/write-envelope.ts +24 -3
  461. package/dist/chunk-3PXVYJMC.js.map +0 -1
  462. package/dist/chunk-3RHFGGI5.js.map +0 -1
  463. package/dist/chunk-4NZHHGVL.js.map +0 -1
  464. package/dist/chunk-CEQF6L5K.js.map +0 -1
  465. package/dist/chunk-CUS6S7PN.js.map +0 -1
  466. package/dist/chunk-DBXZZIDU.js.map +0 -1
  467. package/dist/chunk-DEFI2QBT.js.map +0 -1
  468. package/dist/chunk-EIR5VLIH.js.map +0 -1
  469. package/dist/chunk-GEULB2VI.js.map +0 -1
  470. package/dist/chunk-JFJ3MHGV.js.map +0 -1
  471. package/dist/chunk-JG22O53B.js.map +0 -1
  472. package/dist/chunk-LCU5R6TQ.js.map +0 -1
  473. package/dist/chunk-MSTNSVXI.js.map +0 -1
  474. package/dist/chunk-YQ3CBLL4.js.map +0 -1
  475. package/dist/chunk-Z54TXZ2F.js.map +0 -1
  476. /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
  477. /package/dist/{chunk-LYIZXQYY.js.map → chunk-2E36UXVW.js.map} +0 -0
  478. /package/dist/{chunk-7QFBLYFP.js.map → chunk-2XDWWPTN.js.map} +0 -0
  479. /package/dist/{chunk-CFRBTATE.js.map → chunk-2YI72KM3.js.map} +0 -0
  480. /package/dist/{chunk-3YTTAGPB.js.map → chunk-3DVBKTSO.js.map} +0 -0
  481. /package/dist/{chunk-VPGRXEAB.js.map → chunk-3I7ASZN3.js.map} +0 -0
  482. /package/dist/{chunk-WTOE7CW4.js.map → chunk-4KYOLI6M.js.map} +0 -0
  483. /package/dist/{chunk-ESCQ6LY7.js.map → chunk-5NM4OH4P.js.map} +0 -0
  484. /package/dist/{chunk-Y23B2QXP.js.map → chunk-5YQ63T4B.js.map} +0 -0
  485. /package/dist/{chunk-PMVPCZJZ.js.map → chunk-6433HV72.js.map} +0 -0
  486. /package/dist/{chunk-NS5ETDYD.js.map → chunk-7BEPVIH3.js.map} +0 -0
  487. /package/dist/{chunk-W6TSGWYS.js.map → chunk-7YQ4IYS2.js.map} +0 -0
  488. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  489. /package/dist/{chunk-CEH2AFXG.js.map → chunk-C24UZSFW.js.map} +0 -0
  490. /package/dist/{chunk-ZPN7W3OP.js.map → chunk-CDUUDBWJ.js.map} +0 -0
  491. /package/dist/{chunk-5UYSCYR7.js.map → chunk-CT56C22C.js.map} +0 -0
  492. /package/dist/{chunk-HJQZQUPC.js.map → chunk-DJZWNKFO.js.map} +0 -0
  493. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  494. /package/dist/{chunk-CCTVAVTT.js.map → chunk-DZUJ46DO.js.map} +0 -0
  495. /package/dist/{chunk-N6TRHP72.js.map → chunk-EILZG5VC.js.map} +0 -0
  496. /package/dist/{chunk-GXWDWOWP.js.map → chunk-GDFVPUJ5.js.map} +0 -0
  497. /package/dist/{chunk-7PWWGYGO.js.map → chunk-GNCCUR6K.js.map} +0 -0
  498. /package/dist/{chunk-KPBLJCCV.js.map → chunk-IID2CMUU.js.map} +0 -0
  499. /package/dist/{chunk-UYCIS6V5.js.map → chunk-JCWY73FK.js.map} +0 -0
  500. /package/dist/{chunk-SYJ6EKKE.js.map → chunk-JYYBA7TF.js.map} +0 -0
  501. /package/dist/{chunk-T42L3S6A.js.map → chunk-LBWQ65SX.js.map} +0 -0
  502. /package/dist/{chunk-LWVO2QZV.js.map → chunk-LGO6A7GJ.js.map} +0 -0
  503. /package/dist/{chunk-2572MRP2.js.map → chunk-LZH5FR2W.js.map} +0 -0
  504. /package/dist/{chunk-256FBCVX.js.map → chunk-M4AHBM72.js.map} +0 -0
  505. /package/dist/{chunk-YEQEGSJA.js.map → chunk-MN4KB2A4.js.map} +0 -0
  506. /package/dist/{chunk-AGKIG3YA.js.map → chunk-NKKD4ZAU.js.map} +0 -0
  507. /package/dist/{chunk-3TMYV3LP.js.map → chunk-NTWN6HB2.js.map} +0 -0
  508. /package/dist/{chunk-63FHSH7E.js.map → chunk-OCZIYAE5.js.map} +0 -0
  509. /package/dist/{chunk-I2HTKOOP.js.map → chunk-ODZG724P.js.map} +0 -0
  510. /package/dist/{chunk-HQSBYI5X.js.map → chunk-OTHZWLUD.js.map} +0 -0
  511. /package/dist/{chunk-4W6INNXO.js.map → chunk-PE255F4T.js.map} +0 -0
  512. /package/dist/{chunk-6L27N6YI.js.map → chunk-QOS5LBZN.js.map} +0 -0
  513. /package/dist/{chunk-G72IPMR7.js.map → chunk-R4OCGPSH.js.map} +0 -0
  514. /package/dist/{chunk-MIBKEW7A.js.map → chunk-R7JAM2XF.js.map} +0 -0
  515. /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
  516. /package/dist/{chunk-HUNSEO5U.js.map → chunk-S2DPMJXH.js.map} +0 -0
  517. /package/dist/{chunk-HQSPXTQO.js.map → chunk-SIHSCCUQ.js.map} +0 -0
  518. /package/dist/{chunk-R3AAOKR2.js.map → chunk-SPUJNJJC.js.map} +0 -0
  519. /package/dist/{chunk-IAY7YBXS.js.map → chunk-SQI57UCJ.js.map} +0 -0
  520. /package/dist/{chunk-CTQRPANJ.js.map → chunk-SVSRPG6M.js.map} +0 -0
  521. /package/dist/{chunk-S2VBSTTA.js.map → chunk-THG4GYIE.js.map} +0 -0
  522. /package/dist/{chunk-IXRC7EQG.js.map → chunk-TR7DGXGI.js.map} +0 -0
  523. /package/dist/{chunk-BC4QD3FM.js.map → chunk-UIN2BWDD.js.map} +0 -0
  524. /package/dist/{chunk-JTSVMJHV.js.map → chunk-UXO5IMBK.js.map} +0 -0
  525. /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
  526. /package/dist/{chunk-MUJ4QFUQ.js.map → chunk-W4BMEGQA.js.map} +0 -0
  527. /package/dist/{chunk-5HK3CJAR.js.map → chunk-W675UJCZ.js.map} +0 -0
  528. /package/dist/{chunk-MDVBCPOS.js.map → chunk-XCTXS7VY.js.map} +0 -0
  529. /package/dist/{chunk-53ENM6F6.js.map → chunk-XRYZRW54.js.map} +0 -0
  530. /package/dist/{chunk-VJ6ECBIP.js.map → chunk-Y7DK7HHJ.js.map} +0 -0
  531. /package/dist/{chunk-3MADV4YC.js.map → chunk-YB42WZCY.js.map} +0 -0
  532. /package/dist/{chunk-X5SDZMO7.js.map → chunk-YHCBJULX.js.map} +0 -0
  533. /package/dist/{chunk-6JJT5AKI.js.map → chunk-Z7PBQPJ4.js.map} +0 -0
  534. /package/dist/{chunk-ALCJRQ72.js.map → chunk-ZO6AXLEH.js.map} +0 -0
  535. /package/dist/{chunk-VZVP2W4O.js.map → chunk-ZQHI2BZB.js.map} +0 -0
  536. /package/dist/{resolution-DKMBPXHI.js.map → memory-subject-cli.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
5
5
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
6
6
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
7
7
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
8
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DzCaxNS4.js';
8
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DyGUC7re.js';
9
9
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
10
10
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
11
11
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
@@ -16,8 +16,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
16
16
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
17
17
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
18
18
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
19
- import { S as StorageManager, a as MeetingRecordStore } from './storage-B9lbNTYE.js';
20
- 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-B9lbNTYE.js';
19
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-CcKmEjL8.js';
20
+ 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-CcKmEjL8.js';
21
21
  import { SealedMemoryEnvelope } from './write-envelope.js';
22
22
  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';
23
23
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -26,13 +26,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
26
26
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
27
27
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
28
28
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
29
- import { C as CodingContext, bi as CodingModeConfig, aR as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aT as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, x as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aU as WearableSourceSettings, aY as WearablesConfig, aX as WearableSourceConnector, br as OffTheRecordMarkerSettings, b1 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, a$ as WearableDayTranscript, aI as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aL as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aJ as ActivityConfig, a6 as ExtractionResult, z as MemoryStatus, ar as ImportanceScore, bx as MeetingsDetectionConfig, aQ as MeetingsDetectionInput, aS as DetectedMeeting, aN as MeetingsConfig, aP as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-BrEzuxPA.js';
30
- export { bA as ActivityExtractionMode, aK as ActivitySourceConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bC as BriefingWindow, a8 as BufferSurpriseEvent, bD as BulkImportError, aa as BulkImportOptions, ac as BulkImportResult, ab as BulkImportSource, bE as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bF as CodexCompatConfig, bh as ConsolidationObservation, bG as DEFAULT_RECALL_DISCLOSURE, bH as DisagreementKind, E as EntityFile, am as EntityStructuredSection, ap as ExtractedFact, bI as FusedContribution, bJ as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aO as FusedMeeting, bK as FusedSegmentProvenance, b0 as FusedWearableConversation, bL as FusionSegmentInput, G as GatewayConfig, bM as ImportSourceRole, a9 as ImportTurn, bN as ImportTurnValidationIssue, aM as MeetingBuildInput, b4 as MeetingDetectionSource, bO as MeetingScreenContextEvent, bP as MeetingSummaryMode, at as MemoryActionEligibilityContext, bQ as MemoryActionEligibilitySource, ag as MemoryActionType, M as MemoryFile, m as MemoryFrontmatter, bR as MemoryObservation, bS as MemoryScope, bT as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, v as SecretRef, bU as SegmentPickReason, bV as WearableAuthCheck, bW as WearableFetchOptions, bX as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bY as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, bZ as WearableTranscriptSegment, b_ as isImportRole, b$ as isRecallDisclosure, c0 as parseIsoTimestamp, c1 as validateImportTurn } from './types-BrEzuxPA.js';
29
+ import { C as CodingContext, bk as CodingModeConfig, aT as FusionConversationInput, bl as FusedSpeaker, bm as FusedSegment, bn as FusedDisagreement, bo as FusionOptions, aV as WearableConversation, bp as FusionDayResult, P as PluginConfig, bq as CodingKnowledgeConfig, au as SubjectGuardMode, x as MemoryCategory, br as WearableCleanupSettings, bs as WearableFusionConfig, aW as WearableSourceSettings, a_ as WearablesConfig, aZ as WearableSourceConnector, bt as OffTheRecordMarkerSettings, b3 as WearableCorrectionRule, bu as WearableDayTranscriptMeta, b1 as WearableDayTranscript, aK as ActivitySnapshot, bv as ActivityDayMeta, bw as ActivityDayDigest, aN as ActivitySourceClient, bx as ActivitySourceCheck, by as ActivitySnapshotPage, aL as ActivityConfig, a7 as ExtractionResult, z as MemoryStatus, as as ImportanceScore, bz as MeetingsDetectionConfig, aS as MeetingsDetectionInput, aU as DetectedMeeting, aP as MeetingsConfig, aR as MeetingRecord, bA as MeetingAudioWindow, bB as MeetingAppSpan } from './types-Pi0lfaEt.js';
30
+ export { bC as ActivityExtractionMode, aM as ActivitySourceConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, bD as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bE as BriefingWindow, a9 as BufferSurpriseEvent, bF as BulkImportError, ab as BulkImportOptions, ad as BulkImportResult, ac as BulkImportSource, bG as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bH as CodexCompatConfig, bj as ConsolidationObservation, bI as DEFAULT_RECALL_DISCLOSURE, bJ as DisagreementKind, E as EntityFile, an as EntityStructuredSection, aq as ExtractedFact, bK as FusedContribution, bL as FusedConversationProvenance, b5 as FusedDayFile, b4 as FusedDayMeta, aQ as FusedMeeting, bM as FusedSegmentProvenance, b2 as FusedWearableConversation, bN as FusionSegmentInput, G as GatewayConfig, bO as ImportSourceRole, aa as ImportTurn, bP as ImportTurnValidationIssue, aO as MeetingBuildInput, b6 as MeetingDetectionSource, bQ as MeetingScreenContextEvent, bR as MeetingSummaryMode, av as MemoryActionEligibilityContext, bS as MemoryActionEligibilitySource, ah as MemoryActionType, M as MemoryFile, m as MemoryFrontmatter, bT as MemoryObservation, bU as MemoryScope, bV as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, v as SecretRef, bW as SegmentPickReason, bX as WearableAuthCheck, bY as WearableFetchOptions, bZ as WearableFetchPage, aY as WearableMemoryMode, aX as WearableNativeMemory, b_ as WearableNativeMemoryPage, b0 as WearableSourceStatus, a$ as WearableSyncSummary, b$ as WearableTranscriptSegment, c0 as isImportRole, c1 as isRecallDisclosure, c2 as parseIsoTimestamp, c3 as validateImportTurn } from './types-Pi0lfaEt.js';
31
31
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
32
32
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
33
33
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
34
- import { f as EngramAccessService } from './access-service-B1Lbb-nQ.js';
35
- export { K as EngramMcpServer, P as ProcedureStatsConfigSnapshot, L as ProcedureStatsRecent, N as ProcedureStatsReport, O as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, Q as SUPPORT_PASSPORT_CARD_STATUSES, R as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, T as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, U as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, V as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, X as SupportPassportAccessSurface, Y as SupportPassportAccessSurfaceDependencies, Z as SupportPassportAnswerModelInput, _ as SupportPassportAnswerModelInputSchema, $ as SupportPassportAnswerOutput, a0 as SupportPassportAnswerOutputSchema, a1 as SupportPassportAnswerResult, a2 as SupportPassportCard, a3 as SupportPassportCardCategory, a4 as SupportPassportCardCategorySchema, a5 as SupportPassportCardListSchema, a6 as SupportPassportCardMutationInput, a7 as SupportPassportCardMutationInputSchema, a8 as SupportPassportCardSchema, a9 as SupportPassportCardServiceDependencies, aa as SupportPassportCardStatus, ab as SupportPassportCardStatusSchema, ac as SupportPassportCardTitleSchema, ad as SupportPassportCreateGrantInput, ae as SupportPassportCreateGrantInputSchema, af as SupportPassportCreateGrantRequest, ag as SupportPassportCreateGrantRequestSchema, ah as SupportPassportCreateGrantResult, ai as SupportPassportCreatedGrant, aj as SupportPassportCreatedGrantSchema, ak as SupportPassportDraftCard, al as SupportPassportDraftCardSchema, am as SupportPassportDraftModelInput, an as SupportPassportDraftModelInputSchema, ao as SupportPassportDraftOutputSchema, ap as SupportPassportDraftResult, aq as SupportPassportError, ar as SupportPassportErrorCode, as as SupportPassportGrantCardRef, at as SupportPassportGrantCardRefSchema, au as SupportPassportGrantState, av as SupportPassportGrantStateSchema, aw as SupportPassportListCardsInputSchema, ax as SupportPassportListGrantsInputSchema, ay as SupportPassportManualDraftInput, az as SupportPassportManualDraftInputSchema, aA as SupportPassportMemoryIdSchema, aB as SupportPassportMemoryPreview, aC as SupportPassportModelAdapter, aD as SupportPassportModelAdapterOptions, aE as SupportPassportModelAuditRecord, aF as SupportPassportModelAuditRecordSchema, aG as SupportPassportModelAuditSink, aH as SupportPassportModelAuditStore, aI as SupportPassportModelCallError, aJ as SupportPassportModelClients, aK as SupportPassportModelFailureMetadata, aL as SupportPassportModelMessage, aM as SupportPassportModelResultMetadata, aN as SupportPassportModelRoute, aO as SupportPassportModelRouteKind, aP as SupportPassportModelRouteResult, aQ as SupportPassportModelUsage, aR as SupportPassportNamespaceSchema, aS as SupportPassportOwnerCreateGrantRequest, aT as SupportPassportOwnerCreateGrantRequestSchema, aU as SupportPassportOwnerGrant, aV as SupportPassportOwnerGrantSchema, aW as SupportPassportOwnerScope, aX as SupportPassportPublicCardSchema, aY as SupportPassportPublicGuide, aZ as SupportPassportPublicGuideSchema, a_ as SupportPassportReplaceCardInput, a$ as SupportPassportReplaceCardInputSchema, b0 as SupportPassportRevokeGrantInput, b1 as SupportPassportRevokeGrantInputSchema, b2 as SupportPassportRevokeGrantResult, b3 as SupportPassportSourceMemoryIdSchema, b4 as WHO_KNOWS_AUTHORSHIP_BONUS, b5 as WHO_KNOWS_DEFAULT_LIMIT, b6 as WHO_KNOWS_MAX_EVIDENCE, b7 as WHO_KNOWS_MAX_LIMIT, b8 as WHO_KNOWS_MCP_TOOLS, b9 as WhoKnowsEntity, ba as WhoKnowsEvidence, bb as WhoKnowsHit, bc as WhoKnowsHttpOutcome, W as WhoKnowsResult, bd as WhoKnowsStorage, be as acceptsSupportPassportModelResponse, bf as buildSupportPassportDirectGatewayConfig, bg as computeProcedureStats, bh as computeSupportPassportCardRevision, bi as computeWhoKnows, bj as createSupportPassportModelAdapter, bk as formatProcedureStatsText, bl as handleWhoKnowsHttpQuery, bm as hashSupportPassportAuditValues, bn as loadWhoKnowsEntities, bo as resolveSupportPassportModelRoutePlan, bp as tokenizeTopic, bq as validateWhoKnowsInput } from './access-service-B1Lbb-nQ.js';
34
+ import { f as EngramAccessService, B as BoundOperation } from './access-service-Bke1alZO.js';
35
+ export { L as EngramMcpServer, N as OPERATION_NAMES, O as OperationName, Q as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, R as PROMOTION_CANDIDATES_MCP_TOOLS, T as ProcedureLibraryMaintenanceReport, U as ProcedureMaintenanceAction, V as ProcedureMaintenanceActionKind, X as ProcedureMaintenanceEvidence, Y as ProcedureMaintenanceMarker, Z as ProcedureMaintenanceReasonCode, _ as ProcedureStatsConfigSnapshot, $ as ProcedureStatsRecent, a0 as ProcedureStatsReport, a1 as ProcedureStatusCounts, a2 as PromotionCandidate, P as PromotionCandidatesResult, a3 as PromotionReuseSignal, a4 as SUBJECT_GUARD_MODES, a5 as SUBJECT_GUARD_OVERRIDE_FLAG, a6 as SUBJECT_VALUES, a7 as SUPPORT_PASSPORT_CARD_CATEGORIES, a8 as SUPPORT_PASSPORT_CARD_STATUSES, a9 as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, aa as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, ab as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ac as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ad as SubjectBackfillStorage, ae as SubjectGuardDecision, af as SupportPassportAccessSurface, ag as SupportPassportAccessSurfaceDependencies, ah as SupportPassportAnswerModelInput, ai as SupportPassportAnswerModelInputSchema, aj as SupportPassportAnswerOutput, ak as SupportPassportAnswerOutputSchema, al as SupportPassportAnswerResult, am as SupportPassportCard, an as SupportPassportCardCategory, ao as SupportPassportCardCategorySchema, ap as SupportPassportCardListSchema, aq as SupportPassportCardMutationInput, ar as SupportPassportCardMutationInputSchema, as as SupportPassportCardSchema, at as SupportPassportCardServiceDependencies, au as SupportPassportCardStatus, av as SupportPassportCardStatusSchema, aw as SupportPassportCardTitleSchema, ax as SupportPassportCreateGrantInput, ay as SupportPassportCreateGrantInputSchema, az as SupportPassportCreateGrantRequest, aA as SupportPassportCreateGrantRequestSchema, aB as SupportPassportCreateGrantResult, aC as SupportPassportCreatedGrant, aD as SupportPassportCreatedGrantSchema, aE as SupportPassportDraftCard, aF as SupportPassportDraftCardSchema, aG as SupportPassportDraftModelInput, aH as SupportPassportDraftModelInputSchema, aI as SupportPassportDraftOutputSchema, aJ as SupportPassportDraftResult, aK as SupportPassportError, aL as SupportPassportErrorCode, aM as SupportPassportGrantCardRef, aN as SupportPassportGrantCardRefSchema, aO as SupportPassportGrantState, aP as SupportPassportGrantStateSchema, aQ as SupportPassportListCardsInputSchema, aR as SupportPassportListGrantsInputSchema, aS as SupportPassportManualDraftInput, aT as SupportPassportManualDraftInputSchema, aU as SupportPassportMemoryIdSchema, aV as SupportPassportMemoryPreview, aW as SupportPassportModelAdapter, aX as SupportPassportModelAdapterOptions, aY as SupportPassportModelAuditRecord, aZ as SupportPassportModelAuditRecordSchema, a_ as SupportPassportModelAuditSink, a$ as SupportPassportModelAuditStore, b0 as SupportPassportModelCallError, b1 as SupportPassportModelClients, b2 as SupportPassportModelFailureMetadata, b3 as SupportPassportModelMessage, b4 as SupportPassportModelResultMetadata, b5 as SupportPassportModelRoute, b6 as SupportPassportModelRouteKind, b7 as SupportPassportModelRouteResult, b8 as SupportPassportModelUsage, b9 as SupportPassportNamespaceSchema, ba as SupportPassportOwnerCreateGrantRequest, bb as SupportPassportOwnerCreateGrantRequestSchema, bc as SupportPassportOwnerGrant, bd as SupportPassportOwnerGrantSchema, be as SupportPassportOwnerScope, bf as SupportPassportPublicCardSchema, bg as SupportPassportPublicGuide, bh as SupportPassportPublicGuideSchema, bi as SupportPassportReplaceCardInput, bj as SupportPassportReplaceCardInputSchema, bk as SupportPassportRevokeGrantInput, bl as SupportPassportRevokeGrantInputSchema, bm as SupportPassportRevokeGrantResult, bn as SupportPassportSourceMemoryIdSchema, bo as WHO_KNOWS_AUTHORSHIP_BONUS, bp as WHO_KNOWS_DEFAULT_LIMIT, bq as WHO_KNOWS_MAX_EVIDENCE, br as WHO_KNOWS_MAX_LIMIT, bs as WHO_KNOWS_MCP_TOOLS, bt as WhoKnowsEntity, bu as WhoKnowsEvidence, bv as WhoKnowsHit, bw as WhoKnowsHttpOutcome, W as WhoKnowsResult, bx as WhoKnowsStorage, by as acceptsSupportPassportModelResponse, bz as backfillMemorySubjects, bA as buildSupportPassportDirectGatewayConfig, bB as computeProcedureStats, bC as computePromotionCandidates, bD as computeSupportPassportCardRevision, bE as computeWhoKnows, bF as createSupportPassportModelAdapter, bG as evaluateSubjectGuard, bH as formatProcedureStatsText, bI as handleWhoKnowsHttpQuery, bJ as hashSupportPassportAuditValues, bK as isMemorySubject, bL as isSharedPromotionTarget, bM as isSubjectGuardMode, bN as loadWhoKnowsEntities, bO as promotionCandidateKey, bP as resolveSupportPassportModelRoutePlan, bQ as resolveWriteSubject, bR as runProcedureLibraryMaintenance, bS as subjectDefaultForCategory, bT as tokenizeTopic, bU as validateWhoKnowsInput } from './access-service-Bke1alZO.js';
36
36
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
37
37
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
38
38
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -40,22 +40,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
40
40
  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';
41
41
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
42
42
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
43
- export { Q as QmdClient } from './qmd-BzxluoLt.js';
43
+ export { Q as QmdClient } from './qmd-DkDVCbgF.js';
44
44
  export { LanceDbBackend } from './search/lancedb-backend.js';
45
45
  export { OramaBackend } from './search/orama-backend.js';
46
46
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
47
47
  export { buildEntityRecallSection } from './entity-retrieval.js';
48
48
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
49
- 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-DjVhJoRM.js';
49
+ 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-DV6qnbr7.js';
50
50
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
51
51
  export { storagePathHash } from './storage-paths.js';
52
52
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
53
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Pulnz-qm.js';
53
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-cShQ13XG.js';
54
54
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
55
- import { BoundOperation } from './access-boundary.js';
56
- export { OPERATION_NAMES, OperationName } from './access-boundary.js';
57
55
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
58
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-DwXauTX3.js';
56
+ 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-CMe7NQzj.js';
59
57
  import { z } from 'zod';
60
58
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
61
59
  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';
@@ -63,6 +61,8 @@ export { ParsedXrayCliOptions, parseXrayBudgetFlag, parseXrayCliOptions } from '
63
61
  export { RECALL_XRAY_FORMATS, RecallXrayFormat, parseXrayFormat, renderXray, renderXrayJson, renderXrayMarkdown, renderXrayText } from './recall-xray-renderer.js';
64
62
  export { RecallFilterTrace, RecallXrayResult, RecallXrayScoreDecomposition, RecallXrayServedBy, RecallXraySnapshot } from './recall-xray.js';
65
63
  export { ParsedWhoKnowsCliOptions, extractWhoKnowsRawArgs, parseWhoKnowsCliOptions, renderWhoKnows, renderWhoKnowsJson, renderWhoKnowsText } from './who-knows-cli.js';
64
+ export { PromotionCandidatesCliOptions, SubjectsBackfillCliOptions, parsePromotionCandidatesCliOptions, parseSubjectsBackfillCliOptions, renderPromotionCandidates, runPromotionCandidatesCommand, runSubjectsBackfillCommand } from './memory-subject-cli.js';
65
+ export { SubjectRuntimeConfig, parseSubjectRuntimeConfig } from './subject-config.js';
66
66
  export { REMNIC_CHATGPT_MEMORY_INSPECTOR_CANONICAL_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE, REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_HTML, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_URI, RemnicChatGptMemoryCard, RemnicChatGptMemoryInspectorInput, RemnicChatGptMemoryInspectorResult, buildChatGptMemoryInspectorActionRequest, buildChatGptMemoryInspectorResult } from './mcp-memory-inspector-app.js';
67
67
  export { NormalizedActionIntent, PRE_ACTION_FINGERPRINT_VERSION, PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, PRE_ACTION_WARNING_VERSION, PreActionFailureGate, PreActionGateDependencies, PreActionGateRequest, PreActionGateResult, PreActionGateStatus, normalizeActionIntent, sanitizePayloadString } from './coding/pre-action-gate.js';
68
68
  export { ActionIdentity, ActionIntent, ActionStrategyId, CausalTrajectoryCodingContext, CausalTrajectoryRecord, CausalTrajectorySearchResult, CausalTrajectoryStoreStatus, CausalTrajectoryStrictReadResult, CommandIntent, EditIntent, EditKind, advanceCausalTrajectoryRevisionToken, filterTrajectoriesByLookbackDays, getCausalTrajectoryStoreStatus, readCausalTrajectoryRecords, readCausalTrajectoryRecordsStrict, readCausalTrajectoryRevisionToken, recordCausalTrajectory, resolveCausalTrajectoryStoreDir, searchCausalTrajectories, validateCausalTrajectoryRecord } from './causal-trajectory.js';
@@ -80,8 +80,8 @@ export { initLogger, log } from './logger.js';
80
80
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
81
81
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
82
82
  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';
83
- import { D as DiscoveredExtension } from './semantic-consolidation-D9dYj6vu.js';
84
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-D9dYj6vu.js';
83
+ import { D as DiscoveredExtension } from './semantic-consolidation-C4uykW84.js';
84
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-C4uykW84.js';
85
85
  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';
86
86
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
87
87
  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';
@@ -96,11 +96,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
96
96
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
97
97
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
98
98
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
99
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-HJ8DKbFl.js';
100
- 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-_qgST_0y.js';
101
- 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-_qgST_0y.js';
102
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DiSLtVN7.js';
103
- 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-DiSLtVN7.js';
99
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-C25Oxtp1.js';
100
+ 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-DCZDZNcV.js';
101
+ 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-DCZDZNcV.js';
102
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-jhMpeGne.js';
103
+ 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-jhMpeGne.js';
104
104
  import { SearchExecutionOptions } from './search/port.js';
105
105
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
106
106
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -118,7 +118,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
118
118
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
119
119
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
120
120
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
121
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-CEMZz0t5.js';
121
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-B9xMoFO-.js';
122
122
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
123
123
  export { ContinuityImprovementLoop } from './types-continuity.js';
124
124
  export { EngramAccessInputError } from './access-errors.js';
@@ -170,7 +170,7 @@ import './conversation-index/chunker.js';
170
170
  import './conversation-index/backend.js';
171
171
  import './faiss-adapter-BHecI1fF.js';
172
172
  import './runtime/child-process.js';
173
- import './dependency-propagation-delivery-Co17gxYb.js';
173
+ import './dependency-propagation-delivery-CsGg-VwS.js';
174
174
  import './namespaces/storage.js';
175
175
  import './threading.js';
176
176
  import './graph-444E-DrF.js';
@@ -190,7 +190,7 @@ import './policy-runtime.js';
190
190
  import './profiling.js';
191
191
  import './schemas.js';
192
192
  import './extraction-error-classification.js';
193
- import './access-namespace-preflight-BKUnKsBv.js';
193
+ import './access-namespace-preflight-Dhvcl-T0.js';
194
194
  import './recall-explain-renderer.js';
195
195
  import './access-citation.js';
196
196
  import './access-health-types.js';
@@ -530,6 +530,18 @@ declare function withRawEntityPageMutation<T>(baseDir: string, filePath: string,
530
530
  declare function buildProcedureRecallSection(storage: StorageManager, prompt: string, config: PluginConfig, options?: {
531
531
  partitionToolScoped?: boolean;
532
532
  requestingConnector?: string;
533
+ /**
534
+ * Out-param (issue #2370): populated with the injected procedures
535
+ * (id + path, in injection order) so the recall pipeline can fold them
536
+ * into the same per-recall bookkeeping as QMD-served memories —
537
+ * access tracking and `LastRecallSnapshot.memoryIds`. Only populated
538
+ * when a section is returned.
539
+ */
540
+ injectedMemories?: Array<{
541
+ id: string;
542
+ path: string;
543
+ namespace?: string;
544
+ }>;
533
545
  }): Promise<string | null>;
534
546
 
535
547
  /**
@@ -953,15 +965,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
953
965
  locator: z.ZodOptional<z.ZodString>;
954
966
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
955
967
  }, "strict", z.ZodTypeAny, {
956
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
957
- label: string;
958
968
  id: string;
969
+ label: string;
970
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
959
971
  capture: "at_action" | "historical_lookup" | "fixture";
960
972
  locator?: string | undefined;
961
973
  }, {
962
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
963
- label: string;
964
974
  id: string;
975
+ label: string;
976
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
965
977
  capture: "at_action" | "historical_lookup" | "fixture";
966
978
  locator?: string | undefined;
967
979
  }>;
@@ -978,15 +990,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
978
990
  locator: z.ZodOptional<z.ZodString>;
979
991
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
980
992
  }, "strict", z.ZodTypeAny, {
981
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
982
- label: string;
983
993
  id: string;
994
+ label: string;
995
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
984
996
  capture: "at_action" | "historical_lookup" | "fixture";
985
997
  locator?: string | undefined;
986
998
  }, {
987
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
988
- label: string;
989
999
  id: string;
1000
+ label: string;
1001
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
990
1002
  capture: "at_action" | "historical_lookup" | "fixture";
991
1003
  locator?: string | undefined;
992
1004
  }>, "many">>;
@@ -994,9 +1006,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
994
1006
  kind: "mission_started";
995
1007
  title: string;
996
1008
  evidence: {
997
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
998
- label: string;
999
1009
  id: string;
1010
+ label: string;
1011
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1000
1012
  capture: "at_action" | "historical_lookup" | "fixture";
1001
1013
  locator?: string | undefined;
1002
1014
  }[];
@@ -1008,9 +1020,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1008
1020
  objective: string;
1009
1021
  runMode: "replay" | "fixture" | "live";
1010
1022
  evidence?: {
1011
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1012
- label: string;
1013
1023
  id: string;
1024
+ label: string;
1025
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1014
1026
  capture: "at_action" | "historical_lookup" | "fixture";
1015
1027
  locator?: string | undefined;
1016
1028
  }[] | undefined;
@@ -1026,15 +1038,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1026
1038
  locator: z.ZodOptional<z.ZodString>;
1027
1039
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1028
1040
  }, "strict", z.ZodTypeAny, {
1029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1030
- label: string;
1031
1041
  id: string;
1042
+ label: string;
1043
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1032
1044
  capture: "at_action" | "historical_lookup" | "fixture";
1033
1045
  locator?: string | undefined;
1034
1046
  }, {
1035
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1036
- label: string;
1037
1047
  id: string;
1048
+ label: string;
1049
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1038
1050
  capture: "at_action" | "historical_lookup" | "fixture";
1039
1051
  locator?: string | undefined;
1040
1052
  }>, "many">>;
@@ -1042,32 +1054,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1042
1054
  sessionId: z.ZodString;
1043
1055
  kind: z.ZodLiteral<"agent_status">;
1044
1056
  }, "strict", z.ZodTypeAny, {
1045
- kind: "agent_status";
1046
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1047
1057
  label: string;
1058
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1059
+ kind: "agent_status";
1048
1060
  role: string;
1049
1061
  agentId: string;
1050
1062
  sessionId: string;
1051
1063
  evidence: {
1052
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1053
- label: string;
1054
1064
  id: string;
1065
+ label: string;
1066
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1055
1067
  capture: "at_action" | "historical_lookup" | "fixture";
1056
1068
  locator?: string | undefined;
1057
1069
  }[];
1058
1070
  detail?: string | undefined;
1059
1071
  }, {
1060
- kind: "agent_status";
1061
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1062
1072
  label: string;
1073
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1074
+ kind: "agent_status";
1063
1075
  role: string;
1064
1076
  agentId: string;
1065
1077
  sessionId: string;
1066
1078
  detail?: string | undefined;
1067
1079
  evidence?: {
1068
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1069
- label: string;
1070
1080
  id: string;
1081
+ label: string;
1082
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1071
1083
  capture: "at_action" | "historical_lookup" | "fixture";
1072
1084
  locator?: string | undefined;
1073
1085
  }[] | undefined;
@@ -1081,15 +1093,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1081
1093
  locator: z.ZodOptional<z.ZodString>;
1082
1094
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1083
1095
  }, "strict", z.ZodTypeAny, {
1084
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1085
- label: string;
1086
1096
  id: string;
1097
+ label: string;
1098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1087
1099
  capture: "at_action" | "historical_lookup" | "fixture";
1088
1100
  locator?: string | undefined;
1089
1101
  }, {
1090
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1091
- label: string;
1092
1102
  id: string;
1103
+ label: string;
1104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1093
1105
  capture: "at_action" | "historical_lookup" | "fixture";
1094
1106
  locator?: string | undefined;
1095
1107
  }>, "many">>;
@@ -1097,28 +1109,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1097
1109
  sessionId: z.ZodString;
1098
1110
  kind: z.ZodLiteral<"agent_output">;
1099
1111
  }, "strict", z.ZodTypeAny, {
1100
- kind: "agent_output";
1101
1112
  summary: string;
1113
+ kind: "agent_output";
1102
1114
  agentId: string;
1103
1115
  sessionId: string;
1104
1116
  evidence: {
1105
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1106
- label: string;
1107
1117
  id: string;
1118
+ label: string;
1119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1108
1120
  capture: "at_action" | "historical_lookup" | "fixture";
1109
1121
  locator?: string | undefined;
1110
1122
  }[];
1111
1123
  outputId: string;
1112
1124
  }, {
1113
- kind: "agent_output";
1114
1125
  summary: string;
1126
+ kind: "agent_output";
1115
1127
  agentId: string;
1116
1128
  sessionId: string;
1117
1129
  outputId: string;
1118
1130
  evidence?: {
1119
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1120
- label: string;
1121
1131
  id: string;
1132
+ label: string;
1133
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1122
1134
  capture: "at_action" | "historical_lookup" | "fixture";
1123
1135
  locator?: string | undefined;
1124
1136
  }[] | undefined;
@@ -1134,15 +1146,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1134
1146
  locator: z.ZodOptional<z.ZodString>;
1135
1147
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1136
1148
  }, "strict", z.ZodTypeAny, {
1137
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1138
- label: string;
1139
1149
  id: string;
1150
+ label: string;
1151
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1140
1152
  capture: "at_action" | "historical_lookup" | "fixture";
1141
1153
  locator?: string | undefined;
1142
1154
  }, {
1143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1144
- label: string;
1145
1155
  id: string;
1156
+ label: string;
1157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1146
1158
  capture: "at_action" | "historical_lookup" | "fixture";
1147
1159
  locator?: string | undefined;
1148
1160
  }>, "many">>;
@@ -1155,9 +1167,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1155
1167
  statement: string;
1156
1168
  sessionId: string;
1157
1169
  evidence: {
1158
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1159
- label: string;
1160
1170
  id: string;
1171
+ label: string;
1172
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1161
1173
  capture: "at_action" | "historical_lookup" | "fixture";
1162
1174
  locator?: string | undefined;
1163
1175
  }[];
@@ -1173,9 +1185,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1173
1185
  decisionId: string;
1174
1186
  confidence?: number | undefined;
1175
1187
  evidence?: {
1176
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1177
- label: string;
1178
1188
  id: string;
1189
+ label: string;
1190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1179
1191
  capture: "at_action" | "historical_lookup" | "fixture";
1180
1192
  locator?: string | undefined;
1181
1193
  }[] | undefined;
@@ -1192,25 +1204,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1192
1204
  locator: z.ZodOptional<z.ZodString>;
1193
1205
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1194
1206
  }, "strict", z.ZodTypeAny, {
1195
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1196
- label: string;
1197
1207
  id: string;
1208
+ label: string;
1209
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1198
1210
  capture: "at_action" | "historical_lookup" | "fixture";
1199
1211
  locator?: string | undefined;
1200
1212
  }, {
1201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1202
- label: string;
1203
1213
  id: string;
1214
+ label: string;
1215
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1204
1216
  capture: "at_action" | "historical_lookup" | "fixture";
1205
1217
  locator?: string | undefined;
1206
1218
  }>, "many">>;
1207
1219
  }, "strict", z.ZodTypeAny, {
1208
- kind: "conflict_detected";
1209
1220
  summary: string;
1221
+ kind: "conflict_detected";
1210
1222
  evidence: {
1211
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1212
- label: string;
1213
1223
  id: string;
1224
+ label: string;
1225
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1214
1226
  capture: "at_action" | "historical_lookup" | "fixture";
1215
1227
  locator?: string | undefined;
1216
1228
  }[];
@@ -1218,15 +1230,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1218
1230
  decisionIds: string[];
1219
1231
  agentIds: string[];
1220
1232
  }, {
1221
- kind: "conflict_detected";
1222
1233
  summary: string;
1234
+ kind: "conflict_detected";
1223
1235
  conflictId: string;
1224
1236
  decisionIds: string[];
1225
1237
  agentIds: string[];
1226
1238
  evidence?: {
1227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1228
- label: string;
1229
1239
  id: string;
1240
+ label: string;
1241
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1230
1242
  capture: "at_action" | "historical_lookup" | "fixture";
1231
1243
  locator?: string | undefined;
1232
1244
  }[] | undefined;
@@ -1246,27 +1258,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1246
1258
  locator: z.ZodOptional<z.ZodString>;
1247
1259
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1248
1260
  }, "strict", z.ZodTypeAny, {
1249
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1250
- label: string;
1251
1261
  id: string;
1262
+ label: string;
1263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1252
1264
  capture: "at_action" | "historical_lookup" | "fixture";
1253
1265
  locator?: string | undefined;
1254
1266
  }, {
1255
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1256
- label: string;
1257
1267
  id: string;
1268
+ label: string;
1269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1258
1270
  capture: "at_action" | "historical_lookup" | "fixture";
1259
1271
  locator?: string | undefined;
1260
1272
  }>, "many">>;
1261
1273
  }, "strict", z.ZodTypeAny, {
1262
- kind: "test_result";
1263
1274
  summary: string;
1264
1275
  status: "error" | "failed" | "passed";
1276
+ kind: "test_result";
1265
1277
  command: string;
1266
1278
  evidence: {
1267
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1268
- label: string;
1269
1279
  id: string;
1280
+ label: string;
1281
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
1282
  capture: "at_action" | "historical_lookup" | "fixture";
1271
1283
  locator?: string | undefined;
1272
1284
  }[];
@@ -1275,17 +1287,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1275
1287
  durationMs?: number | undefined;
1276
1288
  correctionId?: string | undefined;
1277
1289
  }, {
1278
- kind: "test_result";
1279
1290
  summary: string;
1280
1291
  status: "error" | "failed" | "passed";
1292
+ kind: "test_result";
1281
1293
  command: string;
1282
1294
  decisionId: string;
1283
1295
  testId: string;
1284
1296
  durationMs?: number | undefined;
1285
1297
  evidence?: {
1286
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1287
- label: string;
1288
1298
  id: string;
1299
+ label: string;
1300
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1289
1301
  capture: "at_action" | "historical_lookup" | "fixture";
1290
1302
  locator?: string | undefined;
1291
1303
  }[] | undefined;
@@ -1306,15 +1318,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1306
1318
  locator: z.ZodOptional<z.ZodString>;
1307
1319
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1308
1320
  }, "strict", z.ZodTypeAny, {
1309
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
- label: string;
1311
1321
  id: string;
1322
+ label: string;
1323
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
1324
  capture: "at_action" | "historical_lookup" | "fixture";
1313
1325
  locator?: string | undefined;
1314
1326
  }, {
1315
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
- label: string;
1317
1327
  id: string;
1328
+ label: string;
1329
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1318
1330
  capture: "at_action" | "historical_lookup" | "fixture";
1319
1331
  locator?: string | undefined;
1320
1332
  }>, "many">>;
@@ -1323,9 +1335,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1323
1335
  statement: string;
1324
1336
  rationale: string;
1325
1337
  evidence: {
1326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1327
- label: string;
1328
1338
  id: string;
1339
+ label: string;
1340
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1329
1341
  capture: "at_action" | "historical_lookup" | "fixture";
1330
1342
  locator?: string | undefined;
1331
1343
  }[];
@@ -1344,9 +1356,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1344
1356
  supersedesDecisionIds: string[];
1345
1357
  proposedBy: string;
1346
1358
  evidence?: {
1347
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1348
- label: string;
1349
1359
  id: string;
1360
+ label: string;
1361
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1350
1362
  capture: "at_action" | "historical_lookup" | "fixture";
1351
1363
  locator?: string | undefined;
1352
1364
  }[] | undefined;
@@ -1358,13 +1370,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1358
1370
  id: z.ZodString;
1359
1371
  label: z.ZodString;
1360
1372
  }, "strict", z.ZodTypeAny, {
1361
- kind: "agent" | "human";
1362
- label: string;
1363
1373
  id: string;
1364
- }, {
1365
- kind: "agent" | "human";
1366
1374
  label: string;
1375
+ kind: "agent" | "human";
1376
+ }, {
1367
1377
  id: string;
1378
+ label: string;
1379
+ kind: "agent" | "human";
1368
1380
  }>;
1369
1381
  note: z.ZodOptional<z.ZodString>;
1370
1382
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1374,47 +1386,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1374
1386
  locator: z.ZodOptional<z.ZodString>;
1375
1387
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1376
1388
  }, "strict", z.ZodTypeAny, {
1377
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1378
- label: string;
1379
1389
  id: string;
1390
+ label: string;
1391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
1392
  capture: "at_action" | "historical_lookup" | "fixture";
1381
1393
  locator?: string | undefined;
1382
1394
  }, {
1383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
- label: string;
1385
1395
  id: string;
1396
+ label: string;
1397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1386
1398
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1399
  locator?: string | undefined;
1388
1400
  }>, "many">>;
1389
1401
  }, "strict", z.ZodTypeAny, {
1390
1402
  kind: "correction_approved";
1391
1403
  evidence: {
1392
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
- label: string;
1394
1404
  id: string;
1405
+ label: string;
1406
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1395
1407
  capture: "at_action" | "historical_lookup" | "fixture";
1396
1408
  locator?: string | undefined;
1397
1409
  }[];
1398
1410
  correctionId: string;
1399
1411
  approvedBy: {
1400
- kind: "agent" | "human";
1401
- label: string;
1402
1412
  id: string;
1413
+ label: string;
1414
+ kind: "agent" | "human";
1403
1415
  };
1404
1416
  note?: string | undefined;
1405
1417
  }, {
1406
1418
  kind: "correction_approved";
1407
1419
  correctionId: string;
1408
1420
  approvedBy: {
1409
- kind: "agent" | "human";
1410
- label: string;
1411
1421
  id: string;
1422
+ label: string;
1423
+ kind: "agent" | "human";
1412
1424
  };
1413
1425
  note?: string | undefined;
1414
1426
  evidence?: {
1415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
- label: string;
1417
1427
  id: string;
1428
+ label: string;
1429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1418
1430
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1431
  locator?: string | undefined;
1420
1432
  }[] | undefined;
@@ -1430,24 +1442,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1430
1442
  locator: z.ZodOptional<z.ZodString>;
1431
1443
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1432
1444
  }, "strict", z.ZodTypeAny, {
1433
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1434
- label: string;
1435
1445
  id: string;
1446
+ label: string;
1447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1436
1448
  capture: "at_action" | "historical_lookup" | "fixture";
1437
1449
  locator?: string | undefined;
1438
1450
  }, {
1439
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1440
- label: string;
1441
1451
  id: string;
1452
+ label: string;
1453
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1442
1454
  capture: "at_action" | "historical_lookup" | "fixture";
1443
1455
  locator?: string | undefined;
1444
1456
  }>, "many">>;
1445
1457
  }, "strict", z.ZodTypeAny, {
1446
1458
  kind: "decision_superseded";
1447
1459
  evidence: {
1448
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1449
- label: string;
1450
1460
  id: string;
1461
+ label: string;
1462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1451
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1452
1464
  locator?: string | undefined;
1453
1465
  }[];
@@ -1460,9 +1472,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1460
1472
  correctionId: string;
1461
1473
  replacementDecisionId: string;
1462
1474
  evidence?: {
1463
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1464
- label: string;
1465
1475
  id: string;
1476
+ label: string;
1477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1466
1478
  capture: "at_action" | "historical_lookup" | "fixture";
1467
1479
  locator?: string | undefined;
1468
1480
  }[] | undefined;
@@ -1478,15 +1490,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1478
1490
  locator: z.ZodOptional<z.ZodString>;
1479
1491
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1480
1492
  }, "strict", z.ZodTypeAny, {
1481
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1482
- label: string;
1483
1493
  id: string;
1494
+ label: string;
1495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1496
  capture: "at_action" | "historical_lookup" | "fixture";
1485
1497
  locator?: string | undefined;
1486
1498
  }, {
1487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1488
- label: string;
1489
1499
  id: string;
1500
+ label: string;
1501
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
1502
  capture: "at_action" | "historical_lookup" | "fixture";
1491
1503
  locator?: string | undefined;
1492
1504
  }>, "many">>;
@@ -1499,9 +1511,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1499
1511
  agentId: string;
1500
1512
  sessionId: string;
1501
1513
  evidence: {
1502
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1503
- label: string;
1504
1514
  id: string;
1515
+ label: string;
1516
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1505
1517
  capture: "at_action" | "historical_lookup" | "fixture";
1506
1518
  locator?: string | undefined;
1507
1519
  }[];
@@ -1517,9 +1529,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1517
1529
  recallReceiptId: string;
1518
1530
  capturedAtAction: boolean;
1519
1531
  evidence?: {
1520
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1521
- label: string;
1522
1532
  id: string;
1533
+ label: string;
1534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1523
1535
  capture: "at_action" | "historical_lookup" | "fixture";
1524
1536
  locator?: string | undefined;
1525
1537
  }[] | undefined;
@@ -1535,15 +1547,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1535
1547
  locator: z.ZodOptional<z.ZodString>;
1536
1548
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1537
1549
  }, "strict", z.ZodTypeAny, {
1538
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1539
- label: string;
1540
1550
  id: string;
1551
+ label: string;
1552
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
1553
  capture: "at_action" | "historical_lookup" | "fixture";
1542
1554
  locator?: string | undefined;
1543
1555
  }, {
1544
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1545
- label: string;
1546
1556
  id: string;
1557
+ label: string;
1558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1547
1559
  capture: "at_action" | "historical_lookup" | "fixture";
1548
1560
  locator?: string | undefined;
1549
1561
  }>, "many">>;
@@ -1555,9 +1567,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1555
1567
  agentId: string;
1556
1568
  sessionId: string;
1557
1569
  evidence: {
1558
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1559
- label: string;
1560
1570
  id: string;
1571
+ label: string;
1572
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1561
1573
  capture: "at_action" | "historical_lookup" | "fixture";
1562
1574
  locator?: string | undefined;
1563
1575
  }[];
@@ -1574,9 +1586,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1574
1586
  recallReceiptId: string;
1575
1587
  staleDecisionAbsent: boolean;
1576
1588
  evidence?: {
1577
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1578
- label: string;
1579
1589
  id: string;
1590
+ label: string;
1591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1580
1592
  capture: "at_action" | "historical_lookup" | "fixture";
1581
1593
  locator?: string | undefined;
1582
1594
  }[] | undefined;
@@ -1591,37 +1603,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1591
1603
  locator: z.ZodOptional<z.ZodString>;
1592
1604
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1593
1605
  }, "strict", z.ZodTypeAny, {
1594
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
- label: string;
1596
1606
  id: string;
1607
+ label: string;
1608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
1609
  capture: "at_action" | "historical_lookup" | "fixture";
1598
1610
  locator?: string | undefined;
1599
1611
  }, {
1600
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1601
- label: string;
1602
1612
  id: string;
1613
+ label: string;
1614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1603
1615
  capture: "at_action" | "historical_lookup" | "fixture";
1604
1616
  locator?: string | undefined;
1605
1617
  }>, "many">>;
1606
1618
  }, "strict", z.ZodTypeAny, {
1607
- kind: "mission_completed";
1608
1619
  summary: string;
1620
+ kind: "mission_completed";
1609
1621
  outcome: "failed" | "recovered" | "inconclusive";
1610
1622
  evidence: {
1611
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1612
- label: string;
1613
1623
  id: string;
1624
+ label: string;
1625
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1614
1626
  capture: "at_action" | "historical_lookup" | "fixture";
1615
1627
  locator?: string | undefined;
1616
1628
  }[];
1617
1629
  }, {
1618
- kind: "mission_completed";
1619
1630
  summary: string;
1631
+ kind: "mission_completed";
1620
1632
  outcome: "failed" | "recovered" | "inconclusive";
1621
1633
  evidence?: {
1622
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1623
- label: string;
1624
1634
  id: string;
1635
+ label: string;
1636
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1625
1637
  capture: "at_action" | "historical_lookup" | "fixture";
1626
1638
  locator?: string | undefined;
1627
1639
  }[] | undefined;
@@ -1629,38 +1641,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1629
1641
  kind: "mission_started";
1630
1642
  title: string;
1631
1643
  evidence: {
1632
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
- label: string;
1634
1644
  id: string;
1645
+ label: string;
1646
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1635
1647
  capture: "at_action" | "historical_lookup" | "fixture";
1636
1648
  locator?: string | undefined;
1637
1649
  }[];
1638
1650
  objective: string;
1639
1651
  runMode: "replay" | "fixture" | "live";
1640
1652
  } | {
1641
- kind: "agent_status";
1642
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1643
1653
  label: string;
1654
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1655
+ kind: "agent_status";
1644
1656
  role: string;
1645
1657
  agentId: string;
1646
1658
  sessionId: string;
1647
1659
  evidence: {
1648
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
- label: string;
1650
1660
  id: string;
1661
+ label: string;
1662
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1651
1663
  capture: "at_action" | "historical_lookup" | "fixture";
1652
1664
  locator?: string | undefined;
1653
1665
  }[];
1654
1666
  detail?: string | undefined;
1655
1667
  } | {
1656
- kind: "agent_output";
1657
1668
  summary: string;
1669
+ kind: "agent_output";
1658
1670
  agentId: string;
1659
1671
  sessionId: string;
1660
1672
  evidence: {
1661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
- label: string;
1663
1673
  id: string;
1674
+ label: string;
1675
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1664
1676
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1677
  locator?: string | undefined;
1666
1678
  }[];
@@ -1671,9 +1683,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1671
1683
  statement: string;
1672
1684
  sessionId: string;
1673
1685
  evidence: {
1674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
- label: string;
1676
1686
  id: string;
1687
+ label: string;
1688
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1677
1689
  capture: "at_action" | "historical_lookup" | "fixture";
1678
1690
  locator?: string | undefined;
1679
1691
  }[];
@@ -1681,12 +1693,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1681
1693
  decisionId: string;
1682
1694
  confidence?: number | undefined;
1683
1695
  } | {
1684
- kind: "conflict_detected";
1685
1696
  summary: string;
1697
+ kind: "conflict_detected";
1686
1698
  evidence: {
1687
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1688
- label: string;
1689
1699
  id: string;
1700
+ label: string;
1701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1690
1702
  capture: "at_action" | "historical_lookup" | "fixture";
1691
1703
  locator?: string | undefined;
1692
1704
  }[];
@@ -1694,14 +1706,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1694
1706
  decisionIds: string[];
1695
1707
  agentIds: string[];
1696
1708
  } | {
1697
- kind: "test_result";
1698
1709
  summary: string;
1699
1710
  status: "error" | "failed" | "passed";
1711
+ kind: "test_result";
1700
1712
  command: string;
1701
1713
  evidence: {
1702
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1703
- label: string;
1704
1714
  id: string;
1715
+ label: string;
1716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1705
1717
  capture: "at_action" | "historical_lookup" | "fixture";
1706
1718
  locator?: string | undefined;
1707
1719
  }[];
@@ -1714,9 +1726,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1714
1726
  statement: string;
1715
1727
  rationale: string;
1716
1728
  evidence: {
1717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
- label: string;
1719
1729
  id: string;
1730
+ label: string;
1731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1720
1732
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1733
  locator?: string | undefined;
1722
1734
  }[];
@@ -1728,25 +1740,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1728
1740
  } | {
1729
1741
  kind: "correction_approved";
1730
1742
  evidence: {
1731
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1732
- label: string;
1733
1743
  id: string;
1744
+ label: string;
1745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1734
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1735
1747
  locator?: string | undefined;
1736
1748
  }[];
1737
1749
  correctionId: string;
1738
1750
  approvedBy: {
1739
- kind: "agent" | "human";
1740
- label: string;
1741
1751
  id: string;
1752
+ label: string;
1753
+ kind: "agent" | "human";
1742
1754
  };
1743
1755
  note?: string | undefined;
1744
1756
  } | {
1745
1757
  kind: "decision_superseded";
1746
1758
  evidence: {
1747
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
- label: string;
1749
1759
  id: string;
1760
+ label: string;
1761
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1750
1762
  capture: "at_action" | "historical_lookup" | "fixture";
1751
1763
  locator?: string | undefined;
1752
1764
  }[];
@@ -1759,9 +1771,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1759
1771
  agentId: string;
1760
1772
  sessionId: string;
1761
1773
  evidence: {
1762
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1763
- label: string;
1764
1774
  id: string;
1775
+ label: string;
1776
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1765
1777
  capture: "at_action" | "historical_lookup" | "fixture";
1766
1778
  locator?: string | undefined;
1767
1779
  }[];
@@ -1773,9 +1785,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1773
1785
  agentId: string;
1774
1786
  sessionId: string;
1775
1787
  evidence: {
1776
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1777
- label: string;
1778
1788
  id: string;
1789
+ label: string;
1790
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1779
1791
  capture: "at_action" | "historical_lookup" | "fixture";
1780
1792
  locator?: string | undefined;
1781
1793
  }[];
@@ -1784,13 +1796,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1784
1796
  recallReceiptId: string;
1785
1797
  staleDecisionAbsent: boolean;
1786
1798
  } | {
1787
- kind: "mission_completed";
1788
1799
  summary: string;
1800
+ kind: "mission_completed";
1789
1801
  outcome: "failed" | "recovered" | "inconclusive";
1790
1802
  evidence: {
1791
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1792
- label: string;
1793
1803
  id: string;
1804
+ label: string;
1805
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1794
1806
  capture: "at_action" | "historical_lookup" | "fixture";
1795
1807
  locator?: string | undefined;
1796
1808
  }[];
@@ -1800,37 +1812,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1800
1812
  objective: string;
1801
1813
  runMode: "replay" | "fixture" | "live";
1802
1814
  evidence?: {
1803
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1804
- label: string;
1805
1815
  id: string;
1816
+ label: string;
1817
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1806
1818
  capture: "at_action" | "historical_lookup" | "fixture";
1807
1819
  locator?: string | undefined;
1808
1820
  }[] | undefined;
1809
1821
  } | {
1810
- kind: "agent_status";
1811
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1812
1822
  label: string;
1823
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1824
+ kind: "agent_status";
1813
1825
  role: string;
1814
1826
  agentId: string;
1815
1827
  sessionId: string;
1816
1828
  detail?: string | undefined;
1817
1829
  evidence?: {
1818
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
- label: string;
1820
1830
  id: string;
1831
+ label: string;
1832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1833
  capture: "at_action" | "historical_lookup" | "fixture";
1822
1834
  locator?: string | undefined;
1823
1835
  }[] | undefined;
1824
1836
  } | {
1825
- kind: "agent_output";
1826
1837
  summary: string;
1838
+ kind: "agent_output";
1827
1839
  agentId: string;
1828
1840
  sessionId: string;
1829
1841
  outputId: string;
1830
1842
  evidence?: {
1831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
- label: string;
1833
1843
  id: string;
1844
+ label: string;
1845
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1834
1846
  capture: "at_action" | "historical_lookup" | "fixture";
1835
1847
  locator?: string | undefined;
1836
1848
  }[] | undefined;
@@ -1843,37 +1855,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1843
1855
  decisionId: string;
1844
1856
  confidence?: number | undefined;
1845
1857
  evidence?: {
1846
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1847
- label: string;
1848
1858
  id: string;
1859
+ label: string;
1860
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1849
1861
  capture: "at_action" | "historical_lookup" | "fixture";
1850
1862
  locator?: string | undefined;
1851
1863
  }[] | undefined;
1852
1864
  } | {
1853
- kind: "conflict_detected";
1854
1865
  summary: string;
1866
+ kind: "conflict_detected";
1855
1867
  conflictId: string;
1856
1868
  decisionIds: string[];
1857
1869
  agentIds: string[];
1858
1870
  evidence?: {
1859
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
- label: string;
1861
1871
  id: string;
1872
+ label: string;
1873
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1862
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1875
  locator?: string | undefined;
1864
1876
  }[] | undefined;
1865
1877
  } | {
1866
- kind: "test_result";
1867
1878
  summary: string;
1868
1879
  status: "error" | "failed" | "passed";
1880
+ kind: "test_result";
1869
1881
  command: string;
1870
1882
  decisionId: string;
1871
1883
  testId: string;
1872
1884
  durationMs?: number | undefined;
1873
1885
  evidence?: {
1874
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1875
- label: string;
1876
1886
  id: string;
1887
+ label: string;
1888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1877
1889
  capture: "at_action" | "historical_lookup" | "fixture";
1878
1890
  locator?: string | undefined;
1879
1891
  }[] | undefined;
@@ -1888,9 +1900,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1888
1900
  supersedesDecisionIds: string[];
1889
1901
  proposedBy: string;
1890
1902
  evidence?: {
1891
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1892
- label: string;
1893
1903
  id: string;
1904
+ label: string;
1905
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
1906
  capture: "at_action" | "historical_lookup" | "fixture";
1895
1907
  locator?: string | undefined;
1896
1908
  }[] | undefined;
@@ -1898,15 +1910,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1898
1910
  kind: "correction_approved";
1899
1911
  correctionId: string;
1900
1912
  approvedBy: {
1901
- kind: "agent" | "human";
1902
- label: string;
1903
1913
  id: string;
1914
+ label: string;
1915
+ kind: "agent" | "human";
1904
1916
  };
1905
1917
  note?: string | undefined;
1906
1918
  evidence?: {
1907
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1908
- label: string;
1909
1919
  id: string;
1920
+ label: string;
1921
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1910
1922
  capture: "at_action" | "historical_lookup" | "fixture";
1911
1923
  locator?: string | undefined;
1912
1924
  }[] | undefined;
@@ -1916,9 +1928,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1916
1928
  correctionId: string;
1917
1929
  replacementDecisionId: string;
1918
1930
  evidence?: {
1919
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1920
- label: string;
1921
1931
  id: string;
1932
+ label: string;
1933
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
1934
  capture: "at_action" | "historical_lookup" | "fixture";
1923
1935
  locator?: string | undefined;
1924
1936
  }[] | undefined;
@@ -1931,9 +1943,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1931
1943
  recallReceiptId: string;
1932
1944
  capturedAtAction: boolean;
1933
1945
  evidence?: {
1934
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
- label: string;
1936
1946
  id: string;
1947
+ label: string;
1948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1949
  capture: "at_action" | "historical_lookup" | "fixture";
1938
1950
  locator?: string | undefined;
1939
1951
  }[] | undefined;
@@ -1946,20 +1958,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1946
1958
  recallReceiptId: string;
1947
1959
  staleDecisionAbsent: boolean;
1948
1960
  evidence?: {
1949
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1950
- label: string;
1951
1961
  id: string;
1962
+ label: string;
1963
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1952
1964
  capture: "at_action" | "historical_lookup" | "fixture";
1953
1965
  locator?: string | undefined;
1954
1966
  }[] | undefined;
1955
1967
  } | {
1956
- kind: "mission_completed";
1957
1968
  summary: string;
1969
+ kind: "mission_completed";
1958
1970
  outcome: "failed" | "recovered" | "inconclusive";
1959
1971
  evidence?: {
1960
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
- label: string;
1962
1972
  id: string;
1973
+ label: string;
1974
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1963
1975
  capture: "at_action" | "historical_lookup" | "fixture";
1964
1976
  locator?: string | undefined;
1965
1977
  }[] | undefined;
@@ -1980,15 +1992,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1980
1992
  locator: z.ZodOptional<z.ZodString>;
1981
1993
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1982
1994
  }, "strict", z.ZodTypeAny, {
1983
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1984
- label: string;
1985
1995
  id: string;
1996
+ label: string;
1997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
1998
  capture: "at_action" | "historical_lookup" | "fixture";
1987
1999
  locator?: string | undefined;
1988
2000
  }, {
1989
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1990
- label: string;
1991
2001
  id: string;
2002
+ label: string;
2003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1992
2004
  capture: "at_action" | "historical_lookup" | "fixture";
1993
2005
  locator?: string | undefined;
1994
2006
  }>, "many">>;
@@ -1996,9 +2008,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1996
2008
  kind: "mission_started";
1997
2009
  title: string;
1998
2010
  evidence: {
1999
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
- label: string;
2001
2011
  id: string;
2012
+ label: string;
2013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
2014
  capture: "at_action" | "historical_lookup" | "fixture";
2003
2015
  locator?: string | undefined;
2004
2016
  }[];
@@ -2010,9 +2022,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2010
2022
  objective: string;
2011
2023
  runMode: "replay" | "fixture" | "live";
2012
2024
  evidence?: {
2013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
- label: string;
2015
2025
  id: string;
2026
+ label: string;
2027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2029
  locator?: string | undefined;
2018
2030
  }[] | undefined;
@@ -2028,15 +2040,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2028
2040
  locator: z.ZodOptional<z.ZodString>;
2029
2041
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2030
2042
  }, "strict", z.ZodTypeAny, {
2031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
- label: string;
2033
2043
  id: string;
2044
+ label: string;
2045
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2034
2046
  capture: "at_action" | "historical_lookup" | "fixture";
2035
2047
  locator?: string | undefined;
2036
2048
  }, {
2037
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2038
- label: string;
2039
2049
  id: string;
2050
+ label: string;
2051
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2040
2052
  capture: "at_action" | "historical_lookup" | "fixture";
2041
2053
  locator?: string | undefined;
2042
2054
  }>, "many">>;
@@ -2044,32 +2056,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2044
2056
  sessionId: z.ZodString;
2045
2057
  kind: z.ZodLiteral<"agent_status">;
2046
2058
  }, "strict", z.ZodTypeAny, {
2047
- kind: "agent_status";
2048
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2049
2059
  label: string;
2060
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2061
+ kind: "agent_status";
2050
2062
  role: string;
2051
2063
  agentId: string;
2052
2064
  sessionId: string;
2053
2065
  evidence: {
2054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
- label: string;
2056
2066
  id: string;
2067
+ label: string;
2068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2057
2069
  capture: "at_action" | "historical_lookup" | "fixture";
2058
2070
  locator?: string | undefined;
2059
2071
  }[];
2060
2072
  detail?: string | undefined;
2061
2073
  }, {
2062
- kind: "agent_status";
2063
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2064
2074
  label: string;
2075
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2076
+ kind: "agent_status";
2065
2077
  role: string;
2066
2078
  agentId: string;
2067
2079
  sessionId: string;
2068
2080
  detail?: string | undefined;
2069
2081
  evidence?: {
2070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2071
- label: string;
2072
2082
  id: string;
2083
+ label: string;
2084
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2073
2085
  capture: "at_action" | "historical_lookup" | "fixture";
2074
2086
  locator?: string | undefined;
2075
2087
  }[] | undefined;
@@ -2083,15 +2095,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2083
2095
  locator: z.ZodOptional<z.ZodString>;
2084
2096
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2085
2097
  }, "strict", z.ZodTypeAny, {
2086
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2087
- label: string;
2088
2098
  id: string;
2099
+ label: string;
2100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2089
2101
  capture: "at_action" | "historical_lookup" | "fixture";
2090
2102
  locator?: string | undefined;
2091
2103
  }, {
2092
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2093
- label: string;
2094
2104
  id: string;
2105
+ label: string;
2106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2095
2107
  capture: "at_action" | "historical_lookup" | "fixture";
2096
2108
  locator?: string | undefined;
2097
2109
  }>, "many">>;
@@ -2099,28 +2111,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2099
2111
  sessionId: z.ZodString;
2100
2112
  kind: z.ZodLiteral<"agent_output">;
2101
2113
  }, "strict", z.ZodTypeAny, {
2102
- kind: "agent_output";
2103
2114
  summary: string;
2115
+ kind: "agent_output";
2104
2116
  agentId: string;
2105
2117
  sessionId: string;
2106
2118
  evidence: {
2107
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2108
- label: string;
2109
2119
  id: string;
2120
+ label: string;
2121
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2110
2122
  capture: "at_action" | "historical_lookup" | "fixture";
2111
2123
  locator?: string | undefined;
2112
2124
  }[];
2113
2125
  outputId: string;
2114
2126
  }, {
2115
- kind: "agent_output";
2116
2127
  summary: string;
2128
+ kind: "agent_output";
2117
2129
  agentId: string;
2118
2130
  sessionId: string;
2119
2131
  outputId: string;
2120
2132
  evidence?: {
2121
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2122
- label: string;
2123
2133
  id: string;
2134
+ label: string;
2135
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2124
2136
  capture: "at_action" | "historical_lookup" | "fixture";
2125
2137
  locator?: string | undefined;
2126
2138
  }[] | undefined;
@@ -2136,15 +2148,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2136
2148
  locator: z.ZodOptional<z.ZodString>;
2137
2149
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2138
2150
  }, "strict", z.ZodTypeAny, {
2139
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2140
- label: string;
2141
2151
  id: string;
2152
+ label: string;
2153
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
2154
  capture: "at_action" | "historical_lookup" | "fixture";
2143
2155
  locator?: string | undefined;
2144
2156
  }, {
2145
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2146
- label: string;
2147
2157
  id: string;
2158
+ label: string;
2159
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2148
2160
  capture: "at_action" | "historical_lookup" | "fixture";
2149
2161
  locator?: string | undefined;
2150
2162
  }>, "many">>;
@@ -2157,9 +2169,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2157
2169
  statement: string;
2158
2170
  sessionId: string;
2159
2171
  evidence: {
2160
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2161
- label: string;
2162
2172
  id: string;
2173
+ label: string;
2174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2163
2175
  capture: "at_action" | "historical_lookup" | "fixture";
2164
2176
  locator?: string | undefined;
2165
2177
  }[];
@@ -2175,9 +2187,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2175
2187
  decisionId: string;
2176
2188
  confidence?: number | undefined;
2177
2189
  evidence?: {
2178
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2179
- label: string;
2180
2190
  id: string;
2191
+ label: string;
2192
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2181
2193
  capture: "at_action" | "historical_lookup" | "fixture";
2182
2194
  locator?: string | undefined;
2183
2195
  }[] | undefined;
@@ -2194,25 +2206,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2194
2206
  locator: z.ZodOptional<z.ZodString>;
2195
2207
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2196
2208
  }, "strict", z.ZodTypeAny, {
2197
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
- label: string;
2199
2209
  id: string;
2210
+ label: string;
2211
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
2212
  capture: "at_action" | "historical_lookup" | "fixture";
2201
2213
  locator?: string | undefined;
2202
2214
  }, {
2203
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
- label: string;
2205
2215
  id: string;
2216
+ label: string;
2217
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2206
2218
  capture: "at_action" | "historical_lookup" | "fixture";
2207
2219
  locator?: string | undefined;
2208
2220
  }>, "many">>;
2209
2221
  }, "strict", z.ZodTypeAny, {
2210
- kind: "conflict_detected";
2211
2222
  summary: string;
2223
+ kind: "conflict_detected";
2212
2224
  evidence: {
2213
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2214
- label: string;
2215
2225
  id: string;
2226
+ label: string;
2227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2216
2228
  capture: "at_action" | "historical_lookup" | "fixture";
2217
2229
  locator?: string | undefined;
2218
2230
  }[];
@@ -2220,15 +2232,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2220
2232
  decisionIds: string[];
2221
2233
  agentIds: string[];
2222
2234
  }, {
2223
- kind: "conflict_detected";
2224
2235
  summary: string;
2236
+ kind: "conflict_detected";
2225
2237
  conflictId: string;
2226
2238
  decisionIds: string[];
2227
2239
  agentIds: string[];
2228
2240
  evidence?: {
2229
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
- label: string;
2231
2241
  id: string;
2242
+ label: string;
2243
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
2244
  capture: "at_action" | "historical_lookup" | "fixture";
2233
2245
  locator?: string | undefined;
2234
2246
  }[] | undefined;
@@ -2248,27 +2260,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2248
2260
  locator: z.ZodOptional<z.ZodString>;
2249
2261
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2250
2262
  }, "strict", z.ZodTypeAny, {
2251
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2252
- label: string;
2253
2263
  id: string;
2264
+ label: string;
2265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2254
2266
  capture: "at_action" | "historical_lookup" | "fixture";
2255
2267
  locator?: string | undefined;
2256
2268
  }, {
2257
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2258
- label: string;
2259
2269
  id: string;
2270
+ label: string;
2271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2260
2272
  capture: "at_action" | "historical_lookup" | "fixture";
2261
2273
  locator?: string | undefined;
2262
2274
  }>, "many">>;
2263
2275
  }, "strict", z.ZodTypeAny, {
2264
- kind: "test_result";
2265
2276
  summary: string;
2266
2277
  status: "error" | "failed" | "passed";
2278
+ kind: "test_result";
2267
2279
  command: string;
2268
2280
  evidence: {
2269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2270
- label: string;
2271
2281
  id: string;
2282
+ label: string;
2283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
2284
  capture: "at_action" | "historical_lookup" | "fixture";
2273
2285
  locator?: string | undefined;
2274
2286
  }[];
@@ -2277,17 +2289,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2277
2289
  durationMs?: number | undefined;
2278
2290
  correctionId?: string | undefined;
2279
2291
  }, {
2280
- kind: "test_result";
2281
2292
  summary: string;
2282
2293
  status: "error" | "failed" | "passed";
2294
+ kind: "test_result";
2283
2295
  command: string;
2284
2296
  decisionId: string;
2285
2297
  testId: string;
2286
2298
  durationMs?: number | undefined;
2287
2299
  evidence?: {
2288
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2289
- label: string;
2290
2300
  id: string;
2301
+ label: string;
2302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2291
2303
  capture: "at_action" | "historical_lookup" | "fixture";
2292
2304
  locator?: string | undefined;
2293
2305
  }[] | undefined;
@@ -2308,15 +2320,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2308
2320
  locator: z.ZodOptional<z.ZodString>;
2309
2321
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2310
2322
  }, "strict", z.ZodTypeAny, {
2311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
- label: string;
2313
2323
  id: string;
2324
+ label: string;
2325
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
2326
  capture: "at_action" | "historical_lookup" | "fixture";
2315
2327
  locator?: string | undefined;
2316
2328
  }, {
2317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
- label: string;
2319
2329
  id: string;
2330
+ label: string;
2331
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2332
  capture: "at_action" | "historical_lookup" | "fixture";
2321
2333
  locator?: string | undefined;
2322
2334
  }>, "many">>;
@@ -2325,9 +2337,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2325
2337
  statement: string;
2326
2338
  rationale: string;
2327
2339
  evidence: {
2328
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2329
- label: string;
2330
2340
  id: string;
2341
+ label: string;
2342
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2331
2343
  capture: "at_action" | "historical_lookup" | "fixture";
2332
2344
  locator?: string | undefined;
2333
2345
  }[];
@@ -2346,9 +2358,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2346
2358
  supersedesDecisionIds: string[];
2347
2359
  proposedBy: string;
2348
2360
  evidence?: {
2349
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2350
- label: string;
2351
2361
  id: string;
2362
+ label: string;
2363
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2352
2364
  capture: "at_action" | "historical_lookup" | "fixture";
2353
2365
  locator?: string | undefined;
2354
2366
  }[] | undefined;
@@ -2360,13 +2372,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2360
2372
  id: z.ZodString;
2361
2373
  label: z.ZodString;
2362
2374
  }, "strict", z.ZodTypeAny, {
2363
- kind: "agent" | "human";
2364
- label: string;
2365
2375
  id: string;
2366
- }, {
2367
- kind: "agent" | "human";
2368
2376
  label: string;
2377
+ kind: "agent" | "human";
2378
+ }, {
2369
2379
  id: string;
2380
+ label: string;
2381
+ kind: "agent" | "human";
2370
2382
  }>;
2371
2383
  note: z.ZodOptional<z.ZodString>;
2372
2384
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2376,47 +2388,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2376
2388
  locator: z.ZodOptional<z.ZodString>;
2377
2389
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2378
2390
  }, "strict", z.ZodTypeAny, {
2379
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2380
- label: string;
2381
2391
  id: string;
2392
+ label: string;
2393
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
2394
  capture: "at_action" | "historical_lookup" | "fixture";
2383
2395
  locator?: string | undefined;
2384
2396
  }, {
2385
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
- label: string;
2387
2397
  id: string;
2398
+ label: string;
2399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2388
2400
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2401
  locator?: string | undefined;
2390
2402
  }>, "many">>;
2391
2403
  }, "strict", z.ZodTypeAny, {
2392
2404
  kind: "correction_approved";
2393
2405
  evidence: {
2394
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
- label: string;
2396
2406
  id: string;
2407
+ label: string;
2408
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2397
2409
  capture: "at_action" | "historical_lookup" | "fixture";
2398
2410
  locator?: string | undefined;
2399
2411
  }[];
2400
2412
  correctionId: string;
2401
2413
  approvedBy: {
2402
- kind: "agent" | "human";
2403
- label: string;
2404
2414
  id: string;
2415
+ label: string;
2416
+ kind: "agent" | "human";
2405
2417
  };
2406
2418
  note?: string | undefined;
2407
2419
  }, {
2408
2420
  kind: "correction_approved";
2409
2421
  correctionId: string;
2410
2422
  approvedBy: {
2411
- kind: "agent" | "human";
2412
- label: string;
2413
2423
  id: string;
2424
+ label: string;
2425
+ kind: "agent" | "human";
2414
2426
  };
2415
2427
  note?: string | undefined;
2416
2428
  evidence?: {
2417
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
- label: string;
2419
2429
  id: string;
2430
+ label: string;
2431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2420
2432
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2433
  locator?: string | undefined;
2422
2434
  }[] | undefined;
@@ -2432,24 +2444,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2432
2444
  locator: z.ZodOptional<z.ZodString>;
2433
2445
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2434
2446
  }, "strict", z.ZodTypeAny, {
2435
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2436
- label: string;
2437
2447
  id: string;
2448
+ label: string;
2449
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2438
2450
  capture: "at_action" | "historical_lookup" | "fixture";
2439
2451
  locator?: string | undefined;
2440
2452
  }, {
2441
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2442
- label: string;
2443
2453
  id: string;
2454
+ label: string;
2455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2444
2456
  capture: "at_action" | "historical_lookup" | "fixture";
2445
2457
  locator?: string | undefined;
2446
2458
  }>, "many">>;
2447
2459
  }, "strict", z.ZodTypeAny, {
2448
2460
  kind: "decision_superseded";
2449
2461
  evidence: {
2450
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2451
- label: string;
2452
2462
  id: string;
2463
+ label: string;
2464
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2453
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2454
2466
  locator?: string | undefined;
2455
2467
  }[];
@@ -2462,9 +2474,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2462
2474
  correctionId: string;
2463
2475
  replacementDecisionId: string;
2464
2476
  evidence?: {
2465
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2466
- label: string;
2467
2477
  id: string;
2478
+ label: string;
2479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2468
2480
  capture: "at_action" | "historical_lookup" | "fixture";
2469
2481
  locator?: string | undefined;
2470
2482
  }[] | undefined;
@@ -2480,15 +2492,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2480
2492
  locator: z.ZodOptional<z.ZodString>;
2481
2493
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2482
2494
  }, "strict", z.ZodTypeAny, {
2483
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2484
- label: string;
2485
2495
  id: string;
2496
+ label: string;
2497
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2498
  capture: "at_action" | "historical_lookup" | "fixture";
2487
2499
  locator?: string | undefined;
2488
2500
  }, {
2489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2490
- label: string;
2491
2501
  id: string;
2502
+ label: string;
2503
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
2504
  capture: "at_action" | "historical_lookup" | "fixture";
2493
2505
  locator?: string | undefined;
2494
2506
  }>, "many">>;
@@ -2501,9 +2513,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2501
2513
  agentId: string;
2502
2514
  sessionId: string;
2503
2515
  evidence: {
2504
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2505
- label: string;
2506
2516
  id: string;
2517
+ label: string;
2518
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2507
2519
  capture: "at_action" | "historical_lookup" | "fixture";
2508
2520
  locator?: string | undefined;
2509
2521
  }[];
@@ -2519,9 +2531,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2519
2531
  recallReceiptId: string;
2520
2532
  capturedAtAction: boolean;
2521
2533
  evidence?: {
2522
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2523
- label: string;
2524
2534
  id: string;
2535
+ label: string;
2536
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2525
2537
  capture: "at_action" | "historical_lookup" | "fixture";
2526
2538
  locator?: string | undefined;
2527
2539
  }[] | undefined;
@@ -2537,15 +2549,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2537
2549
  locator: z.ZodOptional<z.ZodString>;
2538
2550
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2539
2551
  }, "strict", z.ZodTypeAny, {
2540
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2541
- label: string;
2542
2552
  id: string;
2553
+ label: string;
2554
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
2555
  capture: "at_action" | "historical_lookup" | "fixture";
2544
2556
  locator?: string | undefined;
2545
2557
  }, {
2546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2547
- label: string;
2548
2558
  id: string;
2559
+ label: string;
2560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2549
2561
  capture: "at_action" | "historical_lookup" | "fixture";
2550
2562
  locator?: string | undefined;
2551
2563
  }>, "many">>;
@@ -2557,9 +2569,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2557
2569
  agentId: string;
2558
2570
  sessionId: string;
2559
2571
  evidence: {
2560
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2561
- label: string;
2562
2572
  id: string;
2573
+ label: string;
2574
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2563
2575
  capture: "at_action" | "historical_lookup" | "fixture";
2564
2576
  locator?: string | undefined;
2565
2577
  }[];
@@ -2576,9 +2588,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2576
2588
  recallReceiptId: string;
2577
2589
  staleDecisionAbsent: boolean;
2578
2590
  evidence?: {
2579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2580
- label: string;
2581
2591
  id: string;
2592
+ label: string;
2593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2582
2594
  capture: "at_action" | "historical_lookup" | "fixture";
2583
2595
  locator?: string | undefined;
2584
2596
  }[] | undefined;
@@ -2593,37 +2605,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2593
2605
  locator: z.ZodOptional<z.ZodString>;
2594
2606
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2595
2607
  }, "strict", z.ZodTypeAny, {
2596
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
- label: string;
2598
2608
  id: string;
2609
+ label: string;
2610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
2611
  capture: "at_action" | "historical_lookup" | "fixture";
2600
2612
  locator?: string | undefined;
2601
2613
  }, {
2602
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2603
- label: string;
2604
2614
  id: string;
2615
+ label: string;
2616
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2605
2617
  capture: "at_action" | "historical_lookup" | "fixture";
2606
2618
  locator?: string | undefined;
2607
2619
  }>, "many">>;
2608
2620
  }, "strict", z.ZodTypeAny, {
2609
- kind: "mission_completed";
2610
2621
  summary: string;
2622
+ kind: "mission_completed";
2611
2623
  outcome: "failed" | "recovered" | "inconclusive";
2612
2624
  evidence: {
2613
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2614
- label: string;
2615
2625
  id: string;
2626
+ label: string;
2627
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2616
2628
  capture: "at_action" | "historical_lookup" | "fixture";
2617
2629
  locator?: string | undefined;
2618
2630
  }[];
2619
2631
  }, {
2620
- kind: "mission_completed";
2621
2632
  summary: string;
2633
+ kind: "mission_completed";
2622
2634
  outcome: "failed" | "recovered" | "inconclusive";
2623
2635
  evidence?: {
2624
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2625
- label: string;
2626
2636
  id: string;
2637
+ label: string;
2638
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2627
2639
  capture: "at_action" | "historical_lookup" | "fixture";
2628
2640
  locator?: string | undefined;
2629
2641
  }[] | undefined;
@@ -2631,38 +2643,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2631
2643
  kind: "mission_started";
2632
2644
  title: string;
2633
2645
  evidence: {
2634
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
- label: string;
2636
2646
  id: string;
2647
+ label: string;
2648
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2637
2649
  capture: "at_action" | "historical_lookup" | "fixture";
2638
2650
  locator?: string | undefined;
2639
2651
  }[];
2640
2652
  objective: string;
2641
2653
  runMode: "replay" | "fixture" | "live";
2642
2654
  } | {
2643
- kind: "agent_status";
2644
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2645
2655
  label: string;
2656
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2657
+ kind: "agent_status";
2646
2658
  role: string;
2647
2659
  agentId: string;
2648
2660
  sessionId: string;
2649
2661
  evidence: {
2650
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
- label: string;
2652
2662
  id: string;
2663
+ label: string;
2664
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2653
2665
  capture: "at_action" | "historical_lookup" | "fixture";
2654
2666
  locator?: string | undefined;
2655
2667
  }[];
2656
2668
  detail?: string | undefined;
2657
2669
  } | {
2658
- kind: "agent_output";
2659
2670
  summary: string;
2671
+ kind: "agent_output";
2660
2672
  agentId: string;
2661
2673
  sessionId: string;
2662
2674
  evidence: {
2663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
- label: string;
2665
2675
  id: string;
2676
+ label: string;
2677
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2666
2678
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2679
  locator?: string | undefined;
2668
2680
  }[];
@@ -2673,9 +2685,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2673
2685
  statement: string;
2674
2686
  sessionId: string;
2675
2687
  evidence: {
2676
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
- label: string;
2678
2688
  id: string;
2689
+ label: string;
2690
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2679
2691
  capture: "at_action" | "historical_lookup" | "fixture";
2680
2692
  locator?: string | undefined;
2681
2693
  }[];
@@ -2683,12 +2695,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2683
2695
  decisionId: string;
2684
2696
  confidence?: number | undefined;
2685
2697
  } | {
2686
- kind: "conflict_detected";
2687
2698
  summary: string;
2699
+ kind: "conflict_detected";
2688
2700
  evidence: {
2689
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2690
- label: string;
2691
2701
  id: string;
2702
+ label: string;
2703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2692
2704
  capture: "at_action" | "historical_lookup" | "fixture";
2693
2705
  locator?: string | undefined;
2694
2706
  }[];
@@ -2696,14 +2708,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2696
2708
  decisionIds: string[];
2697
2709
  agentIds: string[];
2698
2710
  } | {
2699
- kind: "test_result";
2700
2711
  summary: string;
2701
2712
  status: "error" | "failed" | "passed";
2713
+ kind: "test_result";
2702
2714
  command: string;
2703
2715
  evidence: {
2704
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2705
- label: string;
2706
2716
  id: string;
2717
+ label: string;
2718
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2707
2719
  capture: "at_action" | "historical_lookup" | "fixture";
2708
2720
  locator?: string | undefined;
2709
2721
  }[];
@@ -2716,9 +2728,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2716
2728
  statement: string;
2717
2729
  rationale: string;
2718
2730
  evidence: {
2719
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
- label: string;
2721
2731
  id: string;
2732
+ label: string;
2733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2722
2734
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2735
  locator?: string | undefined;
2724
2736
  }[];
@@ -2730,25 +2742,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2730
2742
  } | {
2731
2743
  kind: "correction_approved";
2732
2744
  evidence: {
2733
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2734
- label: string;
2735
2745
  id: string;
2746
+ label: string;
2747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2736
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2737
2749
  locator?: string | undefined;
2738
2750
  }[];
2739
2751
  correctionId: string;
2740
2752
  approvedBy: {
2741
- kind: "agent" | "human";
2742
- label: string;
2743
2753
  id: string;
2754
+ label: string;
2755
+ kind: "agent" | "human";
2744
2756
  };
2745
2757
  note?: string | undefined;
2746
2758
  } | {
2747
2759
  kind: "decision_superseded";
2748
2760
  evidence: {
2749
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
- label: string;
2751
2761
  id: string;
2762
+ label: string;
2763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2752
2764
  capture: "at_action" | "historical_lookup" | "fixture";
2753
2765
  locator?: string | undefined;
2754
2766
  }[];
@@ -2761,9 +2773,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2761
2773
  agentId: string;
2762
2774
  sessionId: string;
2763
2775
  evidence: {
2764
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2765
- label: string;
2766
2776
  id: string;
2777
+ label: string;
2778
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2767
2779
  capture: "at_action" | "historical_lookup" | "fixture";
2768
2780
  locator?: string | undefined;
2769
2781
  }[];
@@ -2775,9 +2787,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2775
2787
  agentId: string;
2776
2788
  sessionId: string;
2777
2789
  evidence: {
2778
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2779
- label: string;
2780
2790
  id: string;
2791
+ label: string;
2792
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2781
2793
  capture: "at_action" | "historical_lookup" | "fixture";
2782
2794
  locator?: string | undefined;
2783
2795
  }[];
@@ -2786,13 +2798,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2786
2798
  recallReceiptId: string;
2787
2799
  staleDecisionAbsent: boolean;
2788
2800
  } | {
2789
- kind: "mission_completed";
2790
2801
  summary: string;
2802
+ kind: "mission_completed";
2791
2803
  outcome: "failed" | "recovered" | "inconclusive";
2792
2804
  evidence: {
2793
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2794
- label: string;
2795
2805
  id: string;
2806
+ label: string;
2807
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2796
2808
  capture: "at_action" | "historical_lookup" | "fixture";
2797
2809
  locator?: string | undefined;
2798
2810
  }[];
@@ -2802,37 +2814,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2802
2814
  objective: string;
2803
2815
  runMode: "replay" | "fixture" | "live";
2804
2816
  evidence?: {
2805
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2806
- label: string;
2807
2817
  id: string;
2818
+ label: string;
2819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2808
2820
  capture: "at_action" | "historical_lookup" | "fixture";
2809
2821
  locator?: string | undefined;
2810
2822
  }[] | undefined;
2811
2823
  } | {
2812
- kind: "agent_status";
2813
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2814
2824
  label: string;
2825
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2826
+ kind: "agent_status";
2815
2827
  role: string;
2816
2828
  agentId: string;
2817
2829
  sessionId: string;
2818
2830
  detail?: string | undefined;
2819
2831
  evidence?: {
2820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
- label: string;
2822
2832
  id: string;
2833
+ label: string;
2834
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2835
  capture: "at_action" | "historical_lookup" | "fixture";
2824
2836
  locator?: string | undefined;
2825
2837
  }[] | undefined;
2826
2838
  } | {
2827
- kind: "agent_output";
2828
2839
  summary: string;
2840
+ kind: "agent_output";
2829
2841
  agentId: string;
2830
2842
  sessionId: string;
2831
2843
  outputId: string;
2832
2844
  evidence?: {
2833
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
- label: string;
2835
2845
  id: string;
2846
+ label: string;
2847
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2836
2848
  capture: "at_action" | "historical_lookup" | "fixture";
2837
2849
  locator?: string | undefined;
2838
2850
  }[] | undefined;
@@ -2845,37 +2857,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2845
2857
  decisionId: string;
2846
2858
  confidence?: number | undefined;
2847
2859
  evidence?: {
2848
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2849
- label: string;
2850
2860
  id: string;
2861
+ label: string;
2862
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2851
2863
  capture: "at_action" | "historical_lookup" | "fixture";
2852
2864
  locator?: string | undefined;
2853
2865
  }[] | undefined;
2854
2866
  } | {
2855
- kind: "conflict_detected";
2856
2867
  summary: string;
2868
+ kind: "conflict_detected";
2857
2869
  conflictId: string;
2858
2870
  decisionIds: string[];
2859
2871
  agentIds: string[];
2860
2872
  evidence?: {
2861
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
- label: string;
2863
2873
  id: string;
2874
+ label: string;
2875
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2864
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2877
  locator?: string | undefined;
2866
2878
  }[] | undefined;
2867
2879
  } | {
2868
- kind: "test_result";
2869
2880
  summary: string;
2870
2881
  status: "error" | "failed" | "passed";
2882
+ kind: "test_result";
2871
2883
  command: string;
2872
2884
  decisionId: string;
2873
2885
  testId: string;
2874
2886
  durationMs?: number | undefined;
2875
2887
  evidence?: {
2876
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2877
- label: string;
2878
2888
  id: string;
2889
+ label: string;
2890
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2879
2891
  capture: "at_action" | "historical_lookup" | "fixture";
2880
2892
  locator?: string | undefined;
2881
2893
  }[] | undefined;
@@ -2890,9 +2902,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2890
2902
  supersedesDecisionIds: string[];
2891
2903
  proposedBy: string;
2892
2904
  evidence?: {
2893
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2894
- label: string;
2895
2905
  id: string;
2906
+ label: string;
2907
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
2908
  capture: "at_action" | "historical_lookup" | "fixture";
2897
2909
  locator?: string | undefined;
2898
2910
  }[] | undefined;
@@ -2900,15 +2912,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2900
2912
  kind: "correction_approved";
2901
2913
  correctionId: string;
2902
2914
  approvedBy: {
2903
- kind: "agent" | "human";
2904
- label: string;
2905
2915
  id: string;
2916
+ label: string;
2917
+ kind: "agent" | "human";
2906
2918
  };
2907
2919
  note?: string | undefined;
2908
2920
  evidence?: {
2909
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
- label: string;
2911
2921
  id: string;
2922
+ label: string;
2923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2912
2924
  capture: "at_action" | "historical_lookup" | "fixture";
2913
2925
  locator?: string | undefined;
2914
2926
  }[] | undefined;
@@ -2918,9 +2930,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2918
2930
  correctionId: string;
2919
2931
  replacementDecisionId: string;
2920
2932
  evidence?: {
2921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2922
- label: string;
2923
2933
  id: string;
2934
+ label: string;
2935
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2924
2936
  capture: "at_action" | "historical_lookup" | "fixture";
2925
2937
  locator?: string | undefined;
2926
2938
  }[] | undefined;
@@ -2933,9 +2945,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2933
2945
  recallReceiptId: string;
2934
2946
  capturedAtAction: boolean;
2935
2947
  evidence?: {
2936
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
- label: string;
2938
2948
  id: string;
2949
+ label: string;
2950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2939
2951
  capture: "at_action" | "historical_lookup" | "fixture";
2940
2952
  locator?: string | undefined;
2941
2953
  }[] | undefined;
@@ -2948,20 +2960,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2948
2960
  recallReceiptId: string;
2949
2961
  staleDecisionAbsent: boolean;
2950
2962
  evidence?: {
2951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2952
- label: string;
2953
2963
  id: string;
2964
+ label: string;
2965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2954
2966
  capture: "at_action" | "historical_lookup" | "fixture";
2955
2967
  locator?: string | undefined;
2956
2968
  }[] | undefined;
2957
2969
  } | {
2958
- kind: "mission_completed";
2959
2970
  summary: string;
2971
+ kind: "mission_completed";
2960
2972
  outcome: "failed" | "recovered" | "inconclusive";
2961
2973
  evidence?: {
2962
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
- label: string;
2964
2974
  id: string;
2975
+ label: string;
2976
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2965
2977
  capture: "at_action" | "historical_lookup" | "fixture";
2966
2978
  locator?: string | undefined;
2967
2979
  }[] | undefined;
@@ -2971,38 +2983,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2971
2983
  kind: "mission_started";
2972
2984
  title: string;
2973
2985
  evidence: {
2974
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2975
- label: string;
2976
2986
  id: string;
2987
+ label: string;
2988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2977
2989
  capture: "at_action" | "historical_lookup" | "fixture";
2978
2990
  locator?: string | undefined;
2979
2991
  }[];
2980
2992
  objective: string;
2981
2993
  runMode: "replay" | "fixture" | "live";
2982
2994
  } | {
2983
- kind: "agent_status";
2984
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2985
2995
  label: string;
2996
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2997
+ kind: "agent_status";
2986
2998
  role: string;
2987
2999
  agentId: string;
2988
3000
  sessionId: string;
2989
3001
  evidence: {
2990
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2991
- label: string;
2992
3002
  id: string;
3003
+ label: string;
3004
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2993
3005
  capture: "at_action" | "historical_lookup" | "fixture";
2994
3006
  locator?: string | undefined;
2995
3007
  }[];
2996
3008
  detail?: string | undefined;
2997
3009
  } | {
2998
- kind: "agent_output";
2999
3010
  summary: string;
3011
+ kind: "agent_output";
3000
3012
  agentId: string;
3001
3013
  sessionId: string;
3002
3014
  evidence: {
3003
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
- label: string;
3005
3015
  id: string;
3016
+ label: string;
3017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3018
  capture: "at_action" | "historical_lookup" | "fixture";
3007
3019
  locator?: string | undefined;
3008
3020
  }[];
@@ -3013,9 +3025,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3013
3025
  statement: string;
3014
3026
  sessionId: string;
3015
3027
  evidence: {
3016
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3017
- label: string;
3018
3028
  id: string;
3029
+ label: string;
3030
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3019
3031
  capture: "at_action" | "historical_lookup" | "fixture";
3020
3032
  locator?: string | undefined;
3021
3033
  }[];
@@ -3023,12 +3035,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3023
3035
  decisionId: string;
3024
3036
  confidence?: number | undefined;
3025
3037
  } | {
3026
- kind: "conflict_detected";
3027
3038
  summary: string;
3039
+ kind: "conflict_detected";
3028
3040
  evidence: {
3029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3030
- label: string;
3031
3041
  id: string;
3042
+ label: string;
3043
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
3044
  capture: "at_action" | "historical_lookup" | "fixture";
3033
3045
  locator?: string | undefined;
3034
3046
  }[];
@@ -3036,14 +3048,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3036
3048
  decisionIds: string[];
3037
3049
  agentIds: string[];
3038
3050
  } | {
3039
- kind: "test_result";
3040
3051
  summary: string;
3041
3052
  status: "error" | "failed" | "passed";
3053
+ kind: "test_result";
3042
3054
  command: string;
3043
3055
  evidence: {
3044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3045
- label: string;
3046
3056
  id: string;
3057
+ label: string;
3058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3059
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3060
  locator?: string | undefined;
3049
3061
  }[];
@@ -3056,9 +3068,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3056
3068
  statement: string;
3057
3069
  rationale: string;
3058
3070
  evidence: {
3059
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3060
- label: string;
3061
3071
  id: string;
3072
+ label: string;
3073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3062
3074
  capture: "at_action" | "historical_lookup" | "fixture";
3063
3075
  locator?: string | undefined;
3064
3076
  }[];
@@ -3070,25 +3082,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3070
3082
  } | {
3071
3083
  kind: "correction_approved";
3072
3084
  evidence: {
3073
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3074
- label: string;
3075
3085
  id: string;
3086
+ label: string;
3087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3076
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3077
3089
  locator?: string | undefined;
3078
3090
  }[];
3079
3091
  correctionId: string;
3080
3092
  approvedBy: {
3081
- kind: "agent" | "human";
3082
- label: string;
3083
3093
  id: string;
3094
+ label: string;
3095
+ kind: "agent" | "human";
3084
3096
  };
3085
3097
  note?: string | undefined;
3086
3098
  } | {
3087
3099
  kind: "decision_superseded";
3088
3100
  evidence: {
3089
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
- label: string;
3091
3101
  id: string;
3102
+ label: string;
3103
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3092
3104
  capture: "at_action" | "historical_lookup" | "fixture";
3093
3105
  locator?: string | undefined;
3094
3106
  }[];
@@ -3101,9 +3113,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3101
3113
  agentId: string;
3102
3114
  sessionId: string;
3103
3115
  evidence: {
3104
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
- label: string;
3106
3116
  id: string;
3117
+ label: string;
3118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3107
3119
  capture: "at_action" | "historical_lookup" | "fixture";
3108
3120
  locator?: string | undefined;
3109
3121
  }[];
@@ -3115,9 +3127,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3115
3127
  agentId: string;
3116
3128
  sessionId: string;
3117
3129
  evidence: {
3118
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3119
- label: string;
3120
3130
  id: string;
3131
+ label: string;
3132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3121
3133
  capture: "at_action" | "historical_lookup" | "fixture";
3122
3134
  locator?: string | undefined;
3123
3135
  }[];
@@ -3126,13 +3138,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3126
3138
  recallReceiptId: string;
3127
3139
  staleDecisionAbsent: boolean;
3128
3140
  } | {
3129
- kind: "mission_completed";
3130
3141
  summary: string;
3142
+ kind: "mission_completed";
3131
3143
  outcome: "failed" | "recovered" | "inconclusive";
3132
3144
  evidence: {
3133
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3134
- label: string;
3135
3145
  id: string;
3146
+ label: string;
3147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3136
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3137
3149
  locator?: string | undefined;
3138
3150
  }[];
@@ -3146,37 +3158,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3146
3158
  objective: string;
3147
3159
  runMode: "replay" | "fixture" | "live";
3148
3160
  evidence?: {
3149
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3150
- label: string;
3151
3161
  id: string;
3162
+ label: string;
3163
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3152
3164
  capture: "at_action" | "historical_lookup" | "fixture";
3153
3165
  locator?: string | undefined;
3154
3166
  }[] | undefined;
3155
3167
  } | {
3156
- kind: "agent_status";
3157
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3158
3168
  label: string;
3169
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3170
+ kind: "agent_status";
3159
3171
  role: string;
3160
3172
  agentId: string;
3161
3173
  sessionId: string;
3162
3174
  detail?: string | undefined;
3163
3175
  evidence?: {
3164
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3165
- label: string;
3166
3176
  id: string;
3177
+ label: string;
3178
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
3179
  capture: "at_action" | "historical_lookup" | "fixture";
3168
3180
  locator?: string | undefined;
3169
3181
  }[] | undefined;
3170
3182
  } | {
3171
- kind: "agent_output";
3172
3183
  summary: string;
3184
+ kind: "agent_output";
3173
3185
  agentId: string;
3174
3186
  sessionId: string;
3175
3187
  outputId: string;
3176
3188
  evidence?: {
3177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3178
- label: string;
3179
3189
  id: string;
3190
+ label: string;
3191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3180
3192
  capture: "at_action" | "historical_lookup" | "fixture";
3181
3193
  locator?: string | undefined;
3182
3194
  }[] | undefined;
@@ -3189,37 +3201,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3189
3201
  decisionId: string;
3190
3202
  confidence?: number | undefined;
3191
3203
  evidence?: {
3192
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3193
- label: string;
3194
3204
  id: string;
3205
+ label: string;
3206
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3195
3207
  capture: "at_action" | "historical_lookup" | "fixture";
3196
3208
  locator?: string | undefined;
3197
3209
  }[] | undefined;
3198
3210
  } | {
3199
- kind: "conflict_detected";
3200
3211
  summary: string;
3212
+ kind: "conflict_detected";
3201
3213
  conflictId: string;
3202
3214
  decisionIds: string[];
3203
3215
  agentIds: string[];
3204
3216
  evidence?: {
3205
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
- label: string;
3207
3217
  id: string;
3218
+ label: string;
3219
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3208
3220
  capture: "at_action" | "historical_lookup" | "fixture";
3209
3221
  locator?: string | undefined;
3210
3222
  }[] | undefined;
3211
3223
  } | {
3212
- kind: "test_result";
3213
3224
  summary: string;
3214
3225
  status: "error" | "failed" | "passed";
3226
+ kind: "test_result";
3215
3227
  command: string;
3216
3228
  decisionId: string;
3217
3229
  testId: string;
3218
3230
  durationMs?: number | undefined;
3219
3231
  evidence?: {
3220
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3221
- label: string;
3222
3232
  id: string;
3233
+ label: string;
3234
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3223
3235
  capture: "at_action" | "historical_lookup" | "fixture";
3224
3236
  locator?: string | undefined;
3225
3237
  }[] | undefined;
@@ -3234,9 +3246,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3234
3246
  supersedesDecisionIds: string[];
3235
3247
  proposedBy: string;
3236
3248
  evidence?: {
3237
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3238
- label: string;
3239
3249
  id: string;
3250
+ label: string;
3251
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3240
3252
  capture: "at_action" | "historical_lookup" | "fixture";
3241
3253
  locator?: string | undefined;
3242
3254
  }[] | undefined;
@@ -3244,15 +3256,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3244
3256
  kind: "correction_approved";
3245
3257
  correctionId: string;
3246
3258
  approvedBy: {
3247
- kind: "agent" | "human";
3248
- label: string;
3249
3259
  id: string;
3260
+ label: string;
3261
+ kind: "agent" | "human";
3250
3262
  };
3251
3263
  note?: string | undefined;
3252
3264
  evidence?: {
3253
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3254
- label: string;
3255
3265
  id: string;
3266
+ label: string;
3267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3256
3268
  capture: "at_action" | "historical_lookup" | "fixture";
3257
3269
  locator?: string | undefined;
3258
3270
  }[] | undefined;
@@ -3262,9 +3274,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3262
3274
  correctionId: string;
3263
3275
  replacementDecisionId: string;
3264
3276
  evidence?: {
3265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3266
- label: string;
3267
3277
  id: string;
3278
+ label: string;
3279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3268
3280
  capture: "at_action" | "historical_lookup" | "fixture";
3269
3281
  locator?: string | undefined;
3270
3282
  }[] | undefined;
@@ -3277,9 +3289,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3277
3289
  recallReceiptId: string;
3278
3290
  capturedAtAction: boolean;
3279
3291
  evidence?: {
3280
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3281
- label: string;
3282
3292
  id: string;
3293
+ label: string;
3294
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3283
3295
  capture: "at_action" | "historical_lookup" | "fixture";
3284
3296
  locator?: string | undefined;
3285
3297
  }[] | undefined;
@@ -3292,20 +3304,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3292
3304
  recallReceiptId: string;
3293
3305
  staleDecisionAbsent: boolean;
3294
3306
  evidence?: {
3295
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3296
- label: string;
3297
3307
  id: string;
3308
+ label: string;
3309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3298
3310
  capture: "at_action" | "historical_lookup" | "fixture";
3299
3311
  locator?: string | undefined;
3300
3312
  }[] | undefined;
3301
3313
  } | {
3302
- kind: "mission_completed";
3303
3314
  summary: string;
3315
+ kind: "mission_completed";
3304
3316
  outcome: "failed" | "recovered" | "inconclusive";
3305
3317
  evidence?: {
3306
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3307
- label: string;
3308
3318
  id: string;
3319
+ label: string;
3320
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3309
3321
  capture: "at_action" | "historical_lookup" | "fixture";
3310
3322
  locator?: string | undefined;
3311
3323
  }[] | undefined;
@@ -3335,15 +3347,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3335
3347
  locator: z.ZodOptional<z.ZodString>;
3336
3348
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3337
3349
  }, "strict", z.ZodTypeAny, {
3338
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3339
- label: string;
3340
3350
  id: string;
3351
+ label: string;
3352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
3353
  capture: "at_action" | "historical_lookup" | "fixture";
3342
3354
  locator?: string | undefined;
3343
3355
  }, {
3344
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3345
- label: string;
3346
3356
  id: string;
3357
+ label: string;
3358
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3347
3359
  capture: "at_action" | "historical_lookup" | "fixture";
3348
3360
  locator?: string | undefined;
3349
3361
  }>, "many">>;
@@ -3351,9 +3363,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3351
3363
  kind: "mission_started";
3352
3364
  title: string;
3353
3365
  evidence: {
3354
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3355
- label: string;
3356
3366
  id: string;
3367
+ label: string;
3368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3357
3369
  capture: "at_action" | "historical_lookup" | "fixture";
3358
3370
  locator?: string | undefined;
3359
3371
  }[];
@@ -3365,9 +3377,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3365
3377
  objective: string;
3366
3378
  runMode: "replay" | "fixture" | "live";
3367
3379
  evidence?: {
3368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3369
- label: string;
3370
3380
  id: string;
3381
+ label: string;
3382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3371
3383
  capture: "at_action" | "historical_lookup" | "fixture";
3372
3384
  locator?: string | undefined;
3373
3385
  }[] | undefined;
@@ -3383,15 +3395,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3383
3395
  locator: z.ZodOptional<z.ZodString>;
3384
3396
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3385
3397
  }, "strict", z.ZodTypeAny, {
3386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
- label: string;
3388
3398
  id: string;
3399
+ label: string;
3400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
3401
  capture: "at_action" | "historical_lookup" | "fixture";
3390
3402
  locator?: string | undefined;
3391
3403
  }, {
3392
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3393
- label: string;
3394
3404
  id: string;
3405
+ label: string;
3406
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3395
3407
  capture: "at_action" | "historical_lookup" | "fixture";
3396
3408
  locator?: string | undefined;
3397
3409
  }>, "many">>;
@@ -3399,32 +3411,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3399
3411
  sessionId: z.ZodString;
3400
3412
  kind: z.ZodLiteral<"agent_status">;
3401
3413
  }, "strict", z.ZodTypeAny, {
3402
- kind: "agent_status";
3403
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3404
3414
  label: string;
3415
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3416
+ kind: "agent_status";
3405
3417
  role: string;
3406
3418
  agentId: string;
3407
3419
  sessionId: string;
3408
3420
  evidence: {
3409
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3410
- label: string;
3411
3421
  id: string;
3422
+ label: string;
3423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
3424
  capture: "at_action" | "historical_lookup" | "fixture";
3413
3425
  locator?: string | undefined;
3414
3426
  }[];
3415
3427
  detail?: string | undefined;
3416
3428
  }, {
3417
- kind: "agent_status";
3418
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3419
3429
  label: string;
3430
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3431
+ kind: "agent_status";
3420
3432
  role: string;
3421
3433
  agentId: string;
3422
3434
  sessionId: string;
3423
3435
  detail?: string | undefined;
3424
3436
  evidence?: {
3425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3426
- label: string;
3427
3437
  id: string;
3438
+ label: string;
3439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3429
3441
  locator?: string | undefined;
3430
3442
  }[] | undefined;
@@ -3438,15 +3450,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3438
3450
  locator: z.ZodOptional<z.ZodString>;
3439
3451
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3440
3452
  }, "strict", z.ZodTypeAny, {
3441
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3442
- label: string;
3443
3453
  id: string;
3454
+ label: string;
3455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3444
3456
  capture: "at_action" | "historical_lookup" | "fixture";
3445
3457
  locator?: string | undefined;
3446
3458
  }, {
3447
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3448
- label: string;
3449
3459
  id: string;
3460
+ label: string;
3461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3450
3462
  capture: "at_action" | "historical_lookup" | "fixture";
3451
3463
  locator?: string | undefined;
3452
3464
  }>, "many">>;
@@ -3454,28 +3466,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3454
3466
  sessionId: z.ZodString;
3455
3467
  kind: z.ZodLiteral<"agent_output">;
3456
3468
  }, "strict", z.ZodTypeAny, {
3457
- kind: "agent_output";
3458
3469
  summary: string;
3470
+ kind: "agent_output";
3459
3471
  agentId: string;
3460
3472
  sessionId: string;
3461
3473
  evidence: {
3462
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3463
- label: string;
3464
3474
  id: string;
3475
+ label: string;
3476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3465
3477
  capture: "at_action" | "historical_lookup" | "fixture";
3466
3478
  locator?: string | undefined;
3467
3479
  }[];
3468
3480
  outputId: string;
3469
3481
  }, {
3470
- kind: "agent_output";
3471
3482
  summary: string;
3483
+ kind: "agent_output";
3472
3484
  agentId: string;
3473
3485
  sessionId: string;
3474
3486
  outputId: string;
3475
3487
  evidence?: {
3476
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3477
- label: string;
3478
3488
  id: string;
3489
+ label: string;
3490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
3491
  capture: "at_action" | "historical_lookup" | "fixture";
3480
3492
  locator?: string | undefined;
3481
3493
  }[] | undefined;
@@ -3491,15 +3503,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3491
3503
  locator: z.ZodOptional<z.ZodString>;
3492
3504
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3493
3505
  }, "strict", z.ZodTypeAny, {
3494
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3495
- label: string;
3496
3506
  id: string;
3507
+ label: string;
3508
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3497
3509
  capture: "at_action" | "historical_lookup" | "fixture";
3498
3510
  locator?: string | undefined;
3499
3511
  }, {
3500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3501
- label: string;
3502
3512
  id: string;
3513
+ label: string;
3514
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
3515
  capture: "at_action" | "historical_lookup" | "fixture";
3504
3516
  locator?: string | undefined;
3505
3517
  }>, "many">>;
@@ -3512,9 +3524,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3512
3524
  statement: string;
3513
3525
  sessionId: string;
3514
3526
  evidence: {
3515
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
- label: string;
3517
3527
  id: string;
3528
+ label: string;
3529
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3518
3530
  capture: "at_action" | "historical_lookup" | "fixture";
3519
3531
  locator?: string | undefined;
3520
3532
  }[];
@@ -3530,9 +3542,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3530
3542
  decisionId: string;
3531
3543
  confidence?: number | undefined;
3532
3544
  evidence?: {
3533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3534
- label: string;
3535
3545
  id: string;
3546
+ label: string;
3547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3537
3549
  locator?: string | undefined;
3538
3550
  }[] | undefined;
@@ -3549,25 +3561,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3549
3561
  locator: z.ZodOptional<z.ZodString>;
3550
3562
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3551
3563
  }, "strict", z.ZodTypeAny, {
3552
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3553
- label: string;
3554
3564
  id: string;
3565
+ label: string;
3566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3555
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3556
3568
  locator?: string | undefined;
3557
3569
  }, {
3558
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
- label: string;
3560
3570
  id: string;
3571
+ label: string;
3572
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3561
3573
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3574
  locator?: string | undefined;
3563
3575
  }>, "many">>;
3564
3576
  }, "strict", z.ZodTypeAny, {
3565
- kind: "conflict_detected";
3566
3577
  summary: string;
3578
+ kind: "conflict_detected";
3567
3579
  evidence: {
3568
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3569
- label: string;
3570
3580
  id: string;
3581
+ label: string;
3582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3571
3583
  capture: "at_action" | "historical_lookup" | "fixture";
3572
3584
  locator?: string | undefined;
3573
3585
  }[];
@@ -3575,15 +3587,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3575
3587
  decisionIds: string[];
3576
3588
  agentIds: string[];
3577
3589
  }, {
3578
- kind: "conflict_detected";
3579
3590
  summary: string;
3591
+ kind: "conflict_detected";
3580
3592
  conflictId: string;
3581
3593
  decisionIds: string[];
3582
3594
  agentIds: string[];
3583
3595
  evidence?: {
3584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
- label: string;
3586
3596
  id: string;
3597
+ label: string;
3598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3587
3599
  capture: "at_action" | "historical_lookup" | "fixture";
3588
3600
  locator?: string | undefined;
3589
3601
  }[] | undefined;
@@ -3603,27 +3615,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3603
3615
  locator: z.ZodOptional<z.ZodString>;
3604
3616
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3605
3617
  }, "strict", z.ZodTypeAny, {
3606
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3607
- label: string;
3608
3618
  id: string;
3619
+ label: string;
3620
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3609
3621
  capture: "at_action" | "historical_lookup" | "fixture";
3610
3622
  locator?: string | undefined;
3611
3623
  }, {
3612
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3613
- label: string;
3614
3624
  id: string;
3625
+ label: string;
3626
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3615
3627
  capture: "at_action" | "historical_lookup" | "fixture";
3616
3628
  locator?: string | undefined;
3617
3629
  }>, "many">>;
3618
3630
  }, "strict", z.ZodTypeAny, {
3619
- kind: "test_result";
3620
3631
  summary: string;
3621
3632
  status: "error" | "failed" | "passed";
3633
+ kind: "test_result";
3622
3634
  command: string;
3623
3635
  evidence: {
3624
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3625
- label: string;
3626
3636
  id: string;
3637
+ label: string;
3638
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
3639
  capture: "at_action" | "historical_lookup" | "fixture";
3628
3640
  locator?: string | undefined;
3629
3641
  }[];
@@ -3632,17 +3644,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3632
3644
  durationMs?: number | undefined;
3633
3645
  correctionId?: string | undefined;
3634
3646
  }, {
3635
- kind: "test_result";
3636
3647
  summary: string;
3637
3648
  status: "error" | "failed" | "passed";
3649
+ kind: "test_result";
3638
3650
  command: string;
3639
3651
  decisionId: string;
3640
3652
  testId: string;
3641
3653
  durationMs?: number | undefined;
3642
3654
  evidence?: {
3643
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3644
- label: string;
3645
3655
  id: string;
3656
+ label: string;
3657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3646
3658
  capture: "at_action" | "historical_lookup" | "fixture";
3647
3659
  locator?: string | undefined;
3648
3660
  }[] | undefined;
@@ -3663,15 +3675,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3663
3675
  locator: z.ZodOptional<z.ZodString>;
3664
3676
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3665
3677
  }, "strict", z.ZodTypeAny, {
3666
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
- label: string;
3668
3678
  id: string;
3679
+ label: string;
3680
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3681
  capture: "at_action" | "historical_lookup" | "fixture";
3670
3682
  locator?: string | undefined;
3671
3683
  }, {
3672
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
- label: string;
3674
3684
  id: string;
3685
+ label: string;
3686
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
3687
  capture: "at_action" | "historical_lookup" | "fixture";
3676
3688
  locator?: string | undefined;
3677
3689
  }>, "many">>;
@@ -3680,9 +3692,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3680
3692
  statement: string;
3681
3693
  rationale: string;
3682
3694
  evidence: {
3683
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3684
- label: string;
3685
3695
  id: string;
3696
+ label: string;
3697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3686
3698
  capture: "at_action" | "historical_lookup" | "fixture";
3687
3699
  locator?: string | undefined;
3688
3700
  }[];
@@ -3701,9 +3713,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3701
3713
  supersedesDecisionIds: string[];
3702
3714
  proposedBy: string;
3703
3715
  evidence?: {
3704
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3705
- label: string;
3706
3716
  id: string;
3717
+ label: string;
3718
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3707
3719
  capture: "at_action" | "historical_lookup" | "fixture";
3708
3720
  locator?: string | undefined;
3709
3721
  }[] | undefined;
@@ -3715,13 +3727,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3715
3727
  id: z.ZodString;
3716
3728
  label: z.ZodString;
3717
3729
  }, "strict", z.ZodTypeAny, {
3718
- kind: "agent" | "human";
3719
- label: string;
3720
3730
  id: string;
3721
- }, {
3722
- kind: "agent" | "human";
3723
3731
  label: string;
3732
+ kind: "agent" | "human";
3733
+ }, {
3724
3734
  id: string;
3735
+ label: string;
3736
+ kind: "agent" | "human";
3725
3737
  }>;
3726
3738
  note: z.ZodOptional<z.ZodString>;
3727
3739
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3731,47 +3743,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3731
3743
  locator: z.ZodOptional<z.ZodString>;
3732
3744
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3733
3745
  }, "strict", z.ZodTypeAny, {
3734
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3735
- label: string;
3736
3746
  id: string;
3747
+ label: string;
3748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
3749
  capture: "at_action" | "historical_lookup" | "fixture";
3738
3750
  locator?: string | undefined;
3739
3751
  }, {
3740
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
- label: string;
3742
3752
  id: string;
3753
+ label: string;
3754
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3743
3755
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3756
  locator?: string | undefined;
3745
3757
  }>, "many">>;
3746
3758
  }, "strict", z.ZodTypeAny, {
3747
3759
  kind: "correction_approved";
3748
3760
  evidence: {
3749
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
- label: string;
3751
3761
  id: string;
3762
+ label: string;
3763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3752
3764
  capture: "at_action" | "historical_lookup" | "fixture";
3753
3765
  locator?: string | undefined;
3754
3766
  }[];
3755
3767
  correctionId: string;
3756
3768
  approvedBy: {
3757
- kind: "agent" | "human";
3758
- label: string;
3759
3769
  id: string;
3770
+ label: string;
3771
+ kind: "agent" | "human";
3760
3772
  };
3761
3773
  note?: string | undefined;
3762
3774
  }, {
3763
3775
  kind: "correction_approved";
3764
3776
  correctionId: string;
3765
3777
  approvedBy: {
3766
- kind: "agent" | "human";
3767
- label: string;
3768
3778
  id: string;
3779
+ label: string;
3780
+ kind: "agent" | "human";
3769
3781
  };
3770
3782
  note?: string | undefined;
3771
3783
  evidence?: {
3772
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
- label: string;
3774
3784
  id: string;
3785
+ label: string;
3786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3775
3787
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3788
  locator?: string | undefined;
3777
3789
  }[] | undefined;
@@ -3787,24 +3799,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3787
3799
  locator: z.ZodOptional<z.ZodString>;
3788
3800
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3789
3801
  }, "strict", z.ZodTypeAny, {
3790
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3791
- label: string;
3792
3802
  id: string;
3803
+ label: string;
3804
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3793
3805
  capture: "at_action" | "historical_lookup" | "fixture";
3794
3806
  locator?: string | undefined;
3795
3807
  }, {
3796
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3797
- label: string;
3798
3808
  id: string;
3809
+ label: string;
3810
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3799
3811
  capture: "at_action" | "historical_lookup" | "fixture";
3800
3812
  locator?: string | undefined;
3801
3813
  }>, "many">>;
3802
3814
  }, "strict", z.ZodTypeAny, {
3803
3815
  kind: "decision_superseded";
3804
3816
  evidence: {
3805
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3806
- label: string;
3807
3817
  id: string;
3818
+ label: string;
3819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3808
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3809
3821
  locator?: string | undefined;
3810
3822
  }[];
@@ -3817,9 +3829,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3817
3829
  correctionId: string;
3818
3830
  replacementDecisionId: string;
3819
3831
  evidence?: {
3820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3821
- label: string;
3822
3832
  id: string;
3833
+ label: string;
3834
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3823
3835
  capture: "at_action" | "historical_lookup" | "fixture";
3824
3836
  locator?: string | undefined;
3825
3837
  }[] | undefined;
@@ -3835,15 +3847,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3835
3847
  locator: z.ZodOptional<z.ZodString>;
3836
3848
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3837
3849
  }, "strict", z.ZodTypeAny, {
3838
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3839
- label: string;
3840
3850
  id: string;
3851
+ label: string;
3852
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3853
  capture: "at_action" | "historical_lookup" | "fixture";
3842
3854
  locator?: string | undefined;
3843
3855
  }, {
3844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3845
- label: string;
3846
3856
  id: string;
3857
+ label: string;
3858
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
3859
  capture: "at_action" | "historical_lookup" | "fixture";
3848
3860
  locator?: string | undefined;
3849
3861
  }>, "many">>;
@@ -3856,9 +3868,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3856
3868
  agentId: string;
3857
3869
  sessionId: string;
3858
3870
  evidence: {
3859
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3860
- label: string;
3861
3871
  id: string;
3872
+ label: string;
3873
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3862
3874
  capture: "at_action" | "historical_lookup" | "fixture";
3863
3875
  locator?: string | undefined;
3864
3876
  }[];
@@ -3874,9 +3886,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3874
3886
  recallReceiptId: string;
3875
3887
  capturedAtAction: boolean;
3876
3888
  evidence?: {
3877
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3878
- label: string;
3879
3889
  id: string;
3890
+ label: string;
3891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3880
3892
  capture: "at_action" | "historical_lookup" | "fixture";
3881
3893
  locator?: string | undefined;
3882
3894
  }[] | undefined;
@@ -3892,15 +3904,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3892
3904
  locator: z.ZodOptional<z.ZodString>;
3893
3905
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3894
3906
  }, "strict", z.ZodTypeAny, {
3895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3896
- label: string;
3897
3907
  id: string;
3908
+ label: string;
3909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
3910
  capture: "at_action" | "historical_lookup" | "fixture";
3899
3911
  locator?: string | undefined;
3900
3912
  }, {
3901
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3902
- label: string;
3903
3913
  id: string;
3914
+ label: string;
3915
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3904
3916
  capture: "at_action" | "historical_lookup" | "fixture";
3905
3917
  locator?: string | undefined;
3906
3918
  }>, "many">>;
@@ -3912,9 +3924,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3912
3924
  agentId: string;
3913
3925
  sessionId: string;
3914
3926
  evidence: {
3915
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3916
- label: string;
3917
3927
  id: string;
3928
+ label: string;
3929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3918
3930
  capture: "at_action" | "historical_lookup" | "fixture";
3919
3931
  locator?: string | undefined;
3920
3932
  }[];
@@ -3931,9 +3943,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3931
3943
  recallReceiptId: string;
3932
3944
  staleDecisionAbsent: boolean;
3933
3945
  evidence?: {
3934
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3935
- label: string;
3936
3946
  id: string;
3947
+ label: string;
3948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3937
3949
  capture: "at_action" | "historical_lookup" | "fixture";
3938
3950
  locator?: string | undefined;
3939
3951
  }[] | undefined;
@@ -3948,37 +3960,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3948
3960
  locator: z.ZodOptional<z.ZodString>;
3949
3961
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3950
3962
  }, "strict", z.ZodTypeAny, {
3951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
- label: string;
3953
3963
  id: string;
3964
+ label: string;
3965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
3966
  capture: "at_action" | "historical_lookup" | "fixture";
3955
3967
  locator?: string | undefined;
3956
3968
  }, {
3957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3958
- label: string;
3959
3969
  id: string;
3970
+ label: string;
3971
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3960
3972
  capture: "at_action" | "historical_lookup" | "fixture";
3961
3973
  locator?: string | undefined;
3962
3974
  }>, "many">>;
3963
3975
  }, "strict", z.ZodTypeAny, {
3964
- kind: "mission_completed";
3965
3976
  summary: string;
3977
+ kind: "mission_completed";
3966
3978
  outcome: "failed" | "recovered" | "inconclusive";
3967
3979
  evidence: {
3968
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3969
- label: string;
3970
3980
  id: string;
3981
+ label: string;
3982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3971
3983
  capture: "at_action" | "historical_lookup" | "fixture";
3972
3984
  locator?: string | undefined;
3973
3985
  }[];
3974
3986
  }, {
3975
- kind: "mission_completed";
3976
3987
  summary: string;
3988
+ kind: "mission_completed";
3977
3989
  outcome: "failed" | "recovered" | "inconclusive";
3978
3990
  evidence?: {
3979
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3980
- label: string;
3981
3991
  id: string;
3992
+ label: string;
3993
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3982
3994
  capture: "at_action" | "historical_lookup" | "fixture";
3983
3995
  locator?: string | undefined;
3984
3996
  }[] | undefined;
@@ -3986,38 +3998,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3986
3998
  kind: "mission_started";
3987
3999
  title: string;
3988
4000
  evidence: {
3989
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
- label: string;
3991
4001
  id: string;
4002
+ label: string;
4003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3992
4004
  capture: "at_action" | "historical_lookup" | "fixture";
3993
4005
  locator?: string | undefined;
3994
4006
  }[];
3995
4007
  objective: string;
3996
4008
  runMode: "replay" | "fixture" | "live";
3997
4009
  } | {
3998
- kind: "agent_status";
3999
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4000
4010
  label: string;
4011
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4012
+ kind: "agent_status";
4001
4013
  role: string;
4002
4014
  agentId: string;
4003
4015
  sessionId: string;
4004
4016
  evidence: {
4005
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
- label: string;
4007
4017
  id: string;
4018
+ label: string;
4019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4008
4020
  capture: "at_action" | "historical_lookup" | "fixture";
4009
4021
  locator?: string | undefined;
4010
4022
  }[];
4011
4023
  detail?: string | undefined;
4012
4024
  } | {
4013
- kind: "agent_output";
4014
4025
  summary: string;
4026
+ kind: "agent_output";
4015
4027
  agentId: string;
4016
4028
  sessionId: string;
4017
4029
  evidence: {
4018
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
- label: string;
4020
4030
  id: string;
4031
+ label: string;
4032
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4021
4033
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4034
  locator?: string | undefined;
4023
4035
  }[];
@@ -4028,9 +4040,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4028
4040
  statement: string;
4029
4041
  sessionId: string;
4030
4042
  evidence: {
4031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
- label: string;
4033
4043
  id: string;
4044
+ label: string;
4045
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4034
4046
  capture: "at_action" | "historical_lookup" | "fixture";
4035
4047
  locator?: string | undefined;
4036
4048
  }[];
@@ -4038,12 +4050,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4038
4050
  decisionId: string;
4039
4051
  confidence?: number | undefined;
4040
4052
  } | {
4041
- kind: "conflict_detected";
4042
4053
  summary: string;
4054
+ kind: "conflict_detected";
4043
4055
  evidence: {
4044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4045
- label: string;
4046
4056
  id: string;
4057
+ label: string;
4058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4047
4059
  capture: "at_action" | "historical_lookup" | "fixture";
4048
4060
  locator?: string | undefined;
4049
4061
  }[];
@@ -4051,14 +4063,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4051
4063
  decisionIds: string[];
4052
4064
  agentIds: string[];
4053
4065
  } | {
4054
- kind: "test_result";
4055
4066
  summary: string;
4056
4067
  status: "error" | "failed" | "passed";
4068
+ kind: "test_result";
4057
4069
  command: string;
4058
4070
  evidence: {
4059
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4060
- label: string;
4061
4071
  id: string;
4072
+ label: string;
4073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4062
4074
  capture: "at_action" | "historical_lookup" | "fixture";
4063
4075
  locator?: string | undefined;
4064
4076
  }[];
@@ -4071,9 +4083,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4071
4083
  statement: string;
4072
4084
  rationale: string;
4073
4085
  evidence: {
4074
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
- label: string;
4076
4086
  id: string;
4087
+ label: string;
4088
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4077
4089
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4090
  locator?: string | undefined;
4079
4091
  }[];
@@ -4085,25 +4097,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4085
4097
  } | {
4086
4098
  kind: "correction_approved";
4087
4099
  evidence: {
4088
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4089
- label: string;
4090
4100
  id: string;
4101
+ label: string;
4102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4091
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4092
4104
  locator?: string | undefined;
4093
4105
  }[];
4094
4106
  correctionId: string;
4095
4107
  approvedBy: {
4096
- kind: "agent" | "human";
4097
- label: string;
4098
4108
  id: string;
4109
+ label: string;
4110
+ kind: "agent" | "human";
4099
4111
  };
4100
4112
  note?: string | undefined;
4101
4113
  } | {
4102
4114
  kind: "decision_superseded";
4103
4115
  evidence: {
4104
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
- label: string;
4106
4116
  id: string;
4117
+ label: string;
4118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4107
4119
  capture: "at_action" | "historical_lookup" | "fixture";
4108
4120
  locator?: string | undefined;
4109
4121
  }[];
@@ -4116,9 +4128,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4116
4128
  agentId: string;
4117
4129
  sessionId: string;
4118
4130
  evidence: {
4119
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4120
- label: string;
4121
4131
  id: string;
4132
+ label: string;
4133
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4122
4134
  capture: "at_action" | "historical_lookup" | "fixture";
4123
4135
  locator?: string | undefined;
4124
4136
  }[];
@@ -4130,9 +4142,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4130
4142
  agentId: string;
4131
4143
  sessionId: string;
4132
4144
  evidence: {
4133
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4134
- label: string;
4135
4145
  id: string;
4146
+ label: string;
4147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4136
4148
  capture: "at_action" | "historical_lookup" | "fixture";
4137
4149
  locator?: string | undefined;
4138
4150
  }[];
@@ -4141,13 +4153,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4141
4153
  recallReceiptId: string;
4142
4154
  staleDecisionAbsent: boolean;
4143
4155
  } | {
4144
- kind: "mission_completed";
4145
4156
  summary: string;
4157
+ kind: "mission_completed";
4146
4158
  outcome: "failed" | "recovered" | "inconclusive";
4147
4159
  evidence: {
4148
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4149
- label: string;
4150
4160
  id: string;
4161
+ label: string;
4162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4151
4163
  capture: "at_action" | "historical_lookup" | "fixture";
4152
4164
  locator?: string | undefined;
4153
4165
  }[];
@@ -4157,37 +4169,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4157
4169
  objective: string;
4158
4170
  runMode: "replay" | "fixture" | "live";
4159
4171
  evidence?: {
4160
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4161
- label: string;
4162
4172
  id: string;
4173
+ label: string;
4174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4163
4175
  capture: "at_action" | "historical_lookup" | "fixture";
4164
4176
  locator?: string | undefined;
4165
4177
  }[] | undefined;
4166
4178
  } | {
4167
- kind: "agent_status";
4168
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4169
4179
  label: string;
4180
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4181
+ kind: "agent_status";
4170
4182
  role: string;
4171
4183
  agentId: string;
4172
4184
  sessionId: string;
4173
4185
  detail?: string | undefined;
4174
4186
  evidence?: {
4175
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
- label: string;
4177
4187
  id: string;
4188
+ label: string;
4189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4190
  capture: "at_action" | "historical_lookup" | "fixture";
4179
4191
  locator?: string | undefined;
4180
4192
  }[] | undefined;
4181
4193
  } | {
4182
- kind: "agent_output";
4183
4194
  summary: string;
4195
+ kind: "agent_output";
4184
4196
  agentId: string;
4185
4197
  sessionId: string;
4186
4198
  outputId: string;
4187
4199
  evidence?: {
4188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
- label: string;
4190
4200
  id: string;
4201
+ label: string;
4202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4191
4203
  capture: "at_action" | "historical_lookup" | "fixture";
4192
4204
  locator?: string | undefined;
4193
4205
  }[] | undefined;
@@ -4200,37 +4212,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4200
4212
  decisionId: string;
4201
4213
  confidence?: number | undefined;
4202
4214
  evidence?: {
4203
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4204
- label: string;
4205
4215
  id: string;
4216
+ label: string;
4217
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4206
4218
  capture: "at_action" | "historical_lookup" | "fixture";
4207
4219
  locator?: string | undefined;
4208
4220
  }[] | undefined;
4209
4221
  } | {
4210
- kind: "conflict_detected";
4211
4222
  summary: string;
4223
+ kind: "conflict_detected";
4212
4224
  conflictId: string;
4213
4225
  decisionIds: string[];
4214
4226
  agentIds: string[];
4215
4227
  evidence?: {
4216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
- label: string;
4218
4228
  id: string;
4229
+ label: string;
4230
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4219
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4232
  locator?: string | undefined;
4221
4233
  }[] | undefined;
4222
4234
  } | {
4223
- kind: "test_result";
4224
4235
  summary: string;
4225
4236
  status: "error" | "failed" | "passed";
4237
+ kind: "test_result";
4226
4238
  command: string;
4227
4239
  decisionId: string;
4228
4240
  testId: string;
4229
4241
  durationMs?: number | undefined;
4230
4242
  evidence?: {
4231
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4232
- label: string;
4233
4243
  id: string;
4244
+ label: string;
4245
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4234
4246
  capture: "at_action" | "historical_lookup" | "fixture";
4235
4247
  locator?: string | undefined;
4236
4248
  }[] | undefined;
@@ -4245,9 +4257,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4245
4257
  supersedesDecisionIds: string[];
4246
4258
  proposedBy: string;
4247
4259
  evidence?: {
4248
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4249
- label: string;
4250
4260
  id: string;
4261
+ label: string;
4262
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
4263
  capture: "at_action" | "historical_lookup" | "fixture";
4252
4264
  locator?: string | undefined;
4253
4265
  }[] | undefined;
@@ -4255,15 +4267,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4255
4267
  kind: "correction_approved";
4256
4268
  correctionId: string;
4257
4269
  approvedBy: {
4258
- kind: "agent" | "human";
4259
- label: string;
4260
4270
  id: string;
4271
+ label: string;
4272
+ kind: "agent" | "human";
4261
4273
  };
4262
4274
  note?: string | undefined;
4263
4275
  evidence?: {
4264
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4265
- label: string;
4266
4276
  id: string;
4277
+ label: string;
4278
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4267
4279
  capture: "at_action" | "historical_lookup" | "fixture";
4268
4280
  locator?: string | undefined;
4269
4281
  }[] | undefined;
@@ -4273,9 +4285,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4273
4285
  correctionId: string;
4274
4286
  replacementDecisionId: string;
4275
4287
  evidence?: {
4276
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4277
- label: string;
4278
4288
  id: string;
4289
+ label: string;
4290
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
4291
  capture: "at_action" | "historical_lookup" | "fixture";
4280
4292
  locator?: string | undefined;
4281
4293
  }[] | undefined;
@@ -4288,9 +4300,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4288
4300
  recallReceiptId: string;
4289
4301
  capturedAtAction: boolean;
4290
4302
  evidence?: {
4291
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4292
- label: string;
4293
4303
  id: string;
4304
+ label: string;
4305
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4294
4306
  capture: "at_action" | "historical_lookup" | "fixture";
4295
4307
  locator?: string | undefined;
4296
4308
  }[] | undefined;
@@ -4303,63 +4315,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4303
4315
  recallReceiptId: string;
4304
4316
  staleDecisionAbsent: boolean;
4305
4317
  evidence?: {
4306
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4307
- label: string;
4308
4318
  id: string;
4319
+ label: string;
4320
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4309
4321
  capture: "at_action" | "historical_lookup" | "fixture";
4310
4322
  locator?: string | undefined;
4311
4323
  }[] | undefined;
4312
4324
  } | {
4313
- kind: "mission_completed";
4314
4325
  summary: string;
4326
+ kind: "mission_completed";
4315
4327
  outcome: "failed" | "recovered" | "inconclusive";
4316
4328
  evidence?: {
4317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
- label: string;
4319
4329
  id: string;
4330
+ label: string;
4331
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4320
4332
  capture: "at_action" | "historical_lookup" | "fixture";
4321
4333
  locator?: string | undefined;
4322
4334
  }[] | undefined;
4323
4335
  }>;
4324
4336
  }, "strict", z.ZodTypeAny, {
4337
+ namespace: string;
4325
4338
  recordedAt: string;
4326
4339
  schemaVersion: "1";
4327
4340
  payload: {
4328
4341
  kind: "mission_started";
4329
4342
  title: string;
4330
4343
  evidence: {
4331
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
- label: string;
4333
4344
  id: string;
4345
+ label: string;
4346
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4334
4347
  capture: "at_action" | "historical_lookup" | "fixture";
4335
4348
  locator?: string | undefined;
4336
4349
  }[];
4337
4350
  objective: string;
4338
4351
  runMode: "replay" | "fixture" | "live";
4339
4352
  } | {
4340
- kind: "agent_status";
4341
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4342
4353
  label: string;
4354
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4355
+ kind: "agent_status";
4343
4356
  role: string;
4344
4357
  agentId: string;
4345
4358
  sessionId: string;
4346
4359
  evidence: {
4347
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
- label: string;
4349
4360
  id: string;
4361
+ label: string;
4362
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4350
4363
  capture: "at_action" | "historical_lookup" | "fixture";
4351
4364
  locator?: string | undefined;
4352
4365
  }[];
4353
4366
  detail?: string | undefined;
4354
4367
  } | {
4355
- kind: "agent_output";
4356
4368
  summary: string;
4369
+ kind: "agent_output";
4357
4370
  agentId: string;
4358
4371
  sessionId: string;
4359
4372
  evidence: {
4360
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
- label: string;
4362
4373
  id: string;
4374
+ label: string;
4375
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4363
4376
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4377
  locator?: string | undefined;
4365
4378
  }[];
@@ -4370,9 +4383,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4370
4383
  statement: string;
4371
4384
  sessionId: string;
4372
4385
  evidence: {
4373
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4374
- label: string;
4375
4386
  id: string;
4387
+ label: string;
4388
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4376
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4377
4390
  locator?: string | undefined;
4378
4391
  }[];
@@ -4380,12 +4393,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4380
4393
  decisionId: string;
4381
4394
  confidence?: number | undefined;
4382
4395
  } | {
4383
- kind: "conflict_detected";
4384
4396
  summary: string;
4397
+ kind: "conflict_detected";
4385
4398
  evidence: {
4386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
- label: string;
4388
4399
  id: string;
4400
+ label: string;
4401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4403
  locator?: string | undefined;
4391
4404
  }[];
@@ -4393,14 +4406,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4393
4406
  decisionIds: string[];
4394
4407
  agentIds: string[];
4395
4408
  } | {
4396
- kind: "test_result";
4397
4409
  summary: string;
4398
4410
  status: "error" | "failed" | "passed";
4411
+ kind: "test_result";
4399
4412
  command: string;
4400
4413
  evidence: {
4401
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
- label: string;
4403
4414
  id: string;
4415
+ label: string;
4416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4404
4417
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4418
  locator?: string | undefined;
4406
4419
  }[];
@@ -4413,9 +4426,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4413
4426
  statement: string;
4414
4427
  rationale: string;
4415
4428
  evidence: {
4416
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4417
- label: string;
4418
4429
  id: string;
4430
+ label: string;
4431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4419
4432
  capture: "at_action" | "historical_lookup" | "fixture";
4420
4433
  locator?: string | undefined;
4421
4434
  }[];
@@ -4427,25 +4440,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4427
4440
  } | {
4428
4441
  kind: "correction_approved";
4429
4442
  evidence: {
4430
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
- label: string;
4432
4443
  id: string;
4444
+ label: string;
4445
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4446
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4447
  locator?: string | undefined;
4435
4448
  }[];
4436
4449
  correctionId: string;
4437
4450
  approvedBy: {
4438
- kind: "agent" | "human";
4439
- label: string;
4440
4451
  id: string;
4452
+ label: string;
4453
+ kind: "agent" | "human";
4441
4454
  };
4442
4455
  note?: string | undefined;
4443
4456
  } | {
4444
4457
  kind: "decision_superseded";
4445
4458
  evidence: {
4446
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4447
- label: string;
4448
4459
  id: string;
4460
+ label: string;
4461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4449
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4450
4463
  locator?: string | undefined;
4451
4464
  }[];
@@ -4458,9 +4471,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4458
4471
  agentId: string;
4459
4472
  sessionId: string;
4460
4473
  evidence: {
4461
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
- label: string;
4463
4474
  id: string;
4475
+ label: string;
4476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4464
4477
  capture: "at_action" | "historical_lookup" | "fixture";
4465
4478
  locator?: string | undefined;
4466
4479
  }[];
@@ -4472,9 +4485,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4472
4485
  agentId: string;
4473
4486
  sessionId: string;
4474
4487
  evidence: {
4475
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4476
- label: string;
4477
4488
  id: string;
4489
+ label: string;
4490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4478
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4479
4492
  locator?: string | undefined;
4480
4493
  }[];
@@ -4483,24 +4496,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4483
4496
  recallReceiptId: string;
4484
4497
  staleDecisionAbsent: boolean;
4485
4498
  } | {
4486
- kind: "mission_completed";
4487
4499
  summary: string;
4500
+ kind: "mission_completed";
4488
4501
  outcome: "failed" | "recovered" | "inconclusive";
4489
4502
  evidence: {
4490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4491
- label: string;
4492
4503
  id: string;
4504
+ label: string;
4505
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4493
4506
  capture: "at_action" | "historical_lookup" | "fixture";
4494
4507
  locator?: string | undefined;
4495
4508
  }[];
4496
4509
  };
4497
- namespace: string;
4498
4510
  eventId: string;
4499
4511
  occurredAt: string;
4500
4512
  missionId: string;
4501
- authenticatedPrincipal?: string | undefined;
4502
4513
  idempotencyKey?: string | undefined;
4514
+ authenticatedPrincipal?: string | undefined;
4503
4515
  }, {
4516
+ namespace: string;
4504
4517
  recordedAt: string;
4505
4518
  schemaVersion: "1";
4506
4519
  payload: {
@@ -4509,37 +4522,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4509
4522
  objective: string;
4510
4523
  runMode: "replay" | "fixture" | "live";
4511
4524
  evidence?: {
4512
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4513
- label: string;
4514
4525
  id: string;
4526
+ label: string;
4527
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4515
4528
  capture: "at_action" | "historical_lookup" | "fixture";
4516
4529
  locator?: string | undefined;
4517
4530
  }[] | undefined;
4518
4531
  } | {
4519
- kind: "agent_status";
4520
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4521
4532
  label: string;
4533
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4534
+ kind: "agent_status";
4522
4535
  role: string;
4523
4536
  agentId: string;
4524
4537
  sessionId: string;
4525
4538
  detail?: string | undefined;
4526
4539
  evidence?: {
4527
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4528
- label: string;
4529
4540
  id: string;
4541
+ label: string;
4542
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4530
4543
  capture: "at_action" | "historical_lookup" | "fixture";
4531
4544
  locator?: string | undefined;
4532
4545
  }[] | undefined;
4533
4546
  } | {
4534
- kind: "agent_output";
4535
4547
  summary: string;
4548
+ kind: "agent_output";
4536
4549
  agentId: string;
4537
4550
  sessionId: string;
4538
4551
  outputId: string;
4539
4552
  evidence?: {
4540
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4541
- label: string;
4542
4553
  id: string;
4554
+ label: string;
4555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4556
  capture: "at_action" | "historical_lookup" | "fixture";
4544
4557
  locator?: string | undefined;
4545
4558
  }[] | undefined;
@@ -4552,37 +4565,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4552
4565
  decisionId: string;
4553
4566
  confidence?: number | undefined;
4554
4567
  evidence?: {
4555
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4556
- label: string;
4557
4568
  id: string;
4569
+ label: string;
4570
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
4571
  capture: "at_action" | "historical_lookup" | "fixture";
4559
4572
  locator?: string | undefined;
4560
4573
  }[] | undefined;
4561
4574
  } | {
4562
- kind: "conflict_detected";
4563
4575
  summary: string;
4576
+ kind: "conflict_detected";
4564
4577
  conflictId: string;
4565
4578
  decisionIds: string[];
4566
4579
  agentIds: string[];
4567
4580
  evidence?: {
4568
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4569
- label: string;
4570
4581
  id: string;
4582
+ label: string;
4583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4571
4584
  capture: "at_action" | "historical_lookup" | "fixture";
4572
4585
  locator?: string | undefined;
4573
4586
  }[] | undefined;
4574
4587
  } | {
4575
- kind: "test_result";
4576
4588
  summary: string;
4577
4589
  status: "error" | "failed" | "passed";
4590
+ kind: "test_result";
4578
4591
  command: string;
4579
4592
  decisionId: string;
4580
4593
  testId: string;
4581
4594
  durationMs?: number | undefined;
4582
4595
  evidence?: {
4583
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4584
- label: string;
4585
4596
  id: string;
4597
+ label: string;
4598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4586
4599
  capture: "at_action" | "historical_lookup" | "fixture";
4587
4600
  locator?: string | undefined;
4588
4601
  }[] | undefined;
@@ -4597,9 +4610,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4597
4610
  supersedesDecisionIds: string[];
4598
4611
  proposedBy: string;
4599
4612
  evidence?: {
4600
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4601
- label: string;
4602
4613
  id: string;
4614
+ label: string;
4615
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4603
4616
  capture: "at_action" | "historical_lookup" | "fixture";
4604
4617
  locator?: string | undefined;
4605
4618
  }[] | undefined;
@@ -4607,15 +4620,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4607
4620
  kind: "correction_approved";
4608
4621
  correctionId: string;
4609
4622
  approvedBy: {
4610
- kind: "agent" | "human";
4611
- label: string;
4612
4623
  id: string;
4624
+ label: string;
4625
+ kind: "agent" | "human";
4613
4626
  };
4614
4627
  note?: string | undefined;
4615
4628
  evidence?: {
4616
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
- label: string;
4618
4629
  id: string;
4630
+ label: string;
4631
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4619
4632
  capture: "at_action" | "historical_lookup" | "fixture";
4620
4633
  locator?: string | undefined;
4621
4634
  }[] | undefined;
@@ -4625,9 +4638,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4625
4638
  correctionId: string;
4626
4639
  replacementDecisionId: string;
4627
4640
  evidence?: {
4628
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4629
- label: string;
4630
4641
  id: string;
4642
+ label: string;
4643
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4631
4644
  capture: "at_action" | "historical_lookup" | "fixture";
4632
4645
  locator?: string | undefined;
4633
4646
  }[] | undefined;
@@ -4640,9 +4653,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4640
4653
  recallReceiptId: string;
4641
4654
  capturedAtAction: boolean;
4642
4655
  evidence?: {
4643
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4644
- label: string;
4645
4656
  id: string;
4657
+ label: string;
4658
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4646
4659
  capture: "at_action" | "historical_lookup" | "fixture";
4647
4660
  locator?: string | undefined;
4648
4661
  }[] | undefined;
@@ -4655,30 +4668,29 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4655
4668
  recallReceiptId: string;
4656
4669
  staleDecisionAbsent: boolean;
4657
4670
  evidence?: {
4658
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4659
- label: string;
4660
4671
  id: string;
4672
+ label: string;
4673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4661
4674
  capture: "at_action" | "historical_lookup" | "fixture";
4662
4675
  locator?: string | undefined;
4663
4676
  }[] | undefined;
4664
4677
  } | {
4665
- kind: "mission_completed";
4666
4678
  summary: string;
4679
+ kind: "mission_completed";
4667
4680
  outcome: "failed" | "recovered" | "inconclusive";
4668
4681
  evidence?: {
4669
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4670
- label: string;
4671
4682
  id: string;
4683
+ label: string;
4684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4672
4685
  capture: "at_action" | "historical_lookup" | "fixture";
4673
4686
  locator?: string | undefined;
4674
4687
  }[] | undefined;
4675
4688
  };
4676
- namespace: string;
4677
4689
  eventId: string;
4678
4690
  occurredAt: string;
4679
4691
  missionId: string;
4680
- authenticatedPrincipal?: string | undefined;
4681
4692
  idempotencyKey?: string | undefined;
4693
+ authenticatedPrincipal?: string | undefined;
4682
4694
  }>;
4683
4695
  type RelayMissionEvent = z.infer<typeof RelayMissionEventSchema>;
4684
4696
  declare const RelayMissionReadOptionsSchema: z.ZodEffects<z.ZodObject<{
@@ -6066,6 +6078,7 @@ declare function renderExtensionsFooter(extensions: DiscoveredExtension[]): stri
6066
6078
  * Each space is an isolated memory directory. Spaces can share memories
6067
6079
  * through push/pull and promotion workflows.
6068
6080
  */
6081
+
6069
6082
  type SpaceKind = "personal" | "project" | "team";
6070
6083
  interface Space {
6071
6084
  /** Unique space ID */
@@ -6129,6 +6142,8 @@ interface SpacePromoteResult {
6129
6142
  memoriesPromoted: number;
6130
6143
  conflicts: ConflictEntry[];
6131
6144
  durationMs: number;
6145
+ /** Subject-guard warnings (issue #2372): user-subject memories promoted to a shared team space under "warn". */
6146
+ subjectWarnings?: string[];
6132
6147
  }
6133
6148
  interface ConflictEntry {
6134
6149
  /** Memory ID */
@@ -6192,6 +6207,8 @@ declare function promoteSpace(sourceSpaceId: string, targetSpaceId: string, opti
6192
6207
  force?: boolean;
6193
6208
  forceOverwrite?: boolean;
6194
6209
  baseDir?: string;
6210
+ subjectGuard?: SubjectGuardMode;
6211
+ allowUserSubject?: boolean;
6195
6212
  }): Promise<SpacePromoteResult>;
6196
6213
  declare function mergeSpaces(sourceSpaceId: string, targetSpaceId: string, options?: {
6197
6214
  force?: boolean;