@remnic/core 9.69.34 → 9.69.36

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 (449) hide show
  1. package/dist/access-admin-ops-surface.d.ts +13 -12
  2. package/dist/access-admin-ops-surface.js +23 -23
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +13 -12
  5. package/dist/access-authorization-probe.js +24 -24
  6. package/dist/access-boundary.d.ts +13 -12
  7. package/dist/access-boundary.js +23 -23
  8. package/dist/access-cli.js +70 -70
  9. package/dist/access-coding-context-resolution.d.ts +2 -1
  10. package/dist/access-extraction-force-flush.d.ts +13 -12
  11. package/dist/access-extraction-force-flush.js +23 -23
  12. package/dist/access-health-types.d.ts +2 -1
  13. package/dist/access-http-briefing.d.ts +13 -12
  14. package/dist/access-http-briefing.js +24 -24
  15. package/dist/access-http-lcm-compaction.d.ts +13 -12
  16. package/dist/access-http-lifecycle-flush.d.ts +13 -12
  17. package/dist/access-http-offline-stream.d.ts +13 -12
  18. package/dist/access-http-query.d.ts +3 -2
  19. package/dist/access-http-query.js +25 -25
  20. package/dist/access-http.d.ts +14 -13
  21. package/dist/access-http.js +37 -37
  22. package/dist/access-identity-continuity-surface.d.ts +11 -10
  23. package/dist/access-identity-continuity-surface.js +23 -23
  24. package/dist/access-lcm-surface.d.ts +13 -12
  25. package/dist/access-lcm-surface.js +23 -23
  26. package/dist/access-mcp.d.ts +13 -12
  27. package/dist/access-mcp.js +30 -30
  28. package/dist/access-memory-search-fanout.d.ts +3 -2
  29. package/dist/{access-namespace-preflight-kXG8MvYx.d.ts → access-namespace-preflight-D8qri11P.d.ts} +1 -1
  30. package/dist/access-namespace-preflight.d.ts +4 -3
  31. package/dist/access-namespace-preflight.js +23 -23
  32. package/dist/access-observe-transcript.d.ts +11 -10
  33. package/dist/access-observe-write-surface.d.ts +13 -12
  34. package/dist/access-observe-write-surface.js +23 -23
  35. package/dist/access-offline-manifest.d.ts +11 -10
  36. package/dist/access-operations-batch.js +24 -24
  37. package/dist/access-operations.d.ts +17 -16
  38. package/dist/access-operations.js +29 -29
  39. package/dist/access-recall-concurrency.d.ts +13 -12
  40. package/dist/access-recall-concurrency.js +23 -23
  41. package/dist/access-recall-response.d.ts +13 -12
  42. package/dist/access-recall-response.js +23 -23
  43. package/dist/access-recall-surface.d.ts +13 -12
  44. package/dist/access-recall-surface.js +23 -23
  45. package/dist/access-schema.d.ts +91 -90
  46. package/dist/{access-service-WUm2LnXZ.d.ts → access-service-Cl_x57xR.d.ts} +71 -71
  47. package/dist/access-service-helpers.d.ts +13 -12
  48. package/dist/access-service.d.ts +13 -12
  49. package/dist/access-service.js +23 -23
  50. package/dist/access-surface-catalog.d.ts +13 -12
  51. package/dist/access-surface-catalog.js +25 -25
  52. package/dist/access-wearables-meetings-surface.d.ts +4 -3
  53. package/dist/action-confidence.d.ts +2 -1
  54. package/dist/active-memory-bridge.d.ts +2 -1
  55. package/dist/active-recall.d.ts +2 -1
  56. package/dist/active-recall.js +1 -1
  57. package/dist/activity/digest.d.ts +2 -1
  58. package/dist/ambient-provenance.d.ts +2 -1
  59. package/dist/artifact-search.d.ts +2 -1
  60. package/dist/behavior-learner.d.ts +2 -1
  61. package/dist/behavior-signals.d.ts +2 -1
  62. package/dist/bootstrap.d.ts +11 -10
  63. package/dist/briefing-window.d.ts +3 -2
  64. package/dist/briefing.d.ts +3 -2
  65. package/dist/briefing.js +7 -7
  66. package/dist/buffer-surprise-report.d.ts +2 -1
  67. package/dist/buffer-turn-helpers.d.ts +2 -1
  68. package/dist/buffer.d.ts +3 -2
  69. package/dist/bulk-import/index.d.ts +4 -3
  70. package/dist/calibration.d.ts +2 -1
  71. package/dist/capabilities.d.ts +2 -1
  72. package/dist/{catalog-BaCx29iv.d.ts → catalog-Bq1AxZwF.d.ts} +1 -1
  73. package/dist/causal-behavior.d.ts +2 -1
  74. package/dist/causal-consolidation.d.ts +2 -1
  75. package/dist/causal-consolidation.js +8 -8
  76. package/dist/causal-trajectory-graph.d.ts +2 -1
  77. package/dist/{chunk-7CAY3YKP.js → chunk-2BQ4ZIWC.js} +6 -6
  78. package/dist/{chunk-5SDSVX7N.js → chunk-2YLMUME2.js} +2 -2
  79. package/dist/{chunk-UEZKN6VR.js → chunk-3FJKJ5UZ.js} +2 -2
  80. package/dist/{chunk-Q6LCCIZN.js → chunk-4MDKNUV4.js} +1 -1
  81. package/dist/chunk-4MDKNUV4.js.map +1 -0
  82. package/dist/{chunk-XQU3CPF2.js → chunk-5JG5EBVL.js} +2 -2
  83. package/dist/{chunk-ZMKYCFJ7.js → chunk-5VAF4ID4.js} +6 -6
  84. package/dist/{chunk-W5BLTZZJ.js → chunk-6J6K3STG.js} +5 -5
  85. package/dist/{chunk-5QBDLMGG.js → chunk-776GVKL7.js} +2 -2
  86. package/dist/{chunk-AQIRQUCP.js → chunk-AZSKROVQ.js} +2 -2
  87. package/dist/{chunk-757NP436.js → chunk-BJETIR53.js} +3 -3
  88. package/dist/{chunk-RR7G2X7C.js → chunk-CNV2A557.js} +2 -2
  89. package/dist/{chunk-VIZR45AN.js → chunk-DK4X5B6I.js} +2 -2
  90. package/dist/{chunk-SZWEDG3H.js → chunk-DVOBLPSQ.js} +11 -2
  91. package/dist/chunk-DVOBLPSQ.js.map +1 -0
  92. package/dist/{chunk-IFFLUCCU.js → chunk-ECKG5WSI.js} +2 -2
  93. package/dist/{chunk-4PB2MBY6.js → chunk-EEBQFG5E.js} +8 -8
  94. package/dist/{chunk-ISYZ5DUI.js → chunk-F6IVBYFS.js} +32 -32
  95. package/dist/{chunk-QLJ6762U.js → chunk-FVJ4D6L7.js} +1 -1
  96. package/dist/{chunk-X424T5JQ.js → chunk-GLZH5VEN.js} +2 -2
  97. package/dist/{chunk-AXFR2NQ5.js → chunk-HC4GFLMQ.js} +3 -3
  98. package/dist/{chunk-S76KRJDG.js → chunk-HUT2JR6I.js} +2 -2
  99. package/dist/{chunk-4WCNPQQ5.js → chunk-HXSAWV3A.js} +3 -3
  100. package/dist/{chunk-2UZ5ZH6W.js → chunk-J7PB5UQ4.js} +2 -2
  101. package/dist/{chunk-5A7ZUOBA.js → chunk-JHZCXUQI.js} +15 -15
  102. package/dist/{chunk-2JCA2PQT.js → chunk-JR6H5CYS.js} +2 -2
  103. package/dist/{chunk-BJJWRWER.js → chunk-JR6PP7UM.js} +2 -2
  104. package/dist/{chunk-4JVQRFZD.js → chunk-JRWW7GM6.js} +4 -4
  105. package/dist/{chunk-CRUFVJOX.js → chunk-JSRVXI6E.js} +3 -3
  106. package/dist/{chunk-OZUXKUPD.js → chunk-JZ2CHRLB.js} +2 -2
  107. package/dist/{chunk-MMG5K6XJ.js → chunk-L2WQVSKP.js} +2 -2
  108. package/dist/{chunk-T2YFZ27G.js → chunk-LEMD7WZJ.js} +2 -2
  109. package/dist/{chunk-2AU4D4HQ.js → chunk-LNDLXMH6.js} +2 -2
  110. package/dist/{chunk-36UBSLFN.js → chunk-LYDJRF45.js} +2 -2
  111. package/dist/{chunk-LAVJC57X.js → chunk-MVAQ2WM3.js} +4 -4
  112. package/dist/{chunk-AIKTQVV3.js → chunk-NN4JEFON.js} +2 -2
  113. package/dist/{chunk-QF4J3KMV.js → chunk-OQ7SSRXP.js} +11 -11
  114. package/dist/{chunk-KDJHLOZP.js → chunk-OS2AT2JU.js} +3 -3
  115. package/dist/{chunk-C2BFTYD7.js → chunk-P3ONDDIJ.js} +2 -2
  116. package/dist/{chunk-A7WOWDZK.js → chunk-PHP3MUGF.js} +2 -2
  117. package/dist/{chunk-34QW2LK2.js → chunk-QATYVTP7.js} +2 -2
  118. package/dist/{chunk-PEXW2JCK.js → chunk-QBLDCI6E.js} +2 -2
  119. package/dist/{chunk-KYGOQV37.js → chunk-QURNMKME.js} +2 -2
  120. package/dist/{chunk-6XYC7NM4.js → chunk-RRZKTSFG.js} +2 -2
  121. package/dist/{chunk-EJIEQOPB.js → chunk-RUXPVSML.js} +2 -2
  122. package/dist/{chunk-APFKZVJS.js → chunk-TKFSXDOB.js} +2 -2
  123. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  124. package/dist/{chunk-RQO3J4MR.js → chunk-UDZYNIDJ.js} +2 -2
  125. package/dist/{chunk-7J2CGXG3.js → chunk-UYUCCQ46.js} +2 -2
  126. package/dist/{chunk-Z7YDVHDI.js → chunk-VYXDUPYE.js} +2 -2
  127. package/dist/{chunk-TWYTGIBR.js → chunk-WHHEPAO3.js} +3 -3
  128. package/dist/{chunk-K6IPSW5B.js → chunk-WPDKBUWX.js} +2 -2
  129. package/dist/{chunk-JZDH2ZZK.js → chunk-XCOV45MO.js} +2 -2
  130. package/dist/{chunk-6YAIN5XJ.js → chunk-Y63ZFP4X.js} +2 -2
  131. package/dist/{chunk-4MIS4CQW.js → chunk-YJ6VCDMZ.js} +2 -2
  132. package/dist/{chunk-6CCRSQWT.js → chunk-YNN26CIZ.js} +2 -2
  133. package/dist/{chunk-5THU7NFP.js → chunk-Z7ACR6MJ.js} +2 -2
  134. package/dist/{chunk-D3IZCN5P.js → chunk-ZBEGS7OB.js} +3 -3
  135. package/dist/{chunk-ND2O2PVN.js → chunk-ZTG4P7NZ.js} +32 -32
  136. package/dist/{cli-5mTYh1Tn.d.ts → cli-p813oxbm.d.ts} +5 -5
  137. package/dist/cli.d.ts +15 -14
  138. package/dist/cli.js +55 -55
  139. package/dist/coding/export-okf-codegraph.d.ts +2 -1
  140. package/dist/coding/export-okf-codegraph.js +6 -6
  141. package/dist/coding/pre-action-gate.d.ts +2 -1
  142. package/dist/compounding/engine.d.ts +3 -2
  143. package/dist/compounding/engine.js +7 -7
  144. package/dist/compounding/preference-consolidator.d.ts +2 -1
  145. package/dist/compression-optimizer.d.ts +2 -1
  146. package/dist/config.d.ts +2 -1
  147. package/dist/config.js +1 -1
  148. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  149. package/dist/connectors/codex-materialize-runner.js +7 -7
  150. package/dist/connectors/codex-materialize.d.ts +2 -1
  151. package/dist/connectors/index.d.ts +2 -1
  152. package/dist/connectors/index.js +7 -7
  153. package/dist/consolidation-provenance-check.d.ts +3 -2
  154. package/dist/consolidation-undo.d.ts +3 -2
  155. package/dist/contradiction/index.d.ts +4 -3
  156. package/dist/converge-config.d.ts +2 -1
  157. package/dist/convergence-refresh.d.ts +3 -2
  158. package/dist/convergence-refresh.js +9 -9
  159. package/dist/conversation-index/backend.d.ts +2 -1
  160. package/dist/conversation-index/chunker.d.ts +2 -1
  161. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  162. package/dist/conversation-index/indexer.d.ts +2 -1
  163. package/dist/conversation-index/search.d.ts +2 -1
  164. package/dist/corpus-watermark.d.ts +2 -1
  165. package/dist/corpus-watermark.js +9 -9
  166. package/dist/cross-lingual-recall.d.ts +2 -1
  167. package/dist/day-summary.d.ts +2 -1
  168. package/dist/deep-recall-http-glue.d.ts +13 -12
  169. package/dist/deep-recall-mcp-tools.d.ts +13 -12
  170. package/dist/deep-recall-policy-llm.d.ts +2 -1
  171. package/dist/deep-recall-seeds.d.ts +2 -1
  172. package/dist/delinearize.d.ts +2 -1
  173. package/dist/dependency-propagation-config.d.ts +2 -1
  174. package/dist/{dependency-propagation-delivery-CDQCxNll.d.ts → dependency-propagation-delivery-DLiAtj25.d.ts} +1 -1
  175. package/dist/direct-answer-wiring.d.ts +2 -1
  176. package/dist/direct-answer.d.ts +2 -1
  177. package/dist/embedding-fallback.d.ts +2 -1
  178. package/dist/enrichment/index.d.ts +2 -1
  179. package/dist/entity-origin-fields.d.ts +2 -1
  180. package/dist/entity-retrieval.d.ts +3 -2
  181. package/dist/entity-retrieval.js +7 -7
  182. package/dist/entity-schema.d.ts +2 -1
  183. package/dist/episodic-context.d.ts +2 -1
  184. package/dist/eval-trajectory-contracts.d.ts +2 -1
  185. package/dist/eval-trajectory-store.d.ts +2 -1
  186. package/dist/eval-trajectory.d.ts +2 -1
  187. package/dist/explicit-capture.d.ts +11 -10
  188. package/dist/external-wiki-access.d.ts +13 -12
  189. package/dist/external-wiki-access.js +24 -24
  190. package/dist/external-wiki-collection-registration.d.ts +2 -1
  191. package/dist/external-wiki-collection.d.ts +2 -1
  192. package/dist/external-wiki-mcp-tools.d.ts +13 -12
  193. package/dist/extraction-error-classification.d.ts +2 -1
  194. package/dist/extraction-faithfulness.d.ts +2 -1
  195. package/dist/extraction-judge-telemetry.d.ts +2 -1
  196. package/dist/extraction-judge-training.d.ts +2 -1
  197. package/dist/extraction-judge.d.ts +2 -1
  198. package/dist/extraction-liveness.d.ts +2 -1
  199. package/dist/extraction-normalization.d.ts +2 -1
  200. package/dist/extraction-prompt.d.ts +2 -1
  201. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  202. package/dist/extraction-source-grounding.d.ts +2 -1
  203. package/dist/extraction.d.ts +2 -1
  204. package/dist/extraction.js +10 -10
  205. package/dist/fallback-llm.d.ts +2 -1
  206. package/dist/{generic-recall-paths-CqAZyXKX.d.ts → generic-recall-paths-DbitKJI5.d.ts} +1 -1
  207. package/dist/graph-append-error.d.ts +2 -1
  208. package/dist/graph-dashboard-diff.d.ts +2 -1
  209. package/dist/graph-dashboard-key.d.ts +2 -1
  210. package/dist/graph-dashboard-parser.d.ts +2 -1
  211. package/dist/graph-edge-reinforcement.d.ts +2 -1
  212. package/dist/graph-jsonl.d.ts +2 -1
  213. package/dist/graph-path-reconstruction.d.ts +2 -1
  214. package/dist/graph-path-scoring.d.ts +2 -1
  215. package/dist/graph-snapshot.d.ts +2 -1
  216. package/dist/graph.d.ts +2 -1
  217. package/dist/harmonic-retrieval.js +1 -1
  218. package/dist/importance.d.ts +2 -1
  219. package/dist/importers/index.d.ts +2 -1
  220. package/dist/importers/test-utils.d.ts +2 -1
  221. package/dist/in-flight-reads.d.ts +2 -1
  222. package/dist/{index-BNluTxBp.d.ts → index-BINUgPFo.d.ts} +2 -2
  223. package/dist/index.d.ts +701 -700
  224. package/dist/index.js +70 -70
  225. package/dist/intent.d.ts +2 -1
  226. package/dist/lcm/engine.d.ts +2 -1
  227. package/dist/lcm/index.d.ts +2 -1
  228. package/dist/lcm/index.js +3 -3
  229. package/dist/lcm/tools.d.ts +2 -1
  230. package/dist/lifecycle.d.ts +2 -1
  231. package/dist/live-connectors-runner.d.ts +2 -1
  232. package/dist/local-llm-config.d.ts +26 -0
  233. package/dist/local-llm-config.js +1 -0
  234. package/dist/local-llm-config.js.map +1 -0
  235. package/dist/local-llm.d.ts +2 -1
  236. package/dist/local-llm.js +2 -2
  237. package/dist/local-model-endpoint.d.ts +2 -1
  238. package/dist/location/index.d.ts +4 -3
  239. package/dist/location/index.js +9 -9
  240. package/dist/maintenance/memory-governance.d.ts +2 -1
  241. package/dist/maintenance/memory-governance.js +7 -7
  242. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  243. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
  244. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  245. package/dist/maintenance/rebuild-memory-projection.js +8 -8
  246. package/dist/{maintenance-8hmWOMY_.d.ts → maintenance-ag1gYztC.d.ts} +3 -3
  247. package/dist/mcp-memory-inspector-app.d.ts +13 -12
  248. package/dist/memory-action-policy.d.ts +2 -1
  249. package/dist/memory-cache.d.ts +2 -1
  250. package/dist/memory-controller.d.ts +2 -1
  251. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  252. package/dist/memory-projection-store.d.ts +2 -1
  253. package/dist/memory-provenance.d.ts +2 -1
  254. package/dist/memory-snapshot.d.ts +2 -1
  255. package/dist/memory-subject-cli.d.ts +13 -12
  256. package/dist/memory-subject.d.ts +13 -12
  257. package/dist/memory-worth-outcomes.d.ts +3 -2
  258. package/dist/models-json.d.ts +2 -1
  259. package/dist/namespaces/migrate.d.ts +4 -3
  260. package/dist/namespaces/migrate.js +8 -8
  261. package/dist/namespaces/principal.d.ts +2 -1
  262. package/dist/namespaces/search.d.ts +2 -1
  263. package/dist/namespaces/search.js +3 -3
  264. package/dist/namespaces/storage.d.ts +4 -3
  265. package/dist/namespaces/storage.js +7 -7
  266. package/dist/native-knowledge.d.ts +2 -1
  267. package/dist/offline-sync-impression-drain.d.ts +2 -1
  268. package/dist/operator-doctor-corpus.d.ts +2 -1
  269. package/dist/operator-doctor-corpus.js +10 -10
  270. package/dist/operator-doctor-replica.d.ts +2 -1
  271. package/dist/operator-toolkit.d.ts +4 -3
  272. package/dist/operator-toolkit.js +16 -16
  273. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  274. package/dist/orchestration/maintenance.d.ts +5 -4
  275. package/dist/orchestration/maintenance.js +17 -17
  276. package/dist/{orchestrator-BUd_3Q86.d.ts → orchestrator-Cf3G-3Ed.d.ts} +9 -9
  277. package/dist/orchestrator.d.ts +11 -10
  278. package/dist/orchestrator.js +70 -70
  279. package/dist/patterns-cli.d.ts +2 -1
  280. package/dist/{pipeline-Dv1Bv0ma.d.ts → pipeline-AwB03fw_.d.ts} +1 -1
  281. package/dist/policy-runtime.d.ts +2 -1
  282. package/dist/proactive-contention.d.ts +2 -1
  283. package/dist/provenance.d.ts +2 -1
  284. package/dist/{public-http-L-IymRBN.d.ts → public-http-C3bLjE-L.d.ts} +1 -1
  285. package/dist/{qmd-Mj508lHA.d.ts → qmd-Bfaydrfm.d.ts} +1 -1
  286. package/dist/qmd-preflight.d.ts +3 -2
  287. package/dist/qmd-recall-cache.d.ts +2 -1
  288. package/dist/qmd.d.ts +3 -2
  289. package/dist/recall-concurrency-config.d.ts +2 -1
  290. package/dist/recall-disclosure-escalation.d.ts +2 -1
  291. package/dist/recall-explain-renderer.d.ts +2 -1
  292. package/dist/recall-explain-renderer.js +3 -3
  293. package/dist/recall-memory-map.d.ts +2 -1
  294. package/dist/recall-navigate-access.d.ts +2 -1
  295. package/dist/recall-navigate-access.js +2 -2
  296. package/dist/recall-navigate-disclosure.d.ts +2 -1
  297. package/dist/recall-navigate-disclosure.js +1 -1
  298. package/dist/recall-navigate.d.ts +2 -1
  299. package/dist/recall-navigate.js +2 -2
  300. package/dist/recall-planner-llm.d.ts +2 -1
  301. package/dist/recall-state-view-admission.d.ts +3 -2
  302. package/dist/recall-state.d.ts +2 -1
  303. package/dist/recall-tag-filter.d.ts +2 -1
  304. package/dist/recall-timings.d.ts +2 -1
  305. package/dist/recall-xray-cli.d.ts +2 -1
  306. package/dist/recall-xray-cli.js +4 -4
  307. package/dist/recall-xray-renderer.d.ts +2 -1
  308. package/dist/recall-xray-renderer.js +3 -3
  309. package/dist/recall-xray.d.ts +2 -1
  310. package/dist/recall-xray.js +2 -2
  311. package/dist/reconcile/cursor.d.ts +2 -1
  312. package/dist/reconcile/manifest.d.ts +2 -1
  313. package/dist/reconcile/plan.d.ts +2 -1
  314. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  315. package/dist/replay/normalizers/claude.d.ts +2 -1
  316. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  317. package/dist/replay/normalizers/shared.d.ts +2 -1
  318. package/dist/replay/runner.d.ts +2 -1
  319. package/dist/replay/types.d.ts +2 -1
  320. package/dist/replica-divergence.d.ts +2 -1
  321. package/dist/replica-peers-config.d.ts +2 -1
  322. package/dist/resolve-auth-token.d.ts +2 -1
  323. package/dist/resume-bundles.js +2 -2
  324. package/dist/retrieval-agents.d.ts +3 -2
  325. package/dist/retrieval-tiers.d.ts +2 -1
  326. package/dist/routing/engine.d.ts +2 -1
  327. package/dist/routing/store.d.ts +2 -1
  328. package/dist/salvage-envelope.d.ts +2 -1
  329. package/dist/schemas.d.ts +176 -176
  330. package/dist/{scope-profiles-B6BGVbxm.d.ts → scope-profiles-nxTKvjE-.d.ts} +1 -1
  331. package/dist/search/embed-helper.d.ts +2 -1
  332. package/dist/search/factory.d.ts +2 -1
  333. package/dist/search/factory.js +2 -2
  334. package/dist/search/index.d.ts +2 -1
  335. package/dist/search/index.js +4 -4
  336. package/dist/search/lancedb-backend.d.ts +2 -1
  337. package/dist/search/meilisearch-backend.d.ts +2 -1
  338. package/dist/search/noop-backend.d.ts +2 -1
  339. package/dist/search/orama-backend.d.ts +2 -1
  340. package/dist/search/port.d.ts +2 -1
  341. package/dist/search/remote-backend.d.ts +2 -1
  342. package/dist/{semantic-consolidation-J-598F5M.d.ts → semantic-consolidation-C83DVakV.d.ts} +1 -1
  343. package/dist/semantic-consolidation.d.ts +3 -2
  344. package/dist/semantic-consolidation.js +8 -8
  345. package/dist/semantic-rule-promotion.js +7 -7
  346. package/dist/semantic-rule-verifier.d.ts +2 -1
  347. package/dist/semantic-rule-verifier.js +7 -7
  348. package/dist/{service-ZQkJ52cz.d.ts → service-q-xtOoAr.d.ts} +2 -2
  349. package/dist/session-observer-bands.d.ts +2 -1
  350. package/dist/session-observer-state.d.ts +2 -1
  351. package/dist/shared-context/manager.d.ts +8 -7
  352. package/dist/signal.d.ts +2 -1
  353. package/dist/source-agent-qualifier.d.ts +2 -1
  354. package/dist/source-agent-qualifier.js +7 -7
  355. package/dist/standup/build.js +7 -7
  356. package/dist/{storage-CU_hZUgP.d.ts → storage-Ca0MbTfm.d.ts} +1 -1
  357. package/dist/storage.d.ts +3 -2
  358. package/dist/storage.js +6 -6
  359. package/dist/subject-config.d.ts +2 -1
  360. package/dist/summarizer.d.ts +2 -1
  361. package/dist/summarizer.js +3 -3
  362. package/dist/summary-snapshot.d.ts +2 -1
  363. package/dist/support-passport/index.d.ts +16 -15
  364. package/dist/support-passport/index.js +26 -26
  365. package/dist/temporal-supersession.d.ts +3 -2
  366. package/dist/temporal-timeline-recall.d.ts +2 -1
  367. package/dist/temporal-validity.d.ts +2 -1
  368. package/dist/threading.d.ts +2 -1
  369. package/dist/tier-migration.d.ts +3 -2
  370. package/dist/tier-routing.d.ts +2 -1
  371. package/dist/topics.d.ts +2 -1
  372. package/dist/transcript.d.ts +2 -1
  373. package/dist/transfer/export-okf.d.ts +2 -1
  374. package/dist/transfer/export-okf.js +7 -7
  375. package/dist/transfer/types.d.ts +78 -78
  376. package/dist/trust-score-stage.d.ts +2 -1
  377. package/dist/trust-score.d.ts +2 -1
  378. package/dist/{types-BGxTvLBO.d.ts → types-yDgWDkrJ.d.ts} +2 -21
  379. package/dist/types.d.ts +2 -1
  380. package/dist/types.js +1 -1
  381. package/dist/utility-runtime.d.ts +2 -1
  382. package/dist/verified-recall.js +7 -7
  383. package/dist/who-knows-cli.d.ts +13 -12
  384. package/dist/who-knows-cli.js +8 -8
  385. package/dist/who-knows.d.ts +13 -12
  386. package/dist/who-knows.js +7 -7
  387. package/dist/write-envelope.d.ts +2 -1
  388. package/package.json +2 -2
  389. package/src/config.test.ts +24 -0
  390. package/src/config.ts +13 -1
  391. package/src/local-llm-config.ts +25 -0
  392. package/src/types.ts +3 -22
  393. package/dist/chunk-Q6LCCIZN.js.map +0 -1
  394. package/dist/chunk-SZWEDG3H.js.map +0 -1
  395. /package/dist/{chunk-7CAY3YKP.js.map → chunk-2BQ4ZIWC.js.map} +0 -0
  396. /package/dist/{chunk-5SDSVX7N.js.map → chunk-2YLMUME2.js.map} +0 -0
  397. /package/dist/{chunk-UEZKN6VR.js.map → chunk-3FJKJ5UZ.js.map} +0 -0
  398. /package/dist/{chunk-XQU3CPF2.js.map → chunk-5JG5EBVL.js.map} +0 -0
  399. /package/dist/{chunk-ZMKYCFJ7.js.map → chunk-5VAF4ID4.js.map} +0 -0
  400. /package/dist/{chunk-W5BLTZZJ.js.map → chunk-6J6K3STG.js.map} +0 -0
  401. /package/dist/{chunk-5QBDLMGG.js.map → chunk-776GVKL7.js.map} +0 -0
  402. /package/dist/{chunk-AQIRQUCP.js.map → chunk-AZSKROVQ.js.map} +0 -0
  403. /package/dist/{chunk-757NP436.js.map → chunk-BJETIR53.js.map} +0 -0
  404. /package/dist/{chunk-RR7G2X7C.js.map → chunk-CNV2A557.js.map} +0 -0
  405. /package/dist/{chunk-VIZR45AN.js.map → chunk-DK4X5B6I.js.map} +0 -0
  406. /package/dist/{chunk-IFFLUCCU.js.map → chunk-ECKG5WSI.js.map} +0 -0
  407. /package/dist/{chunk-4PB2MBY6.js.map → chunk-EEBQFG5E.js.map} +0 -0
  408. /package/dist/{chunk-ISYZ5DUI.js.map → chunk-F6IVBYFS.js.map} +0 -0
  409. /package/dist/{chunk-QLJ6762U.js.map → chunk-FVJ4D6L7.js.map} +0 -0
  410. /package/dist/{chunk-X424T5JQ.js.map → chunk-GLZH5VEN.js.map} +0 -0
  411. /package/dist/{chunk-AXFR2NQ5.js.map → chunk-HC4GFLMQ.js.map} +0 -0
  412. /package/dist/{chunk-S76KRJDG.js.map → chunk-HUT2JR6I.js.map} +0 -0
  413. /package/dist/{chunk-4WCNPQQ5.js.map → chunk-HXSAWV3A.js.map} +0 -0
  414. /package/dist/{chunk-2UZ5ZH6W.js.map → chunk-J7PB5UQ4.js.map} +0 -0
  415. /package/dist/{chunk-5A7ZUOBA.js.map → chunk-JHZCXUQI.js.map} +0 -0
  416. /package/dist/{chunk-2JCA2PQT.js.map → chunk-JR6H5CYS.js.map} +0 -0
  417. /package/dist/{chunk-BJJWRWER.js.map → chunk-JR6PP7UM.js.map} +0 -0
  418. /package/dist/{chunk-4JVQRFZD.js.map → chunk-JRWW7GM6.js.map} +0 -0
  419. /package/dist/{chunk-CRUFVJOX.js.map → chunk-JSRVXI6E.js.map} +0 -0
  420. /package/dist/{chunk-OZUXKUPD.js.map → chunk-JZ2CHRLB.js.map} +0 -0
  421. /package/dist/{chunk-MMG5K6XJ.js.map → chunk-L2WQVSKP.js.map} +0 -0
  422. /package/dist/{chunk-T2YFZ27G.js.map → chunk-LEMD7WZJ.js.map} +0 -0
  423. /package/dist/{chunk-2AU4D4HQ.js.map → chunk-LNDLXMH6.js.map} +0 -0
  424. /package/dist/{chunk-36UBSLFN.js.map → chunk-LYDJRF45.js.map} +0 -0
  425. /package/dist/{chunk-LAVJC57X.js.map → chunk-MVAQ2WM3.js.map} +0 -0
  426. /package/dist/{chunk-AIKTQVV3.js.map → chunk-NN4JEFON.js.map} +0 -0
  427. /package/dist/{chunk-QF4J3KMV.js.map → chunk-OQ7SSRXP.js.map} +0 -0
  428. /package/dist/{chunk-KDJHLOZP.js.map → chunk-OS2AT2JU.js.map} +0 -0
  429. /package/dist/{chunk-C2BFTYD7.js.map → chunk-P3ONDDIJ.js.map} +0 -0
  430. /package/dist/{chunk-A7WOWDZK.js.map → chunk-PHP3MUGF.js.map} +0 -0
  431. /package/dist/{chunk-34QW2LK2.js.map → chunk-QATYVTP7.js.map} +0 -0
  432. /package/dist/{chunk-PEXW2JCK.js.map → chunk-QBLDCI6E.js.map} +0 -0
  433. /package/dist/{chunk-KYGOQV37.js.map → chunk-QURNMKME.js.map} +0 -0
  434. /package/dist/{chunk-6XYC7NM4.js.map → chunk-RRZKTSFG.js.map} +0 -0
  435. /package/dist/{chunk-EJIEQOPB.js.map → chunk-RUXPVSML.js.map} +0 -0
  436. /package/dist/{chunk-APFKZVJS.js.map → chunk-TKFSXDOB.js.map} +0 -0
  437. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  438. /package/dist/{chunk-RQO3J4MR.js.map → chunk-UDZYNIDJ.js.map} +0 -0
  439. /package/dist/{chunk-7J2CGXG3.js.map → chunk-UYUCCQ46.js.map} +0 -0
  440. /package/dist/{chunk-Z7YDVHDI.js.map → chunk-VYXDUPYE.js.map} +0 -0
  441. /package/dist/{chunk-TWYTGIBR.js.map → chunk-WHHEPAO3.js.map} +0 -0
  442. /package/dist/{chunk-K6IPSW5B.js.map → chunk-WPDKBUWX.js.map} +0 -0
  443. /package/dist/{chunk-JZDH2ZZK.js.map → chunk-XCOV45MO.js.map} +0 -0
  444. /package/dist/{chunk-6YAIN5XJ.js.map → chunk-Y63ZFP4X.js.map} +0 -0
  445. /package/dist/{chunk-4MIS4CQW.js.map → chunk-YJ6VCDMZ.js.map} +0 -0
  446. /package/dist/{chunk-6CCRSQWT.js.map → chunk-YNN26CIZ.js.map} +0 -0
  447. /package/dist/{chunk-5THU7NFP.js.map → chunk-Z7ACR6MJ.js.map} +0 -0
  448. /package/dist/{chunk-D3IZCN5P.js.map → chunk-ZBEGS7OB.js.map} +0 -0
  449. /package/dist/{chunk-ND2O2PVN.js.map → chunk-ZTG4P7NZ.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-BUd_3Q86.js';
12
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-Cf3G-3Ed.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-BNluTxBp.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-BNluTxBp.js';
16
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-BINUgPFo.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-BINUgPFo.js';
18
18
  export { DEFAULT_RECALL_STATE_VIEWS, StateLabel, StateViewChain, StateViewResult, annotateStateView, formatSupersededPrefix, isChangeOrientedQuery, parseRecallStateViews, resultStateViewId, shouldWidenSuperseded } 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,24 +22,24 @@ 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-CU_hZUgP.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-CU_hZUgP.js';
25
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-Ca0MbTfm.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-Ca0MbTfm.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, bz as CodingModeConfig, aZ as FusionConversationInput, bA as FusedSpeaker, bB as FusedSegment, bC as FusedDisagreement, bD as FusionOptions, a$ as WearableConversation, bE as FusionDayResult, aF as ModelProviderConfig, P as PluginConfig, bF as ParsedSkillBundle, Z as SkillBundle, bG as MemoryDriftState, bH as DriftDetectionConfig, bI as CodingKnowledgeConfig, aA as SubjectGuardMode, u as MemoryCategory, bJ as WearableCleanupSettings, bK as WearableFusionConfig, b0 as WearableSourceSettings, b4 as WearablesConfig, b3 as WearableSourceConnector, bL as OffTheRecordMarkerSettings, b9 as WearableCorrectionRule, bM as WearableDayTranscriptMeta, b7 as WearableDayTranscript, aT as ActivitySourceClient, bN as ActivitySourceCheck, bO as ActivitySnapshotPage, aR as ActivityConfig, bP as ActivityTimelineVaultConfig, bQ as ActivityTimelineQaConfig, aQ as ActivityTimelineAnalysisConfig, k as BufferTurn, ab as ExtractionResult, x as MemoryStatus, ay as ImportanceScore, bR as ActivityTimelineJournalConfig, bS as MeetingsDetectionConfig, aY as MeetingsDetectionInput, a_ as DetectedMeeting, aV as MeetingsConfig, aX as MeetingRecord, a8 as ActivitySnapshot, bT as MeetingAudioWindow, bU as MeetingAppSpan } from './types-BGxTvLBO.js';
34
- export { bV as ACTION_GATE_DEFAULTS, bW as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bX as ActionGateAdvisory, bY as ActionGateAuditRecord, bZ as ActionGateAuditSink, b_ as ActionGateCandidate, b$ as ActionGateCandidateQuery, c0 as ActionGateCandidateSource, c1 as ActionGateConfig, c2 as ActionGateDecision, c3 as ActionGateRequest, c4 as ActionGateService, c5 as ActionGateServiceDependencies, c6 as ActionGateSourceResult, c7 as ActionGateStatus, aa as ActivityDayDigest, a9 as ActivityDayMeta, c8 as ActivityExtractionMode, c9 as ActivityJournalExtractionMode, aS as ActivitySourceConfig, ca as ActivityTimelineConfig, cb as ActivityTimelineVaultReadbackConfig, cc as ActivityTimelineVaultTargetConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, cd as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, ce as BriefingWindow, ad as BufferSurpriseEvent, cf as BulkImportError, af as BulkImportOptions, ah as BulkImportResult, ag as BulkImportSource, cg as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, ch as CodexCompatConfig, bx as ConsolidationObservation, ci as DEFAULT_RECALL_DISCLOSURE, cj as DRIFT_DETECTION_DEFAULTS, ck as DisagreementKind, cl as DriftDetectionSettings, E as EntityFile, ar as EntityStructuredSection, aw as ExtractedFact, cm as FailureMemorySourceDependencies, cn as FusedContribution, co as FusedConversationProvenance, bb as FusedDayFile, ba as FusedDayMeta, aW as FusedMeeting, cp as FusedSegmentProvenance, b8 as FusedWearableConversation, cq as FusionSegmentInput, G as GatewayConfig, cr as ImportSourceRole, ae as ImportTurn, cs as ImportTurnValidationIssue, aU as MeetingBuildInput, bc as MeetingDetectionSource, ct as MeetingScreenContextEvent, cu as MeetingSummaryMode, aB as MemoryActionEligibilityContext, cv as MemoryActionEligibilitySource, al as MemoryActionType, cw as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cx as MemoryObservation, cy as MemoryScope, cz as NormalizedActionIntent, cA as PRE_ACTION_FINGERPRINT_VERSION, cB as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cC as PRE_ACTION_WARNING_VERSION, cD as PreActionFailureGate, cE as PreActionGateDependencies, cF as PreActionGateRequest, cG as PreActionGateResult, cH as PreActionGateStatus, cI as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cJ as RecallDriftAnnotation, cK as SKILL_FILE_NAME, v as SecretRef, cL as SegmentPickReason, cM as SkillProjectionConfig, cN as VaultPropertiesMode, cO as VaultSectionStrategy, cP as WearableAuthCheck, cQ as WearableFetchOptions, cR as WearableFetchPage, b2 as WearableMemoryMode, b1 as WearableNativeMemory, cS as WearableNativeMemoryPage, b6 as WearableSourceStatus, b5 as WearableSyncSummary, cT as WearableTranscriptSegment, cU as actionTermsFor, cV as buildProcedureMarkdownBody, cW as createFailureMemoryCandidateSource, cX as createTrajectoryCandidateSource, cY as isFailureClassMemory, cZ as isImportRole, c_ as isRecallDisclosure, c$ as normalizeActionIntent, d0 as parseActionGateConfig, d1 as parseDriftDetectionConfig, d2 as parseDriftProvenance, d3 as parseIsoTimestamp, d4 as parseProcedureStepsFromBody, d5 as parseSkillBundle, d6 as parseSkillProjectionConfig, d7 as projectProceduresToSkills, d8 as renderSkillBundle, d9 as sanitizePayloadString, da as sanitizeSkillSlug, db as serializeDriftProvenance, dc as validateImportTurn } from './types-BGxTvLBO.js';
33
+ import { C as CodingContext, bz as CodingModeConfig, aZ as FusionConversationInput, bA as FusedSpeaker, bB as FusedSegment, bC as FusedDisagreement, bD as FusionOptions, a$ as WearableConversation, bE as FusionDayResult, aF as ModelProviderConfig, P as PluginConfig, bF as ParsedSkillBundle, Z as SkillBundle, bG as MemoryDriftState, bH as DriftDetectionConfig, bI as CodingKnowledgeConfig, aA as SubjectGuardMode, u as MemoryCategory, bJ as WearableCleanupSettings, bK as WearableFusionConfig, b0 as WearableSourceSettings, b4 as WearablesConfig, b3 as WearableSourceConnector, bL as OffTheRecordMarkerSettings, b9 as WearableCorrectionRule, bM as WearableDayTranscriptMeta, b7 as WearableDayTranscript, aT as ActivitySourceClient, bN as ActivitySourceCheck, bO as ActivitySnapshotPage, aR as ActivityConfig, bP as ActivityTimelineVaultConfig, bQ as ActivityTimelineQaConfig, aQ as ActivityTimelineAnalysisConfig, k as BufferTurn, ab as ExtractionResult, x as MemoryStatus, ay as ImportanceScore, bR as ActivityTimelineJournalConfig, bS as MeetingsDetectionConfig, aY as MeetingsDetectionInput, a_ as DetectedMeeting, aV as MeetingsConfig, aX as MeetingRecord, a8 as ActivitySnapshot, bT as MeetingAudioWindow, bU as MeetingAppSpan } from './types-yDgWDkrJ.js';
34
+ export { bV as ACTION_GATE_DEFAULTS, bW as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bX as ActionGateAdvisory, bY as ActionGateAuditRecord, bZ as ActionGateAuditSink, b_ as ActionGateCandidate, b$ as ActionGateCandidateQuery, c0 as ActionGateCandidateSource, c1 as ActionGateConfig, c2 as ActionGateDecision, c3 as ActionGateRequest, c4 as ActionGateService, c5 as ActionGateServiceDependencies, c6 as ActionGateSourceResult, c7 as ActionGateStatus, aa as ActivityDayDigest, a9 as ActivityDayMeta, c8 as ActivityExtractionMode, c9 as ActivityJournalExtractionMode, aS as ActivitySourceConfig, ca as ActivityTimelineConfig, cb as ActivityTimelineVaultReadbackConfig, cc as ActivityTimelineVaultTargetConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, cd as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, ce as BriefingWindow, ad as BufferSurpriseEvent, cf as BulkImportError, af as BulkImportOptions, ah as BulkImportResult, ag as BulkImportSource, cg as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, ch as CodexCompatConfig, bx as ConsolidationObservation, ci as DEFAULT_RECALL_DISCLOSURE, cj as DRIFT_DETECTION_DEFAULTS, ck as DisagreementKind, cl as DriftDetectionSettings, E as EntityFile, ar as EntityStructuredSection, aw as ExtractedFact, cm as FailureMemorySourceDependencies, cn as FusedContribution, co as FusedConversationProvenance, bb as FusedDayFile, ba as FusedDayMeta, aW as FusedMeeting, cp as FusedSegmentProvenance, b8 as FusedWearableConversation, cq as FusionSegmentInput, G as GatewayConfig, cr as ImportSourceRole, ae as ImportTurn, cs as ImportTurnValidationIssue, aU as MeetingBuildInput, bc as MeetingDetectionSource, ct as MeetingScreenContextEvent, cu as MeetingSummaryMode, aB as MemoryActionEligibilityContext, cv as MemoryActionEligibilitySource, al as MemoryActionType, cw as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cx as MemoryObservation, cy as MemoryScope, cz as NormalizedActionIntent, cA as PRE_ACTION_FINGERPRINT_VERSION, cB as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cC as PRE_ACTION_WARNING_VERSION, cD as PreActionFailureGate, cE as PreActionGateDependencies, cF as PreActionGateRequest, cG as PreActionGateResult, cH as PreActionGateStatus, cI as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cJ as RecallDriftAnnotation, cK as SKILL_FILE_NAME, v as SecretRef, cL as SegmentPickReason, cM as SkillProjectionConfig, cN as VaultPropertiesMode, cO as VaultSectionStrategy, cP as WearableAuthCheck, cQ as WearableFetchOptions, cR as WearableFetchPage, b2 as WearableMemoryMode, b1 as WearableNativeMemory, cS as WearableNativeMemoryPage, b6 as WearableSourceStatus, b5 as WearableSyncSummary, cT as WearableTranscriptSegment, cU as actionTermsFor, cV as buildProcedureMarkdownBody, cW as createFailureMemoryCandidateSource, cX as createTrajectoryCandidateSource, cY as isFailureClassMemory, cZ as isImportRole, c_ as isRecallDisclosure, c$ as normalizeActionIntent, d0 as parseActionGateConfig, d1 as parseDriftDetectionConfig, d2 as parseDriftProvenance, d3 as parseIsoTimestamp, d4 as parseProcedureStepsFromBody, d5 as parseSkillBundle, d6 as parseSkillProjectionConfig, d7 as projectProceduresToSkills, d8 as renderSkillBundle, d9 as sanitizePayloadString, da as sanitizeSkillSlug, db as serializeDriftProvenance, dc as validateImportTurn } from './types-yDgWDkrJ.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-WUm2LnXZ.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-WUm2LnXZ.js';
41
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cl_x57xR.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-Cl_x57xR.js';
43
43
  import { LocalLlmClient } from './local-llm.js';
44
44
  import { FallbackLlmClient } from './fallback-llm.js';
45
45
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.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-Mj508lHA.js';
55
+ export { Q as QmdClient } from './qmd-Bfaydrfm.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-BaCx29iv.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-Bq1AxZwF.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-5mTYh1Tn.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-p813oxbm.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-L-IymRBN.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-C3bLjE-L.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-J-598F5M.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-J-598F5M.js';
93
+ import { D as DiscoveredExtension } from './semantic-consolidation-C83DVakV.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-C83DVakV.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-Dv1Bv0ma.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-ZQkJ52cz.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-ZQkJ52cz.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-8hmWOMY_.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-8hmWOMY_.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-AwB03fw_.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-q-xtOoAr.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-q-xtOoAr.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-ag1gYztC.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-ag1gYztC.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-B6BGVbxm.js';
132
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-nxTKvjE-.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';
@@ -150,6 +150,7 @@ import './contradiction-config.js';
150
150
  import './graph-path-scoring-config.js';
151
151
  import './deep-recall-config.js';
152
152
  import './objective-state.js';
153
+ import './local-llm-config.js';
153
154
  import './semantic-merge-config.js';
154
155
  import './recall-state.js';
155
156
  import './utils/serialize-mutations.js';
@@ -186,12 +187,12 @@ import './conversation-index/chunker.js';
186
187
  import './conversation-index/backend.js';
187
188
  import './faiss-adapter-BHecI1fF.js';
188
189
  import './runtime/child-process.js';
189
- import './dependency-propagation-delivery-CDQCxNll.js';
190
+ import './dependency-propagation-delivery-DLiAtj25.js';
190
191
  import './namespaces/storage.js';
191
192
  import './threading.js';
192
193
  import './graph-DRkl22KE.js';
193
194
  import './graph-write-lock.js';
194
- import './generic-recall-paths-CqAZyXKX.js';
195
+ import './generic-recall-paths-DbitKJI5.js';
195
196
  import './relevance.js';
196
197
  import './negative.js';
197
198
  import './session-observer-state.js';
@@ -208,7 +209,7 @@ import './profiling.js';
208
209
  import './schemas.js';
209
210
  import './extraction-error-classification.js';
210
211
  import 'node:stream';
211
- import './access-namespace-preflight-kXG8MvYx.js';
212
+ import './access-namespace-preflight-D8qri11P.js';
212
213
  import './recall-explain-renderer.js';
213
214
  import './access-citation.js';
214
215
  import './access-health-types.js';
@@ -1321,15 +1322,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1321
1322
  locator: z.ZodOptional<z.ZodString>;
1322
1323
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1323
1324
  }, "strict", z.ZodTypeAny, {
1324
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1325
- label: string;
1326
1325
  id: string;
1326
+ label: string;
1327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1327
1328
  capture: "at_action" | "historical_lookup" | "fixture";
1328
1329
  locator?: string | undefined;
1329
1330
  }, {
1330
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
- label: string;
1332
1331
  id: string;
1332
+ label: string;
1333
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1333
1334
  capture: "at_action" | "historical_lookup" | "fixture";
1334
1335
  locator?: string | undefined;
1335
1336
  }>;
@@ -1346,15 +1347,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1346
1347
  locator: z.ZodOptional<z.ZodString>;
1347
1348
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1348
1349
  }, "strict", z.ZodTypeAny, {
1349
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1350
- label: string;
1351
1350
  id: string;
1351
+ label: string;
1352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1352
1353
  capture: "at_action" | "historical_lookup" | "fixture";
1353
1354
  locator?: string | undefined;
1354
1355
  }, {
1355
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1356
- label: string;
1357
1356
  id: string;
1357
+ label: string;
1358
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1358
1359
  capture: "at_action" | "historical_lookup" | "fixture";
1359
1360
  locator?: string | undefined;
1360
1361
  }>, "many">>;
@@ -1362,9 +1363,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1362
1363
  kind: "mission_started";
1363
1364
  title: string;
1364
1365
  evidence: {
1365
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1366
- label: string;
1367
1366
  id: string;
1367
+ label: string;
1368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1368
1369
  capture: "at_action" | "historical_lookup" | "fixture";
1369
1370
  locator?: string | undefined;
1370
1371
  }[];
@@ -1376,9 +1377,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1376
1377
  objective: string;
1377
1378
  runMode: "replay" | "fixture" | "live";
1378
1379
  evidence?: {
1379
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
- label: string;
1381
1380
  id: string;
1381
+ label: string;
1382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1382
1383
  capture: "at_action" | "historical_lookup" | "fixture";
1383
1384
  locator?: string | undefined;
1384
1385
  }[] | undefined;
@@ -1394,15 +1395,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1394
1395
  locator: z.ZodOptional<z.ZodString>;
1395
1396
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1396
1397
  }, "strict", z.ZodTypeAny, {
1397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
- label: string;
1399
1398
  id: string;
1399
+ label: string;
1400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1400
1401
  capture: "at_action" | "historical_lookup" | "fixture";
1401
1402
  locator?: string | undefined;
1402
1403
  }, {
1403
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
- label: string;
1405
1404
  id: string;
1405
+ label: string;
1406
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1406
1407
  capture: "at_action" | "historical_lookup" | "fixture";
1407
1408
  locator?: string | undefined;
1408
1409
  }>, "many">>;
@@ -1410,32 +1411,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1410
1411
  sessionId: z.ZodString;
1411
1412
  kind: z.ZodLiteral<"agent_status">;
1412
1413
  }, "strict", z.ZodTypeAny, {
1413
- kind: "agent_status";
1414
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1415
1414
  label: string;
1415
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1416
+ kind: "agent_status";
1416
1417
  role: string;
1417
1418
  agentId: string;
1418
1419
  sessionId: string;
1419
1420
  evidence: {
1420
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1421
- label: string;
1422
1421
  id: string;
1422
+ label: string;
1423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1423
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1424
1425
  locator?: string | undefined;
1425
1426
  }[];
1426
1427
  detail?: string | undefined;
1427
1428
  }, {
1428
- kind: "agent_status";
1429
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1430
1429
  label: string;
1430
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1431
+ kind: "agent_status";
1431
1432
  role: string;
1432
1433
  agentId: string;
1433
1434
  sessionId: string;
1434
1435
  detail?: string | undefined;
1435
1436
  evidence?: {
1436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
- label: string;
1438
1437
  id: string;
1438
+ label: string;
1439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1439
1440
  capture: "at_action" | "historical_lookup" | "fixture";
1440
1441
  locator?: string | undefined;
1441
1442
  }[] | undefined;
@@ -1449,15 +1450,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1449
1450
  locator: z.ZodOptional<z.ZodString>;
1450
1451
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1451
1452
  }, "strict", z.ZodTypeAny, {
1452
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1453
- label: string;
1454
1453
  id: string;
1454
+ label: string;
1455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
1456
  capture: "at_action" | "historical_lookup" | "fixture";
1456
1457
  locator?: string | undefined;
1457
1458
  }, {
1458
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
- label: string;
1460
1459
  id: string;
1460
+ label: string;
1461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
1462
  capture: "at_action" | "historical_lookup" | "fixture";
1462
1463
  locator?: string | undefined;
1463
1464
  }>, "many">>;
@@ -1465,28 +1466,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1465
1466
  sessionId: z.ZodString;
1466
1467
  kind: z.ZodLiteral<"agent_output">;
1467
1468
  }, "strict", z.ZodTypeAny, {
1468
- kind: "agent_output";
1469
1469
  summary: string;
1470
+ kind: "agent_output";
1470
1471
  agentId: string;
1471
1472
  sessionId: string;
1472
1473
  evidence: {
1473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
- label: string;
1475
1474
  id: string;
1475
+ label: string;
1476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1476
1477
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1478
  locator?: string | undefined;
1478
1479
  }[];
1479
1480
  outputId: string;
1480
1481
  }, {
1481
- kind: "agent_output";
1482
1482
  summary: string;
1483
+ kind: "agent_output";
1483
1484
  agentId: string;
1484
1485
  sessionId: string;
1485
1486
  outputId: string;
1486
1487
  evidence?: {
1487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1488
- label: string;
1489
1488
  id: string;
1489
+ label: string;
1490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
1491
  capture: "at_action" | "historical_lookup" | "fixture";
1491
1492
  locator?: string | undefined;
1492
1493
  }[] | undefined;
@@ -1502,15 +1503,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1502
1503
  locator: z.ZodOptional<z.ZodString>;
1503
1504
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1504
1505
  }, "strict", z.ZodTypeAny, {
1505
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
- label: string;
1507
1506
  id: string;
1507
+ label: string;
1508
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1508
1509
  capture: "at_action" | "historical_lookup" | "fixture";
1509
1510
  locator?: string | undefined;
1510
1511
  }, {
1511
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
- label: string;
1513
1512
  id: string;
1513
+ label: string;
1514
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1514
1515
  capture: "at_action" | "historical_lookup" | "fixture";
1515
1516
  locator?: string | undefined;
1516
1517
  }>, "many">>;
@@ -1523,9 +1524,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1523
1524
  statement: string;
1524
1525
  sessionId: string;
1525
1526
  evidence: {
1526
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1527
- label: string;
1528
1527
  id: string;
1528
+ label: string;
1529
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1530
1531
  locator?: string | undefined;
1531
1532
  }[];
@@ -1541,9 +1542,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1541
1542
  decisionId: string;
1542
1543
  confidence?: number | undefined;
1543
1544
  evidence?: {
1544
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1545
- label: string;
1546
1545
  id: string;
1546
+ label: string;
1547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1547
1548
  capture: "at_action" | "historical_lookup" | "fixture";
1548
1549
  locator?: string | undefined;
1549
1550
  }[] | undefined;
@@ -1560,25 +1561,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1560
1561
  locator: z.ZodOptional<z.ZodString>;
1561
1562
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1562
1563
  }, "strict", z.ZodTypeAny, {
1563
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1564
- label: string;
1565
1564
  id: string;
1565
+ label: string;
1566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1566
1567
  capture: "at_action" | "historical_lookup" | "fixture";
1567
1568
  locator?: string | undefined;
1568
1569
  }, {
1569
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1570
- label: string;
1571
1570
  id: string;
1571
+ label: string;
1572
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1572
1573
  capture: "at_action" | "historical_lookup" | "fixture";
1573
1574
  locator?: string | undefined;
1574
1575
  }>, "many">>;
1575
1576
  }, "strict", z.ZodTypeAny, {
1576
- kind: "conflict_detected";
1577
1577
  summary: string;
1578
+ kind: "conflict_detected";
1578
1579
  evidence: {
1579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1580
- label: string;
1581
1580
  id: string;
1581
+ label: string;
1582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1582
1583
  capture: "at_action" | "historical_lookup" | "fixture";
1583
1584
  locator?: string | undefined;
1584
1585
  }[];
@@ -1586,15 +1587,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1586
1587
  decisionIds: string[];
1587
1588
  agentIds: string[];
1588
1589
  }, {
1589
- kind: "conflict_detected";
1590
1590
  summary: string;
1591
+ kind: "conflict_detected";
1591
1592
  conflictId: string;
1592
1593
  decisionIds: string[];
1593
1594
  agentIds: string[];
1594
1595
  evidence?: {
1595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
- label: string;
1597
1596
  id: string;
1597
+ label: string;
1598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1599
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1600
  locator?: string | undefined;
1600
1601
  }[] | undefined;
@@ -1614,27 +1615,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1614
1615
  locator: z.ZodOptional<z.ZodString>;
1615
1616
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1616
1617
  }, "strict", z.ZodTypeAny, {
1617
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1618
- label: string;
1619
1618
  id: string;
1619
+ label: string;
1620
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
1621
  capture: "at_action" | "historical_lookup" | "fixture";
1621
1622
  locator?: string | undefined;
1622
1623
  }, {
1623
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1624
- label: string;
1625
1624
  id: string;
1625
+ label: string;
1626
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
1627
  capture: "at_action" | "historical_lookup" | "fixture";
1627
1628
  locator?: string | undefined;
1628
1629
  }>, "many">>;
1629
1630
  }, "strict", z.ZodTypeAny, {
1630
- kind: "test_result";
1631
1631
  summary: string;
1632
1632
  status: "error" | "failed" | "passed";
1633
+ kind: "test_result";
1633
1634
  command: string;
1634
1635
  evidence: {
1635
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1636
- label: string;
1637
1636
  id: string;
1637
+ label: string;
1638
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1638
1639
  capture: "at_action" | "historical_lookup" | "fixture";
1639
1640
  locator?: string | undefined;
1640
1641
  }[];
@@ -1643,17 +1644,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1643
1644
  durationMs?: number | undefined;
1644
1645
  correctionId?: string | undefined;
1645
1646
  }, {
1646
- kind: "test_result";
1647
1647
  summary: string;
1648
1648
  status: "error" | "failed" | "passed";
1649
+ kind: "test_result";
1649
1650
  command: string;
1650
1651
  decisionId: string;
1651
1652
  testId: string;
1652
1653
  durationMs?: number | undefined;
1653
1654
  evidence?: {
1654
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1655
- label: string;
1656
1655
  id: string;
1656
+ label: string;
1657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
1658
  capture: "at_action" | "historical_lookup" | "fixture";
1658
1659
  locator?: string | undefined;
1659
1660
  }[] | undefined;
@@ -1674,15 +1675,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1674
1675
  locator: z.ZodOptional<z.ZodString>;
1675
1676
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1676
1677
  }, "strict", z.ZodTypeAny, {
1677
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1678
- label: string;
1679
1678
  id: string;
1679
+ label: string;
1680
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1680
1681
  capture: "at_action" | "historical_lookup" | "fixture";
1681
1682
  locator?: string | undefined;
1682
1683
  }, {
1683
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1684
- label: string;
1685
1684
  id: string;
1685
+ label: string;
1686
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1686
1687
  capture: "at_action" | "historical_lookup" | "fixture";
1687
1688
  locator?: string | undefined;
1688
1689
  }>, "many">>;
@@ -1691,9 +1692,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1691
1692
  statement: string;
1692
1693
  rationale: string;
1693
1694
  evidence: {
1694
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1695
- label: string;
1696
1695
  id: string;
1696
+ label: string;
1697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1697
1698
  capture: "at_action" | "historical_lookup" | "fixture";
1698
1699
  locator?: string | undefined;
1699
1700
  }[];
@@ -1712,9 +1713,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1712
1713
  supersedesDecisionIds: string[];
1713
1714
  proposedBy: string;
1714
1715
  evidence?: {
1715
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
- label: string;
1717
1716
  id: string;
1717
+ label: string;
1718
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1719
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1720
  locator?: string | undefined;
1720
1721
  }[] | undefined;
@@ -1726,13 +1727,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1726
1727
  id: z.ZodString;
1727
1728
  label: z.ZodString;
1728
1729
  }, "strict", z.ZodTypeAny, {
1729
- kind: "agent" | "human";
1730
- label: string;
1731
1730
  id: string;
1732
- }, {
1733
- kind: "agent" | "human";
1734
1731
  label: string;
1732
+ kind: "agent" | "human";
1733
+ }, {
1735
1734
  id: string;
1735
+ label: string;
1736
+ kind: "agent" | "human";
1736
1737
  }>;
1737
1738
  note: z.ZodOptional<z.ZodString>;
1738
1739
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1742,47 +1743,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1742
1743
  locator: z.ZodOptional<z.ZodString>;
1743
1744
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1744
1745
  }, "strict", z.ZodTypeAny, {
1745
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
- label: string;
1747
1746
  id: string;
1747
+ label: string;
1748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
1749
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1750
  locator?: string | undefined;
1750
1751
  }, {
1751
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1752
- label: string;
1753
1752
  id: string;
1753
+ label: string;
1754
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1754
1755
  capture: "at_action" | "historical_lookup" | "fixture";
1755
1756
  locator?: string | undefined;
1756
1757
  }>, "many">>;
1757
1758
  }, "strict", z.ZodTypeAny, {
1758
1759
  kind: "correction_approved";
1759
1760
  evidence: {
1760
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
- label: string;
1762
1761
  id: string;
1762
+ label: string;
1763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1763
1764
  capture: "at_action" | "historical_lookup" | "fixture";
1764
1765
  locator?: string | undefined;
1765
1766
  }[];
1766
1767
  correctionId: string;
1767
1768
  approvedBy: {
1768
- kind: "agent" | "human";
1769
- label: string;
1770
1769
  id: string;
1770
+ label: string;
1771
+ kind: "agent" | "human";
1771
1772
  };
1772
1773
  note?: string | undefined;
1773
1774
  }, {
1774
1775
  kind: "correction_approved";
1775
1776
  correctionId: string;
1776
1777
  approvedBy: {
1777
- kind: "agent" | "human";
1778
- label: string;
1779
1778
  id: string;
1779
+ label: string;
1780
+ kind: "agent" | "human";
1780
1781
  };
1781
1782
  note?: string | undefined;
1782
1783
  evidence?: {
1783
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1784
- label: string;
1785
1784
  id: string;
1785
+ label: string;
1786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1786
1787
  capture: "at_action" | "historical_lookup" | "fixture";
1787
1788
  locator?: string | undefined;
1788
1789
  }[] | undefined;
@@ -1798,24 +1799,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1798
1799
  locator: z.ZodOptional<z.ZodString>;
1799
1800
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1800
1801
  }, "strict", z.ZodTypeAny, {
1801
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1802
- label: string;
1803
1802
  id: string;
1803
+ label: string;
1804
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1804
1805
  capture: "at_action" | "historical_lookup" | "fixture";
1805
1806
  locator?: string | undefined;
1806
1807
  }, {
1807
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1808
- label: string;
1809
1808
  id: string;
1809
+ label: string;
1810
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1810
1811
  capture: "at_action" | "historical_lookup" | "fixture";
1811
1812
  locator?: string | undefined;
1812
1813
  }>, "many">>;
1813
1814
  }, "strict", z.ZodTypeAny, {
1814
1815
  kind: "decision_superseded";
1815
1816
  evidence: {
1816
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
- label: string;
1818
1817
  id: string;
1818
+ label: string;
1819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
1820
  capture: "at_action" | "historical_lookup" | "fixture";
1820
1821
  locator?: string | undefined;
1821
1822
  }[];
@@ -1828,9 +1829,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1828
1829
  correctionId: string;
1829
1830
  replacementDecisionId: string;
1830
1831
  evidence?: {
1831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
- label: string;
1833
1832
  id: string;
1833
+ label: string;
1834
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1834
1835
  capture: "at_action" | "historical_lookup" | "fixture";
1835
1836
  locator?: string | undefined;
1836
1837
  }[] | undefined;
@@ -1846,15 +1847,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1846
1847
  locator: z.ZodOptional<z.ZodString>;
1847
1848
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1848
1849
  }, "strict", z.ZodTypeAny, {
1849
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1850
- label: string;
1851
1850
  id: string;
1851
+ label: string;
1852
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1852
1853
  capture: "at_action" | "historical_lookup" | "fixture";
1853
1854
  locator?: string | undefined;
1854
1855
  }, {
1855
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
- label: string;
1857
1856
  id: string;
1857
+ label: string;
1858
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1858
1859
  capture: "at_action" | "historical_lookup" | "fixture";
1859
1860
  locator?: string | undefined;
1860
1861
  }>, "many">>;
@@ -1867,9 +1868,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1867
1868
  agentId: string;
1868
1869
  sessionId: string;
1869
1870
  evidence: {
1870
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
- label: string;
1872
1871
  id: string;
1872
+ label: string;
1873
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1874
1875
  locator?: string | undefined;
1875
1876
  }[];
@@ -1885,9 +1886,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1885
1886
  recallReceiptId: string;
1886
1887
  capturedAtAction: boolean;
1887
1888
  evidence?: {
1888
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
- label: string;
1890
1889
  id: string;
1890
+ label: string;
1891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1892
1893
  locator?: string | undefined;
1893
1894
  }[] | undefined;
@@ -1903,15 +1904,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1903
1904
  locator: z.ZodOptional<z.ZodString>;
1904
1905
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1905
1906
  }, "strict", z.ZodTypeAny, {
1906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
- label: string;
1908
1907
  id: string;
1908
+ label: string;
1909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1909
1910
  capture: "at_action" | "historical_lookup" | "fixture";
1910
1911
  locator?: string | undefined;
1911
1912
  }, {
1912
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
- label: string;
1914
1913
  id: string;
1914
+ label: string;
1915
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1916
  capture: "at_action" | "historical_lookup" | "fixture";
1916
1917
  locator?: string | undefined;
1917
1918
  }>, "many">>;
@@ -1923,9 +1924,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1923
1924
  agentId: string;
1924
1925
  sessionId: string;
1925
1926
  evidence: {
1926
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
- label: string;
1928
1927
  id: string;
1928
+ label: string;
1929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1929
1930
  capture: "at_action" | "historical_lookup" | "fixture";
1930
1931
  locator?: string | undefined;
1931
1932
  }[];
@@ -1942,9 +1943,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1942
1943
  recallReceiptId: string;
1943
1944
  staleDecisionAbsent: boolean;
1944
1945
  evidence?: {
1945
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
- label: string;
1947
1946
  id: string;
1947
+ label: string;
1948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
1949
  capture: "at_action" | "historical_lookup" | "fixture";
1949
1950
  locator?: string | undefined;
1950
1951
  }[] | undefined;
@@ -1959,37 +1960,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1959
1960
  locator: z.ZodOptional<z.ZodString>;
1960
1961
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1961
1962
  }, "strict", z.ZodTypeAny, {
1962
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1963
- label: string;
1964
1963
  id: string;
1964
+ label: string;
1965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1965
1966
  capture: "at_action" | "historical_lookup" | "fixture";
1966
1967
  locator?: string | undefined;
1967
1968
  }, {
1968
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1969
- label: string;
1970
1969
  id: string;
1970
+ label: string;
1971
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1971
1972
  capture: "at_action" | "historical_lookup" | "fixture";
1972
1973
  locator?: string | undefined;
1973
1974
  }>, "many">>;
1974
1975
  }, "strict", z.ZodTypeAny, {
1975
- kind: "mission_completed";
1976
1976
  summary: string;
1977
+ kind: "mission_completed";
1977
1978
  outcome: "failed" | "recovered" | "inconclusive";
1978
1979
  evidence: {
1979
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1980
- label: string;
1981
1980
  id: string;
1981
+ label: string;
1982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1982
1983
  capture: "at_action" | "historical_lookup" | "fixture";
1983
1984
  locator?: string | undefined;
1984
1985
  }[];
1985
1986
  }, {
1986
- kind: "mission_completed";
1987
1987
  summary: string;
1988
+ kind: "mission_completed";
1988
1989
  outcome: "failed" | "recovered" | "inconclusive";
1989
1990
  evidence?: {
1990
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1991
- label: string;
1992
1991
  id: string;
1992
+ label: string;
1993
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1993
1994
  capture: "at_action" | "historical_lookup" | "fixture";
1994
1995
  locator?: string | undefined;
1995
1996
  }[] | undefined;
@@ -1997,38 +1998,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1997
1998
  kind: "mission_started";
1998
1999
  title: string;
1999
2000
  evidence: {
2000
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2001
- label: string;
2002
2001
  id: string;
2002
+ label: string;
2003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2003
2004
  capture: "at_action" | "historical_lookup" | "fixture";
2004
2005
  locator?: string | undefined;
2005
2006
  }[];
2006
2007
  objective: string;
2007
2008
  runMode: "replay" | "fixture" | "live";
2008
2009
  } | {
2009
- kind: "agent_status";
2010
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2011
2010
  label: string;
2011
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2012
+ kind: "agent_status";
2012
2013
  role: string;
2013
2014
  agentId: string;
2014
2015
  sessionId: string;
2015
2016
  evidence: {
2016
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2017
- label: string;
2018
2017
  id: string;
2018
+ label: string;
2019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2019
2020
  capture: "at_action" | "historical_lookup" | "fixture";
2020
2021
  locator?: string | undefined;
2021
2022
  }[];
2022
2023
  detail?: string | undefined;
2023
2024
  } | {
2024
- kind: "agent_output";
2025
2025
  summary: string;
2026
+ kind: "agent_output";
2026
2027
  agentId: string;
2027
2028
  sessionId: string;
2028
2029
  evidence: {
2029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
- label: string;
2031
2030
  id: string;
2031
+ label: string;
2032
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2033
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2034
  locator?: string | undefined;
2034
2035
  }[];
@@ -2039,9 +2040,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2039
2040
  statement: string;
2040
2041
  sessionId: string;
2041
2042
  evidence: {
2042
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2043
- label: string;
2044
2043
  id: string;
2044
+ label: string;
2045
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2046
  capture: "at_action" | "historical_lookup" | "fixture";
2046
2047
  locator?: string | undefined;
2047
2048
  }[];
@@ -2049,12 +2050,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2049
2050
  decisionId: string;
2050
2051
  confidence?: number | undefined;
2051
2052
  } | {
2052
- kind: "conflict_detected";
2053
2053
  summary: string;
2054
+ kind: "conflict_detected";
2054
2055
  evidence: {
2055
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2056
- label: string;
2057
2056
  id: string;
2057
+ label: string;
2058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2058
2059
  capture: "at_action" | "historical_lookup" | "fixture";
2059
2060
  locator?: string | undefined;
2060
2061
  }[];
@@ -2062,14 +2063,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2062
2063
  decisionIds: string[];
2063
2064
  agentIds: string[];
2064
2065
  } | {
2065
- kind: "test_result";
2066
2066
  summary: string;
2067
2067
  status: "error" | "failed" | "passed";
2068
+ kind: "test_result";
2068
2069
  command: string;
2069
2070
  evidence: {
2070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2071
- label: string;
2072
2071
  id: string;
2072
+ label: string;
2073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2073
2074
  capture: "at_action" | "historical_lookup" | "fixture";
2074
2075
  locator?: string | undefined;
2075
2076
  }[];
@@ -2082,9 +2083,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2082
2083
  statement: string;
2083
2084
  rationale: string;
2084
2085
  evidence: {
2085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
- label: string;
2087
2086
  id: string;
2087
+ label: string;
2088
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2089
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2090
  locator?: string | undefined;
2090
2091
  }[];
@@ -2096,25 +2097,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2096
2097
  } | {
2097
2098
  kind: "correction_approved";
2098
2099
  evidence: {
2099
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2100
- label: string;
2101
2100
  id: string;
2101
+ label: string;
2102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2102
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2103
2104
  locator?: string | undefined;
2104
2105
  }[];
2105
2106
  correctionId: string;
2106
2107
  approvedBy: {
2107
- kind: "agent" | "human";
2108
- label: string;
2109
2108
  id: string;
2109
+ label: string;
2110
+ kind: "agent" | "human";
2110
2111
  };
2111
2112
  note?: string | undefined;
2112
2113
  } | {
2113
2114
  kind: "decision_superseded";
2114
2115
  evidence: {
2115
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2116
- label: string;
2117
2116
  id: string;
2117
+ label: string;
2118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2118
2119
  capture: "at_action" | "historical_lookup" | "fixture";
2119
2120
  locator?: string | undefined;
2120
2121
  }[];
@@ -2127,9 +2128,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2127
2128
  agentId: string;
2128
2129
  sessionId: string;
2129
2130
  evidence: {
2130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
- label: string;
2132
2131
  id: string;
2132
+ label: string;
2133
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
2134
  capture: "at_action" | "historical_lookup" | "fixture";
2134
2135
  locator?: string | undefined;
2135
2136
  }[];
@@ -2141,9 +2142,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2141
2142
  agentId: string;
2142
2143
  sessionId: string;
2143
2144
  evidence: {
2144
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
- label: string;
2146
2145
  id: string;
2146
+ label: string;
2147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2147
2148
  capture: "at_action" | "historical_lookup" | "fixture";
2148
2149
  locator?: string | undefined;
2149
2150
  }[];
@@ -2152,13 +2153,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2152
2153
  recallReceiptId: string;
2153
2154
  staleDecisionAbsent: boolean;
2154
2155
  } | {
2155
- kind: "mission_completed";
2156
2156
  summary: string;
2157
+ kind: "mission_completed";
2157
2158
  outcome: "failed" | "recovered" | "inconclusive";
2158
2159
  evidence: {
2159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
- label: string;
2161
2160
  id: string;
2161
+ label: string;
2162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2162
2163
  capture: "at_action" | "historical_lookup" | "fixture";
2163
2164
  locator?: string | undefined;
2164
2165
  }[];
@@ -2168,37 +2169,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2168
2169
  objective: string;
2169
2170
  runMode: "replay" | "fixture" | "live";
2170
2171
  evidence?: {
2171
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2172
- label: string;
2173
2172
  id: string;
2173
+ label: string;
2174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2175
  capture: "at_action" | "historical_lookup" | "fixture";
2175
2176
  locator?: string | undefined;
2176
2177
  }[] | undefined;
2177
2178
  } | {
2178
- kind: "agent_status";
2179
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2180
2179
  label: string;
2180
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2181
+ kind: "agent_status";
2181
2182
  role: string;
2182
2183
  agentId: string;
2183
2184
  sessionId: string;
2184
2185
  detail?: string | undefined;
2185
2186
  evidence?: {
2186
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2187
- label: string;
2188
2187
  id: string;
2188
+ label: string;
2189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2189
2190
  capture: "at_action" | "historical_lookup" | "fixture";
2190
2191
  locator?: string | undefined;
2191
2192
  }[] | undefined;
2192
2193
  } | {
2193
- kind: "agent_output";
2194
2194
  summary: string;
2195
+ kind: "agent_output";
2195
2196
  agentId: string;
2196
2197
  sessionId: string;
2197
2198
  outputId: string;
2198
2199
  evidence?: {
2199
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
- label: string;
2201
2200
  id: string;
2201
+ label: string;
2202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2203
  capture: "at_action" | "historical_lookup" | "fixture";
2203
2204
  locator?: string | undefined;
2204
2205
  }[] | undefined;
@@ -2211,37 +2212,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2211
2212
  decisionId: string;
2212
2213
  confidence?: number | undefined;
2213
2214
  evidence?: {
2214
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2215
- label: string;
2216
2215
  id: string;
2216
+ label: string;
2217
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
2218
  capture: "at_action" | "historical_lookup" | "fixture";
2218
2219
  locator?: string | undefined;
2219
2220
  }[] | undefined;
2220
2221
  } | {
2221
- kind: "conflict_detected";
2222
2222
  summary: string;
2223
+ kind: "conflict_detected";
2223
2224
  conflictId: string;
2224
2225
  decisionIds: string[];
2225
2226
  agentIds: string[];
2226
2227
  evidence?: {
2227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
- label: string;
2229
2228
  id: string;
2229
+ label: string;
2230
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
2231
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2232
  locator?: string | undefined;
2232
2233
  }[] | undefined;
2233
2234
  } | {
2234
- kind: "test_result";
2235
2235
  summary: string;
2236
2236
  status: "error" | "failed" | "passed";
2237
+ kind: "test_result";
2237
2238
  command: string;
2238
2239
  decisionId: string;
2239
2240
  testId: string;
2240
2241
  durationMs?: number | undefined;
2241
2242
  evidence?: {
2242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
- label: string;
2244
2243
  id: string;
2244
+ label: string;
2245
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2245
2246
  capture: "at_action" | "historical_lookup" | "fixture";
2246
2247
  locator?: string | undefined;
2247
2248
  }[] | undefined;
@@ -2256,9 +2257,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2256
2257
  supersedesDecisionIds: string[];
2257
2258
  proposedBy: string;
2258
2259
  evidence?: {
2259
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2260
- label: string;
2261
2260
  id: string;
2261
+ label: string;
2262
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2263
  capture: "at_action" | "historical_lookup" | "fixture";
2263
2264
  locator?: string | undefined;
2264
2265
  }[] | undefined;
@@ -2266,15 +2267,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2266
2267
  kind: "correction_approved";
2267
2268
  correctionId: string;
2268
2269
  approvedBy: {
2269
- kind: "agent" | "human";
2270
- label: string;
2271
2270
  id: string;
2271
+ label: string;
2272
+ kind: "agent" | "human";
2272
2273
  };
2273
2274
  note?: string | undefined;
2274
2275
  evidence?: {
2275
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2276
- label: string;
2277
2276
  id: string;
2277
+ label: string;
2278
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
2279
  capture: "at_action" | "historical_lookup" | "fixture";
2279
2280
  locator?: string | undefined;
2280
2281
  }[] | undefined;
@@ -2284,9 +2285,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2284
2285
  correctionId: string;
2285
2286
  replacementDecisionId: string;
2286
2287
  evidence?: {
2287
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2288
- label: string;
2289
2288
  id: string;
2289
+ label: string;
2290
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2290
2291
  capture: "at_action" | "historical_lookup" | "fixture";
2291
2292
  locator?: string | undefined;
2292
2293
  }[] | undefined;
@@ -2299,9 +2300,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2299
2300
  recallReceiptId: string;
2300
2301
  capturedAtAction: boolean;
2301
2302
  evidence?: {
2302
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2303
- label: string;
2304
2303
  id: string;
2304
+ label: string;
2305
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2305
2306
  capture: "at_action" | "historical_lookup" | "fixture";
2306
2307
  locator?: string | undefined;
2307
2308
  }[] | undefined;
@@ -2314,20 +2315,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2314
2315
  recallReceiptId: string;
2315
2316
  staleDecisionAbsent: boolean;
2316
2317
  evidence?: {
2317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
- label: string;
2319
2318
  id: string;
2319
+ label: string;
2320
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2321
  capture: "at_action" | "historical_lookup" | "fixture";
2321
2322
  locator?: string | undefined;
2322
2323
  }[] | undefined;
2323
2324
  } | {
2324
- kind: "mission_completed";
2325
2325
  summary: string;
2326
+ kind: "mission_completed";
2326
2327
  outcome: "failed" | "recovered" | "inconclusive";
2327
2328
  evidence?: {
2328
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2329
- label: string;
2330
2329
  id: string;
2330
+ label: string;
2331
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2331
2332
  capture: "at_action" | "historical_lookup" | "fixture";
2332
2333
  locator?: string | undefined;
2333
2334
  }[] | undefined;
@@ -2348,15 +2349,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2348
2349
  locator: z.ZodOptional<z.ZodString>;
2349
2350
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2350
2351
  }, "strict", z.ZodTypeAny, {
2351
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2352
- label: string;
2353
2352
  id: string;
2353
+ label: string;
2354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2354
2355
  capture: "at_action" | "historical_lookup" | "fixture";
2355
2356
  locator?: string | undefined;
2356
2357
  }, {
2357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2358
- label: string;
2359
2358
  id: string;
2359
+ label: string;
2360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2360
2361
  capture: "at_action" | "historical_lookup" | "fixture";
2361
2362
  locator?: string | undefined;
2362
2363
  }>, "many">>;
@@ -2364,9 +2365,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2364
2365
  kind: "mission_started";
2365
2366
  title: string;
2366
2367
  evidence: {
2367
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2368
- label: string;
2369
2368
  id: string;
2369
+ label: string;
2370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2370
2371
  capture: "at_action" | "historical_lookup" | "fixture";
2371
2372
  locator?: string | undefined;
2372
2373
  }[];
@@ -2378,9 +2379,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2378
2379
  objective: string;
2379
2380
  runMode: "replay" | "fixture" | "live";
2380
2381
  evidence?: {
2381
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
- label: string;
2383
2382
  id: string;
2383
+ label: string;
2384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2384
2385
  capture: "at_action" | "historical_lookup" | "fixture";
2385
2386
  locator?: string | undefined;
2386
2387
  }[] | undefined;
@@ -2396,15 +2397,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2396
2397
  locator: z.ZodOptional<z.ZodString>;
2397
2398
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2398
2399
  }, "strict", z.ZodTypeAny, {
2399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
- label: string;
2401
2400
  id: string;
2401
+ label: string;
2402
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2402
2403
  capture: "at_action" | "historical_lookup" | "fixture";
2403
2404
  locator?: string | undefined;
2404
2405
  }, {
2405
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
- label: string;
2407
2406
  id: string;
2407
+ label: string;
2408
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2408
2409
  capture: "at_action" | "historical_lookup" | "fixture";
2409
2410
  locator?: string | undefined;
2410
2411
  }>, "many">>;
@@ -2412,32 +2413,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2412
2413
  sessionId: z.ZodString;
2413
2414
  kind: z.ZodLiteral<"agent_status">;
2414
2415
  }, "strict", z.ZodTypeAny, {
2415
- kind: "agent_status";
2416
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2417
2416
  label: string;
2417
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2418
+ kind: "agent_status";
2418
2419
  role: string;
2419
2420
  agentId: string;
2420
2421
  sessionId: string;
2421
2422
  evidence: {
2422
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2423
- label: string;
2424
2423
  id: string;
2424
+ label: string;
2425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2425
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2426
2427
  locator?: string | undefined;
2427
2428
  }[];
2428
2429
  detail?: string | undefined;
2429
2430
  }, {
2430
- kind: "agent_status";
2431
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2432
2431
  label: string;
2432
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2433
+ kind: "agent_status";
2433
2434
  role: string;
2434
2435
  agentId: string;
2435
2436
  sessionId: string;
2436
2437
  detail?: string | undefined;
2437
2438
  evidence?: {
2438
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
- label: string;
2440
2439
  id: string;
2440
+ label: string;
2441
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2441
2442
  capture: "at_action" | "historical_lookup" | "fixture";
2442
2443
  locator?: string | undefined;
2443
2444
  }[] | undefined;
@@ -2451,15 +2452,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2451
2452
  locator: z.ZodOptional<z.ZodString>;
2452
2453
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2453
2454
  }, "strict", z.ZodTypeAny, {
2454
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2455
- label: string;
2456
2455
  id: string;
2456
+ label: string;
2457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
2458
  capture: "at_action" | "historical_lookup" | "fixture";
2458
2459
  locator?: string | undefined;
2459
2460
  }, {
2460
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
- label: string;
2462
2461
  id: string;
2462
+ label: string;
2463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
2464
  capture: "at_action" | "historical_lookup" | "fixture";
2464
2465
  locator?: string | undefined;
2465
2466
  }>, "many">>;
@@ -2467,28 +2468,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2467
2468
  sessionId: z.ZodString;
2468
2469
  kind: z.ZodLiteral<"agent_output">;
2469
2470
  }, "strict", z.ZodTypeAny, {
2470
- kind: "agent_output";
2471
2471
  summary: string;
2472
+ kind: "agent_output";
2472
2473
  agentId: string;
2473
2474
  sessionId: string;
2474
2475
  evidence: {
2475
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
- label: string;
2477
2476
  id: string;
2477
+ label: string;
2478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2478
2479
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2480
  locator?: string | undefined;
2480
2481
  }[];
2481
2482
  outputId: string;
2482
2483
  }, {
2483
- kind: "agent_output";
2484
2484
  summary: string;
2485
+ kind: "agent_output";
2485
2486
  agentId: string;
2486
2487
  sessionId: string;
2487
2488
  outputId: string;
2488
2489
  evidence?: {
2489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2490
- label: string;
2491
2490
  id: string;
2491
+ label: string;
2492
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
2493
  capture: "at_action" | "historical_lookup" | "fixture";
2493
2494
  locator?: string | undefined;
2494
2495
  }[] | undefined;
@@ -2504,15 +2505,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2504
2505
  locator: z.ZodOptional<z.ZodString>;
2505
2506
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2506
2507
  }, "strict", z.ZodTypeAny, {
2507
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
- label: string;
2509
2508
  id: string;
2509
+ label: string;
2510
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2510
2511
  capture: "at_action" | "historical_lookup" | "fixture";
2511
2512
  locator?: string | undefined;
2512
2513
  }, {
2513
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
- label: string;
2515
2514
  id: string;
2515
+ label: string;
2516
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2516
2517
  capture: "at_action" | "historical_lookup" | "fixture";
2517
2518
  locator?: string | undefined;
2518
2519
  }>, "many">>;
@@ -2525,9 +2526,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2525
2526
  statement: string;
2526
2527
  sessionId: string;
2527
2528
  evidence: {
2528
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2529
- label: string;
2530
2529
  id: string;
2530
+ label: string;
2531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2532
2533
  locator?: string | undefined;
2533
2534
  }[];
@@ -2543,9 +2544,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2543
2544
  decisionId: string;
2544
2545
  confidence?: number | undefined;
2545
2546
  evidence?: {
2546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2547
- label: string;
2548
2547
  id: string;
2548
+ label: string;
2549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2549
2550
  capture: "at_action" | "historical_lookup" | "fixture";
2550
2551
  locator?: string | undefined;
2551
2552
  }[] | undefined;
@@ -2562,25 +2563,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2562
2563
  locator: z.ZodOptional<z.ZodString>;
2563
2564
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2564
2565
  }, "strict", z.ZodTypeAny, {
2565
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2566
- label: string;
2567
2566
  id: string;
2567
+ label: string;
2568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2568
2569
  capture: "at_action" | "historical_lookup" | "fixture";
2569
2570
  locator?: string | undefined;
2570
2571
  }, {
2571
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2572
- label: string;
2573
2572
  id: string;
2573
+ label: string;
2574
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2574
2575
  capture: "at_action" | "historical_lookup" | "fixture";
2575
2576
  locator?: string | undefined;
2576
2577
  }>, "many">>;
2577
2578
  }, "strict", z.ZodTypeAny, {
2578
- kind: "conflict_detected";
2579
2579
  summary: string;
2580
+ kind: "conflict_detected";
2580
2581
  evidence: {
2581
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2582
- label: string;
2583
2582
  id: string;
2583
+ label: string;
2584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2584
2585
  capture: "at_action" | "historical_lookup" | "fixture";
2585
2586
  locator?: string | undefined;
2586
2587
  }[];
@@ -2588,15 +2589,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2588
2589
  decisionIds: string[];
2589
2590
  agentIds: string[];
2590
2591
  }, {
2591
- kind: "conflict_detected";
2592
2592
  summary: string;
2593
+ kind: "conflict_detected";
2593
2594
  conflictId: string;
2594
2595
  decisionIds: string[];
2595
2596
  agentIds: string[];
2596
2597
  evidence?: {
2597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
- label: string;
2599
2598
  id: string;
2599
+ label: string;
2600
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2601
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2602
  locator?: string | undefined;
2602
2603
  }[] | undefined;
@@ -2616,27 +2617,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2616
2617
  locator: z.ZodOptional<z.ZodString>;
2617
2618
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2618
2619
  }, "strict", z.ZodTypeAny, {
2619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2620
- label: string;
2621
2620
  id: string;
2621
+ label: string;
2622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
2623
  capture: "at_action" | "historical_lookup" | "fixture";
2623
2624
  locator?: string | undefined;
2624
2625
  }, {
2625
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2626
- label: string;
2627
2626
  id: string;
2627
+ label: string;
2628
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
2629
  capture: "at_action" | "historical_lookup" | "fixture";
2629
2630
  locator?: string | undefined;
2630
2631
  }>, "many">>;
2631
2632
  }, "strict", z.ZodTypeAny, {
2632
- kind: "test_result";
2633
2633
  summary: string;
2634
2634
  status: "error" | "failed" | "passed";
2635
+ kind: "test_result";
2635
2636
  command: string;
2636
2637
  evidence: {
2637
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2638
- label: string;
2639
2638
  id: string;
2639
+ label: string;
2640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2640
2641
  capture: "at_action" | "historical_lookup" | "fixture";
2641
2642
  locator?: string | undefined;
2642
2643
  }[];
@@ -2645,17 +2646,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2645
2646
  durationMs?: number | undefined;
2646
2647
  correctionId?: string | undefined;
2647
2648
  }, {
2648
- kind: "test_result";
2649
2649
  summary: string;
2650
2650
  status: "error" | "failed" | "passed";
2651
+ kind: "test_result";
2651
2652
  command: string;
2652
2653
  decisionId: string;
2653
2654
  testId: string;
2654
2655
  durationMs?: number | undefined;
2655
2656
  evidence?: {
2656
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2657
- label: string;
2658
2657
  id: string;
2658
+ label: string;
2659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
2660
  capture: "at_action" | "historical_lookup" | "fixture";
2660
2661
  locator?: string | undefined;
2661
2662
  }[] | undefined;
@@ -2676,15 +2677,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2676
2677
  locator: z.ZodOptional<z.ZodString>;
2677
2678
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2678
2679
  }, "strict", z.ZodTypeAny, {
2679
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2680
- label: string;
2681
2680
  id: string;
2681
+ label: string;
2682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2682
2683
  capture: "at_action" | "historical_lookup" | "fixture";
2683
2684
  locator?: string | undefined;
2684
2685
  }, {
2685
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2686
- label: string;
2687
2686
  id: string;
2687
+ label: string;
2688
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2688
2689
  capture: "at_action" | "historical_lookup" | "fixture";
2689
2690
  locator?: string | undefined;
2690
2691
  }>, "many">>;
@@ -2693,9 +2694,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2693
2694
  statement: string;
2694
2695
  rationale: string;
2695
2696
  evidence: {
2696
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2697
- label: string;
2698
2697
  id: string;
2698
+ label: string;
2699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2699
2700
  capture: "at_action" | "historical_lookup" | "fixture";
2700
2701
  locator?: string | undefined;
2701
2702
  }[];
@@ -2714,9 +2715,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2714
2715
  supersedesDecisionIds: string[];
2715
2716
  proposedBy: string;
2716
2717
  evidence?: {
2717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
- label: string;
2719
2718
  id: string;
2719
+ label: string;
2720
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2721
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2722
  locator?: string | undefined;
2722
2723
  }[] | undefined;
@@ -2728,13 +2729,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2728
2729
  id: z.ZodString;
2729
2730
  label: z.ZodString;
2730
2731
  }, "strict", z.ZodTypeAny, {
2731
- kind: "agent" | "human";
2732
- label: string;
2733
2732
  id: string;
2734
- }, {
2735
- kind: "agent" | "human";
2736
2733
  label: string;
2734
+ kind: "agent" | "human";
2735
+ }, {
2737
2736
  id: string;
2737
+ label: string;
2738
+ kind: "agent" | "human";
2738
2739
  }>;
2739
2740
  note: z.ZodOptional<z.ZodString>;
2740
2741
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2744,47 +2745,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2744
2745
  locator: z.ZodOptional<z.ZodString>;
2745
2746
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2746
2747
  }, "strict", z.ZodTypeAny, {
2747
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
- label: string;
2749
2748
  id: string;
2749
+ label: string;
2750
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
2751
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2752
  locator?: string | undefined;
2752
2753
  }, {
2753
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2754
- label: string;
2755
2754
  id: string;
2755
+ label: string;
2756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2756
2757
  capture: "at_action" | "historical_lookup" | "fixture";
2757
2758
  locator?: string | undefined;
2758
2759
  }>, "many">>;
2759
2760
  }, "strict", z.ZodTypeAny, {
2760
2761
  kind: "correction_approved";
2761
2762
  evidence: {
2762
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
- label: string;
2764
2763
  id: string;
2764
+ label: string;
2765
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2765
2766
  capture: "at_action" | "historical_lookup" | "fixture";
2766
2767
  locator?: string | undefined;
2767
2768
  }[];
2768
2769
  correctionId: string;
2769
2770
  approvedBy: {
2770
- kind: "agent" | "human";
2771
- label: string;
2772
2771
  id: string;
2772
+ label: string;
2773
+ kind: "agent" | "human";
2773
2774
  };
2774
2775
  note?: string | undefined;
2775
2776
  }, {
2776
2777
  kind: "correction_approved";
2777
2778
  correctionId: string;
2778
2779
  approvedBy: {
2779
- kind: "agent" | "human";
2780
- label: string;
2781
2780
  id: string;
2781
+ label: string;
2782
+ kind: "agent" | "human";
2782
2783
  };
2783
2784
  note?: string | undefined;
2784
2785
  evidence?: {
2785
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2786
- label: string;
2787
2786
  id: string;
2787
+ label: string;
2788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2788
2789
  capture: "at_action" | "historical_lookup" | "fixture";
2789
2790
  locator?: string | undefined;
2790
2791
  }[] | undefined;
@@ -2800,24 +2801,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2800
2801
  locator: z.ZodOptional<z.ZodString>;
2801
2802
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2802
2803
  }, "strict", z.ZodTypeAny, {
2803
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2804
- label: string;
2805
2804
  id: string;
2805
+ label: string;
2806
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2806
2807
  capture: "at_action" | "historical_lookup" | "fixture";
2807
2808
  locator?: string | undefined;
2808
2809
  }, {
2809
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2810
- label: string;
2811
2810
  id: string;
2811
+ label: string;
2812
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2812
2813
  capture: "at_action" | "historical_lookup" | "fixture";
2813
2814
  locator?: string | undefined;
2814
2815
  }>, "many">>;
2815
2816
  }, "strict", z.ZodTypeAny, {
2816
2817
  kind: "decision_superseded";
2817
2818
  evidence: {
2818
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
- label: string;
2820
2819
  id: string;
2820
+ label: string;
2821
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
2822
  capture: "at_action" | "historical_lookup" | "fixture";
2822
2823
  locator?: string | undefined;
2823
2824
  }[];
@@ -2830,9 +2831,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2830
2831
  correctionId: string;
2831
2832
  replacementDecisionId: string;
2832
2833
  evidence?: {
2833
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
- label: string;
2835
2834
  id: string;
2835
+ label: string;
2836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2836
2837
  capture: "at_action" | "historical_lookup" | "fixture";
2837
2838
  locator?: string | undefined;
2838
2839
  }[] | undefined;
@@ -2848,15 +2849,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2848
2849
  locator: z.ZodOptional<z.ZodString>;
2849
2850
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2850
2851
  }, "strict", z.ZodTypeAny, {
2851
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2852
- label: string;
2853
2852
  id: string;
2853
+ label: string;
2854
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2854
2855
  capture: "at_action" | "historical_lookup" | "fixture";
2855
2856
  locator?: string | undefined;
2856
2857
  }, {
2857
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
- label: string;
2859
2858
  id: string;
2859
+ label: string;
2860
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2860
2861
  capture: "at_action" | "historical_lookup" | "fixture";
2861
2862
  locator?: string | undefined;
2862
2863
  }>, "many">>;
@@ -2869,9 +2870,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2869
2870
  agentId: string;
2870
2871
  sessionId: string;
2871
2872
  evidence: {
2872
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
- label: string;
2874
2873
  id: string;
2874
+ label: string;
2875
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2876
2877
  locator?: string | undefined;
2877
2878
  }[];
@@ -2887,9 +2888,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2887
2888
  recallReceiptId: string;
2888
2889
  capturedAtAction: boolean;
2889
2890
  evidence?: {
2890
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2891
- label: string;
2892
2891
  id: string;
2892
+ label: string;
2893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2893
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2894
2895
  locator?: string | undefined;
2895
2896
  }[] | undefined;
@@ -2905,15 +2906,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2905
2906
  locator: z.ZodOptional<z.ZodString>;
2906
2907
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2907
2908
  }, "strict", z.ZodTypeAny, {
2908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
- label: string;
2910
2909
  id: string;
2910
+ label: string;
2911
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2911
2912
  capture: "at_action" | "historical_lookup" | "fixture";
2912
2913
  locator?: string | undefined;
2913
2914
  }, {
2914
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2915
- label: string;
2916
2915
  id: string;
2916
+ label: string;
2917
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2918
  capture: "at_action" | "historical_lookup" | "fixture";
2918
2919
  locator?: string | undefined;
2919
2920
  }>, "many">>;
@@ -2925,9 +2926,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2925
2926
  agentId: string;
2926
2927
  sessionId: string;
2927
2928
  evidence: {
2928
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
- label: string;
2930
2929
  id: string;
2930
+ label: string;
2931
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2931
2932
  capture: "at_action" | "historical_lookup" | "fixture";
2932
2933
  locator?: string | undefined;
2933
2934
  }[];
@@ -2944,9 +2945,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2944
2945
  recallReceiptId: string;
2945
2946
  staleDecisionAbsent: boolean;
2946
2947
  evidence?: {
2947
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
- label: string;
2949
2948
  id: string;
2949
+ label: string;
2950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
2951
  capture: "at_action" | "historical_lookup" | "fixture";
2951
2952
  locator?: string | undefined;
2952
2953
  }[] | undefined;
@@ -2961,37 +2962,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2961
2962
  locator: z.ZodOptional<z.ZodString>;
2962
2963
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2963
2964
  }, "strict", z.ZodTypeAny, {
2964
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2965
- label: string;
2966
2965
  id: string;
2966
+ label: string;
2967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2967
2968
  capture: "at_action" | "historical_lookup" | "fixture";
2968
2969
  locator?: string | undefined;
2969
2970
  }, {
2970
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2971
- label: string;
2972
2971
  id: string;
2972
+ label: string;
2973
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2973
2974
  capture: "at_action" | "historical_lookup" | "fixture";
2974
2975
  locator?: string | undefined;
2975
2976
  }>, "many">>;
2976
2977
  }, "strict", z.ZodTypeAny, {
2977
- kind: "mission_completed";
2978
2978
  summary: string;
2979
+ kind: "mission_completed";
2979
2980
  outcome: "failed" | "recovered" | "inconclusive";
2980
2981
  evidence: {
2981
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2982
- label: string;
2983
2982
  id: string;
2983
+ label: string;
2984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2984
2985
  capture: "at_action" | "historical_lookup" | "fixture";
2985
2986
  locator?: string | undefined;
2986
2987
  }[];
2987
2988
  }, {
2988
- kind: "mission_completed";
2989
2989
  summary: string;
2990
+ kind: "mission_completed";
2990
2991
  outcome: "failed" | "recovered" | "inconclusive";
2991
2992
  evidence?: {
2992
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2993
- label: string;
2994
2993
  id: string;
2994
+ label: string;
2995
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2995
2996
  capture: "at_action" | "historical_lookup" | "fixture";
2996
2997
  locator?: string | undefined;
2997
2998
  }[] | undefined;
@@ -2999,38 +3000,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2999
3000
  kind: "mission_started";
3000
3001
  title: string;
3001
3002
  evidence: {
3002
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3003
- label: string;
3004
3003
  id: string;
3004
+ label: string;
3005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3005
3006
  capture: "at_action" | "historical_lookup" | "fixture";
3006
3007
  locator?: string | undefined;
3007
3008
  }[];
3008
3009
  objective: string;
3009
3010
  runMode: "replay" | "fixture" | "live";
3010
3011
  } | {
3011
- kind: "agent_status";
3012
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3013
3012
  label: string;
3013
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3014
+ kind: "agent_status";
3014
3015
  role: string;
3015
3016
  agentId: string;
3016
3017
  sessionId: string;
3017
3018
  evidence: {
3018
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3019
- label: string;
3020
3019
  id: string;
3020
+ label: string;
3021
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3021
3022
  capture: "at_action" | "historical_lookup" | "fixture";
3022
3023
  locator?: string | undefined;
3023
3024
  }[];
3024
3025
  detail?: string | undefined;
3025
3026
  } | {
3026
- kind: "agent_output";
3027
3027
  summary: string;
3028
+ kind: "agent_output";
3028
3029
  agentId: string;
3029
3030
  sessionId: string;
3030
3031
  evidence: {
3031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
- label: string;
3033
3032
  id: string;
3033
+ label: string;
3034
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
3035
  capture: "at_action" | "historical_lookup" | "fixture";
3035
3036
  locator?: string | undefined;
3036
3037
  }[];
@@ -3041,9 +3042,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3041
3042
  statement: string;
3042
3043
  sessionId: string;
3043
3044
  evidence: {
3044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3045
- label: string;
3046
3045
  id: string;
3046
+ label: string;
3047
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3048
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3049
  locator?: string | undefined;
3049
3050
  }[];
@@ -3051,12 +3052,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3051
3052
  decisionId: string;
3052
3053
  confidence?: number | undefined;
3053
3054
  } | {
3054
- kind: "conflict_detected";
3055
3055
  summary: string;
3056
+ kind: "conflict_detected";
3056
3057
  evidence: {
3057
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3058
- label: string;
3059
3058
  id: string;
3059
+ label: string;
3060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3060
3061
  capture: "at_action" | "historical_lookup" | "fixture";
3061
3062
  locator?: string | undefined;
3062
3063
  }[];
@@ -3064,14 +3065,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3064
3065
  decisionIds: string[];
3065
3066
  agentIds: string[];
3066
3067
  } | {
3067
- kind: "test_result";
3068
3068
  summary: string;
3069
3069
  status: "error" | "failed" | "passed";
3070
+ kind: "test_result";
3070
3071
  command: string;
3071
3072
  evidence: {
3072
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
- label: string;
3074
3073
  id: string;
3074
+ label: string;
3075
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3075
3076
  capture: "at_action" | "historical_lookup" | "fixture";
3076
3077
  locator?: string | undefined;
3077
3078
  }[];
@@ -3084,9 +3085,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3084
3085
  statement: string;
3085
3086
  rationale: string;
3086
3087
  evidence: {
3087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
- label: string;
3089
3088
  id: string;
3089
+ label: string;
3090
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
3091
  capture: "at_action" | "historical_lookup" | "fixture";
3091
3092
  locator?: string | undefined;
3092
3093
  }[];
@@ -3098,25 +3099,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3098
3099
  } | {
3099
3100
  kind: "correction_approved";
3100
3101
  evidence: {
3101
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
- label: string;
3103
3102
  id: string;
3103
+ label: string;
3104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3104
3105
  capture: "at_action" | "historical_lookup" | "fixture";
3105
3106
  locator?: string | undefined;
3106
3107
  }[];
3107
3108
  correctionId: string;
3108
3109
  approvedBy: {
3109
- kind: "agent" | "human";
3110
- label: string;
3111
3110
  id: string;
3111
+ label: string;
3112
+ kind: "agent" | "human";
3112
3113
  };
3113
3114
  note?: string | undefined;
3114
3115
  } | {
3115
3116
  kind: "decision_superseded";
3116
3117
  evidence: {
3117
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
- label: string;
3119
3118
  id: string;
3119
+ label: string;
3120
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3120
3121
  capture: "at_action" | "historical_lookup" | "fixture";
3121
3122
  locator?: string | undefined;
3122
3123
  }[];
@@ -3129,9 +3130,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3129
3130
  agentId: string;
3130
3131
  sessionId: string;
3131
3132
  evidence: {
3132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
- label: string;
3134
3133
  id: string;
3134
+ label: string;
3135
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3135
3136
  capture: "at_action" | "historical_lookup" | "fixture";
3136
3137
  locator?: string | undefined;
3137
3138
  }[];
@@ -3143,9 +3144,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3143
3144
  agentId: string;
3144
3145
  sessionId: string;
3145
3146
  evidence: {
3146
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
- label: string;
3148
3147
  id: string;
3148
+ label: string;
3149
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
3150
  capture: "at_action" | "historical_lookup" | "fixture";
3150
3151
  locator?: string | undefined;
3151
3152
  }[];
@@ -3154,13 +3155,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3154
3155
  recallReceiptId: string;
3155
3156
  staleDecisionAbsent: boolean;
3156
3157
  } | {
3157
- kind: "mission_completed";
3158
3158
  summary: string;
3159
+ kind: "mission_completed";
3159
3160
  outcome: "failed" | "recovered" | "inconclusive";
3160
3161
  evidence: {
3161
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
- label: string;
3163
3162
  id: string;
3163
+ label: string;
3164
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
3165
  capture: "at_action" | "historical_lookup" | "fixture";
3165
3166
  locator?: string | undefined;
3166
3167
  }[];
@@ -3170,37 +3171,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3170
3171
  objective: string;
3171
3172
  runMode: "replay" | "fixture" | "live";
3172
3173
  evidence?: {
3173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3174
- label: string;
3175
3174
  id: string;
3175
+ label: string;
3176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
3177
  capture: "at_action" | "historical_lookup" | "fixture";
3177
3178
  locator?: string | undefined;
3178
3179
  }[] | undefined;
3179
3180
  } | {
3180
- kind: "agent_status";
3181
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3182
3181
  label: string;
3182
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3183
+ kind: "agent_status";
3183
3184
  role: string;
3184
3185
  agentId: string;
3185
3186
  sessionId: string;
3186
3187
  detail?: string | undefined;
3187
3188
  evidence?: {
3188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
- label: string;
3190
3189
  id: string;
3190
+ label: string;
3191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3191
3192
  capture: "at_action" | "historical_lookup" | "fixture";
3192
3193
  locator?: string | undefined;
3193
3194
  }[] | undefined;
3194
3195
  } | {
3195
- kind: "agent_output";
3196
3196
  summary: string;
3197
+ kind: "agent_output";
3197
3198
  agentId: string;
3198
3199
  sessionId: string;
3199
3200
  outputId: string;
3200
3201
  evidence?: {
3201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
- label: string;
3203
3202
  id: string;
3203
+ label: string;
3204
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3205
  capture: "at_action" | "historical_lookup" | "fixture";
3205
3206
  locator?: string | undefined;
3206
3207
  }[] | undefined;
@@ -3213,37 +3214,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3213
3214
  decisionId: string;
3214
3215
  confidence?: number | undefined;
3215
3216
  evidence?: {
3216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
- label: string;
3218
3217
  id: string;
3218
+ label: string;
3219
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3220
  capture: "at_action" | "historical_lookup" | "fixture";
3220
3221
  locator?: string | undefined;
3221
3222
  }[] | undefined;
3222
3223
  } | {
3223
- kind: "conflict_detected";
3224
3224
  summary: string;
3225
+ kind: "conflict_detected";
3225
3226
  conflictId: string;
3226
3227
  decisionIds: string[];
3227
3228
  agentIds: string[];
3228
3229
  evidence?: {
3229
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
- label: string;
3231
3230
  id: string;
3231
+ label: string;
3232
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3232
3233
  capture: "at_action" | "historical_lookup" | "fixture";
3233
3234
  locator?: string | undefined;
3234
3235
  }[] | undefined;
3235
3236
  } | {
3236
- kind: "test_result";
3237
3237
  summary: string;
3238
3238
  status: "error" | "failed" | "passed";
3239
+ kind: "test_result";
3239
3240
  command: string;
3240
3241
  decisionId: string;
3241
3242
  testId: string;
3242
3243
  durationMs?: number | undefined;
3243
3244
  evidence?: {
3244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
- label: string;
3246
3245
  id: string;
3246
+ label: string;
3247
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3248
  capture: "at_action" | "historical_lookup" | "fixture";
3248
3249
  locator?: string | undefined;
3249
3250
  }[] | undefined;
@@ -3258,9 +3259,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3258
3259
  supersedesDecisionIds: string[];
3259
3260
  proposedBy: string;
3260
3261
  evidence?: {
3261
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
- label: string;
3263
3262
  id: string;
3263
+ label: string;
3264
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3264
3265
  capture: "at_action" | "historical_lookup" | "fixture";
3265
3266
  locator?: string | undefined;
3266
3267
  }[] | undefined;
@@ -3268,15 +3269,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3268
3269
  kind: "correction_approved";
3269
3270
  correctionId: string;
3270
3271
  approvedBy: {
3271
- kind: "agent" | "human";
3272
- label: string;
3273
3272
  id: string;
3273
+ label: string;
3274
+ kind: "agent" | "human";
3274
3275
  };
3275
3276
  note?: string | undefined;
3276
3277
  evidence?: {
3277
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
- label: string;
3279
3278
  id: string;
3279
+ label: string;
3280
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
3281
  capture: "at_action" | "historical_lookup" | "fixture";
3281
3282
  locator?: string | undefined;
3282
3283
  }[] | undefined;
@@ -3286,9 +3287,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3286
3287
  correctionId: string;
3287
3288
  replacementDecisionId: string;
3288
3289
  evidence?: {
3289
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
- label: string;
3291
3290
  id: string;
3291
+ label: string;
3292
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3293
3294
  locator?: string | undefined;
3294
3295
  }[] | undefined;
@@ -3301,9 +3302,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3301
3302
  recallReceiptId: string;
3302
3303
  capturedAtAction: boolean;
3303
3304
  evidence?: {
3304
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3305
- label: string;
3306
3305
  id: string;
3306
+ label: string;
3307
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3307
3308
  capture: "at_action" | "historical_lookup" | "fixture";
3308
3309
  locator?: string | undefined;
3309
3310
  }[] | undefined;
@@ -3316,20 +3317,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3316
3317
  recallReceiptId: string;
3317
3318
  staleDecisionAbsent: boolean;
3318
3319
  evidence?: {
3319
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3320
- label: string;
3321
3320
  id: string;
3321
+ label: string;
3322
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3322
3323
  capture: "at_action" | "historical_lookup" | "fixture";
3323
3324
  locator?: string | undefined;
3324
3325
  }[] | undefined;
3325
3326
  } | {
3326
- kind: "mission_completed";
3327
3327
  summary: string;
3328
+ kind: "mission_completed";
3328
3329
  outcome: "failed" | "recovered" | "inconclusive";
3329
3330
  evidence?: {
3330
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3331
- label: string;
3332
3331
  id: string;
3332
+ label: string;
3333
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
3334
  capture: "at_action" | "historical_lookup" | "fixture";
3334
3335
  locator?: string | undefined;
3335
3336
  }[] | undefined;
@@ -3339,38 +3340,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3339
3340
  kind: "mission_started";
3340
3341
  title: string;
3341
3342
  evidence: {
3342
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3343
- label: string;
3344
3343
  id: string;
3344
+ label: string;
3345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3345
3346
  capture: "at_action" | "historical_lookup" | "fixture";
3346
3347
  locator?: string | undefined;
3347
3348
  }[];
3348
3349
  objective: string;
3349
3350
  runMode: "replay" | "fixture" | "live";
3350
3351
  } | {
3351
- kind: "agent_status";
3352
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3353
3352
  label: string;
3353
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3354
+ kind: "agent_status";
3354
3355
  role: string;
3355
3356
  agentId: string;
3356
3357
  sessionId: string;
3357
3358
  evidence: {
3358
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3359
- label: string;
3360
3359
  id: string;
3360
+ label: string;
3361
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3361
3362
  capture: "at_action" | "historical_lookup" | "fixture";
3362
3363
  locator?: string | undefined;
3363
3364
  }[];
3364
3365
  detail?: string | undefined;
3365
3366
  } | {
3366
- kind: "agent_output";
3367
3367
  summary: string;
3368
+ kind: "agent_output";
3368
3369
  agentId: string;
3369
3370
  sessionId: string;
3370
3371
  evidence: {
3371
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
- label: string;
3373
3372
  id: string;
3373
+ label: string;
3374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
3375
  capture: "at_action" | "historical_lookup" | "fixture";
3375
3376
  locator?: string | undefined;
3376
3377
  }[];
@@ -3381,9 +3382,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3381
3382
  statement: string;
3382
3383
  sessionId: string;
3383
3384
  evidence: {
3384
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3385
- label: string;
3386
3385
  id: string;
3386
+ label: string;
3387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3388
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3389
  locator?: string | undefined;
3389
3390
  }[];
@@ -3391,12 +3392,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3391
3392
  decisionId: string;
3392
3393
  confidence?: number | undefined;
3393
3394
  } | {
3394
- kind: "conflict_detected";
3395
3395
  summary: string;
3396
+ kind: "conflict_detected";
3396
3397
  evidence: {
3397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3398
- label: string;
3399
3398
  id: string;
3399
+ label: string;
3400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3401
  capture: "at_action" | "historical_lookup" | "fixture";
3401
3402
  locator?: string | undefined;
3402
3403
  }[];
@@ -3404,14 +3405,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3404
3405
  decisionIds: string[];
3405
3406
  agentIds: string[];
3406
3407
  } | {
3407
- kind: "test_result";
3408
3408
  summary: string;
3409
3409
  status: "error" | "failed" | "passed";
3410
+ kind: "test_result";
3410
3411
  command: string;
3411
3412
  evidence: {
3412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3413
- label: string;
3414
3413
  id: string;
3414
+ label: string;
3415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3415
3416
  capture: "at_action" | "historical_lookup" | "fixture";
3416
3417
  locator?: string | undefined;
3417
3418
  }[];
@@ -3424,9 +3425,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3424
3425
  statement: string;
3425
3426
  rationale: string;
3426
3427
  evidence: {
3427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
- label: string;
3429
3428
  id: string;
3429
+ label: string;
3430
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3430
3431
  capture: "at_action" | "historical_lookup" | "fixture";
3431
3432
  locator?: string | undefined;
3432
3433
  }[];
@@ -3438,25 +3439,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3438
3439
  } | {
3439
3440
  kind: "correction_approved";
3440
3441
  evidence: {
3441
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3442
- label: string;
3443
3442
  id: string;
3443
+ label: string;
3444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3444
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3445
3446
  locator?: string | undefined;
3446
3447
  }[];
3447
3448
  correctionId: string;
3448
3449
  approvedBy: {
3449
- kind: "agent" | "human";
3450
- label: string;
3451
3450
  id: string;
3451
+ label: string;
3452
+ kind: "agent" | "human";
3452
3453
  };
3453
3454
  note?: string | undefined;
3454
3455
  } | {
3455
3456
  kind: "decision_superseded";
3456
3457
  evidence: {
3457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
- label: string;
3459
3458
  id: string;
3459
+ label: string;
3460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3461
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3462
  locator?: string | undefined;
3462
3463
  }[];
@@ -3469,9 +3470,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3469
3470
  agentId: string;
3470
3471
  sessionId: string;
3471
3472
  evidence: {
3472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
- label: string;
3474
3473
  id: string;
3474
+ label: string;
3475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
3476
  capture: "at_action" | "historical_lookup" | "fixture";
3476
3477
  locator?: string | undefined;
3477
3478
  }[];
@@ -3483,9 +3484,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3483
3484
  agentId: string;
3484
3485
  sessionId: string;
3485
3486
  evidence: {
3486
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3487
- label: string;
3488
3487
  id: string;
3488
+ label: string;
3489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3489
3490
  capture: "at_action" | "historical_lookup" | "fixture";
3490
3491
  locator?: string | undefined;
3491
3492
  }[];
@@ -3494,13 +3495,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3494
3495
  recallReceiptId: string;
3495
3496
  staleDecisionAbsent: boolean;
3496
3497
  } | {
3497
- kind: "mission_completed";
3498
3498
  summary: string;
3499
+ kind: "mission_completed";
3499
3500
  outcome: "failed" | "recovered" | "inconclusive";
3500
3501
  evidence: {
3501
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3502
- label: string;
3503
3502
  id: string;
3503
+ label: string;
3504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3504
3505
  capture: "at_action" | "historical_lookup" | "fixture";
3505
3506
  locator?: string | undefined;
3506
3507
  }[];
@@ -3514,37 +3515,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3514
3515
  objective: string;
3515
3516
  runMode: "replay" | "fixture" | "live";
3516
3517
  evidence?: {
3517
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3518
- label: string;
3519
3518
  id: string;
3519
+ label: string;
3520
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
3521
  capture: "at_action" | "historical_lookup" | "fixture";
3521
3522
  locator?: string | undefined;
3522
3523
  }[] | undefined;
3523
3524
  } | {
3524
- kind: "agent_status";
3525
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3526
3525
  label: string;
3526
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3527
+ kind: "agent_status";
3527
3528
  role: string;
3528
3529
  agentId: string;
3529
3530
  sessionId: string;
3530
3531
  detail?: string | undefined;
3531
3532
  evidence?: {
3532
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
- label: string;
3534
3533
  id: string;
3534
+ label: string;
3535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3535
3536
  capture: "at_action" | "historical_lookup" | "fixture";
3536
3537
  locator?: string | undefined;
3537
3538
  }[] | undefined;
3538
3539
  } | {
3539
- kind: "agent_output";
3540
3540
  summary: string;
3541
+ kind: "agent_output";
3541
3542
  agentId: string;
3542
3543
  sessionId: string;
3543
3544
  outputId: string;
3544
3545
  evidence?: {
3545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3546
- label: string;
3547
3546
  id: string;
3547
+ label: string;
3548
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3549
  capture: "at_action" | "historical_lookup" | "fixture";
3549
3550
  locator?: string | undefined;
3550
3551
  }[] | undefined;
@@ -3557,37 +3558,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3557
3558
  decisionId: string;
3558
3559
  confidence?: number | undefined;
3559
3560
  evidence?: {
3560
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3561
- label: string;
3562
3561
  id: string;
3562
+ label: string;
3563
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
3564
  capture: "at_action" | "historical_lookup" | "fixture";
3564
3565
  locator?: string | undefined;
3565
3566
  }[] | undefined;
3566
3567
  } | {
3567
- kind: "conflict_detected";
3568
3568
  summary: string;
3569
+ kind: "conflict_detected";
3569
3570
  conflictId: string;
3570
3571
  decisionIds: string[];
3571
3572
  agentIds: string[];
3572
3573
  evidence?: {
3573
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
- label: string;
3575
3574
  id: string;
3575
+ label: string;
3576
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3576
3577
  capture: "at_action" | "historical_lookup" | "fixture";
3577
3578
  locator?: string | undefined;
3578
3579
  }[] | undefined;
3579
3580
  } | {
3580
- kind: "test_result";
3581
3581
  summary: string;
3582
3582
  status: "error" | "failed" | "passed";
3583
+ kind: "test_result";
3583
3584
  command: string;
3584
3585
  decisionId: string;
3585
3586
  testId: string;
3586
3587
  durationMs?: number | undefined;
3587
3588
  evidence?: {
3588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
- label: string;
3590
3589
  id: string;
3590
+ label: string;
3591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
3592
  capture: "at_action" | "historical_lookup" | "fixture";
3592
3593
  locator?: string | undefined;
3593
3594
  }[] | undefined;
@@ -3602,9 +3603,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3602
3603
  supersedesDecisionIds: string[];
3603
3604
  proposedBy: string;
3604
3605
  evidence?: {
3605
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
- label: string;
3607
3606
  id: string;
3607
+ label: string;
3608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3608
3609
  capture: "at_action" | "historical_lookup" | "fixture";
3609
3610
  locator?: string | undefined;
3610
3611
  }[] | undefined;
@@ -3612,15 +3613,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3612
3613
  kind: "correction_approved";
3613
3614
  correctionId: string;
3614
3615
  approvedBy: {
3615
- kind: "agent" | "human";
3616
- label: string;
3617
3616
  id: string;
3617
+ label: string;
3618
+ kind: "agent" | "human";
3618
3619
  };
3619
3620
  note?: string | undefined;
3620
3621
  evidence?: {
3621
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
- label: string;
3623
3622
  id: string;
3623
+ label: string;
3624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3625
3626
  locator?: string | undefined;
3626
3627
  }[] | undefined;
@@ -3630,9 +3631,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3630
3631
  correctionId: string;
3631
3632
  replacementDecisionId: string;
3632
3633
  evidence?: {
3633
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3634
- label: string;
3635
3634
  id: string;
3635
+ label: string;
3636
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3636
3637
  capture: "at_action" | "historical_lookup" | "fixture";
3637
3638
  locator?: string | undefined;
3638
3639
  }[] | undefined;
@@ -3645,9 +3646,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3645
3646
  recallReceiptId: string;
3646
3647
  capturedAtAction: boolean;
3647
3648
  evidence?: {
3648
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3649
- label: string;
3650
3649
  id: string;
3650
+ label: string;
3651
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3652
  capture: "at_action" | "historical_lookup" | "fixture";
3652
3653
  locator?: string | undefined;
3653
3654
  }[] | undefined;
@@ -3660,20 +3661,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3660
3661
  recallReceiptId: string;
3661
3662
  staleDecisionAbsent: boolean;
3662
3663
  evidence?: {
3663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
- label: string;
3665
3664
  id: string;
3665
+ label: string;
3666
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
3667
  capture: "at_action" | "historical_lookup" | "fixture";
3667
3668
  locator?: string | undefined;
3668
3669
  }[] | undefined;
3669
3670
  } | {
3670
- kind: "mission_completed";
3671
3671
  summary: string;
3672
+ kind: "mission_completed";
3672
3673
  outcome: "failed" | "recovered" | "inconclusive";
3673
3674
  evidence?: {
3674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
- label: string;
3676
3675
  id: string;
3676
+ label: string;
3677
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3677
3678
  capture: "at_action" | "historical_lookup" | "fixture";
3678
3679
  locator?: string | undefined;
3679
3680
  }[] | undefined;
@@ -3703,15 +3704,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3703
3704
  locator: z.ZodOptional<z.ZodString>;
3704
3705
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3705
3706
  }, "strict", z.ZodTypeAny, {
3706
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3707
- label: string;
3708
3707
  id: string;
3708
+ label: string;
3709
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3709
3710
  capture: "at_action" | "historical_lookup" | "fixture";
3710
3711
  locator?: string | undefined;
3711
3712
  }, {
3712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3713
- label: string;
3714
3713
  id: string;
3714
+ label: string;
3715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3715
3716
  capture: "at_action" | "historical_lookup" | "fixture";
3716
3717
  locator?: string | undefined;
3717
3718
  }>, "many">>;
@@ -3719,9 +3720,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3719
3720
  kind: "mission_started";
3720
3721
  title: string;
3721
3722
  evidence: {
3722
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3723
- label: string;
3724
3723
  id: string;
3724
+ label: string;
3725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3725
3726
  capture: "at_action" | "historical_lookup" | "fixture";
3726
3727
  locator?: string | undefined;
3727
3728
  }[];
@@ -3733,9 +3734,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3733
3734
  objective: string;
3734
3735
  runMode: "replay" | "fixture" | "live";
3735
3736
  evidence?: {
3736
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
- label: string;
3738
3737
  id: string;
3738
+ label: string;
3739
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3739
3740
  capture: "at_action" | "historical_lookup" | "fixture";
3740
3741
  locator?: string | undefined;
3741
3742
  }[] | undefined;
@@ -3751,15 +3752,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3751
3752
  locator: z.ZodOptional<z.ZodString>;
3752
3753
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3753
3754
  }, "strict", z.ZodTypeAny, {
3754
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
- label: string;
3756
3755
  id: string;
3756
+ label: string;
3757
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3757
3758
  capture: "at_action" | "historical_lookup" | "fixture";
3758
3759
  locator?: string | undefined;
3759
3760
  }, {
3760
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
- label: string;
3762
3761
  id: string;
3762
+ label: string;
3763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3763
3764
  capture: "at_action" | "historical_lookup" | "fixture";
3764
3765
  locator?: string | undefined;
3765
3766
  }>, "many">>;
@@ -3767,32 +3768,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3767
3768
  sessionId: z.ZodString;
3768
3769
  kind: z.ZodLiteral<"agent_status">;
3769
3770
  }, "strict", z.ZodTypeAny, {
3770
- kind: "agent_status";
3771
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3772
3771
  label: string;
3772
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3773
+ kind: "agent_status";
3773
3774
  role: string;
3774
3775
  agentId: string;
3775
3776
  sessionId: string;
3776
3777
  evidence: {
3777
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3778
- label: string;
3779
3778
  id: string;
3779
+ label: string;
3780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3780
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3781
3782
  locator?: string | undefined;
3782
3783
  }[];
3783
3784
  detail?: string | undefined;
3784
3785
  }, {
3785
- kind: "agent_status";
3786
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3787
3786
  label: string;
3787
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3788
+ kind: "agent_status";
3788
3789
  role: string;
3789
3790
  agentId: string;
3790
3791
  sessionId: string;
3791
3792
  detail?: string | undefined;
3792
3793
  evidence?: {
3793
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
- label: string;
3795
3794
  id: string;
3795
+ label: string;
3796
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3796
3797
  capture: "at_action" | "historical_lookup" | "fixture";
3797
3798
  locator?: string | undefined;
3798
3799
  }[] | undefined;
@@ -3806,15 +3807,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3806
3807
  locator: z.ZodOptional<z.ZodString>;
3807
3808
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3808
3809
  }, "strict", z.ZodTypeAny, {
3809
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3810
- label: string;
3811
3810
  id: string;
3811
+ label: string;
3812
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
3813
  capture: "at_action" | "historical_lookup" | "fixture";
3813
3814
  locator?: string | undefined;
3814
3815
  }, {
3815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
- label: string;
3817
3816
  id: string;
3817
+ label: string;
3818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
3819
  capture: "at_action" | "historical_lookup" | "fixture";
3819
3820
  locator?: string | undefined;
3820
3821
  }>, "many">>;
@@ -3822,28 +3823,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3822
3823
  sessionId: z.ZodString;
3823
3824
  kind: z.ZodLiteral<"agent_output">;
3824
3825
  }, "strict", z.ZodTypeAny, {
3825
- kind: "agent_output";
3826
3826
  summary: string;
3827
+ kind: "agent_output";
3827
3828
  agentId: string;
3828
3829
  sessionId: string;
3829
3830
  evidence: {
3830
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
- label: string;
3832
3831
  id: string;
3832
+ label: string;
3833
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3833
3834
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3835
  locator?: string | undefined;
3835
3836
  }[];
3836
3837
  outputId: string;
3837
3838
  }, {
3838
- kind: "agent_output";
3839
3839
  summary: string;
3840
+ kind: "agent_output";
3840
3841
  agentId: string;
3841
3842
  sessionId: string;
3842
3843
  outputId: string;
3843
3844
  evidence?: {
3844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3845
- label: string;
3846
3845
  id: string;
3846
+ label: string;
3847
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
3848
  capture: "at_action" | "historical_lookup" | "fixture";
3848
3849
  locator?: string | undefined;
3849
3850
  }[] | undefined;
@@ -3859,15 +3860,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3859
3860
  locator: z.ZodOptional<z.ZodString>;
3860
3861
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3861
3862
  }, "strict", z.ZodTypeAny, {
3862
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
- label: string;
3864
3863
  id: string;
3864
+ label: string;
3865
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3865
3866
  capture: "at_action" | "historical_lookup" | "fixture";
3866
3867
  locator?: string | undefined;
3867
3868
  }, {
3868
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
- label: string;
3870
3869
  id: string;
3870
+ label: string;
3871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3871
3872
  capture: "at_action" | "historical_lookup" | "fixture";
3872
3873
  locator?: string | undefined;
3873
3874
  }>, "many">>;
@@ -3880,9 +3881,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3880
3881
  statement: string;
3881
3882
  sessionId: string;
3882
3883
  evidence: {
3883
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3884
- label: string;
3885
3884
  id: string;
3885
+ label: string;
3886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3887
3888
  locator?: string | undefined;
3888
3889
  }[];
@@ -3898,9 +3899,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3898
3899
  decisionId: string;
3899
3900
  confidence?: number | undefined;
3900
3901
  evidence?: {
3901
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3902
- label: string;
3903
3902
  id: string;
3903
+ label: string;
3904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3904
3905
  capture: "at_action" | "historical_lookup" | "fixture";
3905
3906
  locator?: string | undefined;
3906
3907
  }[] | undefined;
@@ -3917,25 +3918,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3917
3918
  locator: z.ZodOptional<z.ZodString>;
3918
3919
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3919
3920
  }, "strict", z.ZodTypeAny, {
3920
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3921
- label: string;
3922
3921
  id: string;
3922
+ label: string;
3923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3923
3924
  capture: "at_action" | "historical_lookup" | "fixture";
3924
3925
  locator?: string | undefined;
3925
3926
  }, {
3926
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3927
- label: string;
3928
3927
  id: string;
3928
+ label: string;
3929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3929
3930
  capture: "at_action" | "historical_lookup" | "fixture";
3930
3931
  locator?: string | undefined;
3931
3932
  }>, "many">>;
3932
3933
  }, "strict", z.ZodTypeAny, {
3933
- kind: "conflict_detected";
3934
3934
  summary: string;
3935
+ kind: "conflict_detected";
3935
3936
  evidence: {
3936
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3937
- label: string;
3938
3937
  id: string;
3938
+ label: string;
3939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3939
3940
  capture: "at_action" | "historical_lookup" | "fixture";
3940
3941
  locator?: string | undefined;
3941
3942
  }[];
@@ -3943,15 +3944,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3943
3944
  decisionIds: string[];
3944
3945
  agentIds: string[];
3945
3946
  }, {
3946
- kind: "conflict_detected";
3947
3947
  summary: string;
3948
+ kind: "conflict_detected";
3948
3949
  conflictId: string;
3949
3950
  decisionIds: string[];
3950
3951
  agentIds: string[];
3951
3952
  evidence?: {
3952
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
- label: string;
3954
3953
  id: string;
3954
+ label: string;
3955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3956
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3957
  locator?: string | undefined;
3957
3958
  }[] | undefined;
@@ -3971,27 +3972,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3971
3972
  locator: z.ZodOptional<z.ZodString>;
3972
3973
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3973
3974
  }, "strict", z.ZodTypeAny, {
3974
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3975
- label: string;
3976
3975
  id: string;
3976
+ label: string;
3977
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
3978
  capture: "at_action" | "historical_lookup" | "fixture";
3978
3979
  locator?: string | undefined;
3979
3980
  }, {
3980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3981
- label: string;
3982
3981
  id: string;
3982
+ label: string;
3983
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
3984
  capture: "at_action" | "historical_lookup" | "fixture";
3984
3985
  locator?: string | undefined;
3985
3986
  }>, "many">>;
3986
3987
  }, "strict", z.ZodTypeAny, {
3987
- kind: "test_result";
3988
3988
  summary: string;
3989
3989
  status: "error" | "failed" | "passed";
3990
+ kind: "test_result";
3990
3991
  command: string;
3991
3992
  evidence: {
3992
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3993
- label: string;
3994
3993
  id: string;
3994
+ label: string;
3995
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3995
3996
  capture: "at_action" | "historical_lookup" | "fixture";
3996
3997
  locator?: string | undefined;
3997
3998
  }[];
@@ -4000,17 +4001,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4000
4001
  durationMs?: number | undefined;
4001
4002
  correctionId?: string | undefined;
4002
4003
  }, {
4003
- kind: "test_result";
4004
4004
  summary: string;
4005
4005
  status: "error" | "failed" | "passed";
4006
+ kind: "test_result";
4006
4007
  command: string;
4007
4008
  decisionId: string;
4008
4009
  testId: string;
4009
4010
  durationMs?: number | undefined;
4010
4011
  evidence?: {
4011
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4012
- label: string;
4013
4012
  id: string;
4013
+ label: string;
4014
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
4015
  capture: "at_action" | "historical_lookup" | "fixture";
4015
4016
  locator?: string | undefined;
4016
4017
  }[] | undefined;
@@ -4031,15 +4032,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4031
4032
  locator: z.ZodOptional<z.ZodString>;
4032
4033
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4033
4034
  }, "strict", z.ZodTypeAny, {
4034
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4035
- label: string;
4036
4035
  id: string;
4036
+ label: string;
4037
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4037
4038
  capture: "at_action" | "historical_lookup" | "fixture";
4038
4039
  locator?: string | undefined;
4039
4040
  }, {
4040
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4041
- label: string;
4042
4041
  id: string;
4042
+ label: string;
4043
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4043
4044
  capture: "at_action" | "historical_lookup" | "fixture";
4044
4045
  locator?: string | undefined;
4045
4046
  }>, "many">>;
@@ -4048,9 +4049,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4048
4049
  statement: string;
4049
4050
  rationale: string;
4050
4051
  evidence: {
4051
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4052
- label: string;
4053
4052
  id: string;
4053
+ label: string;
4054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4054
4055
  capture: "at_action" | "historical_lookup" | "fixture";
4055
4056
  locator?: string | undefined;
4056
4057
  }[];
@@ -4069,9 +4070,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4069
4070
  supersedesDecisionIds: string[];
4070
4071
  proposedBy: string;
4071
4072
  evidence?: {
4072
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
- label: string;
4074
4073
  id: string;
4074
+ label: string;
4075
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4076
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4077
  locator?: string | undefined;
4077
4078
  }[] | undefined;
@@ -4083,13 +4084,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4083
4084
  id: z.ZodString;
4084
4085
  label: z.ZodString;
4085
4086
  }, "strict", z.ZodTypeAny, {
4086
- kind: "agent" | "human";
4087
- label: string;
4088
4087
  id: string;
4089
- }, {
4090
- kind: "agent" | "human";
4091
4088
  label: string;
4089
+ kind: "agent" | "human";
4090
+ }, {
4092
4091
  id: string;
4092
+ label: string;
4093
+ kind: "agent" | "human";
4093
4094
  }>;
4094
4095
  note: z.ZodOptional<z.ZodString>;
4095
4096
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4099,47 +4100,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4099
4100
  locator: z.ZodOptional<z.ZodString>;
4100
4101
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4101
4102
  }, "strict", z.ZodTypeAny, {
4102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
- label: string;
4104
4103
  id: string;
4104
+ label: string;
4105
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
4106
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4107
  locator?: string | undefined;
4107
4108
  }, {
4108
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4109
- label: string;
4110
4109
  id: string;
4110
+ label: string;
4111
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4111
4112
  capture: "at_action" | "historical_lookup" | "fixture";
4112
4113
  locator?: string | undefined;
4113
4114
  }>, "many">>;
4114
4115
  }, "strict", z.ZodTypeAny, {
4115
4116
  kind: "correction_approved";
4116
4117
  evidence: {
4117
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
- label: string;
4119
4118
  id: string;
4119
+ label: string;
4120
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4120
4121
  capture: "at_action" | "historical_lookup" | "fixture";
4121
4122
  locator?: string | undefined;
4122
4123
  }[];
4123
4124
  correctionId: string;
4124
4125
  approvedBy: {
4125
- kind: "agent" | "human";
4126
- label: string;
4127
4126
  id: string;
4127
+ label: string;
4128
+ kind: "agent" | "human";
4128
4129
  };
4129
4130
  note?: string | undefined;
4130
4131
  }, {
4131
4132
  kind: "correction_approved";
4132
4133
  correctionId: string;
4133
4134
  approvedBy: {
4134
- kind: "agent" | "human";
4135
- label: string;
4136
4135
  id: string;
4136
+ label: string;
4137
+ kind: "agent" | "human";
4137
4138
  };
4138
4139
  note?: string | undefined;
4139
4140
  evidence?: {
4140
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4141
- label: string;
4142
4141
  id: string;
4142
+ label: string;
4143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4143
4144
  capture: "at_action" | "historical_lookup" | "fixture";
4144
4145
  locator?: string | undefined;
4145
4146
  }[] | undefined;
@@ -4155,24 +4156,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4155
4156
  locator: z.ZodOptional<z.ZodString>;
4156
4157
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4157
4158
  }, "strict", z.ZodTypeAny, {
4158
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4159
- label: string;
4160
4159
  id: string;
4160
+ label: string;
4161
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4161
4162
  capture: "at_action" | "historical_lookup" | "fixture";
4162
4163
  locator?: string | undefined;
4163
4164
  }, {
4164
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4165
- label: string;
4166
4165
  id: string;
4166
+ label: string;
4167
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4167
4168
  capture: "at_action" | "historical_lookup" | "fixture";
4168
4169
  locator?: string | undefined;
4169
4170
  }>, "many">>;
4170
4171
  }, "strict", z.ZodTypeAny, {
4171
4172
  kind: "decision_superseded";
4172
4173
  evidence: {
4173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
- label: string;
4175
4174
  id: string;
4175
+ label: string;
4176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
4177
  capture: "at_action" | "historical_lookup" | "fixture";
4177
4178
  locator?: string | undefined;
4178
4179
  }[];
@@ -4185,9 +4186,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4185
4186
  correctionId: string;
4186
4187
  replacementDecisionId: string;
4187
4188
  evidence?: {
4188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
- label: string;
4190
4189
  id: string;
4190
+ label: string;
4191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4191
4192
  capture: "at_action" | "historical_lookup" | "fixture";
4192
4193
  locator?: string | undefined;
4193
4194
  }[] | undefined;
@@ -4203,15 +4204,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4203
4204
  locator: z.ZodOptional<z.ZodString>;
4204
4205
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4205
4206
  }, "strict", z.ZodTypeAny, {
4206
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4207
- label: string;
4208
4207
  id: string;
4208
+ label: string;
4209
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4209
4210
  capture: "at_action" | "historical_lookup" | "fixture";
4210
4211
  locator?: string | undefined;
4211
4212
  }, {
4212
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
- label: string;
4214
4213
  id: string;
4214
+ label: string;
4215
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4215
4216
  capture: "at_action" | "historical_lookup" | "fixture";
4216
4217
  locator?: string | undefined;
4217
4218
  }>, "many">>;
@@ -4224,9 +4225,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4224
4225
  agentId: string;
4225
4226
  sessionId: string;
4226
4227
  evidence: {
4227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
- label: string;
4229
4228
  id: string;
4229
+ label: string;
4230
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4231
4232
  locator?: string | undefined;
4232
4233
  }[];
@@ -4242,9 +4243,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4242
4243
  recallReceiptId: string;
4243
4244
  capturedAtAction: boolean;
4244
4245
  evidence?: {
4245
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
- label: string;
4247
4246
  id: string;
4247
+ label: string;
4248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4248
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4249
4250
  locator?: string | undefined;
4250
4251
  }[] | undefined;
@@ -4260,15 +4261,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4260
4261
  locator: z.ZodOptional<z.ZodString>;
4261
4262
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4262
4263
  }, "strict", z.ZodTypeAny, {
4263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
- label: string;
4265
4264
  id: string;
4265
+ label: string;
4266
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4266
4267
  capture: "at_action" | "historical_lookup" | "fixture";
4267
4268
  locator?: string | undefined;
4268
4269
  }, {
4269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4270
- label: string;
4271
4270
  id: string;
4271
+ label: string;
4272
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4273
  capture: "at_action" | "historical_lookup" | "fixture";
4273
4274
  locator?: string | undefined;
4274
4275
  }>, "many">>;
@@ -4280,9 +4281,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4280
4281
  agentId: string;
4281
4282
  sessionId: string;
4282
4283
  evidence: {
4283
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
- label: string;
4285
4284
  id: string;
4285
+ label: string;
4286
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4286
4287
  capture: "at_action" | "historical_lookup" | "fixture";
4287
4288
  locator?: string | undefined;
4288
4289
  }[];
@@ -4299,9 +4300,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4299
4300
  recallReceiptId: string;
4300
4301
  staleDecisionAbsent: boolean;
4301
4302
  evidence?: {
4302
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
- label: string;
4304
4303
  id: string;
4304
+ label: string;
4305
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4305
4306
  capture: "at_action" | "historical_lookup" | "fixture";
4306
4307
  locator?: string | undefined;
4307
4308
  }[] | undefined;
@@ -4316,37 +4317,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4316
4317
  locator: z.ZodOptional<z.ZodString>;
4317
4318
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4318
4319
  }, "strict", z.ZodTypeAny, {
4319
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4320
- label: string;
4321
4320
  id: string;
4321
+ label: string;
4322
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4322
4323
  capture: "at_action" | "historical_lookup" | "fixture";
4323
4324
  locator?: string | undefined;
4324
4325
  }, {
4325
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4326
- label: string;
4327
4326
  id: string;
4327
+ label: string;
4328
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4328
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4329
4330
  locator?: string | undefined;
4330
4331
  }>, "many">>;
4331
4332
  }, "strict", z.ZodTypeAny, {
4332
- kind: "mission_completed";
4333
4333
  summary: string;
4334
+ kind: "mission_completed";
4334
4335
  outcome: "failed" | "recovered" | "inconclusive";
4335
4336
  evidence: {
4336
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4337
- label: string;
4338
4337
  id: string;
4338
+ label: string;
4339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4339
4340
  capture: "at_action" | "historical_lookup" | "fixture";
4340
4341
  locator?: string | undefined;
4341
4342
  }[];
4342
4343
  }, {
4343
- kind: "mission_completed";
4344
4344
  summary: string;
4345
+ kind: "mission_completed";
4345
4346
  outcome: "failed" | "recovered" | "inconclusive";
4346
4347
  evidence?: {
4347
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
- label: string;
4349
4348
  id: string;
4349
+ label: string;
4350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4350
4351
  capture: "at_action" | "historical_lookup" | "fixture";
4351
4352
  locator?: string | undefined;
4352
4353
  }[] | undefined;
@@ -4354,38 +4355,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4354
4355
  kind: "mission_started";
4355
4356
  title: string;
4356
4357
  evidence: {
4357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
- label: string;
4359
4358
  id: string;
4359
+ label: string;
4360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4360
4361
  capture: "at_action" | "historical_lookup" | "fixture";
4361
4362
  locator?: string | undefined;
4362
4363
  }[];
4363
4364
  objective: string;
4364
4365
  runMode: "replay" | "fixture" | "live";
4365
4366
  } | {
4366
- kind: "agent_status";
4367
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4368
4367
  label: string;
4368
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4369
+ kind: "agent_status";
4369
4370
  role: string;
4370
4371
  agentId: string;
4371
4372
  sessionId: string;
4372
4373
  evidence: {
4373
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4374
- label: string;
4375
4374
  id: string;
4375
+ label: string;
4376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4376
4377
  capture: "at_action" | "historical_lookup" | "fixture";
4377
4378
  locator?: string | undefined;
4378
4379
  }[];
4379
4380
  detail?: string | undefined;
4380
4381
  } | {
4381
- kind: "agent_output";
4382
4382
  summary: string;
4383
+ kind: "agent_output";
4383
4384
  agentId: string;
4384
4385
  sessionId: string;
4385
4386
  evidence: {
4386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
- label: string;
4388
4387
  id: string;
4388
+ label: string;
4389
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
4390
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4391
  locator?: string | undefined;
4391
4392
  }[];
@@ -4396,9 +4397,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4396
4397
  statement: string;
4397
4398
  sessionId: string;
4398
4399
  evidence: {
4399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4400
- label: string;
4401
4400
  id: string;
4401
+ label: string;
4402
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4403
  capture: "at_action" | "historical_lookup" | "fixture";
4403
4404
  locator?: string | undefined;
4404
4405
  }[];
@@ -4406,12 +4407,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4406
4407
  decisionId: string;
4407
4408
  confidence?: number | undefined;
4408
4409
  } | {
4409
- kind: "conflict_detected";
4410
4410
  summary: string;
4411
+ kind: "conflict_detected";
4411
4412
  evidence: {
4412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
- label: string;
4414
4413
  id: string;
4414
+ label: string;
4415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4415
4416
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4417
  locator?: string | undefined;
4417
4418
  }[];
@@ -4419,14 +4420,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4420
  decisionIds: string[];
4420
4421
  agentIds: string[];
4421
4422
  } | {
4422
- kind: "test_result";
4423
4423
  summary: string;
4424
4424
  status: "error" | "failed" | "passed";
4425
+ kind: "test_result";
4425
4426
  command: string;
4426
4427
  evidence: {
4427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
- label: string;
4429
4428
  id: string;
4429
+ label: string;
4430
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
4431
  capture: "at_action" | "historical_lookup" | "fixture";
4431
4432
  locator?: string | undefined;
4432
4433
  }[];
@@ -4439,9 +4440,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4439
4440
  statement: string;
4440
4441
  rationale: string;
4441
4442
  evidence: {
4442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
- label: string;
4444
4443
  id: string;
4444
+ label: string;
4445
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
4446
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4447
  locator?: string | undefined;
4447
4448
  }[];
@@ -4453,25 +4454,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4453
4454
  } | {
4454
4455
  kind: "correction_approved";
4455
4456
  evidence: {
4456
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
- label: string;
4458
4457
  id: string;
4458
+ label: string;
4459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
4460
  capture: "at_action" | "historical_lookup" | "fixture";
4460
4461
  locator?: string | undefined;
4461
4462
  }[];
4462
4463
  correctionId: string;
4463
4464
  approvedBy: {
4464
- kind: "agent" | "human";
4465
- label: string;
4466
4465
  id: string;
4466
+ label: string;
4467
+ kind: "agent" | "human";
4467
4468
  };
4468
4469
  note?: string | undefined;
4469
4470
  } | {
4470
4471
  kind: "decision_superseded";
4471
4472
  evidence: {
4472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
- label: string;
4474
4473
  id: string;
4474
+ label: string;
4475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4476
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4477
  locator?: string | undefined;
4477
4478
  }[];
@@ -4484,9 +4485,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4484
4485
  agentId: string;
4485
4486
  sessionId: string;
4486
4487
  evidence: {
4487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
- label: string;
4489
4488
  id: string;
4489
+ label: string;
4490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4492
  locator?: string | undefined;
4492
4493
  }[];
@@ -4498,9 +4499,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4498
4499
  agentId: string;
4499
4500
  sessionId: string;
4500
4501
  evidence: {
4501
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4502
- label: string;
4503
4502
  id: string;
4503
+ label: string;
4504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4504
4505
  capture: "at_action" | "historical_lookup" | "fixture";
4505
4506
  locator?: string | undefined;
4506
4507
  }[];
@@ -4509,13 +4510,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4509
4510
  recallReceiptId: string;
4510
4511
  staleDecisionAbsent: boolean;
4511
4512
  } | {
4512
- kind: "mission_completed";
4513
4513
  summary: string;
4514
+ kind: "mission_completed";
4514
4515
  outcome: "failed" | "recovered" | "inconclusive";
4515
4516
  evidence: {
4516
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4517
- label: string;
4518
4517
  id: string;
4518
+ label: string;
4519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4519
4520
  capture: "at_action" | "historical_lookup" | "fixture";
4520
4521
  locator?: string | undefined;
4521
4522
  }[];
@@ -4525,37 +4526,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4525
4526
  objective: string;
4526
4527
  runMode: "replay" | "fixture" | "live";
4527
4528
  evidence?: {
4528
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4529
- label: string;
4530
4529
  id: string;
4530
+ label: string;
4531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
4532
  capture: "at_action" | "historical_lookup" | "fixture";
4532
4533
  locator?: string | undefined;
4533
4534
  }[] | undefined;
4534
4535
  } | {
4535
- kind: "agent_status";
4536
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4537
4536
  label: string;
4537
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4538
+ kind: "agent_status";
4538
4539
  role: string;
4539
4540
  agentId: string;
4540
4541
  sessionId: string;
4541
4542
  detail?: string | undefined;
4542
4543
  evidence?: {
4543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4544
- label: string;
4545
4544
  id: string;
4545
+ label: string;
4546
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4546
4547
  capture: "at_action" | "historical_lookup" | "fixture";
4547
4548
  locator?: string | undefined;
4548
4549
  }[] | undefined;
4549
4550
  } | {
4550
- kind: "agent_output";
4551
4551
  summary: string;
4552
+ kind: "agent_output";
4552
4553
  agentId: string;
4553
4554
  sessionId: string;
4554
4555
  outputId: string;
4555
4556
  evidence?: {
4556
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4557
- label: string;
4558
4557
  id: string;
4558
+ label: string;
4559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
4560
  capture: "at_action" | "historical_lookup" | "fixture";
4560
4561
  locator?: string | undefined;
4561
4562
  }[] | undefined;
@@ -4568,37 +4569,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4568
4569
  decisionId: string;
4569
4570
  confidence?: number | undefined;
4570
4571
  evidence?: {
4571
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4572
- label: string;
4573
4572
  id: string;
4573
+ label: string;
4574
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4575
  capture: "at_action" | "historical_lookup" | "fixture";
4575
4576
  locator?: string | undefined;
4576
4577
  }[] | undefined;
4577
4578
  } | {
4578
- kind: "conflict_detected";
4579
4579
  summary: string;
4580
+ kind: "conflict_detected";
4580
4581
  conflictId: string;
4581
4582
  decisionIds: string[];
4582
4583
  agentIds: string[];
4583
4584
  evidence?: {
4584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
- label: string;
4586
4585
  id: string;
4586
+ label: string;
4587
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4587
4588
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4589
  locator?: string | undefined;
4589
4590
  }[] | undefined;
4590
4591
  } | {
4591
- kind: "test_result";
4592
4592
  summary: string;
4593
4593
  status: "error" | "failed" | "passed";
4594
+ kind: "test_result";
4594
4595
  command: string;
4595
4596
  decisionId: string;
4596
4597
  testId: string;
4597
4598
  durationMs?: number | undefined;
4598
4599
  evidence?: {
4599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
- label: string;
4601
4600
  id: string;
4601
+ label: string;
4602
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4602
4603
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4604
  locator?: string | undefined;
4604
4605
  }[] | undefined;
@@ -4613,9 +4614,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4613
4614
  supersedesDecisionIds: string[];
4614
4615
  proposedBy: string;
4615
4616
  evidence?: {
4616
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
- label: string;
4618
4617
  id: string;
4618
+ label: string;
4619
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4619
4620
  capture: "at_action" | "historical_lookup" | "fixture";
4620
4621
  locator?: string | undefined;
4621
4622
  }[] | undefined;
@@ -4623,15 +4624,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4623
4624
  kind: "correction_approved";
4624
4625
  correctionId: string;
4625
4626
  approvedBy: {
4626
- kind: "agent" | "human";
4627
- label: string;
4628
4627
  id: string;
4628
+ label: string;
4629
+ kind: "agent" | "human";
4629
4630
  };
4630
4631
  note?: string | undefined;
4631
4632
  evidence?: {
4632
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4633
- label: string;
4634
4633
  id: string;
4634
+ label: string;
4635
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4635
4636
  capture: "at_action" | "historical_lookup" | "fixture";
4636
4637
  locator?: string | undefined;
4637
4638
  }[] | undefined;
@@ -4641,9 +4642,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4641
4642
  correctionId: string;
4642
4643
  replacementDecisionId: string;
4643
4644
  evidence?: {
4644
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4645
- label: string;
4646
4645
  id: string;
4646
+ label: string;
4647
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
4648
  capture: "at_action" | "historical_lookup" | "fixture";
4648
4649
  locator?: string | undefined;
4649
4650
  }[] | undefined;
@@ -4656,9 +4657,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4656
4657
  recallReceiptId: string;
4657
4658
  capturedAtAction: boolean;
4658
4659
  evidence?: {
4659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
- label: string;
4661
4660
  id: string;
4661
+ label: string;
4662
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4662
4663
  capture: "at_action" | "historical_lookup" | "fixture";
4663
4664
  locator?: string | undefined;
4664
4665
  }[] | undefined;
@@ -4671,63 +4672,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4671
4672
  recallReceiptId: string;
4672
4673
  staleDecisionAbsent: boolean;
4673
4674
  evidence?: {
4674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
- label: string;
4676
4675
  id: string;
4676
+ label: string;
4677
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4677
4678
  capture: "at_action" | "historical_lookup" | "fixture";
4678
4679
  locator?: string | undefined;
4679
4680
  }[] | undefined;
4680
4681
  } | {
4681
- kind: "mission_completed";
4682
4682
  summary: string;
4683
+ kind: "mission_completed";
4683
4684
  outcome: "failed" | "recovered" | "inconclusive";
4684
4685
  evidence?: {
4685
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4686
- label: string;
4687
4686
  id: string;
4687
+ label: string;
4688
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4688
4689
  capture: "at_action" | "historical_lookup" | "fixture";
4689
4690
  locator?: string | undefined;
4690
4691
  }[] | undefined;
4691
4692
  }>;
4692
4693
  }, "strict", z.ZodTypeAny, {
4693
- schemaVersion: "1";
4694
+ namespace: string;
4694
4695
  recordedAt: string;
4696
+ schemaVersion: "1";
4695
4697
  payload: {
4696
4698
  kind: "mission_started";
4697
4699
  title: string;
4698
4700
  evidence: {
4699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4700
- label: string;
4701
4701
  id: string;
4702
+ label: string;
4703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4702
4704
  capture: "at_action" | "historical_lookup" | "fixture";
4703
4705
  locator?: string | undefined;
4704
4706
  }[];
4705
4707
  objective: string;
4706
4708
  runMode: "replay" | "fixture" | "live";
4707
4709
  } | {
4708
- kind: "agent_status";
4709
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4710
4710
  label: string;
4711
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4712
+ kind: "agent_status";
4711
4713
  role: string;
4712
4714
  agentId: string;
4713
4715
  sessionId: string;
4714
4716
  evidence: {
4715
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4716
- label: string;
4717
4717
  id: string;
4718
+ label: string;
4719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4718
4720
  capture: "at_action" | "historical_lookup" | "fixture";
4719
4721
  locator?: string | undefined;
4720
4722
  }[];
4721
4723
  detail?: string | undefined;
4722
4724
  } | {
4723
- kind: "agent_output";
4724
4725
  summary: string;
4726
+ kind: "agent_output";
4725
4727
  agentId: string;
4726
4728
  sessionId: string;
4727
4729
  evidence: {
4728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4729
- label: string;
4730
4730
  id: string;
4731
+ label: string;
4732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4731
4733
  capture: "at_action" | "historical_lookup" | "fixture";
4732
4734
  locator?: string | undefined;
4733
4735
  }[];
@@ -4738,9 +4740,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4738
4740
  statement: string;
4739
4741
  sessionId: string;
4740
4742
  evidence: {
4741
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4742
- label: string;
4743
4743
  id: string;
4744
+ label: string;
4745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4744
4746
  capture: "at_action" | "historical_lookup" | "fixture";
4745
4747
  locator?: string | undefined;
4746
4748
  }[];
@@ -4748,12 +4750,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4748
4750
  decisionId: string;
4749
4751
  confidence?: number | undefined;
4750
4752
  } | {
4751
- kind: "conflict_detected";
4752
4753
  summary: string;
4754
+ kind: "conflict_detected";
4753
4755
  evidence: {
4754
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4755
- label: string;
4756
4756
  id: string;
4757
+ label: string;
4758
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4757
4759
  capture: "at_action" | "historical_lookup" | "fixture";
4758
4760
  locator?: string | undefined;
4759
4761
  }[];
@@ -4761,14 +4763,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4761
4763
  decisionIds: string[];
4762
4764
  agentIds: string[];
4763
4765
  } | {
4764
- kind: "test_result";
4765
4766
  summary: string;
4766
4767
  status: "error" | "failed" | "passed";
4768
+ kind: "test_result";
4767
4769
  command: string;
4768
4770
  evidence: {
4769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4770
- label: string;
4771
4771
  id: string;
4772
+ label: string;
4773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4772
4774
  capture: "at_action" | "historical_lookup" | "fixture";
4773
4775
  locator?: string | undefined;
4774
4776
  }[];
@@ -4781,9 +4783,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4781
4783
  statement: string;
4782
4784
  rationale: string;
4783
4785
  evidence: {
4784
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4785
- label: string;
4786
4786
  id: string;
4787
+ label: string;
4788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4787
4789
  capture: "at_action" | "historical_lookup" | "fixture";
4788
4790
  locator?: string | undefined;
4789
4791
  }[];
@@ -4795,25 +4797,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4795
4797
  } | {
4796
4798
  kind: "correction_approved";
4797
4799
  evidence: {
4798
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4799
- label: string;
4800
4800
  id: string;
4801
+ label: string;
4802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4801
4803
  capture: "at_action" | "historical_lookup" | "fixture";
4802
4804
  locator?: string | undefined;
4803
4805
  }[];
4804
4806
  correctionId: string;
4805
4807
  approvedBy: {
4806
- kind: "agent" | "human";
4807
- label: string;
4808
4808
  id: string;
4809
+ label: string;
4810
+ kind: "agent" | "human";
4809
4811
  };
4810
4812
  note?: string | undefined;
4811
4813
  } | {
4812
4814
  kind: "decision_superseded";
4813
4815
  evidence: {
4814
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4815
- label: string;
4816
4816
  id: string;
4817
+ label: string;
4818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4817
4819
  capture: "at_action" | "historical_lookup" | "fixture";
4818
4820
  locator?: string | undefined;
4819
4821
  }[];
@@ -4826,9 +4828,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4826
4828
  agentId: string;
4827
4829
  sessionId: string;
4828
4830
  evidence: {
4829
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4830
- label: string;
4831
4831
  id: string;
4832
+ label: string;
4833
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4832
4834
  capture: "at_action" | "historical_lookup" | "fixture";
4833
4835
  locator?: string | undefined;
4834
4836
  }[];
@@ -4840,9 +4842,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4840
4842
  agentId: string;
4841
4843
  sessionId: string;
4842
4844
  evidence: {
4843
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4844
- label: string;
4845
4845
  id: string;
4846
+ label: string;
4847
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4846
4848
  capture: "at_action" | "historical_lookup" | "fixture";
4847
4849
  locator?: string | undefined;
4848
4850
  }[];
@@ -4851,63 +4853,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4851
4853
  recallReceiptId: string;
4852
4854
  staleDecisionAbsent: boolean;
4853
4855
  } | {
4854
- kind: "mission_completed";
4855
4856
  summary: string;
4857
+ kind: "mission_completed";
4856
4858
  outcome: "failed" | "recovered" | "inconclusive";
4857
4859
  evidence: {
4858
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4859
- label: string;
4860
4860
  id: string;
4861
+ label: string;
4862
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4861
4863
  capture: "at_action" | "historical_lookup" | "fixture";
4862
4864
  locator?: string | undefined;
4863
4865
  }[];
4864
4866
  };
4865
- namespace: string;
4866
4867
  eventId: string;
4867
4868
  occurredAt: string;
4868
4869
  missionId: string;
4869
4870
  idempotencyKey?: string | undefined;
4870
4871
  authenticatedPrincipal?: string | undefined;
4871
4872
  }, {
4872
- schemaVersion: "1";
4873
+ namespace: string;
4873
4874
  recordedAt: string;
4875
+ schemaVersion: "1";
4874
4876
  payload: {
4875
4877
  kind: "mission_started";
4876
4878
  title: string;
4877
4879
  objective: string;
4878
4880
  runMode: "replay" | "fixture" | "live";
4879
4881
  evidence?: {
4880
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4881
- label: string;
4882
4882
  id: string;
4883
+ label: string;
4884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4883
4885
  capture: "at_action" | "historical_lookup" | "fixture";
4884
4886
  locator?: string | undefined;
4885
4887
  }[] | undefined;
4886
4888
  } | {
4887
- kind: "agent_status";
4888
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4889
4889
  label: string;
4890
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4891
+ kind: "agent_status";
4890
4892
  role: string;
4891
4893
  agentId: string;
4892
4894
  sessionId: string;
4893
4895
  detail?: string | undefined;
4894
4896
  evidence?: {
4895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
- label: string;
4897
4897
  id: string;
4898
+ label: string;
4899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4898
4900
  capture: "at_action" | "historical_lookup" | "fixture";
4899
4901
  locator?: string | undefined;
4900
4902
  }[] | undefined;
4901
4903
  } | {
4902
- kind: "agent_output";
4903
4904
  summary: string;
4905
+ kind: "agent_output";
4904
4906
  agentId: string;
4905
4907
  sessionId: string;
4906
4908
  outputId: string;
4907
4909
  evidence?: {
4908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4909
- label: string;
4910
4910
  id: string;
4911
+ label: string;
4912
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4911
4913
  capture: "at_action" | "historical_lookup" | "fixture";
4912
4914
  locator?: string | undefined;
4913
4915
  }[] | undefined;
@@ -4920,37 +4922,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4920
4922
  decisionId: string;
4921
4923
  confidence?: number | undefined;
4922
4924
  evidence?: {
4923
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4924
- label: string;
4925
4925
  id: string;
4926
+ label: string;
4927
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4926
4928
  capture: "at_action" | "historical_lookup" | "fixture";
4927
4929
  locator?: string | undefined;
4928
4930
  }[] | undefined;
4929
4931
  } | {
4930
- kind: "conflict_detected";
4931
4932
  summary: string;
4933
+ kind: "conflict_detected";
4932
4934
  conflictId: string;
4933
4935
  decisionIds: string[];
4934
4936
  agentIds: string[];
4935
4937
  evidence?: {
4936
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4937
- label: string;
4938
4938
  id: string;
4939
+ label: string;
4940
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4939
4941
  capture: "at_action" | "historical_lookup" | "fixture";
4940
4942
  locator?: string | undefined;
4941
4943
  }[] | undefined;
4942
4944
  } | {
4943
- kind: "test_result";
4944
4945
  summary: string;
4945
4946
  status: "error" | "failed" | "passed";
4947
+ kind: "test_result";
4946
4948
  command: string;
4947
4949
  decisionId: string;
4948
4950
  testId: string;
4949
4951
  durationMs?: number | undefined;
4950
4952
  evidence?: {
4951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4952
- label: string;
4953
4953
  id: string;
4954
+ label: string;
4955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4954
4956
  capture: "at_action" | "historical_lookup" | "fixture";
4955
4957
  locator?: string | undefined;
4956
4958
  }[] | undefined;
@@ -4965,9 +4967,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4965
4967
  supersedesDecisionIds: string[];
4966
4968
  proposedBy: string;
4967
4969
  evidence?: {
4968
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4969
- label: string;
4970
4970
  id: string;
4971
+ label: string;
4972
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4971
4973
  capture: "at_action" | "historical_lookup" | "fixture";
4972
4974
  locator?: string | undefined;
4973
4975
  }[] | undefined;
@@ -4975,15 +4977,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4975
4977
  kind: "correction_approved";
4976
4978
  correctionId: string;
4977
4979
  approvedBy: {
4978
- kind: "agent" | "human";
4979
- label: string;
4980
4980
  id: string;
4981
+ label: string;
4982
+ kind: "agent" | "human";
4981
4983
  };
4982
4984
  note?: string | undefined;
4983
4985
  evidence?: {
4984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4985
- label: string;
4986
4986
  id: string;
4987
+ label: string;
4988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4987
4989
  capture: "at_action" | "historical_lookup" | "fixture";
4988
4990
  locator?: string | undefined;
4989
4991
  }[] | undefined;
@@ -4993,9 +4995,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4993
4995
  correctionId: string;
4994
4996
  replacementDecisionId: string;
4995
4997
  evidence?: {
4996
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4997
- label: string;
4998
4998
  id: string;
4999
+ label: string;
5000
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4999
5001
  capture: "at_action" | "historical_lookup" | "fixture";
5000
5002
  locator?: string | undefined;
5001
5003
  }[] | undefined;
@@ -5008,9 +5010,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5008
5010
  recallReceiptId: string;
5009
5011
  capturedAtAction: boolean;
5010
5012
  evidence?: {
5011
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5012
- label: string;
5013
5013
  id: string;
5014
+ label: string;
5015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5014
5016
  capture: "at_action" | "historical_lookup" | "fixture";
5015
5017
  locator?: string | undefined;
5016
5018
  }[] | undefined;
@@ -5023,25 +5025,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5023
5025
  recallReceiptId: string;
5024
5026
  staleDecisionAbsent: boolean;
5025
5027
  evidence?: {
5026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5027
- label: string;
5028
5028
  id: string;
5029
+ label: string;
5030
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5029
5031
  capture: "at_action" | "historical_lookup" | "fixture";
5030
5032
  locator?: string | undefined;
5031
5033
  }[] | undefined;
5032
5034
  } | {
5033
- kind: "mission_completed";
5034
5035
  summary: string;
5036
+ kind: "mission_completed";
5035
5037
  outcome: "failed" | "recovered" | "inconclusive";
5036
5038
  evidence?: {
5037
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5038
- label: string;
5039
5039
  id: string;
5040
+ label: string;
5041
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5040
5042
  capture: "at_action" | "historical_lookup" | "fixture";
5041
5043
  locator?: string | undefined;
5042
5044
  }[] | undefined;
5043
5045
  };
5044
- namespace: string;
5045
5046
  eventId: string;
5046
5047
  occurredAt: string;
5047
5048
  missionId: string;