@remnic/core 9.69.47 → 9.69.49

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 (523) hide show
  1. package/dist/access-admin-ops-surface.d.ts +14 -14
  2. package/dist/access-admin-ops-surface.js +32 -30
  3. package/dist/access-authorization-probe.d.ts +14 -14
  4. package/dist/access-authorization-probe.js +33 -31
  5. package/dist/access-boundary.d.ts +14 -14
  6. package/dist/access-boundary.js +32 -30
  7. package/dist/access-cli.js +99 -98
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +14 -14
  11. package/dist/access-extraction-force-flush.js +32 -30
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-briefing.d.ts +14 -14
  14. package/dist/access-http-briefing.js +33 -31
  15. package/dist/access-http-lcm-compaction.d.ts +14 -14
  16. package/dist/access-http-lifecycle-flush.d.ts +14 -14
  17. package/dist/access-http-offline-stream.d.ts +14 -14
  18. package/dist/access-http-query.d.ts +2 -2
  19. package/dist/access-http-query.js +34 -32
  20. package/dist/access-http.d.ts +15 -15
  21. package/dist/access-http.js +52 -50
  22. package/dist/access-identity-continuity-surface.d.ts +11 -11
  23. package/dist/access-identity-continuity-surface.js +32 -30
  24. package/dist/access-lcm-surface.d.ts +14 -14
  25. package/dist/access-lcm-surface.js +32 -30
  26. package/dist/access-mcp-shared-context-tools.d.ts +14 -14
  27. package/dist/access-mcp.d.ts +14 -14
  28. package/dist/access-mcp.js +42 -40
  29. package/dist/access-memory-search-fanout.d.ts +2 -2
  30. package/dist/{access-namespace-preflight-CetF9ziA.d.ts → access-namespace-preflight-DqRw_g-8.d.ts} +1 -1
  31. package/dist/access-namespace-preflight.d.ts +3 -3
  32. package/dist/access-namespace-preflight.js +32 -30
  33. package/dist/access-observe-transcript.d.ts +11 -11
  34. package/dist/access-observe-write-category.d.ts +3 -3
  35. package/dist/access-observe-write-surface.d.ts +14 -14
  36. package/dist/access-observe-write-surface.js +32 -30
  37. package/dist/access-offline-manifest.d.ts +11 -11
  38. package/dist/access-operations-batch.js +34 -32
  39. package/dist/access-operations.d.ts +14 -14
  40. package/dist/access-operations.js +41 -39
  41. package/dist/access-recall-concurrency.d.ts +14 -14
  42. package/dist/access-recall-concurrency.js +32 -30
  43. package/dist/access-recall-response.d.ts +14 -14
  44. package/dist/access-recall-response.js +32 -30
  45. package/dist/access-recall-surface.d.ts +14 -14
  46. package/dist/access-recall-surface.js +32 -30
  47. package/dist/access-schema.d.ts +114 -114
  48. package/dist/{access-service-BXYrJ3pO.d.ts → access-service-70VHaltr.d.ts} +73 -73
  49. package/dist/access-service-helpers.d.ts +14 -14
  50. package/dist/access-service.d.ts +14 -14
  51. package/dist/access-service.js +32 -30
  52. package/dist/access-surface-catalog.d.ts +14 -14
  53. package/dist/access-surface-catalog.js +34 -32
  54. package/dist/access-surface-catalog.js.map +1 -1
  55. package/dist/access-wearables-meetings-surface.d.ts +4 -4
  56. package/dist/action-confidence.d.ts +1 -1
  57. package/dist/active-memory-bridge.d.ts +1 -1
  58. package/dist/active-recall.d.ts +1 -1
  59. package/dist/active-recall.js +2 -2
  60. package/dist/activity/digest.d.ts +1 -1
  61. package/dist/adapters/index.js +4 -4
  62. package/dist/adapters/registry.js +2 -2
  63. package/dist/ambient-provenance.d.ts +1 -1
  64. package/dist/artifact-search.d.ts +1 -1
  65. package/dist/background-generation.d.ts +1 -1
  66. package/dist/behavior-learner.d.ts +1 -1
  67. package/dist/behavior-signals.d.ts +1 -1
  68. package/dist/bootstrap.d.ts +11 -11
  69. package/dist/briefing-window.d.ts +2 -2
  70. package/dist/briefing.d.ts +2 -2
  71. package/dist/briefing.js +11 -11
  72. package/dist/buffer-surprise-report.d.ts +1 -1
  73. package/dist/buffer-turn-helpers.d.ts +1 -1
  74. package/dist/buffer.d.ts +2 -2
  75. package/dist/buffer.js +5 -5
  76. package/dist/bulk-import/index.d.ts +3 -3
  77. package/dist/calibration.d.ts +1 -1
  78. package/dist/capabilities.d.ts +1 -1
  79. package/dist/{catalog-Bns9zpl3.d.ts → catalog-Byi9prz9.d.ts} +1 -1
  80. package/dist/causal-behavior.d.ts +1 -1
  81. package/dist/causal-consolidation.d.ts +1 -1
  82. package/dist/causal-consolidation.js +12 -12
  83. package/dist/causal-trajectory-graph.d.ts +1 -1
  84. package/dist/{chunk-DE4ZGH2N.js → chunk-2IVHOQRY.js} +8 -3
  85. package/dist/chunk-2IVHOQRY.js.map +1 -0
  86. package/dist/{chunk-MQT3WP3F.js → chunk-3MX4GWJO.js} +2 -2
  87. package/dist/{chunk-PXJ6HE2W.js → chunk-3RABJOGD.js} +2 -2
  88. package/dist/{chunk-V2XNMIAM.js → chunk-4WSR7MYV.js} +2 -2
  89. package/dist/{chunk-6A6HSXWV.js → chunk-5WIGM42T.js} +2 -2
  90. package/dist/{chunk-GGROFIYX.js → chunk-6DYCSSHN.js} +2 -2
  91. package/dist/{chunk-55XWRL6F.js → chunk-6VLOKESS.js} +2 -2
  92. package/dist/{chunk-OS4JVTHR.js → chunk-76RTJ533.js} +3 -3
  93. package/dist/{chunk-4LPIVP77.js → chunk-7VTQETLT.js} +2 -2
  94. package/dist/{chunk-X2NFFBTO.js → chunk-A7GQBJP5.js} +4 -4
  95. package/dist/{chunk-G2SJRFGP.js → chunk-AIKUSXIS.js} +6 -6
  96. package/dist/{chunk-MNG536IS.js → chunk-AJLQH4RO.js} +13 -13
  97. package/dist/{chunk-XEHLYA5Z.js → chunk-AOMVOC2E.js} +3 -3
  98. package/dist/{chunk-XXLH6KFO.js → chunk-BHXY5FXL.js} +2 -2
  99. package/dist/{chunk-PA67GXYJ.js → chunk-C3YEB7CR.js} +5 -5
  100. package/dist/{chunk-SK6HEQTW.js → chunk-DHTOYRDE.js} +2 -2
  101. package/dist/{chunk-WQW6KPVC.js → chunk-DNAD57VY.js} +1 -1
  102. package/dist/chunk-DNAD57VY.js.map +1 -0
  103. package/dist/{chunk-P3YNEMYY.js → chunk-E64HBW7M.js} +2 -2
  104. package/dist/{chunk-NMA7RQPR.js → chunk-EBLKS57G.js} +2 -2
  105. package/dist/{chunk-2QX65IEC.js → chunk-EHUUXLLA.js} +2 -2
  106. package/dist/{chunk-LYMJ36UI.js → chunk-EST3J4LX.js} +2 -2
  107. package/dist/{chunk-B6VDWDFN.js → chunk-EUP4AXIW.js} +2 -2
  108. package/dist/{chunk-XZUHXKM3.js → chunk-FLZJMXFV.js} +2 -2
  109. package/dist/{chunk-GXJSLNYO.js → chunk-FVRZDZ7J.js} +2 -2
  110. package/dist/{chunk-645WOU5I.js → chunk-H7BZBSP6.js} +4 -4
  111. package/dist/{chunk-2JFSQWFH.js → chunk-HIBNECBQ.js} +5 -5
  112. package/dist/{chunk-7ZNJN5WZ.js → chunk-IHOXK2I6.js} +55 -6
  113. package/dist/chunk-IHOXK2I6.js.map +1 -0
  114. package/dist/{chunk-QLCMOHRE.js → chunk-IIDXU2CY.js} +2 -2
  115. package/dist/{chunk-2NKY7OC6.js → chunk-IMJPJY7V.js} +2 -2
  116. package/dist/{chunk-JYXLW22X.js → chunk-JG4AP36X.js} +2 -2
  117. package/dist/{chunk-3RKVSECD.js → chunk-JI5Q6EOY.js} +7 -7
  118. package/dist/{chunk-XKHRNAK7.js → chunk-JIWZVOQM.js} +2 -2
  119. package/dist/{chunk-7YUX52XZ.js → chunk-JVM3CEGL.js} +3 -3
  120. package/dist/{chunk-QB4VXCFN.js → chunk-K26LFJE4.js} +2 -2
  121. package/dist/{chunk-Y5VT7BIT.js → chunk-K4KE5MYE.js} +2 -2
  122. package/dist/{chunk-TQSCR5DU.js → chunk-KG2OOAFF.js} +6 -6
  123. package/dist/{chunk-VV5GCNKG.js → chunk-KHLNIDWB.js} +2 -2
  124. package/dist/{chunk-LIAM7U2J.js → chunk-LE2UESGS.js} +2 -2
  125. package/dist/{chunk-YXWMZAAN.js → chunk-LLFMZYFS.js} +2 -2
  126. package/dist/{chunk-PPJLJD2D.js → chunk-LX32KV2C.js} +2 -2
  127. package/dist/{chunk-44BILQ7U.js → chunk-N57PUWUE.js} +39 -39
  128. package/dist/{chunk-V7IONNTJ.js → chunk-NDWBT2VV.js} +2 -2
  129. package/dist/{chunk-DRLZB3CN.js → chunk-OTGIAJQ2.js} +2 -2
  130. package/dist/{chunk-T3T5HTZZ.js → chunk-P36WML7L.js} +2 -2
  131. package/dist/{chunk-SJ7ZNUXB.js → chunk-PAQ7YGJY.js} +2 -2
  132. package/dist/{chunk-YOSLKZLZ.js → chunk-PSQRBCGR.js} +2 -2
  133. package/dist/{chunk-FGRJJBFO.js → chunk-PZHN7R35.js} +2 -2
  134. package/dist/{chunk-QMWKENNK.js → chunk-Q4AUIFUA.js} +4 -4
  135. package/dist/{chunk-CD7VTZIG.js → chunk-QQA6VTOY.js} +2 -2
  136. package/dist/{chunk-ROBGBT3D.js → chunk-RBHQA2UU.js} +50 -50
  137. package/dist/{chunk-HG74GEVY.js → chunk-RS53SDCA.js} +2 -2
  138. package/dist/{chunk-SS33RR4F.js → chunk-SKYYPVBW.js} +8 -8
  139. package/dist/{chunk-OSTXIFZW.js → chunk-SNOAFXKX.js} +38 -4
  140. package/dist/chunk-SNOAFXKX.js.map +1 -0
  141. package/dist/{chunk-EWBDJQ5Y.js → chunk-SYJZUVTN.js} +3 -3
  142. package/dist/{chunk-IO7K7GES.js → chunk-T3F2HWIG.js} +2 -2
  143. package/dist/{chunk-BMENHAJL.js → chunk-T3OLYUU6.js} +2 -2
  144. package/dist/{chunk-AS4YKT75.js → chunk-TUSY4KRE.js} +207 -44
  145. package/dist/chunk-TUSY4KRE.js.map +1 -0
  146. package/dist/{chunk-QGAKUOKU.js → chunk-U3ZRHNNG.js} +2 -2
  147. package/dist/{chunk-LIDJWAQV.js → chunk-UB4UVALS.js} +2 -2
  148. package/dist/chunk-UD6W67JM.js +260 -0
  149. package/dist/chunk-UD6W67JM.js.map +1 -0
  150. package/dist/{chunk-WYU66IVZ.js → chunk-UE7L4EDU.js} +3 -3
  151. package/dist/{chunk-I6IJDTRP.js → chunk-VBRS7Z3O.js} +2 -2
  152. package/dist/{chunk-EGOWY342.js → chunk-WGCASEEQ.js} +2 -2
  153. package/dist/{chunk-QKFYJVDG.js → chunk-WHSNLCRO.js} +2 -2
  154. package/dist/{chunk-JXLEQIJ7.js → chunk-XQFHKPNB.js} +7 -7
  155. package/dist/{chunk-NE45P3OF.js → chunk-YA5M7OC4.js} +2 -2
  156. package/dist/{chunk-WL3PGPGU.js → chunk-YKWWG3CM.js} +2 -2
  157. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  158. package/dist/{chunk-MMQVWKFY.js → chunk-YOC3EEZH.js} +12 -12
  159. package/dist/{chunk-ZEIJQ4I3.js → chunk-Z2OKRO3E.js} +2 -2
  160. package/dist/{chunk-5KBI2MOC.js → chunk-ZDGSHXJU.js} +1 -1
  161. package/dist/{chunk-R4JTUTU6.js → chunk-ZYZW46HZ.js} +3 -3
  162. package/dist/{cli-B8YyIrPR.d.ts → cli-CdJiBilM.d.ts} +5 -5
  163. package/dist/cli.d.ts +16 -16
  164. package/dist/cli.js +71 -69
  165. package/dist/coding/export-okf-codegraph.d.ts +1 -1
  166. package/dist/coding/export-okf-codegraph.js +13 -13
  167. package/dist/coding/pre-action-gate.d.ts +1 -1
  168. package/dist/compounding/engine.d.ts +2 -2
  169. package/dist/compounding/engine.js +12 -12
  170. package/dist/compounding/preference-consolidator.d.ts +1 -1
  171. package/dist/compression-optimizer.d.ts +1 -1
  172. package/dist/config.d.ts +1 -1
  173. package/dist/config.js +2 -2
  174. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  175. package/dist/connectors/codex-materialize-runner.js +11 -11
  176. package/dist/connectors/codex-materialize.d.ts +1 -1
  177. package/dist/connectors/index.d.ts +1 -1
  178. package/dist/connectors/index.js +11 -11
  179. package/dist/consolidation-provenance-check.d.ts +2 -2
  180. package/dist/consolidation-undo.d.ts +2 -2
  181. package/dist/contradiction/index.d.ts +4 -4
  182. package/dist/converge-config.d.ts +1 -1
  183. package/dist/convergence-refresh.d.ts +2 -2
  184. package/dist/convergence-refresh.js +13 -13
  185. package/dist/conversation-index/backend.d.ts +1 -1
  186. package/dist/conversation-index/chunker.d.ts +1 -1
  187. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  188. package/dist/conversation-index/indexer.d.ts +1 -1
  189. package/dist/conversation-index/search.d.ts +1 -1
  190. package/dist/corpus-watermark.d.ts +1 -1
  191. package/dist/corpus-watermark.js +13 -13
  192. package/dist/cross-lingual-recall.d.ts +1 -1
  193. package/dist/dashboard-runtime.js +2 -2
  194. package/dist/day-summary.d.ts +1 -1
  195. package/dist/deep-recall-http-glue.d.ts +14 -14
  196. package/dist/deep-recall-mcp-tools.d.ts +14 -14
  197. package/dist/deep-recall-policy-llm.d.ts +2 -2
  198. package/dist/deep-recall-seeds.d.ts +1 -1
  199. package/dist/delinearize.d.ts +1 -1
  200. package/dist/dependency-propagation-config.d.ts +1 -1
  201. package/dist/{dependency-propagation-delivery-B-LvcDaq.d.ts → dependency-propagation-delivery-BgHy44WX.d.ts} +1 -1
  202. package/dist/direct-answer-wiring.d.ts +1 -1
  203. package/dist/direct-answer.d.ts +1 -1
  204. package/dist/directory-sidecars.d.ts +87 -0
  205. package/dist/directory-sidecars.js +22 -0
  206. package/dist/directory-sidecars.js.map +1 -0
  207. package/dist/embedding-fallback.d.ts +1 -1
  208. package/dist/enrichment/index.d.ts +1 -1
  209. package/dist/entity-origin-fields.d.ts +1 -1
  210. package/dist/entity-retrieval.d.ts +2 -2
  211. package/dist/entity-retrieval.js +13 -13
  212. package/dist/entity-schema.d.ts +1 -1
  213. package/dist/episodic-context.d.ts +1 -1
  214. package/dist/eval-trajectory-contracts.d.ts +1 -1
  215. package/dist/eval-trajectory-store.d.ts +1 -1
  216. package/dist/eval-trajectory.d.ts +1 -1
  217. package/dist/event-order-recall.js +2 -2
  218. package/dist/explicit-capture.d.ts +11 -11
  219. package/dist/external-wiki-access.d.ts +14 -14
  220. package/dist/external-wiki-access.js +33 -31
  221. package/dist/external-wiki-collection-registration.d.ts +1 -1
  222. package/dist/external-wiki-collection.d.ts +1 -1
  223. package/dist/external-wiki-mcp-tools.d.ts +14 -14
  224. package/dist/extraction-error-classification.d.ts +1 -1
  225. package/dist/extraction-evidence-class.d.ts +1 -1
  226. package/dist/extraction-faithfulness.d.ts +2 -2
  227. package/dist/extraction-judge-telemetry.d.ts +2 -2
  228. package/dist/extraction-judge-training.d.ts +2 -2
  229. package/dist/extraction-judge.d.ts +2 -2
  230. package/dist/extraction-liveness.d.ts +1 -1
  231. package/dist/extraction-normalization.d.ts +1 -1
  232. package/dist/extraction-prompt.d.ts +1 -1
  233. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  234. package/dist/extraction-source-grounding.d.ts +1 -1
  235. package/dist/extraction-span-config.d.ts +1 -1
  236. package/dist/extraction-span-materialize.d.ts +1 -1
  237. package/dist/extraction-span-wire.d.ts +1 -1
  238. package/dist/extraction.d.ts +2 -2
  239. package/dist/extraction.js +15 -15
  240. package/dist/fallback-llm-codex-subscription.d.ts +1 -1
  241. package/dist/fallback-llm.d.ts +1 -1
  242. package/dist/{generic-recall-paths-Bfc7zigS.d.ts → generic-recall-paths-BoueWXYr.d.ts} +1 -1
  243. package/dist/graph-append-error.d.ts +1 -1
  244. package/dist/graph-dashboard-diff.d.ts +1 -1
  245. package/dist/graph-dashboard-key.d.ts +1 -1
  246. package/dist/graph-dashboard-parser.d.ts +1 -1
  247. package/dist/graph-edge-reinforcement.d.ts +1 -1
  248. package/dist/graph-jsonl.d.ts +1 -1
  249. package/dist/graph-path-reconstruction.d.ts +1 -1
  250. package/dist/graph-path-scoring.d.ts +1 -1
  251. package/dist/graph-snapshot.d.ts +1 -1
  252. package/dist/graph.d.ts +1 -1
  253. package/dist/harmonic-retrieval.js +1 -1
  254. package/dist/importance.d.ts +1 -1
  255. package/dist/importers/index.d.ts +1 -1
  256. package/dist/importers/test-utils.d.ts +1 -1
  257. package/dist/in-flight-reads.d.ts +1 -1
  258. package/dist/{index-C7IA1DxB.d.ts → index-cwbrXoxe.d.ts} +3 -3
  259. package/dist/index.d.ts +719 -719
  260. package/dist/index.js +132 -127
  261. package/dist/intent.d.ts +1 -1
  262. package/dist/lcm/engine.d.ts +1 -1
  263. package/dist/lcm/engine.js +2 -2
  264. package/dist/lcm/index.d.ts +1 -1
  265. package/dist/lcm/index.js +4 -4
  266. package/dist/lcm/tools.d.ts +1 -1
  267. package/dist/lifecycle.d.ts +1 -1
  268. package/dist/live-connectors-runner.d.ts +1 -1
  269. package/dist/{local-llm-DH4tWtck.d.ts → local-llm-B0vd_rp9.d.ts} +1 -1
  270. package/dist/local-llm-helpers.d.ts +2 -2
  271. package/dist/local-llm.d.ts +2 -2
  272. package/dist/local-model-endpoint.d.ts +1 -1
  273. package/dist/location/index.d.ts +5 -5
  274. package/dist/location/index.js +13 -13
  275. package/dist/maintenance/memory-governance.d.ts +1 -1
  276. package/dist/maintenance/memory-governance.js +11 -11
  277. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  278. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +11 -11
  279. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  280. package/dist/maintenance/rebuild-memory-projection.js +12 -12
  281. package/dist/{maintenance-n6yeTQhR.d.ts → maintenance-DJgQkoLh.d.ts} +3 -3
  282. package/dist/mcp-memory-inspector-app.d.ts +14 -14
  283. package/dist/memory-action-policy.d.ts +1 -1
  284. package/dist/memory-browse-http-glue.d.ts +14 -14
  285. package/dist/memory-browse-mcp-tools.d.ts +14 -14
  286. package/dist/memory-browse-operations.js +33 -31
  287. package/dist/memory-browse.d.ts +1 -1
  288. package/dist/memory-browse.js +7 -5
  289. package/dist/memory-cache.d.ts +1 -1
  290. package/dist/memory-controller.d.ts +1 -1
  291. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  292. package/dist/memory-projection-store.d.ts +1 -1
  293. package/dist/memory-provenance.d.ts +1 -1
  294. package/dist/memory-snapshot.d.ts +1 -1
  295. package/dist/memory-subject-cli.d.ts +14 -14
  296. package/dist/memory-subject.d.ts +14 -14
  297. package/dist/memory-worth-outcomes.d.ts +2 -2
  298. package/dist/models-json.d.ts +1 -1
  299. package/dist/namespaces/migrate.d.ts +3 -3
  300. package/dist/namespaces/migrate.js +12 -12
  301. package/dist/namespaces/principal.d.ts +1 -1
  302. package/dist/namespaces/search.d.ts +1 -1
  303. package/dist/namespaces/search.js +6 -6
  304. package/dist/namespaces/storage.d.ts +3 -3
  305. package/dist/namespaces/storage.js +11 -11
  306. package/dist/native-knowledge.d.ts +1 -1
  307. package/dist/offline-sync-impression-drain.d.ts +1 -1
  308. package/dist/operator-doctor-corpus.d.ts +1 -1
  309. package/dist/operator-doctor-corpus.js +14 -14
  310. package/dist/operator-doctor-replica.d.ts +1 -1
  311. package/dist/operator-toolkit.d.ts +3 -3
  312. package/dist/operator-toolkit.js +21 -21
  313. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  314. package/dist/orchestration/maintenance.d.ts +4 -4
  315. package/dist/orchestration/maintenance.js +19 -19
  316. package/dist/{orchestrator-Cirjo3ZB.d.ts → orchestrator-Kx5zwNUm.d.ts} +10 -10
  317. package/dist/orchestrator.d.ts +11 -11
  318. package/dist/orchestrator.js +99 -98
  319. package/dist/patterns-cli.d.ts +1 -1
  320. package/dist/{pipeline-DK79FrgH.d.ts → pipeline-9SYxxign.d.ts} +1 -1
  321. package/dist/policy-runtime.d.ts +1 -1
  322. package/dist/proactive-contention.d.ts +2 -2
  323. package/dist/provenance.d.ts +1 -1
  324. package/dist/{public-http-VB85y0ZH.d.ts → public-http-Bvol6Jr4.d.ts} +1 -1
  325. package/dist/{qmd-BT0ErlRS.d.ts → qmd-DjwuG9Xa.d.ts} +1 -1
  326. package/dist/qmd-preflight.d.ts +2 -2
  327. package/dist/qmd-recall-cache.d.ts +1 -1
  328. package/dist/qmd.d.ts +2 -2
  329. package/dist/qmd.js +4 -4
  330. package/dist/recall-concurrency-config.d.ts +1 -1
  331. package/dist/recall-context-composition.d.ts +43 -3
  332. package/dist/recall-context-composition.js +5 -1
  333. package/dist/recall-disclosure-escalation.d.ts +1 -1
  334. package/dist/recall-explain-renderer.d.ts +1 -1
  335. package/dist/recall-explain-renderer.js +3 -3
  336. package/dist/recall-memory-map.d.ts +1 -1
  337. package/dist/recall-navigate-access.d.ts +1 -1
  338. package/dist/recall-navigate-access.js +2 -2
  339. package/dist/recall-navigate-disclosure.d.ts +1 -1
  340. package/dist/recall-navigate-disclosure.js +2 -2
  341. package/dist/recall-navigate.d.ts +1 -1
  342. package/dist/recall-navigate.js +2 -2
  343. package/dist/recall-navigation-http-glue.d.ts +14 -14
  344. package/dist/recall-navigation-mcp-tools.d.ts +14 -14
  345. package/dist/recall-navigation-operations.js +33 -31
  346. package/dist/recall-navigation-renderer.d.ts +1 -1
  347. package/dist/recall-navigation.d.ts +1 -1
  348. package/dist/recall-navigation.js +32 -30
  349. package/dist/recall-planner-llm.d.ts +1 -1
  350. package/dist/recall-state-view-admission.d.ts +2 -2
  351. package/dist/recall-state-view-admission.js +8 -5
  352. package/dist/recall-state-view-anchors.d.ts +1 -1
  353. package/dist/recall-state.d.ts +1 -1
  354. package/dist/recall-tag-filter.d.ts +1 -1
  355. package/dist/recall-timings.d.ts +1 -1
  356. package/dist/recall-xray-cli.d.ts +1 -1
  357. package/dist/recall-xray-cli.js +4 -4
  358. package/dist/recall-xray-renderer.d.ts +1 -1
  359. package/dist/recall-xray-renderer.js +3 -3
  360. package/dist/recall-xray.d.ts +1 -1
  361. package/dist/recall-xray.js +2 -2
  362. package/dist/reconcile/cursor.d.ts +1 -1
  363. package/dist/reconcile/manifest.d.ts +1 -1
  364. package/dist/reconcile/plan.d.ts +1 -1
  365. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  366. package/dist/replay/normalizers/claude.d.ts +1 -1
  367. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  368. package/dist/replay/normalizers/shared.d.ts +1 -1
  369. package/dist/replay/runner.d.ts +1 -1
  370. package/dist/replay/types.d.ts +1 -1
  371. package/dist/replica-divergence.d.ts +1 -1
  372. package/dist/replica-peers-config.d.ts +1 -1
  373. package/dist/resolve-auth-token.d.ts +1 -1
  374. package/dist/resume-bundles.js +3 -3
  375. package/dist/retrieval-agents.d.ts +2 -2
  376. package/dist/retrieval-tiers.d.ts +1 -1
  377. package/dist/routing/engine.d.ts +1 -1
  378. package/dist/routing/store.d.ts +1 -1
  379. package/dist/salvage-envelope.d.ts +1 -1
  380. package/dist/schemas.d.ts +160 -160
  381. package/dist/{scope-profiles-BgPQx9iE.d.ts → scope-profiles-DPegZtRf.d.ts} +1 -1
  382. package/dist/search/embed-helper.d.ts +1 -1
  383. package/dist/search/factory.d.ts +1 -1
  384. package/dist/search/factory.js +5 -5
  385. package/dist/search/index.d.ts +1 -1
  386. package/dist/search/index.js +9 -9
  387. package/dist/search/lancedb-backend.d.ts +1 -1
  388. package/dist/search/meilisearch-backend.d.ts +1 -1
  389. package/dist/search/noop-backend.d.ts +1 -1
  390. package/dist/search/orama-backend.d.ts +1 -1
  391. package/dist/search/port.d.ts +1 -1
  392. package/dist/search/remote-backend.d.ts +1 -1
  393. package/dist/{semantic-consolidation-BrAWKVcm.d.ts → semantic-consolidation-DMzhKRYl.d.ts} +1 -1
  394. package/dist/semantic-consolidation.d.ts +2 -2
  395. package/dist/semantic-consolidation.js +12 -12
  396. package/dist/semantic-rule-promotion.js +11 -11
  397. package/dist/semantic-rule-verifier.d.ts +1 -1
  398. package/dist/semantic-rule-verifier.js +11 -11
  399. package/dist/{service-CqHOTg87.d.ts → service-E99KuPvi.d.ts} +2 -2
  400. package/dist/session-observer-bands.d.ts +1 -1
  401. package/dist/session-observer-state.d.ts +1 -1
  402. package/dist/shared-context/manager.d.ts +7 -7
  403. package/dist/signal.d.ts +1 -1
  404. package/dist/source-agent-qualifier.d.ts +1 -1
  405. package/dist/source-agent-qualifier.js +14 -14
  406. package/dist/standup/build.js +11 -11
  407. package/dist/{storage-mD2YQ8_2.d.ts → storage-BS7ux8F7.d.ts} +1 -1
  408. package/dist/storage.d.ts +2 -2
  409. package/dist/storage.js +10 -10
  410. package/dist/subject-config.d.ts +1 -1
  411. package/dist/summarizer.d.ts +1 -1
  412. package/dist/summary-snapshot.d.ts +1 -1
  413. package/dist/support-passport/index.d.ts +17 -17
  414. package/dist/support-passport/index.js +35 -33
  415. package/dist/{tagging-CiAVA-ID.d.ts → tagging-BhOEcSXP.d.ts} +2 -2
  416. package/dist/temporal-supersession.d.ts +2 -2
  417. package/dist/temporal-timeline-recall.d.ts +1 -1
  418. package/dist/temporal-timeline-recall.js +2 -2
  419. package/dist/temporal-validity.d.ts +1 -1
  420. package/dist/threading.d.ts +1 -1
  421. package/dist/tier-migration.d.ts +2 -2
  422. package/dist/tier-routing.d.ts +1 -1
  423. package/dist/topics.d.ts +1 -1
  424. package/dist/transcript.d.ts +1 -1
  425. package/dist/transfer/export-okf.d.ts +1 -1
  426. package/dist/transfer/export-okf.js +11 -11
  427. package/dist/transfer/types.d.ts +78 -78
  428. package/dist/trust-score-stage.d.ts +1 -1
  429. package/dist/trust-score.d.ts +1 -1
  430. package/dist/{types-DgDaoY61.d.ts → types-DQ2H8gAC.d.ts} +19 -0
  431. package/dist/types.d.ts +1 -1
  432. package/dist/types.js +1 -1
  433. package/dist/utility-runtime.d.ts +1 -1
  434. package/dist/verified-recall.js +11 -11
  435. package/dist/who-knows-cli.d.ts +14 -14
  436. package/dist/who-knows-cli.js +12 -12
  437. package/dist/who-knows.d.ts +14 -14
  438. package/dist/who-knows.js +11 -11
  439. package/dist/write-envelope.d.ts +1 -1
  440. package/package.json +2 -2
  441. package/src/config.ts +4 -0
  442. package/src/directory-sidecars.test.ts +268 -0
  443. package/src/directory-sidecars.ts +383 -0
  444. package/src/experience/session-experience-config.ts +51 -0
  445. package/src/experience/session-experience-lifecycle.test.ts +139 -0
  446. package/src/experience/session-experience.test.ts +233 -0
  447. package/src/experience/session-experience.ts +240 -0
  448. package/src/orchestration/generic-recall-paths.ts +5 -1
  449. package/src/orchestration/session-context.ts +50 -0
  450. package/src/recall-context-composition.test.ts +66 -0
  451. package/src/recall-context-composition.ts +102 -2
  452. package/src/types.ts +3 -0
  453. package/dist/chunk-7ZNJN5WZ.js.map +0 -1
  454. package/dist/chunk-AS4YKT75.js.map +0 -1
  455. package/dist/chunk-DE4ZGH2N.js.map +0 -1
  456. package/dist/chunk-OSTXIFZW.js.map +0 -1
  457. package/dist/chunk-WQW6KPVC.js.map +0 -1
  458. /package/dist/{chunk-MQT3WP3F.js.map → chunk-3MX4GWJO.js.map} +0 -0
  459. /package/dist/{chunk-PXJ6HE2W.js.map → chunk-3RABJOGD.js.map} +0 -0
  460. /package/dist/{chunk-V2XNMIAM.js.map → chunk-4WSR7MYV.js.map} +0 -0
  461. /package/dist/{chunk-6A6HSXWV.js.map → chunk-5WIGM42T.js.map} +0 -0
  462. /package/dist/{chunk-GGROFIYX.js.map → chunk-6DYCSSHN.js.map} +0 -0
  463. /package/dist/{chunk-55XWRL6F.js.map → chunk-6VLOKESS.js.map} +0 -0
  464. /package/dist/{chunk-OS4JVTHR.js.map → chunk-76RTJ533.js.map} +0 -0
  465. /package/dist/{chunk-4LPIVP77.js.map → chunk-7VTQETLT.js.map} +0 -0
  466. /package/dist/{chunk-X2NFFBTO.js.map → chunk-A7GQBJP5.js.map} +0 -0
  467. /package/dist/{chunk-G2SJRFGP.js.map → chunk-AIKUSXIS.js.map} +0 -0
  468. /package/dist/{chunk-MNG536IS.js.map → chunk-AJLQH4RO.js.map} +0 -0
  469. /package/dist/{chunk-XEHLYA5Z.js.map → chunk-AOMVOC2E.js.map} +0 -0
  470. /package/dist/{chunk-XXLH6KFO.js.map → chunk-BHXY5FXL.js.map} +0 -0
  471. /package/dist/{chunk-PA67GXYJ.js.map → chunk-C3YEB7CR.js.map} +0 -0
  472. /package/dist/{chunk-SK6HEQTW.js.map → chunk-DHTOYRDE.js.map} +0 -0
  473. /package/dist/{chunk-P3YNEMYY.js.map → chunk-E64HBW7M.js.map} +0 -0
  474. /package/dist/{chunk-NMA7RQPR.js.map → chunk-EBLKS57G.js.map} +0 -0
  475. /package/dist/{chunk-2QX65IEC.js.map → chunk-EHUUXLLA.js.map} +0 -0
  476. /package/dist/{chunk-LYMJ36UI.js.map → chunk-EST3J4LX.js.map} +0 -0
  477. /package/dist/{chunk-B6VDWDFN.js.map → chunk-EUP4AXIW.js.map} +0 -0
  478. /package/dist/{chunk-XZUHXKM3.js.map → chunk-FLZJMXFV.js.map} +0 -0
  479. /package/dist/{chunk-GXJSLNYO.js.map → chunk-FVRZDZ7J.js.map} +0 -0
  480. /package/dist/{chunk-645WOU5I.js.map → chunk-H7BZBSP6.js.map} +0 -0
  481. /package/dist/{chunk-2JFSQWFH.js.map → chunk-HIBNECBQ.js.map} +0 -0
  482. /package/dist/{chunk-QLCMOHRE.js.map → chunk-IIDXU2CY.js.map} +0 -0
  483. /package/dist/{chunk-2NKY7OC6.js.map → chunk-IMJPJY7V.js.map} +0 -0
  484. /package/dist/{chunk-JYXLW22X.js.map → chunk-JG4AP36X.js.map} +0 -0
  485. /package/dist/{chunk-3RKVSECD.js.map → chunk-JI5Q6EOY.js.map} +0 -0
  486. /package/dist/{chunk-XKHRNAK7.js.map → chunk-JIWZVOQM.js.map} +0 -0
  487. /package/dist/{chunk-7YUX52XZ.js.map → chunk-JVM3CEGL.js.map} +0 -0
  488. /package/dist/{chunk-QB4VXCFN.js.map → chunk-K26LFJE4.js.map} +0 -0
  489. /package/dist/{chunk-Y5VT7BIT.js.map → chunk-K4KE5MYE.js.map} +0 -0
  490. /package/dist/{chunk-TQSCR5DU.js.map → chunk-KG2OOAFF.js.map} +0 -0
  491. /package/dist/{chunk-VV5GCNKG.js.map → chunk-KHLNIDWB.js.map} +0 -0
  492. /package/dist/{chunk-LIAM7U2J.js.map → chunk-LE2UESGS.js.map} +0 -0
  493. /package/dist/{chunk-YXWMZAAN.js.map → chunk-LLFMZYFS.js.map} +0 -0
  494. /package/dist/{chunk-PPJLJD2D.js.map → chunk-LX32KV2C.js.map} +0 -0
  495. /package/dist/{chunk-44BILQ7U.js.map → chunk-N57PUWUE.js.map} +0 -0
  496. /package/dist/{chunk-V7IONNTJ.js.map → chunk-NDWBT2VV.js.map} +0 -0
  497. /package/dist/{chunk-DRLZB3CN.js.map → chunk-OTGIAJQ2.js.map} +0 -0
  498. /package/dist/{chunk-T3T5HTZZ.js.map → chunk-P36WML7L.js.map} +0 -0
  499. /package/dist/{chunk-SJ7ZNUXB.js.map → chunk-PAQ7YGJY.js.map} +0 -0
  500. /package/dist/{chunk-YOSLKZLZ.js.map → chunk-PSQRBCGR.js.map} +0 -0
  501. /package/dist/{chunk-FGRJJBFO.js.map → chunk-PZHN7R35.js.map} +0 -0
  502. /package/dist/{chunk-QMWKENNK.js.map → chunk-Q4AUIFUA.js.map} +0 -0
  503. /package/dist/{chunk-CD7VTZIG.js.map → chunk-QQA6VTOY.js.map} +0 -0
  504. /package/dist/{chunk-ROBGBT3D.js.map → chunk-RBHQA2UU.js.map} +0 -0
  505. /package/dist/{chunk-HG74GEVY.js.map → chunk-RS53SDCA.js.map} +0 -0
  506. /package/dist/{chunk-SS33RR4F.js.map → chunk-SKYYPVBW.js.map} +0 -0
  507. /package/dist/{chunk-EWBDJQ5Y.js.map → chunk-SYJZUVTN.js.map} +0 -0
  508. /package/dist/{chunk-IO7K7GES.js.map → chunk-T3F2HWIG.js.map} +0 -0
  509. /package/dist/{chunk-BMENHAJL.js.map → chunk-T3OLYUU6.js.map} +0 -0
  510. /package/dist/{chunk-QGAKUOKU.js.map → chunk-U3ZRHNNG.js.map} +0 -0
  511. /package/dist/{chunk-LIDJWAQV.js.map → chunk-UB4UVALS.js.map} +0 -0
  512. /package/dist/{chunk-WYU66IVZ.js.map → chunk-UE7L4EDU.js.map} +0 -0
  513. /package/dist/{chunk-I6IJDTRP.js.map → chunk-VBRS7Z3O.js.map} +0 -0
  514. /package/dist/{chunk-EGOWY342.js.map → chunk-WGCASEEQ.js.map} +0 -0
  515. /package/dist/{chunk-QKFYJVDG.js.map → chunk-WHSNLCRO.js.map} +0 -0
  516. /package/dist/{chunk-JXLEQIJ7.js.map → chunk-XQFHKPNB.js.map} +0 -0
  517. /package/dist/{chunk-NE45P3OF.js.map → chunk-YA5M7OC4.js.map} +0 -0
  518. /package/dist/{chunk-WL3PGPGU.js.map → chunk-YKWWG3CM.js.map} +0 -0
  519. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  520. /package/dist/{chunk-MMQVWKFY.js.map → chunk-YOC3EEZH.js.map} +0 -0
  521. /package/dist/{chunk-ZEIJQ4I3.js.map → chunk-Z2OKRO3E.js.map} +0 -0
  522. /package/dist/{chunk-5KBI2MOC.js.map → chunk-ZDGSHXJU.js.map} +0 -0
  523. /package/dist/{chunk-R4JTUTU6.js.map → chunk-ZYZW46HZ.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-Cirjo3ZB.js';
12
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-Kx5zwNUm.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-C7IA1DxB.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-C7IA1DxB.js';
16
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-cwbrXoxe.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-cwbrXoxe.js';
18
18
  export { DEFAULT_RECALL_STATE_VIEWS, StateLabel, StateViewChain, StateViewResult, annotateStateView, capStateViewPackets, formatSupersededPrefix, isChangeOrientedQuery, parseRecallStateViews, reconcileStateViewPairs, resultStateViewId, resultStateViewKey, shouldWidenSuperseded, stateViewKey, stateViewPacketKeys } from './recall-state-view.js';
19
19
  export { DEFAULT_RECALL_STANDING_BLOCK, DEFAULT_STANDING_BLOCK_FRESH_DAYS, DEFAULT_STANDING_BLOCK_HOOK_CHARS, DEFAULT_STANDING_BLOCK_MAX_CHARS, STANDING_BLOCK_HEADER, STANDING_BLOCK_INSTRUCTION, STANDING_BLOCK_TRIMMED_MARKER, StandingBand, StandingBlockBandCounts, StandingBlockBudgetError, StandingBlockError, StandingBlockVolatilityError, StandingHookLedger, StandingMemoryBlock, StandingMemoryBlockInput, StandingMemoryEntry, StandingVolatilityKind, StandingVolatilityMatch, buildStandingMemoryBlock, lintStandingBlockVolatility, parseRecallStandingBlock, parseStandingBlockFreshDays, parseStandingBlockMaxChars, standingHookLedgerKey } from './standing-memory-block.js';
20
20
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
@@ -23,25 +23,25 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
23
23
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
24
24
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
25
25
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
26
- import { S as StorageManager, a as MeetingRecordStore } from './storage-mD2YQ8_2.js';
27
- 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-mD2YQ8_2.js';
26
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-BS7ux8F7.js';
27
+ 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-BS7ux8F7.js';
28
28
  import { SealedMemoryEnvelope } from './write-envelope.js';
29
29
  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';
30
30
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
31
31
  export { ExtractionEngine } from './extraction.js';
32
32
  import { CodexCliFallbackRunner } from './cli-fallback.js';
33
33
  export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, setCodexCliFallbackRunnerForProcess } from './cli-fallback.js';
34
- import { C as CodingContext, bB as CodingModeConfig, b3 as FusionConversationInput, bC as FusedSpeaker, bD as FusedSegment, bE as FusedDisagreement, bF as FusionOptions, aS as WearableConversation, bG as FusionDayResult, O as ModelProviderConfig, P as PluginConfig, bH as ParsedSkillBundle, _ as SkillBundle, bI as MemoryDriftState, bJ as DriftDetectionConfig, bK as CodingKnowledgeConfig, aD as SubjectGuardMode, u as MemoryCategory, bL as WearableCleanupSettings, bM as WearableFusionConfig, b5 as WearableSourceSettings, b9 as WearablesConfig, b8 as WearableSourceConnector, bN as OffTheRecordMarkerSettings, be as WearableCorrectionRule, bO as WearableDayTranscriptMeta, bc as WearableDayTranscript, aZ as ActivitySourceClient, bP as ActivitySourceCheck, bQ as ActivitySnapshotPage, aX as ActivityConfig, bR as ActivityTimelineVaultConfig, bS as ActivityTimelineQaConfig, aW as ActivityTimelineAnalysisConfig, k as BufferTurn, ac as ExtractionResult, x as MemoryStatus, aB as ImportanceScore, bT as ActivityTimelineJournalConfig, bU as MeetingsDetectionConfig, b2 as MeetingsDetectionInput, b4 as DetectedMeeting, a$ as MeetingsConfig, b1 as MeetingRecord, a9 as ActivitySnapshot, bV as MeetingAudioWindow, bW as MeetingAppSpan } from './types-DgDaoY61.js';
35
- export { bX as ACTION_GATE_DEFAULTS, bY as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bZ as ActionGateAdvisory, b_ as ActionGateAuditRecord, b$ as ActionGateAuditSink, c0 as ActionGateCandidate, c1 as ActionGateCandidateQuery, c2 as ActionGateCandidateSource, c3 as ActionGateConfig, c4 as ActionGateDecision, c5 as ActionGateRequest, c6 as ActionGateService, c7 as ActionGateServiceDependencies, c8 as ActionGateSourceResult, c9 as ActionGateStatus, ab as ActivityDayDigest, aa as ActivityDayMeta, ca as ActivityExtractionMode, cb as ActivityJournalExtractionMode, aY as ActivitySourceConfig, cc as ActivityTimelineConfig, cd as ActivityTimelineVaultReadbackConfig, ce as ActivityTimelineVaultTargetConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, cf as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, cg as BriefingWindow, ae as BufferSurpriseEvent, ch as BulkImportError, ag as BulkImportOptions, ai as BulkImportResult, ah as BulkImportSource, ci as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, cj as CodexCompatConfig, bz as ConsolidationObservation, ck as DEFAULT_RECALL_DISCLOSURE, cl as DRIFT_DETECTION_DEFAULTS, cm as DisagreementKind, cn as DriftDetectionSettings, E as EntityFile, as as EntityStructuredSection, ax as ExtractedFact, co as FailureMemorySourceDependencies, cp as FusedContribution, cq as FusedConversationProvenance, bm as FusedDayFile, bl as FusedDayMeta, b0 as FusedMeeting, cr as FusedSegmentProvenance, bd as FusedWearableConversation, cs as FusionSegmentInput, G as GatewayConfig, ct as ImportSourceRole, af as ImportTurn, cu as ImportTurnValidationIssue, a_ as MeetingBuildInput, bn as MeetingDetectionSource, cv as MeetingScreenContextEvent, cw as MeetingSummaryMode, aE as MemoryActionEligibilityContext, cx as MemoryActionEligibilitySource, am as MemoryActionType, cy as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cz as MemoryObservation, cA as MemoryScope, cB as NormalizedActionIntent, cC as PRE_ACTION_FINGERPRINT_VERSION, cD as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cE as PRE_ACTION_WARNING_VERSION, cF as PreActionFailureGate, cG as PreActionGateDependencies, cH as PreActionGateRequest, cI as PreActionGateResult, cJ as PreActionGateStatus, cK as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cL as RecallDriftAnnotation, cM as SKILL_FILE_NAME, v as SecretRef, cN as SegmentPickReason, cO as SkillProjectionConfig, cP as VaultPropertiesMode, cQ as VaultSectionStrategy, cR as WearableAuthCheck, cS as WearableFetchOptions, cT as WearableFetchPage, b7 as WearableMemoryMode, b6 as WearableNativeMemory, cU as WearableNativeMemoryPage, bb as WearableSourceStatus, ba as WearableSyncSummary, cV as WearableTranscriptSegment, cW as actionTermsFor, cX as buildProcedureMarkdownBody, cY as createFailureMemoryCandidateSource, cZ as createTrajectoryCandidateSource, c_ as isFailureClassMemory, c$ as isImportRole, d0 as isRecallDisclosure, d1 as normalizeActionIntent, d2 as parseActionGateConfig, d3 as parseDriftDetectionConfig, d4 as parseDriftProvenance, d5 as parseIsoTimestamp, d6 as parseProcedureStepsFromBody, d7 as parseSkillBundle, d8 as parseSkillProjectionConfig, d9 as projectProceduresToSkills, da as renderSkillBundle, db as sanitizePayloadString, dc as sanitizeSkillSlug, dd as serializeDriftProvenance, de as validateImportTurn } from './types-DgDaoY61.js';
34
+ import { C as CodingContext, bB as CodingModeConfig, b3 as FusionConversationInput, bC as FusedSpeaker, bD as FusedSegment, bE as FusedDisagreement, bF as FusionOptions, aS as WearableConversation, bG as FusionDayResult, O as ModelProviderConfig, P as PluginConfig, bH as ParsedSkillBundle, _ as SkillBundle, bI as MemoryDriftState, bJ as DriftDetectionConfig, bK as CodingKnowledgeConfig, aD as SubjectGuardMode, u as MemoryCategory, bL as WearableCleanupSettings, bM as WearableFusionConfig, b5 as WearableSourceSettings, b9 as WearablesConfig, b8 as WearableSourceConnector, bN as OffTheRecordMarkerSettings, be as WearableCorrectionRule, bO as WearableDayTranscriptMeta, bc as WearableDayTranscript, aZ as ActivitySourceClient, bP as ActivitySourceCheck, bQ as ActivitySnapshotPage, aX as ActivityConfig, bR as ActivityTimelineVaultConfig, bS as ActivityTimelineQaConfig, aW as ActivityTimelineAnalysisConfig, k as BufferTurn, ac as ExtractionResult, x as MemoryStatus, aB as ImportanceScore, bT as ActivityTimelineJournalConfig, bU as MeetingsDetectionConfig, b2 as MeetingsDetectionInput, b4 as DetectedMeeting, a$ as MeetingsConfig, b1 as MeetingRecord, a9 as ActivitySnapshot, bV as MeetingAudioWindow, bW as MeetingAppSpan } from './types-DQ2H8gAC.js';
35
+ export { bX as ACTION_GATE_DEFAULTS, bY as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bZ as ActionGateAdvisory, b_ as ActionGateAuditRecord, b$ as ActionGateAuditSink, c0 as ActionGateCandidate, c1 as ActionGateCandidateQuery, c2 as ActionGateCandidateSource, c3 as ActionGateConfig, c4 as ActionGateDecision, c5 as ActionGateRequest, c6 as ActionGateService, c7 as ActionGateServiceDependencies, c8 as ActionGateSourceResult, c9 as ActionGateStatus, ab as ActivityDayDigest, aa as ActivityDayMeta, ca as ActivityExtractionMode, cb as ActivityJournalExtractionMode, aY as ActivitySourceConfig, cc as ActivityTimelineConfig, cd as ActivityTimelineVaultReadbackConfig, ce as ActivityTimelineVaultTargetConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, cf as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, cg as BriefingWindow, ae as BufferSurpriseEvent, ch as BulkImportError, ag as BulkImportOptions, ai as BulkImportResult, ah as BulkImportSource, ci as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, cj as CodexCompatConfig, bz as ConsolidationObservation, ck as DEFAULT_RECALL_DISCLOSURE, cl as DRIFT_DETECTION_DEFAULTS, cm as DisagreementKind, cn as DriftDetectionSettings, E as EntityFile, as as EntityStructuredSection, ax as ExtractedFact, co as FailureMemorySourceDependencies, cp as FusedContribution, cq as FusedConversationProvenance, bm as FusedDayFile, bl as FusedDayMeta, b0 as FusedMeeting, cr as FusedSegmentProvenance, bd as FusedWearableConversation, cs as FusionSegmentInput, G as GatewayConfig, ct as ImportSourceRole, af as ImportTurn, cu as ImportTurnValidationIssue, a_ as MeetingBuildInput, bn as MeetingDetectionSource, cv as MeetingScreenContextEvent, cw as MeetingSummaryMode, aE as MemoryActionEligibilityContext, cx as MemoryActionEligibilitySource, am as MemoryActionType, cy as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cz as MemoryObservation, cA as MemoryScope, cB as NormalizedActionIntent, cC as PRE_ACTION_FINGERPRINT_VERSION, cD as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cE as PRE_ACTION_WARNING_VERSION, cF as PreActionFailureGate, cG as PreActionGateDependencies, cH as PreActionGateRequest, cI as PreActionGateResult, cJ as PreActionGateStatus, cK as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cL as RecallDriftAnnotation, cM as SKILL_FILE_NAME, v as SecretRef, cN as SegmentPickReason, cO as SkillProjectionConfig, cP as VaultPropertiesMode, cQ as VaultSectionStrategy, cR as WearableAuthCheck, cS as WearableFetchOptions, cT as WearableFetchPage, b7 as WearableMemoryMode, b6 as WearableNativeMemory, cU as WearableNativeMemoryPage, bb as WearableSourceStatus, ba as WearableSyncSummary, cV as WearableTranscriptSegment, cW as actionTermsFor, cX as buildProcedureMarkdownBody, cY as createFailureMemoryCandidateSource, cZ as createTrajectoryCandidateSource, c_ as isFailureClassMemory, c$ as isImportRole, d0 as isRecallDisclosure, d1 as normalizeActionIntent, d2 as parseActionGateConfig, d3 as parseDriftDetectionConfig, d4 as parseDriftProvenance, d5 as parseIsoTimestamp, d6 as parseProcedureStepsFromBody, d7 as parseSkillBundle, d8 as parseSkillProjectionConfig, d9 as projectProceduresToSkills, da as renderSkillBundle, db as sanitizePayloadString, dc as sanitizeSkillSlug, dd as serializeDriftProvenance, de as validateImportTurn } from './types-DQ2H8gAC.js';
36
36
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
37
37
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
38
38
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
39
39
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
40
40
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
41
41
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
42
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-BXYrJ3pO.js';
43
- 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-BXYrJ3pO.js';
44
- import { L as LocalLlmClient } from './local-llm-DH4tWtck.js';
42
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-70VHaltr.js';
43
+ 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-70VHaltr.js';
44
+ import { L as LocalLlmClient } from './local-llm-B0vd_rp9.js';
45
45
  import { FallbackLlmClient } from './fallback-llm.js';
46
46
  export { FallbackLlmOptions, FallbackLlmResponse } from './fallback-llm.js';
47
47
  import { a as SemanticDedupLookup } from './semantic-BalR6EXU.js';
@@ -53,23 +53,23 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
53
53
  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';
54
54
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
55
55
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
56
- export { Q as QmdClient } from './qmd-BT0ErlRS.js';
56
+ export { Q as QmdClient } from './qmd-DjwuG9Xa.js';
57
57
  export { LanceDbBackend } from './search/lancedb-backend.js';
58
58
  export { OramaBackend } from './search/orama-backend.js';
59
59
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
60
60
  export { buildEntityRecallSection } from './entity-retrieval.js';
61
61
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
62
- 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-Bns9zpl3.js';
62
+ 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-Byi9prz9.js';
63
63
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
64
64
  export { storagePathHash } from './storage-paths.js';
65
65
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
66
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-B8YyIrPR.js';
66
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-CdJiBilM.js';
67
67
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
68
68
  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';
69
- 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-VB85y0ZH.js';
69
+ 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-Bvol6Jr4.js';
70
70
  import { z } from 'zod';
71
71
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
72
- 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';
72
+ export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, MEMORY_CONTEXT_UNAVAILABLE_NOTE, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RecallContextDegradation, RecallDegradationReason, RecallDegradationState, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeMissingMemoryContext, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
73
73
  export { ParsedXrayCliOptions, parseXrayBudgetFlag, parseXrayCliOptions } from './recall-xray-cli.js';
74
74
  export { RECALL_XRAY_FORMATS, RecallXrayFormat, parseXrayFormat, renderXray, renderXrayJson, renderXrayMarkdown, renderXrayText } from './recall-xray-renderer.js';
75
75
  export { RecallFilterTrace, RecallXrayResult, RecallXrayScoreDecomposition, RecallXrayServedBy, RecallXraySnapshot } from './recall-xray.js';
@@ -91,8 +91,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
91
91
  export { initLogger, log } from './logger.js';
92
92
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
93
93
  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';
94
- import { D as DiscoveredExtension } from './semantic-consolidation-BrAWKVcm.js';
95
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-BrAWKVcm.js';
94
+ import { D as DiscoveredExtension } from './semantic-consolidation-DMzhKRYl.js';
95
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DMzhKRYl.js';
96
96
  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';
97
97
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
98
98
  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';
@@ -107,11 +107,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
107
107
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
108
108
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
109
109
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
110
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DK79FrgH.js';
111
- 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-CqHOTg87.js';
112
- 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-CqHOTg87.js';
113
- 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 TimelineCardKind, h as TimelineAnalysisLocalLlm, i as TimelineAnalysisRemoteLlm, j as TimelineAnalysisStatus, k as AnalysisFailure, l as AnalysisRunMetadata } from './maintenance-n6yeTQhR.js';
114
- export { m as ANALYSIS_FAILURE_KINDS, n as ANALYSIS_METADATA_MAX_FIELD_LENGTH, o as ActivitySourceRunItem, p as ActivitySyncRunOptions, q as AnalysisFailureKind, P as PersistedTimelineDay, r as PersistedTimelineDayStatus, R as RegenerateTimelineDayInput, s as RegenerateTimelineDayResult, t as TIMELINE_ANALYSIS_BATCH_OVERLAP, u as TIMELINE_ANALYSIS_BATCH_SIZE, v as TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, w as TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID, x as TIMELINE_ANALYSIS_PROMPT_VERSION, y as TIMELINE_DAY_DIR, z as TIMELINE_DAY_FORMAT_VERSION, B as TimelineAnalysisClients, C as TimelineAnalysisComplete, D as TimelineAnalysisCompleteInput, E as TimelineAnalysisConfigError, F as TimelineAnalysisInput, G as TimelineAnalysisProviderError, H as TimelineAnalysisResult, 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-n6yeTQhR.js';
110
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-9SYxxign.js';
111
+ 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-E99KuPvi.js';
112
+ 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-E99KuPvi.js';
113
+ 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 TimelineCardKind, h as TimelineAnalysisLocalLlm, i as TimelineAnalysisRemoteLlm, j as TimelineAnalysisStatus, k as AnalysisFailure, l as AnalysisRunMetadata } from './maintenance-DJgQkoLh.js';
114
+ export { m as ANALYSIS_FAILURE_KINDS, n as ANALYSIS_METADATA_MAX_FIELD_LENGTH, o as ActivitySourceRunItem, p as ActivitySyncRunOptions, q as AnalysisFailureKind, P as PersistedTimelineDay, r as PersistedTimelineDayStatus, R as RegenerateTimelineDayInput, s as RegenerateTimelineDayResult, t as TIMELINE_ANALYSIS_BATCH_OVERLAP, u as TIMELINE_ANALYSIS_BATCH_SIZE, v as TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, w as TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID, x as TIMELINE_ANALYSIS_PROMPT_VERSION, y as TIMELINE_DAY_DIR, z as TIMELINE_DAY_FORMAT_VERSION, B as TimelineAnalysisClients, C as TimelineAnalysisComplete, D as TimelineAnalysisCompleteInput, E as TimelineAnalysisConfigError, F as TimelineAnalysisInput, G as TimelineAnalysisProviderError, H as TimelineAnalysisResult, 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-DJgQkoLh.js';
115
115
  export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, activityDateInTimezone, activityDayWindow, activityDigestPath, assertValidTimezone, composeActivityDigestBody, composeActivityDigestMeta, hashActivityBody, isValidActivityDate, parseActivityDigest, serializeActivityDigest, timezoneOffsetIso } from './activity/digest.js';
116
116
  import { SearchExecutionOptions } from './search/port.js';
117
117
  import { BetterSqlite3Database } from './runtime/better-sqlite.js';
@@ -130,7 +130,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
130
130
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
131
131
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
132
132
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
133
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-BgPQx9iE.js';
133
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-DPegZtRf.js';
134
134
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
135
135
  export { BuildEvalTrajectoryReportOptions, EvalTrajectoryReader, EvalTrajectoryReaderResult, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader } from './eval-trajectory.js';
136
136
  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';
@@ -192,12 +192,12 @@ import './conversation-index/chunker.js';
192
192
  import './conversation-index/backend.js';
193
193
  import './faiss-adapter-BHecI1fF.js';
194
194
  import './runtime/child-process.js';
195
- import './dependency-propagation-delivery-B-LvcDaq.js';
195
+ import './dependency-propagation-delivery-BgHy44WX.js';
196
196
  import './namespaces/storage.js';
197
197
  import './threading.js';
198
198
  import './graph-DRkl22KE.js';
199
199
  import './graph-write-lock.js';
200
- import './generic-recall-paths-Bfc7zigS.js';
200
+ import './generic-recall-paths-BoueWXYr.js';
201
201
  import './relevance.js';
202
202
  import './negative.js';
203
203
  import './session-observer-state.js';
@@ -214,14 +214,14 @@ import './profiling.js';
214
214
  import './schemas.js';
215
215
  import './extraction-error-classification.js';
216
216
  import 'node:stream';
217
- import './access-namespace-preflight-CetF9ziA.js';
217
+ import './access-namespace-preflight-DqRw_g-8.js';
218
218
  import './recall-explain-renderer.js';
219
219
  import './access-citation.js';
220
220
  import './access-health-types.js';
221
221
  import './corpus-watermark.js';
222
222
  import 'node:async_hooks';
223
223
  import './replica-divergence.js';
224
- import './tagging-CiAVA-ID.js';
224
+ import './tagging-BhOEcSXP.js';
225
225
  import './explicit-capture.js';
226
226
  import './access-wearables-meetings-surface.js';
227
227
  import './deep-recall.js';
@@ -1336,15 +1336,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1336
1336
  locator: z.ZodOptional<z.ZodString>;
1337
1337
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1338
1338
  }, "strict", z.ZodTypeAny, {
1339
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1340
- label: string;
1341
1339
  id: string;
1340
+ label: string;
1341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1342
1342
  capture: "at_action" | "historical_lookup" | "fixture";
1343
1343
  locator?: string | undefined;
1344
1344
  }, {
1345
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1346
- label: string;
1347
1345
  id: string;
1346
+ label: string;
1347
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1348
1348
  capture: "at_action" | "historical_lookup" | "fixture";
1349
1349
  locator?: string | undefined;
1350
1350
  }>;
@@ -1361,15 +1361,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1361
1361
  locator: z.ZodOptional<z.ZodString>;
1362
1362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1363
1363
  }, "strict", z.ZodTypeAny, {
1364
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1365
- label: string;
1366
1364
  id: string;
1365
+ label: string;
1366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
1367
  capture: "at_action" | "historical_lookup" | "fixture";
1368
1368
  locator?: string | undefined;
1369
1369
  }, {
1370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1371
- label: string;
1372
1370
  id: string;
1371
+ label: string;
1372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1373
  capture: "at_action" | "historical_lookup" | "fixture";
1374
1374
  locator?: string | undefined;
1375
1375
  }>, "many">>;
@@ -1377,9 +1377,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1377
1377
  kind: "mission_started";
1378
1378
  title: string;
1379
1379
  evidence: {
1380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
- label: string;
1382
1380
  id: string;
1381
+ label: string;
1382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
1383
  capture: "at_action" | "historical_lookup" | "fixture";
1384
1384
  locator?: string | undefined;
1385
1385
  }[];
@@ -1391,9 +1391,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1391
1391
  objective: string;
1392
1392
  runMode: "replay" | "fixture" | "live";
1393
1393
  evidence?: {
1394
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1395
- label: string;
1396
1394
  id: string;
1395
+ label: string;
1396
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1397
1397
  capture: "at_action" | "historical_lookup" | "fixture";
1398
1398
  locator?: string | undefined;
1399
1399
  }[] | undefined;
@@ -1409,15 +1409,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1409
1409
  locator: z.ZodOptional<z.ZodString>;
1410
1410
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1411
1411
  }, "strict", z.ZodTypeAny, {
1412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
- label: string;
1414
1412
  id: string;
1413
+ label: string;
1414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1415
1415
  capture: "at_action" | "historical_lookup" | "fixture";
1416
1416
  locator?: string | undefined;
1417
1417
  }, {
1418
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1419
- label: string;
1420
1418
  id: string;
1419
+ label: string;
1420
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1421
1421
  capture: "at_action" | "historical_lookup" | "fixture";
1422
1422
  locator?: string | undefined;
1423
1423
  }>, "many">>;
@@ -1425,32 +1425,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1425
1425
  sessionId: z.ZodString;
1426
1426
  kind: z.ZodLiteral<"agent_status">;
1427
1427
  }, "strict", z.ZodTypeAny, {
1428
- kind: "agent_status";
1429
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1430
1428
  label: string;
1429
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1430
+ kind: "agent_status";
1431
1431
  role: string;
1432
1432
  agentId: string;
1433
1433
  sessionId: string;
1434
1434
  evidence: {
1435
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1436
- label: string;
1437
1435
  id: string;
1436
+ label: string;
1437
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
1438
  capture: "at_action" | "historical_lookup" | "fixture";
1439
1439
  locator?: string | undefined;
1440
1440
  }[];
1441
1441
  detail?: string | undefined;
1442
1442
  }, {
1443
- kind: "agent_status";
1444
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1445
1443
  label: string;
1444
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1445
+ kind: "agent_status";
1446
1446
  role: string;
1447
1447
  agentId: string;
1448
1448
  sessionId: string;
1449
1449
  detail?: string | undefined;
1450
1450
  evidence?: {
1451
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1452
- label: string;
1453
1451
  id: string;
1452
+ label: string;
1453
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1454
1454
  capture: "at_action" | "historical_lookup" | "fixture";
1455
1455
  locator?: string | undefined;
1456
1456
  }[] | undefined;
@@ -1464,15 +1464,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1464
1464
  locator: z.ZodOptional<z.ZodString>;
1465
1465
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1466
1466
  }, "strict", z.ZodTypeAny, {
1467
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1468
- label: string;
1469
1467
  id: string;
1468
+ label: string;
1469
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1470
1470
  capture: "at_action" | "historical_lookup" | "fixture";
1471
1471
  locator?: string | undefined;
1472
1472
  }, {
1473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
- label: string;
1475
1473
  id: string;
1474
+ label: string;
1475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1476
1476
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1477
  locator?: string | undefined;
1478
1478
  }>, "many">>;
@@ -1480,28 +1480,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1480
1480
  sessionId: z.ZodString;
1481
1481
  kind: z.ZodLiteral<"agent_output">;
1482
1482
  }, "strict", z.ZodTypeAny, {
1483
- kind: "agent_output";
1484
1483
  summary: string;
1484
+ kind: "agent_output";
1485
1485
  agentId: string;
1486
1486
  sessionId: string;
1487
1487
  evidence: {
1488
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1489
- label: string;
1490
1488
  id: string;
1489
+ label: string;
1490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1491
1491
  capture: "at_action" | "historical_lookup" | "fixture";
1492
1492
  locator?: string | undefined;
1493
1493
  }[];
1494
1494
  outputId: string;
1495
1495
  }, {
1496
- kind: "agent_output";
1497
1496
  summary: string;
1497
+ kind: "agent_output";
1498
1498
  agentId: string;
1499
1499
  sessionId: string;
1500
1500
  outputId: string;
1501
1501
  evidence?: {
1502
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1503
- label: string;
1504
1502
  id: string;
1503
+ label: string;
1504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1505
1505
  capture: "at_action" | "historical_lookup" | "fixture";
1506
1506
  locator?: string | undefined;
1507
1507
  }[] | undefined;
@@ -1517,15 +1517,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1517
1517
  locator: z.ZodOptional<z.ZodString>;
1518
1518
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1519
1519
  }, "strict", z.ZodTypeAny, {
1520
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1521
- label: string;
1522
1520
  id: string;
1521
+ label: string;
1522
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1523
1523
  capture: "at_action" | "historical_lookup" | "fixture";
1524
1524
  locator?: string | undefined;
1525
1525
  }, {
1526
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1527
- label: string;
1528
1526
  id: string;
1527
+ label: string;
1528
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
1529
  capture: "at_action" | "historical_lookup" | "fixture";
1530
1530
  locator?: string | undefined;
1531
1531
  }>, "many">>;
@@ -1538,9 +1538,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1538
1538
  statement: string;
1539
1539
  sessionId: string;
1540
1540
  evidence: {
1541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
- label: string;
1543
1541
  id: string;
1542
+ label: string;
1543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
1544
  capture: "at_action" | "historical_lookup" | "fixture";
1545
1545
  locator?: string | undefined;
1546
1546
  }[];
@@ -1556,9 +1556,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1556
1556
  decisionId: string;
1557
1557
  confidence?: number | undefined;
1558
1558
  evidence?: {
1559
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1560
- label: string;
1561
1559
  id: string;
1560
+ label: string;
1561
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1562
1562
  capture: "at_action" | "historical_lookup" | "fixture";
1563
1563
  locator?: string | undefined;
1564
1564
  }[] | undefined;
@@ -1575,25 +1575,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1575
1575
  locator: z.ZodOptional<z.ZodString>;
1576
1576
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1577
1577
  }, "strict", z.ZodTypeAny, {
1578
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1579
- label: string;
1580
1578
  id: string;
1579
+ label: string;
1580
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1581
1581
  capture: "at_action" | "historical_lookup" | "fixture";
1582
1582
  locator?: string | undefined;
1583
1583
  }, {
1584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1585
- label: string;
1586
1584
  id: string;
1585
+ label: string;
1586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1587
1587
  capture: "at_action" | "historical_lookup" | "fixture";
1588
1588
  locator?: string | undefined;
1589
1589
  }>, "many">>;
1590
1590
  }, "strict", z.ZodTypeAny, {
1591
- kind: "conflict_detected";
1592
1591
  summary: string;
1592
+ kind: "conflict_detected";
1593
1593
  evidence: {
1594
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
- label: string;
1596
1594
  id: string;
1595
+ label: string;
1596
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
1597
  capture: "at_action" | "historical_lookup" | "fixture";
1598
1598
  locator?: string | undefined;
1599
1599
  }[];
@@ -1601,15 +1601,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1601
1601
  decisionIds: string[];
1602
1602
  agentIds: string[];
1603
1603
  }, {
1604
- kind: "conflict_detected";
1605
1604
  summary: string;
1605
+ kind: "conflict_detected";
1606
1606
  conflictId: string;
1607
1607
  decisionIds: string[];
1608
1608
  agentIds: string[];
1609
1609
  evidence?: {
1610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
- label: string;
1612
1610
  id: string;
1611
+ label: string;
1612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1613
1613
  capture: "at_action" | "historical_lookup" | "fixture";
1614
1614
  locator?: string | undefined;
1615
1615
  }[] | undefined;
@@ -1629,27 +1629,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1629
1629
  locator: z.ZodOptional<z.ZodString>;
1630
1630
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1631
1631
  }, "strict", z.ZodTypeAny, {
1632
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
- label: string;
1634
1632
  id: string;
1633
+ label: string;
1634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1635
1635
  capture: "at_action" | "historical_lookup" | "fixture";
1636
1636
  locator?: string | undefined;
1637
1637
  }, {
1638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1639
- label: string;
1640
1638
  id: string;
1639
+ label: string;
1640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1641
1641
  capture: "at_action" | "historical_lookup" | "fixture";
1642
1642
  locator?: string | undefined;
1643
1643
  }>, "many">>;
1644
1644
  }, "strict", z.ZodTypeAny, {
1645
- kind: "test_result";
1646
1645
  summary: string;
1647
1646
  status: "error" | "failed" | "passed";
1647
+ kind: "test_result";
1648
1648
  command: string;
1649
1649
  evidence: {
1650
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1651
- label: string;
1652
1650
  id: string;
1651
+ label: string;
1652
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1653
1653
  capture: "at_action" | "historical_lookup" | "fixture";
1654
1654
  locator?: string | undefined;
1655
1655
  }[];
@@ -1658,17 +1658,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1658
1658
  durationMs?: number | undefined;
1659
1659
  correctionId?: string | undefined;
1660
1660
  }, {
1661
- kind: "test_result";
1662
1661
  summary: string;
1663
1662
  status: "error" | "failed" | "passed";
1663
+ kind: "test_result";
1664
1664
  command: string;
1665
1665
  decisionId: string;
1666
1666
  testId: string;
1667
1667
  durationMs?: number | undefined;
1668
1668
  evidence?: {
1669
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1670
- label: string;
1671
1669
  id: string;
1670
+ label: string;
1671
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
1672
  capture: "at_action" | "historical_lookup" | "fixture";
1673
1673
  locator?: string | undefined;
1674
1674
  }[] | undefined;
@@ -1689,15 +1689,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1689
1689
  locator: z.ZodOptional<z.ZodString>;
1690
1690
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1691
1691
  }, "strict", z.ZodTypeAny, {
1692
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1693
- label: string;
1694
1692
  id: string;
1693
+ label: string;
1694
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1695
1695
  capture: "at_action" | "historical_lookup" | "fixture";
1696
1696
  locator?: string | undefined;
1697
1697
  }, {
1698
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1699
- label: string;
1700
1698
  id: string;
1699
+ label: string;
1700
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1701
1701
  capture: "at_action" | "historical_lookup" | "fixture";
1702
1702
  locator?: string | undefined;
1703
1703
  }>, "many">>;
@@ -1706,9 +1706,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1706
1706
  statement: string;
1707
1707
  rationale: string;
1708
1708
  evidence: {
1709
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1710
- label: string;
1711
1709
  id: string;
1710
+ label: string;
1711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1712
  capture: "at_action" | "historical_lookup" | "fixture";
1713
1713
  locator?: string | undefined;
1714
1714
  }[];
@@ -1727,9 +1727,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1727
1727
  supersedesDecisionIds: string[];
1728
1728
  proposedBy: string;
1729
1729
  evidence?: {
1730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
- label: string;
1732
1730
  id: string;
1731
+ label: string;
1732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1733
1733
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1734
  locator?: string | undefined;
1735
1735
  }[] | undefined;
@@ -1741,13 +1741,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1741
1741
  id: z.ZodString;
1742
1742
  label: z.ZodString;
1743
1743
  }, "strict", z.ZodTypeAny, {
1744
- kind: "agent" | "human";
1745
- label: string;
1746
1744
  id: string;
1747
- }, {
1748
- kind: "agent" | "human";
1749
1745
  label: string;
1746
+ kind: "agent" | "human";
1747
+ }, {
1750
1748
  id: string;
1749
+ label: string;
1750
+ kind: "agent" | "human";
1751
1751
  }>;
1752
1752
  note: z.ZodOptional<z.ZodString>;
1753
1753
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1757,47 +1757,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1757
1757
  locator: z.ZodOptional<z.ZodString>;
1758
1758
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1759
1759
  }, "strict", z.ZodTypeAny, {
1760
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
- label: string;
1762
1760
  id: string;
1761
+ label: string;
1762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1763
1763
  capture: "at_action" | "historical_lookup" | "fixture";
1764
1764
  locator?: string | undefined;
1765
1765
  }, {
1766
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1767
- label: string;
1768
1766
  id: string;
1767
+ label: string;
1768
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1769
1769
  capture: "at_action" | "historical_lookup" | "fixture";
1770
1770
  locator?: string | undefined;
1771
1771
  }>, "many">>;
1772
1772
  }, "strict", z.ZodTypeAny, {
1773
1773
  kind: "correction_approved";
1774
1774
  evidence: {
1775
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
- label: string;
1777
1775
  id: string;
1776
+ label: string;
1777
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1778
1778
  capture: "at_action" | "historical_lookup" | "fixture";
1779
1779
  locator?: string | undefined;
1780
1780
  }[];
1781
1781
  correctionId: string;
1782
1782
  approvedBy: {
1783
- kind: "agent" | "human";
1784
- label: string;
1785
1783
  id: string;
1784
+ label: string;
1785
+ kind: "agent" | "human";
1786
1786
  };
1787
1787
  note?: string | undefined;
1788
1788
  }, {
1789
1789
  kind: "correction_approved";
1790
1790
  correctionId: string;
1791
1791
  approvedBy: {
1792
- kind: "agent" | "human";
1793
- label: string;
1794
1792
  id: string;
1793
+ label: string;
1794
+ kind: "agent" | "human";
1795
1795
  };
1796
1796
  note?: string | undefined;
1797
1797
  evidence?: {
1798
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
- label: string;
1800
1798
  id: string;
1799
+ label: string;
1800
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1802
  locator?: string | undefined;
1803
1803
  }[] | undefined;
@@ -1813,24 +1813,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1813
1813
  locator: z.ZodOptional<z.ZodString>;
1814
1814
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1815
1815
  }, "strict", z.ZodTypeAny, {
1816
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
- label: string;
1818
1816
  id: string;
1817
+ label: string;
1818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1820
1820
  locator?: string | undefined;
1821
1821
  }, {
1822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
- label: string;
1824
1822
  id: string;
1823
+ label: string;
1824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1825
1825
  capture: "at_action" | "historical_lookup" | "fixture";
1826
1826
  locator?: string | undefined;
1827
1827
  }>, "many">>;
1828
1828
  }, "strict", z.ZodTypeAny, {
1829
1829
  kind: "decision_superseded";
1830
1830
  evidence: {
1831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
- label: string;
1833
1831
  id: string;
1832
+ label: string;
1833
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1834
1834
  capture: "at_action" | "historical_lookup" | "fixture";
1835
1835
  locator?: string | undefined;
1836
1836
  }[];
@@ -1843,9 +1843,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1843
1843
  correctionId: string;
1844
1844
  replacementDecisionId: string;
1845
1845
  evidence?: {
1846
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1847
- label: string;
1848
1846
  id: string;
1847
+ label: string;
1848
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1849
1849
  capture: "at_action" | "historical_lookup" | "fixture";
1850
1850
  locator?: string | undefined;
1851
1851
  }[] | undefined;
@@ -1861,15 +1861,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1861
1861
  locator: z.ZodOptional<z.ZodString>;
1862
1862
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1863
1863
  }, "strict", z.ZodTypeAny, {
1864
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1865
- label: string;
1866
1864
  id: string;
1865
+ label: string;
1866
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1867
1867
  capture: "at_action" | "historical_lookup" | "fixture";
1868
1868
  locator?: string | undefined;
1869
1869
  }, {
1870
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
- label: string;
1872
1870
  id: string;
1871
+ label: string;
1872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1873
  capture: "at_action" | "historical_lookup" | "fixture";
1874
1874
  locator?: string | undefined;
1875
1875
  }>, "many">>;
@@ -1882,9 +1882,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1882
1882
  agentId: string;
1883
1883
  sessionId: string;
1884
1884
  evidence: {
1885
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1886
- label: string;
1887
1885
  id: string;
1886
+ label: string;
1887
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1888
1888
  capture: "at_action" | "historical_lookup" | "fixture";
1889
1889
  locator?: string | undefined;
1890
1890
  }[];
@@ -1900,9 +1900,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1900
1900
  recallReceiptId: string;
1901
1901
  capturedAtAction: boolean;
1902
1902
  evidence?: {
1903
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1904
- label: string;
1905
1903
  id: string;
1904
+ label: string;
1905
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1906
1906
  capture: "at_action" | "historical_lookup" | "fixture";
1907
1907
  locator?: string | undefined;
1908
1908
  }[] | undefined;
@@ -1918,15 +1918,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1918
1918
  locator: z.ZodOptional<z.ZodString>;
1919
1919
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1920
1920
  }, "strict", z.ZodTypeAny, {
1921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
- label: string;
1923
1921
  id: string;
1922
+ label: string;
1923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1924
1924
  capture: "at_action" | "historical_lookup" | "fixture";
1925
1925
  locator?: string | undefined;
1926
1926
  }, {
1927
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1928
- label: string;
1929
1927
  id: string;
1928
+ label: string;
1929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1930
1930
  capture: "at_action" | "historical_lookup" | "fixture";
1931
1931
  locator?: string | undefined;
1932
1932
  }>, "many">>;
@@ -1938,9 +1938,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1938
1938
  agentId: string;
1939
1939
  sessionId: string;
1940
1940
  evidence: {
1941
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1942
- label: string;
1943
1941
  id: string;
1942
+ label: string;
1943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1944
1944
  capture: "at_action" | "historical_lookup" | "fixture";
1945
1945
  locator?: string | undefined;
1946
1946
  }[];
@@ -1957,9 +1957,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1957
1957
  recallReceiptId: string;
1958
1958
  staleDecisionAbsent: boolean;
1959
1959
  evidence?: {
1960
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
- label: string;
1962
1960
  id: string;
1961
+ label: string;
1962
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1963
1963
  capture: "at_action" | "historical_lookup" | "fixture";
1964
1964
  locator?: string | undefined;
1965
1965
  }[] | undefined;
@@ -1974,37 +1974,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1974
1974
  locator: z.ZodOptional<z.ZodString>;
1975
1975
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1976
1976
  }, "strict", z.ZodTypeAny, {
1977
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1978
- label: string;
1979
1977
  id: string;
1978
+ label: string;
1979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1980
1980
  capture: "at_action" | "historical_lookup" | "fixture";
1981
1981
  locator?: string | undefined;
1982
1982
  }, {
1983
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1984
- label: string;
1985
1983
  id: string;
1984
+ label: string;
1985
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
1986
  capture: "at_action" | "historical_lookup" | "fixture";
1987
1987
  locator?: string | undefined;
1988
1988
  }>, "many">>;
1989
1989
  }, "strict", z.ZodTypeAny, {
1990
- kind: "mission_completed";
1991
1990
  summary: string;
1992
- outcome: "failed" | "recovered" | "inconclusive";
1991
+ kind: "mission_completed";
1992
+ outcome: "failed" | "inconclusive" | "recovered";
1993
1993
  evidence: {
1994
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1995
- label: string;
1996
1994
  id: string;
1995
+ label: string;
1996
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1998
1998
  locator?: string | undefined;
1999
1999
  }[];
2000
2000
  }, {
2001
- kind: "mission_completed";
2002
2001
  summary: string;
2003
- outcome: "failed" | "recovered" | "inconclusive";
2002
+ kind: "mission_completed";
2003
+ outcome: "failed" | "inconclusive" | "recovered";
2004
2004
  evidence?: {
2005
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2006
- label: string;
2007
2005
  id: string;
2006
+ label: string;
2007
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2008
2008
  capture: "at_action" | "historical_lookup" | "fixture";
2009
2009
  locator?: string | undefined;
2010
2010
  }[] | undefined;
@@ -2012,38 +2012,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2012
2012
  kind: "mission_started";
2013
2013
  title: string;
2014
2014
  evidence: {
2015
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
- label: string;
2017
2015
  id: string;
2016
+ label: string;
2017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2018
2018
  capture: "at_action" | "historical_lookup" | "fixture";
2019
2019
  locator?: string | undefined;
2020
2020
  }[];
2021
2021
  objective: string;
2022
2022
  runMode: "replay" | "fixture" | "live";
2023
2023
  } | {
2024
- kind: "agent_status";
2025
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2026
2024
  label: string;
2025
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2026
+ kind: "agent_status";
2027
2027
  role: string;
2028
2028
  agentId: string;
2029
2029
  sessionId: string;
2030
2030
  evidence: {
2031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
- label: string;
2033
2031
  id: string;
2032
+ label: string;
2033
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2034
2034
  capture: "at_action" | "historical_lookup" | "fixture";
2035
2035
  locator?: string | undefined;
2036
2036
  }[];
2037
2037
  detail?: string | undefined;
2038
2038
  } | {
2039
- kind: "agent_output";
2040
2039
  summary: string;
2040
+ kind: "agent_output";
2041
2041
  agentId: string;
2042
2042
  sessionId: string;
2043
2043
  evidence: {
2044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
- label: string;
2046
2044
  id: string;
2045
+ label: string;
2046
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2047
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2048
  locator?: string | undefined;
2049
2049
  }[];
@@ -2054,9 +2054,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2054
2054
  statement: string;
2055
2055
  sessionId: string;
2056
2056
  evidence: {
2057
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2058
- label: string;
2059
2057
  id: string;
2058
+ label: string;
2059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2060
2060
  capture: "at_action" | "historical_lookup" | "fixture";
2061
2061
  locator?: string | undefined;
2062
2062
  }[];
@@ -2064,12 +2064,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2064
2064
  decisionId: string;
2065
2065
  confidence?: number | undefined;
2066
2066
  } | {
2067
- kind: "conflict_detected";
2068
2067
  summary: string;
2068
+ kind: "conflict_detected";
2069
2069
  evidence: {
2070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2071
- label: string;
2072
2070
  id: string;
2071
+ label: string;
2072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2073
2073
  capture: "at_action" | "historical_lookup" | "fixture";
2074
2074
  locator?: string | undefined;
2075
2075
  }[];
@@ -2077,14 +2077,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2077
2077
  decisionIds: string[];
2078
2078
  agentIds: string[];
2079
2079
  } | {
2080
- kind: "test_result";
2081
2080
  summary: string;
2082
2081
  status: "error" | "failed" | "passed";
2082
+ kind: "test_result";
2083
2083
  command: string;
2084
2084
  evidence: {
2085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
- label: string;
2087
2085
  id: string;
2086
+ label: string;
2087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2089
  locator?: string | undefined;
2090
2090
  }[];
@@ -2097,9 +2097,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2097
2097
  statement: string;
2098
2098
  rationale: string;
2099
2099
  evidence: {
2100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
- label: string;
2102
2100
  id: string;
2101
+ label: string;
2102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2104
  locator?: string | undefined;
2105
2105
  }[];
@@ -2111,25 +2111,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2111
2111
  } | {
2112
2112
  kind: "correction_approved";
2113
2113
  evidence: {
2114
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2115
- label: string;
2116
2114
  id: string;
2115
+ label: string;
2116
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
2117
  capture: "at_action" | "historical_lookup" | "fixture";
2118
2118
  locator?: string | undefined;
2119
2119
  }[];
2120
2120
  correctionId: string;
2121
2121
  approvedBy: {
2122
- kind: "agent" | "human";
2123
- label: string;
2124
2122
  id: string;
2123
+ label: string;
2124
+ kind: "agent" | "human";
2125
2125
  };
2126
2126
  note?: string | undefined;
2127
2127
  } | {
2128
2128
  kind: "decision_superseded";
2129
2129
  evidence: {
2130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
- label: string;
2132
2130
  id: string;
2131
+ label: string;
2132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
2133
  capture: "at_action" | "historical_lookup" | "fixture";
2134
2134
  locator?: string | undefined;
2135
2135
  }[];
@@ -2142,9 +2142,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2142
2142
  agentId: string;
2143
2143
  sessionId: string;
2144
2144
  evidence: {
2145
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2146
- label: string;
2147
2145
  id: string;
2146
+ label: string;
2147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2148
2148
  capture: "at_action" | "historical_lookup" | "fixture";
2149
2149
  locator?: string | undefined;
2150
2150
  }[];
@@ -2156,9 +2156,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2156
2156
  agentId: string;
2157
2157
  sessionId: string;
2158
2158
  evidence: {
2159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
- label: string;
2161
2159
  id: string;
2160
+ label: string;
2161
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2162
2162
  capture: "at_action" | "historical_lookup" | "fixture";
2163
2163
  locator?: string | undefined;
2164
2164
  }[];
@@ -2167,13 +2167,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2167
2167
  recallReceiptId: string;
2168
2168
  staleDecisionAbsent: boolean;
2169
2169
  } | {
2170
- kind: "mission_completed";
2171
2170
  summary: string;
2172
- outcome: "failed" | "recovered" | "inconclusive";
2171
+ kind: "mission_completed";
2172
+ outcome: "failed" | "inconclusive" | "recovered";
2173
2173
  evidence: {
2174
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
- label: string;
2176
2174
  id: string;
2175
+ label: string;
2176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2177
2177
  capture: "at_action" | "historical_lookup" | "fixture";
2178
2178
  locator?: string | undefined;
2179
2179
  }[];
@@ -2183,37 +2183,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2183
2183
  objective: string;
2184
2184
  runMode: "replay" | "fixture" | "live";
2185
2185
  evidence?: {
2186
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2187
- label: string;
2188
2186
  id: string;
2187
+ label: string;
2188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2189
2189
  capture: "at_action" | "historical_lookup" | "fixture";
2190
2190
  locator?: string | undefined;
2191
2191
  }[] | undefined;
2192
2192
  } | {
2193
- kind: "agent_status";
2194
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2195
2193
  label: string;
2194
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2195
+ kind: "agent_status";
2196
2196
  role: string;
2197
2197
  agentId: string;
2198
2198
  sessionId: string;
2199
2199
  detail?: string | undefined;
2200
2200
  evidence?: {
2201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
- label: string;
2203
2201
  id: string;
2202
+ label: string;
2203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
2204
  capture: "at_action" | "historical_lookup" | "fixture";
2205
2205
  locator?: string | undefined;
2206
2206
  }[] | undefined;
2207
2207
  } | {
2208
- kind: "agent_output";
2209
2208
  summary: string;
2209
+ kind: "agent_output";
2210
2210
  agentId: string;
2211
2211
  sessionId: string;
2212
2212
  outputId: string;
2213
2213
  evidence?: {
2214
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2215
- label: string;
2216
2214
  id: string;
2215
+ label: string;
2216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
2217
  capture: "at_action" | "historical_lookup" | "fixture";
2218
2218
  locator?: string | undefined;
2219
2219
  }[] | undefined;
@@ -2226,37 +2226,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2226
2226
  decisionId: string;
2227
2227
  confidence?: number | undefined;
2228
2228
  evidence?: {
2229
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
- label: string;
2231
2229
  id: string;
2230
+ label: string;
2231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
2232
  capture: "at_action" | "historical_lookup" | "fixture";
2233
2233
  locator?: string | undefined;
2234
2234
  }[] | undefined;
2235
2235
  } | {
2236
- kind: "conflict_detected";
2237
2236
  summary: string;
2237
+ kind: "conflict_detected";
2238
2238
  conflictId: string;
2239
2239
  decisionIds: string[];
2240
2240
  agentIds: string[];
2241
2241
  evidence?: {
2242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
- label: string;
2244
2242
  id: string;
2243
+ label: string;
2244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2245
2245
  capture: "at_action" | "historical_lookup" | "fixture";
2246
2246
  locator?: string | undefined;
2247
2247
  }[] | undefined;
2248
2248
  } | {
2249
- kind: "test_result";
2250
2249
  summary: string;
2251
2250
  status: "error" | "failed" | "passed";
2251
+ kind: "test_result";
2252
2252
  command: string;
2253
2253
  decisionId: string;
2254
2254
  testId: string;
2255
2255
  durationMs?: number | undefined;
2256
2256
  evidence?: {
2257
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2258
- label: string;
2259
2257
  id: string;
2258
+ label: string;
2259
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2260
2260
  capture: "at_action" | "historical_lookup" | "fixture";
2261
2261
  locator?: string | undefined;
2262
2262
  }[] | undefined;
@@ -2271,9 +2271,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2271
2271
  supersedesDecisionIds: string[];
2272
2272
  proposedBy: string;
2273
2273
  evidence?: {
2274
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2275
- label: string;
2276
2274
  id: string;
2275
+ label: string;
2276
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2277
2277
  capture: "at_action" | "historical_lookup" | "fixture";
2278
2278
  locator?: string | undefined;
2279
2279
  }[] | undefined;
@@ -2281,15 +2281,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2281
2281
  kind: "correction_approved";
2282
2282
  correctionId: string;
2283
2283
  approvedBy: {
2284
- kind: "agent" | "human";
2285
- label: string;
2286
2284
  id: string;
2285
+ label: string;
2286
+ kind: "agent" | "human";
2287
2287
  };
2288
2288
  note?: string | undefined;
2289
2289
  evidence?: {
2290
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2291
- label: string;
2292
2290
  id: string;
2291
+ label: string;
2292
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2293
2293
  capture: "at_action" | "historical_lookup" | "fixture";
2294
2294
  locator?: string | undefined;
2295
2295
  }[] | undefined;
@@ -2299,9 +2299,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2299
2299
  correctionId: string;
2300
2300
  replacementDecisionId: string;
2301
2301
  evidence?: {
2302
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2303
- label: string;
2304
2302
  id: string;
2303
+ label: string;
2304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2305
2305
  capture: "at_action" | "historical_lookup" | "fixture";
2306
2306
  locator?: string | undefined;
2307
2307
  }[] | undefined;
@@ -2314,9 +2314,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2314
2314
  recallReceiptId: string;
2315
2315
  capturedAtAction: boolean;
2316
2316
  evidence?: {
2317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
- label: string;
2319
2317
  id: string;
2318
+ label: string;
2319
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2320
  capture: "at_action" | "historical_lookup" | "fixture";
2321
2321
  locator?: string | undefined;
2322
2322
  }[] | undefined;
@@ -2329,20 +2329,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2329
2329
  recallReceiptId: string;
2330
2330
  staleDecisionAbsent: boolean;
2331
2331
  evidence?: {
2332
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
- label: string;
2334
2332
  id: string;
2333
+ label: string;
2334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2335
2335
  capture: "at_action" | "historical_lookup" | "fixture";
2336
2336
  locator?: string | undefined;
2337
2337
  }[] | undefined;
2338
2338
  } | {
2339
- kind: "mission_completed";
2340
2339
  summary: string;
2341
- outcome: "failed" | "recovered" | "inconclusive";
2340
+ kind: "mission_completed";
2341
+ outcome: "failed" | "inconclusive" | "recovered";
2342
2342
  evidence?: {
2343
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2344
- label: string;
2345
2343
  id: string;
2344
+ label: string;
2345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2346
2346
  capture: "at_action" | "historical_lookup" | "fixture";
2347
2347
  locator?: string | undefined;
2348
2348
  }[] | undefined;
@@ -2363,15 +2363,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2363
2363
  locator: z.ZodOptional<z.ZodString>;
2364
2364
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2365
2365
  }, "strict", z.ZodTypeAny, {
2366
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2367
- label: string;
2368
2366
  id: string;
2367
+ label: string;
2368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
2369
  capture: "at_action" | "historical_lookup" | "fixture";
2370
2370
  locator?: string | undefined;
2371
2371
  }, {
2372
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2373
- label: string;
2374
2372
  id: string;
2373
+ label: string;
2374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2375
  capture: "at_action" | "historical_lookup" | "fixture";
2376
2376
  locator?: string | undefined;
2377
2377
  }>, "many">>;
@@ -2379,9 +2379,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2379
2379
  kind: "mission_started";
2380
2380
  title: string;
2381
2381
  evidence: {
2382
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
- label: string;
2384
2382
  id: string;
2383
+ label: string;
2384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
2385
  capture: "at_action" | "historical_lookup" | "fixture";
2386
2386
  locator?: string | undefined;
2387
2387
  }[];
@@ -2393,9 +2393,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2393
2393
  objective: string;
2394
2394
  runMode: "replay" | "fixture" | "live";
2395
2395
  evidence?: {
2396
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2397
- label: string;
2398
2396
  id: string;
2397
+ label: string;
2398
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2399
2399
  capture: "at_action" | "historical_lookup" | "fixture";
2400
2400
  locator?: string | undefined;
2401
2401
  }[] | undefined;
@@ -2411,15 +2411,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2411
2411
  locator: z.ZodOptional<z.ZodString>;
2412
2412
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2413
2413
  }, "strict", z.ZodTypeAny, {
2414
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
- label: string;
2416
2414
  id: string;
2415
+ label: string;
2416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2417
2417
  capture: "at_action" | "historical_lookup" | "fixture";
2418
2418
  locator?: string | undefined;
2419
2419
  }, {
2420
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2421
- label: string;
2422
2420
  id: string;
2421
+ label: string;
2422
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2423
2423
  capture: "at_action" | "historical_lookup" | "fixture";
2424
2424
  locator?: string | undefined;
2425
2425
  }>, "many">>;
@@ -2427,32 +2427,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2427
2427
  sessionId: z.ZodString;
2428
2428
  kind: z.ZodLiteral<"agent_status">;
2429
2429
  }, "strict", z.ZodTypeAny, {
2430
- kind: "agent_status";
2431
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2432
2430
  label: string;
2431
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2432
+ kind: "agent_status";
2433
2433
  role: string;
2434
2434
  agentId: string;
2435
2435
  sessionId: string;
2436
2436
  evidence: {
2437
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2438
- label: string;
2439
2437
  id: string;
2438
+ label: string;
2439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
2440
  capture: "at_action" | "historical_lookup" | "fixture";
2441
2441
  locator?: string | undefined;
2442
2442
  }[];
2443
2443
  detail?: string | undefined;
2444
2444
  }, {
2445
- kind: "agent_status";
2446
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2447
2445
  label: string;
2446
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2447
+ kind: "agent_status";
2448
2448
  role: string;
2449
2449
  agentId: string;
2450
2450
  sessionId: string;
2451
2451
  detail?: string | undefined;
2452
2452
  evidence?: {
2453
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2454
- label: string;
2455
2453
  id: string;
2454
+ label: string;
2455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2456
2456
  capture: "at_action" | "historical_lookup" | "fixture";
2457
2457
  locator?: string | undefined;
2458
2458
  }[] | undefined;
@@ -2466,15 +2466,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2466
2466
  locator: z.ZodOptional<z.ZodString>;
2467
2467
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2468
2468
  }, "strict", z.ZodTypeAny, {
2469
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2470
- label: string;
2471
2469
  id: string;
2470
+ label: string;
2471
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2472
2472
  capture: "at_action" | "historical_lookup" | "fixture";
2473
2473
  locator?: string | undefined;
2474
2474
  }, {
2475
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
- label: string;
2477
2475
  id: string;
2476
+ label: string;
2477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2478
2478
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2479
  locator?: string | undefined;
2480
2480
  }>, "many">>;
@@ -2482,28 +2482,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2482
2482
  sessionId: z.ZodString;
2483
2483
  kind: z.ZodLiteral<"agent_output">;
2484
2484
  }, "strict", z.ZodTypeAny, {
2485
- kind: "agent_output";
2486
2485
  summary: string;
2486
+ kind: "agent_output";
2487
2487
  agentId: string;
2488
2488
  sessionId: string;
2489
2489
  evidence: {
2490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2491
- label: string;
2492
2490
  id: string;
2491
+ label: string;
2492
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2493
2493
  capture: "at_action" | "historical_lookup" | "fixture";
2494
2494
  locator?: string | undefined;
2495
2495
  }[];
2496
2496
  outputId: string;
2497
2497
  }, {
2498
- kind: "agent_output";
2499
2498
  summary: string;
2499
+ kind: "agent_output";
2500
2500
  agentId: string;
2501
2501
  sessionId: string;
2502
2502
  outputId: string;
2503
2503
  evidence?: {
2504
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2505
- label: string;
2506
2504
  id: string;
2505
+ label: string;
2506
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2507
2507
  capture: "at_action" | "historical_lookup" | "fixture";
2508
2508
  locator?: string | undefined;
2509
2509
  }[] | undefined;
@@ -2519,15 +2519,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2519
2519
  locator: z.ZodOptional<z.ZodString>;
2520
2520
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2521
2521
  }, "strict", z.ZodTypeAny, {
2522
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2523
- label: string;
2524
2522
  id: string;
2523
+ label: string;
2524
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2525
2525
  capture: "at_action" | "historical_lookup" | "fixture";
2526
2526
  locator?: string | undefined;
2527
2527
  }, {
2528
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2529
- label: string;
2530
2528
  id: string;
2529
+ label: string;
2530
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
2531
  capture: "at_action" | "historical_lookup" | "fixture";
2532
2532
  locator?: string | undefined;
2533
2533
  }>, "many">>;
@@ -2540,9 +2540,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2540
2540
  statement: string;
2541
2541
  sessionId: string;
2542
2542
  evidence: {
2543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
- label: string;
2545
2543
  id: string;
2544
+ label: string;
2545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
2546
  capture: "at_action" | "historical_lookup" | "fixture";
2547
2547
  locator?: string | undefined;
2548
2548
  }[];
@@ -2558,9 +2558,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2558
2558
  decisionId: string;
2559
2559
  confidence?: number | undefined;
2560
2560
  evidence?: {
2561
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2562
- label: string;
2563
2561
  id: string;
2562
+ label: string;
2563
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2564
2564
  capture: "at_action" | "historical_lookup" | "fixture";
2565
2565
  locator?: string | undefined;
2566
2566
  }[] | undefined;
@@ -2577,25 +2577,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2577
2577
  locator: z.ZodOptional<z.ZodString>;
2578
2578
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2579
2579
  }, "strict", z.ZodTypeAny, {
2580
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2581
- label: string;
2582
2580
  id: string;
2581
+ label: string;
2582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2583
2583
  capture: "at_action" | "historical_lookup" | "fixture";
2584
2584
  locator?: string | undefined;
2585
2585
  }, {
2586
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2587
- label: string;
2588
2586
  id: string;
2587
+ label: string;
2588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2589
2589
  capture: "at_action" | "historical_lookup" | "fixture";
2590
2590
  locator?: string | undefined;
2591
2591
  }>, "many">>;
2592
2592
  }, "strict", z.ZodTypeAny, {
2593
- kind: "conflict_detected";
2594
2593
  summary: string;
2594
+ kind: "conflict_detected";
2595
2595
  evidence: {
2596
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
- label: string;
2598
2596
  id: string;
2597
+ label: string;
2598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
2599
  capture: "at_action" | "historical_lookup" | "fixture";
2600
2600
  locator?: string | undefined;
2601
2601
  }[];
@@ -2603,15 +2603,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2603
2603
  decisionIds: string[];
2604
2604
  agentIds: string[];
2605
2605
  }, {
2606
- kind: "conflict_detected";
2607
2606
  summary: string;
2607
+ kind: "conflict_detected";
2608
2608
  conflictId: string;
2609
2609
  decisionIds: string[];
2610
2610
  agentIds: string[];
2611
2611
  evidence?: {
2612
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
- label: string;
2614
2612
  id: string;
2613
+ label: string;
2614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2615
2615
  capture: "at_action" | "historical_lookup" | "fixture";
2616
2616
  locator?: string | undefined;
2617
2617
  }[] | undefined;
@@ -2631,27 +2631,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2631
2631
  locator: z.ZodOptional<z.ZodString>;
2632
2632
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2633
2633
  }, "strict", z.ZodTypeAny, {
2634
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
- label: string;
2636
2634
  id: string;
2635
+ label: string;
2636
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2637
2637
  capture: "at_action" | "historical_lookup" | "fixture";
2638
2638
  locator?: string | undefined;
2639
2639
  }, {
2640
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2641
- label: string;
2642
2640
  id: string;
2641
+ label: string;
2642
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2643
2643
  capture: "at_action" | "historical_lookup" | "fixture";
2644
2644
  locator?: string | undefined;
2645
2645
  }>, "many">>;
2646
2646
  }, "strict", z.ZodTypeAny, {
2647
- kind: "test_result";
2648
2647
  summary: string;
2649
2648
  status: "error" | "failed" | "passed";
2649
+ kind: "test_result";
2650
2650
  command: string;
2651
2651
  evidence: {
2652
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2653
- label: string;
2654
2652
  id: string;
2653
+ label: string;
2654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2655
2655
  capture: "at_action" | "historical_lookup" | "fixture";
2656
2656
  locator?: string | undefined;
2657
2657
  }[];
@@ -2660,17 +2660,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2660
2660
  durationMs?: number | undefined;
2661
2661
  correctionId?: string | undefined;
2662
2662
  }, {
2663
- kind: "test_result";
2664
2663
  summary: string;
2665
2664
  status: "error" | "failed" | "passed";
2665
+ kind: "test_result";
2666
2666
  command: string;
2667
2667
  decisionId: string;
2668
2668
  testId: string;
2669
2669
  durationMs?: number | undefined;
2670
2670
  evidence?: {
2671
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2672
- label: string;
2673
2671
  id: string;
2672
+ label: string;
2673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
2674
  capture: "at_action" | "historical_lookup" | "fixture";
2675
2675
  locator?: string | undefined;
2676
2676
  }[] | undefined;
@@ -2691,15 +2691,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2691
2691
  locator: z.ZodOptional<z.ZodString>;
2692
2692
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2693
2693
  }, "strict", z.ZodTypeAny, {
2694
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2695
- label: string;
2696
2694
  id: string;
2695
+ label: string;
2696
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2697
2697
  capture: "at_action" | "historical_lookup" | "fixture";
2698
2698
  locator?: string | undefined;
2699
2699
  }, {
2700
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2701
- label: string;
2702
2700
  id: string;
2701
+ label: string;
2702
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2703
2703
  capture: "at_action" | "historical_lookup" | "fixture";
2704
2704
  locator?: string | undefined;
2705
2705
  }>, "many">>;
@@ -2708,9 +2708,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2708
2708
  statement: string;
2709
2709
  rationale: string;
2710
2710
  evidence: {
2711
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2712
- label: string;
2713
2711
  id: string;
2712
+ label: string;
2713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2714
  capture: "at_action" | "historical_lookup" | "fixture";
2715
2715
  locator?: string | undefined;
2716
2716
  }[];
@@ -2729,9 +2729,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2729
2729
  supersedesDecisionIds: string[];
2730
2730
  proposedBy: string;
2731
2731
  evidence?: {
2732
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
- label: string;
2734
2732
  id: string;
2733
+ label: string;
2734
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2735
2735
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2736
  locator?: string | undefined;
2737
2737
  }[] | undefined;
@@ -2743,13 +2743,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2743
2743
  id: z.ZodString;
2744
2744
  label: z.ZodString;
2745
2745
  }, "strict", z.ZodTypeAny, {
2746
- kind: "agent" | "human";
2747
- label: string;
2748
2746
  id: string;
2749
- }, {
2750
- kind: "agent" | "human";
2751
2747
  label: string;
2748
+ kind: "agent" | "human";
2749
+ }, {
2752
2750
  id: string;
2751
+ label: string;
2752
+ kind: "agent" | "human";
2753
2753
  }>;
2754
2754
  note: z.ZodOptional<z.ZodString>;
2755
2755
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2759,47 +2759,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2759
2759
  locator: z.ZodOptional<z.ZodString>;
2760
2760
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2761
2761
  }, "strict", z.ZodTypeAny, {
2762
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
- label: string;
2764
2762
  id: string;
2763
+ label: string;
2764
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2765
2765
  capture: "at_action" | "historical_lookup" | "fixture";
2766
2766
  locator?: string | undefined;
2767
2767
  }, {
2768
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2769
- label: string;
2770
2768
  id: string;
2769
+ label: string;
2770
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2771
2771
  capture: "at_action" | "historical_lookup" | "fixture";
2772
2772
  locator?: string | undefined;
2773
2773
  }>, "many">>;
2774
2774
  }, "strict", z.ZodTypeAny, {
2775
2775
  kind: "correction_approved";
2776
2776
  evidence: {
2777
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
- label: string;
2779
2777
  id: string;
2778
+ label: string;
2779
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2780
2780
  capture: "at_action" | "historical_lookup" | "fixture";
2781
2781
  locator?: string | undefined;
2782
2782
  }[];
2783
2783
  correctionId: string;
2784
2784
  approvedBy: {
2785
- kind: "agent" | "human";
2786
- label: string;
2787
2785
  id: string;
2786
+ label: string;
2787
+ kind: "agent" | "human";
2788
2788
  };
2789
2789
  note?: string | undefined;
2790
2790
  }, {
2791
2791
  kind: "correction_approved";
2792
2792
  correctionId: string;
2793
2793
  approvedBy: {
2794
- kind: "agent" | "human";
2795
- label: string;
2796
2794
  id: string;
2795
+ label: string;
2796
+ kind: "agent" | "human";
2797
2797
  };
2798
2798
  note?: string | undefined;
2799
2799
  evidence?: {
2800
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
- label: string;
2802
2800
  id: string;
2801
+ label: string;
2802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2804
  locator?: string | undefined;
2805
2805
  }[] | undefined;
@@ -2815,24 +2815,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2815
2815
  locator: z.ZodOptional<z.ZodString>;
2816
2816
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2817
2817
  }, "strict", z.ZodTypeAny, {
2818
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
- label: string;
2820
2818
  id: string;
2819
+ label: string;
2820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2822
2822
  locator?: string | undefined;
2823
2823
  }, {
2824
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
- label: string;
2826
2824
  id: string;
2825
+ label: string;
2826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2827
2827
  capture: "at_action" | "historical_lookup" | "fixture";
2828
2828
  locator?: string | undefined;
2829
2829
  }>, "many">>;
2830
2830
  }, "strict", z.ZodTypeAny, {
2831
2831
  kind: "decision_superseded";
2832
2832
  evidence: {
2833
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
- label: string;
2835
2833
  id: string;
2834
+ label: string;
2835
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2836
2836
  capture: "at_action" | "historical_lookup" | "fixture";
2837
2837
  locator?: string | undefined;
2838
2838
  }[];
@@ -2845,9 +2845,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2845
2845
  correctionId: string;
2846
2846
  replacementDecisionId: string;
2847
2847
  evidence?: {
2848
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2849
- label: string;
2850
2848
  id: string;
2849
+ label: string;
2850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2851
2851
  capture: "at_action" | "historical_lookup" | "fixture";
2852
2852
  locator?: string | undefined;
2853
2853
  }[] | undefined;
@@ -2863,15 +2863,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2863
2863
  locator: z.ZodOptional<z.ZodString>;
2864
2864
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2865
2865
  }, "strict", z.ZodTypeAny, {
2866
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2867
- label: string;
2868
2866
  id: string;
2867
+ label: string;
2868
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2869
2869
  capture: "at_action" | "historical_lookup" | "fixture";
2870
2870
  locator?: string | undefined;
2871
2871
  }, {
2872
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
- label: string;
2874
2872
  id: string;
2873
+ label: string;
2874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2875
  capture: "at_action" | "historical_lookup" | "fixture";
2876
2876
  locator?: string | undefined;
2877
2877
  }>, "many">>;
@@ -2884,9 +2884,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2884
2884
  agentId: string;
2885
2885
  sessionId: string;
2886
2886
  evidence: {
2887
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2888
- label: string;
2889
2887
  id: string;
2888
+ label: string;
2889
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
2890
  capture: "at_action" | "historical_lookup" | "fixture";
2891
2891
  locator?: string | undefined;
2892
2892
  }[];
@@ -2902,9 +2902,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2902
2902
  recallReceiptId: string;
2903
2903
  capturedAtAction: boolean;
2904
2904
  evidence?: {
2905
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2906
- label: string;
2907
2905
  id: string;
2906
+ label: string;
2907
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2908
2908
  capture: "at_action" | "historical_lookup" | "fixture";
2909
2909
  locator?: string | undefined;
2910
2910
  }[] | undefined;
@@ -2920,15 +2920,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2920
2920
  locator: z.ZodOptional<z.ZodString>;
2921
2921
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2922
2922
  }, "strict", z.ZodTypeAny, {
2923
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2924
- label: string;
2925
2923
  id: string;
2924
+ label: string;
2925
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2926
2926
  capture: "at_action" | "historical_lookup" | "fixture";
2927
2927
  locator?: string | undefined;
2928
2928
  }, {
2929
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2930
- label: string;
2931
2929
  id: string;
2930
+ label: string;
2931
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2932
2932
  capture: "at_action" | "historical_lookup" | "fixture";
2933
2933
  locator?: string | undefined;
2934
2934
  }>, "many">>;
@@ -2940,9 +2940,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2940
2940
  agentId: string;
2941
2941
  sessionId: string;
2942
2942
  evidence: {
2943
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2944
- label: string;
2945
2943
  id: string;
2944
+ label: string;
2945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
2946
  capture: "at_action" | "historical_lookup" | "fixture";
2947
2947
  locator?: string | undefined;
2948
2948
  }[];
@@ -2959,9 +2959,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2959
2959
  recallReceiptId: string;
2960
2960
  staleDecisionAbsent: boolean;
2961
2961
  evidence?: {
2962
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
- label: string;
2964
2962
  id: string;
2963
+ label: string;
2964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2965
2965
  capture: "at_action" | "historical_lookup" | "fixture";
2966
2966
  locator?: string | undefined;
2967
2967
  }[] | undefined;
@@ -2976,37 +2976,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2976
2976
  locator: z.ZodOptional<z.ZodString>;
2977
2977
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2978
2978
  }, "strict", z.ZodTypeAny, {
2979
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2980
- label: string;
2981
2979
  id: string;
2980
+ label: string;
2981
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2982
2982
  capture: "at_action" | "historical_lookup" | "fixture";
2983
2983
  locator?: string | undefined;
2984
2984
  }, {
2985
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2986
- label: string;
2987
2985
  id: string;
2986
+ label: string;
2987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
2988
  capture: "at_action" | "historical_lookup" | "fixture";
2989
2989
  locator?: string | undefined;
2990
2990
  }>, "many">>;
2991
2991
  }, "strict", z.ZodTypeAny, {
2992
- kind: "mission_completed";
2993
2992
  summary: string;
2994
- outcome: "failed" | "recovered" | "inconclusive";
2993
+ kind: "mission_completed";
2994
+ outcome: "failed" | "inconclusive" | "recovered";
2995
2995
  evidence: {
2996
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2997
- label: string;
2998
2996
  id: string;
2997
+ label: string;
2998
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2999
2999
  capture: "at_action" | "historical_lookup" | "fixture";
3000
3000
  locator?: string | undefined;
3001
3001
  }[];
3002
3002
  }, {
3003
- kind: "mission_completed";
3004
3003
  summary: string;
3005
- outcome: "failed" | "recovered" | "inconclusive";
3004
+ kind: "mission_completed";
3005
+ outcome: "failed" | "inconclusive" | "recovered";
3006
3006
  evidence?: {
3007
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3008
- label: string;
3009
3007
  id: string;
3008
+ label: string;
3009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3010
3010
  capture: "at_action" | "historical_lookup" | "fixture";
3011
3011
  locator?: string | undefined;
3012
3012
  }[] | undefined;
@@ -3014,38 +3014,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3014
3014
  kind: "mission_started";
3015
3015
  title: string;
3016
3016
  evidence: {
3017
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
- label: string;
3019
3017
  id: string;
3018
+ label: string;
3019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3020
3020
  capture: "at_action" | "historical_lookup" | "fixture";
3021
3021
  locator?: string | undefined;
3022
3022
  }[];
3023
3023
  objective: string;
3024
3024
  runMode: "replay" | "fixture" | "live";
3025
3025
  } | {
3026
- kind: "agent_status";
3027
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3028
3026
  label: string;
3027
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3028
+ kind: "agent_status";
3029
3029
  role: string;
3030
3030
  agentId: string;
3031
3031
  sessionId: string;
3032
3032
  evidence: {
3033
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
- label: string;
3035
3033
  id: string;
3034
+ label: string;
3035
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3036
3036
  capture: "at_action" | "historical_lookup" | "fixture";
3037
3037
  locator?: string | undefined;
3038
3038
  }[];
3039
3039
  detail?: string | undefined;
3040
3040
  } | {
3041
- kind: "agent_output";
3042
3041
  summary: string;
3042
+ kind: "agent_output";
3043
3043
  agentId: string;
3044
3044
  sessionId: string;
3045
3045
  evidence: {
3046
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
- label: string;
3048
3046
  id: string;
3047
+ label: string;
3048
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3049
  capture: "at_action" | "historical_lookup" | "fixture";
3050
3050
  locator?: string | undefined;
3051
3051
  }[];
@@ -3056,9 +3056,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3056
3056
  statement: string;
3057
3057
  sessionId: string;
3058
3058
  evidence: {
3059
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3060
- label: string;
3061
3059
  id: string;
3060
+ label: string;
3061
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3062
3062
  capture: "at_action" | "historical_lookup" | "fixture";
3063
3063
  locator?: string | undefined;
3064
3064
  }[];
@@ -3066,12 +3066,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3066
3066
  decisionId: string;
3067
3067
  confidence?: number | undefined;
3068
3068
  } | {
3069
- kind: "conflict_detected";
3070
3069
  summary: string;
3070
+ kind: "conflict_detected";
3071
3071
  evidence: {
3072
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
- label: string;
3074
3072
  id: string;
3073
+ label: string;
3074
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3075
3075
  capture: "at_action" | "historical_lookup" | "fixture";
3076
3076
  locator?: string | undefined;
3077
3077
  }[];
@@ -3079,14 +3079,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3079
3079
  decisionIds: string[];
3080
3080
  agentIds: string[];
3081
3081
  } | {
3082
- kind: "test_result";
3083
3082
  summary: string;
3084
3083
  status: "error" | "failed" | "passed";
3084
+ kind: "test_result";
3085
3085
  command: string;
3086
3086
  evidence: {
3087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
- label: string;
3089
3087
  id: string;
3088
+ label: string;
3089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
3090
  capture: "at_action" | "historical_lookup" | "fixture";
3091
3091
  locator?: string | undefined;
3092
3092
  }[];
@@ -3099,9 +3099,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3099
3099
  statement: string;
3100
3100
  rationale: string;
3101
3101
  evidence: {
3102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
- label: string;
3104
3102
  id: string;
3103
+ label: string;
3104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
3105
  capture: "at_action" | "historical_lookup" | "fixture";
3106
3106
  locator?: string | undefined;
3107
3107
  }[];
@@ -3113,25 +3113,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3113
3113
  } | {
3114
3114
  kind: "correction_approved";
3115
3115
  evidence: {
3116
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3117
- label: string;
3118
3116
  id: string;
3117
+ label: string;
3118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3119
3119
  capture: "at_action" | "historical_lookup" | "fixture";
3120
3120
  locator?: string | undefined;
3121
3121
  }[];
3122
3122
  correctionId: string;
3123
3123
  approvedBy: {
3124
- kind: "agent" | "human";
3125
- label: string;
3126
3124
  id: string;
3125
+ label: string;
3126
+ kind: "agent" | "human";
3127
3127
  };
3128
3128
  note?: string | undefined;
3129
3129
  } | {
3130
3130
  kind: "decision_superseded";
3131
3131
  evidence: {
3132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
- label: string;
3134
3132
  id: string;
3133
+ label: string;
3134
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3135
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3136
3136
  locator?: string | undefined;
3137
3137
  }[];
@@ -3144,9 +3144,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3144
3144
  agentId: string;
3145
3145
  sessionId: string;
3146
3146
  evidence: {
3147
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3148
- label: string;
3149
3147
  id: string;
3148
+ label: string;
3149
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3150
3150
  capture: "at_action" | "historical_lookup" | "fixture";
3151
3151
  locator?: string | undefined;
3152
3152
  }[];
@@ -3158,9 +3158,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3158
3158
  agentId: string;
3159
3159
  sessionId: string;
3160
3160
  evidence: {
3161
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
- label: string;
3163
3161
  id: string;
3162
+ label: string;
3163
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
3164
  capture: "at_action" | "historical_lookup" | "fixture";
3165
3165
  locator?: string | undefined;
3166
3166
  }[];
@@ -3169,13 +3169,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3169
3169
  recallReceiptId: string;
3170
3170
  staleDecisionAbsent: boolean;
3171
3171
  } | {
3172
- kind: "mission_completed";
3173
3172
  summary: string;
3174
- outcome: "failed" | "recovered" | "inconclusive";
3173
+ kind: "mission_completed";
3174
+ outcome: "failed" | "inconclusive" | "recovered";
3175
3175
  evidence: {
3176
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
- label: string;
3178
3176
  id: string;
3177
+ label: string;
3178
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3179
3179
  capture: "at_action" | "historical_lookup" | "fixture";
3180
3180
  locator?: string | undefined;
3181
3181
  }[];
@@ -3185,37 +3185,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3185
3185
  objective: string;
3186
3186
  runMode: "replay" | "fixture" | "live";
3187
3187
  evidence?: {
3188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
- label: string;
3190
3188
  id: string;
3189
+ label: string;
3190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3191
3191
  capture: "at_action" | "historical_lookup" | "fixture";
3192
3192
  locator?: string | undefined;
3193
3193
  }[] | undefined;
3194
3194
  } | {
3195
- kind: "agent_status";
3196
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3197
3195
  label: string;
3196
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3197
+ kind: "agent_status";
3198
3198
  role: string;
3199
3199
  agentId: string;
3200
3200
  sessionId: string;
3201
3201
  detail?: string | undefined;
3202
3202
  evidence?: {
3203
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
- label: string;
3205
3203
  id: string;
3204
+ label: string;
3205
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3206
  capture: "at_action" | "historical_lookup" | "fixture";
3207
3207
  locator?: string | undefined;
3208
3208
  }[] | undefined;
3209
3209
  } | {
3210
- kind: "agent_output";
3211
3210
  summary: string;
3211
+ kind: "agent_output";
3212
3212
  agentId: string;
3213
3213
  sessionId: string;
3214
3214
  outputId: string;
3215
3215
  evidence?: {
3216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
- label: string;
3218
3216
  id: string;
3217
+ label: string;
3218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3219
  capture: "at_action" | "historical_lookup" | "fixture";
3220
3220
  locator?: string | undefined;
3221
3221
  }[] | undefined;
@@ -3228,37 +3228,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3228
3228
  decisionId: string;
3229
3229
  confidence?: number | undefined;
3230
3230
  evidence?: {
3231
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3232
- label: string;
3233
3231
  id: string;
3232
+ label: string;
3233
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
3234
  capture: "at_action" | "historical_lookup" | "fixture";
3235
3235
  locator?: string | undefined;
3236
3236
  }[] | undefined;
3237
3237
  } | {
3238
- kind: "conflict_detected";
3239
3238
  summary: string;
3239
+ kind: "conflict_detected";
3240
3240
  conflictId: string;
3241
3241
  decisionIds: string[];
3242
3242
  agentIds: string[];
3243
3243
  evidence?: {
3244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
- label: string;
3246
3244
  id: string;
3245
+ label: string;
3246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3247
  capture: "at_action" | "historical_lookup" | "fixture";
3248
3248
  locator?: string | undefined;
3249
3249
  }[] | undefined;
3250
3250
  } | {
3251
- kind: "test_result";
3252
3251
  summary: string;
3253
3252
  status: "error" | "failed" | "passed";
3253
+ kind: "test_result";
3254
3254
  command: string;
3255
3255
  decisionId: string;
3256
3256
  testId: string;
3257
3257
  durationMs?: number | undefined;
3258
3258
  evidence?: {
3259
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3260
- label: string;
3261
3259
  id: string;
3260
+ label: string;
3261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
3262
  capture: "at_action" | "historical_lookup" | "fixture";
3263
3263
  locator?: string | undefined;
3264
3264
  }[] | undefined;
@@ -3273,9 +3273,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3273
3273
  supersedesDecisionIds: string[];
3274
3274
  proposedBy: string;
3275
3275
  evidence?: {
3276
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
- label: string;
3278
3276
  id: string;
3277
+ label: string;
3278
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3279
3279
  capture: "at_action" | "historical_lookup" | "fixture";
3280
3280
  locator?: string | undefined;
3281
3281
  }[] | undefined;
@@ -3283,15 +3283,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3283
3283
  kind: "correction_approved";
3284
3284
  correctionId: string;
3285
3285
  approvedBy: {
3286
- kind: "agent" | "human";
3287
- label: string;
3288
3286
  id: string;
3287
+ label: string;
3288
+ kind: "agent" | "human";
3289
3289
  };
3290
3290
  note?: string | undefined;
3291
3291
  evidence?: {
3292
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
- label: string;
3294
3292
  id: string;
3293
+ label: string;
3294
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3295
  capture: "at_action" | "historical_lookup" | "fixture";
3296
3296
  locator?: string | undefined;
3297
3297
  }[] | undefined;
@@ -3301,9 +3301,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3301
3301
  correctionId: string;
3302
3302
  replacementDecisionId: string;
3303
3303
  evidence?: {
3304
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3305
- label: string;
3306
3304
  id: string;
3305
+ label: string;
3306
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3307
3307
  capture: "at_action" | "historical_lookup" | "fixture";
3308
3308
  locator?: string | undefined;
3309
3309
  }[] | undefined;
@@ -3316,9 +3316,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3316
3316
  recallReceiptId: string;
3317
3317
  capturedAtAction: boolean;
3318
3318
  evidence?: {
3319
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3320
- label: string;
3321
3319
  id: string;
3320
+ label: string;
3321
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3322
3322
  capture: "at_action" | "historical_lookup" | "fixture";
3323
3323
  locator?: string | undefined;
3324
3324
  }[] | undefined;
@@ -3331,20 +3331,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3331
3331
  recallReceiptId: string;
3332
3332
  staleDecisionAbsent: boolean;
3333
3333
  evidence?: {
3334
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3335
- label: string;
3336
3334
  id: string;
3335
+ label: string;
3336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3337
3337
  capture: "at_action" | "historical_lookup" | "fixture";
3338
3338
  locator?: string | undefined;
3339
3339
  }[] | undefined;
3340
3340
  } | {
3341
- kind: "mission_completed";
3342
3341
  summary: string;
3343
- outcome: "failed" | "recovered" | "inconclusive";
3342
+ kind: "mission_completed";
3343
+ outcome: "failed" | "inconclusive" | "recovered";
3344
3344
  evidence?: {
3345
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3346
- label: string;
3347
3345
  id: string;
3346
+ label: string;
3347
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3348
3348
  capture: "at_action" | "historical_lookup" | "fixture";
3349
3349
  locator?: string | undefined;
3350
3350
  }[] | undefined;
@@ -3354,38 +3354,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3354
3354
  kind: "mission_started";
3355
3355
  title: string;
3356
3356
  evidence: {
3357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
- label: string;
3359
3357
  id: string;
3358
+ label: string;
3359
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3360
3360
  capture: "at_action" | "historical_lookup" | "fixture";
3361
3361
  locator?: string | undefined;
3362
3362
  }[];
3363
3363
  objective: string;
3364
3364
  runMode: "replay" | "fixture" | "live";
3365
3365
  } | {
3366
- kind: "agent_status";
3367
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3368
3366
  label: string;
3367
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3368
+ kind: "agent_status";
3369
3369
  role: string;
3370
3370
  agentId: string;
3371
3371
  sessionId: string;
3372
3372
  evidence: {
3373
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
- label: string;
3375
3373
  id: string;
3374
+ label: string;
3375
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3376
3376
  capture: "at_action" | "historical_lookup" | "fixture";
3377
3377
  locator?: string | undefined;
3378
3378
  }[];
3379
3379
  detail?: string | undefined;
3380
3380
  } | {
3381
- kind: "agent_output";
3382
3381
  summary: string;
3382
+ kind: "agent_output";
3383
3383
  agentId: string;
3384
3384
  sessionId: string;
3385
3385
  evidence: {
3386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
- label: string;
3388
3386
  id: string;
3387
+ label: string;
3388
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
3389
  capture: "at_action" | "historical_lookup" | "fixture";
3390
3390
  locator?: string | undefined;
3391
3391
  }[];
@@ -3396,9 +3396,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3396
3396
  statement: string;
3397
3397
  sessionId: string;
3398
3398
  evidence: {
3399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
- label: string;
3401
3399
  id: string;
3400
+ label: string;
3401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3402
3402
  capture: "at_action" | "historical_lookup" | "fixture";
3403
3403
  locator?: string | undefined;
3404
3404
  }[];
@@ -3406,12 +3406,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3406
3406
  decisionId: string;
3407
3407
  confidence?: number | undefined;
3408
3408
  } | {
3409
- kind: "conflict_detected";
3410
3409
  summary: string;
3410
+ kind: "conflict_detected";
3411
3411
  evidence: {
3412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3413
- label: string;
3414
3412
  id: string;
3413
+ label: string;
3414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3415
3415
  capture: "at_action" | "historical_lookup" | "fixture";
3416
3416
  locator?: string | undefined;
3417
3417
  }[];
@@ -3419,14 +3419,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3419
3419
  decisionIds: string[];
3420
3420
  agentIds: string[];
3421
3421
  } | {
3422
- kind: "test_result";
3423
3422
  summary: string;
3424
3423
  status: "error" | "failed" | "passed";
3424
+ kind: "test_result";
3425
3425
  command: string;
3426
3426
  evidence: {
3427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
- label: string;
3429
3427
  id: string;
3428
+ label: string;
3429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3430
3430
  capture: "at_action" | "historical_lookup" | "fixture";
3431
3431
  locator?: string | undefined;
3432
3432
  }[];
@@ -3439,9 +3439,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3439
3439
  statement: string;
3440
3440
  rationale: string;
3441
3441
  evidence: {
3442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
- label: string;
3444
3442
  id: string;
3443
+ label: string;
3444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3446
  locator?: string | undefined;
3447
3447
  }[];
@@ -3453,25 +3453,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3453
3453
  } | {
3454
3454
  kind: "correction_approved";
3455
3455
  evidence: {
3456
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3457
- label: string;
3458
3456
  id: string;
3457
+ label: string;
3458
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3459
3459
  capture: "at_action" | "historical_lookup" | "fixture";
3460
3460
  locator?: string | undefined;
3461
3461
  }[];
3462
3462
  correctionId: string;
3463
3463
  approvedBy: {
3464
- kind: "agent" | "human";
3465
- label: string;
3466
3464
  id: string;
3465
+ label: string;
3466
+ kind: "agent" | "human";
3467
3467
  };
3468
3468
  note?: string | undefined;
3469
3469
  } | {
3470
3470
  kind: "decision_superseded";
3471
3471
  evidence: {
3472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
- label: string;
3474
3472
  id: string;
3473
+ label: string;
3474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3476
3476
  locator?: string | undefined;
3477
3477
  }[];
@@ -3484,9 +3484,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3484
3484
  agentId: string;
3485
3485
  sessionId: string;
3486
3486
  evidence: {
3487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
- label: string;
3489
3487
  id: string;
3488
+ label: string;
3489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3490
  capture: "at_action" | "historical_lookup" | "fixture";
3491
3491
  locator?: string | undefined;
3492
3492
  }[];
@@ -3498,9 +3498,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3498
3498
  agentId: string;
3499
3499
  sessionId: string;
3500
3500
  evidence: {
3501
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3502
- label: string;
3503
3501
  id: string;
3502
+ label: string;
3503
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3504
3504
  capture: "at_action" | "historical_lookup" | "fixture";
3505
3505
  locator?: string | undefined;
3506
3506
  }[];
@@ -3509,13 +3509,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3509
3509
  recallReceiptId: string;
3510
3510
  staleDecisionAbsent: boolean;
3511
3511
  } | {
3512
- kind: "mission_completed";
3513
3512
  summary: string;
3514
- outcome: "failed" | "recovered" | "inconclusive";
3513
+ kind: "mission_completed";
3514
+ outcome: "failed" | "inconclusive" | "recovered";
3515
3515
  evidence: {
3516
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3517
- label: string;
3518
3516
  id: string;
3517
+ label: string;
3518
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3519
3519
  capture: "at_action" | "historical_lookup" | "fixture";
3520
3520
  locator?: string | undefined;
3521
3521
  }[];
@@ -3529,37 +3529,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3529
3529
  objective: string;
3530
3530
  runMode: "replay" | "fixture" | "live";
3531
3531
  evidence?: {
3532
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
- label: string;
3534
3532
  id: string;
3533
+ label: string;
3534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3535
3535
  capture: "at_action" | "historical_lookup" | "fixture";
3536
3536
  locator?: string | undefined;
3537
3537
  }[] | undefined;
3538
3538
  } | {
3539
- kind: "agent_status";
3540
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3541
3539
  label: string;
3540
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3541
+ kind: "agent_status";
3542
3542
  role: string;
3543
3543
  agentId: string;
3544
3544
  sessionId: string;
3545
3545
  detail?: string | undefined;
3546
3546
  evidence?: {
3547
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
- label: string;
3549
3547
  id: string;
3548
+ label: string;
3549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3550
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3551
  locator?: string | undefined;
3552
3552
  }[] | undefined;
3553
3553
  } | {
3554
- kind: "agent_output";
3555
3554
  summary: string;
3555
+ kind: "agent_output";
3556
3556
  agentId: string;
3557
3557
  sessionId: string;
3558
3558
  outputId: string;
3559
3559
  evidence?: {
3560
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3561
- label: string;
3562
3560
  id: string;
3561
+ label: string;
3562
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
3563
  capture: "at_action" | "historical_lookup" | "fixture";
3564
3564
  locator?: string | undefined;
3565
3565
  }[] | undefined;
@@ -3572,37 +3572,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3572
3572
  decisionId: string;
3573
3573
  confidence?: number | undefined;
3574
3574
  evidence?: {
3575
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3576
- label: string;
3577
3575
  id: string;
3576
+ label: string;
3577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3578
3578
  capture: "at_action" | "historical_lookup" | "fixture";
3579
3579
  locator?: string | undefined;
3580
3580
  }[] | undefined;
3581
3581
  } | {
3582
- kind: "conflict_detected";
3583
3582
  summary: string;
3583
+ kind: "conflict_detected";
3584
3584
  conflictId: string;
3585
3585
  decisionIds: string[];
3586
3586
  agentIds: string[];
3587
3587
  evidence?: {
3588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
- label: string;
3590
3588
  id: string;
3589
+ label: string;
3590
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
3591
  capture: "at_action" | "historical_lookup" | "fixture";
3592
3592
  locator?: string | undefined;
3593
3593
  }[] | undefined;
3594
3594
  } | {
3595
- kind: "test_result";
3596
3595
  summary: string;
3597
3596
  status: "error" | "failed" | "passed";
3597
+ kind: "test_result";
3598
3598
  command: string;
3599
3599
  decisionId: string;
3600
3600
  testId: string;
3601
3601
  durationMs?: number | undefined;
3602
3602
  evidence?: {
3603
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
- label: string;
3605
3603
  id: string;
3604
+ label: string;
3605
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3606
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3607
  locator?: string | undefined;
3608
3608
  }[] | undefined;
@@ -3617,9 +3617,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3617
3617
  supersedesDecisionIds: string[];
3618
3618
  proposedBy: string;
3619
3619
  evidence?: {
3620
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
- label: string;
3622
3620
  id: string;
3621
+ label: string;
3622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3623
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3624
  locator?: string | undefined;
3625
3625
  }[] | undefined;
@@ -3627,15 +3627,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3627
3627
  kind: "correction_approved";
3628
3628
  correctionId: string;
3629
3629
  approvedBy: {
3630
- kind: "agent" | "human";
3631
- label: string;
3632
3630
  id: string;
3631
+ label: string;
3632
+ kind: "agent" | "human";
3633
3633
  };
3634
3634
  note?: string | undefined;
3635
3635
  evidence?: {
3636
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
- label: string;
3638
3636
  id: string;
3637
+ label: string;
3638
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
3639
  capture: "at_action" | "historical_lookup" | "fixture";
3640
3640
  locator?: string | undefined;
3641
3641
  }[] | undefined;
@@ -3645,9 +3645,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3645
3645
  correctionId: string;
3646
3646
  replacementDecisionId: string;
3647
3647
  evidence?: {
3648
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3649
- label: string;
3650
3648
  id: string;
3649
+ label: string;
3650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3651
  capture: "at_action" | "historical_lookup" | "fixture";
3652
3652
  locator?: string | undefined;
3653
3653
  }[] | undefined;
@@ -3660,9 +3660,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3660
3660
  recallReceiptId: string;
3661
3661
  capturedAtAction: boolean;
3662
3662
  evidence?: {
3663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
- label: string;
3665
3663
  id: string;
3664
+ label: string;
3665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
3666
  capture: "at_action" | "historical_lookup" | "fixture";
3667
3667
  locator?: string | undefined;
3668
3668
  }[] | undefined;
@@ -3675,20 +3675,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3675
3675
  recallReceiptId: string;
3676
3676
  staleDecisionAbsent: boolean;
3677
3677
  evidence?: {
3678
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3679
- label: string;
3680
3678
  id: string;
3679
+ label: string;
3680
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
3681
  capture: "at_action" | "historical_lookup" | "fixture";
3682
3682
  locator?: string | undefined;
3683
3683
  }[] | undefined;
3684
3684
  } | {
3685
- kind: "mission_completed";
3686
3685
  summary: string;
3687
- outcome: "failed" | "recovered" | "inconclusive";
3686
+ kind: "mission_completed";
3687
+ outcome: "failed" | "inconclusive" | "recovered";
3688
3688
  evidence?: {
3689
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3690
- label: string;
3691
3689
  id: string;
3690
+ label: string;
3691
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3693
3693
  locator?: string | undefined;
3694
3694
  }[] | undefined;
@@ -3718,15 +3718,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3718
3718
  locator: z.ZodOptional<z.ZodString>;
3719
3719
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3720
3720
  }, "strict", z.ZodTypeAny, {
3721
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3722
- label: string;
3723
3721
  id: string;
3722
+ label: string;
3723
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
3724
  capture: "at_action" | "historical_lookup" | "fixture";
3725
3725
  locator?: string | undefined;
3726
3726
  }, {
3727
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3728
- label: string;
3729
3727
  id: string;
3728
+ label: string;
3729
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3730
  capture: "at_action" | "historical_lookup" | "fixture";
3731
3731
  locator?: string | undefined;
3732
3732
  }>, "many">>;
@@ -3734,9 +3734,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3734
3734
  kind: "mission_started";
3735
3735
  title: string;
3736
3736
  evidence: {
3737
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
- label: string;
3739
3737
  id: string;
3738
+ label: string;
3739
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
3740
  capture: "at_action" | "historical_lookup" | "fixture";
3741
3741
  locator?: string | undefined;
3742
3742
  }[];
@@ -3748,9 +3748,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3748
3748
  objective: string;
3749
3749
  runMode: "replay" | "fixture" | "live";
3750
3750
  evidence?: {
3751
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3752
- label: string;
3753
3751
  id: string;
3752
+ label: string;
3753
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3754
3754
  capture: "at_action" | "historical_lookup" | "fixture";
3755
3755
  locator?: string | undefined;
3756
3756
  }[] | undefined;
@@ -3766,15 +3766,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3766
3766
  locator: z.ZodOptional<z.ZodString>;
3767
3767
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3768
3768
  }, "strict", z.ZodTypeAny, {
3769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
- label: string;
3771
3769
  id: string;
3770
+ label: string;
3771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3772
3772
  capture: "at_action" | "historical_lookup" | "fixture";
3773
3773
  locator?: string | undefined;
3774
3774
  }, {
3775
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3776
- label: string;
3777
3775
  id: string;
3776
+ label: string;
3777
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3778
3778
  capture: "at_action" | "historical_lookup" | "fixture";
3779
3779
  locator?: string | undefined;
3780
3780
  }>, "many">>;
@@ -3782,32 +3782,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3782
3782
  sessionId: z.ZodString;
3783
3783
  kind: z.ZodLiteral<"agent_status">;
3784
3784
  }, "strict", z.ZodTypeAny, {
3785
- kind: "agent_status";
3786
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3787
3785
  label: string;
3786
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3787
+ kind: "agent_status";
3788
3788
  role: string;
3789
3789
  agentId: string;
3790
3790
  sessionId: string;
3791
3791
  evidence: {
3792
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3793
- label: string;
3794
3792
  id: string;
3793
+ label: string;
3794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
3795
  capture: "at_action" | "historical_lookup" | "fixture";
3796
3796
  locator?: string | undefined;
3797
3797
  }[];
3798
3798
  detail?: string | undefined;
3799
3799
  }, {
3800
- kind: "agent_status";
3801
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3802
3800
  label: string;
3801
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3802
+ kind: "agent_status";
3803
3803
  role: string;
3804
3804
  agentId: string;
3805
3805
  sessionId: string;
3806
3806
  detail?: string | undefined;
3807
3807
  evidence?: {
3808
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3809
- label: string;
3810
3808
  id: string;
3809
+ label: string;
3810
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3811
3811
  capture: "at_action" | "historical_lookup" | "fixture";
3812
3812
  locator?: string | undefined;
3813
3813
  }[] | undefined;
@@ -3821,15 +3821,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3821
3821
  locator: z.ZodOptional<z.ZodString>;
3822
3822
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3823
3823
  }, "strict", z.ZodTypeAny, {
3824
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3825
- label: string;
3826
3824
  id: string;
3825
+ label: string;
3826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3827
3827
  capture: "at_action" | "historical_lookup" | "fixture";
3828
3828
  locator?: string | undefined;
3829
3829
  }, {
3830
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
- label: string;
3832
3830
  id: string;
3831
+ label: string;
3832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3833
3833
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3834
  locator?: string | undefined;
3835
3835
  }>, "many">>;
@@ -3837,28 +3837,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3837
3837
  sessionId: z.ZodString;
3838
3838
  kind: z.ZodLiteral<"agent_output">;
3839
3839
  }, "strict", z.ZodTypeAny, {
3840
- kind: "agent_output";
3841
3840
  summary: string;
3841
+ kind: "agent_output";
3842
3842
  agentId: string;
3843
3843
  sessionId: string;
3844
3844
  evidence: {
3845
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3846
- label: string;
3847
3845
  id: string;
3846
+ label: string;
3847
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3848
3848
  capture: "at_action" | "historical_lookup" | "fixture";
3849
3849
  locator?: string | undefined;
3850
3850
  }[];
3851
3851
  outputId: string;
3852
3852
  }, {
3853
- kind: "agent_output";
3854
3853
  summary: string;
3854
+ kind: "agent_output";
3855
3855
  agentId: string;
3856
3856
  sessionId: string;
3857
3857
  outputId: string;
3858
3858
  evidence?: {
3859
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3860
- label: string;
3861
3859
  id: string;
3860
+ label: string;
3861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3862
3862
  capture: "at_action" | "historical_lookup" | "fixture";
3863
3863
  locator?: string | undefined;
3864
3864
  }[] | undefined;
@@ -3874,15 +3874,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3874
3874
  locator: z.ZodOptional<z.ZodString>;
3875
3875
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3876
3876
  }, "strict", z.ZodTypeAny, {
3877
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3878
- label: string;
3879
3877
  id: string;
3878
+ label: string;
3879
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3880
3880
  capture: "at_action" | "historical_lookup" | "fixture";
3881
3881
  locator?: string | undefined;
3882
3882
  }, {
3883
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3884
- label: string;
3885
3883
  id: string;
3884
+ label: string;
3885
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
3886
  capture: "at_action" | "historical_lookup" | "fixture";
3887
3887
  locator?: string | undefined;
3888
3888
  }>, "many">>;
@@ -3895,9 +3895,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3895
3895
  statement: string;
3896
3896
  sessionId: string;
3897
3897
  evidence: {
3898
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
- label: string;
3900
3898
  id: string;
3899
+ label: string;
3900
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
3901
  capture: "at_action" | "historical_lookup" | "fixture";
3902
3902
  locator?: string | undefined;
3903
3903
  }[];
@@ -3913,9 +3913,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3913
3913
  decisionId: string;
3914
3914
  confidence?: number | undefined;
3915
3915
  evidence?: {
3916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3917
- label: string;
3918
3916
  id: string;
3917
+ label: string;
3918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3919
3919
  capture: "at_action" | "historical_lookup" | "fixture";
3920
3920
  locator?: string | undefined;
3921
3921
  }[] | undefined;
@@ -3932,25 +3932,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3932
3932
  locator: z.ZodOptional<z.ZodString>;
3933
3933
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3934
3934
  }, "strict", z.ZodTypeAny, {
3935
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3936
- label: string;
3937
3935
  id: string;
3936
+ label: string;
3937
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3938
3938
  capture: "at_action" | "historical_lookup" | "fixture";
3939
3939
  locator?: string | undefined;
3940
3940
  }, {
3941
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3942
- label: string;
3943
3941
  id: string;
3942
+ label: string;
3943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3944
3944
  capture: "at_action" | "historical_lookup" | "fixture";
3945
3945
  locator?: string | undefined;
3946
3946
  }>, "many">>;
3947
3947
  }, "strict", z.ZodTypeAny, {
3948
- kind: "conflict_detected";
3949
3948
  summary: string;
3949
+ kind: "conflict_detected";
3950
3950
  evidence: {
3951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
- label: string;
3953
3951
  id: string;
3952
+ label: string;
3953
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
3954
  capture: "at_action" | "historical_lookup" | "fixture";
3955
3955
  locator?: string | undefined;
3956
3956
  }[];
@@ -3958,15 +3958,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3958
3958
  decisionIds: string[];
3959
3959
  agentIds: string[];
3960
3960
  }, {
3961
- kind: "conflict_detected";
3962
3961
  summary: string;
3962
+ kind: "conflict_detected";
3963
3963
  conflictId: string;
3964
3964
  decisionIds: string[];
3965
3965
  agentIds: string[];
3966
3966
  evidence?: {
3967
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
- label: string;
3969
3967
  id: string;
3968
+ label: string;
3969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3970
3970
  capture: "at_action" | "historical_lookup" | "fixture";
3971
3971
  locator?: string | undefined;
3972
3972
  }[] | undefined;
@@ -3986,27 +3986,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3986
3986
  locator: z.ZodOptional<z.ZodString>;
3987
3987
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3988
3988
  }, "strict", z.ZodTypeAny, {
3989
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
- label: string;
3991
3989
  id: string;
3990
+ label: string;
3991
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3992
3992
  capture: "at_action" | "historical_lookup" | "fixture";
3993
3993
  locator?: string | undefined;
3994
3994
  }, {
3995
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3996
- label: string;
3997
3995
  id: string;
3996
+ label: string;
3997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3998
3998
  capture: "at_action" | "historical_lookup" | "fixture";
3999
3999
  locator?: string | undefined;
4000
4000
  }>, "many">>;
4001
4001
  }, "strict", z.ZodTypeAny, {
4002
- kind: "test_result";
4003
4002
  summary: string;
4004
4003
  status: "error" | "failed" | "passed";
4004
+ kind: "test_result";
4005
4005
  command: string;
4006
4006
  evidence: {
4007
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4008
- label: string;
4009
4007
  id: string;
4008
+ label: string;
4009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4010
4010
  capture: "at_action" | "historical_lookup" | "fixture";
4011
4011
  locator?: string | undefined;
4012
4012
  }[];
@@ -4015,17 +4015,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4015
4015
  durationMs?: number | undefined;
4016
4016
  correctionId?: string | undefined;
4017
4017
  }, {
4018
- kind: "test_result";
4019
4018
  summary: string;
4020
4019
  status: "error" | "failed" | "passed";
4020
+ kind: "test_result";
4021
4021
  command: string;
4022
4022
  decisionId: string;
4023
4023
  testId: string;
4024
4024
  durationMs?: number | undefined;
4025
4025
  evidence?: {
4026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4027
- label: string;
4028
4026
  id: string;
4027
+ label: string;
4028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
4029
  capture: "at_action" | "historical_lookup" | "fixture";
4030
4030
  locator?: string | undefined;
4031
4031
  }[] | undefined;
@@ -4046,15 +4046,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4046
4046
  locator: z.ZodOptional<z.ZodString>;
4047
4047
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4048
4048
  }, "strict", z.ZodTypeAny, {
4049
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4050
- label: string;
4051
4049
  id: string;
4050
+ label: string;
4051
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4052
4052
  capture: "at_action" | "historical_lookup" | "fixture";
4053
4053
  locator?: string | undefined;
4054
4054
  }, {
4055
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4056
- label: string;
4057
4055
  id: string;
4056
+ label: string;
4057
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4058
4058
  capture: "at_action" | "historical_lookup" | "fixture";
4059
4059
  locator?: string | undefined;
4060
4060
  }>, "many">>;
@@ -4063,9 +4063,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4063
4063
  statement: string;
4064
4064
  rationale: string;
4065
4065
  evidence: {
4066
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4067
- label: string;
4068
4066
  id: string;
4067
+ label: string;
4068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4069
  capture: "at_action" | "historical_lookup" | "fixture";
4070
4070
  locator?: string | undefined;
4071
4071
  }[];
@@ -4084,9 +4084,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4084
4084
  supersedesDecisionIds: string[];
4085
4085
  proposedBy: string;
4086
4086
  evidence?: {
4087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
- label: string;
4089
4087
  id: string;
4088
+ label: string;
4089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4090
4090
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4091
  locator?: string | undefined;
4092
4092
  }[] | undefined;
@@ -4098,13 +4098,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4098
4098
  id: z.ZodString;
4099
4099
  label: z.ZodString;
4100
4100
  }, "strict", z.ZodTypeAny, {
4101
- kind: "agent" | "human";
4102
- label: string;
4103
4101
  id: string;
4104
- }, {
4105
- kind: "agent" | "human";
4106
4102
  label: string;
4103
+ kind: "agent" | "human";
4104
+ }, {
4107
4105
  id: string;
4106
+ label: string;
4107
+ kind: "agent" | "human";
4108
4108
  }>;
4109
4109
  note: z.ZodOptional<z.ZodString>;
4110
4110
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4114,47 +4114,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4114
4114
  locator: z.ZodOptional<z.ZodString>;
4115
4115
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4116
4116
  }, "strict", z.ZodTypeAny, {
4117
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
- label: string;
4119
4117
  id: string;
4118
+ label: string;
4119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4120
4120
  capture: "at_action" | "historical_lookup" | "fixture";
4121
4121
  locator?: string | undefined;
4122
4122
  }, {
4123
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4124
- label: string;
4125
4123
  id: string;
4124
+ label: string;
4125
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4126
4126
  capture: "at_action" | "historical_lookup" | "fixture";
4127
4127
  locator?: string | undefined;
4128
4128
  }>, "many">>;
4129
4129
  }, "strict", z.ZodTypeAny, {
4130
4130
  kind: "correction_approved";
4131
4131
  evidence: {
4132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
- label: string;
4134
4132
  id: string;
4133
+ label: string;
4134
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4135
4135
  capture: "at_action" | "historical_lookup" | "fixture";
4136
4136
  locator?: string | undefined;
4137
4137
  }[];
4138
4138
  correctionId: string;
4139
4139
  approvedBy: {
4140
- kind: "agent" | "human";
4141
- label: string;
4142
4140
  id: string;
4141
+ label: string;
4142
+ kind: "agent" | "human";
4143
4143
  };
4144
4144
  note?: string | undefined;
4145
4145
  }, {
4146
4146
  kind: "correction_approved";
4147
4147
  correctionId: string;
4148
4148
  approvedBy: {
4149
- kind: "agent" | "human";
4150
- label: string;
4151
4149
  id: string;
4150
+ label: string;
4151
+ kind: "agent" | "human";
4152
4152
  };
4153
4153
  note?: string | undefined;
4154
4154
  evidence?: {
4155
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
- label: string;
4157
4155
  id: string;
4156
+ label: string;
4157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4159
  locator?: string | undefined;
4160
4160
  }[] | undefined;
@@ -4170,24 +4170,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4170
4170
  locator: z.ZodOptional<z.ZodString>;
4171
4171
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4172
4172
  }, "strict", z.ZodTypeAny, {
4173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
- label: string;
4175
4173
  id: string;
4174
+ label: string;
4175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4177
4177
  locator?: string | undefined;
4178
4178
  }, {
4179
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
- label: string;
4181
4179
  id: string;
4180
+ label: string;
4181
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4182
4182
  capture: "at_action" | "historical_lookup" | "fixture";
4183
4183
  locator?: string | undefined;
4184
4184
  }>, "many">>;
4185
4185
  }, "strict", z.ZodTypeAny, {
4186
4186
  kind: "decision_superseded";
4187
4187
  evidence: {
4188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
- label: string;
4190
4188
  id: string;
4189
+ label: string;
4190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4191
4191
  capture: "at_action" | "historical_lookup" | "fixture";
4192
4192
  locator?: string | undefined;
4193
4193
  }[];
@@ -4200,9 +4200,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4200
4200
  correctionId: string;
4201
4201
  replacementDecisionId: string;
4202
4202
  evidence?: {
4203
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4204
- label: string;
4205
4203
  id: string;
4204
+ label: string;
4205
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4206
4206
  capture: "at_action" | "historical_lookup" | "fixture";
4207
4207
  locator?: string | undefined;
4208
4208
  }[] | undefined;
@@ -4218,15 +4218,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4218
4218
  locator: z.ZodOptional<z.ZodString>;
4219
4219
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4220
4220
  }, "strict", z.ZodTypeAny, {
4221
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4222
- label: string;
4223
4221
  id: string;
4222
+ label: string;
4223
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4224
4224
  capture: "at_action" | "historical_lookup" | "fixture";
4225
4225
  locator?: string | undefined;
4226
4226
  }, {
4227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
- label: string;
4229
4227
  id: string;
4228
+ label: string;
4229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4230
  capture: "at_action" | "historical_lookup" | "fixture";
4231
4231
  locator?: string | undefined;
4232
4232
  }>, "many">>;
@@ -4239,9 +4239,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4239
4239
  agentId: string;
4240
4240
  sessionId: string;
4241
4241
  evidence: {
4242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4243
- label: string;
4244
4242
  id: string;
4243
+ label: string;
4244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4245
4245
  capture: "at_action" | "historical_lookup" | "fixture";
4246
4246
  locator?: string | undefined;
4247
4247
  }[];
@@ -4257,9 +4257,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4257
4257
  recallReceiptId: string;
4258
4258
  capturedAtAction: boolean;
4259
4259
  evidence?: {
4260
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4261
- label: string;
4262
4260
  id: string;
4261
+ label: string;
4262
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4263
4263
  capture: "at_action" | "historical_lookup" | "fixture";
4264
4264
  locator?: string | undefined;
4265
4265
  }[] | undefined;
@@ -4275,15 +4275,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4275
4275
  locator: z.ZodOptional<z.ZodString>;
4276
4276
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4277
4277
  }, "strict", z.ZodTypeAny, {
4278
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
- label: string;
4280
4278
  id: string;
4279
+ label: string;
4280
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4281
4281
  capture: "at_action" | "historical_lookup" | "fixture";
4282
4282
  locator?: string | undefined;
4283
4283
  }, {
4284
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
- label: string;
4286
4284
  id: string;
4285
+ label: string;
4286
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4287
4287
  capture: "at_action" | "historical_lookup" | "fixture";
4288
4288
  locator?: string | undefined;
4289
4289
  }>, "many">>;
@@ -4295,9 +4295,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4295
4295
  agentId: string;
4296
4296
  sessionId: string;
4297
4297
  evidence: {
4298
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4299
- label: string;
4300
4298
  id: string;
4299
+ label: string;
4300
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4301
  capture: "at_action" | "historical_lookup" | "fixture";
4302
4302
  locator?: string | undefined;
4303
4303
  }[];
@@ -4314,9 +4314,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4314
4314
  recallReceiptId: string;
4315
4315
  staleDecisionAbsent: boolean;
4316
4316
  evidence?: {
4317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
- label: string;
4319
4317
  id: string;
4318
+ label: string;
4319
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4320
4320
  capture: "at_action" | "historical_lookup" | "fixture";
4321
4321
  locator?: string | undefined;
4322
4322
  }[] | undefined;
@@ -4331,37 +4331,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4331
4331
  locator: z.ZodOptional<z.ZodString>;
4332
4332
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4333
4333
  }, "strict", z.ZodTypeAny, {
4334
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4335
- label: string;
4336
4334
  id: string;
4335
+ label: string;
4336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4337
4337
  capture: "at_action" | "historical_lookup" | "fixture";
4338
4338
  locator?: string | undefined;
4339
4339
  }, {
4340
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4341
- label: string;
4342
4340
  id: string;
4341
+ label: string;
4342
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4343
4343
  capture: "at_action" | "historical_lookup" | "fixture";
4344
4344
  locator?: string | undefined;
4345
4345
  }>, "many">>;
4346
4346
  }, "strict", z.ZodTypeAny, {
4347
- kind: "mission_completed";
4348
4347
  summary: string;
4349
- outcome: "failed" | "recovered" | "inconclusive";
4348
+ kind: "mission_completed";
4349
+ outcome: "failed" | "inconclusive" | "recovered";
4350
4350
  evidence: {
4351
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4352
- label: string;
4353
4351
  id: string;
4352
+ label: string;
4353
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4354
4354
  capture: "at_action" | "historical_lookup" | "fixture";
4355
4355
  locator?: string | undefined;
4356
4356
  }[];
4357
4357
  }, {
4358
- kind: "mission_completed";
4359
4358
  summary: string;
4360
- outcome: "failed" | "recovered" | "inconclusive";
4359
+ kind: "mission_completed";
4360
+ outcome: "failed" | "inconclusive" | "recovered";
4361
4361
  evidence?: {
4362
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4363
- label: string;
4364
4362
  id: string;
4363
+ label: string;
4364
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4365
4365
  capture: "at_action" | "historical_lookup" | "fixture";
4366
4366
  locator?: string | undefined;
4367
4367
  }[] | undefined;
@@ -4369,38 +4369,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4369
4369
  kind: "mission_started";
4370
4370
  title: string;
4371
4371
  evidence: {
4372
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
- label: string;
4374
4372
  id: string;
4373
+ label: string;
4374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4375
4375
  capture: "at_action" | "historical_lookup" | "fixture";
4376
4376
  locator?: string | undefined;
4377
4377
  }[];
4378
4378
  objective: string;
4379
4379
  runMode: "replay" | "fixture" | "live";
4380
4380
  } | {
4381
- kind: "agent_status";
4382
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4383
4381
  label: string;
4382
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4383
+ kind: "agent_status";
4384
4384
  role: string;
4385
4385
  agentId: string;
4386
4386
  sessionId: string;
4387
4387
  evidence: {
4388
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
- label: string;
4390
4388
  id: string;
4389
+ label: string;
4390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4391
4391
  capture: "at_action" | "historical_lookup" | "fixture";
4392
4392
  locator?: string | undefined;
4393
4393
  }[];
4394
4394
  detail?: string | undefined;
4395
4395
  } | {
4396
- kind: "agent_output";
4397
4396
  summary: string;
4397
+ kind: "agent_output";
4398
4398
  agentId: string;
4399
4399
  sessionId: string;
4400
4400
  evidence: {
4401
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
- label: string;
4403
4401
  id: string;
4402
+ label: string;
4403
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4404
4404
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4405
  locator?: string | undefined;
4406
4406
  }[];
@@ -4411,9 +4411,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4411
4411
  statement: string;
4412
4412
  sessionId: string;
4413
4413
  evidence: {
4414
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4415
- label: string;
4416
4414
  id: string;
4415
+ label: string;
4416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4417
4417
  capture: "at_action" | "historical_lookup" | "fixture";
4418
4418
  locator?: string | undefined;
4419
4419
  }[];
@@ -4421,12 +4421,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4421
4421
  decisionId: string;
4422
4422
  confidence?: number | undefined;
4423
4423
  } | {
4424
- kind: "conflict_detected";
4425
4424
  summary: string;
4425
+ kind: "conflict_detected";
4426
4426
  evidence: {
4427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
- label: string;
4429
4427
  id: string;
4428
+ label: string;
4429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
4430
  capture: "at_action" | "historical_lookup" | "fixture";
4431
4431
  locator?: string | undefined;
4432
4432
  }[];
@@ -4434,14 +4434,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4434
4434
  decisionIds: string[];
4435
4435
  agentIds: string[];
4436
4436
  } | {
4437
- kind: "test_result";
4438
4437
  summary: string;
4439
4438
  status: "error" | "failed" | "passed";
4439
+ kind: "test_result";
4440
4440
  command: string;
4441
4441
  evidence: {
4442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
- label: string;
4444
4442
  id: string;
4443
+ label: string;
4444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
4445
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4446
  locator?: string | undefined;
4447
4447
  }[];
@@ -4454,9 +4454,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4454
4454
  statement: string;
4455
4455
  rationale: string;
4456
4456
  evidence: {
4457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
- label: string;
4459
4457
  id: string;
4458
+ label: string;
4459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
4460
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4461
  locator?: string | undefined;
4462
4462
  }[];
@@ -4468,25 +4468,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4468
4468
  } | {
4469
4469
  kind: "correction_approved";
4470
4470
  evidence: {
4471
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4472
- label: string;
4473
4471
  id: string;
4472
+ label: string;
4473
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4474
4474
  capture: "at_action" | "historical_lookup" | "fixture";
4475
4475
  locator?: string | undefined;
4476
4476
  }[];
4477
4477
  correctionId: string;
4478
4478
  approvedBy: {
4479
- kind: "agent" | "human";
4480
- label: string;
4481
4479
  id: string;
4480
+ label: string;
4481
+ kind: "agent" | "human";
4482
4482
  };
4483
4483
  note?: string | undefined;
4484
4484
  } | {
4485
4485
  kind: "decision_superseded";
4486
4486
  evidence: {
4487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
- label: string;
4489
4487
  id: string;
4488
+ label: string;
4489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4490
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4491
  locator?: string | undefined;
4492
4492
  }[];
@@ -4499,9 +4499,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4499
4499
  agentId: string;
4500
4500
  sessionId: string;
4501
4501
  evidence: {
4502
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4503
- label: string;
4504
4502
  id: string;
4503
+ label: string;
4504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4505
4505
  capture: "at_action" | "historical_lookup" | "fixture";
4506
4506
  locator?: string | undefined;
4507
4507
  }[];
@@ -4513,9 +4513,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4513
4513
  agentId: string;
4514
4514
  sessionId: string;
4515
4515
  evidence: {
4516
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4517
- label: string;
4518
4516
  id: string;
4517
+ label: string;
4518
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4519
4519
  capture: "at_action" | "historical_lookup" | "fixture";
4520
4520
  locator?: string | undefined;
4521
4521
  }[];
@@ -4524,13 +4524,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4524
4524
  recallReceiptId: string;
4525
4525
  staleDecisionAbsent: boolean;
4526
4526
  } | {
4527
- kind: "mission_completed";
4528
4527
  summary: string;
4529
- outcome: "failed" | "recovered" | "inconclusive";
4528
+ kind: "mission_completed";
4529
+ outcome: "failed" | "inconclusive" | "recovered";
4530
4530
  evidence: {
4531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4532
- label: string;
4533
4531
  id: string;
4532
+ label: string;
4533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4534
4534
  capture: "at_action" | "historical_lookup" | "fixture";
4535
4535
  locator?: string | undefined;
4536
4536
  }[];
@@ -4540,37 +4540,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4540
4540
  objective: string;
4541
4541
  runMode: "replay" | "fixture" | "live";
4542
4542
  evidence?: {
4543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4544
- label: string;
4545
4543
  id: string;
4544
+ label: string;
4545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4546
4546
  capture: "at_action" | "historical_lookup" | "fixture";
4547
4547
  locator?: string | undefined;
4548
4548
  }[] | undefined;
4549
4549
  } | {
4550
- kind: "agent_status";
4551
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4552
4550
  label: string;
4551
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4552
+ kind: "agent_status";
4553
4553
  role: string;
4554
4554
  agentId: string;
4555
4555
  sessionId: string;
4556
4556
  detail?: string | undefined;
4557
4557
  evidence?: {
4558
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
- label: string;
4560
4558
  id: string;
4559
+ label: string;
4560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4561
4561
  capture: "at_action" | "historical_lookup" | "fixture";
4562
4562
  locator?: string | undefined;
4563
4563
  }[] | undefined;
4564
4564
  } | {
4565
- kind: "agent_output";
4566
4565
  summary: string;
4566
+ kind: "agent_output";
4567
4567
  agentId: string;
4568
4568
  sessionId: string;
4569
4569
  outputId: string;
4570
4570
  evidence?: {
4571
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4572
- label: string;
4573
4571
  id: string;
4572
+ label: string;
4573
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4574
  capture: "at_action" | "historical_lookup" | "fixture";
4575
4575
  locator?: string | undefined;
4576
4576
  }[] | undefined;
@@ -4583,37 +4583,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4583
4583
  decisionId: string;
4584
4584
  confidence?: number | undefined;
4585
4585
  evidence?: {
4586
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4587
- label: string;
4588
4586
  id: string;
4587
+ label: string;
4588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
4589
  capture: "at_action" | "historical_lookup" | "fixture";
4590
4590
  locator?: string | undefined;
4591
4591
  }[] | undefined;
4592
4592
  } | {
4593
- kind: "conflict_detected";
4594
4593
  summary: string;
4594
+ kind: "conflict_detected";
4595
4595
  conflictId: string;
4596
4596
  decisionIds: string[];
4597
4597
  agentIds: string[];
4598
4598
  evidence?: {
4599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
- label: string;
4601
4599
  id: string;
4600
+ label: string;
4601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4602
4602
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4603
  locator?: string | undefined;
4604
4604
  }[] | undefined;
4605
4605
  } | {
4606
- kind: "test_result";
4607
4606
  summary: string;
4608
4607
  status: "error" | "failed" | "passed";
4608
+ kind: "test_result";
4609
4609
  command: string;
4610
4610
  decisionId: string;
4611
4611
  testId: string;
4612
4612
  durationMs?: number | undefined;
4613
4613
  evidence?: {
4614
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4615
- label: string;
4616
4614
  id: string;
4615
+ label: string;
4616
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
4617
  capture: "at_action" | "historical_lookup" | "fixture";
4618
4618
  locator?: string | undefined;
4619
4619
  }[] | undefined;
@@ -4628,9 +4628,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4628
4628
  supersedesDecisionIds: string[];
4629
4629
  proposedBy: string;
4630
4630
  evidence?: {
4631
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4632
- label: string;
4633
4631
  id: string;
4632
+ label: string;
4633
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
4634
  capture: "at_action" | "historical_lookup" | "fixture";
4635
4635
  locator?: string | undefined;
4636
4636
  }[] | undefined;
@@ -4638,15 +4638,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4638
4638
  kind: "correction_approved";
4639
4639
  correctionId: string;
4640
4640
  approvedBy: {
4641
- kind: "agent" | "human";
4642
- label: string;
4643
4641
  id: string;
4642
+ label: string;
4643
+ kind: "agent" | "human";
4644
4644
  };
4645
4645
  note?: string | undefined;
4646
4646
  evidence?: {
4647
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4648
- label: string;
4649
4647
  id: string;
4648
+ label: string;
4649
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4650
4650
  capture: "at_action" | "historical_lookup" | "fixture";
4651
4651
  locator?: string | undefined;
4652
4652
  }[] | undefined;
@@ -4656,9 +4656,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4656
4656
  correctionId: string;
4657
4657
  replacementDecisionId: string;
4658
4658
  evidence?: {
4659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
- label: string;
4661
4659
  id: string;
4660
+ label: string;
4661
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4662
4662
  capture: "at_action" | "historical_lookup" | "fixture";
4663
4663
  locator?: string | undefined;
4664
4664
  }[] | undefined;
@@ -4671,9 +4671,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4671
4671
  recallReceiptId: string;
4672
4672
  capturedAtAction: boolean;
4673
4673
  evidence?: {
4674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
- label: string;
4676
4674
  id: string;
4675
+ label: string;
4676
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4677
4677
  capture: "at_action" | "historical_lookup" | "fixture";
4678
4678
  locator?: string | undefined;
4679
4679
  }[] | undefined;
@@ -4686,63 +4686,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4686
4686
  recallReceiptId: string;
4687
4687
  staleDecisionAbsent: boolean;
4688
4688
  evidence?: {
4689
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4690
- label: string;
4691
4689
  id: string;
4690
+ label: string;
4691
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4692
4692
  capture: "at_action" | "historical_lookup" | "fixture";
4693
4693
  locator?: string | undefined;
4694
4694
  }[] | undefined;
4695
4695
  } | {
4696
- kind: "mission_completed";
4697
4696
  summary: string;
4698
- outcome: "failed" | "recovered" | "inconclusive";
4697
+ kind: "mission_completed";
4698
+ outcome: "failed" | "inconclusive" | "recovered";
4699
4699
  evidence?: {
4700
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4701
- label: string;
4702
4700
  id: string;
4701
+ label: string;
4702
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4703
4703
  capture: "at_action" | "historical_lookup" | "fixture";
4704
4704
  locator?: string | undefined;
4705
4705
  }[] | undefined;
4706
4706
  }>;
4707
4707
  }, "strict", z.ZodTypeAny, {
4708
- schemaVersion: "1";
4708
+ namespace: string;
4709
4709
  recordedAt: string;
4710
+ schemaVersion: "1";
4710
4711
  payload: {
4711
4712
  kind: "mission_started";
4712
4713
  title: string;
4713
4714
  evidence: {
4714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4715
- label: string;
4716
4715
  id: string;
4716
+ label: string;
4717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4717
4718
  capture: "at_action" | "historical_lookup" | "fixture";
4718
4719
  locator?: string | undefined;
4719
4720
  }[];
4720
4721
  objective: string;
4721
4722
  runMode: "replay" | "fixture" | "live";
4722
4723
  } | {
4723
- kind: "agent_status";
4724
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4725
4724
  label: string;
4725
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4726
+ kind: "agent_status";
4726
4727
  role: string;
4727
4728
  agentId: string;
4728
4729
  sessionId: string;
4729
4730
  evidence: {
4730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4731
- label: string;
4732
4731
  id: string;
4732
+ label: string;
4733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4733
4734
  capture: "at_action" | "historical_lookup" | "fixture";
4734
4735
  locator?: string | undefined;
4735
4736
  }[];
4736
4737
  detail?: string | undefined;
4737
4738
  } | {
4738
- kind: "agent_output";
4739
4739
  summary: string;
4740
+ kind: "agent_output";
4740
4741
  agentId: string;
4741
4742
  sessionId: string;
4742
4743
  evidence: {
4743
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4744
- label: string;
4745
4744
  id: string;
4745
+ label: string;
4746
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4746
4747
  capture: "at_action" | "historical_lookup" | "fixture";
4747
4748
  locator?: string | undefined;
4748
4749
  }[];
@@ -4753,9 +4754,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4753
4754
  statement: string;
4754
4755
  sessionId: string;
4755
4756
  evidence: {
4756
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4757
- label: string;
4758
4757
  id: string;
4758
+ label: string;
4759
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4759
4760
  capture: "at_action" | "historical_lookup" | "fixture";
4760
4761
  locator?: string | undefined;
4761
4762
  }[];
@@ -4763,12 +4764,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4763
4764
  decisionId: string;
4764
4765
  confidence?: number | undefined;
4765
4766
  } | {
4766
- kind: "conflict_detected";
4767
4767
  summary: string;
4768
+ kind: "conflict_detected";
4768
4769
  evidence: {
4769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4770
- label: string;
4771
4770
  id: string;
4771
+ label: string;
4772
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4772
4773
  capture: "at_action" | "historical_lookup" | "fixture";
4773
4774
  locator?: string | undefined;
4774
4775
  }[];
@@ -4776,14 +4777,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4776
4777
  decisionIds: string[];
4777
4778
  agentIds: string[];
4778
4779
  } | {
4779
- kind: "test_result";
4780
4780
  summary: string;
4781
4781
  status: "error" | "failed" | "passed";
4782
+ kind: "test_result";
4782
4783
  command: string;
4783
4784
  evidence: {
4784
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4785
- label: string;
4786
4785
  id: string;
4786
+ label: string;
4787
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4787
4788
  capture: "at_action" | "historical_lookup" | "fixture";
4788
4789
  locator?: string | undefined;
4789
4790
  }[];
@@ -4796,9 +4797,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4796
4797
  statement: string;
4797
4798
  rationale: string;
4798
4799
  evidence: {
4799
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4800
- label: string;
4801
4800
  id: string;
4801
+ label: string;
4802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4802
4803
  capture: "at_action" | "historical_lookup" | "fixture";
4803
4804
  locator?: string | undefined;
4804
4805
  }[];
@@ -4810,25 +4811,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4810
4811
  } | {
4811
4812
  kind: "correction_approved";
4812
4813
  evidence: {
4813
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4814
- label: string;
4815
4814
  id: string;
4815
+ label: string;
4816
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4816
4817
  capture: "at_action" | "historical_lookup" | "fixture";
4817
4818
  locator?: string | undefined;
4818
4819
  }[];
4819
4820
  correctionId: string;
4820
4821
  approvedBy: {
4821
- kind: "agent" | "human";
4822
- label: string;
4823
4822
  id: string;
4823
+ label: string;
4824
+ kind: "agent" | "human";
4824
4825
  };
4825
4826
  note?: string | undefined;
4826
4827
  } | {
4827
4828
  kind: "decision_superseded";
4828
4829
  evidence: {
4829
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4830
- label: string;
4831
4830
  id: string;
4831
+ label: string;
4832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4832
4833
  capture: "at_action" | "historical_lookup" | "fixture";
4833
4834
  locator?: string | undefined;
4834
4835
  }[];
@@ -4841,9 +4842,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4841
4842
  agentId: string;
4842
4843
  sessionId: string;
4843
4844
  evidence: {
4844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4845
- label: string;
4846
4845
  id: string;
4846
+ label: string;
4847
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4847
4848
  capture: "at_action" | "historical_lookup" | "fixture";
4848
4849
  locator?: string | undefined;
4849
4850
  }[];
@@ -4855,9 +4856,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4855
4856
  agentId: string;
4856
4857
  sessionId: string;
4857
4858
  evidence: {
4858
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4859
- label: string;
4860
4859
  id: string;
4860
+ label: string;
4861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4861
4862
  capture: "at_action" | "historical_lookup" | "fixture";
4862
4863
  locator?: string | undefined;
4863
4864
  }[];
@@ -4866,63 +4867,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4866
4867
  recallReceiptId: string;
4867
4868
  staleDecisionAbsent: boolean;
4868
4869
  } | {
4869
- kind: "mission_completed";
4870
4870
  summary: string;
4871
- outcome: "failed" | "recovered" | "inconclusive";
4871
+ kind: "mission_completed";
4872
+ outcome: "failed" | "inconclusive" | "recovered";
4872
4873
  evidence: {
4873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4874
- label: string;
4875
4874
  id: string;
4875
+ label: string;
4876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4876
4877
  capture: "at_action" | "historical_lookup" | "fixture";
4877
4878
  locator?: string | undefined;
4878
4879
  }[];
4879
4880
  };
4880
- namespace: string;
4881
4881
  eventId: string;
4882
4882
  occurredAt: string;
4883
4883
  missionId: string;
4884
4884
  idempotencyKey?: string | undefined;
4885
4885
  authenticatedPrincipal?: string | undefined;
4886
4886
  }, {
4887
- schemaVersion: "1";
4887
+ namespace: string;
4888
4888
  recordedAt: string;
4889
+ schemaVersion: "1";
4889
4890
  payload: {
4890
4891
  kind: "mission_started";
4891
4892
  title: string;
4892
4893
  objective: string;
4893
4894
  runMode: "replay" | "fixture" | "live";
4894
4895
  evidence?: {
4895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
- label: string;
4897
4896
  id: string;
4897
+ label: string;
4898
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4898
4899
  capture: "at_action" | "historical_lookup" | "fixture";
4899
4900
  locator?: string | undefined;
4900
4901
  }[] | undefined;
4901
4902
  } | {
4902
- kind: "agent_status";
4903
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4904
4903
  label: string;
4904
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4905
+ kind: "agent_status";
4905
4906
  role: string;
4906
4907
  agentId: string;
4907
4908
  sessionId: string;
4908
4909
  detail?: string | undefined;
4909
4910
  evidence?: {
4910
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4911
- label: string;
4912
4911
  id: string;
4912
+ label: string;
4913
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4913
4914
  capture: "at_action" | "historical_lookup" | "fixture";
4914
4915
  locator?: string | undefined;
4915
4916
  }[] | undefined;
4916
4917
  } | {
4917
- kind: "agent_output";
4918
4918
  summary: string;
4919
+ kind: "agent_output";
4919
4920
  agentId: string;
4920
4921
  sessionId: string;
4921
4922
  outputId: string;
4922
4923
  evidence?: {
4923
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4924
- label: string;
4925
4924
  id: string;
4925
+ label: string;
4926
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4926
4927
  capture: "at_action" | "historical_lookup" | "fixture";
4927
4928
  locator?: string | undefined;
4928
4929
  }[] | undefined;
@@ -4935,37 +4936,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4935
4936
  decisionId: string;
4936
4937
  confidence?: number | undefined;
4937
4938
  evidence?: {
4938
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4939
- label: string;
4940
4939
  id: string;
4940
+ label: string;
4941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4941
4942
  capture: "at_action" | "historical_lookup" | "fixture";
4942
4943
  locator?: string | undefined;
4943
4944
  }[] | undefined;
4944
4945
  } | {
4945
- kind: "conflict_detected";
4946
4946
  summary: string;
4947
+ kind: "conflict_detected";
4947
4948
  conflictId: string;
4948
4949
  decisionIds: string[];
4949
4950
  agentIds: string[];
4950
4951
  evidence?: {
4951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4952
- label: string;
4953
4952
  id: string;
4953
+ label: string;
4954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4954
4955
  capture: "at_action" | "historical_lookup" | "fixture";
4955
4956
  locator?: string | undefined;
4956
4957
  }[] | undefined;
4957
4958
  } | {
4958
- kind: "test_result";
4959
4959
  summary: string;
4960
4960
  status: "error" | "failed" | "passed";
4961
+ kind: "test_result";
4961
4962
  command: string;
4962
4963
  decisionId: string;
4963
4964
  testId: string;
4964
4965
  durationMs?: number | undefined;
4965
4966
  evidence?: {
4966
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4967
- label: string;
4968
4967
  id: string;
4968
+ label: string;
4969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4969
4970
  capture: "at_action" | "historical_lookup" | "fixture";
4970
4971
  locator?: string | undefined;
4971
4972
  }[] | undefined;
@@ -4980,9 +4981,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4980
4981
  supersedesDecisionIds: string[];
4981
4982
  proposedBy: string;
4982
4983
  evidence?: {
4983
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4984
- label: string;
4985
4984
  id: string;
4985
+ label: string;
4986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4986
4987
  capture: "at_action" | "historical_lookup" | "fixture";
4987
4988
  locator?: string | undefined;
4988
4989
  }[] | undefined;
@@ -4990,15 +4991,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4990
4991
  kind: "correction_approved";
4991
4992
  correctionId: string;
4992
4993
  approvedBy: {
4993
- kind: "agent" | "human";
4994
- label: string;
4995
4994
  id: string;
4995
+ label: string;
4996
+ kind: "agent" | "human";
4996
4997
  };
4997
4998
  note?: string | undefined;
4998
4999
  evidence?: {
4999
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5000
- label: string;
5001
5000
  id: string;
5001
+ label: string;
5002
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5002
5003
  capture: "at_action" | "historical_lookup" | "fixture";
5003
5004
  locator?: string | undefined;
5004
5005
  }[] | undefined;
@@ -5008,9 +5009,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5008
5009
  correctionId: string;
5009
5010
  replacementDecisionId: string;
5010
5011
  evidence?: {
5011
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5012
- label: string;
5013
5012
  id: string;
5013
+ label: string;
5014
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5014
5015
  capture: "at_action" | "historical_lookup" | "fixture";
5015
5016
  locator?: string | undefined;
5016
5017
  }[] | undefined;
@@ -5023,9 +5024,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5023
5024
  recallReceiptId: string;
5024
5025
  capturedAtAction: boolean;
5025
5026
  evidence?: {
5026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5027
- label: string;
5028
5027
  id: string;
5028
+ label: string;
5029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5029
5030
  capture: "at_action" | "historical_lookup" | "fixture";
5030
5031
  locator?: string | undefined;
5031
5032
  }[] | undefined;
@@ -5038,25 +5039,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5038
5039
  recallReceiptId: string;
5039
5040
  staleDecisionAbsent: boolean;
5040
5041
  evidence?: {
5041
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5042
- label: string;
5043
5042
  id: string;
5043
+ label: string;
5044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5044
5045
  capture: "at_action" | "historical_lookup" | "fixture";
5045
5046
  locator?: string | undefined;
5046
5047
  }[] | undefined;
5047
5048
  } | {
5048
- kind: "mission_completed";
5049
5049
  summary: string;
5050
- outcome: "failed" | "recovered" | "inconclusive";
5050
+ kind: "mission_completed";
5051
+ outcome: "failed" | "inconclusive" | "recovered";
5051
5052
  evidence?: {
5052
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5053
- label: string;
5054
5053
  id: string;
5054
+ label: string;
5055
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5055
5056
  capture: "at_action" | "historical_lookup" | "fixture";
5056
5057
  locator?: string | undefined;
5057
5058
  }[] | undefined;
5058
5059
  };
5059
- namespace: string;
5060
5060
  eventId: string;
5061
5061
  occurredAt: string;
5062
5062
  missionId: string;