@remnic/core 9.69.44 → 9.69.46

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 (533) hide show
  1. package/dist/access-admin-ops-surface.d.ts +14 -14
  2. package/dist/access-admin-ops-surface.js +36 -36
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +14 -14
  5. package/dist/access-authorization-probe.js +37 -37
  6. package/dist/access-boundary.d.ts +14 -14
  7. package/dist/access-boundary.js +36 -36
  8. package/dist/access-cli.js +90 -87
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-coding-context-resolution.d.ts +1 -1
  11. package/dist/access-extraction-force-flush.d.ts +14 -14
  12. package/dist/access-extraction-force-flush.js +36 -36
  13. package/dist/access-health-types.d.ts +1 -1
  14. package/dist/access-http-briefing.d.ts +14 -14
  15. package/dist/access-http-briefing.js +37 -37
  16. package/dist/access-http-lcm-compaction.d.ts +14 -14
  17. package/dist/access-http-lifecycle-flush.d.ts +14 -14
  18. package/dist/access-http-offline-stream.d.ts +14 -14
  19. package/dist/access-http-query.d.ts +2 -2
  20. package/dist/access-http-query.js +38 -38
  21. package/dist/access-http.d.ts +15 -15
  22. package/dist/access-http.js +52 -52
  23. package/dist/access-identity-continuity-surface.d.ts +11 -11
  24. package/dist/access-identity-continuity-surface.js +36 -36
  25. package/dist/access-lcm-surface.d.ts +14 -14
  26. package/dist/access-lcm-surface.js +36 -36
  27. package/dist/access-mcp-shared-context-tools.d.ts +14 -14
  28. package/dist/access-mcp.d.ts +14 -14
  29. package/dist/access-mcp.js +44 -44
  30. package/dist/access-memory-search-fanout.d.ts +2 -2
  31. package/dist/{access-namespace-preflight-CE-RrXKu.d.ts → access-namespace-preflight-DDnsN22V.d.ts} +1 -1
  32. package/dist/access-namespace-preflight.d.ts +3 -3
  33. package/dist/access-namespace-preflight.js +36 -36
  34. package/dist/access-observe-transcript.d.ts +11 -11
  35. package/dist/access-observe-write-category.d.ts +3 -3
  36. package/dist/access-observe-write-category.js +4 -4
  37. package/dist/access-observe-write-surface.d.ts +14 -14
  38. package/dist/access-observe-write-surface.js +36 -36
  39. package/dist/access-offline-manifest.d.ts +11 -11
  40. package/dist/access-offline-manifest.js +3 -3
  41. package/dist/access-operations-batch.js +37 -37
  42. package/dist/access-operations.d.ts +14 -14
  43. package/dist/access-operations.js +43 -43
  44. package/dist/access-recall-concurrency.d.ts +14 -14
  45. package/dist/access-recall-concurrency.js +36 -36
  46. package/dist/access-recall-response.d.ts +14 -14
  47. package/dist/access-recall-response.js +36 -36
  48. package/dist/access-recall-surface.d.ts +14 -14
  49. package/dist/access-recall-surface.js +36 -36
  50. package/dist/access-schema.d.ts +114 -114
  51. package/dist/access-schema.js +3 -3
  52. package/dist/{access-service-Cww3xAAy.d.ts → access-service-DGynYlbE.d.ts} +73 -73
  53. package/dist/access-service-helpers.d.ts +14 -14
  54. package/dist/access-service.d.ts +14 -14
  55. package/dist/access-service.js +36 -36
  56. package/dist/access-surface-catalog.d.ts +14 -14
  57. package/dist/access-surface-catalog.js +38 -38
  58. package/dist/access-wearables-meetings-surface.d.ts +4 -4
  59. package/dist/action-confidence.d.ts +1 -1
  60. package/dist/active-memory-bridge.d.ts +1 -1
  61. package/dist/active-recall.d.ts +1 -1
  62. package/dist/activity/digest.d.ts +1 -1
  63. package/dist/ambient-provenance.d.ts +1 -1
  64. package/dist/artifact-search.d.ts +1 -1
  65. package/dist/{auto-sync-QZD4RD6H.js → auto-sync-DG5KEOF5.js} +5 -5
  66. package/dist/background-generation.d.ts +1 -1
  67. package/dist/behavior-learner.d.ts +1 -1
  68. package/dist/behavior-signals.d.ts +1 -1
  69. package/dist/bootstrap.d.ts +11 -11
  70. package/dist/briefing-window.d.ts +2 -2
  71. package/dist/briefing.d.ts +2 -2
  72. package/dist/briefing.js +12 -12
  73. package/dist/buffer-surprise-report.d.ts +1 -1
  74. package/dist/buffer-turn-helpers.d.ts +1 -1
  75. package/dist/buffer.d.ts +2 -2
  76. package/dist/buffer.js +3 -3
  77. package/dist/bulk-import/index.d.ts +3 -3
  78. package/dist/calibration.d.ts +1 -1
  79. package/dist/calibration.js +2 -2
  80. package/dist/capabilities.d.ts +1 -1
  81. package/dist/{catalog-Ya3DDn_T.d.ts → catalog-Dl2hYqpS.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 +13 -13
  85. package/dist/causal-trajectory-graph.d.ts +1 -1
  86. package/dist/{chunk-MOL7JK4F.js → chunk-3NYM6JA4.js} +2 -2
  87. package/dist/{chunk-WNMVUWI7.js → chunk-3UQIS2GC.js} +2 -2
  88. package/dist/{chunk-JDL5BYYF.js → chunk-47C6DF43.js} +3 -3
  89. package/dist/{chunk-ZBSP4BSN.js → chunk-4ECS33D4.js} +2 -2
  90. package/dist/{chunk-6EGIQEKC.js → chunk-4HTQ76O4.js} +2 -2
  91. package/dist/{chunk-7L54ARML.js → chunk-4XTSKGLX.js} +2 -2
  92. package/dist/{chunk-SUS64JER.js → chunk-5EHPB6RL.js} +2 -2
  93. package/dist/{chunk-J2MGTGKC.js → chunk-5ZXGH2ZL.js} +20 -3
  94. package/dist/chunk-5ZXGH2ZL.js.map +1 -0
  95. package/dist/{chunk-VDLNQVYW.js → chunk-62NYUFNH.js} +7 -7
  96. package/dist/{chunk-Y77UTH7F.js → chunk-66QOUYNS.js} +83 -64
  97. package/dist/chunk-66QOUYNS.js.map +1 -0
  98. package/dist/{chunk-SZV2L2IG.js → chunk-7BNB7KHB.js} +4 -4
  99. package/dist/chunk-AAQA6ZUP.js +41 -0
  100. package/dist/chunk-AAQA6ZUP.js.map +1 -0
  101. package/dist/{chunk-RJ7Z7YXK.js → chunk-AG6PANBG.js} +14 -20
  102. package/dist/chunk-AG6PANBG.js.map +1 -0
  103. package/dist/{chunk-IAGEEVQL.js → chunk-AN2O4KZY.js} +2 -2
  104. package/dist/{chunk-JUOJGZPV.js → chunk-AYP2FZFA.js} +2 -2
  105. package/dist/{chunk-XK76RJBN.js → chunk-AYZHHMTK.js} +2 -2
  106. package/dist/{chunk-LQVXSRAJ.js → chunk-B4EGAHHS.js} +2 -2
  107. package/dist/{chunk-HKQAI6XI.js → chunk-CFIHVWYZ.js} +2 -2
  108. package/dist/{chunk-DABSYX7V.js → chunk-CWMMKFO7.js} +3 -3
  109. package/dist/{chunk-WLHPCAVD.js → chunk-D5DTZBTV.js} +6 -6
  110. package/dist/{chunk-2HDLDBJW.js → chunk-DDBLZJRV.js} +2 -2
  111. package/dist/{chunk-F2FJTOV6.js → chunk-DO6R3LIE.js} +2 -2
  112. package/dist/{chunk-SHEHQBCG.js → chunk-DUJYRVUD.js} +638 -45
  113. package/dist/chunk-DUJYRVUD.js.map +1 -0
  114. package/dist/{chunk-LD22AAJI.js → chunk-EAZ3YZKN.js} +2 -2
  115. package/dist/{chunk-46FVFU7S.js → chunk-EC5SVM6H.js} +2 -2
  116. package/dist/{chunk-GKKLI23D.js → chunk-EEHQY7ER.js} +2 -2
  117. package/dist/{chunk-UHSOPTNB.js → chunk-EP6BA7VV.js} +50 -15
  118. package/dist/chunk-EP6BA7VV.js.map +1 -0
  119. package/dist/{chunk-BPXJINHW.js → chunk-EUP4AXIW.js} +2 -2
  120. package/dist/{chunk-2WMXZYMS.js → chunk-F5V7KRQS.js} +2 -2
  121. package/dist/{chunk-4AX5OYKC.js → chunk-FDDCZDBI.js} +2 -2
  122. package/dist/{chunk-XLPZN3A5.js → chunk-FMEP2RB5.js} +2 -2
  123. package/dist/{chunk-D7UUB33A.js → chunk-FSH6KRKO.js} +2 -2
  124. package/dist/{chunk-3254BYQV.js → chunk-GGY7WKMB.js} +1 -1
  125. package/dist/{chunk-ROXDOKLM.js → chunk-GYYLZOSO.js} +4 -4
  126. package/dist/{chunk-3K64PLY3.js → chunk-HXDXR2FH.js} +23 -23
  127. package/dist/{chunk-XOCGC3FJ.js → chunk-HYWPUYLO.js} +2 -2
  128. package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
  129. package/dist/{chunk-M6FKXOYV.js → chunk-IXMWTNNY.js} +2 -2
  130. package/dist/{chunk-ZYSOT6HD.js → chunk-J3IWHCMF.js} +2 -2
  131. package/dist/{chunk-3YQ7VLP3.js → chunk-J5OXWG66.js} +2 -2
  132. package/dist/{chunk-H2N6SLTR.js → chunk-JIWZVOQM.js} +2 -2
  133. package/dist/{chunk-C3YEB7CR.js → chunk-JOP7W24J.js} +4 -4
  134. package/dist/{chunk-F6PTJLEM.js → chunk-K4KE5MYE.js} +1 -1
  135. package/dist/{chunk-IOTYIECA.js → chunk-KF57IQFX.js} +13 -13
  136. package/dist/{chunk-JL4TQYM5.js → chunk-L272A5QW.js} +33 -2
  137. package/dist/{chunk-JL4TQYM5.js.map → chunk-L272A5QW.js.map} +1 -1
  138. package/dist/chunk-M4DB6ZNN.js +87 -0
  139. package/dist/chunk-M4DB6ZNN.js.map +1 -0
  140. package/dist/{chunk-ZVQ5HF77.js → chunk-N46SNYMC.js} +2 -2
  141. package/dist/{chunk-YR5QT4SR.js → chunk-NAFPHFDM.js} +2 -2
  142. package/dist/{chunk-VHANUT45.js → chunk-ORQ7AZMU.js} +7 -7
  143. package/dist/{chunk-EOXCOZ6L.js → chunk-OV7GJ4KW.js} +2 -2
  144. package/dist/{chunk-VJXMFBVR.js → chunk-P7S7BVBJ.js} +2 -2
  145. package/dist/{chunk-GMU7MAHS.js → chunk-QUFJ3NJE.js} +260 -796
  146. package/dist/chunk-QUFJ3NJE.js.map +1 -0
  147. package/dist/{chunk-7F47R4H4.js → chunk-S3SND7SO.js} +2 -2
  148. package/dist/{chunk-5AJZ7EUW.js → chunk-S7KDHFF2.js} +2 -2
  149. package/dist/{chunk-4WMGRLTV.js → chunk-SRRZZHA5.js} +2 -2
  150. package/dist/{chunk-KDLOKVX7.js → chunk-SW42MMAH.js} +2 -2
  151. package/dist/{chunk-2YIUUXNK.js → chunk-T5NI5K46.js} +2 -2
  152. package/dist/{chunk-QCTXQ2HW.js → chunk-TE6B2UU6.js} +2 -2
  153. package/dist/{chunk-JDOBQPJY.js → chunk-TNQR7N52.js} +2 -2
  154. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  155. package/dist/{chunk-T3F2HWIG.js → chunk-TZ44E732.js} +2 -2
  156. package/dist/{chunk-PF7LQ22G.js → chunk-U4ESGVZ2.js} +3 -3
  157. package/dist/{chunk-WJPR2XUN.js → chunk-UEJY6ZTQ.js} +2 -2
  158. package/dist/{chunk-K3IVJ5ML.js → chunk-UGGOQKO6.js} +26 -26
  159. package/dist/{chunk-OCX7OWOC.js → chunk-UOREPQ3C.js} +2 -2
  160. package/dist/{chunk-R3H2AXO2.js → chunk-VGRVJ6Z6.js} +2 -2
  161. package/dist/{chunk-IWHNT35B.js → chunk-WOBMSMUK.js} +3 -3
  162. package/dist/{chunk-DDGQDNQW.js → chunk-XLZZLUWL.js} +2 -2
  163. package/dist/{chunk-KORQWGUA.js → chunk-Y3XHIWVP.js} +2 -2
  164. package/dist/{chunk-BZDK5EOD.js → chunk-YFVIA5A6.js} +2 -2
  165. package/dist/{chunk-GR76OKET.js → chunk-YSBYNCCN.js} +2 -2
  166. package/dist/{chunk-OGAKUA7I.js → chunk-YUQPUK6H.js} +2 -2
  167. package/dist/{chunk-TRTLWUDD.js → chunk-ZTHGFTMW.js} +2 -2
  168. package/dist/{cli-Cl7bKIWJ.d.ts → cli-Cik3H7q1.d.ts} +5 -5
  169. package/dist/cli.d.ts +16 -16
  170. package/dist/cli.js +67 -67
  171. package/dist/coding/export-okf-codegraph.d.ts +1 -1
  172. package/dist/coding/export-okf-codegraph.js +11 -11
  173. package/dist/coding/pre-action-gate.d.ts +1 -1
  174. package/dist/compounding/engine.d.ts +2 -2
  175. package/dist/compounding/engine.js +12 -12
  176. package/dist/compounding/preference-consolidator.d.ts +1 -1
  177. package/dist/compression-optimizer.d.ts +1 -1
  178. package/dist/config.d.ts +1 -1
  179. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  180. package/dist/connectors/codex-materialize-runner.js +12 -12
  181. package/dist/connectors/codex-materialize.d.ts +1 -1
  182. package/dist/connectors/index.d.ts +1 -1
  183. package/dist/connectors/index.js +12 -12
  184. package/dist/consolidation-provenance-check.d.ts +2 -2
  185. package/dist/consolidation-undo.d.ts +2 -2
  186. package/dist/contradiction/index.d.ts +4 -4
  187. package/dist/converge-config.d.ts +1 -1
  188. package/dist/convergence-refresh.d.ts +2 -2
  189. package/dist/convergence-refresh.js +14 -14
  190. package/dist/conversation-index/backend.d.ts +1 -1
  191. package/dist/conversation-index/chunker.d.ts +1 -1
  192. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  193. package/dist/conversation-index/indexer.d.ts +1 -1
  194. package/dist/conversation-index/search.d.ts +1 -1
  195. package/dist/corpus-watermark.d.ts +1 -1
  196. package/dist/corpus-watermark.js +14 -14
  197. package/dist/cross-lingual-recall.d.ts +1 -1
  198. package/dist/day-summary.d.ts +1 -1
  199. package/dist/deep-recall-http-glue.d.ts +14 -14
  200. package/dist/deep-recall-http-glue.js +4 -4
  201. package/dist/deep-recall-mcp-tools.d.ts +14 -14
  202. package/dist/deep-recall-policy-llm.d.ts +2 -2
  203. package/dist/deep-recall-policy-llm.js +3 -3
  204. package/dist/deep-recall-seeds.d.ts +1 -1
  205. package/dist/delinearize.d.ts +1 -1
  206. package/dist/dependency-propagation-config.d.ts +1 -1
  207. package/dist/{dependency-propagation-delivery-CggS9BFT.d.ts → dependency-propagation-delivery-BXaUoVUf.d.ts} +1 -1
  208. package/dist/direct-answer-wiring.d.ts +1 -1
  209. package/dist/direct-answer.d.ts +1 -1
  210. package/dist/embedding-fallback.d.ts +1 -1
  211. package/dist/enrichment/index.d.ts +1 -1
  212. package/dist/entity-origin-fields.d.ts +1 -1
  213. package/dist/entity-retrieval.d.ts +2 -2
  214. package/dist/entity-retrieval.js +12 -12
  215. package/dist/entity-schema.d.ts +1 -1
  216. package/dist/episodic-context.d.ts +1 -1
  217. package/dist/eval-trajectory-contracts.d.ts +1 -1
  218. package/dist/eval-trajectory-store.d.ts +1 -1
  219. package/dist/eval-trajectory.d.ts +1 -1
  220. package/dist/explicit-capture.d.ts +11 -11
  221. package/dist/explicit-capture.js +2 -2
  222. package/dist/external-wiki-access.d.ts +14 -14
  223. package/dist/external-wiki-access.js +37 -37
  224. package/dist/external-wiki-collection-registration.d.ts +1 -1
  225. package/dist/external-wiki-collection.d.ts +1 -1
  226. package/dist/external-wiki-mcp-tools.d.ts +14 -14
  227. package/dist/extraction-error-classification.d.ts +1 -1
  228. package/dist/extraction-faithfulness.d.ts +2 -2
  229. package/dist/extraction-faithfulness.js +3 -3
  230. package/dist/extraction-judge-telemetry.d.ts +2 -2
  231. package/dist/extraction-judge-training.d.ts +2 -2
  232. package/dist/extraction-judge.d.ts +2 -2
  233. package/dist/extraction-judge.js +3 -3
  234. package/dist/extraction-liveness.d.ts +1 -1
  235. package/dist/extraction-normalization.d.ts +1 -1
  236. package/dist/extraction-prompt.d.ts +1 -1
  237. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  238. package/dist/extraction-source-grounding.d.ts +1 -1
  239. package/dist/extraction-span-config.d.ts +1 -1
  240. package/dist/extraction-span-materialize.d.ts +1 -1
  241. package/dist/extraction-span-wire.d.ts +23 -4
  242. package/dist/extraction-span-wire.js +7 -8
  243. package/dist/extraction-span-wire.js.map +1 -1
  244. package/dist/extraction.d.ts +2 -2
  245. package/dist/extraction.js +19 -17
  246. package/dist/fallback-llm-codex-subscription.d.ts +1 -1
  247. package/dist/fallback-llm-codex-subscription.js +1 -1
  248. package/dist/fallback-llm.d.ts +1 -1
  249. package/dist/fallback-llm.js +2 -2
  250. package/dist/{generic-recall-paths-CoXPSnCw.d.ts → generic-recall-paths-BkVVEoeO.d.ts} +1 -1
  251. package/dist/graph-append-error.d.ts +1 -1
  252. package/dist/graph-dashboard-diff.d.ts +1 -1
  253. package/dist/graph-dashboard-key.d.ts +1 -1
  254. package/dist/graph-dashboard-parser.d.ts +1 -1
  255. package/dist/graph-edge-reinforcement.d.ts +1 -1
  256. package/dist/graph-jsonl.d.ts +1 -1
  257. package/dist/graph-path-reconstruction.d.ts +1 -1
  258. package/dist/graph-path-scoring.d.ts +1 -1
  259. package/dist/graph-snapshot.d.ts +1 -1
  260. package/dist/graph.d.ts +1 -1
  261. package/dist/harmonic-retrieval.js +1 -1
  262. package/dist/importance.d.ts +1 -1
  263. package/dist/importers/index.d.ts +1 -1
  264. package/dist/importers/test-utils.d.ts +1 -1
  265. package/dist/in-flight-reads.d.ts +1 -1
  266. package/dist/{index-fdw_oK5a.d.ts → index-Zb6SUV4R.d.ts} +3 -3
  267. package/dist/index.d.ts +703 -703
  268. package/dist/index.js +90 -87
  269. package/dist/intent.d.ts +1 -1
  270. package/dist/lcm/engine.d.ts +1 -1
  271. package/dist/lcm/index.d.ts +1 -1
  272. package/dist/lcm/index.js +3 -3
  273. package/dist/lcm/tools.d.ts +1 -1
  274. package/dist/lifecycle.d.ts +1 -1
  275. package/dist/live-connectors-runner.d.ts +1 -1
  276. package/dist/{local-llm-3-jtw52a.d.ts → local-llm-DdrhmecM.d.ts} +1 -1
  277. package/dist/local-llm-helpers.d.ts +2 -2
  278. package/dist/local-llm.d.ts +2 -2
  279. package/dist/local-model-endpoint.d.ts +1 -1
  280. package/dist/location/index.d.ts +5 -5
  281. package/dist/location/index.js +14 -14
  282. package/dist/maintenance/memory-governance.d.ts +1 -1
  283. package/dist/maintenance/memory-governance.js +12 -12
  284. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  285. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +12 -12
  286. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  287. package/dist/maintenance/rebuild-memory-projection.js +13 -13
  288. package/dist/{maintenance-DgeeH0a1.d.ts → maintenance-Du_VRvVg.d.ts} +3 -3
  289. package/dist/mcp-memory-inspector-app.d.ts +14 -14
  290. package/dist/memory-action-policy.d.ts +1 -1
  291. package/dist/memory-age.d.ts +100 -0
  292. package/dist/memory-age.js +22 -0
  293. package/dist/memory-age.js.map +1 -0
  294. package/dist/memory-cache.d.ts +1 -1
  295. package/dist/memory-controller.d.ts +1 -1
  296. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  297. package/dist/memory-projection-store.d.ts +1 -1
  298. package/dist/memory-provenance.d.ts +1 -1
  299. package/dist/memory-snapshot.d.ts +1 -1
  300. package/dist/memory-subject-cli.d.ts +14 -14
  301. package/dist/memory-subject.d.ts +14 -14
  302. package/dist/memory-worth-outcomes.d.ts +2 -2
  303. package/dist/models-json.d.ts +1 -1
  304. package/dist/namespaces/migrate.d.ts +3 -3
  305. package/dist/namespaces/migrate.js +13 -13
  306. package/dist/namespaces/principal.d.ts +1 -1
  307. package/dist/namespaces/search.d.ts +1 -1
  308. package/dist/namespaces/search.js +3 -3
  309. package/dist/namespaces/storage.d.ts +3 -3
  310. package/dist/namespaces/storage.js +12 -12
  311. package/dist/native-knowledge.d.ts +1 -1
  312. package/dist/offline-sync-impression-drain.d.ts +1 -1
  313. package/dist/operator-doctor-corpus.d.ts +1 -1
  314. package/dist/operator-doctor-corpus.js +15 -15
  315. package/dist/operator-doctor-replica.d.ts +1 -1
  316. package/dist/operator-toolkit.d.ts +3 -3
  317. package/dist/operator-toolkit.js +20 -20
  318. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  319. package/dist/orchestration/maintenance.d.ts +4 -4
  320. package/dist/orchestration/maintenance.js +20 -20
  321. package/dist/{orchestrator-VXWKdatm.d.ts → orchestrator-D9U3Zgjp.d.ts} +10 -10
  322. package/dist/orchestrator.d.ts +11 -11
  323. package/dist/orchestrator.js +90 -87
  324. package/dist/patterns-cli.d.ts +1 -1
  325. package/dist/{pipeline-CwXZBKR5.d.ts → pipeline-4lqKJZ_0.d.ts} +1 -1
  326. package/dist/policy-runtime.d.ts +1 -1
  327. package/dist/proactive-contention.d.ts +2 -2
  328. package/dist/provenance.d.ts +1 -1
  329. package/dist/{public-http-DdmM4scJ.d.ts → public-http-AabioFLh.d.ts} +1 -1
  330. package/dist/{qmd-DOLTPIQg.d.ts → qmd-DnoWaXKb.d.ts} +1 -1
  331. package/dist/qmd-preflight.d.ts +2 -2
  332. package/dist/qmd-recall-cache.d.ts +1 -1
  333. package/dist/qmd.d.ts +2 -2
  334. package/dist/recall-concurrency-config.d.ts +1 -1
  335. package/dist/recall-disclosure-escalation.d.ts +1 -1
  336. package/dist/recall-explain-renderer.d.ts +1 -1
  337. package/dist/recall-memory-map.d.ts +1 -1
  338. package/dist/recall-navigate-access.d.ts +1 -1
  339. package/dist/recall-navigate-disclosure.d.ts +1 -1
  340. package/dist/recall-navigate.d.ts +1 -1
  341. package/dist/recall-navigation-http-glue.d.ts +14 -14
  342. package/dist/recall-navigation-mcp-tools.d.ts +14 -14
  343. package/dist/recall-navigation-operations.js +37 -37
  344. package/dist/recall-navigation-renderer.d.ts +1 -1
  345. package/dist/recall-navigation.d.ts +1 -1
  346. package/dist/recall-navigation.js +36 -36
  347. package/dist/recall-planner-llm.d.ts +1 -1
  348. package/dist/recall-planner-llm.js +2 -2
  349. package/dist/recall-state-view-admission.d.ts +2 -2
  350. package/dist/recall-state-view-admission.js +3 -3
  351. package/dist/recall-state-view-anchors.d.ts +1 -1
  352. package/dist/recall-state.d.ts +1 -1
  353. package/dist/recall-tag-filter.d.ts +1 -1
  354. package/dist/recall-timings.d.ts +1 -1
  355. package/dist/recall-xray-cli.d.ts +1 -1
  356. package/dist/recall-xray-renderer.d.ts +1 -1
  357. package/dist/recall-xray.d.ts +1 -1
  358. package/dist/reconcile/cursor.d.ts +1 -1
  359. package/dist/reconcile/manifest.d.ts +1 -1
  360. package/dist/reconcile/manifest.js +2 -2
  361. package/dist/reconcile/plan.d.ts +1 -1
  362. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  363. package/dist/replay/normalizers/claude.d.ts +1 -1
  364. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  365. package/dist/replay/normalizers/shared.d.ts +1 -1
  366. package/dist/replay/runner.d.ts +1 -1
  367. package/dist/replay/types.d.ts +1 -1
  368. package/dist/replica-divergence.d.ts +1 -1
  369. package/dist/replica-peers-config.d.ts +1 -1
  370. package/dist/resolve-auth-token.d.ts +1 -1
  371. package/dist/retrieval-agents.d.ts +2 -2
  372. package/dist/retrieval-tiers.d.ts +1 -1
  373. package/dist/routing/engine.d.ts +1 -1
  374. package/dist/routing/store.d.ts +1 -1
  375. package/dist/salvage-envelope.d.ts +1 -1
  376. package/dist/schemas.d.ts +160 -160
  377. package/dist/{scope-profiles-C564-hrv.d.ts → scope-profiles-crazXegZ.d.ts} +1 -1
  378. package/dist/search/embed-helper.d.ts +1 -1
  379. package/dist/search/factory.d.ts +1 -1
  380. package/dist/search/factory.js +2 -2
  381. package/dist/search/index.d.ts +1 -1
  382. package/dist/search/index.js +4 -4
  383. package/dist/search/lancedb-backend.d.ts +1 -1
  384. package/dist/search/meilisearch-backend.d.ts +1 -1
  385. package/dist/search/noop-backend.d.ts +1 -1
  386. package/dist/search/orama-backend.d.ts +1 -1
  387. package/dist/search/port.d.ts +1 -1
  388. package/dist/search/remote-backend.d.ts +1 -1
  389. package/dist/{semantic-consolidation-g6x-ShY8.d.ts → semantic-consolidation-B09JI9WM.d.ts} +1 -1
  390. package/dist/semantic-consolidation.d.ts +2 -2
  391. package/dist/semantic-consolidation.js +13 -13
  392. package/dist/semantic-rule-promotion.js +12 -12
  393. package/dist/semantic-rule-verifier.d.ts +1 -1
  394. package/dist/semantic-rule-verifier.js +12 -12
  395. package/dist/{service-CaCOk0rd.d.ts → service-ByjbCuj7.d.ts} +2 -2
  396. package/dist/session-observer-bands.d.ts +1 -1
  397. package/dist/session-observer-state.d.ts +1 -1
  398. package/dist/shared-context/manager.d.ts +7 -7
  399. package/dist/signal.d.ts +1 -1
  400. package/dist/source-agent-qualifier.d.ts +1 -1
  401. package/dist/source-agent-qualifier.js +15 -15
  402. package/dist/source-attribution.d.ts +7 -4
  403. package/dist/source-attribution.js +1 -1
  404. package/dist/standup/build.js +12 -12
  405. package/dist/{storage-C9nsZX5Q.d.ts → storage-CbdF077z.d.ts} +17 -3
  406. package/dist/storage.d.ts +2 -2
  407. package/dist/storage.js +11 -11
  408. package/dist/subject-config.d.ts +1 -1
  409. package/dist/summarizer.d.ts +1 -1
  410. package/dist/summarizer.js +3 -3
  411. package/dist/summary-snapshot.d.ts +1 -1
  412. package/dist/support-passport/index.d.ts +17 -17
  413. package/dist/support-passport/index.js +39 -39
  414. package/dist/{tagging-BA4RFdH3.d.ts → tagging-CF7DNV7_.d.ts} +2 -2
  415. package/dist/temporal-supersession.d.ts +2 -2
  416. package/dist/temporal-timeline-recall.d.ts +1 -1
  417. package/dist/temporal-validity.d.ts +1 -1
  418. package/dist/threading.d.ts +1 -1
  419. package/dist/tier-migration.d.ts +2 -2
  420. package/dist/tier-routing.d.ts +1 -1
  421. package/dist/topics.d.ts +1 -1
  422. package/dist/transcript.d.ts +1 -1
  423. package/dist/transfer/autodetect.js +1 -1
  424. package/dist/transfer/backup.js +1 -1
  425. package/dist/transfer/capsule-export.js +2 -2
  426. package/dist/transfer/export-okf.d.ts +1 -1
  427. package/dist/transfer/export-okf.js +12 -12
  428. package/dist/transfer/types.d.ts +78 -78
  429. package/dist/trust-score-stage.d.ts +1 -1
  430. package/dist/trust-score.d.ts +1 -1
  431. package/dist/{types-Sps-lg5I.d.ts → types-nmhnJpxx.d.ts} +1 -1
  432. package/dist/types.d.ts +1 -1
  433. package/dist/utility-runtime.d.ts +1 -1
  434. package/dist/verified-recall.js +12 -12
  435. package/dist/who-knows-cli.d.ts +14 -14
  436. package/dist/who-knows-cli.js +13 -13
  437. package/dist/who-knows.d.ts +14 -14
  438. package/dist/who-knows.js +12 -12
  439. package/dist/write-envelope.d.ts +1 -1
  440. package/package.json +2 -2
  441. package/src/background-generation.test.ts +77 -0
  442. package/src/dedup/merge.test.ts +185 -8
  443. package/src/extraction-span-wire.test.ts +17 -1
  444. package/src/extraction-span-wire.ts +46 -3
  445. package/src/extraction.ts +2 -11
  446. package/src/memory-age.test.ts +106 -0
  447. package/src/memory-age.ts +196 -0
  448. package/src/orchestration/recall-search-pipeline.test.ts +207 -1
  449. package/src/orchestration/recall-search-pipeline.ts +13 -9
  450. package/src/orchestration/semantic-merge-commit-effects.ts +31 -9
  451. package/src/orchestration/semantic-merge-persist.ts +16 -5
  452. package/src/providers/codex-subscription.test.ts +109 -3
  453. package/src/providers/codex-subscription.ts +57 -17
  454. package/src/source-attribution.test.ts +27 -0
  455. package/src/source-attribution.ts +41 -5
  456. package/src/storage/cas-revision-host.ts +22 -0
  457. package/src/storage/cas-revision-store.test.ts +44 -1
  458. package/src/storage/cas-revision-store.ts +23 -0
  459. package/src/storage/tombstone-blocked-capture-sync.ts +26 -1
  460. package/src/storage-frontmatter-cas.test.ts +49 -1
  461. package/src/storage.ts +1 -1
  462. package/src/summarizer.ts +18 -0
  463. package/dist/chunk-GMU7MAHS.js.map +0 -1
  464. package/dist/chunk-J2MGTGKC.js.map +0 -1
  465. package/dist/chunk-RJ7Z7YXK.js.map +0 -1
  466. package/dist/chunk-SHEHQBCG.js.map +0 -1
  467. package/dist/chunk-UHSOPTNB.js.map +0 -1
  468. package/dist/chunk-Y77UTH7F.js.map +0 -1
  469. /package/dist/{auto-sync-QZD4RD6H.js.map → auto-sync-DG5KEOF5.js.map} +0 -0
  470. /package/dist/{chunk-MOL7JK4F.js.map → chunk-3NYM6JA4.js.map} +0 -0
  471. /package/dist/{chunk-WNMVUWI7.js.map → chunk-3UQIS2GC.js.map} +0 -0
  472. /package/dist/{chunk-JDL5BYYF.js.map → chunk-47C6DF43.js.map} +0 -0
  473. /package/dist/{chunk-ZBSP4BSN.js.map → chunk-4ECS33D4.js.map} +0 -0
  474. /package/dist/{chunk-6EGIQEKC.js.map → chunk-4HTQ76O4.js.map} +0 -0
  475. /package/dist/{chunk-7L54ARML.js.map → chunk-4XTSKGLX.js.map} +0 -0
  476. /package/dist/{chunk-SUS64JER.js.map → chunk-5EHPB6RL.js.map} +0 -0
  477. /package/dist/{chunk-VDLNQVYW.js.map → chunk-62NYUFNH.js.map} +0 -0
  478. /package/dist/{chunk-SZV2L2IG.js.map → chunk-7BNB7KHB.js.map} +0 -0
  479. /package/dist/{chunk-IAGEEVQL.js.map → chunk-AN2O4KZY.js.map} +0 -0
  480. /package/dist/{chunk-JUOJGZPV.js.map → chunk-AYP2FZFA.js.map} +0 -0
  481. /package/dist/{chunk-XK76RJBN.js.map → chunk-AYZHHMTK.js.map} +0 -0
  482. /package/dist/{chunk-LQVXSRAJ.js.map → chunk-B4EGAHHS.js.map} +0 -0
  483. /package/dist/{chunk-HKQAI6XI.js.map → chunk-CFIHVWYZ.js.map} +0 -0
  484. /package/dist/{chunk-DABSYX7V.js.map → chunk-CWMMKFO7.js.map} +0 -0
  485. /package/dist/{chunk-WLHPCAVD.js.map → chunk-D5DTZBTV.js.map} +0 -0
  486. /package/dist/{chunk-2HDLDBJW.js.map → chunk-DDBLZJRV.js.map} +0 -0
  487. /package/dist/{chunk-F2FJTOV6.js.map → chunk-DO6R3LIE.js.map} +0 -0
  488. /package/dist/{chunk-LD22AAJI.js.map → chunk-EAZ3YZKN.js.map} +0 -0
  489. /package/dist/{chunk-46FVFU7S.js.map → chunk-EC5SVM6H.js.map} +0 -0
  490. /package/dist/{chunk-GKKLI23D.js.map → chunk-EEHQY7ER.js.map} +0 -0
  491. /package/dist/{chunk-BPXJINHW.js.map → chunk-EUP4AXIW.js.map} +0 -0
  492. /package/dist/{chunk-2WMXZYMS.js.map → chunk-F5V7KRQS.js.map} +0 -0
  493. /package/dist/{chunk-4AX5OYKC.js.map → chunk-FDDCZDBI.js.map} +0 -0
  494. /package/dist/{chunk-XLPZN3A5.js.map → chunk-FMEP2RB5.js.map} +0 -0
  495. /package/dist/{chunk-D7UUB33A.js.map → chunk-FSH6KRKO.js.map} +0 -0
  496. /package/dist/{chunk-3254BYQV.js.map → chunk-GGY7WKMB.js.map} +0 -0
  497. /package/dist/{chunk-ROXDOKLM.js.map → chunk-GYYLZOSO.js.map} +0 -0
  498. /package/dist/{chunk-3K64PLY3.js.map → chunk-HXDXR2FH.js.map} +0 -0
  499. /package/dist/{chunk-XOCGC3FJ.js.map → chunk-HYWPUYLO.js.map} +0 -0
  500. /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  501. /package/dist/{chunk-M6FKXOYV.js.map → chunk-IXMWTNNY.js.map} +0 -0
  502. /package/dist/{chunk-ZYSOT6HD.js.map → chunk-J3IWHCMF.js.map} +0 -0
  503. /package/dist/{chunk-3YQ7VLP3.js.map → chunk-J5OXWG66.js.map} +0 -0
  504. /package/dist/{chunk-H2N6SLTR.js.map → chunk-JIWZVOQM.js.map} +0 -0
  505. /package/dist/{chunk-C3YEB7CR.js.map → chunk-JOP7W24J.js.map} +0 -0
  506. /package/dist/{chunk-F6PTJLEM.js.map → chunk-K4KE5MYE.js.map} +0 -0
  507. /package/dist/{chunk-IOTYIECA.js.map → chunk-KF57IQFX.js.map} +0 -0
  508. /package/dist/{chunk-ZVQ5HF77.js.map → chunk-N46SNYMC.js.map} +0 -0
  509. /package/dist/{chunk-YR5QT4SR.js.map → chunk-NAFPHFDM.js.map} +0 -0
  510. /package/dist/{chunk-VHANUT45.js.map → chunk-ORQ7AZMU.js.map} +0 -0
  511. /package/dist/{chunk-EOXCOZ6L.js.map → chunk-OV7GJ4KW.js.map} +0 -0
  512. /package/dist/{chunk-VJXMFBVR.js.map → chunk-P7S7BVBJ.js.map} +0 -0
  513. /package/dist/{chunk-7F47R4H4.js.map → chunk-S3SND7SO.js.map} +0 -0
  514. /package/dist/{chunk-5AJZ7EUW.js.map → chunk-S7KDHFF2.js.map} +0 -0
  515. /package/dist/{chunk-4WMGRLTV.js.map → chunk-SRRZZHA5.js.map} +0 -0
  516. /package/dist/{chunk-KDLOKVX7.js.map → chunk-SW42MMAH.js.map} +0 -0
  517. /package/dist/{chunk-2YIUUXNK.js.map → chunk-T5NI5K46.js.map} +0 -0
  518. /package/dist/{chunk-QCTXQ2HW.js.map → chunk-TE6B2UU6.js.map} +0 -0
  519. /package/dist/{chunk-JDOBQPJY.js.map → chunk-TNQR7N52.js.map} +0 -0
  520. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  521. /package/dist/{chunk-T3F2HWIG.js.map → chunk-TZ44E732.js.map} +0 -0
  522. /package/dist/{chunk-PF7LQ22G.js.map → chunk-U4ESGVZ2.js.map} +0 -0
  523. /package/dist/{chunk-WJPR2XUN.js.map → chunk-UEJY6ZTQ.js.map} +0 -0
  524. /package/dist/{chunk-K3IVJ5ML.js.map → chunk-UGGOQKO6.js.map} +0 -0
  525. /package/dist/{chunk-OCX7OWOC.js.map → chunk-UOREPQ3C.js.map} +0 -0
  526. /package/dist/{chunk-R3H2AXO2.js.map → chunk-VGRVJ6Z6.js.map} +0 -0
  527. /package/dist/{chunk-IWHNT35B.js.map → chunk-WOBMSMUK.js.map} +0 -0
  528. /package/dist/{chunk-DDGQDNQW.js.map → chunk-XLZZLUWL.js.map} +0 -0
  529. /package/dist/{chunk-KORQWGUA.js.map → chunk-Y3XHIWVP.js.map} +0 -0
  530. /package/dist/{chunk-BZDK5EOD.js.map → chunk-YFVIA5A6.js.map} +0 -0
  531. /package/dist/{chunk-GR76OKET.js.map → chunk-YSBYNCCN.js.map} +0 -0
  532. /package/dist/{chunk-OGAKUA7I.js.map → chunk-YUQPUK6H.js.map} +0 -0
  533. /package/dist/{chunk-TRTLWUDD.js.map → chunk-ZTHGFTMW.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -9,12 +9,12 @@ export { DiscoveredConfigPath, configPathCandidates, discoverConfigPath } from '
9
9
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
10
10
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
11
11
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
12
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-VXWKdatm.js';
12
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-D9U3Zgjp.js';
13
13
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
14
14
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
15
15
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
16
- import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-fdw_oK5a.js';
17
- export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-fdw_oK5a.js';
16
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-Zb6SUV4R.js';
17
+ export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-Zb6SUV4R.js';
18
18
  export { DEFAULT_RECALL_STATE_VIEWS, StateLabel, StateViewChain, StateViewResult, annotateStateView, capStateViewPackets, formatSupersededPrefix, isChangeOrientedQuery, parseRecallStateViews, reconcileStateViewPairs, resultStateViewId, resultStateViewKey, shouldWidenSuperseded, stateViewKey, stateViewPacketKeys } from './recall-state-view.js';
19
19
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
20
20
  export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisLineReceipt, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
@@ -22,25 +22,25 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
22
22
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
23
23
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
24
24
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
25
- import { S as StorageManager, a as MeetingRecordStore } from './storage-C9nsZX5Q.js';
26
- 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-C9nsZX5Q.js';
25
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-CbdF077z.js';
26
+ 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-CbdF077z.js';
27
27
  import { SealedMemoryEnvelope } from './write-envelope.js';
28
28
  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';
29
29
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
30
30
  export { ExtractionEngine } from './extraction.js';
31
31
  import { CodexCliFallbackRunner } from './cli-fallback.js';
32
32
  export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, setCodexCliFallbackRunnerForProcess } from './cli-fallback.js';
33
- import { C as CodingContext, bA as CodingModeConfig, b2 as FusionConversationInput, bB as FusedSpeaker, bC as FusedSegment, bD as FusedDisagreement, bE as FusionOptions, aR as WearableConversation, bF as FusionDayResult, O as ModelProviderConfig, P as PluginConfig, bG as ParsedSkillBundle, _ as SkillBundle, bH as MemoryDriftState, bI as DriftDetectionConfig, bJ as CodingKnowledgeConfig, aC as SubjectGuardMode, u as MemoryCategory, bK as WearableCleanupSettings, bL as WearableFusionConfig, b4 as WearableSourceSettings, b8 as WearablesConfig, b7 as WearableSourceConnector, bM as OffTheRecordMarkerSettings, bd as WearableCorrectionRule, bN as WearableDayTranscriptMeta, bb as WearableDayTranscript, aY as ActivitySourceClient, bO as ActivitySourceCheck, bP as ActivitySnapshotPage, aW as ActivityConfig, bQ as ActivityTimelineVaultConfig, bR as ActivityTimelineQaConfig, aV as ActivityTimelineAnalysisConfig, k as BufferTurn, ac as ExtractionResult, x as MemoryStatus, aA as ImportanceScore, bS as ActivityTimelineJournalConfig, bT as MeetingsDetectionConfig, b1 as MeetingsDetectionInput, b3 as DetectedMeeting, a_ as MeetingsConfig, b0 as MeetingRecord, a9 as ActivitySnapshot, bU as MeetingAudioWindow, bV as MeetingAppSpan } from './types-Sps-lg5I.js';
34
- export { bW as ACTION_GATE_DEFAULTS, bX as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bY as ActionGateAdvisory, bZ as ActionGateAuditRecord, b_ as ActionGateAuditSink, b$ as ActionGateCandidate, c0 as ActionGateCandidateQuery, c1 as ActionGateCandidateSource, c2 as ActionGateConfig, c3 as ActionGateDecision, c4 as ActionGateRequest, c5 as ActionGateService, c6 as ActionGateServiceDependencies, c7 as ActionGateSourceResult, c8 as ActionGateStatus, ab as ActivityDayDigest, aa as ActivityDayMeta, c9 as ActivityExtractionMode, ca as ActivityJournalExtractionMode, aX as ActivitySourceConfig, cb as ActivityTimelineConfig, cc as ActivityTimelineVaultReadbackConfig, cd as ActivityTimelineVaultTargetConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, ce as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, cf as BriefingWindow, ae as BufferSurpriseEvent, cg as BulkImportError, ag as BulkImportOptions, ai as BulkImportResult, ah as BulkImportSource, ch as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, ci as CodexCompatConfig, by as ConsolidationObservation, cj as DEFAULT_RECALL_DISCLOSURE, ck as DRIFT_DETECTION_DEFAULTS, cl as DisagreementKind, cm as DriftDetectionSettings, E as EntityFile, as as EntityStructuredSection, ax as ExtractedFact, cn as FailureMemorySourceDependencies, co as FusedContribution, cp as FusedConversationProvenance, bl as FusedDayFile, bk as FusedDayMeta, a$ as FusedMeeting, cq as FusedSegmentProvenance, bc as FusedWearableConversation, cr as FusionSegmentInput, G as GatewayConfig, cs as ImportSourceRole, af as ImportTurn, ct as ImportTurnValidationIssue, aZ as MeetingBuildInput, bm as MeetingDetectionSource, cu as MeetingScreenContextEvent, cv as MeetingSummaryMode, aD as MemoryActionEligibilityContext, cw as MemoryActionEligibilitySource, am as MemoryActionType, cx as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cy as MemoryObservation, cz as MemoryScope, cA as NormalizedActionIntent, cB as PRE_ACTION_FINGERPRINT_VERSION, cC as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cD as PRE_ACTION_WARNING_VERSION, cE as PreActionFailureGate, cF as PreActionGateDependencies, cG as PreActionGateRequest, cH as PreActionGateResult, cI as PreActionGateStatus, cJ as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cK as RecallDriftAnnotation, cL as SKILL_FILE_NAME, v as SecretRef, cM as SegmentPickReason, cN as SkillProjectionConfig, cO as VaultPropertiesMode, cP as VaultSectionStrategy, cQ as WearableAuthCheck, cR as WearableFetchOptions, cS as WearableFetchPage, b6 as WearableMemoryMode, b5 as WearableNativeMemory, cT as WearableNativeMemoryPage, ba as WearableSourceStatus, b9 as WearableSyncSummary, cU as WearableTranscriptSegment, cV as actionTermsFor, cW as buildProcedureMarkdownBody, cX as createFailureMemoryCandidateSource, cY as createTrajectoryCandidateSource, cZ as isFailureClassMemory, c_ as isImportRole, c$ as isRecallDisclosure, d0 as normalizeActionIntent, d1 as parseActionGateConfig, d2 as parseDriftDetectionConfig, d3 as parseDriftProvenance, d4 as parseIsoTimestamp, d5 as parseProcedureStepsFromBody, d6 as parseSkillBundle, d7 as parseSkillProjectionConfig, d8 as projectProceduresToSkills, d9 as renderSkillBundle, da as sanitizePayloadString, db as sanitizeSkillSlug, dc as serializeDriftProvenance, dd as validateImportTurn } from './types-Sps-lg5I.js';
33
+ import { C as CodingContext, bB as CodingModeConfig, b3 as FusionConversationInput, bC as FusedSpeaker, bD as FusedSegment, bE as FusedDisagreement, bF as FusionOptions, aS as WearableConversation, bG as FusionDayResult, O as ModelProviderConfig, P as PluginConfig, bH as ParsedSkillBundle, _ as SkillBundle, bI as MemoryDriftState, bJ as DriftDetectionConfig, bK as CodingKnowledgeConfig, aD as SubjectGuardMode, u as MemoryCategory, bL as WearableCleanupSettings, bM as WearableFusionConfig, b5 as WearableSourceSettings, b9 as WearablesConfig, b8 as WearableSourceConnector, bN as OffTheRecordMarkerSettings, be as WearableCorrectionRule, bO as WearableDayTranscriptMeta, bc as WearableDayTranscript, aZ as ActivitySourceClient, bP as ActivitySourceCheck, bQ as ActivitySnapshotPage, aX as ActivityConfig, bR as ActivityTimelineVaultConfig, bS as ActivityTimelineQaConfig, aW as ActivityTimelineAnalysisConfig, k as BufferTurn, ac as ExtractionResult, x as MemoryStatus, aB as ImportanceScore, bT as ActivityTimelineJournalConfig, bU as MeetingsDetectionConfig, b2 as MeetingsDetectionInput, b4 as DetectedMeeting, a$ as MeetingsConfig, b1 as MeetingRecord, a9 as ActivitySnapshot, bV as MeetingAudioWindow, bW as MeetingAppSpan } from './types-nmhnJpxx.js';
34
+ export { bX as ACTION_GATE_DEFAULTS, bY as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bZ as ActionGateAdvisory, b_ as ActionGateAuditRecord, b$ as ActionGateAuditSink, c0 as ActionGateCandidate, c1 as ActionGateCandidateQuery, c2 as ActionGateCandidateSource, c3 as ActionGateConfig, c4 as ActionGateDecision, c5 as ActionGateRequest, c6 as ActionGateService, c7 as ActionGateServiceDependencies, c8 as ActionGateSourceResult, c9 as ActionGateStatus, ab as ActivityDayDigest, aa as ActivityDayMeta, ca as ActivityExtractionMode, cb as ActivityJournalExtractionMode, aY as ActivitySourceConfig, cc as ActivityTimelineConfig, cd as ActivityTimelineVaultReadbackConfig, ce as ActivityTimelineVaultTargetConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, cf as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, cg as BriefingWindow, ae as BufferSurpriseEvent, ch as BulkImportError, ag as BulkImportOptions, ai as BulkImportResult, ah as BulkImportSource, ci as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, cj as CodexCompatConfig, bz as ConsolidationObservation, ck as DEFAULT_RECALL_DISCLOSURE, cl as DRIFT_DETECTION_DEFAULTS, cm as DisagreementKind, cn as DriftDetectionSettings, E as EntityFile, as as EntityStructuredSection, ax as ExtractedFact, co as FailureMemorySourceDependencies, cp as FusedContribution, cq as FusedConversationProvenance, bm as FusedDayFile, bl as FusedDayMeta, b0 as FusedMeeting, cr as FusedSegmentProvenance, bd as FusedWearableConversation, cs as FusionSegmentInput, G as GatewayConfig, ct as ImportSourceRole, af as ImportTurn, cu as ImportTurnValidationIssue, a_ as MeetingBuildInput, bn as MeetingDetectionSource, cv as MeetingScreenContextEvent, cw as MeetingSummaryMode, aE as MemoryActionEligibilityContext, cx as MemoryActionEligibilitySource, am as MemoryActionType, cy as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cz as MemoryObservation, cA as MemoryScope, cB as NormalizedActionIntent, cC as PRE_ACTION_FINGERPRINT_VERSION, cD as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cE as PRE_ACTION_WARNING_VERSION, cF as PreActionFailureGate, cG as PreActionGateDependencies, cH as PreActionGateRequest, cI as PreActionGateResult, cJ as PreActionGateStatus, cK as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cL as RecallDriftAnnotation, cM as SKILL_FILE_NAME, v as SecretRef, cN as SegmentPickReason, cO as SkillProjectionConfig, cP as VaultPropertiesMode, cQ as VaultSectionStrategy, cR as WearableAuthCheck, cS as WearableFetchOptions, cT as WearableFetchPage, b7 as WearableMemoryMode, b6 as WearableNativeMemory, cU as WearableNativeMemoryPage, bb as WearableSourceStatus, ba as WearableSyncSummary, cV as WearableTranscriptSegment, cW as actionTermsFor, cX as buildProcedureMarkdownBody, cY as createFailureMemoryCandidateSource, cZ as createTrajectoryCandidateSource, c_ as isFailureClassMemory, c$ as isImportRole, d0 as isRecallDisclosure, d1 as normalizeActionIntent, d2 as parseActionGateConfig, d3 as parseDriftDetectionConfig, d4 as parseDriftProvenance, d5 as parseIsoTimestamp, d6 as parseProcedureStepsFromBody, d7 as parseSkillBundle, d8 as parseSkillProjectionConfig, d9 as projectProceduresToSkills, da as renderSkillBundle, db as sanitizePayloadString, dc as sanitizeSkillSlug, dd as serializeDriftProvenance, de as validateImportTurn } from './types-nmhnJpxx.js';
35
35
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
36
36
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
37
37
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
38
38
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
39
39
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
40
40
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
41
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cww3xAAy.js';
42
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-Cww3xAAy.js';
43
- import { L as LocalLlmClient } from './local-llm-3-jtw52a.js';
41
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DGynYlbE.js';
42
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-DGynYlbE.js';
43
+ import { L as LocalLlmClient } from './local-llm-DdrhmecM.js';
44
44
  import { FallbackLlmClient } from './fallback-llm.js';
45
45
  export { FallbackLlmOptions, FallbackLlmResponse } from './fallback-llm.js';
46
46
  import { a as SemanticDedupLookup } from './semantic-BalR6EXU.js';
@@ -52,20 +52,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
52
52
  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';
53
53
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
54
54
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
55
- export { Q as QmdClient } from './qmd-DOLTPIQg.js';
55
+ export { Q as QmdClient } from './qmd-DnoWaXKb.js';
56
56
  export { LanceDbBackend } from './search/lancedb-backend.js';
57
57
  export { OramaBackend } from './search/orama-backend.js';
58
58
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
59
59
  export { buildEntityRecallSection } from './entity-retrieval.js';
60
60
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
61
- 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-Ya3DDn_T.js';
61
+ 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-Dl2hYqpS.js';
62
62
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
63
63
  export { storagePathHash } from './storage-paths.js';
64
64
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
65
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Cl7bKIWJ.js';
65
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Cik3H7q1.js';
66
66
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
67
67
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, PersistedSupportPassportClassification, 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, createPersistedSupportPassportPrivateFileExclusion, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, supportPassportStatIdentity, syncDirectoryForDurability } from './support-passport/index.js';
68
- 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-DdmM4scJ.js';
68
+ 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-AabioFLh.js';
69
69
  import { z } from 'zod';
70
70
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
71
71
  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';
@@ -90,8 +90,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
90
90
  export { initLogger, log } from './logger.js';
91
91
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
92
92
  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';
93
- import { D as DiscoveredExtension } from './semantic-consolidation-g6x-ShY8.js';
94
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-g6x-ShY8.js';
93
+ import { D as DiscoveredExtension } from './semantic-consolidation-B09JI9WM.js';
94
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-B09JI9WM.js';
95
95
  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';
96
96
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
97
97
  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';
@@ -106,11 +106,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
106
106
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
107
107
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
108
108
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
109
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CwXZBKR5.js';
110
- 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-CaCOk0rd.js';
111
- 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-CaCOk0rd.js';
112
- import { A as ActivityStore, a as ActivitySyncRunSummary, T as TimelineCategory, b as TimelineObservation, c as TimelinePause, d as TimelineDay, e as TimelineCorrection, f as TimelineCard, g as TimelineAnalysisLocalLlm, h as TimelineAnalysisRemoteLlm, i as TimelineAnalysisStatus, j as AnalysisFailure, k as AnalysisRunMetadata } from './maintenance-DgeeH0a1.js';
113
- export { l as ANALYSIS_FAILURE_KINDS, m as ANALYSIS_METADATA_MAX_FIELD_LENGTH, n as ActivitySourceRunItem, o as ActivitySyncRunOptions, p as AnalysisFailureKind, P as PersistedTimelineDay, q as PersistedTimelineDayStatus, R as RegenerateTimelineDayInput, r as RegenerateTimelineDayResult, s as TIMELINE_ANALYSIS_BATCH_OVERLAP, t as TIMELINE_ANALYSIS_BATCH_SIZE, u as TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, v as TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID, w as TIMELINE_ANALYSIS_PROMPT_VERSION, x as TIMELINE_DAY_DIR, y as TIMELINE_DAY_FORMAT_VERSION, z as TimelineAnalysisClients, B as TimelineAnalysisComplete, C as TimelineAnalysisCompleteInput, D as TimelineAnalysisConfigError, E as TimelineAnalysisInput, F as TimelineAnalysisProviderError, G as TimelineAnalysisResult, H as TimelineCardKind, I as TimelineEvidenceRange, J as TimelineManualEdit, K as activityDatabasePath, L as analyzeTimelineCards, N as applyActivitySchema, O as buildAnalysisRunMetadata, Q as buildTimelineAnalysisPrompt, S as classifyAnalysisFailure, U as classifyAnalysisProviderError, V as ensureActivityStateDir, W as isAnalysisFailureKind, X as isAnalysisIdentifier, Y as listPersistedTimelineDates, Z as localDatesForUtcRange, _ as openActivityDatabase, $ as regenerateTimelineDay, a0 as resolveActivitySyncDates, a1 as resolveTimelineLoadDates, a2 as runActivitySyncOnce, a3 as snapshotToObservation, a4 as timelineAnalysisClientsFromConfig, a5 as timelineAnalysisCompleteFromClients, a6 as timelineDayPath } from './maintenance-DgeeH0a1.js';
109
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-4lqKJZ_0.js';
110
+ 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-ByjbCuj7.js';
111
+ 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-ByjbCuj7.js';
112
+ import { A as ActivityStore, a as ActivitySyncRunSummary, T as TimelineCategory, b as TimelineObservation, c as TimelinePause, d as TimelineDay, e as TimelineCorrection, f as TimelineCard, g as TimelineAnalysisLocalLlm, h as TimelineAnalysisRemoteLlm, i as TimelineAnalysisStatus, j as AnalysisFailure, k as AnalysisRunMetadata } from './maintenance-Du_VRvVg.js';
113
+ export { l as ANALYSIS_FAILURE_KINDS, m as ANALYSIS_METADATA_MAX_FIELD_LENGTH, n as ActivitySourceRunItem, o as ActivitySyncRunOptions, p as AnalysisFailureKind, P as PersistedTimelineDay, q as PersistedTimelineDayStatus, R as RegenerateTimelineDayInput, r as RegenerateTimelineDayResult, s as TIMELINE_ANALYSIS_BATCH_OVERLAP, t as TIMELINE_ANALYSIS_BATCH_SIZE, u as TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, v as TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID, w as TIMELINE_ANALYSIS_PROMPT_VERSION, x as TIMELINE_DAY_DIR, y as TIMELINE_DAY_FORMAT_VERSION, z as TimelineAnalysisClients, B as TimelineAnalysisComplete, C as TimelineAnalysisCompleteInput, D as TimelineAnalysisConfigError, E as TimelineAnalysisInput, F as TimelineAnalysisProviderError, G as TimelineAnalysisResult, H as TimelineCardKind, I as TimelineEvidenceRange, J as TimelineManualEdit, K as activityDatabasePath, L as analyzeTimelineCards, N as applyActivitySchema, O as buildAnalysisRunMetadata, Q as buildTimelineAnalysisPrompt, S as classifyAnalysisFailure, U as classifyAnalysisProviderError, V as ensureActivityStateDir, W as isAnalysisFailureKind, X as isAnalysisIdentifier, Y as listPersistedTimelineDates, Z as localDatesForUtcRange, _ as openActivityDatabase, $ as regenerateTimelineDay, a0 as resolveActivitySyncDates, a1 as resolveTimelineLoadDates, a2 as runActivitySyncOnce, a3 as snapshotToObservation, a4 as timelineAnalysisClientsFromConfig, a5 as timelineAnalysisCompleteFromClients, a6 as timelineDayPath } from './maintenance-Du_VRvVg.js';
114
114
  export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, activityDateInTimezone, activityDayWindow, activityDigestPath, assertValidTimezone, composeActivityDigestBody, composeActivityDigestMeta, hashActivityBody, isValidActivityDate, parseActivityDigest, serializeActivityDigest, timezoneOffsetIso } from './activity/digest.js';
115
115
  import { SearchExecutionOptions } from './search/port.js';
116
116
  import { BetterSqlite3Database } from './runtime/better-sqlite.js';
@@ -129,7 +129,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
129
129
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
130
130
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
131
131
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
132
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-C564-hrv.js';
132
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-crazXegZ.js';
133
133
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
134
134
  export { BuildEvalTrajectoryReportOptions, EvalTrajectoryReader, EvalTrajectoryReaderResult, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader } from './eval-trajectory.js';
135
135
  export { ActiveContextAdapter, ActiveContextMessage, ActiveContextPlan, MemoryControllerActionFamily, MemoryControllerChoice, MemoryControllerConfig, MemoryControllerCoordinator, MemoryControllerDeps, MemoryControllerEvent, MemoryControllerEvidence, MemoryControllerEvidenceReport, MemoryControllerExecutors, MemoryControllerMode, MemoryControllerPairedSeedEvidence, MemoryControllerReceipt, MemoryControllerRecorder, MemoryControllerReportReader, MemoryControllerRunResult, MemoryControllerState, chooseAction, computeEvidenceReportHash, controllerConfigHash, evaluateActiveGates, hashControllerState, verifyEvidenceReport } from './memory-controller.js';
@@ -191,12 +191,12 @@ import './conversation-index/chunker.js';
191
191
  import './conversation-index/backend.js';
192
192
  import './faiss-adapter-BHecI1fF.js';
193
193
  import './runtime/child-process.js';
194
- import './dependency-propagation-delivery-CggS9BFT.js';
194
+ import './dependency-propagation-delivery-BXaUoVUf.js';
195
195
  import './namespaces/storage.js';
196
196
  import './threading.js';
197
197
  import './graph-DRkl22KE.js';
198
198
  import './graph-write-lock.js';
199
- import './generic-recall-paths-CoXPSnCw.js';
199
+ import './generic-recall-paths-BkVVEoeO.js';
200
200
  import './relevance.js';
201
201
  import './negative.js';
202
202
  import './session-observer-state.js';
@@ -213,14 +213,14 @@ import './profiling.js';
213
213
  import './schemas.js';
214
214
  import './extraction-error-classification.js';
215
215
  import 'node:stream';
216
- import './access-namespace-preflight-CE-RrXKu.js';
216
+ import './access-namespace-preflight-DDnsN22V.js';
217
217
  import './recall-explain-renderer.js';
218
218
  import './access-citation.js';
219
219
  import './access-health-types.js';
220
220
  import './corpus-watermark.js';
221
221
  import 'node:async_hooks';
222
222
  import './replica-divergence.js';
223
- import './tagging-BA4RFdH3.js';
223
+ import './tagging-CF7DNV7_.js';
224
224
  import './explicit-capture.js';
225
225
  import './access-wearables-meetings-surface.js';
226
226
  import './deep-recall.js';
@@ -602,7 +602,7 @@ interface CodexSubscriptionRunnerDeps {
602
602
  /** Runs `codex exec`. Default: isolated subprocess via launchProcess. */
603
603
  runCodexExec?: (request: CodexSubscriptionExecRequest) => Promise<CodexSubscriptionExecResult>;
604
604
  /** Runs `codex login status`. Default: isolated subprocess. Receives the
605
- * login-status timeout budget (capped by the request deadline) and the
605
+ * shared login-status ceiling (not any one caller's deadline) and the
606
606
  * shared-check abort signal (fires when the last waiter leaves). */
607
607
  runLoginStatus?: (executable: string, env: NodeJS.ProcessEnv, timeoutMs: number, signal?: AbortSignal) => Promise<{
608
608
  status: number | null;
@@ -1334,15 +1334,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1334
1334
  locator: z.ZodOptional<z.ZodString>;
1335
1335
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1336
1336
  }, "strict", z.ZodTypeAny, {
1337
- id: string;
1337
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1338
1338
  label: string;
1339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1339
+ id: string;
1340
1340
  capture: "at_action" | "historical_lookup" | "fixture";
1341
1341
  locator?: string | undefined;
1342
1342
  }, {
1343
- id: string;
1343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1344
1344
  label: string;
1345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
+ id: string;
1346
1346
  capture: "at_action" | "historical_lookup" | "fixture";
1347
1347
  locator?: string | undefined;
1348
1348
  }>;
@@ -1359,15 +1359,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1359
  locator: z.ZodOptional<z.ZodString>;
1360
1360
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1361
1361
  }, "strict", z.ZodTypeAny, {
1362
- id: string;
1362
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1363
  label: string;
1364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1364
+ id: string;
1365
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1366
  locator?: string | undefined;
1367
1367
  }, {
1368
- id: string;
1368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1369
  label: string;
1370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1370
+ id: string;
1371
1371
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1372
  locator?: string | undefined;
1373
1373
  }>, "many">>;
@@ -1375,9 +1375,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1375
1375
  kind: "mission_started";
1376
1376
  title: string;
1377
1377
  evidence: {
1378
- id: string;
1378
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
1379
  label: string;
1380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
+ id: string;
1381
1381
  capture: "at_action" | "historical_lookup" | "fixture";
1382
1382
  locator?: string | undefined;
1383
1383
  }[];
@@ -1389,9 +1389,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1389
1389
  objective: string;
1390
1390
  runMode: "replay" | "fixture" | "live";
1391
1391
  evidence?: {
1392
- id: string;
1392
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
1393
  label: string;
1394
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1394
+ id: string;
1395
1395
  capture: "at_action" | "historical_lookup" | "fixture";
1396
1396
  locator?: string | undefined;
1397
1397
  }[] | undefined;
@@ -1407,15 +1407,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1407
1407
  locator: z.ZodOptional<z.ZodString>;
1408
1408
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1409
1409
  }, "strict", z.ZodTypeAny, {
1410
- id: string;
1410
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
1411
  label: string;
1412
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1412
+ id: string;
1413
1413
  capture: "at_action" | "historical_lookup" | "fixture";
1414
1414
  locator?: string | undefined;
1415
1415
  }, {
1416
- id: string;
1416
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1417
1417
  label: string;
1418
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1418
+ id: string;
1419
1419
  capture: "at_action" | "historical_lookup" | "fixture";
1420
1420
  locator?: string | undefined;
1421
1421
  }>, "many">>;
@@ -1423,32 +1423,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1423
1423
  sessionId: z.ZodString;
1424
1424
  kind: z.ZodLiteral<"agent_status">;
1425
1425
  }, "strict", z.ZodTypeAny, {
1426
- label: string;
1427
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1428
1426
  kind: "agent_status";
1427
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1428
+ label: string;
1429
1429
  role: string;
1430
1430
  agentId: string;
1431
1431
  sessionId: string;
1432
1432
  evidence: {
1433
- id: string;
1433
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1434
1434
  label: string;
1435
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
+ id: string;
1436
1436
  capture: "at_action" | "historical_lookup" | "fixture";
1437
1437
  locator?: string | undefined;
1438
1438
  }[];
1439
1439
  detail?: string | undefined;
1440
1440
  }, {
1441
- label: string;
1442
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1443
1441
  kind: "agent_status";
1442
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1443
+ label: string;
1444
1444
  role: string;
1445
1445
  agentId: string;
1446
1446
  sessionId: string;
1447
1447
  detail?: string | undefined;
1448
1448
  evidence?: {
1449
- id: string;
1449
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1450
1450
  label: string;
1451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1451
+ id: string;
1452
1452
  capture: "at_action" | "historical_lookup" | "fixture";
1453
1453
  locator?: string | undefined;
1454
1454
  }[] | undefined;
@@ -1462,15 +1462,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1462
1462
  locator: z.ZodOptional<z.ZodString>;
1463
1463
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1464
1464
  }, "strict", z.ZodTypeAny, {
1465
- id: string;
1465
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1466
1466
  label: string;
1467
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1467
+ id: string;
1468
1468
  capture: "at_action" | "historical_lookup" | "fixture";
1469
1469
  locator?: string | undefined;
1470
1470
  }, {
1471
- id: string;
1471
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1472
1472
  label: string;
1473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1473
+ id: string;
1474
1474
  capture: "at_action" | "historical_lookup" | "fixture";
1475
1475
  locator?: string | undefined;
1476
1476
  }>, "many">>;
@@ -1478,28 +1478,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1478
1478
  sessionId: z.ZodString;
1479
1479
  kind: z.ZodLiteral<"agent_output">;
1480
1480
  }, "strict", z.ZodTypeAny, {
1481
- summary: string;
1482
1481
  kind: "agent_output";
1482
+ summary: string;
1483
1483
  agentId: string;
1484
1484
  sessionId: string;
1485
1485
  evidence: {
1486
- id: string;
1486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
1487
  label: string;
1488
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1488
+ id: string;
1489
1489
  capture: "at_action" | "historical_lookup" | "fixture";
1490
1490
  locator?: string | undefined;
1491
1491
  }[];
1492
1492
  outputId: string;
1493
1493
  }, {
1494
- summary: string;
1495
1494
  kind: "agent_output";
1495
+ summary: string;
1496
1496
  agentId: string;
1497
1497
  sessionId: string;
1498
1498
  outputId: string;
1499
1499
  evidence?: {
1500
- id: string;
1500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
1501
  label: string;
1502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
+ id: string;
1503
1503
  capture: "at_action" | "historical_lookup" | "fixture";
1504
1504
  locator?: string | undefined;
1505
1505
  }[] | undefined;
@@ -1515,15 +1515,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1515
1515
  locator: z.ZodOptional<z.ZodString>;
1516
1516
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1517
1517
  }, "strict", z.ZodTypeAny, {
1518
- id: string;
1518
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1519
1519
  label: string;
1520
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1520
+ id: string;
1521
1521
  capture: "at_action" | "historical_lookup" | "fixture";
1522
1522
  locator?: string | undefined;
1523
1523
  }, {
1524
- id: string;
1524
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1525
1525
  label: string;
1526
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1526
+ id: string;
1527
1527
  capture: "at_action" | "historical_lookup" | "fixture";
1528
1528
  locator?: string | undefined;
1529
1529
  }>, "many">>;
@@ -1536,9 +1536,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1536
1536
  statement: string;
1537
1537
  sessionId: string;
1538
1538
  evidence: {
1539
- id: string;
1539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1540
  label: string;
1541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
+ id: string;
1542
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1543
  locator?: string | undefined;
1544
1544
  }[];
@@ -1554,9 +1554,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1554
1554
  decisionId: string;
1555
1555
  confidence?: number | undefined;
1556
1556
  evidence?: {
1557
- id: string;
1557
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
1558
  label: string;
1559
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1559
+ id: string;
1560
1560
  capture: "at_action" | "historical_lookup" | "fixture";
1561
1561
  locator?: string | undefined;
1562
1562
  }[] | undefined;
@@ -1573,25 +1573,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1573
1573
  locator: z.ZodOptional<z.ZodString>;
1574
1574
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1575
1575
  }, "strict", z.ZodTypeAny, {
1576
- id: string;
1576
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
1577
  label: string;
1578
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1578
+ id: string;
1579
1579
  capture: "at_action" | "historical_lookup" | "fixture";
1580
1580
  locator?: string | undefined;
1581
1581
  }, {
1582
- id: string;
1582
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
1583
  label: string;
1584
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1584
+ id: string;
1585
1585
  capture: "at_action" | "historical_lookup" | "fixture";
1586
1586
  locator?: string | undefined;
1587
1587
  }>, "many">>;
1588
1588
  }, "strict", z.ZodTypeAny, {
1589
- summary: string;
1590
1589
  kind: "conflict_detected";
1590
+ summary: string;
1591
1591
  evidence: {
1592
- id: string;
1592
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1593
1593
  label: string;
1594
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
+ id: string;
1595
1595
  capture: "at_action" | "historical_lookup" | "fixture";
1596
1596
  locator?: string | undefined;
1597
1597
  }[];
@@ -1599,15 +1599,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1599
1599
  decisionIds: string[];
1600
1600
  agentIds: string[];
1601
1601
  }, {
1602
- summary: string;
1603
1602
  kind: "conflict_detected";
1603
+ summary: string;
1604
1604
  conflictId: string;
1605
1605
  decisionIds: string[];
1606
1606
  agentIds: string[];
1607
1607
  evidence?: {
1608
- id: string;
1608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1609
  label: string;
1610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1610
+ id: string;
1611
1611
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1612
  locator?: string | undefined;
1613
1613
  }[] | undefined;
@@ -1627,27 +1627,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1627
1627
  locator: z.ZodOptional<z.ZodString>;
1628
1628
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1629
1629
  }, "strict", z.ZodTypeAny, {
1630
- id: string;
1630
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1631
1631
  label: string;
1632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
+ id: string;
1633
1633
  capture: "at_action" | "historical_lookup" | "fixture";
1634
1634
  locator?: string | undefined;
1635
1635
  }, {
1636
- id: string;
1636
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1637
1637
  label: string;
1638
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1638
+ id: string;
1639
1639
  capture: "at_action" | "historical_lookup" | "fixture";
1640
1640
  locator?: string | undefined;
1641
1641
  }>, "many">>;
1642
1642
  }, "strict", z.ZodTypeAny, {
1643
+ kind: "test_result";
1643
1644
  summary: string;
1644
1645
  status: "error" | "failed" | "passed";
1645
- kind: "test_result";
1646
1646
  command: string;
1647
1647
  evidence: {
1648
- id: string;
1648
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
1649
  label: string;
1650
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1650
+ id: string;
1651
1651
  capture: "at_action" | "historical_lookup" | "fixture";
1652
1652
  locator?: string | undefined;
1653
1653
  }[];
@@ -1656,17 +1656,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1656
1656
  durationMs?: number | undefined;
1657
1657
  correctionId?: string | undefined;
1658
1658
  }, {
1659
+ kind: "test_result";
1659
1660
  summary: string;
1660
1661
  status: "error" | "failed" | "passed";
1661
- kind: "test_result";
1662
1662
  command: string;
1663
1663
  decisionId: string;
1664
1664
  testId: string;
1665
1665
  durationMs?: number | undefined;
1666
1666
  evidence?: {
1667
- id: string;
1667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1668
1668
  label: string;
1669
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1669
+ id: string;
1670
1670
  capture: "at_action" | "historical_lookup" | "fixture";
1671
1671
  locator?: string | undefined;
1672
1672
  }[] | undefined;
@@ -1687,15 +1687,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1687
1687
  locator: z.ZodOptional<z.ZodString>;
1688
1688
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1689
1689
  }, "strict", z.ZodTypeAny, {
1690
- id: string;
1690
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1691
1691
  label: string;
1692
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1692
+ id: string;
1693
1693
  capture: "at_action" | "historical_lookup" | "fixture";
1694
1694
  locator?: string | undefined;
1695
1695
  }, {
1696
- id: string;
1696
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1697
1697
  label: string;
1698
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
+ id: string;
1699
1699
  capture: "at_action" | "historical_lookup" | "fixture";
1700
1700
  locator?: string | undefined;
1701
1701
  }>, "many">>;
@@ -1704,9 +1704,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1704
1704
  statement: string;
1705
1705
  rationale: string;
1706
1706
  evidence: {
1707
- id: string;
1707
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1708
1708
  label: string;
1709
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1709
+ id: string;
1710
1710
  capture: "at_action" | "historical_lookup" | "fixture";
1711
1711
  locator?: string | undefined;
1712
1712
  }[];
@@ -1725,9 +1725,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1725
1725
  supersedesDecisionIds: string[];
1726
1726
  proposedBy: string;
1727
1727
  evidence?: {
1728
- id: string;
1728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
1729
  label: string;
1730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1730
+ id: string;
1731
1731
  capture: "at_action" | "historical_lookup" | "fixture";
1732
1732
  locator?: string | undefined;
1733
1733
  }[] | undefined;
@@ -1739,13 +1739,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1739
1739
  id: z.ZodString;
1740
1740
  label: z.ZodString;
1741
1741
  }, "strict", z.ZodTypeAny, {
1742
- id: string;
1743
- label: string;
1744
1742
  kind: "agent" | "human";
1745
- }, {
1746
- id: string;
1747
1743
  label: string;
1744
+ id: string;
1745
+ }, {
1748
1746
  kind: "agent" | "human";
1747
+ label: string;
1748
+ id: string;
1749
1749
  }>;
1750
1750
  note: z.ZodOptional<z.ZodString>;
1751
1751
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1755,47 +1755,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1755
1755
  locator: z.ZodOptional<z.ZodString>;
1756
1756
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1757
1757
  }, "strict", z.ZodTypeAny, {
1758
- id: string;
1758
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1759
1759
  label: string;
1760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
+ id: string;
1761
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1762
1762
  locator?: string | undefined;
1763
1763
  }, {
1764
- id: string;
1764
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1765
1765
  label: string;
1766
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
+ id: string;
1767
1767
  capture: "at_action" | "historical_lookup" | "fixture";
1768
1768
  locator?: string | undefined;
1769
1769
  }>, "many">>;
1770
1770
  }, "strict", z.ZodTypeAny, {
1771
1771
  kind: "correction_approved";
1772
1772
  evidence: {
1773
- id: string;
1773
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
1774
  label: string;
1775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1775
+ id: string;
1776
1776
  capture: "at_action" | "historical_lookup" | "fixture";
1777
1777
  locator?: string | undefined;
1778
1778
  }[];
1779
1779
  correctionId: string;
1780
1780
  approvedBy: {
1781
- id: string;
1782
- label: string;
1783
1781
  kind: "agent" | "human";
1782
+ label: string;
1783
+ id: string;
1784
1784
  };
1785
1785
  note?: string | undefined;
1786
1786
  }, {
1787
1787
  kind: "correction_approved";
1788
1788
  correctionId: string;
1789
1789
  approvedBy: {
1790
- id: string;
1791
- label: string;
1792
1790
  kind: "agent" | "human";
1791
+ label: string;
1792
+ id: string;
1793
1793
  };
1794
1794
  note?: string | undefined;
1795
1795
  evidence?: {
1796
- id: string;
1796
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1797
1797
  label: string;
1798
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1798
+ id: string;
1799
1799
  capture: "at_action" | "historical_lookup" | "fixture";
1800
1800
  locator?: string | undefined;
1801
1801
  }[] | undefined;
@@ -1811,24 +1811,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1811
1811
  locator: z.ZodOptional<z.ZodString>;
1812
1812
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1813
1813
  }, "strict", z.ZodTypeAny, {
1814
- id: string;
1814
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
1815
  label: string;
1816
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
+ id: string;
1817
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1818
1818
  locator?: string | undefined;
1819
1819
  }, {
1820
- id: string;
1820
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1821
  label: string;
1822
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1822
+ id: string;
1823
1823
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1824
  locator?: string | undefined;
1825
1825
  }>, "many">>;
1826
1826
  }, "strict", z.ZodTypeAny, {
1827
1827
  kind: "decision_superseded";
1828
1828
  evidence: {
1829
- id: string;
1829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1830
1830
  label: string;
1831
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
+ id: string;
1832
1832
  capture: "at_action" | "historical_lookup" | "fixture";
1833
1833
  locator?: string | undefined;
1834
1834
  }[];
@@ -1841,9 +1841,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1841
1841
  correctionId: string;
1842
1842
  replacementDecisionId: string;
1843
1843
  evidence?: {
1844
- id: string;
1844
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1845
1845
  label: string;
1846
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1846
+ id: string;
1847
1847
  capture: "at_action" | "historical_lookup" | "fixture";
1848
1848
  locator?: string | undefined;
1849
1849
  }[] | undefined;
@@ -1859,15 +1859,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1859
1859
  locator: z.ZodOptional<z.ZodString>;
1860
1860
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1861
1861
  }, "strict", z.ZodTypeAny, {
1862
- id: string;
1862
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1863
1863
  label: string;
1864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1864
+ id: string;
1865
1865
  capture: "at_action" | "historical_lookup" | "fixture";
1866
1866
  locator?: string | undefined;
1867
1867
  }, {
1868
- id: string;
1868
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1869
1869
  label: string;
1870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
+ id: string;
1871
1871
  capture: "at_action" | "historical_lookup" | "fixture";
1872
1872
  locator?: string | undefined;
1873
1873
  }>, "many">>;
@@ -1880,9 +1880,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1880
1880
  agentId: string;
1881
1881
  sessionId: string;
1882
1882
  evidence: {
1883
- id: string;
1883
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
1884
  label: string;
1885
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
+ id: string;
1886
1886
  capture: "at_action" | "historical_lookup" | "fixture";
1887
1887
  locator?: string | undefined;
1888
1888
  }[];
@@ -1898,9 +1898,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1898
1898
  recallReceiptId: string;
1899
1899
  capturedAtAction: boolean;
1900
1900
  evidence?: {
1901
- id: string;
1901
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1902
1902
  label: string;
1903
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
+ id: string;
1904
1904
  capture: "at_action" | "historical_lookup" | "fixture";
1905
1905
  locator?: string | undefined;
1906
1906
  }[] | undefined;
@@ -1916,15 +1916,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1916
1916
  locator: z.ZodOptional<z.ZodString>;
1917
1917
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1918
1918
  }, "strict", z.ZodTypeAny, {
1919
- id: string;
1919
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1920
1920
  label: string;
1921
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1921
+ id: string;
1922
1922
  capture: "at_action" | "historical_lookup" | "fixture";
1923
1923
  locator?: string | undefined;
1924
1924
  }, {
1925
- id: string;
1925
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1926
1926
  label: string;
1927
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
+ id: string;
1928
1928
  capture: "at_action" | "historical_lookup" | "fixture";
1929
1929
  locator?: string | undefined;
1930
1930
  }>, "many">>;
@@ -1936,9 +1936,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1936
1936
  agentId: string;
1937
1937
  sessionId: string;
1938
1938
  evidence: {
1939
- id: string;
1939
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
1940
  label: string;
1941
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1941
+ id: string;
1942
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1943
1943
  locator?: string | undefined;
1944
1944
  }[];
@@ -1955,9 +1955,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1955
1955
  recallReceiptId: string;
1956
1956
  staleDecisionAbsent: boolean;
1957
1957
  evidence?: {
1958
- id: string;
1958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
1959
  label: string;
1960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
+ id: string;
1961
1961
  capture: "at_action" | "historical_lookup" | "fixture";
1962
1962
  locator?: string | undefined;
1963
1963
  }[] | undefined;
@@ -1972,37 +1972,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1972
1972
  locator: z.ZodOptional<z.ZodString>;
1973
1973
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1974
1974
  }, "strict", z.ZodTypeAny, {
1975
- id: string;
1975
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
1976
  label: string;
1977
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1977
+ id: string;
1978
1978
  capture: "at_action" | "historical_lookup" | "fixture";
1979
1979
  locator?: string | undefined;
1980
1980
  }, {
1981
- id: string;
1981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1982
1982
  label: string;
1983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
+ id: string;
1984
1984
  capture: "at_action" | "historical_lookup" | "fixture";
1985
1985
  locator?: string | undefined;
1986
1986
  }>, "many">>;
1987
1987
  }, "strict", z.ZodTypeAny, {
1988
- summary: string;
1989
1988
  kind: "mission_completed";
1989
+ summary: string;
1990
1990
  outcome: "failed" | "recovered" | "inconclusive";
1991
1991
  evidence: {
1992
- id: string;
1992
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1993
1993
  label: string;
1994
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1994
+ id: string;
1995
1995
  capture: "at_action" | "historical_lookup" | "fixture";
1996
1996
  locator?: string | undefined;
1997
1997
  }[];
1998
1998
  }, {
1999
- summary: string;
2000
1999
  kind: "mission_completed";
2000
+ summary: string;
2001
2001
  outcome: "failed" | "recovered" | "inconclusive";
2002
2002
  evidence?: {
2003
- id: string;
2003
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2004
2004
  label: string;
2005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2005
+ id: string;
2006
2006
  capture: "at_action" | "historical_lookup" | "fixture";
2007
2007
  locator?: string | undefined;
2008
2008
  }[] | undefined;
@@ -2010,38 +2010,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2010
2010
  kind: "mission_started";
2011
2011
  title: string;
2012
2012
  evidence: {
2013
- id: string;
2013
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
2014
  label: string;
2015
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2015
+ id: string;
2016
2016
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2017
  locator?: string | undefined;
2018
2018
  }[];
2019
2019
  objective: string;
2020
2020
  runMode: "replay" | "fixture" | "live";
2021
2021
  } | {
2022
- label: string;
2023
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2024
2022
  kind: "agent_status";
2023
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2024
+ label: string;
2025
2025
  role: string;
2026
2026
  agentId: string;
2027
2027
  sessionId: string;
2028
2028
  evidence: {
2029
- id: string;
2029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2030
  label: string;
2031
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
+ id: string;
2032
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2033
  locator?: string | undefined;
2034
2034
  }[];
2035
2035
  detail?: string | undefined;
2036
2036
  } | {
2037
- summary: string;
2038
2037
  kind: "agent_output";
2038
+ summary: string;
2039
2039
  agentId: string;
2040
2040
  sessionId: string;
2041
2041
  evidence: {
2042
- id: string;
2042
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2043
2043
  label: string;
2044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2044
+ id: string;
2045
2045
  capture: "at_action" | "historical_lookup" | "fixture";
2046
2046
  locator?: string | undefined;
2047
2047
  }[];
@@ -2052,9 +2052,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2052
2052
  statement: string;
2053
2053
  sessionId: string;
2054
2054
  evidence: {
2055
- id: string;
2055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2056
2056
  label: string;
2057
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2057
+ id: string;
2058
2058
  capture: "at_action" | "historical_lookup" | "fixture";
2059
2059
  locator?: string | undefined;
2060
2060
  }[];
@@ -2062,12 +2062,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2062
2062
  decisionId: string;
2063
2063
  confidence?: number | undefined;
2064
2064
  } | {
2065
- summary: string;
2066
2065
  kind: "conflict_detected";
2066
+ summary: string;
2067
2067
  evidence: {
2068
- id: string;
2068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2069
2069
  label: string;
2070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
+ id: string;
2071
2071
  capture: "at_action" | "historical_lookup" | "fixture";
2072
2072
  locator?: string | undefined;
2073
2073
  }[];
@@ -2075,14 +2075,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2075
2075
  decisionIds: string[];
2076
2076
  agentIds: string[];
2077
2077
  } | {
2078
+ kind: "test_result";
2078
2079
  summary: string;
2079
2080
  status: "error" | "failed" | "passed";
2080
- kind: "test_result";
2081
2081
  command: string;
2082
2082
  evidence: {
2083
- id: string;
2083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2084
  label: string;
2085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2085
+ id: string;
2086
2086
  capture: "at_action" | "historical_lookup" | "fixture";
2087
2087
  locator?: string | undefined;
2088
2088
  }[];
@@ -2095,9 +2095,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2095
2095
  statement: string;
2096
2096
  rationale: string;
2097
2097
  evidence: {
2098
- id: string;
2098
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2099
2099
  label: string;
2100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2100
+ id: string;
2101
2101
  capture: "at_action" | "historical_lookup" | "fixture";
2102
2102
  locator?: string | undefined;
2103
2103
  }[];
@@ -2109,25 +2109,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2109
2109
  } | {
2110
2110
  kind: "correction_approved";
2111
2111
  evidence: {
2112
- id: string;
2112
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2113
2113
  label: string;
2114
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
+ id: string;
2115
2115
  capture: "at_action" | "historical_lookup" | "fixture";
2116
2116
  locator?: string | undefined;
2117
2117
  }[];
2118
2118
  correctionId: string;
2119
2119
  approvedBy: {
2120
- id: string;
2121
- label: string;
2122
2120
  kind: "agent" | "human";
2121
+ label: string;
2122
+ id: string;
2123
2123
  };
2124
2124
  note?: string | undefined;
2125
2125
  } | {
2126
2126
  kind: "decision_superseded";
2127
2127
  evidence: {
2128
- id: string;
2128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
2129
  label: string;
2130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2130
+ id: string;
2131
2131
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2132
  locator?: string | undefined;
2133
2133
  }[];
@@ -2140,9 +2140,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2140
2140
  agentId: string;
2141
2141
  sessionId: string;
2142
2142
  evidence: {
2143
- id: string;
2143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2144
2144
  label: string;
2145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
+ id: string;
2146
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2147
2147
  locator?: string | undefined;
2148
2148
  }[];
@@ -2154,9 +2154,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2154
2154
  agentId: string;
2155
2155
  sessionId: string;
2156
2156
  evidence: {
2157
- id: string;
2157
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
2158
  label: string;
2159
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
+ id: string;
2160
2160
  capture: "at_action" | "historical_lookup" | "fixture";
2161
2161
  locator?: string | undefined;
2162
2162
  }[];
@@ -2165,13 +2165,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2165
2165
  recallReceiptId: string;
2166
2166
  staleDecisionAbsent: boolean;
2167
2167
  } | {
2168
- summary: string;
2169
2168
  kind: "mission_completed";
2169
+ summary: string;
2170
2170
  outcome: "failed" | "recovered" | "inconclusive";
2171
2171
  evidence: {
2172
- id: string;
2172
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2173
2173
  label: string;
2174
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
+ id: string;
2175
2175
  capture: "at_action" | "historical_lookup" | "fixture";
2176
2176
  locator?: string | undefined;
2177
2177
  }[];
@@ -2181,37 +2181,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2181
2181
  objective: string;
2182
2182
  runMode: "replay" | "fixture" | "live";
2183
2183
  evidence?: {
2184
- id: string;
2184
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2185
2185
  label: string;
2186
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
+ id: string;
2187
2187
  capture: "at_action" | "historical_lookup" | "fixture";
2188
2188
  locator?: string | undefined;
2189
2189
  }[] | undefined;
2190
2190
  } | {
2191
- label: string;
2192
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2193
2191
  kind: "agent_status";
2192
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2193
+ label: string;
2194
2194
  role: string;
2195
2195
  agentId: string;
2196
2196
  sessionId: string;
2197
2197
  detail?: string | undefined;
2198
2198
  evidence?: {
2199
- id: string;
2199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
2200
  label: string;
2201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
+ id: string;
2202
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2203
2203
  locator?: string | undefined;
2204
2204
  }[] | undefined;
2205
2205
  } | {
2206
- summary: string;
2207
2206
  kind: "agent_output";
2207
+ summary: string;
2208
2208
  agentId: string;
2209
2209
  sessionId: string;
2210
2210
  outputId: string;
2211
2211
  evidence?: {
2212
- id: string;
2212
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2213
  label: string;
2214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2214
+ id: string;
2215
2215
  capture: "at_action" | "historical_lookup" | "fixture";
2216
2216
  locator?: string | undefined;
2217
2217
  }[] | undefined;
@@ -2224,37 +2224,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2224
2224
  decisionId: string;
2225
2225
  confidence?: number | undefined;
2226
2226
  evidence?: {
2227
- id: string;
2227
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2228
  label: string;
2229
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2229
+ id: string;
2230
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2231
  locator?: string | undefined;
2232
2232
  }[] | undefined;
2233
2233
  } | {
2234
- summary: string;
2235
2234
  kind: "conflict_detected";
2235
+ summary: string;
2236
2236
  conflictId: string;
2237
2237
  decisionIds: string[];
2238
2238
  agentIds: string[];
2239
2239
  evidence?: {
2240
- id: string;
2240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2241
2241
  label: string;
2242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2242
+ id: string;
2243
2243
  capture: "at_action" | "historical_lookup" | "fixture";
2244
2244
  locator?: string | undefined;
2245
2245
  }[] | undefined;
2246
2246
  } | {
2247
+ kind: "test_result";
2247
2248
  summary: string;
2248
2249
  status: "error" | "failed" | "passed";
2249
- kind: "test_result";
2250
2250
  command: string;
2251
2251
  decisionId: string;
2252
2252
  testId: string;
2253
2253
  durationMs?: number | undefined;
2254
2254
  evidence?: {
2255
- id: string;
2255
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2256
2256
  label: string;
2257
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
+ id: string;
2258
2258
  capture: "at_action" | "historical_lookup" | "fixture";
2259
2259
  locator?: string | undefined;
2260
2260
  }[] | undefined;
@@ -2269,9 +2269,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2269
2269
  supersedesDecisionIds: string[];
2270
2270
  proposedBy: string;
2271
2271
  evidence?: {
2272
- id: string;
2272
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
2273
  label: string;
2274
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2274
+ id: string;
2275
2275
  capture: "at_action" | "historical_lookup" | "fixture";
2276
2276
  locator?: string | undefined;
2277
2277
  }[] | undefined;
@@ -2279,15 +2279,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2279
2279
  kind: "correction_approved";
2280
2280
  correctionId: string;
2281
2281
  approvedBy: {
2282
- id: string;
2283
- label: string;
2284
2282
  kind: "agent" | "human";
2283
+ label: string;
2284
+ id: string;
2285
2285
  };
2286
2286
  note?: string | undefined;
2287
2287
  evidence?: {
2288
- id: string;
2288
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2289
2289
  label: string;
2290
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2290
+ id: string;
2291
2291
  capture: "at_action" | "historical_lookup" | "fixture";
2292
2292
  locator?: string | undefined;
2293
2293
  }[] | undefined;
@@ -2297,9 +2297,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2297
2297
  correctionId: string;
2298
2298
  replacementDecisionId: string;
2299
2299
  evidence?: {
2300
- id: string;
2300
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2301
2301
  label: string;
2302
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2302
+ id: string;
2303
2303
  capture: "at_action" | "historical_lookup" | "fixture";
2304
2304
  locator?: string | undefined;
2305
2305
  }[] | undefined;
@@ -2312,9 +2312,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2312
2312
  recallReceiptId: string;
2313
2313
  capturedAtAction: boolean;
2314
2314
  evidence?: {
2315
- id: string;
2315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2316
  label: string;
2317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
+ id: string;
2318
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2319
  locator?: string | undefined;
2320
2320
  }[] | undefined;
@@ -2327,20 +2327,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2327
2327
  recallReceiptId: string;
2328
2328
  staleDecisionAbsent: boolean;
2329
2329
  evidence?: {
2330
- id: string;
2330
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2331
2331
  label: string;
2332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2332
+ id: string;
2333
2333
  capture: "at_action" | "historical_lookup" | "fixture";
2334
2334
  locator?: string | undefined;
2335
2335
  }[] | undefined;
2336
2336
  } | {
2337
- summary: string;
2338
2337
  kind: "mission_completed";
2338
+ summary: string;
2339
2339
  outcome: "failed" | "recovered" | "inconclusive";
2340
2340
  evidence?: {
2341
- id: string;
2341
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2342
2342
  label: string;
2343
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2343
+ id: string;
2344
2344
  capture: "at_action" | "historical_lookup" | "fixture";
2345
2345
  locator?: string | undefined;
2346
2346
  }[] | undefined;
@@ -2361,15 +2361,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2361
  locator: z.ZodOptional<z.ZodString>;
2362
2362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2363
2363
  }, "strict", z.ZodTypeAny, {
2364
- id: string;
2364
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2365
  label: string;
2366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2366
+ id: string;
2367
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2368
  locator?: string | undefined;
2369
2369
  }, {
2370
- id: string;
2370
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2371
  label: string;
2372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2372
+ id: string;
2373
2373
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2374
  locator?: string | undefined;
2375
2375
  }>, "many">>;
@@ -2377,9 +2377,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2377
2377
  kind: "mission_started";
2378
2378
  title: string;
2379
2379
  evidence: {
2380
- id: string;
2380
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
2381
  label: string;
2382
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
+ id: string;
2383
2383
  capture: "at_action" | "historical_lookup" | "fixture";
2384
2384
  locator?: string | undefined;
2385
2385
  }[];
@@ -2391,9 +2391,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2391
2391
  objective: string;
2392
2392
  runMode: "replay" | "fixture" | "live";
2393
2393
  evidence?: {
2394
- id: string;
2394
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
2395
  label: string;
2396
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2396
+ id: string;
2397
2397
  capture: "at_action" | "historical_lookup" | "fixture";
2398
2398
  locator?: string | undefined;
2399
2399
  }[] | undefined;
@@ -2409,15 +2409,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2409
2409
  locator: z.ZodOptional<z.ZodString>;
2410
2410
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2411
2411
  }, "strict", z.ZodTypeAny, {
2412
- id: string;
2412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
2413
  label: string;
2414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2414
+ id: string;
2415
2415
  capture: "at_action" | "historical_lookup" | "fixture";
2416
2416
  locator?: string | undefined;
2417
2417
  }, {
2418
- id: string;
2418
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2419
2419
  label: string;
2420
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2420
+ id: string;
2421
2421
  capture: "at_action" | "historical_lookup" | "fixture";
2422
2422
  locator?: string | undefined;
2423
2423
  }>, "many">>;
@@ -2425,32 +2425,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2425
2425
  sessionId: z.ZodString;
2426
2426
  kind: z.ZodLiteral<"agent_status">;
2427
2427
  }, "strict", z.ZodTypeAny, {
2428
- label: string;
2429
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2430
2428
  kind: "agent_status";
2429
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2430
+ label: string;
2431
2431
  role: string;
2432
2432
  agentId: string;
2433
2433
  sessionId: string;
2434
2434
  evidence: {
2435
- id: string;
2435
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2436
2436
  label: string;
2437
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
+ id: string;
2438
2438
  capture: "at_action" | "historical_lookup" | "fixture";
2439
2439
  locator?: string | undefined;
2440
2440
  }[];
2441
2441
  detail?: string | undefined;
2442
2442
  }, {
2443
- label: string;
2444
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2445
2443
  kind: "agent_status";
2444
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2445
+ label: string;
2446
2446
  role: string;
2447
2447
  agentId: string;
2448
2448
  sessionId: string;
2449
2449
  detail?: string | undefined;
2450
2450
  evidence?: {
2451
- id: string;
2451
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2452
2452
  label: string;
2453
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2453
+ id: string;
2454
2454
  capture: "at_action" | "historical_lookup" | "fixture";
2455
2455
  locator?: string | undefined;
2456
2456
  }[] | undefined;
@@ -2464,15 +2464,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2464
2464
  locator: z.ZodOptional<z.ZodString>;
2465
2465
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2466
2466
  }, "strict", z.ZodTypeAny, {
2467
- id: string;
2467
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2468
2468
  label: string;
2469
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2469
+ id: string;
2470
2470
  capture: "at_action" | "historical_lookup" | "fixture";
2471
2471
  locator?: string | undefined;
2472
2472
  }, {
2473
- id: string;
2473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2474
2474
  label: string;
2475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2475
+ id: string;
2476
2476
  capture: "at_action" | "historical_lookup" | "fixture";
2477
2477
  locator?: string | undefined;
2478
2478
  }>, "many">>;
@@ -2480,28 +2480,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2480
2480
  sessionId: z.ZodString;
2481
2481
  kind: z.ZodLiteral<"agent_output">;
2482
2482
  }, "strict", z.ZodTypeAny, {
2483
- summary: string;
2484
2483
  kind: "agent_output";
2484
+ summary: string;
2485
2485
  agentId: string;
2486
2486
  sessionId: string;
2487
2487
  evidence: {
2488
- id: string;
2488
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
2489
  label: string;
2490
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2490
+ id: string;
2491
2491
  capture: "at_action" | "historical_lookup" | "fixture";
2492
2492
  locator?: string | undefined;
2493
2493
  }[];
2494
2494
  outputId: string;
2495
2495
  }, {
2496
- summary: string;
2497
2496
  kind: "agent_output";
2497
+ summary: string;
2498
2498
  agentId: string;
2499
2499
  sessionId: string;
2500
2500
  outputId: string;
2501
2501
  evidence?: {
2502
- id: string;
2502
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
2503
  label: string;
2504
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
+ id: string;
2505
2505
  capture: "at_action" | "historical_lookup" | "fixture";
2506
2506
  locator?: string | undefined;
2507
2507
  }[] | undefined;
@@ -2517,15 +2517,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2517
2517
  locator: z.ZodOptional<z.ZodString>;
2518
2518
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2519
2519
  }, "strict", z.ZodTypeAny, {
2520
- id: string;
2520
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2521
2521
  label: string;
2522
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2522
+ id: string;
2523
2523
  capture: "at_action" | "historical_lookup" | "fixture";
2524
2524
  locator?: string | undefined;
2525
2525
  }, {
2526
- id: string;
2526
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2527
2527
  label: string;
2528
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2528
+ id: string;
2529
2529
  capture: "at_action" | "historical_lookup" | "fixture";
2530
2530
  locator?: string | undefined;
2531
2531
  }>, "many">>;
@@ -2538,9 +2538,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2538
2538
  statement: string;
2539
2539
  sessionId: string;
2540
2540
  evidence: {
2541
- id: string;
2541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2542
  label: string;
2543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
+ id: string;
2544
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2545
  locator?: string | undefined;
2546
2546
  }[];
@@ -2556,9 +2556,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2556
2556
  decisionId: string;
2557
2557
  confidence?: number | undefined;
2558
2558
  evidence?: {
2559
- id: string;
2559
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
2560
  label: string;
2561
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2561
+ id: string;
2562
2562
  capture: "at_action" | "historical_lookup" | "fixture";
2563
2563
  locator?: string | undefined;
2564
2564
  }[] | undefined;
@@ -2575,25 +2575,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2575
2575
  locator: z.ZodOptional<z.ZodString>;
2576
2576
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2577
2577
  }, "strict", z.ZodTypeAny, {
2578
- id: string;
2578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
2579
  label: string;
2580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2580
+ id: string;
2581
2581
  capture: "at_action" | "historical_lookup" | "fixture";
2582
2582
  locator?: string | undefined;
2583
2583
  }, {
2584
- id: string;
2584
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
2585
  label: string;
2586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2586
+ id: string;
2587
2587
  capture: "at_action" | "historical_lookup" | "fixture";
2588
2588
  locator?: string | undefined;
2589
2589
  }>, "many">>;
2590
2590
  }, "strict", z.ZodTypeAny, {
2591
- summary: string;
2592
2591
  kind: "conflict_detected";
2592
+ summary: string;
2593
2593
  evidence: {
2594
- id: string;
2594
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2595
2595
  label: string;
2596
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
+ id: string;
2597
2597
  capture: "at_action" | "historical_lookup" | "fixture";
2598
2598
  locator?: string | undefined;
2599
2599
  }[];
@@ -2601,15 +2601,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2601
2601
  decisionIds: string[];
2602
2602
  agentIds: string[];
2603
2603
  }, {
2604
- summary: string;
2605
2604
  kind: "conflict_detected";
2605
+ summary: string;
2606
2606
  conflictId: string;
2607
2607
  decisionIds: string[];
2608
2608
  agentIds: string[];
2609
2609
  evidence?: {
2610
- id: string;
2610
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2611
  label: string;
2612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2612
+ id: string;
2613
2613
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2614
  locator?: string | undefined;
2615
2615
  }[] | undefined;
@@ -2629,27 +2629,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2629
2629
  locator: z.ZodOptional<z.ZodString>;
2630
2630
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2631
2631
  }, "strict", z.ZodTypeAny, {
2632
- id: string;
2632
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2633
2633
  label: string;
2634
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
+ id: string;
2635
2635
  capture: "at_action" | "historical_lookup" | "fixture";
2636
2636
  locator?: string | undefined;
2637
2637
  }, {
2638
- id: string;
2638
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2639
2639
  label: string;
2640
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2640
+ id: string;
2641
2641
  capture: "at_action" | "historical_lookup" | "fixture";
2642
2642
  locator?: string | undefined;
2643
2643
  }>, "many">>;
2644
2644
  }, "strict", z.ZodTypeAny, {
2645
+ kind: "test_result";
2645
2646
  summary: string;
2646
2647
  status: "error" | "failed" | "passed";
2647
- kind: "test_result";
2648
2648
  command: string;
2649
2649
  evidence: {
2650
- id: string;
2650
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
2651
  label: string;
2652
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2652
+ id: string;
2653
2653
  capture: "at_action" | "historical_lookup" | "fixture";
2654
2654
  locator?: string | undefined;
2655
2655
  }[];
@@ -2658,17 +2658,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2658
2658
  durationMs?: number | undefined;
2659
2659
  correctionId?: string | undefined;
2660
2660
  }, {
2661
+ kind: "test_result";
2661
2662
  summary: string;
2662
2663
  status: "error" | "failed" | "passed";
2663
- kind: "test_result";
2664
2664
  command: string;
2665
2665
  decisionId: string;
2666
2666
  testId: string;
2667
2667
  durationMs?: number | undefined;
2668
2668
  evidence?: {
2669
- id: string;
2669
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2670
2670
  label: string;
2671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2671
+ id: string;
2672
2672
  capture: "at_action" | "historical_lookup" | "fixture";
2673
2673
  locator?: string | undefined;
2674
2674
  }[] | undefined;
@@ -2689,15 +2689,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2689
2689
  locator: z.ZodOptional<z.ZodString>;
2690
2690
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2691
2691
  }, "strict", z.ZodTypeAny, {
2692
- id: string;
2692
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2693
2693
  label: string;
2694
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2694
+ id: string;
2695
2695
  capture: "at_action" | "historical_lookup" | "fixture";
2696
2696
  locator?: string | undefined;
2697
2697
  }, {
2698
- id: string;
2698
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2699
2699
  label: string;
2700
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
+ id: string;
2701
2701
  capture: "at_action" | "historical_lookup" | "fixture";
2702
2702
  locator?: string | undefined;
2703
2703
  }>, "many">>;
@@ -2706,9 +2706,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2706
2706
  statement: string;
2707
2707
  rationale: string;
2708
2708
  evidence: {
2709
- id: string;
2709
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2710
2710
  label: string;
2711
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2711
+ id: string;
2712
2712
  capture: "at_action" | "historical_lookup" | "fixture";
2713
2713
  locator?: string | undefined;
2714
2714
  }[];
@@ -2727,9 +2727,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2727
2727
  supersedesDecisionIds: string[];
2728
2728
  proposedBy: string;
2729
2729
  evidence?: {
2730
- id: string;
2730
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
2731
  label: string;
2732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2732
+ id: string;
2733
2733
  capture: "at_action" | "historical_lookup" | "fixture";
2734
2734
  locator?: string | undefined;
2735
2735
  }[] | undefined;
@@ -2741,13 +2741,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2741
2741
  id: z.ZodString;
2742
2742
  label: z.ZodString;
2743
2743
  }, "strict", z.ZodTypeAny, {
2744
- id: string;
2745
- label: string;
2746
2744
  kind: "agent" | "human";
2747
- }, {
2748
- id: string;
2749
2745
  label: string;
2746
+ id: string;
2747
+ }, {
2750
2748
  kind: "agent" | "human";
2749
+ label: string;
2750
+ id: string;
2751
2751
  }>;
2752
2752
  note: z.ZodOptional<z.ZodString>;
2753
2753
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2757,47 +2757,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2757
2757
  locator: z.ZodOptional<z.ZodString>;
2758
2758
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2759
2759
  }, "strict", z.ZodTypeAny, {
2760
- id: string;
2760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2761
2761
  label: string;
2762
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
+ id: string;
2763
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2764
2764
  locator?: string | undefined;
2765
2765
  }, {
2766
- id: string;
2766
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2767
2767
  label: string;
2768
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
+ id: string;
2769
2769
  capture: "at_action" | "historical_lookup" | "fixture";
2770
2770
  locator?: string | undefined;
2771
2771
  }>, "many">>;
2772
2772
  }, "strict", z.ZodTypeAny, {
2773
2773
  kind: "correction_approved";
2774
2774
  evidence: {
2775
- id: string;
2775
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
2776
  label: string;
2777
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2777
+ id: string;
2778
2778
  capture: "at_action" | "historical_lookup" | "fixture";
2779
2779
  locator?: string | undefined;
2780
2780
  }[];
2781
2781
  correctionId: string;
2782
2782
  approvedBy: {
2783
- id: string;
2784
- label: string;
2785
2783
  kind: "agent" | "human";
2784
+ label: string;
2785
+ id: string;
2786
2786
  };
2787
2787
  note?: string | undefined;
2788
2788
  }, {
2789
2789
  kind: "correction_approved";
2790
2790
  correctionId: string;
2791
2791
  approvedBy: {
2792
- id: string;
2793
- label: string;
2794
2792
  kind: "agent" | "human";
2793
+ label: string;
2794
+ id: string;
2795
2795
  };
2796
2796
  note?: string | undefined;
2797
2797
  evidence?: {
2798
- id: string;
2798
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2799
2799
  label: string;
2800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2800
+ id: string;
2801
2801
  capture: "at_action" | "historical_lookup" | "fixture";
2802
2802
  locator?: string | undefined;
2803
2803
  }[] | undefined;
@@ -2813,24 +2813,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2813
2813
  locator: z.ZodOptional<z.ZodString>;
2814
2814
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2815
2815
  }, "strict", z.ZodTypeAny, {
2816
- id: string;
2816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
2817
  label: string;
2818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
+ id: string;
2819
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2820
2820
  locator?: string | undefined;
2821
2821
  }, {
2822
- id: string;
2822
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2823
  label: string;
2824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2824
+ id: string;
2825
2825
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2826
  locator?: string | undefined;
2827
2827
  }>, "many">>;
2828
2828
  }, "strict", z.ZodTypeAny, {
2829
2829
  kind: "decision_superseded";
2830
2830
  evidence: {
2831
- id: string;
2831
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2832
2832
  label: string;
2833
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
+ id: string;
2834
2834
  capture: "at_action" | "historical_lookup" | "fixture";
2835
2835
  locator?: string | undefined;
2836
2836
  }[];
@@ -2843,9 +2843,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2843
2843
  correctionId: string;
2844
2844
  replacementDecisionId: string;
2845
2845
  evidence?: {
2846
- id: string;
2846
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2847
2847
  label: string;
2848
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2848
+ id: string;
2849
2849
  capture: "at_action" | "historical_lookup" | "fixture";
2850
2850
  locator?: string | undefined;
2851
2851
  }[] | undefined;
@@ -2861,15 +2861,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2861
2861
  locator: z.ZodOptional<z.ZodString>;
2862
2862
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2863
2863
  }, "strict", z.ZodTypeAny, {
2864
- id: string;
2864
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2865
2865
  label: string;
2866
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2866
+ id: string;
2867
2867
  capture: "at_action" | "historical_lookup" | "fixture";
2868
2868
  locator?: string | undefined;
2869
2869
  }, {
2870
- id: string;
2870
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2871
2871
  label: string;
2872
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
+ id: string;
2873
2873
  capture: "at_action" | "historical_lookup" | "fixture";
2874
2874
  locator?: string | undefined;
2875
2875
  }>, "many">>;
@@ -2882,9 +2882,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2882
2882
  agentId: string;
2883
2883
  sessionId: string;
2884
2884
  evidence: {
2885
- id: string;
2885
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
2886
  label: string;
2887
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
+ id: string;
2888
2888
  capture: "at_action" | "historical_lookup" | "fixture";
2889
2889
  locator?: string | undefined;
2890
2890
  }[];
@@ -2900,9 +2900,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2900
2900
  recallReceiptId: string;
2901
2901
  capturedAtAction: boolean;
2902
2902
  evidence?: {
2903
- id: string;
2903
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2904
2904
  label: string;
2905
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
+ id: string;
2906
2906
  capture: "at_action" | "historical_lookup" | "fixture";
2907
2907
  locator?: string | undefined;
2908
2908
  }[] | undefined;
@@ -2918,15 +2918,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2918
2918
  locator: z.ZodOptional<z.ZodString>;
2919
2919
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2920
2920
  }, "strict", z.ZodTypeAny, {
2921
- id: string;
2921
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2922
2922
  label: string;
2923
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2923
+ id: string;
2924
2924
  capture: "at_action" | "historical_lookup" | "fixture";
2925
2925
  locator?: string | undefined;
2926
2926
  }, {
2927
- id: string;
2927
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2928
2928
  label: string;
2929
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
+ id: string;
2930
2930
  capture: "at_action" | "historical_lookup" | "fixture";
2931
2931
  locator?: string | undefined;
2932
2932
  }>, "many">>;
@@ -2938,9 +2938,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2938
2938
  agentId: string;
2939
2939
  sessionId: string;
2940
2940
  evidence: {
2941
- id: string;
2941
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
2942
  label: string;
2943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2943
+ id: string;
2944
2944
  capture: "at_action" | "historical_lookup" | "fixture";
2945
2945
  locator?: string | undefined;
2946
2946
  }[];
@@ -2957,9 +2957,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2957
2957
  recallReceiptId: string;
2958
2958
  staleDecisionAbsent: boolean;
2959
2959
  evidence?: {
2960
- id: string;
2960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
2961
  label: string;
2962
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
+ id: string;
2963
2963
  capture: "at_action" | "historical_lookup" | "fixture";
2964
2964
  locator?: string | undefined;
2965
2965
  }[] | undefined;
@@ -2974,37 +2974,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2974
2974
  locator: z.ZodOptional<z.ZodString>;
2975
2975
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2976
2976
  }, "strict", z.ZodTypeAny, {
2977
- id: string;
2977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2978
2978
  label: string;
2979
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2979
+ id: string;
2980
2980
  capture: "at_action" | "historical_lookup" | "fixture";
2981
2981
  locator?: string | undefined;
2982
2982
  }, {
2983
- id: string;
2983
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2984
2984
  label: string;
2985
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2985
+ id: string;
2986
2986
  capture: "at_action" | "historical_lookup" | "fixture";
2987
2987
  locator?: string | undefined;
2988
2988
  }>, "many">>;
2989
2989
  }, "strict", z.ZodTypeAny, {
2990
- summary: string;
2991
2990
  kind: "mission_completed";
2991
+ summary: string;
2992
2992
  outcome: "failed" | "recovered" | "inconclusive";
2993
2993
  evidence: {
2994
- id: string;
2994
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2995
2995
  label: string;
2996
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2996
+ id: string;
2997
2997
  capture: "at_action" | "historical_lookup" | "fixture";
2998
2998
  locator?: string | undefined;
2999
2999
  }[];
3000
3000
  }, {
3001
- summary: string;
3002
3001
  kind: "mission_completed";
3002
+ summary: string;
3003
3003
  outcome: "failed" | "recovered" | "inconclusive";
3004
3004
  evidence?: {
3005
- id: string;
3005
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3006
  label: string;
3007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3007
+ id: string;
3008
3008
  capture: "at_action" | "historical_lookup" | "fixture";
3009
3009
  locator?: string | undefined;
3010
3010
  }[] | undefined;
@@ -3012,38 +3012,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3012
3012
  kind: "mission_started";
3013
3013
  title: string;
3014
3014
  evidence: {
3015
- id: string;
3015
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
3016
  label: string;
3017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3017
+ id: string;
3018
3018
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3019
  locator?: string | undefined;
3020
3020
  }[];
3021
3021
  objective: string;
3022
3022
  runMode: "replay" | "fixture" | "live";
3023
3023
  } | {
3024
- label: string;
3025
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3026
3024
  kind: "agent_status";
3025
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3026
+ label: string;
3027
3027
  role: string;
3028
3028
  agentId: string;
3029
3029
  sessionId: string;
3030
3030
  evidence: {
3031
- id: string;
3031
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
3032
  label: string;
3033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3033
+ id: string;
3034
3034
  capture: "at_action" | "historical_lookup" | "fixture";
3035
3035
  locator?: string | undefined;
3036
3036
  }[];
3037
3037
  detail?: string | undefined;
3038
3038
  } | {
3039
- summary: string;
3040
3039
  kind: "agent_output";
3040
+ summary: string;
3041
3041
  agentId: string;
3042
3042
  sessionId: string;
3043
3043
  evidence: {
3044
- id: string;
3044
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3045
3045
  label: string;
3046
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3046
+ id: string;
3047
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3048
  locator?: string | undefined;
3049
3049
  }[];
@@ -3054,9 +3054,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3054
3054
  statement: string;
3055
3055
  sessionId: string;
3056
3056
  evidence: {
3057
- id: string;
3057
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3058
3058
  label: string;
3059
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
+ id: string;
3060
3060
  capture: "at_action" | "historical_lookup" | "fixture";
3061
3061
  locator?: string | undefined;
3062
3062
  }[];
@@ -3064,12 +3064,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3064
3064
  decisionId: string;
3065
3065
  confidence?: number | undefined;
3066
3066
  } | {
3067
- summary: string;
3068
3067
  kind: "conflict_detected";
3068
+ summary: string;
3069
3069
  evidence: {
3070
- id: string;
3070
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3071
  label: string;
3072
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
+ id: string;
3073
3073
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3074
  locator?: string | undefined;
3075
3075
  }[];
@@ -3077,14 +3077,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3077
3077
  decisionIds: string[];
3078
3078
  agentIds: string[];
3079
3079
  } | {
3080
+ kind: "test_result";
3080
3081
  summary: string;
3081
3082
  status: "error" | "failed" | "passed";
3082
- kind: "test_result";
3083
3083
  command: string;
3084
3084
  evidence: {
3085
- id: string;
3085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
3086
  label: string;
3087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
+ id: string;
3088
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3089
3089
  locator?: string | undefined;
3090
3090
  }[];
@@ -3097,9 +3097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3097
3097
  statement: string;
3098
3098
  rationale: string;
3099
3099
  evidence: {
3100
- id: string;
3100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
3101
  label: string;
3102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
+ id: string;
3103
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3104
3104
  locator?: string | undefined;
3105
3105
  }[];
@@ -3111,25 +3111,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3111
3111
  } | {
3112
3112
  kind: "correction_approved";
3113
3113
  evidence: {
3114
- id: string;
3114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3115
3115
  label: string;
3116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
+ id: string;
3117
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3118
3118
  locator?: string | undefined;
3119
3119
  }[];
3120
3120
  correctionId: string;
3121
3121
  approvedBy: {
3122
- id: string;
3123
- label: string;
3124
3122
  kind: "agent" | "human";
3123
+ label: string;
3124
+ id: string;
3125
3125
  };
3126
3126
  note?: string | undefined;
3127
3127
  } | {
3128
3128
  kind: "decision_superseded";
3129
3129
  evidence: {
3130
- id: string;
3130
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
3131
  label: string;
3132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3132
+ id: string;
3133
3133
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3134
  locator?: string | undefined;
3135
3135
  }[];
@@ -3142,9 +3142,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3142
3142
  agentId: string;
3143
3143
  sessionId: string;
3144
3144
  evidence: {
3145
- id: string;
3145
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
3146
  label: string;
3147
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
+ id: string;
3148
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3149
3149
  locator?: string | undefined;
3150
3150
  }[];
@@ -3156,9 +3156,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3156
3156
  agentId: string;
3157
3157
  sessionId: string;
3158
3158
  evidence: {
3159
- id: string;
3159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
3160
  label: string;
3161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
+ id: string;
3162
3162
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3163
  locator?: string | undefined;
3164
3164
  }[];
@@ -3167,13 +3167,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3167
3167
  recallReceiptId: string;
3168
3168
  staleDecisionAbsent: boolean;
3169
3169
  } | {
3170
- summary: string;
3171
3170
  kind: "mission_completed";
3171
+ summary: string;
3172
3172
  outcome: "failed" | "recovered" | "inconclusive";
3173
3173
  evidence: {
3174
- id: string;
3174
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
3175
  label: string;
3176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
+ id: string;
3177
3177
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3178
  locator?: string | undefined;
3179
3179
  }[];
@@ -3183,37 +3183,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3183
3183
  objective: string;
3184
3184
  runMode: "replay" | "fixture" | "live";
3185
3185
  evidence?: {
3186
- id: string;
3186
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3187
3187
  label: string;
3188
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
+ id: string;
3189
3189
  capture: "at_action" | "historical_lookup" | "fixture";
3190
3190
  locator?: string | undefined;
3191
3191
  }[] | undefined;
3192
3192
  } | {
3193
- label: string;
3194
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3195
3193
  kind: "agent_status";
3194
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3195
+ label: string;
3196
3196
  role: string;
3197
3197
  agentId: string;
3198
3198
  sessionId: string;
3199
3199
  detail?: string | undefined;
3200
3200
  evidence?: {
3201
- id: string;
3201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
3202
  label: string;
3203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
+ id: string;
3204
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3205
3205
  locator?: string | undefined;
3206
3206
  }[] | undefined;
3207
3207
  } | {
3208
- summary: string;
3209
3208
  kind: "agent_output";
3209
+ summary: string;
3210
3210
  agentId: string;
3211
3211
  sessionId: string;
3212
3212
  outputId: string;
3213
3213
  evidence?: {
3214
- id: string;
3214
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
3215
  label: string;
3216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
+ id: string;
3217
3217
  capture: "at_action" | "historical_lookup" | "fixture";
3218
3218
  locator?: string | undefined;
3219
3219
  }[] | undefined;
@@ -3226,37 +3226,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3226
3226
  decisionId: string;
3227
3227
  confidence?: number | undefined;
3228
3228
  evidence?: {
3229
- id: string;
3229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3230
  label: string;
3231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3231
+ id: string;
3232
3232
  capture: "at_action" | "historical_lookup" | "fixture";
3233
3233
  locator?: string | undefined;
3234
3234
  }[] | undefined;
3235
3235
  } | {
3236
- summary: string;
3237
3236
  kind: "conflict_detected";
3237
+ summary: string;
3238
3238
  conflictId: string;
3239
3239
  decisionIds: string[];
3240
3240
  agentIds: string[];
3241
3241
  evidence?: {
3242
- id: string;
3242
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3243
3243
  label: string;
3244
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3244
+ id: string;
3245
3245
  capture: "at_action" | "historical_lookup" | "fixture";
3246
3246
  locator?: string | undefined;
3247
3247
  }[] | undefined;
3248
3248
  } | {
3249
+ kind: "test_result";
3249
3250
  summary: string;
3250
3251
  status: "error" | "failed" | "passed";
3251
- kind: "test_result";
3252
3252
  command: string;
3253
3253
  decisionId: string;
3254
3254
  testId: string;
3255
3255
  durationMs?: number | undefined;
3256
3256
  evidence?: {
3257
- id: string;
3257
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3258
3258
  label: string;
3259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3259
+ id: string;
3260
3260
  capture: "at_action" | "historical_lookup" | "fixture";
3261
3261
  locator?: string | undefined;
3262
3262
  }[] | undefined;
@@ -3271,9 +3271,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3271
3271
  supersedesDecisionIds: string[];
3272
3272
  proposedBy: string;
3273
3273
  evidence?: {
3274
- id: string;
3274
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3275
3275
  label: string;
3276
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
+ id: string;
3277
3277
  capture: "at_action" | "historical_lookup" | "fixture";
3278
3278
  locator?: string | undefined;
3279
3279
  }[] | undefined;
@@ -3281,15 +3281,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3281
3281
  kind: "correction_approved";
3282
3282
  correctionId: string;
3283
3283
  approvedBy: {
3284
- id: string;
3285
- label: string;
3286
3284
  kind: "agent" | "human";
3285
+ label: string;
3286
+ id: string;
3287
3287
  };
3288
3288
  note?: string | undefined;
3289
3289
  evidence?: {
3290
- id: string;
3290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
3291
  label: string;
3292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
+ id: string;
3293
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3294
  locator?: string | undefined;
3295
3295
  }[] | undefined;
@@ -3299,9 +3299,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3299
3299
  correctionId: string;
3300
3300
  replacementDecisionId: string;
3301
3301
  evidence?: {
3302
- id: string;
3302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
3303
  label: string;
3304
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
+ id: string;
3305
3305
  capture: "at_action" | "historical_lookup" | "fixture";
3306
3306
  locator?: string | undefined;
3307
3307
  }[] | undefined;
@@ -3314,9 +3314,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3314
3314
  recallReceiptId: string;
3315
3315
  capturedAtAction: boolean;
3316
3316
  evidence?: {
3317
- id: string;
3317
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3318
3318
  label: string;
3319
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3319
+ id: string;
3320
3320
  capture: "at_action" | "historical_lookup" | "fixture";
3321
3321
  locator?: string | undefined;
3322
3322
  }[] | undefined;
@@ -3329,20 +3329,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3329
3329
  recallReceiptId: string;
3330
3330
  staleDecisionAbsent: boolean;
3331
3331
  evidence?: {
3332
- id: string;
3332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
3333
  label: string;
3334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
+ id: string;
3335
3335
  capture: "at_action" | "historical_lookup" | "fixture";
3336
3336
  locator?: string | undefined;
3337
3337
  }[] | undefined;
3338
3338
  } | {
3339
- summary: string;
3340
3339
  kind: "mission_completed";
3340
+ summary: string;
3341
3341
  outcome: "failed" | "recovered" | "inconclusive";
3342
3342
  evidence?: {
3343
- id: string;
3343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3344
  label: string;
3345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3345
+ id: string;
3346
3346
  capture: "at_action" | "historical_lookup" | "fixture";
3347
3347
  locator?: string | undefined;
3348
3348
  }[] | undefined;
@@ -3352,38 +3352,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3352
3352
  kind: "mission_started";
3353
3353
  title: string;
3354
3354
  evidence: {
3355
- id: string;
3355
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
3356
  label: string;
3357
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3357
+ id: string;
3358
3358
  capture: "at_action" | "historical_lookup" | "fixture";
3359
3359
  locator?: string | undefined;
3360
3360
  }[];
3361
3361
  objective: string;
3362
3362
  runMode: "replay" | "fixture" | "live";
3363
3363
  } | {
3364
- label: string;
3365
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3366
3364
  kind: "agent_status";
3365
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3366
+ label: string;
3367
3367
  role: string;
3368
3368
  agentId: string;
3369
3369
  sessionId: string;
3370
3370
  evidence: {
3371
- id: string;
3371
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
3372
  label: string;
3373
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3373
+ id: string;
3374
3374
  capture: "at_action" | "historical_lookup" | "fixture";
3375
3375
  locator?: string | undefined;
3376
3376
  }[];
3377
3377
  detail?: string | undefined;
3378
3378
  } | {
3379
- summary: string;
3380
3379
  kind: "agent_output";
3380
+ summary: string;
3381
3381
  agentId: string;
3382
3382
  sessionId: string;
3383
3383
  evidence: {
3384
- id: string;
3384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3385
3385
  label: string;
3386
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
+ id: string;
3387
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3388
  locator?: string | undefined;
3389
3389
  }[];
@@ -3394,9 +3394,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3394
3394
  statement: string;
3395
3395
  sessionId: string;
3396
3396
  evidence: {
3397
- id: string;
3397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3398
3398
  label: string;
3399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3399
+ id: string;
3400
3400
  capture: "at_action" | "historical_lookup" | "fixture";
3401
3401
  locator?: string | undefined;
3402
3402
  }[];
@@ -3404,12 +3404,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3404
3404
  decisionId: string;
3405
3405
  confidence?: number | undefined;
3406
3406
  } | {
3407
- summary: string;
3408
3407
  kind: "conflict_detected";
3408
+ summary: string;
3409
3409
  evidence: {
3410
- id: string;
3410
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3411
3411
  label: string;
3412
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
+ id: string;
3413
3413
  capture: "at_action" | "historical_lookup" | "fixture";
3414
3414
  locator?: string | undefined;
3415
3415
  }[];
@@ -3417,14 +3417,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3417
3417
  decisionIds: string[];
3418
3418
  agentIds: string[];
3419
3419
  } | {
3420
+ kind: "test_result";
3420
3421
  summary: string;
3421
3422
  status: "error" | "failed" | "passed";
3422
- kind: "test_result";
3423
3423
  command: string;
3424
3424
  evidence: {
3425
- id: string;
3425
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3426
3426
  label: string;
3427
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3427
+ id: string;
3428
3428
  capture: "at_action" | "historical_lookup" | "fixture";
3429
3429
  locator?: string | undefined;
3430
3430
  }[];
@@ -3437,9 +3437,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3437
3437
  statement: string;
3438
3438
  rationale: string;
3439
3439
  evidence: {
3440
- id: string;
3440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
3441
  label: string;
3442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3442
+ id: string;
3443
3443
  capture: "at_action" | "historical_lookup" | "fixture";
3444
3444
  locator?: string | undefined;
3445
3445
  }[];
@@ -3451,25 +3451,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3451
3451
  } | {
3452
3452
  kind: "correction_approved";
3453
3453
  evidence: {
3454
- id: string;
3454
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3455
3455
  label: string;
3456
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
+ id: string;
3457
3457
  capture: "at_action" | "historical_lookup" | "fixture";
3458
3458
  locator?: string | undefined;
3459
3459
  }[];
3460
3460
  correctionId: string;
3461
3461
  approvedBy: {
3462
- id: string;
3463
- label: string;
3464
3462
  kind: "agent" | "human";
3463
+ label: string;
3464
+ id: string;
3465
3465
  };
3466
3466
  note?: string | undefined;
3467
3467
  } | {
3468
3468
  kind: "decision_superseded";
3469
3469
  evidence: {
3470
- id: string;
3470
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
3471
  label: string;
3472
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
+ id: string;
3473
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3474
  locator?: string | undefined;
3475
3475
  }[];
@@ -3482,9 +3482,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3482
3482
  agentId: string;
3483
3483
  sessionId: string;
3484
3484
  evidence: {
3485
- id: string;
3485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3486
3486
  label: string;
3487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3487
+ id: string;
3488
3488
  capture: "at_action" | "historical_lookup" | "fixture";
3489
3489
  locator?: string | undefined;
3490
3490
  }[];
@@ -3496,9 +3496,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3496
3496
  agentId: string;
3497
3497
  sessionId: string;
3498
3498
  evidence: {
3499
- id: string;
3499
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
3500
  label: string;
3501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3501
+ id: string;
3502
3502
  capture: "at_action" | "historical_lookup" | "fixture";
3503
3503
  locator?: string | undefined;
3504
3504
  }[];
@@ -3507,13 +3507,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3507
3507
  recallReceiptId: string;
3508
3508
  staleDecisionAbsent: boolean;
3509
3509
  } | {
3510
- summary: string;
3511
3510
  kind: "mission_completed";
3511
+ summary: string;
3512
3512
  outcome: "failed" | "recovered" | "inconclusive";
3513
3513
  evidence: {
3514
- id: string;
3514
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3515
3515
  label: string;
3516
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
+ id: string;
3517
3517
  capture: "at_action" | "historical_lookup" | "fixture";
3518
3518
  locator?: string | undefined;
3519
3519
  }[];
@@ -3527,37 +3527,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3527
3527
  objective: string;
3528
3528
  runMode: "replay" | "fixture" | "live";
3529
3529
  evidence?: {
3530
- id: string;
3530
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
3531
  label: string;
3532
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
+ id: string;
3533
3533
  capture: "at_action" | "historical_lookup" | "fixture";
3534
3534
  locator?: string | undefined;
3535
3535
  }[] | undefined;
3536
3536
  } | {
3537
- label: string;
3538
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3539
3537
  kind: "agent_status";
3538
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3539
+ label: string;
3540
3540
  role: string;
3541
3541
  agentId: string;
3542
3542
  sessionId: string;
3543
3543
  detail?: string | undefined;
3544
3544
  evidence?: {
3545
- id: string;
3545
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3546
3546
  label: string;
3547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3547
+ id: string;
3548
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3549
3549
  locator?: string | undefined;
3550
3550
  }[] | undefined;
3551
3551
  } | {
3552
- summary: string;
3553
3552
  kind: "agent_output";
3553
+ summary: string;
3554
3554
  agentId: string;
3555
3555
  sessionId: string;
3556
3556
  outputId: string;
3557
3557
  evidence?: {
3558
- id: string;
3558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3559
  label: string;
3560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3560
+ id: string;
3561
3561
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3562
  locator?: string | undefined;
3563
3563
  }[] | undefined;
@@ -3570,37 +3570,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3570
3570
  decisionId: string;
3571
3571
  confidence?: number | undefined;
3572
3572
  evidence?: {
3573
- id: string;
3573
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
3574
  label: string;
3575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3575
+ id: string;
3576
3576
  capture: "at_action" | "historical_lookup" | "fixture";
3577
3577
  locator?: string | undefined;
3578
3578
  }[] | undefined;
3579
3579
  } | {
3580
- summary: string;
3581
3580
  kind: "conflict_detected";
3581
+ summary: string;
3582
3582
  conflictId: string;
3583
3583
  decisionIds: string[];
3584
3584
  agentIds: string[];
3585
3585
  evidence?: {
3586
- id: string;
3586
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3587
3587
  label: string;
3588
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3588
+ id: string;
3589
3589
  capture: "at_action" | "historical_lookup" | "fixture";
3590
3590
  locator?: string | undefined;
3591
3591
  }[] | undefined;
3592
3592
  } | {
3593
+ kind: "test_result";
3593
3594
  summary: string;
3594
3595
  status: "error" | "failed" | "passed";
3595
- kind: "test_result";
3596
3596
  command: string;
3597
3597
  decisionId: string;
3598
3598
  testId: string;
3599
3599
  durationMs?: number | undefined;
3600
3600
  evidence?: {
3601
- id: string;
3601
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3602
3602
  label: string;
3603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3603
+ id: string;
3604
3604
  capture: "at_action" | "historical_lookup" | "fixture";
3605
3605
  locator?: string | undefined;
3606
3606
  }[] | undefined;
@@ -3615,9 +3615,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3615
3615
  supersedesDecisionIds: string[];
3616
3616
  proposedBy: string;
3617
3617
  evidence?: {
3618
- id: string;
3618
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3619
3619
  label: string;
3620
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
+ id: string;
3621
3621
  capture: "at_action" | "historical_lookup" | "fixture";
3622
3622
  locator?: string | undefined;
3623
3623
  }[] | undefined;
@@ -3625,15 +3625,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3625
3625
  kind: "correction_approved";
3626
3626
  correctionId: string;
3627
3627
  approvedBy: {
3628
- id: string;
3629
- label: string;
3630
3628
  kind: "agent" | "human";
3629
+ label: string;
3630
+ id: string;
3631
3631
  };
3632
3632
  note?: string | undefined;
3633
3633
  evidence?: {
3634
- id: string;
3634
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3635
3635
  label: string;
3636
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3636
+ id: string;
3637
3637
  capture: "at_action" | "historical_lookup" | "fixture";
3638
3638
  locator?: string | undefined;
3639
3639
  }[] | undefined;
@@ -3643,9 +3643,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3643
3643
  correctionId: string;
3644
3644
  replacementDecisionId: string;
3645
3645
  evidence?: {
3646
- id: string;
3646
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
3647
  label: string;
3648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3648
+ id: string;
3649
3649
  capture: "at_action" | "historical_lookup" | "fixture";
3650
3650
  locator?: string | undefined;
3651
3651
  }[] | undefined;
@@ -3658,9 +3658,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3658
3658
  recallReceiptId: string;
3659
3659
  capturedAtAction: boolean;
3660
3660
  evidence?: {
3661
- id: string;
3661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
3662
  label: string;
3663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3663
+ id: string;
3664
3664
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3665
  locator?: string | undefined;
3666
3666
  }[] | undefined;
@@ -3673,20 +3673,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3673
3673
  recallReceiptId: string;
3674
3674
  staleDecisionAbsent: boolean;
3675
3675
  evidence?: {
3676
- id: string;
3676
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3677
3677
  label: string;
3678
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3678
+ id: string;
3679
3679
  capture: "at_action" | "historical_lookup" | "fixture";
3680
3680
  locator?: string | undefined;
3681
3681
  }[] | undefined;
3682
3682
  } | {
3683
- summary: string;
3684
3683
  kind: "mission_completed";
3684
+ summary: string;
3685
3685
  outcome: "failed" | "recovered" | "inconclusive";
3686
3686
  evidence?: {
3687
- id: string;
3687
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
3688
  label: string;
3689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3689
+ id: string;
3690
3690
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3691
  locator?: string | undefined;
3692
3692
  }[] | undefined;
@@ -3716,15 +3716,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3716
  locator: z.ZodOptional<z.ZodString>;
3717
3717
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3718
3718
  }, "strict", z.ZodTypeAny, {
3719
- id: string;
3719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3720
  label: string;
3721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3721
+ id: string;
3722
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3723
  locator?: string | undefined;
3724
3724
  }, {
3725
- id: string;
3725
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3726
  label: string;
3727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3727
+ id: string;
3728
3728
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3729
  locator?: string | undefined;
3730
3730
  }>, "many">>;
@@ -3732,9 +3732,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3732
3732
  kind: "mission_started";
3733
3733
  title: string;
3734
3734
  evidence: {
3735
- id: string;
3735
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
3736
  label: string;
3737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
+ id: string;
3738
3738
  capture: "at_action" | "historical_lookup" | "fixture";
3739
3739
  locator?: string | undefined;
3740
3740
  }[];
@@ -3746,9 +3746,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3746
3746
  objective: string;
3747
3747
  runMode: "replay" | "fixture" | "live";
3748
3748
  evidence?: {
3749
- id: string;
3749
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
3750
  label: string;
3751
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3751
+ id: string;
3752
3752
  capture: "at_action" | "historical_lookup" | "fixture";
3753
3753
  locator?: string | undefined;
3754
3754
  }[] | undefined;
@@ -3764,15 +3764,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3764
3764
  locator: z.ZodOptional<z.ZodString>;
3765
3765
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3766
3766
  }, "strict", z.ZodTypeAny, {
3767
- id: string;
3767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
3768
  label: string;
3769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3769
+ id: string;
3770
3770
  capture: "at_action" | "historical_lookup" | "fixture";
3771
3771
  locator?: string | undefined;
3772
3772
  }, {
3773
- id: string;
3773
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3774
3774
  label: string;
3775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3775
+ id: string;
3776
3776
  capture: "at_action" | "historical_lookup" | "fixture";
3777
3777
  locator?: string | undefined;
3778
3778
  }>, "many">>;
@@ -3780,32 +3780,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3780
3780
  sessionId: z.ZodString;
3781
3781
  kind: z.ZodLiteral<"agent_status">;
3782
3782
  }, "strict", z.ZodTypeAny, {
3783
- label: string;
3784
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3785
3783
  kind: "agent_status";
3784
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3785
+ label: string;
3786
3786
  role: string;
3787
3787
  agentId: string;
3788
3788
  sessionId: string;
3789
3789
  evidence: {
3790
- id: string;
3790
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3791
3791
  label: string;
3792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
+ id: string;
3793
3793
  capture: "at_action" | "historical_lookup" | "fixture";
3794
3794
  locator?: string | undefined;
3795
3795
  }[];
3796
3796
  detail?: string | undefined;
3797
3797
  }, {
3798
- label: string;
3799
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3800
3798
  kind: "agent_status";
3799
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3800
+ label: string;
3801
3801
  role: string;
3802
3802
  agentId: string;
3803
3803
  sessionId: string;
3804
3804
  detail?: string | undefined;
3805
3805
  evidence?: {
3806
- id: string;
3806
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3807
3807
  label: string;
3808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3808
+ id: string;
3809
3809
  capture: "at_action" | "historical_lookup" | "fixture";
3810
3810
  locator?: string | undefined;
3811
3811
  }[] | undefined;
@@ -3819,15 +3819,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3819
3819
  locator: z.ZodOptional<z.ZodString>;
3820
3820
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3821
3821
  }, "strict", z.ZodTypeAny, {
3822
- id: string;
3822
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3823
3823
  label: string;
3824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3824
+ id: string;
3825
3825
  capture: "at_action" | "historical_lookup" | "fixture";
3826
3826
  locator?: string | undefined;
3827
3827
  }, {
3828
- id: string;
3828
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3829
3829
  label: string;
3830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3830
+ id: string;
3831
3831
  capture: "at_action" | "historical_lookup" | "fixture";
3832
3832
  locator?: string | undefined;
3833
3833
  }>, "many">>;
@@ -3835,28 +3835,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3835
3835
  sessionId: z.ZodString;
3836
3836
  kind: z.ZodLiteral<"agent_output">;
3837
3837
  }, "strict", z.ZodTypeAny, {
3838
- summary: string;
3839
3838
  kind: "agent_output";
3839
+ summary: string;
3840
3840
  agentId: string;
3841
3841
  sessionId: string;
3842
3842
  evidence: {
3843
- id: string;
3843
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
3844
  label: string;
3845
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3845
+ id: string;
3846
3846
  capture: "at_action" | "historical_lookup" | "fixture";
3847
3847
  locator?: string | undefined;
3848
3848
  }[];
3849
3849
  outputId: string;
3850
3850
  }, {
3851
- summary: string;
3852
3851
  kind: "agent_output";
3852
+ summary: string;
3853
3853
  agentId: string;
3854
3854
  sessionId: string;
3855
3855
  outputId: string;
3856
3856
  evidence?: {
3857
- id: string;
3857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
3858
  label: string;
3859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
+ id: string;
3860
3860
  capture: "at_action" | "historical_lookup" | "fixture";
3861
3861
  locator?: string | undefined;
3862
3862
  }[] | undefined;
@@ -3872,15 +3872,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3872
3872
  locator: z.ZodOptional<z.ZodString>;
3873
3873
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3874
3874
  }, "strict", z.ZodTypeAny, {
3875
- id: string;
3875
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3876
3876
  label: string;
3877
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3877
+ id: string;
3878
3878
  capture: "at_action" | "historical_lookup" | "fixture";
3879
3879
  locator?: string | undefined;
3880
3880
  }, {
3881
- id: string;
3881
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3882
3882
  label: string;
3883
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3883
+ id: string;
3884
3884
  capture: "at_action" | "historical_lookup" | "fixture";
3885
3885
  locator?: string | undefined;
3886
3886
  }>, "many">>;
@@ -3893,9 +3893,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3893
3893
  statement: string;
3894
3894
  sessionId: string;
3895
3895
  evidence: {
3896
- id: string;
3896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3897
  label: string;
3898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
+ id: string;
3899
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3900
  locator?: string | undefined;
3901
3901
  }[];
@@ -3911,9 +3911,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3911
3911
  decisionId: string;
3912
3912
  confidence?: number | undefined;
3913
3913
  evidence?: {
3914
- id: string;
3914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
3915
  label: string;
3916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3916
+ id: string;
3917
3917
  capture: "at_action" | "historical_lookup" | "fixture";
3918
3918
  locator?: string | undefined;
3919
3919
  }[] | undefined;
@@ -3930,25 +3930,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3930
3930
  locator: z.ZodOptional<z.ZodString>;
3931
3931
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3932
3932
  }, "strict", z.ZodTypeAny, {
3933
- id: string;
3933
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
3934
  label: string;
3935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3935
+ id: string;
3936
3936
  capture: "at_action" | "historical_lookup" | "fixture";
3937
3937
  locator?: string | undefined;
3938
3938
  }, {
3939
- id: string;
3939
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
3940
  label: string;
3941
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3941
+ id: string;
3942
3942
  capture: "at_action" | "historical_lookup" | "fixture";
3943
3943
  locator?: string | undefined;
3944
3944
  }>, "many">>;
3945
3945
  }, "strict", z.ZodTypeAny, {
3946
- summary: string;
3947
3946
  kind: "conflict_detected";
3947
+ summary: string;
3948
3948
  evidence: {
3949
- id: string;
3949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3950
3950
  label: string;
3951
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
+ id: string;
3952
3952
  capture: "at_action" | "historical_lookup" | "fixture";
3953
3953
  locator?: string | undefined;
3954
3954
  }[];
@@ -3956,15 +3956,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3956
3956
  decisionIds: string[];
3957
3957
  agentIds: string[];
3958
3958
  }, {
3959
- summary: string;
3960
3959
  kind: "conflict_detected";
3960
+ summary: string;
3961
3961
  conflictId: string;
3962
3962
  decisionIds: string[];
3963
3963
  agentIds: string[];
3964
3964
  evidence?: {
3965
- id: string;
3965
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3966
  label: string;
3967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3967
+ id: string;
3968
3968
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3969
  locator?: string | undefined;
3970
3970
  }[] | undefined;
@@ -3984,27 +3984,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3984
3984
  locator: z.ZodOptional<z.ZodString>;
3985
3985
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3986
3986
  }, "strict", z.ZodTypeAny, {
3987
- id: string;
3987
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3988
3988
  label: string;
3989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
+ id: string;
3990
3990
  capture: "at_action" | "historical_lookup" | "fixture";
3991
3991
  locator?: string | undefined;
3992
3992
  }, {
3993
- id: string;
3993
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3994
3994
  label: string;
3995
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3995
+ id: string;
3996
3996
  capture: "at_action" | "historical_lookup" | "fixture";
3997
3997
  locator?: string | undefined;
3998
3998
  }>, "many">>;
3999
3999
  }, "strict", z.ZodTypeAny, {
4000
+ kind: "test_result";
4000
4001
  summary: string;
4001
4002
  status: "error" | "failed" | "passed";
4002
- kind: "test_result";
4003
4003
  command: string;
4004
4004
  evidence: {
4005
- id: string;
4005
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
4006
  label: string;
4007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4007
+ id: string;
4008
4008
  capture: "at_action" | "historical_lookup" | "fixture";
4009
4009
  locator?: string | undefined;
4010
4010
  }[];
@@ -4013,17 +4013,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4013
4013
  durationMs?: number | undefined;
4014
4014
  correctionId?: string | undefined;
4015
4015
  }, {
4016
+ kind: "test_result";
4016
4017
  summary: string;
4017
4018
  status: "error" | "failed" | "passed";
4018
- kind: "test_result";
4019
4019
  command: string;
4020
4020
  decisionId: string;
4021
4021
  testId: string;
4022
4022
  durationMs?: number | undefined;
4023
4023
  evidence?: {
4024
- id: string;
4024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4025
4025
  label: string;
4026
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4026
+ id: string;
4027
4027
  capture: "at_action" | "historical_lookup" | "fixture";
4028
4028
  locator?: string | undefined;
4029
4029
  }[] | undefined;
@@ -4044,15 +4044,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4044
4044
  locator: z.ZodOptional<z.ZodString>;
4045
4045
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4046
4046
  }, "strict", z.ZodTypeAny, {
4047
- id: string;
4047
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4048
4048
  label: string;
4049
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4049
+ id: string;
4050
4050
  capture: "at_action" | "historical_lookup" | "fixture";
4051
4051
  locator?: string | undefined;
4052
4052
  }, {
4053
- id: string;
4053
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4054
4054
  label: string;
4055
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
+ id: string;
4056
4056
  capture: "at_action" | "historical_lookup" | "fixture";
4057
4057
  locator?: string | undefined;
4058
4058
  }>, "many">>;
@@ -4061,9 +4061,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4061
4061
  statement: string;
4062
4062
  rationale: string;
4063
4063
  evidence: {
4064
- id: string;
4064
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4065
4065
  label: string;
4066
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4066
+ id: string;
4067
4067
  capture: "at_action" | "historical_lookup" | "fixture";
4068
4068
  locator?: string | undefined;
4069
4069
  }[];
@@ -4082,9 +4082,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4082
4082
  supersedesDecisionIds: string[];
4083
4083
  proposedBy: string;
4084
4084
  evidence?: {
4085
- id: string;
4085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
4086
  label: string;
4087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4087
+ id: string;
4088
4088
  capture: "at_action" | "historical_lookup" | "fixture";
4089
4089
  locator?: string | undefined;
4090
4090
  }[] | undefined;
@@ -4096,13 +4096,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4096
4096
  id: z.ZodString;
4097
4097
  label: z.ZodString;
4098
4098
  }, "strict", z.ZodTypeAny, {
4099
- id: string;
4100
- label: string;
4101
4099
  kind: "agent" | "human";
4102
- }, {
4103
- id: string;
4104
4100
  label: string;
4101
+ id: string;
4102
+ }, {
4105
4103
  kind: "agent" | "human";
4104
+ label: string;
4105
+ id: string;
4106
4106
  }>;
4107
4107
  note: z.ZodOptional<z.ZodString>;
4108
4108
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4112,47 +4112,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4112
4112
  locator: z.ZodOptional<z.ZodString>;
4113
4113
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4114
4114
  }, "strict", z.ZodTypeAny, {
4115
- id: string;
4115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4116
4116
  label: string;
4117
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
+ id: string;
4118
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4119
4119
  locator?: string | undefined;
4120
4120
  }, {
4121
- id: string;
4121
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4122
4122
  label: string;
4123
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
+ id: string;
4124
4124
  capture: "at_action" | "historical_lookup" | "fixture";
4125
4125
  locator?: string | undefined;
4126
4126
  }>, "many">>;
4127
4127
  }, "strict", z.ZodTypeAny, {
4128
4128
  kind: "correction_approved";
4129
4129
  evidence: {
4130
- id: string;
4130
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
4131
  label: string;
4132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4132
+ id: string;
4133
4133
  capture: "at_action" | "historical_lookup" | "fixture";
4134
4134
  locator?: string | undefined;
4135
4135
  }[];
4136
4136
  correctionId: string;
4137
4137
  approvedBy: {
4138
- id: string;
4139
- label: string;
4140
4138
  kind: "agent" | "human";
4139
+ label: string;
4140
+ id: string;
4141
4141
  };
4142
4142
  note?: string | undefined;
4143
4143
  }, {
4144
4144
  kind: "correction_approved";
4145
4145
  correctionId: string;
4146
4146
  approvedBy: {
4147
- id: string;
4148
- label: string;
4149
4147
  kind: "agent" | "human";
4148
+ label: string;
4149
+ id: string;
4150
4150
  };
4151
4151
  note?: string | undefined;
4152
4152
  evidence?: {
4153
- id: string;
4153
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4154
4154
  label: string;
4155
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4155
+ id: string;
4156
4156
  capture: "at_action" | "historical_lookup" | "fixture";
4157
4157
  locator?: string | undefined;
4158
4158
  }[] | undefined;
@@ -4168,24 +4168,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4168
4168
  locator: z.ZodOptional<z.ZodString>;
4169
4169
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4170
4170
  }, "strict", z.ZodTypeAny, {
4171
- id: string;
4171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
4172
  label: string;
4173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
+ id: string;
4174
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4175
4175
  locator?: string | undefined;
4176
4176
  }, {
4177
- id: string;
4177
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4178
  label: string;
4179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4179
+ id: string;
4180
4180
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4181
  locator?: string | undefined;
4182
4182
  }>, "many">>;
4183
4183
  }, "strict", z.ZodTypeAny, {
4184
4184
  kind: "decision_superseded";
4185
4185
  evidence: {
4186
- id: string;
4186
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4187
4187
  label: string;
4188
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
+ id: string;
4189
4189
  capture: "at_action" | "historical_lookup" | "fixture";
4190
4190
  locator?: string | undefined;
4191
4191
  }[];
@@ -4198,9 +4198,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4198
4198
  correctionId: string;
4199
4199
  replacementDecisionId: string;
4200
4200
  evidence?: {
4201
- id: string;
4201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4202
4202
  label: string;
4203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4203
+ id: string;
4204
4204
  capture: "at_action" | "historical_lookup" | "fixture";
4205
4205
  locator?: string | undefined;
4206
4206
  }[] | undefined;
@@ -4216,15 +4216,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4216
4216
  locator: z.ZodOptional<z.ZodString>;
4217
4217
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4218
4218
  }, "strict", z.ZodTypeAny, {
4219
- id: string;
4219
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4220
4220
  label: string;
4221
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4221
+ id: string;
4222
4222
  capture: "at_action" | "historical_lookup" | "fixture";
4223
4223
  locator?: string | undefined;
4224
4224
  }, {
4225
- id: string;
4225
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4226
4226
  label: string;
4227
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
+ id: string;
4228
4228
  capture: "at_action" | "historical_lookup" | "fixture";
4229
4229
  locator?: string | undefined;
4230
4230
  }>, "many">>;
@@ -4237,9 +4237,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4237
4237
  agentId: string;
4238
4238
  sessionId: string;
4239
4239
  evidence: {
4240
- id: string;
4240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
4241
  label: string;
4242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
+ id: string;
4243
4243
  capture: "at_action" | "historical_lookup" | "fixture";
4244
4244
  locator?: string | undefined;
4245
4245
  }[];
@@ -4255,9 +4255,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4255
4255
  recallReceiptId: string;
4256
4256
  capturedAtAction: boolean;
4257
4257
  evidence?: {
4258
- id: string;
4258
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4259
4259
  label: string;
4260
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
+ id: string;
4261
4261
  capture: "at_action" | "historical_lookup" | "fixture";
4262
4262
  locator?: string | undefined;
4263
4263
  }[] | undefined;
@@ -4273,15 +4273,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4273
4273
  locator: z.ZodOptional<z.ZodString>;
4274
4274
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4275
4275
  }, "strict", z.ZodTypeAny, {
4276
- id: string;
4276
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4277
4277
  label: string;
4278
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4278
+ id: string;
4279
4279
  capture: "at_action" | "historical_lookup" | "fixture";
4280
4280
  locator?: string | undefined;
4281
4281
  }, {
4282
- id: string;
4282
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4283
4283
  label: string;
4284
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
+ id: string;
4285
4285
  capture: "at_action" | "historical_lookup" | "fixture";
4286
4286
  locator?: string | undefined;
4287
4287
  }>, "many">>;
@@ -4293,9 +4293,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4293
4293
  agentId: string;
4294
4294
  sessionId: string;
4295
4295
  evidence: {
4296
- id: string;
4296
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
4297
  label: string;
4298
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4298
+ id: string;
4299
4299
  capture: "at_action" | "historical_lookup" | "fixture";
4300
4300
  locator?: string | undefined;
4301
4301
  }[];
@@ -4312,9 +4312,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4312
  recallReceiptId: string;
4313
4313
  staleDecisionAbsent: boolean;
4314
4314
  evidence?: {
4315
- id: string;
4315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4316
  label: string;
4317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
+ id: string;
4318
4318
  capture: "at_action" | "historical_lookup" | "fixture";
4319
4319
  locator?: string | undefined;
4320
4320
  }[] | undefined;
@@ -4329,37 +4329,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4329
4329
  locator: z.ZodOptional<z.ZodString>;
4330
4330
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4331
4331
  }, "strict", z.ZodTypeAny, {
4332
- id: string;
4332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4333
4333
  label: string;
4334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4334
+ id: string;
4335
4335
  capture: "at_action" | "historical_lookup" | "fixture";
4336
4336
  locator?: string | undefined;
4337
4337
  }, {
4338
- id: string;
4338
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4339
4339
  label: string;
4340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4340
+ id: string;
4341
4341
  capture: "at_action" | "historical_lookup" | "fixture";
4342
4342
  locator?: string | undefined;
4343
4343
  }>, "many">>;
4344
4344
  }, "strict", z.ZodTypeAny, {
4345
- summary: string;
4346
4345
  kind: "mission_completed";
4346
+ summary: string;
4347
4347
  outcome: "failed" | "recovered" | "inconclusive";
4348
4348
  evidence: {
4349
- id: string;
4349
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4350
4350
  label: string;
4351
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4351
+ id: string;
4352
4352
  capture: "at_action" | "historical_lookup" | "fixture";
4353
4353
  locator?: string | undefined;
4354
4354
  }[];
4355
4355
  }, {
4356
- summary: string;
4357
4356
  kind: "mission_completed";
4357
+ summary: string;
4358
4358
  outcome: "failed" | "recovered" | "inconclusive";
4359
4359
  evidence?: {
4360
- id: string;
4360
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4361
  label: string;
4362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4362
+ id: string;
4363
4363
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4364
  locator?: string | undefined;
4365
4365
  }[] | undefined;
@@ -4367,38 +4367,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4367
  kind: "mission_started";
4368
4368
  title: string;
4369
4369
  evidence: {
4370
- id: string;
4370
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4371
  label: string;
4372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4372
+ id: string;
4373
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4374
  locator?: string | undefined;
4375
4375
  }[];
4376
4376
  objective: string;
4377
4377
  runMode: "replay" | "fixture" | "live";
4378
4378
  } | {
4379
- label: string;
4380
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4381
4379
  kind: "agent_status";
4380
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4381
+ label: string;
4382
4382
  role: string;
4383
4383
  agentId: string;
4384
4384
  sessionId: string;
4385
4385
  evidence: {
4386
- id: string;
4386
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
4387
  label: string;
4388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4388
+ id: string;
4389
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4390
  locator?: string | undefined;
4391
4391
  }[];
4392
4392
  detail?: string | undefined;
4393
4393
  } | {
4394
- summary: string;
4395
4394
  kind: "agent_output";
4395
+ summary: string;
4396
4396
  agentId: string;
4397
4397
  sessionId: string;
4398
4398
  evidence: {
4399
- id: string;
4399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4400
4400
  label: string;
4401
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
+ id: string;
4402
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4403
4403
  locator?: string | undefined;
4404
4404
  }[];
@@ -4409,9 +4409,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4409
4409
  statement: string;
4410
4410
  sessionId: string;
4411
4411
  evidence: {
4412
- id: string;
4412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
4413
  label: string;
4414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
+ id: string;
4415
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4416
  locator?: string | undefined;
4417
4417
  }[];
@@ -4419,12 +4419,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4419
  decisionId: string;
4420
4420
  confidence?: number | undefined;
4421
4421
  } | {
4422
- summary: string;
4423
4422
  kind: "conflict_detected";
4423
+ summary: string;
4424
4424
  evidence: {
4425
- id: string;
4425
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4426
4426
  label: string;
4427
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
+ id: string;
4428
4428
  capture: "at_action" | "historical_lookup" | "fixture";
4429
4429
  locator?: string | undefined;
4430
4430
  }[];
@@ -4432,14 +4432,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4432
4432
  decisionIds: string[];
4433
4433
  agentIds: string[];
4434
4434
  } | {
4435
+ kind: "test_result";
4435
4436
  summary: string;
4436
4437
  status: "error" | "failed" | "passed";
4437
- kind: "test_result";
4438
4438
  command: string;
4439
4439
  evidence: {
4440
- id: string;
4440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4441
4441
  label: string;
4442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
+ id: string;
4443
4443
  capture: "at_action" | "historical_lookup" | "fixture";
4444
4444
  locator?: string | undefined;
4445
4445
  }[];
@@ -4452,9 +4452,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4452
4452
  statement: string;
4453
4453
  rationale: string;
4454
4454
  evidence: {
4455
- id: string;
4455
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4456
4456
  label: string;
4457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
+ id: string;
4458
4458
  capture: "at_action" | "historical_lookup" | "fixture";
4459
4459
  locator?: string | undefined;
4460
4460
  }[];
@@ -4466,25 +4466,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4466
4466
  } | {
4467
4467
  kind: "correction_approved";
4468
4468
  evidence: {
4469
- id: string;
4469
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4470
4470
  label: string;
4471
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
+ id: string;
4472
4472
  capture: "at_action" | "historical_lookup" | "fixture";
4473
4473
  locator?: string | undefined;
4474
4474
  }[];
4475
4475
  correctionId: string;
4476
4476
  approvedBy: {
4477
- id: string;
4478
- label: string;
4479
4477
  kind: "agent" | "human";
4478
+ label: string;
4479
+ id: string;
4480
4480
  };
4481
4481
  note?: string | undefined;
4482
4482
  } | {
4483
4483
  kind: "decision_superseded";
4484
4484
  evidence: {
4485
- id: string;
4485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
4486
  label: string;
4487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4487
+ id: string;
4488
4488
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4489
  locator?: string | undefined;
4490
4490
  }[];
@@ -4497,9 +4497,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4497
4497
  agentId: string;
4498
4498
  sessionId: string;
4499
4499
  evidence: {
4500
- id: string;
4500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
4501
  label: string;
4502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4502
+ id: string;
4503
4503
  capture: "at_action" | "historical_lookup" | "fixture";
4504
4504
  locator?: string | undefined;
4505
4505
  }[];
@@ -4511,9 +4511,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4511
4511
  agentId: string;
4512
4512
  sessionId: string;
4513
4513
  evidence: {
4514
- id: string;
4514
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4515
4515
  label: string;
4516
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
+ id: string;
4517
4517
  capture: "at_action" | "historical_lookup" | "fixture";
4518
4518
  locator?: string | undefined;
4519
4519
  }[];
@@ -4522,13 +4522,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4522
4522
  recallReceiptId: string;
4523
4523
  staleDecisionAbsent: boolean;
4524
4524
  } | {
4525
- summary: string;
4526
4525
  kind: "mission_completed";
4526
+ summary: string;
4527
4527
  outcome: "failed" | "recovered" | "inconclusive";
4528
4528
  evidence: {
4529
- id: string;
4529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4530
4530
  label: string;
4531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
+ id: string;
4532
4532
  capture: "at_action" | "historical_lookup" | "fixture";
4533
4533
  locator?: string | undefined;
4534
4534
  }[];
@@ -4538,37 +4538,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4538
4538
  objective: string;
4539
4539
  runMode: "replay" | "fixture" | "live";
4540
4540
  evidence?: {
4541
- id: string;
4541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4542
4542
  label: string;
4543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
+ id: string;
4544
4544
  capture: "at_action" | "historical_lookup" | "fixture";
4545
4545
  locator?: string | undefined;
4546
4546
  }[] | undefined;
4547
4547
  } | {
4548
- label: string;
4549
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4550
4548
  kind: "agent_status";
4549
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4550
+ label: string;
4551
4551
  role: string;
4552
4552
  agentId: string;
4553
4553
  sessionId: string;
4554
4554
  detail?: string | undefined;
4555
4555
  evidence?: {
4556
- id: string;
4556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4557
4557
  label: string;
4558
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
+ id: string;
4559
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4560
4560
  locator?: string | undefined;
4561
4561
  }[] | undefined;
4562
4562
  } | {
4563
- summary: string;
4564
4563
  kind: "agent_output";
4564
+ summary: string;
4565
4565
  agentId: string;
4566
4566
  sessionId: string;
4567
4567
  outputId: string;
4568
4568
  evidence?: {
4569
- id: string;
4569
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
4570
  label: string;
4571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4571
+ id: string;
4572
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4573
4573
  locator?: string | undefined;
4574
4574
  }[] | undefined;
@@ -4581,37 +4581,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4581
4581
  decisionId: string;
4582
4582
  confidence?: number | undefined;
4583
4583
  evidence?: {
4584
- id: string;
4584
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
4585
  label: string;
4586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4586
+ id: string;
4587
4587
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4588
  locator?: string | undefined;
4589
4589
  }[] | undefined;
4590
4590
  } | {
4591
- summary: string;
4592
4591
  kind: "conflict_detected";
4592
+ summary: string;
4593
4593
  conflictId: string;
4594
4594
  decisionIds: string[];
4595
4595
  agentIds: string[];
4596
4596
  evidence?: {
4597
- id: string;
4597
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
4598
  label: string;
4599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4599
+ id: string;
4600
4600
  capture: "at_action" | "historical_lookup" | "fixture";
4601
4601
  locator?: string | undefined;
4602
4602
  }[] | undefined;
4603
4603
  } | {
4604
+ kind: "test_result";
4604
4605
  summary: string;
4605
4606
  status: "error" | "failed" | "passed";
4606
- kind: "test_result";
4607
4607
  command: string;
4608
4608
  decisionId: string;
4609
4609
  testId: string;
4610
4610
  durationMs?: number | undefined;
4611
4611
  evidence?: {
4612
- id: string;
4612
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
4613
  label: string;
4614
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
+ id: string;
4615
4615
  capture: "at_action" | "historical_lookup" | "fixture";
4616
4616
  locator?: string | undefined;
4617
4617
  }[] | undefined;
@@ -4626,9 +4626,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4626
4626
  supersedesDecisionIds: string[];
4627
4627
  proposedBy: string;
4628
4628
  evidence?: {
4629
- id: string;
4629
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4630
4630
  label: string;
4631
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4631
+ id: string;
4632
4632
  capture: "at_action" | "historical_lookup" | "fixture";
4633
4633
  locator?: string | undefined;
4634
4634
  }[] | undefined;
@@ -4636,15 +4636,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4636
4636
  kind: "correction_approved";
4637
4637
  correctionId: string;
4638
4638
  approvedBy: {
4639
- id: string;
4640
- label: string;
4641
4639
  kind: "agent" | "human";
4640
+ label: string;
4641
+ id: string;
4642
4642
  };
4643
4643
  note?: string | undefined;
4644
4644
  evidence?: {
4645
- id: string;
4645
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4646
4646
  label: string;
4647
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
+ id: string;
4648
4648
  capture: "at_action" | "historical_lookup" | "fixture";
4649
4649
  locator?: string | undefined;
4650
4650
  }[] | undefined;
@@ -4654,9 +4654,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4654
4654
  correctionId: string;
4655
4655
  replacementDecisionId: string;
4656
4656
  evidence?: {
4657
- id: string;
4657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
4658
  label: string;
4659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4659
+ id: string;
4660
4660
  capture: "at_action" | "historical_lookup" | "fixture";
4661
4661
  locator?: string | undefined;
4662
4662
  }[] | undefined;
@@ -4669,9 +4669,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4669
4669
  recallReceiptId: string;
4670
4670
  capturedAtAction: boolean;
4671
4671
  evidence?: {
4672
- id: string;
4672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4673
4673
  label: string;
4674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4674
+ id: string;
4675
4675
  capture: "at_action" | "historical_lookup" | "fixture";
4676
4676
  locator?: string | undefined;
4677
4677
  }[] | undefined;
@@ -4684,64 +4684,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4684
4684
  recallReceiptId: string;
4685
4685
  staleDecisionAbsent: boolean;
4686
4686
  evidence?: {
4687
- id: string;
4687
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4688
4688
  label: string;
4689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4689
+ id: string;
4690
4690
  capture: "at_action" | "historical_lookup" | "fixture";
4691
4691
  locator?: string | undefined;
4692
4692
  }[] | undefined;
4693
4693
  } | {
4694
- summary: string;
4695
4694
  kind: "mission_completed";
4695
+ summary: string;
4696
4696
  outcome: "failed" | "recovered" | "inconclusive";
4697
4697
  evidence?: {
4698
- id: string;
4698
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4699
4699
  label: string;
4700
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4700
+ id: string;
4701
4701
  capture: "at_action" | "historical_lookup" | "fixture";
4702
4702
  locator?: string | undefined;
4703
4703
  }[] | undefined;
4704
4704
  }>;
4705
4705
  }, "strict", z.ZodTypeAny, {
4706
- namespace: string;
4707
- recordedAt: string;
4708
4706
  schemaVersion: "1";
4707
+ recordedAt: string;
4709
4708
  payload: {
4710
4709
  kind: "mission_started";
4711
4710
  title: string;
4712
4711
  evidence: {
4713
- id: string;
4712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4714
4713
  label: string;
4715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4714
+ id: string;
4716
4715
  capture: "at_action" | "historical_lookup" | "fixture";
4717
4716
  locator?: string | undefined;
4718
4717
  }[];
4719
4718
  objective: string;
4720
4719
  runMode: "replay" | "fixture" | "live";
4721
4720
  } | {
4722
- label: string;
4723
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4724
4721
  kind: "agent_status";
4722
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4723
+ label: string;
4725
4724
  role: string;
4726
4725
  agentId: string;
4727
4726
  sessionId: string;
4728
4727
  evidence: {
4729
- id: string;
4728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4730
4729
  label: string;
4731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4730
+ id: string;
4732
4731
  capture: "at_action" | "historical_lookup" | "fixture";
4733
4732
  locator?: string | undefined;
4734
4733
  }[];
4735
4734
  detail?: string | undefined;
4736
4735
  } | {
4737
- summary: string;
4738
4736
  kind: "agent_output";
4737
+ summary: string;
4739
4738
  agentId: string;
4740
4739
  sessionId: string;
4741
4740
  evidence: {
4742
- id: string;
4741
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4743
4742
  label: string;
4744
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4743
+ id: string;
4745
4744
  capture: "at_action" | "historical_lookup" | "fixture";
4746
4745
  locator?: string | undefined;
4747
4746
  }[];
@@ -4752,9 +4751,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4752
4751
  statement: string;
4753
4752
  sessionId: string;
4754
4753
  evidence: {
4755
- id: string;
4754
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4756
4755
  label: string;
4757
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4756
+ id: string;
4758
4757
  capture: "at_action" | "historical_lookup" | "fixture";
4759
4758
  locator?: string | undefined;
4760
4759
  }[];
@@ -4762,12 +4761,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4762
4761
  decisionId: string;
4763
4762
  confidence?: number | undefined;
4764
4763
  } | {
4765
- summary: string;
4766
4764
  kind: "conflict_detected";
4765
+ summary: string;
4767
4766
  evidence: {
4768
- id: string;
4767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4769
4768
  label: string;
4770
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4769
+ id: string;
4771
4770
  capture: "at_action" | "historical_lookup" | "fixture";
4772
4771
  locator?: string | undefined;
4773
4772
  }[];
@@ -4775,14 +4774,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4775
4774
  decisionIds: string[];
4776
4775
  agentIds: string[];
4777
4776
  } | {
4777
+ kind: "test_result";
4778
4778
  summary: string;
4779
4779
  status: "error" | "failed" | "passed";
4780
- kind: "test_result";
4781
4780
  command: string;
4782
4781
  evidence: {
4783
- id: string;
4782
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4784
4783
  label: string;
4785
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4784
+ id: string;
4786
4785
  capture: "at_action" | "historical_lookup" | "fixture";
4787
4786
  locator?: string | undefined;
4788
4787
  }[];
@@ -4795,9 +4794,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4795
4794
  statement: string;
4796
4795
  rationale: string;
4797
4796
  evidence: {
4798
- id: string;
4797
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4799
4798
  label: string;
4800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4799
+ id: string;
4801
4800
  capture: "at_action" | "historical_lookup" | "fixture";
4802
4801
  locator?: string | undefined;
4803
4802
  }[];
@@ -4809,25 +4808,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4809
4808
  } | {
4810
4809
  kind: "correction_approved";
4811
4810
  evidence: {
4812
- id: string;
4811
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4813
4812
  label: string;
4814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4813
+ id: string;
4815
4814
  capture: "at_action" | "historical_lookup" | "fixture";
4816
4815
  locator?: string | undefined;
4817
4816
  }[];
4818
4817
  correctionId: string;
4819
4818
  approvedBy: {
4820
- id: string;
4821
- label: string;
4822
4819
  kind: "agent" | "human";
4820
+ label: string;
4821
+ id: string;
4823
4822
  };
4824
4823
  note?: string | undefined;
4825
4824
  } | {
4826
4825
  kind: "decision_superseded";
4827
4826
  evidence: {
4828
- id: string;
4827
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4829
4828
  label: string;
4830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4829
+ id: string;
4831
4830
  capture: "at_action" | "historical_lookup" | "fixture";
4832
4831
  locator?: string | undefined;
4833
4832
  }[];
@@ -4840,9 +4839,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4840
4839
  agentId: string;
4841
4840
  sessionId: string;
4842
4841
  evidence: {
4843
- id: string;
4842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4844
4843
  label: string;
4845
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4844
+ id: string;
4846
4845
  capture: "at_action" | "historical_lookup" | "fixture";
4847
4846
  locator?: string | undefined;
4848
4847
  }[];
@@ -4854,9 +4853,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4854
4853
  agentId: string;
4855
4854
  sessionId: string;
4856
4855
  evidence: {
4857
- id: string;
4856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4858
4857
  label: string;
4859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4858
+ id: string;
4860
4859
  capture: "at_action" | "historical_lookup" | "fixture";
4861
4860
  locator?: string | undefined;
4862
4861
  }[];
@@ -4865,63 +4864,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4865
4864
  recallReceiptId: string;
4866
4865
  staleDecisionAbsent: boolean;
4867
4866
  } | {
4868
- summary: string;
4869
4867
  kind: "mission_completed";
4868
+ summary: string;
4870
4869
  outcome: "failed" | "recovered" | "inconclusive";
4871
4870
  evidence: {
4872
- id: string;
4871
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4873
4872
  label: string;
4874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4873
+ id: string;
4875
4874
  capture: "at_action" | "historical_lookup" | "fixture";
4876
4875
  locator?: string | undefined;
4877
4876
  }[];
4878
4877
  };
4878
+ namespace: string;
4879
4879
  eventId: string;
4880
4880
  occurredAt: string;
4881
4881
  missionId: string;
4882
4882
  idempotencyKey?: string | undefined;
4883
4883
  authenticatedPrincipal?: string | undefined;
4884
4884
  }, {
4885
- namespace: string;
4886
- recordedAt: string;
4887
4885
  schemaVersion: "1";
4886
+ recordedAt: string;
4888
4887
  payload: {
4889
4888
  kind: "mission_started";
4890
4889
  title: string;
4891
4890
  objective: string;
4892
4891
  runMode: "replay" | "fixture" | "live";
4893
4892
  evidence?: {
4894
- id: string;
4893
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4895
4894
  label: string;
4896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4895
+ id: string;
4897
4896
  capture: "at_action" | "historical_lookup" | "fixture";
4898
4897
  locator?: string | undefined;
4899
4898
  }[] | undefined;
4900
4899
  } | {
4901
- label: string;
4902
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4903
4900
  kind: "agent_status";
4901
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4902
+ label: string;
4904
4903
  role: string;
4905
4904
  agentId: string;
4906
4905
  sessionId: string;
4907
4906
  detail?: string | undefined;
4908
4907
  evidence?: {
4909
- id: string;
4908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4910
4909
  label: string;
4911
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4910
+ id: string;
4912
4911
  capture: "at_action" | "historical_lookup" | "fixture";
4913
4912
  locator?: string | undefined;
4914
4913
  }[] | undefined;
4915
4914
  } | {
4916
- summary: string;
4917
4915
  kind: "agent_output";
4916
+ summary: string;
4918
4917
  agentId: string;
4919
4918
  sessionId: string;
4920
4919
  outputId: string;
4921
4920
  evidence?: {
4922
- id: string;
4921
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4923
4922
  label: string;
4924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4923
+ id: string;
4925
4924
  capture: "at_action" | "historical_lookup" | "fixture";
4926
4925
  locator?: string | undefined;
4927
4926
  }[] | undefined;
@@ -4934,37 +4933,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4934
4933
  decisionId: string;
4935
4934
  confidence?: number | undefined;
4936
4935
  evidence?: {
4937
- id: string;
4936
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4938
4937
  label: string;
4939
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4938
+ id: string;
4940
4939
  capture: "at_action" | "historical_lookup" | "fixture";
4941
4940
  locator?: string | undefined;
4942
4941
  }[] | undefined;
4943
4942
  } | {
4944
- summary: string;
4945
4943
  kind: "conflict_detected";
4944
+ summary: string;
4946
4945
  conflictId: string;
4947
4946
  decisionIds: string[];
4948
4947
  agentIds: string[];
4949
4948
  evidence?: {
4950
- id: string;
4949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4951
4950
  label: string;
4952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4951
+ id: string;
4953
4952
  capture: "at_action" | "historical_lookup" | "fixture";
4954
4953
  locator?: string | undefined;
4955
4954
  }[] | undefined;
4956
4955
  } | {
4956
+ kind: "test_result";
4957
4957
  summary: string;
4958
4958
  status: "error" | "failed" | "passed";
4959
- kind: "test_result";
4960
4959
  command: string;
4961
4960
  decisionId: string;
4962
4961
  testId: string;
4963
4962
  durationMs?: number | undefined;
4964
4963
  evidence?: {
4965
- id: string;
4964
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4966
4965
  label: string;
4967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4966
+ id: string;
4968
4967
  capture: "at_action" | "historical_lookup" | "fixture";
4969
4968
  locator?: string | undefined;
4970
4969
  }[] | undefined;
@@ -4979,9 +4978,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4979
4978
  supersedesDecisionIds: string[];
4980
4979
  proposedBy: string;
4981
4980
  evidence?: {
4982
- id: string;
4981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4983
4982
  label: string;
4984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4983
+ id: string;
4985
4984
  capture: "at_action" | "historical_lookup" | "fixture";
4986
4985
  locator?: string | undefined;
4987
4986
  }[] | undefined;
@@ -4989,15 +4988,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4989
4988
  kind: "correction_approved";
4990
4989
  correctionId: string;
4991
4990
  approvedBy: {
4992
- id: string;
4993
- label: string;
4994
4991
  kind: "agent" | "human";
4992
+ label: string;
4993
+ id: string;
4995
4994
  };
4996
4995
  note?: string | undefined;
4997
4996
  evidence?: {
4998
- id: string;
4997
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4999
4998
  label: string;
5000
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4999
+ id: string;
5001
5000
  capture: "at_action" | "historical_lookup" | "fixture";
5002
5001
  locator?: string | undefined;
5003
5002
  }[] | undefined;
@@ -5007,9 +5006,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5007
5006
  correctionId: string;
5008
5007
  replacementDecisionId: string;
5009
5008
  evidence?: {
5010
- id: string;
5009
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5011
5010
  label: string;
5012
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5011
+ id: string;
5013
5012
  capture: "at_action" | "historical_lookup" | "fixture";
5014
5013
  locator?: string | undefined;
5015
5014
  }[] | undefined;
@@ -5022,9 +5021,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5022
5021
  recallReceiptId: string;
5023
5022
  capturedAtAction: boolean;
5024
5023
  evidence?: {
5025
- id: string;
5024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5026
5025
  label: string;
5027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5026
+ id: string;
5028
5027
  capture: "at_action" | "historical_lookup" | "fixture";
5029
5028
  locator?: string | undefined;
5030
5029
  }[] | undefined;
@@ -5037,24 +5036,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5037
5036
  recallReceiptId: string;
5038
5037
  staleDecisionAbsent: boolean;
5039
5038
  evidence?: {
5040
- id: string;
5039
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5041
5040
  label: string;
5042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5041
+ id: string;
5043
5042
  capture: "at_action" | "historical_lookup" | "fixture";
5044
5043
  locator?: string | undefined;
5045
5044
  }[] | undefined;
5046
5045
  } | {
5047
- summary: string;
5048
5046
  kind: "mission_completed";
5047
+ summary: string;
5049
5048
  outcome: "failed" | "recovered" | "inconclusive";
5050
5049
  evidence?: {
5051
- id: string;
5050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5052
5051
  label: string;
5053
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5052
+ id: string;
5054
5053
  capture: "at_action" | "historical_lookup" | "fixture";
5055
5054
  locator?: string | undefined;
5056
5055
  }[] | undefined;
5057
5056
  };
5057
+ namespace: string;
5058
5058
  eventId: string;
5059
5059
  occurredAt: string;
5060
5060
  missionId: string;