@remnic/core 9.69.28 → 9.69.30

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 (372) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +58 -58
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +1 -1
  5. package/dist/access-authorization-probe.js +59 -59
  6. package/dist/access-boundary.d.ts +1 -1
  7. package/dist/access-boundary.js +58 -58
  8. package/dist/access-cli.js +133 -132
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-coding-context-resolution.js +4 -4
  11. package/dist/access-extraction-force-flush.d.ts +1 -1
  12. package/dist/access-extraction-force-flush.js +58 -58
  13. package/dist/access-http-briefing.d.ts +1 -1
  14. package/dist/access-http-briefing.js +59 -59
  15. package/dist/access-http-lcm-compaction.d.ts +1 -1
  16. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  17. package/dist/access-http-offline-stream.d.ts +1 -1
  18. package/dist/access-http-query.js +60 -60
  19. package/dist/access-http.d.ts +2 -2
  20. package/dist/access-http.js +76 -76
  21. package/dist/access-identity-continuity-surface.js +58 -58
  22. package/dist/access-lcm-surface.d.ts +1 -1
  23. package/dist/access-lcm-surface.js +58 -58
  24. package/dist/access-mcp.d.ts +1 -1
  25. package/dist/access-mcp.js +66 -66
  26. package/dist/access-namespace-preflight.js +58 -58
  27. package/dist/access-observe-transcript.js +4 -4
  28. package/dist/access-observe-write-surface.d.ts +1 -1
  29. package/dist/access-observe-write-surface.js +58 -58
  30. package/dist/access-offline-manifest.js +8 -8
  31. package/dist/access-operations-batch.js +60 -60
  32. package/dist/access-operations.d.ts +6 -6
  33. package/dist/access-operations.js +65 -65
  34. package/dist/access-recall-concurrency.d.ts +1 -1
  35. package/dist/access-recall-concurrency.js +58 -58
  36. package/dist/access-recall-response.d.ts +1 -1
  37. package/dist/access-recall-response.js +58 -58
  38. package/dist/access-recall-surface.d.ts +1 -1
  39. package/dist/access-recall-surface.js +58 -58
  40. package/dist/access-schema.d.ts +91 -91
  41. package/dist/access-schema.js +3 -3
  42. package/dist/access-service-helpers.d.ts +1 -1
  43. package/dist/access-service.d.ts +1 -1
  44. package/dist/access-service.js +58 -58
  45. package/dist/access-surface-catalog.d.ts +1 -1
  46. package/dist/access-surface-catalog.js +60 -60
  47. package/dist/active-recall.js +11 -11
  48. package/dist/adapters/index.js +4 -4
  49. package/dist/adapters/registry.js +2 -2
  50. package/dist/{auto-sync-WNGG2GC2.js → auto-sync-NSHLUAQI.js} +7 -7
  51. package/dist/briefing.js +19 -19
  52. package/dist/buffer.js +9 -9
  53. package/dist/calibration.js +4 -4
  54. package/dist/causal-consolidation.js +21 -21
  55. package/dist/{chunk-OO42R444.js → chunk-2MFH376S.js} +3 -3
  56. package/dist/{chunk-NXH34IPL.js → chunk-353KGBKY.js} +2 -2
  57. package/dist/{chunk-DZD3WGCD.js → chunk-3JVLGJCY.js} +2 -2
  58. package/dist/{chunk-NOPN47AL.js → chunk-47DEYNMR.js} +2 -2
  59. package/dist/chunk-4NZQ7IID.js +63 -0
  60. package/dist/chunk-4NZQ7IID.js.map +1 -0
  61. package/dist/{chunk-2OO6TPQG.js → chunk-4UDQUPT5.js} +2 -2
  62. package/dist/{chunk-IE57QQSZ.js → chunk-565C6ZFO.js} +2 -2
  63. package/dist/{chunk-C6XEXTSJ.js → chunk-5ABN4WVL.js} +44 -44
  64. package/dist/{chunk-W7OU4I3Y.js → chunk-666OOKB7.js} +2 -2
  65. package/dist/{chunk-EYIEWJNI.js → chunk-6KH5NLQS.js} +2 -2
  66. package/dist/{chunk-R55WAWS3.js → chunk-7DUFJAOE.js} +40 -40
  67. package/dist/{chunk-EMDLM3LW.js → chunk-7IRZK6MM.js} +2 -2
  68. package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
  69. package/dist/{chunk-RFWEDCRC.js → chunk-7VJXIDOC.js} +12 -12
  70. package/dist/{chunk-IVKIODHO.js → chunk-A7XEPMQ6.js} +5 -5
  71. package/dist/{chunk-K6MV3TRQ.js → chunk-ADXCCZL2.js} +2 -2
  72. package/dist/{chunk-GC65K6DI.js → chunk-AOCP6JA7.js} +4 -4
  73. package/dist/{chunk-JBPKEARU.js → chunk-AU7Q3LSC.js} +4 -4
  74. package/dist/{chunk-ND6IQGSZ.js → chunk-BA6WOZOT.js} +2 -2
  75. package/dist/{chunk-JI7U6AS3.js → chunk-C6FQJ52H.js} +2 -2
  76. package/dist/{chunk-IN673LEP.js → chunk-CARRTDKC.js} +2 -2
  77. package/dist/{chunk-HLTAZTN7.js → chunk-CBCNKKZD.js} +2 -2
  78. package/dist/{chunk-DXFG2VGN.js → chunk-CGC5UQCF.js} +2 -2
  79. package/dist/{chunk-YSSAGB2O.js → chunk-CLLPJ6QT.js} +5 -5
  80. package/dist/{chunk-U6S754L6.js → chunk-D5LORF7A.js} +3 -3
  81. package/dist/{chunk-C24UZSFW.js → chunk-DBQWVT2H.js} +2 -2
  82. package/dist/{chunk-XSTNGNJP.js → chunk-DCJ3YFIC.js} +2 -2
  83. package/dist/{chunk-2YDWI2LO.js → chunk-DITMGZOL.js} +2 -2
  84. package/dist/{chunk-LVE64P5Y.js → chunk-E2ZHGBAK.js} +2 -2
  85. package/dist/{chunk-WW3MR6T3.js → chunk-ENMTJRXA.js} +7 -7
  86. package/dist/{chunk-COUYFFID.js → chunk-EYMOJ3J6.js} +2 -2
  87. package/dist/{chunk-INBOGQ3E.js → chunk-EZZV7OQL.js} +2 -2
  88. package/dist/{chunk-MT47LH5L.js → chunk-FBMYGNOC.js} +2 -2
  89. package/dist/{chunk-N3SS45OW.js → chunk-FCSZ4K2X.js} +3 -3
  90. package/dist/{chunk-TWF35IC6.js → chunk-FDLDOEO6.js} +28 -23
  91. package/dist/chunk-FDLDOEO6.js.map +1 -0
  92. package/dist/{chunk-PKS56ZRR.js → chunk-FGGYSN4P.js} +2 -2
  93. package/dist/{chunk-ZMNT26KV.js → chunk-FHQSPTPZ.js} +2 -2
  94. package/dist/{chunk-6GUG4YNM.js → chunk-GGRRF4PZ.js} +2 -2
  95. package/dist/{chunk-YIHKAUS4.js → chunk-GTWHVXPA.js} +3 -3
  96. package/dist/{chunk-UY2RORVF.js → chunk-GVG3JYBI.js} +4 -4
  97. package/dist/{chunk-I3OQBP23.js → chunk-GY5WZBA6.js} +2 -2
  98. package/dist/{chunk-3GCK6ONU.js → chunk-HK32G473.js} +2 -2
  99. package/dist/{chunk-OVAJKCN3.js → chunk-HY55QQD7.js} +2 -2
  100. package/dist/{chunk-YJETZFLJ.js → chunk-I27RSQRR.js} +2 -2
  101. package/dist/{chunk-QIEUU4UK.js → chunk-I55KAVET.js} +2 -2
  102. package/dist/{chunk-UY7VPC6Q.js → chunk-IA2YSHTX.js} +15 -15
  103. package/dist/{chunk-UEEN7GXR.js → chunk-IY2FVXM6.js} +3 -3
  104. package/dist/{chunk-NVOFMARR.js → chunk-JDDXXZWW.js} +2 -2
  105. package/dist/{chunk-2AMEUKCG.js → chunk-JEIXTYVG.js} +2 -2
  106. package/dist/{chunk-ODW5GDFE.js → chunk-JT3EB7ZL.js} +2 -2
  107. package/dist/{chunk-XR67IAXP.js → chunk-KLMESRPV.js} +5 -5
  108. package/dist/{chunk-7LCGFUMB.js → chunk-KQAFEZQX.js} +4 -4
  109. package/dist/{chunk-3K7V3HE6.js → chunk-KXRX7YC2.js} +2 -2
  110. package/dist/{chunk-7RZJWZ46.js → chunk-LEPOP46W.js} +5 -5
  111. package/dist/{chunk-54WHLA65.js → chunk-LRICZIGN.js} +3 -3
  112. package/dist/{chunk-EWCNCQOU.js → chunk-LWA7MDVO.js} +2 -2
  113. package/dist/{chunk-EZKSOM5K.js → chunk-MFJBANPX.js} +2 -2
  114. package/dist/{chunk-OB3XMWX5.js → chunk-MKWKYHXJ.js} +4 -4
  115. package/dist/{chunk-HMKPFW7R.js → chunk-MPAJFFP3.js} +2 -2
  116. package/dist/{chunk-4P43SE4H.js → chunk-MPYD657E.js} +2 -2
  117. package/dist/{chunk-NLDVVWCL.js → chunk-NDNTNE3S.js} +2 -2
  118. package/dist/{chunk-5ISVONB7.js → chunk-NWWXSJX5.js} +2 -2
  119. package/dist/{chunk-QBC33MPY.js → chunk-NZXEK3UF.js} +2 -2
  120. package/dist/{chunk-MYB6DWE5.js → chunk-OGELWNYC.js} +6 -6
  121. package/dist/{chunk-IES4QHLM.js → chunk-OXNU333D.js} +5 -5
  122. package/dist/{chunk-JUC24CTX.js → chunk-P2QRMMVQ.js} +6 -1
  123. package/dist/chunk-P2QRMMVQ.js.map +1 -0
  124. package/dist/{chunk-MSSJSC2V.js → chunk-PEOTOFH5.js} +2 -2
  125. package/dist/{chunk-OYHGTHVX.js → chunk-PHNAB54Q.js} +2 -2
  126. package/dist/{chunk-R5T5FB2R.js → chunk-PLBW64UM.js} +62 -62
  127. package/dist/{chunk-BD7JTBYP.js → chunk-PSPABFN2.js} +4 -4
  128. package/dist/{chunk-WOOTZ6DH.js → chunk-PV36INNL.js} +3 -3
  129. package/dist/{chunk-QW3FMKT2.js → chunk-QDY6KYTN.js} +3 -3
  130. package/dist/{chunk-6TZWGQTT.js → chunk-RAVRDTP7.js} +5 -5
  131. package/dist/{chunk-BIVJCVT2.js → chunk-RBGREYVJ.js} +2 -2
  132. package/dist/{chunk-GGRD3JEH.js → chunk-ROGRI25A.js} +2 -2
  133. package/dist/{chunk-HTPQJ32S.js → chunk-ROKKIMON.js} +2 -2
  134. package/dist/{chunk-5KND6CSX.js → chunk-RSVEP77Y.js} +2 -2
  135. package/dist/{chunk-SV4Z2S67.js → chunk-S5G2LAL7.js} +4 -4
  136. package/dist/{chunk-5PTRLTK2.js → chunk-S65WXHNK.js} +2 -2
  137. package/dist/{chunk-XPFC6D45.js → chunk-S7DPKM5W.js} +41 -31
  138. package/dist/chunk-S7DPKM5W.js.map +1 -0
  139. package/dist/{chunk-3FEH4C4V.js → chunk-SB6PSOP7.js} +1 -1
  140. package/dist/{chunk-S2DU3UBN.js → chunk-SH2ZWEWB.js} +6 -6
  141. package/dist/{chunk-Z5XE7AMC.js → chunk-SMOFBBPU.js} +2 -2
  142. package/dist/{chunk-GRCREL6Q.js → chunk-SQJ3SDIW.js} +11 -11
  143. package/dist/{chunk-YFDJVB2K.js → chunk-T7CJQVRZ.js} +2 -2
  144. package/dist/{chunk-EIJR4PZL.js → chunk-TEYN7ZYF.js} +5 -5
  145. package/dist/{chunk-JALOAKSZ.js → chunk-TLPZ6MKZ.js} +4 -4
  146. package/dist/{chunk-BHHONFSK.js → chunk-U34EHBPL.js} +2 -2
  147. package/dist/{chunk-DFEODULB.js → chunk-V2HHAAPI.js} +2 -2
  148. package/dist/{chunk-KEF46KL2.js → chunk-V6EGNVUT.js} +3 -3
  149. package/dist/{chunk-ESNFSSO4.js → chunk-VGXM5B4H.js} +2 -2
  150. package/dist/{chunk-MJUCDM3C.js → chunk-VLXBE57O.js} +2 -2
  151. package/dist/{chunk-YGTSOVCR.js → chunk-VP67GZ7T.js} +2 -2
  152. package/dist/{chunk-ALBYEXFX.js → chunk-VZWXFXLX.js} +2 -2
  153. package/dist/{chunk-NC7RM2XS.js → chunk-W64HKJJM.js} +3 -3
  154. package/dist/{chunk-OMLGLMWL.js → chunk-WHBVXTUI.js} +9 -9
  155. package/dist/{chunk-4KMGFWQY.js → chunk-WJBZMNNS.js} +8 -8
  156. package/dist/{chunk-WFZBRS6N.js → chunk-X74UAWSI.js} +2 -2
  157. package/dist/{chunk-EGALNSZ4.js → chunk-XU6OEECT.js} +3 -3
  158. package/dist/{chunk-4FIH6MPS.js → chunk-YHLWPYHT.js} +3 -3
  159. package/dist/{chunk-PAZY2ZKP.js → chunk-YQAXP5AC.js} +2 -2
  160. package/dist/{chunk-ZNR5SVUI.js → chunk-YUMDFDUA.js} +3 -3
  161. package/dist/{chunk-7HYPN2GC.js → chunk-ZG74PWRW.js} +2 -2
  162. package/dist/{chunk-TDYAIXHK.js → chunk-ZHXSOMYH.js} +4 -4
  163. package/dist/{chunk-TNSCIPBQ.js → chunk-ZNJSBIP4.js} +4 -4
  164. package/dist/{cli-BqMNkQn5.d.ts → cli-DD0P-lu8.d.ts} +1 -1
  165. package/dist/cli.d.ts +2 -2
  166. package/dist/cli.js +101 -101
  167. package/dist/coding/export-okf-codegraph.js +21 -21
  168. package/dist/compounding/engine.js +20 -20
  169. package/dist/config-discovery.d.ts +26 -0
  170. package/dist/config-discovery.js +11 -0
  171. package/dist/config-security.js +2 -2
  172. package/dist/config.js +11 -11
  173. package/dist/connectors/codex-materialize-runner.js +20 -20
  174. package/dist/connectors/codex-materialize.js +3 -3
  175. package/dist/connectors/index.js +23 -23
  176. package/dist/convergence-refresh.js +21 -21
  177. package/dist/conversation-index/backend.js +2 -2
  178. package/dist/corpus-watermark.js +21 -21
  179. package/dist/deep-recall-http-glue.d.ts +1 -1
  180. package/dist/deep-recall-http-glue.js +4 -4
  181. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  182. package/dist/deep-recall-policy-llm.js +5 -5
  183. package/dist/deep-recall.js +2 -2
  184. package/dist/embedding-fallback.js +2 -2
  185. package/dist/emit-legacy-tools.js +3 -3
  186. package/dist/entity-retrieval.js +19 -19
  187. package/dist/external-wiki-access.d.ts +1 -1
  188. package/dist/external-wiki-access.js +59 -59
  189. package/dist/external-wiki-config.js +3 -3
  190. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  191. package/dist/extraction-faithfulness.js +5 -5
  192. package/dist/extraction-judge.js +5 -5
  193. package/dist/extraction-source-grounding.js +3 -3
  194. package/dist/extraction.js +34 -34
  195. package/dist/fallback-llm.js +4 -4
  196. package/dist/harmonic-retrieval.js +1 -1
  197. package/dist/index.d.ts +680 -678
  198. package/dist/index.js +151 -142
  199. package/dist/live-connectors-runner.js +5 -5
  200. package/dist/local-llm.js +3 -3
  201. package/dist/location/index.js +24 -24
  202. package/dist/maintenance/memory-governance.js +19 -19
  203. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +19 -19
  204. package/dist/maintenance/rebuild-memory-projection.js +20 -20
  205. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  206. package/dist/memory-subject-cli.d.ts +1 -1
  207. package/dist/memory-subject.d.ts +1 -1
  208. package/dist/migrate/from-engram.js +2 -2
  209. package/dist/namespaces/migrate.js +20 -20
  210. package/dist/namespaces/search.js +11 -11
  211. package/dist/namespaces/storage.js +19 -19
  212. package/dist/offline-sync-impression-drain.js +6 -6
  213. package/dist/operator-doctor-corpus.js +22 -22
  214. package/dist/operator-toolkit.js +38 -38
  215. package/dist/opik-exporter.js +1 -1
  216. package/dist/orchestration/maintenance.js +33 -33
  217. package/dist/orchestrator.js +133 -132
  218. package/dist/provenance.js +2 -2
  219. package/dist/{public-http-ByX2eTla.d.ts → public-http-C4i8Opxc.d.ts} +1 -1
  220. package/dist/qmd.js +2 -2
  221. package/dist/recall-planner-llm.js +4 -4
  222. package/dist/reconcile/manifest.js +1 -1
  223. package/dist/resolve-provider-secret.js +2 -2
  224. package/dist/resume-bundles.js +12 -12
  225. package/dist/runtime/env.d.ts +9 -1
  226. package/dist/runtime/env.js +3 -1
  227. package/dist/schemas.d.ts +152 -152
  228. package/dist/sdk-compat.js +1 -1
  229. package/dist/search/factory.js +10 -10
  230. package/dist/search/index.js +15 -15
  231. package/dist/search/lancedb-backend.js +2 -2
  232. package/dist/search/meilisearch-backend.js +2 -2
  233. package/dist/search/orama-backend.js +2 -2
  234. package/dist/semantic-consolidation.js +21 -21
  235. package/dist/semantic-rule-promotion.js +19 -19
  236. package/dist/semantic-rule-verifier.js +19 -19
  237. package/dist/shared-context/manager.d.ts +6 -6
  238. package/dist/shared-context/manager.js +3 -3
  239. package/dist/source-agent-qualifier.js +31 -31
  240. package/dist/standup/build.js +20 -20
  241. package/dist/{state-store-Z3EN56O5.js → state-store-I5HLZTZT.js} +4 -4
  242. package/dist/state-store-I5HLZTZT.js.map +1 -0
  243. package/dist/storage.js +18 -18
  244. package/dist/summarizer.js +7 -7
  245. package/dist/support-passport/index.d.ts +4 -4
  246. package/dist/support-passport/index.js +61 -61
  247. package/dist/tokens.js +2 -2
  248. package/dist/transfer/capsule-export.js +2 -2
  249. package/dist/transfer/capsule-import.js +2 -2
  250. package/dist/transfer/export-okf.js +20 -20
  251. package/dist/transfer/types.d.ts +78 -78
  252. package/dist/utils/path.js +2 -2
  253. package/dist/verified-recall.js +19 -19
  254. package/dist/who-knows-cli.d.ts +1 -1
  255. package/dist/who-knows-cli.js +20 -20
  256. package/dist/who-knows.d.ts +1 -1
  257. package/dist/who-knows.js +19 -19
  258. package/package.json +2 -2
  259. package/src/activity/digest.test.ts +107 -1
  260. package/src/activity/digest.ts +76 -51
  261. package/src/config-discovery.test.ts +63 -0
  262. package/src/config-discovery.ts +90 -0
  263. package/src/index.ts +2 -0
  264. package/src/reconcile/manifest.ts +59 -50
  265. package/src/runtime/env.ts +11 -0
  266. package/dist/chunk-JUC24CTX.js.map +0 -1
  267. package/dist/chunk-TWF35IC6.js.map +0 -1
  268. package/dist/chunk-XPFC6D45.js.map +0 -1
  269. package/dist/{access-service-GrdVg_-Z.d.ts → access-service-DWdY9Mlk.d.ts} +58 -58
  270. /package/dist/{auto-sync-WNGG2GC2.js.map → auto-sync-NSHLUAQI.js.map} +0 -0
  271. /package/dist/{chunk-OO42R444.js.map → chunk-2MFH376S.js.map} +0 -0
  272. /package/dist/{chunk-NXH34IPL.js.map → chunk-353KGBKY.js.map} +0 -0
  273. /package/dist/{chunk-DZD3WGCD.js.map → chunk-3JVLGJCY.js.map} +0 -0
  274. /package/dist/{chunk-NOPN47AL.js.map → chunk-47DEYNMR.js.map} +0 -0
  275. /package/dist/{chunk-2OO6TPQG.js.map → chunk-4UDQUPT5.js.map} +0 -0
  276. /package/dist/{chunk-IE57QQSZ.js.map → chunk-565C6ZFO.js.map} +0 -0
  277. /package/dist/{chunk-C6XEXTSJ.js.map → chunk-5ABN4WVL.js.map} +0 -0
  278. /package/dist/{chunk-W7OU4I3Y.js.map → chunk-666OOKB7.js.map} +0 -0
  279. /package/dist/{chunk-EYIEWJNI.js.map → chunk-6KH5NLQS.js.map} +0 -0
  280. /package/dist/{chunk-R55WAWS3.js.map → chunk-7DUFJAOE.js.map} +0 -0
  281. /package/dist/{chunk-EMDLM3LW.js.map → chunk-7IRZK6MM.js.map} +0 -0
  282. /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
  283. /package/dist/{chunk-RFWEDCRC.js.map → chunk-7VJXIDOC.js.map} +0 -0
  284. /package/dist/{chunk-IVKIODHO.js.map → chunk-A7XEPMQ6.js.map} +0 -0
  285. /package/dist/{chunk-K6MV3TRQ.js.map → chunk-ADXCCZL2.js.map} +0 -0
  286. /package/dist/{chunk-GC65K6DI.js.map → chunk-AOCP6JA7.js.map} +0 -0
  287. /package/dist/{chunk-JBPKEARU.js.map → chunk-AU7Q3LSC.js.map} +0 -0
  288. /package/dist/{chunk-ND6IQGSZ.js.map → chunk-BA6WOZOT.js.map} +0 -0
  289. /package/dist/{chunk-JI7U6AS3.js.map → chunk-C6FQJ52H.js.map} +0 -0
  290. /package/dist/{chunk-IN673LEP.js.map → chunk-CARRTDKC.js.map} +0 -0
  291. /package/dist/{chunk-HLTAZTN7.js.map → chunk-CBCNKKZD.js.map} +0 -0
  292. /package/dist/{chunk-DXFG2VGN.js.map → chunk-CGC5UQCF.js.map} +0 -0
  293. /package/dist/{chunk-YSSAGB2O.js.map → chunk-CLLPJ6QT.js.map} +0 -0
  294. /package/dist/{chunk-U6S754L6.js.map → chunk-D5LORF7A.js.map} +0 -0
  295. /package/dist/{chunk-C24UZSFW.js.map → chunk-DBQWVT2H.js.map} +0 -0
  296. /package/dist/{chunk-XSTNGNJP.js.map → chunk-DCJ3YFIC.js.map} +0 -0
  297. /package/dist/{chunk-2YDWI2LO.js.map → chunk-DITMGZOL.js.map} +0 -0
  298. /package/dist/{chunk-LVE64P5Y.js.map → chunk-E2ZHGBAK.js.map} +0 -0
  299. /package/dist/{chunk-WW3MR6T3.js.map → chunk-ENMTJRXA.js.map} +0 -0
  300. /package/dist/{chunk-COUYFFID.js.map → chunk-EYMOJ3J6.js.map} +0 -0
  301. /package/dist/{chunk-INBOGQ3E.js.map → chunk-EZZV7OQL.js.map} +0 -0
  302. /package/dist/{chunk-MT47LH5L.js.map → chunk-FBMYGNOC.js.map} +0 -0
  303. /package/dist/{chunk-N3SS45OW.js.map → chunk-FCSZ4K2X.js.map} +0 -0
  304. /package/dist/{chunk-PKS56ZRR.js.map → chunk-FGGYSN4P.js.map} +0 -0
  305. /package/dist/{chunk-ZMNT26KV.js.map → chunk-FHQSPTPZ.js.map} +0 -0
  306. /package/dist/{chunk-6GUG4YNM.js.map → chunk-GGRRF4PZ.js.map} +0 -0
  307. /package/dist/{chunk-YIHKAUS4.js.map → chunk-GTWHVXPA.js.map} +0 -0
  308. /package/dist/{chunk-UY2RORVF.js.map → chunk-GVG3JYBI.js.map} +0 -0
  309. /package/dist/{chunk-I3OQBP23.js.map → chunk-GY5WZBA6.js.map} +0 -0
  310. /package/dist/{chunk-3GCK6ONU.js.map → chunk-HK32G473.js.map} +0 -0
  311. /package/dist/{chunk-OVAJKCN3.js.map → chunk-HY55QQD7.js.map} +0 -0
  312. /package/dist/{chunk-YJETZFLJ.js.map → chunk-I27RSQRR.js.map} +0 -0
  313. /package/dist/{chunk-QIEUU4UK.js.map → chunk-I55KAVET.js.map} +0 -0
  314. /package/dist/{chunk-UY7VPC6Q.js.map → chunk-IA2YSHTX.js.map} +0 -0
  315. /package/dist/{chunk-UEEN7GXR.js.map → chunk-IY2FVXM6.js.map} +0 -0
  316. /package/dist/{chunk-NVOFMARR.js.map → chunk-JDDXXZWW.js.map} +0 -0
  317. /package/dist/{chunk-2AMEUKCG.js.map → chunk-JEIXTYVG.js.map} +0 -0
  318. /package/dist/{chunk-ODW5GDFE.js.map → chunk-JT3EB7ZL.js.map} +0 -0
  319. /package/dist/{chunk-XR67IAXP.js.map → chunk-KLMESRPV.js.map} +0 -0
  320. /package/dist/{chunk-7LCGFUMB.js.map → chunk-KQAFEZQX.js.map} +0 -0
  321. /package/dist/{chunk-3K7V3HE6.js.map → chunk-KXRX7YC2.js.map} +0 -0
  322. /package/dist/{chunk-7RZJWZ46.js.map → chunk-LEPOP46W.js.map} +0 -0
  323. /package/dist/{chunk-54WHLA65.js.map → chunk-LRICZIGN.js.map} +0 -0
  324. /package/dist/{chunk-EWCNCQOU.js.map → chunk-LWA7MDVO.js.map} +0 -0
  325. /package/dist/{chunk-EZKSOM5K.js.map → chunk-MFJBANPX.js.map} +0 -0
  326. /package/dist/{chunk-OB3XMWX5.js.map → chunk-MKWKYHXJ.js.map} +0 -0
  327. /package/dist/{chunk-HMKPFW7R.js.map → chunk-MPAJFFP3.js.map} +0 -0
  328. /package/dist/{chunk-4P43SE4H.js.map → chunk-MPYD657E.js.map} +0 -0
  329. /package/dist/{chunk-NLDVVWCL.js.map → chunk-NDNTNE3S.js.map} +0 -0
  330. /package/dist/{chunk-5ISVONB7.js.map → chunk-NWWXSJX5.js.map} +0 -0
  331. /package/dist/{chunk-QBC33MPY.js.map → chunk-NZXEK3UF.js.map} +0 -0
  332. /package/dist/{chunk-MYB6DWE5.js.map → chunk-OGELWNYC.js.map} +0 -0
  333. /package/dist/{chunk-IES4QHLM.js.map → chunk-OXNU333D.js.map} +0 -0
  334. /package/dist/{chunk-MSSJSC2V.js.map → chunk-PEOTOFH5.js.map} +0 -0
  335. /package/dist/{chunk-OYHGTHVX.js.map → chunk-PHNAB54Q.js.map} +0 -0
  336. /package/dist/{chunk-R5T5FB2R.js.map → chunk-PLBW64UM.js.map} +0 -0
  337. /package/dist/{chunk-BD7JTBYP.js.map → chunk-PSPABFN2.js.map} +0 -0
  338. /package/dist/{chunk-WOOTZ6DH.js.map → chunk-PV36INNL.js.map} +0 -0
  339. /package/dist/{chunk-QW3FMKT2.js.map → chunk-QDY6KYTN.js.map} +0 -0
  340. /package/dist/{chunk-6TZWGQTT.js.map → chunk-RAVRDTP7.js.map} +0 -0
  341. /package/dist/{chunk-BIVJCVT2.js.map → chunk-RBGREYVJ.js.map} +0 -0
  342. /package/dist/{chunk-GGRD3JEH.js.map → chunk-ROGRI25A.js.map} +0 -0
  343. /package/dist/{chunk-HTPQJ32S.js.map → chunk-ROKKIMON.js.map} +0 -0
  344. /package/dist/{chunk-5KND6CSX.js.map → chunk-RSVEP77Y.js.map} +0 -0
  345. /package/dist/{chunk-SV4Z2S67.js.map → chunk-S5G2LAL7.js.map} +0 -0
  346. /package/dist/{chunk-5PTRLTK2.js.map → chunk-S65WXHNK.js.map} +0 -0
  347. /package/dist/{chunk-3FEH4C4V.js.map → chunk-SB6PSOP7.js.map} +0 -0
  348. /package/dist/{chunk-S2DU3UBN.js.map → chunk-SH2ZWEWB.js.map} +0 -0
  349. /package/dist/{chunk-Z5XE7AMC.js.map → chunk-SMOFBBPU.js.map} +0 -0
  350. /package/dist/{chunk-GRCREL6Q.js.map → chunk-SQJ3SDIW.js.map} +0 -0
  351. /package/dist/{chunk-YFDJVB2K.js.map → chunk-T7CJQVRZ.js.map} +0 -0
  352. /package/dist/{chunk-EIJR4PZL.js.map → chunk-TEYN7ZYF.js.map} +0 -0
  353. /package/dist/{chunk-JALOAKSZ.js.map → chunk-TLPZ6MKZ.js.map} +0 -0
  354. /package/dist/{chunk-BHHONFSK.js.map → chunk-U34EHBPL.js.map} +0 -0
  355. /package/dist/{chunk-DFEODULB.js.map → chunk-V2HHAAPI.js.map} +0 -0
  356. /package/dist/{chunk-KEF46KL2.js.map → chunk-V6EGNVUT.js.map} +0 -0
  357. /package/dist/{chunk-ESNFSSO4.js.map → chunk-VGXM5B4H.js.map} +0 -0
  358. /package/dist/{chunk-MJUCDM3C.js.map → chunk-VLXBE57O.js.map} +0 -0
  359. /package/dist/{chunk-YGTSOVCR.js.map → chunk-VP67GZ7T.js.map} +0 -0
  360. /package/dist/{chunk-ALBYEXFX.js.map → chunk-VZWXFXLX.js.map} +0 -0
  361. /package/dist/{chunk-NC7RM2XS.js.map → chunk-W64HKJJM.js.map} +0 -0
  362. /package/dist/{chunk-OMLGLMWL.js.map → chunk-WHBVXTUI.js.map} +0 -0
  363. /package/dist/{chunk-4KMGFWQY.js.map → chunk-WJBZMNNS.js.map} +0 -0
  364. /package/dist/{chunk-WFZBRS6N.js.map → chunk-X74UAWSI.js.map} +0 -0
  365. /package/dist/{chunk-EGALNSZ4.js.map → chunk-XU6OEECT.js.map} +0 -0
  366. /package/dist/{chunk-4FIH6MPS.js.map → chunk-YHLWPYHT.js.map} +0 -0
  367. /package/dist/{chunk-PAZY2ZKP.js.map → chunk-YQAXP5AC.js.map} +0 -0
  368. /package/dist/{chunk-ZNR5SVUI.js.map → chunk-YUMDFDUA.js.map} +0 -0
  369. /package/dist/{chunk-7HYPN2GC.js.map → chunk-ZG74PWRW.js.map} +0 -0
  370. /package/dist/{chunk-TDYAIXHK.js.map → chunk-ZHXSOMYH.js.map} +0 -0
  371. /package/dist/{chunk-TNSCIPBQ.js.map → chunk-ZNJSBIP4.js.map} +0 -0
  372. /package/dist/{state-store-Z3EN56O5.js.map → config-discovery.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export { ACTIVE_CONTEXT_ALGORITHM_VERSION, ACTIVE_CONTEXT_PLAN_SCHEMA_VERSION, A
4
4
  export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-resolver.js';
5
5
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
6
6
  export { resolveRemnicConfigRecord } from './config-record.js';
7
+ export { readCompatEnv } from './runtime/env.js';
8
+ export { DiscoveredConfigPath, configPathCandidates, discoverConfigPath } from './config-discovery.js';
7
9
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
8
10
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
9
11
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
@@ -34,8 +36,8 @@ export { bT as ACTION_GATE_DEFAULTS, bU as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
34
36
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
35
37
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
36
38
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
37
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-GrdVg_-Z.js';
38
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-GrdVg_-Z.js';
39
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DWdY9Mlk.js';
40
+ 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-DWdY9Mlk.js';
39
41
  import { LocalLlmClient } from './local-llm.js';
40
42
  import { FallbackLlmClient } from './fallback-llm.js';
41
43
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -58,10 +60,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
58
60
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
59
61
  export { storagePathHash } from './storage-paths.js';
60
62
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
61
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-BqMNkQn5.js';
63
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DD0P-lu8.js';
62
64
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
63
65
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
64
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-ByX2eTla.js';
66
+ 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-C4i8Opxc.js';
65
67
  import { z } from 'zod';
66
68
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
67
69
  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';
@@ -1235,15 +1237,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1235
1237
  locator: z.ZodOptional<z.ZodString>;
1236
1238
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1237
1239
  }, "strict", z.ZodTypeAny, {
1238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
- label: string;
1240
1240
  id: string;
1241
+ label: string;
1242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
1243
  capture: "at_action" | "historical_lookup" | "fixture";
1242
1244
  locator?: string | undefined;
1243
1245
  }, {
1244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
- label: string;
1246
1246
  id: string;
1247
+ label: string;
1248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1249
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1250
  locator?: string | undefined;
1249
1251
  }>;
@@ -1260,15 +1262,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1260
1262
  locator: z.ZodOptional<z.ZodString>;
1261
1263
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1262
1264
  }, "strict", z.ZodTypeAny, {
1263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
- label: string;
1265
1265
  id: string;
1266
+ label: string;
1267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1269
  locator?: string | undefined;
1268
1270
  }, {
1269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
- label: string;
1271
1271
  id: string;
1272
+ label: string;
1273
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1272
1274
  capture: "at_action" | "historical_lookup" | "fixture";
1273
1275
  locator?: string | undefined;
1274
1276
  }>, "many">>;
@@ -1276,9 +1278,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1276
1278
  kind: "mission_started";
1277
1279
  title: string;
1278
1280
  evidence: {
1279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1280
- label: string;
1281
1281
  id: string;
1282
+ label: string;
1283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
1284
  capture: "at_action" | "historical_lookup" | "fixture";
1283
1285
  locator?: string | undefined;
1284
1286
  }[];
@@ -1290,9 +1292,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1290
1292
  objective: string;
1291
1293
  runMode: "replay" | "fixture" | "live";
1292
1294
  evidence?: {
1293
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
- label: string;
1295
1295
  id: string;
1296
+ label: string;
1297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1296
1298
  capture: "at_action" | "historical_lookup" | "fixture";
1297
1299
  locator?: string | undefined;
1298
1300
  }[] | undefined;
@@ -1308,15 +1310,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1308
1310
  locator: z.ZodOptional<z.ZodString>;
1309
1311
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1310
1312
  }, "strict", z.ZodTypeAny, {
1311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
- label: string;
1313
1313
  id: string;
1314
+ label: string;
1315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1315
1317
  locator?: string | undefined;
1316
1318
  }, {
1317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1318
- label: string;
1319
1319
  id: string;
1320
+ label: string;
1321
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1320
1322
  capture: "at_action" | "historical_lookup" | "fixture";
1321
1323
  locator?: string | undefined;
1322
1324
  }>, "many">>;
@@ -1324,32 +1326,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1324
1326
  sessionId: z.ZodString;
1325
1327
  kind: z.ZodLiteral<"agent_status">;
1326
1328
  }, "strict", z.ZodTypeAny, {
1327
- kind: "agent_status";
1328
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1329
1329
  label: string;
1330
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1331
+ kind: "agent_status";
1330
1332
  role: string;
1331
1333
  agentId: string;
1332
1334
  sessionId: string;
1333
1335
  evidence: {
1334
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
- label: string;
1336
1336
  id: string;
1337
+ label: string;
1338
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1337
1339
  capture: "at_action" | "historical_lookup" | "fixture";
1338
1340
  locator?: string | undefined;
1339
1341
  }[];
1340
1342
  detail?: string | undefined;
1341
1343
  }, {
1342
- kind: "agent_status";
1343
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1344
1344
  label: string;
1345
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1346
+ kind: "agent_status";
1345
1347
  role: string;
1346
1348
  agentId: string;
1347
1349
  sessionId: string;
1348
1350
  detail?: string | undefined;
1349
1351
  evidence?: {
1350
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
- label: string;
1352
1352
  id: string;
1353
+ label: string;
1354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1353
1355
  capture: "at_action" | "historical_lookup" | "fixture";
1354
1356
  locator?: string | undefined;
1355
1357
  }[] | undefined;
@@ -1363,15 +1365,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1363
1365
  locator: z.ZodOptional<z.ZodString>;
1364
1366
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1365
1367
  }, "strict", z.ZodTypeAny, {
1366
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
- label: string;
1368
1368
  id: string;
1369
+ label: string;
1370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1371
  capture: "at_action" | "historical_lookup" | "fixture";
1370
1372
  locator?: string | undefined;
1371
1373
  }, {
1372
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
- label: string;
1374
1374
  id: string;
1375
+ label: string;
1376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
1377
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1378
  locator?: string | undefined;
1377
1379
  }>, "many">>;
@@ -1379,28 +1381,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1379
1381
  sessionId: z.ZodString;
1380
1382
  kind: z.ZodLiteral<"agent_output">;
1381
1383
  }, "strict", z.ZodTypeAny, {
1382
- kind: "agent_output";
1383
1384
  summary: string;
1385
+ kind: "agent_output";
1384
1386
  agentId: string;
1385
1387
  sessionId: string;
1386
1388
  evidence: {
1387
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
- label: string;
1389
1389
  id: string;
1390
+ label: string;
1391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
1392
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1393
  locator?: string | undefined;
1392
1394
  }[];
1393
1395
  outputId: string;
1394
1396
  }, {
1395
- kind: "agent_output";
1396
1397
  summary: string;
1398
+ kind: "agent_output";
1397
1399
  agentId: string;
1398
1400
  sessionId: string;
1399
1401
  outputId: string;
1400
1402
  evidence?: {
1401
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
- label: string;
1403
1403
  id: string;
1404
+ label: string;
1405
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
1406
  capture: "at_action" | "historical_lookup" | "fixture";
1405
1407
  locator?: string | undefined;
1406
1408
  }[] | undefined;
@@ -1416,15 +1418,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1416
1418
  locator: z.ZodOptional<z.ZodString>;
1417
1419
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1418
1420
  }, "strict", z.ZodTypeAny, {
1419
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
- label: string;
1421
1421
  id: string;
1422
+ label: string;
1423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1425
  locator?: string | undefined;
1424
1426
  }, {
1425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
- label: string;
1427
1427
  id: string;
1428
+ label: string;
1429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1428
1430
  capture: "at_action" | "historical_lookup" | "fixture";
1429
1431
  locator?: string | undefined;
1430
1432
  }>, "many">>;
@@ -1437,9 +1439,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1437
1439
  statement: string;
1438
1440
  sessionId: string;
1439
1441
  evidence: {
1440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1441
- label: string;
1442
1442
  id: string;
1443
+ label: string;
1444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1443
1445
  capture: "at_action" | "historical_lookup" | "fixture";
1444
1446
  locator?: string | undefined;
1445
1447
  }[];
@@ -1455,9 +1457,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1455
1457
  decisionId: string;
1456
1458
  confidence?: number | undefined;
1457
1459
  evidence?: {
1458
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
- label: string;
1460
1460
  id: string;
1461
+ label: string;
1462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1462
1464
  locator?: string | undefined;
1463
1465
  }[] | undefined;
@@ -1474,25 +1476,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1474
1476
  locator: z.ZodOptional<z.ZodString>;
1475
1477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1476
1478
  }, "strict", z.ZodTypeAny, {
1477
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
- label: string;
1479
1479
  id: string;
1480
+ label: string;
1481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1483
  locator?: string | undefined;
1482
1484
  }, {
1483
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
- label: string;
1485
1485
  id: string;
1486
+ label: string;
1487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1486
1488
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1489
  locator?: string | undefined;
1488
1490
  }>, "many">>;
1489
1491
  }, "strict", z.ZodTypeAny, {
1490
- kind: "conflict_detected";
1491
1492
  summary: string;
1493
+ kind: "conflict_detected";
1492
1494
  evidence: {
1493
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
- label: string;
1495
1495
  id: string;
1496
+ label: string;
1497
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1496
1498
  capture: "at_action" | "historical_lookup" | "fixture";
1497
1499
  locator?: string | undefined;
1498
1500
  }[];
@@ -1500,15 +1502,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1500
1502
  decisionIds: string[];
1501
1503
  agentIds: string[];
1502
1504
  }, {
1503
- kind: "conflict_detected";
1504
1505
  summary: string;
1506
+ kind: "conflict_detected";
1505
1507
  conflictId: string;
1506
1508
  decisionIds: string[];
1507
1509
  agentIds: string[];
1508
1510
  evidence?: {
1509
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1510
- label: string;
1511
1511
  id: string;
1512
+ label: string;
1513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
1514
  capture: "at_action" | "historical_lookup" | "fixture";
1513
1515
  locator?: string | undefined;
1514
1516
  }[] | undefined;
@@ -1528,27 +1530,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1528
1530
  locator: z.ZodOptional<z.ZodString>;
1529
1531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1530
1532
  }, "strict", z.ZodTypeAny, {
1531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
- label: string;
1533
1533
  id: string;
1534
+ label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1535
1537
  locator?: string | undefined;
1536
1538
  }, {
1537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
- label: string;
1539
1539
  id: string;
1540
+ label: string;
1541
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1543
  locator?: string | undefined;
1542
1544
  }>, "many">>;
1543
1545
  }, "strict", z.ZodTypeAny, {
1544
- kind: "test_result";
1545
1546
  summary: string;
1546
1547
  status: "error" | "failed" | "passed";
1548
+ kind: "test_result";
1547
1549
  command: string;
1548
1550
  evidence: {
1549
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
- label: string;
1551
1551
  id: string;
1552
+ label: string;
1553
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1552
1554
  capture: "at_action" | "historical_lookup" | "fixture";
1553
1555
  locator?: string | undefined;
1554
1556
  }[];
@@ -1557,17 +1559,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1557
1559
  durationMs?: number | undefined;
1558
1560
  correctionId?: string | undefined;
1559
1561
  }, {
1560
- kind: "test_result";
1561
1562
  summary: string;
1562
1563
  status: "error" | "failed" | "passed";
1564
+ kind: "test_result";
1563
1565
  command: string;
1564
1566
  decisionId: string;
1565
1567
  testId: string;
1566
1568
  durationMs?: number | undefined;
1567
1569
  evidence?: {
1568
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1569
- label: string;
1570
1570
  id: string;
1571
+ label: string;
1572
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1571
1573
  capture: "at_action" | "historical_lookup" | "fixture";
1572
1574
  locator?: string | undefined;
1573
1575
  }[] | undefined;
@@ -1588,15 +1590,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1588
1590
  locator: z.ZodOptional<z.ZodString>;
1589
1591
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1590
1592
  }, "strict", z.ZodTypeAny, {
1591
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
- label: string;
1593
1593
  id: string;
1594
+ label: string;
1595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1597
  locator?: string | undefined;
1596
1598
  }, {
1597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
- label: string;
1599
1599
  id: string;
1600
+ label: string;
1601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
1602
  capture: "at_action" | "historical_lookup" | "fixture";
1601
1603
  locator?: string | undefined;
1602
1604
  }>, "many">>;
@@ -1605,9 +1607,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1605
1607
  statement: string;
1606
1608
  rationale: string;
1607
1609
  evidence: {
1608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
- label: string;
1610
1610
  id: string;
1611
+ label: string;
1612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1613
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1614
  locator?: string | undefined;
1613
1615
  }[];
@@ -1626,9 +1628,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1626
1628
  supersedesDecisionIds: string[];
1627
1629
  proposedBy: string;
1628
1630
  evidence?: {
1629
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
- label: string;
1631
1631
  id: string;
1632
+ label: string;
1633
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
1634
  capture: "at_action" | "historical_lookup" | "fixture";
1633
1635
  locator?: string | undefined;
1634
1636
  }[] | undefined;
@@ -1640,13 +1642,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1640
1642
  id: z.ZodString;
1641
1643
  label: z.ZodString;
1642
1644
  }, "strict", z.ZodTypeAny, {
1643
- kind: "agent" | "human";
1644
- label: string;
1645
1645
  id: string;
1646
- }, {
1647
- kind: "agent" | "human";
1648
1646
  label: string;
1647
+ kind: "agent" | "human";
1648
+ }, {
1649
1649
  id: string;
1650
+ label: string;
1651
+ kind: "agent" | "human";
1650
1652
  }>;
1651
1653
  note: z.ZodOptional<z.ZodString>;
1652
1654
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1656,47 +1658,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1656
1658
  locator: z.ZodOptional<z.ZodString>;
1657
1659
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1658
1660
  }, "strict", z.ZodTypeAny, {
1659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1660
- label: string;
1661
1661
  id: string;
1662
+ label: string;
1663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1664
  capture: "at_action" | "historical_lookup" | "fixture";
1663
1665
  locator?: string | undefined;
1664
1666
  }, {
1665
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
- label: string;
1667
1667
  id: string;
1668
+ label: string;
1669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1668
1670
  capture: "at_action" | "historical_lookup" | "fixture";
1669
1671
  locator?: string | undefined;
1670
1672
  }>, "many">>;
1671
1673
  }, "strict", z.ZodTypeAny, {
1672
1674
  kind: "correction_approved";
1673
1675
  evidence: {
1674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
- label: string;
1676
1676
  id: string;
1677
+ label: string;
1678
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1677
1679
  capture: "at_action" | "historical_lookup" | "fixture";
1678
1680
  locator?: string | undefined;
1679
1681
  }[];
1680
1682
  correctionId: string;
1681
1683
  approvedBy: {
1682
- kind: "agent" | "human";
1683
- label: string;
1684
1684
  id: string;
1685
+ label: string;
1686
+ kind: "agent" | "human";
1685
1687
  };
1686
1688
  note?: string | undefined;
1687
1689
  }, {
1688
1690
  kind: "correction_approved";
1689
1691
  correctionId: string;
1690
1692
  approvedBy: {
1691
- kind: "agent" | "human";
1692
- label: string;
1693
1693
  id: string;
1694
+ label: string;
1695
+ kind: "agent" | "human";
1694
1696
  };
1695
1697
  note?: string | undefined;
1696
1698
  evidence?: {
1697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
- label: string;
1699
1699
  id: string;
1700
+ label: string;
1701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1702
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1703
  locator?: string | undefined;
1702
1704
  }[] | undefined;
@@ -1712,24 +1714,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1712
1714
  locator: z.ZodOptional<z.ZodString>;
1713
1715
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1714
1716
  }, "strict", z.ZodTypeAny, {
1715
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
- label: string;
1717
1717
  id: string;
1718
+ label: string;
1719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1720
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1721
  locator?: string | undefined;
1720
1722
  }, {
1721
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
- label: string;
1723
1723
  id: string;
1724
+ label: string;
1725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
1726
  capture: "at_action" | "historical_lookup" | "fixture";
1725
1727
  locator?: string | undefined;
1726
1728
  }>, "many">>;
1727
1729
  }, "strict", z.ZodTypeAny, {
1728
1730
  kind: "decision_superseded";
1729
1731
  evidence: {
1730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
- label: string;
1732
1732
  id: string;
1733
+ label: string;
1734
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1733
1735
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1736
  locator?: string | undefined;
1735
1737
  }[];
@@ -1742,9 +1744,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1742
1744
  correctionId: string;
1743
1745
  replacementDecisionId: string;
1744
1746
  evidence?: {
1745
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
- label: string;
1747
1747
  id: string;
1748
+ label: string;
1749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
1750
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1751
  locator?: string | undefined;
1750
1752
  }[] | undefined;
@@ -1760,15 +1762,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1760
1762
  locator: z.ZodOptional<z.ZodString>;
1761
1763
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1762
1764
  }, "strict", z.ZodTypeAny, {
1763
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
- label: string;
1765
1765
  id: string;
1766
+ label: string;
1767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1768
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1769
  locator?: string | undefined;
1768
1770
  }, {
1769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
- label: string;
1771
1771
  id: string;
1772
+ label: string;
1773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
1774
  capture: "at_action" | "historical_lookup" | "fixture";
1773
1775
  locator?: string | undefined;
1774
1776
  }>, "many">>;
@@ -1781,9 +1783,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1781
1783
  agentId: string;
1782
1784
  sessionId: string;
1783
1785
  evidence: {
1784
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1785
- label: string;
1786
1786
  id: string;
1787
+ label: string;
1788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
1789
  capture: "at_action" | "historical_lookup" | "fixture";
1788
1790
  locator?: string | undefined;
1789
1791
  }[];
@@ -1799,9 +1801,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1799
1801
  recallReceiptId: string;
1800
1802
  capturedAtAction: boolean;
1801
1803
  evidence?: {
1802
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
- label: string;
1804
1804
  id: string;
1805
+ label: string;
1806
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1805
1807
  capture: "at_action" | "historical_lookup" | "fixture";
1806
1808
  locator?: string | undefined;
1807
1809
  }[] | undefined;
@@ -1817,15 +1819,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1817
1819
  locator: z.ZodOptional<z.ZodString>;
1818
1820
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1819
1821
  }, "strict", z.ZodTypeAny, {
1820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
- label: string;
1822
1822
  id: string;
1823
+ label: string;
1824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1825
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1826
  locator?: string | undefined;
1825
1827
  }, {
1826
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
- label: string;
1828
1828
  id: string;
1829
+ label: string;
1830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1831
  capture: "at_action" | "historical_lookup" | "fixture";
1830
1832
  locator?: string | undefined;
1831
1833
  }>, "many">>;
@@ -1837,9 +1839,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1837
1839
  agentId: string;
1838
1840
  sessionId: string;
1839
1841
  evidence: {
1840
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1841
- label: string;
1842
1842
  id: string;
1843
+ label: string;
1844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
1845
  capture: "at_action" | "historical_lookup" | "fixture";
1844
1846
  locator?: string | undefined;
1845
1847
  }[];
@@ -1856,9 +1858,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1856
1858
  recallReceiptId: string;
1857
1859
  staleDecisionAbsent: boolean;
1858
1860
  evidence?: {
1859
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
- label: string;
1861
1861
  id: string;
1862
+ label: string;
1863
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1862
1864
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1865
  locator?: string | undefined;
1864
1866
  }[] | undefined;
@@ -1873,37 +1875,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1873
1875
  locator: z.ZodOptional<z.ZodString>;
1874
1876
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1875
1877
  }, "strict", z.ZodTypeAny, {
1876
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1877
- label: string;
1878
1878
  id: string;
1879
+ label: string;
1880
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1881
  capture: "at_action" | "historical_lookup" | "fixture";
1880
1882
  locator?: string | undefined;
1881
1883
  }, {
1882
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
- label: string;
1884
1884
  id: string;
1885
+ label: string;
1886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
1887
  capture: "at_action" | "historical_lookup" | "fixture";
1886
1888
  locator?: string | undefined;
1887
1889
  }>, "many">>;
1888
1890
  }, "strict", z.ZodTypeAny, {
1889
- kind: "mission_completed";
1890
1891
  summary: string;
1892
+ kind: "mission_completed";
1891
1893
  outcome: "failed" | "recovered" | "inconclusive";
1892
1894
  evidence: {
1893
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
- label: string;
1895
1895
  id: string;
1896
+ label: string;
1897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
1898
  capture: "at_action" | "historical_lookup" | "fixture";
1897
1899
  locator?: string | undefined;
1898
1900
  }[];
1899
1901
  }, {
1900
- kind: "mission_completed";
1901
1902
  summary: string;
1903
+ kind: "mission_completed";
1902
1904
  outcome: "failed" | "recovered" | "inconclusive";
1903
1905
  evidence?: {
1904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
- label: string;
1906
1906
  id: string;
1907
+ label: string;
1908
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1909
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1910
  locator?: string | undefined;
1909
1911
  }[] | undefined;
@@ -1911,38 +1913,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1911
1913
  kind: "mission_started";
1912
1914
  title: string;
1913
1915
  evidence: {
1914
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
- label: string;
1916
1916
  id: string;
1917
+ label: string;
1918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
1919
  capture: "at_action" | "historical_lookup" | "fixture";
1918
1920
  locator?: string | undefined;
1919
1921
  }[];
1920
1922
  objective: string;
1921
1923
  runMode: "replay" | "fixture" | "live";
1922
1924
  } | {
1923
- kind: "agent_status";
1924
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1925
1925
  label: string;
1926
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1927
+ kind: "agent_status";
1926
1928
  role: string;
1927
1929
  agentId: string;
1928
1930
  sessionId: string;
1929
1931
  evidence: {
1930
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
- label: string;
1932
1932
  id: string;
1933
+ label: string;
1934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1936
  locator?: string | undefined;
1935
1937
  }[];
1936
1938
  detail?: string | undefined;
1937
1939
  } | {
1938
- kind: "agent_output";
1939
1940
  summary: string;
1941
+ kind: "agent_output";
1940
1942
  agentId: string;
1941
1943
  sessionId: string;
1942
1944
  evidence: {
1943
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1944
- label: string;
1945
1945
  id: string;
1946
+ label: string;
1947
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1947
1949
  locator?: string | undefined;
1948
1950
  }[];
@@ -1953,9 +1955,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1953
1955
  statement: string;
1954
1956
  sessionId: string;
1955
1957
  evidence: {
1956
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
- label: string;
1958
1958
  id: string;
1959
+ label: string;
1960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
1961
  capture: "at_action" | "historical_lookup" | "fixture";
1960
1962
  locator?: string | undefined;
1961
1963
  }[];
@@ -1963,12 +1965,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1963
1965
  decisionId: string;
1964
1966
  confidence?: number | undefined;
1965
1967
  } | {
1966
- kind: "conflict_detected";
1967
1968
  summary: string;
1969
+ kind: "conflict_detected";
1968
1970
  evidence: {
1969
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
- label: string;
1971
1971
  id: string;
1972
+ label: string;
1973
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
1974
  capture: "at_action" | "historical_lookup" | "fixture";
1973
1975
  locator?: string | undefined;
1974
1976
  }[];
@@ -1976,14 +1978,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1976
1978
  decisionIds: string[];
1977
1979
  agentIds: string[];
1978
1980
  } | {
1979
- kind: "test_result";
1980
1981
  summary: string;
1981
1982
  status: "error" | "failed" | "passed";
1983
+ kind: "test_result";
1982
1984
  command: string;
1983
1985
  evidence: {
1984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
- label: string;
1986
1986
  id: string;
1987
+ label: string;
1988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
1989
  capture: "at_action" | "historical_lookup" | "fixture";
1988
1990
  locator?: string | undefined;
1989
1991
  }[];
@@ -1996,9 +1998,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1996
1998
  statement: string;
1997
1999
  rationale: string;
1998
2000
  evidence: {
1999
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
- label: string;
2001
2001
  id: string;
2002
+ label: string;
2003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
2004
  capture: "at_action" | "historical_lookup" | "fixture";
2003
2005
  locator?: string | undefined;
2004
2006
  }[];
@@ -2010,25 +2012,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2010
2012
  } | {
2011
2013
  kind: "correction_approved";
2012
2014
  evidence: {
2013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
- label: string;
2015
2015
  id: string;
2016
+ label: string;
2017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
2018
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2019
  locator?: string | undefined;
2018
2020
  }[];
2019
2021
  correctionId: string;
2020
2022
  approvedBy: {
2021
- kind: "agent" | "human";
2022
- label: string;
2023
2023
  id: string;
2024
+ label: string;
2025
+ kind: "agent" | "human";
2024
2026
  };
2025
2027
  note?: string | undefined;
2026
2028
  } | {
2027
2029
  kind: "decision_superseded";
2028
2030
  evidence: {
2029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
- label: string;
2031
2031
  id: string;
2032
+ label: string;
2033
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2034
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2035
  locator?: string | undefined;
2034
2036
  }[];
@@ -2041,9 +2043,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2041
2043
  agentId: string;
2042
2044
  sessionId: string;
2043
2045
  evidence: {
2044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
- label: string;
2046
2046
  id: string;
2047
+ label: string;
2048
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2049
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2050
  locator?: string | undefined;
2049
2051
  }[];
@@ -2055,9 +2057,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2055
2057
  agentId: string;
2056
2058
  sessionId: string;
2057
2059
  evidence: {
2058
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2059
- label: string;
2060
2060
  id: string;
2061
+ label: string;
2062
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2063
  capture: "at_action" | "historical_lookup" | "fixture";
2062
2064
  locator?: string | undefined;
2063
2065
  }[];
@@ -2066,13 +2068,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2066
2068
  recallReceiptId: string;
2067
2069
  staleDecisionAbsent: boolean;
2068
2070
  } | {
2069
- kind: "mission_completed";
2070
2071
  summary: string;
2072
+ kind: "mission_completed";
2071
2073
  outcome: "failed" | "recovered" | "inconclusive";
2072
2074
  evidence: {
2073
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
- label: string;
2075
2075
  id: string;
2076
+ label: string;
2077
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
2078
  capture: "at_action" | "historical_lookup" | "fixture";
2077
2079
  locator?: string | undefined;
2078
2080
  }[];
@@ -2082,37 +2084,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2082
2084
  objective: string;
2083
2085
  runMode: "replay" | "fixture" | "live";
2084
2086
  evidence?: {
2085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
- label: string;
2087
2087
  id: string;
2088
+ label: string;
2089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2090
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2091
  locator?: string | undefined;
2090
2092
  }[] | undefined;
2091
2093
  } | {
2092
- kind: "agent_status";
2093
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2094
2094
  label: string;
2095
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2096
+ kind: "agent_status";
2095
2097
  role: string;
2096
2098
  agentId: string;
2097
2099
  sessionId: string;
2098
2100
  detail?: string | undefined;
2099
2101
  evidence?: {
2100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
- label: string;
2102
2102
  id: string;
2103
+ label: string;
2104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2105
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2106
  locator?: string | undefined;
2105
2107
  }[] | undefined;
2106
2108
  } | {
2107
- kind: "agent_output";
2108
2109
  summary: string;
2110
+ kind: "agent_output";
2109
2111
  agentId: string;
2110
2112
  sessionId: string;
2111
2113
  outputId: string;
2112
2114
  evidence?: {
2113
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
- label: string;
2115
2115
  id: string;
2116
+ label: string;
2117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2116
2118
  capture: "at_action" | "historical_lookup" | "fixture";
2117
2119
  locator?: string | undefined;
2118
2120
  }[] | undefined;
@@ -2125,37 +2127,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2125
2127
  decisionId: string;
2126
2128
  confidence?: number | undefined;
2127
2129
  evidence?: {
2128
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
- label: string;
2130
2130
  id: string;
2131
+ label: string;
2132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
2133
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2134
  locator?: string | undefined;
2133
2135
  }[] | undefined;
2134
2136
  } | {
2135
- kind: "conflict_detected";
2136
2137
  summary: string;
2138
+ kind: "conflict_detected";
2137
2139
  conflictId: string;
2138
2140
  decisionIds: string[];
2139
2141
  agentIds: string[];
2140
2142
  evidence?: {
2141
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
- label: string;
2143
2143
  id: string;
2144
+ label: string;
2145
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2144
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2145
2147
  locator?: string | undefined;
2146
2148
  }[] | undefined;
2147
2149
  } | {
2148
- kind: "test_result";
2149
2150
  summary: string;
2150
2151
  status: "error" | "failed" | "passed";
2152
+ kind: "test_result";
2151
2153
  command: string;
2152
2154
  decisionId: string;
2153
2155
  testId: string;
2154
2156
  durationMs?: number | undefined;
2155
2157
  evidence?: {
2156
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
- label: string;
2158
2158
  id: string;
2159
+ label: string;
2160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
2161
  capture: "at_action" | "historical_lookup" | "fixture";
2160
2162
  locator?: string | undefined;
2161
2163
  }[] | undefined;
@@ -2170,9 +2172,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2170
2172
  supersedesDecisionIds: string[];
2171
2173
  proposedBy: string;
2172
2174
  evidence?: {
2173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
- label: string;
2175
2175
  id: string;
2176
+ label: string;
2177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
2178
  capture: "at_action" | "historical_lookup" | "fixture";
2177
2179
  locator?: string | undefined;
2178
2180
  }[] | undefined;
@@ -2180,15 +2182,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2180
2182
  kind: "correction_approved";
2181
2183
  correctionId: string;
2182
2184
  approvedBy: {
2183
- kind: "agent" | "human";
2184
- label: string;
2185
2185
  id: string;
2186
+ label: string;
2187
+ kind: "agent" | "human";
2186
2188
  };
2187
2189
  note?: string | undefined;
2188
2190
  evidence?: {
2189
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
- label: string;
2191
2191
  id: string;
2192
+ label: string;
2193
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2193
2195
  locator?: string | undefined;
2194
2196
  }[] | undefined;
@@ -2198,9 +2200,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2198
2200
  correctionId: string;
2199
2201
  replacementDecisionId: string;
2200
2202
  evidence?: {
2201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
- label: string;
2203
2203
  id: string;
2204
+ label: string;
2205
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
2206
  capture: "at_action" | "historical_lookup" | "fixture";
2205
2207
  locator?: string | undefined;
2206
2208
  }[] | undefined;
@@ -2213,9 +2215,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2213
2215
  recallReceiptId: string;
2214
2216
  capturedAtAction: boolean;
2215
2217
  evidence?: {
2216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
- label: string;
2218
2218
  id: string;
2219
+ label: string;
2220
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2219
2221
  capture: "at_action" | "historical_lookup" | "fixture";
2220
2222
  locator?: string | undefined;
2221
2223
  }[] | undefined;
@@ -2228,20 +2230,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2228
2230
  recallReceiptId: string;
2229
2231
  staleDecisionAbsent: boolean;
2230
2232
  evidence?: {
2231
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
- label: string;
2233
2233
  id: string;
2234
+ label: string;
2235
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
2236
  capture: "at_action" | "historical_lookup" | "fixture";
2235
2237
  locator?: string | undefined;
2236
2238
  }[] | undefined;
2237
2239
  } | {
2238
- kind: "mission_completed";
2239
2240
  summary: string;
2241
+ kind: "mission_completed";
2240
2242
  outcome: "failed" | "recovered" | "inconclusive";
2241
2243
  evidence?: {
2242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
- label: string;
2244
2244
  id: string;
2245
+ label: string;
2246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2245
2247
  capture: "at_action" | "historical_lookup" | "fixture";
2246
2248
  locator?: string | undefined;
2247
2249
  }[] | undefined;
@@ -2262,15 +2264,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2262
2264
  locator: z.ZodOptional<z.ZodString>;
2263
2265
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2264
2266
  }, "strict", z.ZodTypeAny, {
2265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
- label: string;
2267
2267
  id: string;
2268
+ label: string;
2269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2271
  locator?: string | undefined;
2270
2272
  }, {
2271
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
- label: string;
2273
2273
  id: string;
2274
+ label: string;
2275
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2274
2276
  capture: "at_action" | "historical_lookup" | "fixture";
2275
2277
  locator?: string | undefined;
2276
2278
  }>, "many">>;
@@ -2278,9 +2280,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2278
2280
  kind: "mission_started";
2279
2281
  title: string;
2280
2282
  evidence: {
2281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2282
- label: string;
2283
2283
  id: string;
2284
+ label: string;
2285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
2286
  capture: "at_action" | "historical_lookup" | "fixture";
2285
2287
  locator?: string | undefined;
2286
2288
  }[];
@@ -2292,9 +2294,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2292
2294
  objective: string;
2293
2295
  runMode: "replay" | "fixture" | "live";
2294
2296
  evidence?: {
2295
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
- label: string;
2297
2297
  id: string;
2298
+ label: string;
2299
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2298
2300
  capture: "at_action" | "historical_lookup" | "fixture";
2299
2301
  locator?: string | undefined;
2300
2302
  }[] | undefined;
@@ -2310,15 +2312,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2310
2312
  locator: z.ZodOptional<z.ZodString>;
2311
2313
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2312
2314
  }, "strict", z.ZodTypeAny, {
2313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
- label: string;
2315
2315
  id: string;
2316
+ label: string;
2317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2317
2319
  locator?: string | undefined;
2318
2320
  }, {
2319
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
- label: string;
2321
2321
  id: string;
2322
+ label: string;
2323
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2322
2324
  capture: "at_action" | "historical_lookup" | "fixture";
2323
2325
  locator?: string | undefined;
2324
2326
  }>, "many">>;
@@ -2326,32 +2328,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2326
2328
  sessionId: z.ZodString;
2327
2329
  kind: z.ZodLiteral<"agent_status">;
2328
2330
  }, "strict", z.ZodTypeAny, {
2329
- kind: "agent_status";
2330
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2331
2331
  label: string;
2332
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2333
+ kind: "agent_status";
2332
2334
  role: string;
2333
2335
  agentId: string;
2334
2336
  sessionId: string;
2335
2337
  evidence: {
2336
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
- label: string;
2338
2338
  id: string;
2339
+ label: string;
2340
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2339
2341
  capture: "at_action" | "historical_lookup" | "fixture";
2340
2342
  locator?: string | undefined;
2341
2343
  }[];
2342
2344
  detail?: string | undefined;
2343
2345
  }, {
2344
- kind: "agent_status";
2345
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2346
2346
  label: string;
2347
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2348
+ kind: "agent_status";
2347
2349
  role: string;
2348
2350
  agentId: string;
2349
2351
  sessionId: string;
2350
2352
  detail?: string | undefined;
2351
2353
  evidence?: {
2352
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
- label: string;
2354
2354
  id: string;
2355
+ label: string;
2356
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2355
2357
  capture: "at_action" | "historical_lookup" | "fixture";
2356
2358
  locator?: string | undefined;
2357
2359
  }[] | undefined;
@@ -2365,15 +2367,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2365
2367
  locator: z.ZodOptional<z.ZodString>;
2366
2368
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2367
2369
  }, "strict", z.ZodTypeAny, {
2368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
- label: string;
2370
2370
  id: string;
2371
+ label: string;
2372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2373
  capture: "at_action" | "historical_lookup" | "fixture";
2372
2374
  locator?: string | undefined;
2373
2375
  }, {
2374
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
- label: string;
2376
2376
  id: string;
2377
+ label: string;
2378
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
2379
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2380
  locator?: string | undefined;
2379
2381
  }>, "many">>;
@@ -2381,28 +2383,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2381
2383
  sessionId: z.ZodString;
2382
2384
  kind: z.ZodLiteral<"agent_output">;
2383
2385
  }, "strict", z.ZodTypeAny, {
2384
- kind: "agent_output";
2385
2386
  summary: string;
2387
+ kind: "agent_output";
2386
2388
  agentId: string;
2387
2389
  sessionId: string;
2388
2390
  evidence: {
2389
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
- label: string;
2391
2391
  id: string;
2392
+ label: string;
2393
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
2394
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2395
  locator?: string | undefined;
2394
2396
  }[];
2395
2397
  outputId: string;
2396
2398
  }, {
2397
- kind: "agent_output";
2398
2399
  summary: string;
2400
+ kind: "agent_output";
2399
2401
  agentId: string;
2400
2402
  sessionId: string;
2401
2403
  outputId: string;
2402
2404
  evidence?: {
2403
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
- label: string;
2405
2405
  id: string;
2406
+ label: string;
2407
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
2408
  capture: "at_action" | "historical_lookup" | "fixture";
2407
2409
  locator?: string | undefined;
2408
2410
  }[] | undefined;
@@ -2418,15 +2420,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2418
2420
  locator: z.ZodOptional<z.ZodString>;
2419
2421
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2420
2422
  }, "strict", z.ZodTypeAny, {
2421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
- label: string;
2423
2423
  id: string;
2424
+ label: string;
2425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2427
  locator?: string | undefined;
2426
2428
  }, {
2427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
- label: string;
2429
2429
  id: string;
2430
+ label: string;
2431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2430
2432
  capture: "at_action" | "historical_lookup" | "fixture";
2431
2433
  locator?: string | undefined;
2432
2434
  }>, "many">>;
@@ -2439,9 +2441,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2439
2441
  statement: string;
2440
2442
  sessionId: string;
2441
2443
  evidence: {
2442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2443
- label: string;
2444
2444
  id: string;
2445
+ label: string;
2446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2445
2447
  capture: "at_action" | "historical_lookup" | "fixture";
2446
2448
  locator?: string | undefined;
2447
2449
  }[];
@@ -2457,9 +2459,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2457
2459
  decisionId: string;
2458
2460
  confidence?: number | undefined;
2459
2461
  evidence?: {
2460
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
- label: string;
2462
2462
  id: string;
2463
+ label: string;
2464
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2464
2466
  locator?: string | undefined;
2465
2467
  }[] | undefined;
@@ -2476,25 +2478,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2476
2478
  locator: z.ZodOptional<z.ZodString>;
2477
2479
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2478
2480
  }, "strict", z.ZodTypeAny, {
2479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
- label: string;
2481
2481
  id: string;
2482
+ label: string;
2483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2485
  locator?: string | undefined;
2484
2486
  }, {
2485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
- label: string;
2487
2487
  id: string;
2488
+ label: string;
2489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2488
2490
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2491
  locator?: string | undefined;
2490
2492
  }>, "many">>;
2491
2493
  }, "strict", z.ZodTypeAny, {
2492
- kind: "conflict_detected";
2493
2494
  summary: string;
2495
+ kind: "conflict_detected";
2494
2496
  evidence: {
2495
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
- label: string;
2497
2497
  id: string;
2498
+ label: string;
2499
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2498
2500
  capture: "at_action" | "historical_lookup" | "fixture";
2499
2501
  locator?: string | undefined;
2500
2502
  }[];
@@ -2502,15 +2504,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2502
2504
  decisionIds: string[];
2503
2505
  agentIds: string[];
2504
2506
  }, {
2505
- kind: "conflict_detected";
2506
2507
  summary: string;
2508
+ kind: "conflict_detected";
2507
2509
  conflictId: string;
2508
2510
  decisionIds: string[];
2509
2511
  agentIds: string[];
2510
2512
  evidence?: {
2511
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2512
- label: string;
2513
2513
  id: string;
2514
+ label: string;
2515
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
2516
  capture: "at_action" | "historical_lookup" | "fixture";
2515
2517
  locator?: string | undefined;
2516
2518
  }[] | undefined;
@@ -2530,27 +2532,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2530
2532
  locator: z.ZodOptional<z.ZodString>;
2531
2533
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2532
2534
  }, "strict", z.ZodTypeAny, {
2533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
- label: string;
2535
2535
  id: string;
2536
+ label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2537
2539
  locator?: string | undefined;
2538
2540
  }, {
2539
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
- label: string;
2541
2541
  id: string;
2542
+ label: string;
2543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2545
  locator?: string | undefined;
2544
2546
  }>, "many">>;
2545
2547
  }, "strict", z.ZodTypeAny, {
2546
- kind: "test_result";
2547
2548
  summary: string;
2548
2549
  status: "error" | "failed" | "passed";
2550
+ kind: "test_result";
2549
2551
  command: string;
2550
2552
  evidence: {
2551
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
- label: string;
2553
2553
  id: string;
2554
+ label: string;
2555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2554
2556
  capture: "at_action" | "historical_lookup" | "fixture";
2555
2557
  locator?: string | undefined;
2556
2558
  }[];
@@ -2559,17 +2561,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2559
2561
  durationMs?: number | undefined;
2560
2562
  correctionId?: string | undefined;
2561
2563
  }, {
2562
- kind: "test_result";
2563
2564
  summary: string;
2564
2565
  status: "error" | "failed" | "passed";
2566
+ kind: "test_result";
2565
2567
  command: string;
2566
2568
  decisionId: string;
2567
2569
  testId: string;
2568
2570
  durationMs?: number | undefined;
2569
2571
  evidence?: {
2570
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2571
- label: string;
2572
2572
  id: string;
2573
+ label: string;
2574
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2573
2575
  capture: "at_action" | "historical_lookup" | "fixture";
2574
2576
  locator?: string | undefined;
2575
2577
  }[] | undefined;
@@ -2590,15 +2592,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2590
2592
  locator: z.ZodOptional<z.ZodString>;
2591
2593
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2592
2594
  }, "strict", z.ZodTypeAny, {
2593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
- label: string;
2595
2595
  id: string;
2596
+ label: string;
2597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2599
  locator?: string | undefined;
2598
2600
  }, {
2599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
- label: string;
2601
2601
  id: string;
2602
+ label: string;
2603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
2604
  capture: "at_action" | "historical_lookup" | "fixture";
2603
2605
  locator?: string | undefined;
2604
2606
  }>, "many">>;
@@ -2607,9 +2609,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2607
2609
  statement: string;
2608
2610
  rationale: string;
2609
2611
  evidence: {
2610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
- label: string;
2612
2612
  id: string;
2613
+ label: string;
2614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2615
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2616
  locator?: string | undefined;
2615
2617
  }[];
@@ -2628,9 +2630,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2628
2630
  supersedesDecisionIds: string[];
2629
2631
  proposedBy: string;
2630
2632
  evidence?: {
2631
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
- label: string;
2633
2633
  id: string;
2634
+ label: string;
2635
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
2636
  capture: "at_action" | "historical_lookup" | "fixture";
2635
2637
  locator?: string | undefined;
2636
2638
  }[] | undefined;
@@ -2642,13 +2644,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2642
2644
  id: z.ZodString;
2643
2645
  label: z.ZodString;
2644
2646
  }, "strict", z.ZodTypeAny, {
2645
- kind: "agent" | "human";
2646
- label: string;
2647
2647
  id: string;
2648
- }, {
2649
- kind: "agent" | "human";
2650
2648
  label: string;
2649
+ kind: "agent" | "human";
2650
+ }, {
2651
2651
  id: string;
2652
+ label: string;
2653
+ kind: "agent" | "human";
2652
2654
  }>;
2653
2655
  note: z.ZodOptional<z.ZodString>;
2654
2656
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2658,47 +2660,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2658
2660
  locator: z.ZodOptional<z.ZodString>;
2659
2661
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2660
2662
  }, "strict", z.ZodTypeAny, {
2661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2662
- label: string;
2663
2663
  id: string;
2664
+ label: string;
2665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2666
  capture: "at_action" | "historical_lookup" | "fixture";
2665
2667
  locator?: string | undefined;
2666
2668
  }, {
2667
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
- label: string;
2669
2669
  id: string;
2670
+ label: string;
2671
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2670
2672
  capture: "at_action" | "historical_lookup" | "fixture";
2671
2673
  locator?: string | undefined;
2672
2674
  }>, "many">>;
2673
2675
  }, "strict", z.ZodTypeAny, {
2674
2676
  kind: "correction_approved";
2675
2677
  evidence: {
2676
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
- label: string;
2678
2678
  id: string;
2679
+ label: string;
2680
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2679
2681
  capture: "at_action" | "historical_lookup" | "fixture";
2680
2682
  locator?: string | undefined;
2681
2683
  }[];
2682
2684
  correctionId: string;
2683
2685
  approvedBy: {
2684
- kind: "agent" | "human";
2685
- label: string;
2686
2686
  id: string;
2687
+ label: string;
2688
+ kind: "agent" | "human";
2687
2689
  };
2688
2690
  note?: string | undefined;
2689
2691
  }, {
2690
2692
  kind: "correction_approved";
2691
2693
  correctionId: string;
2692
2694
  approvedBy: {
2693
- kind: "agent" | "human";
2694
- label: string;
2695
2695
  id: string;
2696
+ label: string;
2697
+ kind: "agent" | "human";
2696
2698
  };
2697
2699
  note?: string | undefined;
2698
2700
  evidence?: {
2699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
- label: string;
2701
2701
  id: string;
2702
+ label: string;
2703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2704
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2705
  locator?: string | undefined;
2704
2706
  }[] | undefined;
@@ -2714,24 +2716,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2714
2716
  locator: z.ZodOptional<z.ZodString>;
2715
2717
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2716
2718
  }, "strict", z.ZodTypeAny, {
2717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
- label: string;
2719
2719
  id: string;
2720
+ label: string;
2721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2722
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2723
  locator?: string | undefined;
2722
2724
  }, {
2723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
- label: string;
2725
2725
  id: string;
2726
+ label: string;
2727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
2728
  capture: "at_action" | "historical_lookup" | "fixture";
2727
2729
  locator?: string | undefined;
2728
2730
  }>, "many">>;
2729
2731
  }, "strict", z.ZodTypeAny, {
2730
2732
  kind: "decision_superseded";
2731
2733
  evidence: {
2732
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
- label: string;
2734
2734
  id: string;
2735
+ label: string;
2736
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2735
2737
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2738
  locator?: string | undefined;
2737
2739
  }[];
@@ -2744,9 +2746,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2744
2746
  correctionId: string;
2745
2747
  replacementDecisionId: string;
2746
2748
  evidence?: {
2747
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
- label: string;
2749
2749
  id: string;
2750
+ label: string;
2751
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
2752
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2753
  locator?: string | undefined;
2752
2754
  }[] | undefined;
@@ -2762,15 +2764,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2762
2764
  locator: z.ZodOptional<z.ZodString>;
2763
2765
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2764
2766
  }, "strict", z.ZodTypeAny, {
2765
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
- label: string;
2767
2767
  id: string;
2768
+ label: string;
2769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2770
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2771
  locator?: string | undefined;
2770
2772
  }, {
2771
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
- label: string;
2773
2773
  id: string;
2774
+ label: string;
2775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
2776
  capture: "at_action" | "historical_lookup" | "fixture";
2775
2777
  locator?: string | undefined;
2776
2778
  }>, "many">>;
@@ -2783,9 +2785,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2783
2785
  agentId: string;
2784
2786
  sessionId: string;
2785
2787
  evidence: {
2786
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2787
- label: string;
2788
2788
  id: string;
2789
+ label: string;
2790
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
2791
  capture: "at_action" | "historical_lookup" | "fixture";
2790
2792
  locator?: string | undefined;
2791
2793
  }[];
@@ -2801,9 +2803,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2801
2803
  recallReceiptId: string;
2802
2804
  capturedAtAction: boolean;
2803
2805
  evidence?: {
2804
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
- label: string;
2806
2806
  id: string;
2807
+ label: string;
2808
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2807
2809
  capture: "at_action" | "historical_lookup" | "fixture";
2808
2810
  locator?: string | undefined;
2809
2811
  }[] | undefined;
@@ -2819,15 +2821,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2819
2821
  locator: z.ZodOptional<z.ZodString>;
2820
2822
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2821
2823
  }, "strict", z.ZodTypeAny, {
2822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
- label: string;
2824
2824
  id: string;
2825
+ label: string;
2826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2827
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2828
  locator?: string | undefined;
2827
2829
  }, {
2828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
- label: string;
2830
2830
  id: string;
2831
+ label: string;
2832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2833
  capture: "at_action" | "historical_lookup" | "fixture";
2832
2834
  locator?: string | undefined;
2833
2835
  }>, "many">>;
@@ -2839,9 +2841,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2839
2841
  agentId: string;
2840
2842
  sessionId: string;
2841
2843
  evidence: {
2842
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2843
- label: string;
2844
2844
  id: string;
2845
+ label: string;
2846
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
2847
  capture: "at_action" | "historical_lookup" | "fixture";
2846
2848
  locator?: string | undefined;
2847
2849
  }[];
@@ -2858,9 +2860,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2858
2860
  recallReceiptId: string;
2859
2861
  staleDecisionAbsent: boolean;
2860
2862
  evidence?: {
2861
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
- label: string;
2863
2863
  id: string;
2864
+ label: string;
2865
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2864
2866
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2867
  locator?: string | undefined;
2866
2868
  }[] | undefined;
@@ -2875,37 +2877,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2875
2877
  locator: z.ZodOptional<z.ZodString>;
2876
2878
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2877
2879
  }, "strict", z.ZodTypeAny, {
2878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2879
- label: string;
2880
2880
  id: string;
2881
+ label: string;
2882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2883
  capture: "at_action" | "historical_lookup" | "fixture";
2882
2884
  locator?: string | undefined;
2883
2885
  }, {
2884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2885
- label: string;
2886
2886
  id: string;
2887
+ label: string;
2888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
2889
  capture: "at_action" | "historical_lookup" | "fixture";
2888
2890
  locator?: string | undefined;
2889
2891
  }>, "many">>;
2890
2892
  }, "strict", z.ZodTypeAny, {
2891
- kind: "mission_completed";
2892
2893
  summary: string;
2894
+ kind: "mission_completed";
2893
2895
  outcome: "failed" | "recovered" | "inconclusive";
2894
2896
  evidence: {
2895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
- label: string;
2897
2897
  id: string;
2898
+ label: string;
2899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
2900
  capture: "at_action" | "historical_lookup" | "fixture";
2899
2901
  locator?: string | undefined;
2900
2902
  }[];
2901
2903
  }, {
2902
- kind: "mission_completed";
2903
2904
  summary: string;
2905
+ kind: "mission_completed";
2904
2906
  outcome: "failed" | "recovered" | "inconclusive";
2905
2907
  evidence?: {
2906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
- label: string;
2908
2908
  id: string;
2909
+ label: string;
2910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
2911
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2912
  locator?: string | undefined;
2911
2913
  }[] | undefined;
@@ -2913,38 +2915,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2913
2915
  kind: "mission_started";
2914
2916
  title: string;
2915
2917
  evidence: {
2916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
- label: string;
2918
2918
  id: string;
2919
+ label: string;
2920
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
2921
  capture: "at_action" | "historical_lookup" | "fixture";
2920
2922
  locator?: string | undefined;
2921
2923
  }[];
2922
2924
  objective: string;
2923
2925
  runMode: "replay" | "fixture" | "live";
2924
2926
  } | {
2925
- kind: "agent_status";
2926
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2927
2927
  label: string;
2928
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2929
+ kind: "agent_status";
2928
2930
  role: string;
2929
2931
  agentId: string;
2930
2932
  sessionId: string;
2931
2933
  evidence: {
2932
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
- label: string;
2934
2934
  id: string;
2935
+ label: string;
2936
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2935
2937
  capture: "at_action" | "historical_lookup" | "fixture";
2936
2938
  locator?: string | undefined;
2937
2939
  }[];
2938
2940
  detail?: string | undefined;
2939
2941
  } | {
2940
- kind: "agent_output";
2941
2942
  summary: string;
2943
+ kind: "agent_output";
2942
2944
  agentId: string;
2943
2945
  sessionId: string;
2944
2946
  evidence: {
2945
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
- label: string;
2947
2947
  id: string;
2948
+ label: string;
2949
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
2950
  capture: "at_action" | "historical_lookup" | "fixture";
2949
2951
  locator?: string | undefined;
2950
2952
  }[];
@@ -2955,9 +2957,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2957
  statement: string;
2956
2958
  sessionId: string;
2957
2959
  evidence: {
2958
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
- label: string;
2960
2960
  id: string;
2961
+ label: string;
2962
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
2963
  capture: "at_action" | "historical_lookup" | "fixture";
2962
2964
  locator?: string | undefined;
2963
2965
  }[];
@@ -2965,12 +2967,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2965
2967
  decisionId: string;
2966
2968
  confidence?: number | undefined;
2967
2969
  } | {
2968
- kind: "conflict_detected";
2969
2970
  summary: string;
2971
+ kind: "conflict_detected";
2970
2972
  evidence: {
2971
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
- label: string;
2973
2973
  id: string;
2974
+ label: string;
2975
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
2976
  capture: "at_action" | "historical_lookup" | "fixture";
2975
2977
  locator?: string | undefined;
2976
2978
  }[];
@@ -2978,14 +2980,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2978
2980
  decisionIds: string[];
2979
2981
  agentIds: string[];
2980
2982
  } | {
2981
- kind: "test_result";
2982
2983
  summary: string;
2983
2984
  status: "error" | "failed" | "passed";
2985
+ kind: "test_result";
2984
2986
  command: string;
2985
2987
  evidence: {
2986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
- label: string;
2988
2988
  id: string;
2989
+ label: string;
2990
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
2991
  capture: "at_action" | "historical_lookup" | "fixture";
2990
2992
  locator?: string | undefined;
2991
2993
  }[];
@@ -2998,9 +3000,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2998
3000
  statement: string;
2999
3001
  rationale: string;
3000
3002
  evidence: {
3001
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3002
- label: string;
3003
3003
  id: string;
3004
+ label: string;
3005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
3006
  capture: "at_action" | "historical_lookup" | "fixture";
3005
3007
  locator?: string | undefined;
3006
3008
  }[];
@@ -3012,25 +3014,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3012
3014
  } | {
3013
3015
  kind: "correction_approved";
3014
3016
  evidence: {
3015
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
- label: string;
3017
3017
  id: string;
3018
+ label: string;
3019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3020
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3021
  locator?: string | undefined;
3020
3022
  }[];
3021
3023
  correctionId: string;
3022
3024
  approvedBy: {
3023
- kind: "agent" | "human";
3024
- label: string;
3025
3025
  id: string;
3026
+ label: string;
3027
+ kind: "agent" | "human";
3026
3028
  };
3027
3029
  note?: string | undefined;
3028
3030
  } | {
3029
3031
  kind: "decision_superseded";
3030
3032
  evidence: {
3031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
- label: string;
3033
3033
  id: string;
3034
+ label: string;
3035
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
3036
  capture: "at_action" | "historical_lookup" | "fixture";
3035
3037
  locator?: string | undefined;
3036
3038
  }[];
@@ -3043,9 +3045,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3043
3045
  agentId: string;
3044
3046
  sessionId: string;
3045
3047
  evidence: {
3046
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
- label: string;
3048
3048
  id: string;
3049
+ label: string;
3050
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3051
  capture: "at_action" | "historical_lookup" | "fixture";
3050
3052
  locator?: string | undefined;
3051
3053
  }[];
@@ -3057,9 +3059,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3057
3059
  agentId: string;
3058
3060
  sessionId: string;
3059
3061
  evidence: {
3060
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3061
- label: string;
3062
3062
  id: string;
3063
+ label: string;
3064
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3063
3065
  capture: "at_action" | "historical_lookup" | "fixture";
3064
3066
  locator?: string | undefined;
3065
3067
  }[];
@@ -3068,13 +3070,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3068
3070
  recallReceiptId: string;
3069
3071
  staleDecisionAbsent: boolean;
3070
3072
  } | {
3071
- kind: "mission_completed";
3072
3073
  summary: string;
3074
+ kind: "mission_completed";
3073
3075
  outcome: "failed" | "recovered" | "inconclusive";
3074
3076
  evidence: {
3075
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3076
- label: string;
3077
3077
  id: string;
3078
+ label: string;
3079
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3080
  capture: "at_action" | "historical_lookup" | "fixture";
3079
3081
  locator?: string | undefined;
3080
3082
  }[];
@@ -3084,37 +3086,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3084
3086
  objective: string;
3085
3087
  runMode: "replay" | "fixture" | "live";
3086
3088
  evidence?: {
3087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
- label: string;
3089
3089
  id: string;
3090
+ label: string;
3091
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
3092
  capture: "at_action" | "historical_lookup" | "fixture";
3091
3093
  locator?: string | undefined;
3092
3094
  }[] | undefined;
3093
3095
  } | {
3094
- kind: "agent_status";
3095
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3096
3096
  label: string;
3097
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3098
+ kind: "agent_status";
3097
3099
  role: string;
3098
3100
  agentId: string;
3099
3101
  sessionId: string;
3100
3102
  detail?: string | undefined;
3101
3103
  evidence?: {
3102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
- label: string;
3104
3104
  id: string;
3105
+ label: string;
3106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
3107
  capture: "at_action" | "historical_lookup" | "fixture";
3106
3108
  locator?: string | undefined;
3107
3109
  }[] | undefined;
3108
3110
  } | {
3109
- kind: "agent_output";
3110
3111
  summary: string;
3112
+ kind: "agent_output";
3111
3113
  agentId: string;
3112
3114
  sessionId: string;
3113
3115
  outputId: string;
3114
3116
  evidence?: {
3115
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
- label: string;
3117
3117
  id: string;
3118
+ label: string;
3119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
3120
  capture: "at_action" | "historical_lookup" | "fixture";
3119
3121
  locator?: string | undefined;
3120
3122
  }[] | undefined;
@@ -3127,37 +3129,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3127
3129
  decisionId: string;
3128
3130
  confidence?: number | undefined;
3129
3131
  evidence?: {
3130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
- label: string;
3132
3132
  id: string;
3133
+ label: string;
3134
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3136
  locator?: string | undefined;
3135
3137
  }[] | undefined;
3136
3138
  } | {
3137
- kind: "conflict_detected";
3138
3139
  summary: string;
3140
+ kind: "conflict_detected";
3139
3141
  conflictId: string;
3140
3142
  decisionIds: string[];
3141
3143
  agentIds: string[];
3142
3144
  evidence?: {
3143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3144
- label: string;
3145
3145
  id: string;
3146
+ label: string;
3147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3147
3149
  locator?: string | undefined;
3148
3150
  }[] | undefined;
3149
3151
  } | {
3150
- kind: "test_result";
3151
3152
  summary: string;
3152
3153
  status: "error" | "failed" | "passed";
3154
+ kind: "test_result";
3153
3155
  command: string;
3154
3156
  decisionId: string;
3155
3157
  testId: string;
3156
3158
  durationMs?: number | undefined;
3157
3159
  evidence?: {
3158
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3159
- label: string;
3160
3160
  id: string;
3161
+ label: string;
3162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3162
3164
  locator?: string | undefined;
3163
3165
  }[] | undefined;
@@ -3172,9 +3174,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3172
3174
  supersedesDecisionIds: string[];
3173
3175
  proposedBy: string;
3174
3176
  evidence?: {
3175
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
- label: string;
3177
3177
  id: string;
3178
+ label: string;
3179
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3178
3180
  capture: "at_action" | "historical_lookup" | "fixture";
3179
3181
  locator?: string | undefined;
3180
3182
  }[] | undefined;
@@ -3182,15 +3184,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3182
3184
  kind: "correction_approved";
3183
3185
  correctionId: string;
3184
3186
  approvedBy: {
3185
- kind: "agent" | "human";
3186
- label: string;
3187
3187
  id: string;
3188
+ label: string;
3189
+ kind: "agent" | "human";
3188
3190
  };
3189
3191
  note?: string | undefined;
3190
3192
  evidence?: {
3191
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
- label: string;
3193
3193
  id: string;
3194
+ label: string;
3195
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3196
  capture: "at_action" | "historical_lookup" | "fixture";
3195
3197
  locator?: string | undefined;
3196
3198
  }[] | undefined;
@@ -3200,9 +3202,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3200
3202
  correctionId: string;
3201
3203
  replacementDecisionId: string;
3202
3204
  evidence?: {
3203
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
- label: string;
3205
3205
  id: string;
3206
+ label: string;
3207
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3208
  capture: "at_action" | "historical_lookup" | "fixture";
3207
3209
  locator?: string | undefined;
3208
3210
  }[] | undefined;
@@ -3215,9 +3217,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3215
3217
  recallReceiptId: string;
3216
3218
  capturedAtAction: boolean;
3217
3219
  evidence?: {
3218
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
- label: string;
3220
3220
  id: string;
3221
+ label: string;
3222
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3221
3223
  capture: "at_action" | "historical_lookup" | "fixture";
3222
3224
  locator?: string | undefined;
3223
3225
  }[] | undefined;
@@ -3230,20 +3232,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3230
3232
  recallReceiptId: string;
3231
3233
  staleDecisionAbsent: boolean;
3232
3234
  evidence?: {
3233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
- label: string;
3235
3235
  id: string;
3236
+ label: string;
3237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3237
3239
  locator?: string | undefined;
3238
3240
  }[] | undefined;
3239
3241
  } | {
3240
- kind: "mission_completed";
3241
3242
  summary: string;
3243
+ kind: "mission_completed";
3242
3244
  outcome: "failed" | "recovered" | "inconclusive";
3243
3245
  evidence?: {
3244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
- label: string;
3246
3246
  id: string;
3247
+ label: string;
3248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3248
3250
  locator?: string | undefined;
3249
3251
  }[] | undefined;
@@ -3253,38 +3255,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3253
3255
  kind: "mission_started";
3254
3256
  title: string;
3255
3257
  evidence: {
3256
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3257
- label: string;
3258
3258
  id: string;
3259
+ label: string;
3260
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3259
3261
  capture: "at_action" | "historical_lookup" | "fixture";
3260
3262
  locator?: string | undefined;
3261
3263
  }[];
3262
3264
  objective: string;
3263
3265
  runMode: "replay" | "fixture" | "live";
3264
3266
  } | {
3265
- kind: "agent_status";
3266
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3267
3267
  label: string;
3268
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3269
+ kind: "agent_status";
3268
3270
  role: string;
3269
3271
  agentId: string;
3270
3272
  sessionId: string;
3271
3273
  evidence: {
3272
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3273
- label: string;
3274
3274
  id: string;
3275
+ label: string;
3276
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3275
3277
  capture: "at_action" | "historical_lookup" | "fixture";
3276
3278
  locator?: string | undefined;
3277
3279
  }[];
3278
3280
  detail?: string | undefined;
3279
3281
  } | {
3280
- kind: "agent_output";
3281
3282
  summary: string;
3283
+ kind: "agent_output";
3282
3284
  agentId: string;
3283
3285
  sessionId: string;
3284
3286
  evidence: {
3285
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
- label: string;
3287
3287
  id: string;
3288
+ label: string;
3289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3288
3290
  capture: "at_action" | "historical_lookup" | "fixture";
3289
3291
  locator?: string | undefined;
3290
3292
  }[];
@@ -3295,9 +3297,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3295
3297
  statement: string;
3296
3298
  sessionId: string;
3297
3299
  evidence: {
3298
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3299
- label: string;
3300
3300
  id: string;
3301
+ label: string;
3302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3301
3303
  capture: "at_action" | "historical_lookup" | "fixture";
3302
3304
  locator?: string | undefined;
3303
3305
  }[];
@@ -3305,12 +3307,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3305
3307
  decisionId: string;
3306
3308
  confidence?: number | undefined;
3307
3309
  } | {
3308
- kind: "conflict_detected";
3309
3310
  summary: string;
3311
+ kind: "conflict_detected";
3310
3312
  evidence: {
3311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3312
- label: string;
3313
3313
  id: string;
3314
+ label: string;
3315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3314
3316
  capture: "at_action" | "historical_lookup" | "fixture";
3315
3317
  locator?: string | undefined;
3316
3318
  }[];
@@ -3318,14 +3320,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3318
3320
  decisionIds: string[];
3319
3321
  agentIds: string[];
3320
3322
  } | {
3321
- kind: "test_result";
3322
3323
  summary: string;
3323
3324
  status: "error" | "failed" | "passed";
3325
+ kind: "test_result";
3324
3326
  command: string;
3325
3327
  evidence: {
3326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
- label: string;
3328
3328
  id: string;
3329
+ label: string;
3330
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3329
3331
  capture: "at_action" | "historical_lookup" | "fixture";
3330
3332
  locator?: string | undefined;
3331
3333
  }[];
@@ -3338,9 +3340,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3338
3340
  statement: string;
3339
3341
  rationale: string;
3340
3342
  evidence: {
3341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
- label: string;
3343
3343
  id: string;
3344
+ label: string;
3345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3346
  capture: "at_action" | "historical_lookup" | "fixture";
3345
3347
  locator?: string | undefined;
3346
3348
  }[];
@@ -3352,25 +3354,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3352
3354
  } | {
3353
3355
  kind: "correction_approved";
3354
3356
  evidence: {
3355
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
- label: string;
3357
3357
  id: string;
3358
+ label: string;
3359
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
3360
  capture: "at_action" | "historical_lookup" | "fixture";
3359
3361
  locator?: string | undefined;
3360
3362
  }[];
3361
3363
  correctionId: string;
3362
3364
  approvedBy: {
3363
- kind: "agent" | "human";
3364
- label: string;
3365
3365
  id: string;
3366
+ label: string;
3367
+ kind: "agent" | "human";
3366
3368
  };
3367
3369
  note?: string | undefined;
3368
3370
  } | {
3369
3371
  kind: "decision_superseded";
3370
3372
  evidence: {
3371
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
- label: string;
3373
3373
  id: string;
3374
+ label: string;
3375
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
3376
  capture: "at_action" | "historical_lookup" | "fixture";
3375
3377
  locator?: string | undefined;
3376
3378
  }[];
@@ -3383,9 +3385,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3383
3385
  agentId: string;
3384
3386
  sessionId: string;
3385
3387
  evidence: {
3386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
- label: string;
3388
3388
  id: string;
3389
+ label: string;
3390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
3391
  capture: "at_action" | "historical_lookup" | "fixture";
3390
3392
  locator?: string | undefined;
3391
3393
  }[];
@@ -3397,9 +3399,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3397
3399
  agentId: string;
3398
3400
  sessionId: string;
3399
3401
  evidence: {
3400
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3401
- label: string;
3402
3402
  id: string;
3403
+ label: string;
3404
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3403
3405
  capture: "at_action" | "historical_lookup" | "fixture";
3404
3406
  locator?: string | undefined;
3405
3407
  }[];
@@ -3408,13 +3410,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3408
3410
  recallReceiptId: string;
3409
3411
  staleDecisionAbsent: boolean;
3410
3412
  } | {
3411
- kind: "mission_completed";
3412
3413
  summary: string;
3414
+ kind: "mission_completed";
3413
3415
  outcome: "failed" | "recovered" | "inconclusive";
3414
3416
  evidence: {
3415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
- label: string;
3417
3417
  id: string;
3418
+ label: string;
3419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3420
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3421
  locator?: string | undefined;
3420
3422
  }[];
@@ -3428,37 +3430,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3428
3430
  objective: string;
3429
3431
  runMode: "replay" | "fixture" | "live";
3430
3432
  evidence?: {
3431
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3432
- label: string;
3433
3433
  id: string;
3434
+ label: string;
3435
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3434
3436
  capture: "at_action" | "historical_lookup" | "fixture";
3435
3437
  locator?: string | undefined;
3436
3438
  }[] | undefined;
3437
3439
  } | {
3438
- kind: "agent_status";
3439
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3440
3440
  label: string;
3441
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3442
+ kind: "agent_status";
3441
3443
  role: string;
3442
3444
  agentId: string;
3443
3445
  sessionId: string;
3444
3446
  detail?: string | undefined;
3445
3447
  evidence?: {
3446
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
- label: string;
3448
3448
  id: string;
3449
+ label: string;
3450
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3449
3451
  capture: "at_action" | "historical_lookup" | "fixture";
3450
3452
  locator?: string | undefined;
3451
3453
  }[] | undefined;
3452
3454
  } | {
3453
- kind: "agent_output";
3454
3455
  summary: string;
3456
+ kind: "agent_output";
3455
3457
  agentId: string;
3456
3458
  sessionId: string;
3457
3459
  outputId: string;
3458
3460
  evidence?: {
3459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
- label: string;
3461
3461
  id: string;
3462
+ label: string;
3463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3464
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3465
  locator?: string | undefined;
3464
3466
  }[] | undefined;
@@ -3471,37 +3473,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3471
3473
  decisionId: string;
3472
3474
  confidence?: number | undefined;
3473
3475
  evidence?: {
3474
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
- label: string;
3476
3476
  id: string;
3477
+ label: string;
3478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3477
3479
  capture: "at_action" | "historical_lookup" | "fixture";
3478
3480
  locator?: string | undefined;
3479
3481
  }[] | undefined;
3480
3482
  } | {
3481
- kind: "conflict_detected";
3482
3483
  summary: string;
3484
+ kind: "conflict_detected";
3483
3485
  conflictId: string;
3484
3486
  decisionIds: string[];
3485
3487
  agentIds: string[];
3486
3488
  evidence?: {
3487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
- label: string;
3489
3489
  id: string;
3490
+ label: string;
3491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3491
3493
  locator?: string | undefined;
3492
3494
  }[] | undefined;
3493
3495
  } | {
3494
- kind: "test_result";
3495
3496
  summary: string;
3496
3497
  status: "error" | "failed" | "passed";
3498
+ kind: "test_result";
3497
3499
  command: string;
3498
3500
  decisionId: string;
3499
3501
  testId: string;
3500
3502
  durationMs?: number | undefined;
3501
3503
  evidence?: {
3502
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
- label: string;
3504
3504
  id: string;
3505
+ label: string;
3506
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3505
3507
  capture: "at_action" | "historical_lookup" | "fixture";
3506
3508
  locator?: string | undefined;
3507
3509
  }[] | undefined;
@@ -3516,9 +3518,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3516
3518
  supersedesDecisionIds: string[];
3517
3519
  proposedBy: string;
3518
3520
  evidence?: {
3519
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
- label: string;
3521
3521
  id: string;
3522
+ label: string;
3523
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3522
3524
  capture: "at_action" | "historical_lookup" | "fixture";
3523
3525
  locator?: string | undefined;
3524
3526
  }[] | undefined;
@@ -3526,15 +3528,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3526
3528
  kind: "correction_approved";
3527
3529
  correctionId: string;
3528
3530
  approvedBy: {
3529
- kind: "agent" | "human";
3530
- label: string;
3531
3531
  id: string;
3532
+ label: string;
3533
+ kind: "agent" | "human";
3532
3534
  };
3533
3535
  note?: string | undefined;
3534
3536
  evidence?: {
3535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
- label: string;
3537
3537
  id: string;
3538
+ label: string;
3539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
3540
  capture: "at_action" | "historical_lookup" | "fixture";
3539
3541
  locator?: string | undefined;
3540
3542
  }[] | undefined;
@@ -3544,9 +3546,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3544
3546
  correctionId: string;
3545
3547
  replacementDecisionId: string;
3546
3548
  evidence?: {
3547
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
- label: string;
3549
3549
  id: string;
3550
+ label: string;
3551
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3552
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3553
  locator?: string | undefined;
3552
3554
  }[] | undefined;
@@ -3559,9 +3561,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3559
3561
  recallReceiptId: string;
3560
3562
  capturedAtAction: boolean;
3561
3563
  evidence?: {
3562
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
- label: string;
3564
3564
  id: string;
3565
+ label: string;
3566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3566
3568
  locator?: string | undefined;
3567
3569
  }[] | undefined;
@@ -3574,20 +3576,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3574
3576
  recallReceiptId: string;
3575
3577
  staleDecisionAbsent: boolean;
3576
3578
  evidence?: {
3577
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3578
- label: string;
3579
3579
  id: string;
3580
+ label: string;
3581
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
3582
  capture: "at_action" | "historical_lookup" | "fixture";
3581
3583
  locator?: string | undefined;
3582
3584
  }[] | undefined;
3583
3585
  } | {
3584
- kind: "mission_completed";
3585
3586
  summary: string;
3587
+ kind: "mission_completed";
3586
3588
  outcome: "failed" | "recovered" | "inconclusive";
3587
3589
  evidence?: {
3588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
- label: string;
3590
3590
  id: string;
3591
+ label: string;
3592
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
3593
  capture: "at_action" | "historical_lookup" | "fixture";
3592
3594
  locator?: string | undefined;
3593
3595
  }[] | undefined;
@@ -3617,15 +3619,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3617
3619
  locator: z.ZodOptional<z.ZodString>;
3618
3620
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3619
3621
  }, "strict", z.ZodTypeAny, {
3620
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
- label: string;
3622
3622
  id: string;
3623
+ label: string;
3624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3626
  locator?: string | undefined;
3625
3627
  }, {
3626
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
- label: string;
3628
3628
  id: string;
3629
+ label: string;
3630
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3629
3631
  capture: "at_action" | "historical_lookup" | "fixture";
3630
3632
  locator?: string | undefined;
3631
3633
  }>, "many">>;
@@ -3633,9 +3635,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3633
3635
  kind: "mission_started";
3634
3636
  title: string;
3635
3637
  evidence: {
3636
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
- label: string;
3638
3638
  id: string;
3639
+ label: string;
3640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
3641
  capture: "at_action" | "historical_lookup" | "fixture";
3640
3642
  locator?: string | undefined;
3641
3643
  }[];
@@ -3647,9 +3649,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3647
3649
  objective: string;
3648
3650
  runMode: "replay" | "fixture" | "live";
3649
3651
  evidence?: {
3650
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
- label: string;
3652
3652
  id: string;
3653
+ label: string;
3654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3653
3655
  capture: "at_action" | "historical_lookup" | "fixture";
3654
3656
  locator?: string | undefined;
3655
3657
  }[] | undefined;
@@ -3665,15 +3667,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3665
3667
  locator: z.ZodOptional<z.ZodString>;
3666
3668
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3667
3669
  }, "strict", z.ZodTypeAny, {
3668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
- label: string;
3670
3670
  id: string;
3671
+ label: string;
3672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3672
3674
  locator?: string | undefined;
3673
3675
  }, {
3674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
- label: string;
3676
3676
  id: string;
3677
+ label: string;
3678
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3677
3679
  capture: "at_action" | "historical_lookup" | "fixture";
3678
3680
  locator?: string | undefined;
3679
3681
  }>, "many">>;
@@ -3681,32 +3683,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3681
3683
  sessionId: z.ZodString;
3682
3684
  kind: z.ZodLiteral<"agent_status">;
3683
3685
  }, "strict", z.ZodTypeAny, {
3684
- kind: "agent_status";
3685
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3686
3686
  label: string;
3687
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3688
+ kind: "agent_status";
3687
3689
  role: string;
3688
3690
  agentId: string;
3689
3691
  sessionId: string;
3690
3692
  evidence: {
3691
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
- label: string;
3693
3693
  id: string;
3694
+ label: string;
3695
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3694
3696
  capture: "at_action" | "historical_lookup" | "fixture";
3695
3697
  locator?: string | undefined;
3696
3698
  }[];
3697
3699
  detail?: string | undefined;
3698
3700
  }, {
3699
- kind: "agent_status";
3700
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3701
3701
  label: string;
3702
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3703
+ kind: "agent_status";
3702
3704
  role: string;
3703
3705
  agentId: string;
3704
3706
  sessionId: string;
3705
3707
  detail?: string | undefined;
3706
3708
  evidence?: {
3707
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
- label: string;
3709
3709
  id: string;
3710
+ label: string;
3711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3710
3712
  capture: "at_action" | "historical_lookup" | "fixture";
3711
3713
  locator?: string | undefined;
3712
3714
  }[] | undefined;
@@ -3720,15 +3722,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3720
3722
  locator: z.ZodOptional<z.ZodString>;
3721
3723
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3722
3724
  }, "strict", z.ZodTypeAny, {
3723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
- label: string;
3725
3725
  id: string;
3726
+ label: string;
3727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3728
  capture: "at_action" | "historical_lookup" | "fixture";
3727
3729
  locator?: string | undefined;
3728
3730
  }, {
3729
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
- label: string;
3731
3731
  id: string;
3732
+ label: string;
3733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
3734
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3735
  locator?: string | undefined;
3734
3736
  }>, "many">>;
@@ -3736,28 +3738,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3736
3738
  sessionId: z.ZodString;
3737
3739
  kind: z.ZodLiteral<"agent_output">;
3738
3740
  }, "strict", z.ZodTypeAny, {
3739
- kind: "agent_output";
3740
3741
  summary: string;
3742
+ kind: "agent_output";
3741
3743
  agentId: string;
3742
3744
  sessionId: string;
3743
3745
  evidence: {
3744
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
- label: string;
3746
3746
  id: string;
3747
+ label: string;
3748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
3749
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3750
  locator?: string | undefined;
3749
3751
  }[];
3750
3752
  outputId: string;
3751
3753
  }, {
3752
- kind: "agent_output";
3753
3754
  summary: string;
3755
+ kind: "agent_output";
3754
3756
  agentId: string;
3755
3757
  sessionId: string;
3756
3758
  outputId: string;
3757
3759
  evidence?: {
3758
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
- label: string;
3760
3760
  id: string;
3761
+ label: string;
3762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
3763
  capture: "at_action" | "historical_lookup" | "fixture";
3762
3764
  locator?: string | undefined;
3763
3765
  }[] | undefined;
@@ -3773,15 +3775,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3773
3775
  locator: z.ZodOptional<z.ZodString>;
3774
3776
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3775
3777
  }, "strict", z.ZodTypeAny, {
3776
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
- label: string;
3778
3778
  id: string;
3779
+ label: string;
3780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3782
  locator?: string | undefined;
3781
3783
  }, {
3782
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
- label: string;
3784
3784
  id: string;
3785
+ label: string;
3786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3785
3787
  capture: "at_action" | "historical_lookup" | "fixture";
3786
3788
  locator?: string | undefined;
3787
3789
  }>, "many">>;
@@ -3794,9 +3796,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3794
3796
  statement: string;
3795
3797
  sessionId: string;
3796
3798
  evidence: {
3797
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3798
- label: string;
3799
3799
  id: string;
3800
+ label: string;
3801
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3800
3802
  capture: "at_action" | "historical_lookup" | "fixture";
3801
3803
  locator?: string | undefined;
3802
3804
  }[];
@@ -3812,9 +3814,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3812
3814
  decisionId: string;
3813
3815
  confidence?: number | undefined;
3814
3816
  evidence?: {
3815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
- label: string;
3817
3817
  id: string;
3818
+ label: string;
3819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3819
3821
  locator?: string | undefined;
3820
3822
  }[] | undefined;
@@ -3831,25 +3833,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3831
3833
  locator: z.ZodOptional<z.ZodString>;
3832
3834
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3833
3835
  }, "strict", z.ZodTypeAny, {
3834
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
- label: string;
3836
3836
  id: string;
3837
+ label: string;
3838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3840
  locator?: string | undefined;
3839
3841
  }, {
3840
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
- label: string;
3842
3842
  id: string;
3843
+ label: string;
3844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3843
3845
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3846
  locator?: string | undefined;
3845
3847
  }>, "many">>;
3846
3848
  }, "strict", z.ZodTypeAny, {
3847
- kind: "conflict_detected";
3848
3849
  summary: string;
3850
+ kind: "conflict_detected";
3849
3851
  evidence: {
3850
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
- label: string;
3852
3852
  id: string;
3853
+ label: string;
3854
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3853
3855
  capture: "at_action" | "historical_lookup" | "fixture";
3854
3856
  locator?: string | undefined;
3855
3857
  }[];
@@ -3857,15 +3859,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3857
3859
  decisionIds: string[];
3858
3860
  agentIds: string[];
3859
3861
  }, {
3860
- kind: "conflict_detected";
3861
3862
  summary: string;
3863
+ kind: "conflict_detected";
3862
3864
  conflictId: string;
3863
3865
  decisionIds: string[];
3864
3866
  agentIds: string[];
3865
3867
  evidence?: {
3866
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3867
- label: string;
3868
3868
  id: string;
3869
+ label: string;
3870
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
3871
  capture: "at_action" | "historical_lookup" | "fixture";
3870
3872
  locator?: string | undefined;
3871
3873
  }[] | undefined;
@@ -3885,27 +3887,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3885
3887
  locator: z.ZodOptional<z.ZodString>;
3886
3888
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3887
3889
  }, "strict", z.ZodTypeAny, {
3888
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
- label: string;
3890
3890
  id: string;
3891
+ label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3892
3894
  locator?: string | undefined;
3893
3895
  }, {
3894
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
- label: string;
3896
3896
  id: string;
3897
+ label: string;
3898
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3900
  locator?: string | undefined;
3899
3901
  }>, "many">>;
3900
3902
  }, "strict", z.ZodTypeAny, {
3901
- kind: "test_result";
3902
3903
  summary: string;
3903
3904
  status: "error" | "failed" | "passed";
3905
+ kind: "test_result";
3904
3906
  command: string;
3905
3907
  evidence: {
3906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
- label: string;
3908
3908
  id: string;
3909
+ label: string;
3910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3909
3911
  capture: "at_action" | "historical_lookup" | "fixture";
3910
3912
  locator?: string | undefined;
3911
3913
  }[];
@@ -3914,17 +3916,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3914
3916
  durationMs?: number | undefined;
3915
3917
  correctionId?: string | undefined;
3916
3918
  }, {
3917
- kind: "test_result";
3918
3919
  summary: string;
3919
3920
  status: "error" | "failed" | "passed";
3921
+ kind: "test_result";
3920
3922
  command: string;
3921
3923
  decisionId: string;
3922
3924
  testId: string;
3923
3925
  durationMs?: number | undefined;
3924
3926
  evidence?: {
3925
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3926
- label: string;
3927
3927
  id: string;
3928
+ label: string;
3929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3928
3930
  capture: "at_action" | "historical_lookup" | "fixture";
3929
3931
  locator?: string | undefined;
3930
3932
  }[] | undefined;
@@ -3945,15 +3947,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3945
3947
  locator: z.ZodOptional<z.ZodString>;
3946
3948
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3947
3949
  }, "strict", z.ZodTypeAny, {
3948
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
- label: string;
3950
3950
  id: string;
3951
+ label: string;
3952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3954
  locator?: string | undefined;
3953
3955
  }, {
3954
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
- label: string;
3956
3956
  id: string;
3957
+ label: string;
3958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
3959
  capture: "at_action" | "historical_lookup" | "fixture";
3958
3960
  locator?: string | undefined;
3959
3961
  }>, "many">>;
@@ -3962,9 +3964,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3962
3964
  statement: string;
3963
3965
  rationale: string;
3964
3966
  evidence: {
3965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
- label: string;
3967
3967
  id: string;
3968
+ label: string;
3969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3970
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3971
  locator?: string | undefined;
3970
3972
  }[];
@@ -3983,9 +3985,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3983
3985
  supersedesDecisionIds: string[];
3984
3986
  proposedBy: string;
3985
3987
  evidence?: {
3986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
- label: string;
3988
3988
  id: string;
3989
+ label: string;
3990
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
3991
  capture: "at_action" | "historical_lookup" | "fixture";
3990
3992
  locator?: string | undefined;
3991
3993
  }[] | undefined;
@@ -3997,13 +3999,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3997
3999
  id: z.ZodString;
3998
4000
  label: z.ZodString;
3999
4001
  }, "strict", z.ZodTypeAny, {
4000
- kind: "agent" | "human";
4001
- label: string;
4002
4002
  id: string;
4003
- }, {
4004
- kind: "agent" | "human";
4005
4003
  label: string;
4004
+ kind: "agent" | "human";
4005
+ }, {
4006
4006
  id: string;
4007
+ label: string;
4008
+ kind: "agent" | "human";
4007
4009
  }>;
4008
4010
  note: z.ZodOptional<z.ZodString>;
4009
4011
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4013,47 +4015,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4013
4015
  locator: z.ZodOptional<z.ZodString>;
4014
4016
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4015
4017
  }, "strict", z.ZodTypeAny, {
4016
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4017
- label: string;
4018
4018
  id: string;
4019
+ label: string;
4020
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4021
  capture: "at_action" | "historical_lookup" | "fixture";
4020
4022
  locator?: string | undefined;
4021
4023
  }, {
4022
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
- label: string;
4024
4024
  id: string;
4025
+ label: string;
4026
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4025
4027
  capture: "at_action" | "historical_lookup" | "fixture";
4026
4028
  locator?: string | undefined;
4027
4029
  }>, "many">>;
4028
4030
  }, "strict", z.ZodTypeAny, {
4029
4031
  kind: "correction_approved";
4030
4032
  evidence: {
4031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
- label: string;
4033
4033
  id: string;
4034
+ label: string;
4035
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4034
4036
  capture: "at_action" | "historical_lookup" | "fixture";
4035
4037
  locator?: string | undefined;
4036
4038
  }[];
4037
4039
  correctionId: string;
4038
4040
  approvedBy: {
4039
- kind: "agent" | "human";
4040
- label: string;
4041
4041
  id: string;
4042
+ label: string;
4043
+ kind: "agent" | "human";
4042
4044
  };
4043
4045
  note?: string | undefined;
4044
4046
  }, {
4045
4047
  kind: "correction_approved";
4046
4048
  correctionId: string;
4047
4049
  approvedBy: {
4048
- kind: "agent" | "human";
4049
- label: string;
4050
4050
  id: string;
4051
+ label: string;
4052
+ kind: "agent" | "human";
4051
4053
  };
4052
4054
  note?: string | undefined;
4053
4055
  evidence?: {
4054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
- label: string;
4056
4056
  id: string;
4057
+ label: string;
4058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4059
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4060
  locator?: string | undefined;
4059
4061
  }[] | undefined;
@@ -4069,24 +4071,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4069
4071
  locator: z.ZodOptional<z.ZodString>;
4070
4072
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4071
4073
  }, "strict", z.ZodTypeAny, {
4072
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
- label: string;
4074
4074
  id: string;
4075
+ label: string;
4076
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4077
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4078
  locator?: string | undefined;
4077
4079
  }, {
4078
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
- label: string;
4080
4080
  id: string;
4081
+ label: string;
4082
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
4083
  capture: "at_action" | "historical_lookup" | "fixture";
4082
4084
  locator?: string | undefined;
4083
4085
  }>, "many">>;
4084
4086
  }, "strict", z.ZodTypeAny, {
4085
4087
  kind: "decision_superseded";
4086
4088
  evidence: {
4087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
- label: string;
4089
4089
  id: string;
4090
+ label: string;
4091
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4090
4092
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4093
  locator?: string | undefined;
4092
4094
  }[];
@@ -4099,9 +4101,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4099
4101
  correctionId: string;
4100
4102
  replacementDecisionId: string;
4101
4103
  evidence?: {
4102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
- label: string;
4104
4104
  id: string;
4105
+ label: string;
4106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
4107
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4108
  locator?: string | undefined;
4107
4109
  }[] | undefined;
@@ -4117,15 +4119,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4117
4119
  locator: z.ZodOptional<z.ZodString>;
4118
4120
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4119
4121
  }, "strict", z.ZodTypeAny, {
4120
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
- label: string;
4122
4122
  id: string;
4123
+ label: string;
4124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4125
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4126
  locator?: string | undefined;
4125
4127
  }, {
4126
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
- label: string;
4128
4128
  id: string;
4129
+ label: string;
4130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
4131
  capture: "at_action" | "historical_lookup" | "fixture";
4130
4132
  locator?: string | undefined;
4131
4133
  }>, "many">>;
@@ -4138,9 +4140,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4138
4140
  agentId: string;
4139
4141
  sessionId: string;
4140
4142
  evidence: {
4141
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4142
- label: string;
4143
4143
  id: string;
4144
+ label: string;
4145
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
4146
  capture: "at_action" | "historical_lookup" | "fixture";
4145
4147
  locator?: string | undefined;
4146
4148
  }[];
@@ -4156,9 +4158,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4156
4158
  recallReceiptId: string;
4157
4159
  capturedAtAction: boolean;
4158
4160
  evidence?: {
4159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
- label: string;
4161
4161
  id: string;
4162
+ label: string;
4163
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4162
4164
  capture: "at_action" | "historical_lookup" | "fixture";
4163
4165
  locator?: string | undefined;
4164
4166
  }[] | undefined;
@@ -4174,15 +4176,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4174
4176
  locator: z.ZodOptional<z.ZodString>;
4175
4177
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4176
4178
  }, "strict", z.ZodTypeAny, {
4177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
- label: string;
4179
4179
  id: string;
4180
+ label: string;
4181
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4182
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4183
  locator?: string | undefined;
4182
4184
  }, {
4183
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
- label: string;
4185
4185
  id: string;
4186
+ label: string;
4187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4188
  capture: "at_action" | "historical_lookup" | "fixture";
4187
4189
  locator?: string | undefined;
4188
4190
  }>, "many">>;
@@ -4194,9 +4196,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4194
4196
  agentId: string;
4195
4197
  sessionId: string;
4196
4198
  evidence: {
4197
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4198
- label: string;
4199
4199
  id: string;
4200
+ label: string;
4201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
4202
  capture: "at_action" | "historical_lookup" | "fixture";
4201
4203
  locator?: string | undefined;
4202
4204
  }[];
@@ -4213,9 +4215,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4213
4215
  recallReceiptId: string;
4214
4216
  staleDecisionAbsent: boolean;
4215
4217
  evidence?: {
4216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
- label: string;
4218
4218
  id: string;
4219
+ label: string;
4220
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4219
4221
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4222
  locator?: string | undefined;
4221
4223
  }[] | undefined;
@@ -4230,37 +4232,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4230
4232
  locator: z.ZodOptional<z.ZodString>;
4231
4233
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4232
4234
  }, "strict", z.ZodTypeAny, {
4233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4234
- label: string;
4235
4235
  id: string;
4236
+ label: string;
4237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4238
  capture: "at_action" | "historical_lookup" | "fixture";
4237
4239
  locator?: string | undefined;
4238
4240
  }, {
4239
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4240
- label: string;
4241
4241
  id: string;
4242
+ label: string;
4243
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
4244
  capture: "at_action" | "historical_lookup" | "fixture";
4243
4245
  locator?: string | undefined;
4244
4246
  }>, "many">>;
4245
4247
  }, "strict", z.ZodTypeAny, {
4246
- kind: "mission_completed";
4247
4248
  summary: string;
4249
+ kind: "mission_completed";
4248
4250
  outcome: "failed" | "recovered" | "inconclusive";
4249
4251
  evidence: {
4250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
- label: string;
4252
4252
  id: string;
4253
+ label: string;
4254
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
4255
  capture: "at_action" | "historical_lookup" | "fixture";
4254
4256
  locator?: string | undefined;
4255
4257
  }[];
4256
4258
  }, {
4257
- kind: "mission_completed";
4258
4259
  summary: string;
4260
+ kind: "mission_completed";
4259
4261
  outcome: "failed" | "recovered" | "inconclusive";
4260
4262
  evidence?: {
4261
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
- label: string;
4263
4263
  id: string;
4264
+ label: string;
4265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
4266
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4267
  locator?: string | undefined;
4266
4268
  }[] | undefined;
@@ -4268,38 +4270,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4268
4270
  kind: "mission_started";
4269
4271
  title: string;
4270
4272
  evidence: {
4271
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
- label: string;
4273
4273
  id: string;
4274
+ label: string;
4275
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
4276
  capture: "at_action" | "historical_lookup" | "fixture";
4275
4277
  locator?: string | undefined;
4276
4278
  }[];
4277
4279
  objective: string;
4278
4280
  runMode: "replay" | "fixture" | "live";
4279
4281
  } | {
4280
- kind: "agent_status";
4281
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4282
4282
  label: string;
4283
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4284
+ kind: "agent_status";
4283
4285
  role: string;
4284
4286
  agentId: string;
4285
4287
  sessionId: string;
4286
4288
  evidence: {
4287
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
- label: string;
4289
4289
  id: string;
4290
+ label: string;
4291
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4290
4292
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4293
  locator?: string | undefined;
4292
4294
  }[];
4293
4295
  detail?: string | undefined;
4294
4296
  } | {
4295
- kind: "agent_output";
4296
4297
  summary: string;
4298
+ kind: "agent_output";
4297
4299
  agentId: string;
4298
4300
  sessionId: string;
4299
4301
  evidence: {
4300
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
- label: string;
4302
4302
  id: string;
4303
+ label: string;
4304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
4305
  capture: "at_action" | "historical_lookup" | "fixture";
4304
4306
  locator?: string | undefined;
4305
4307
  }[];
@@ -4310,9 +4312,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4312
  statement: string;
4311
4313
  sessionId: string;
4312
4314
  evidence: {
4313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
- label: string;
4315
4315
  id: string;
4316
+ label: string;
4317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4318
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4319
  locator?: string | undefined;
4318
4320
  }[];
@@ -4320,12 +4322,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4320
4322
  decisionId: string;
4321
4323
  confidence?: number | undefined;
4322
4324
  } | {
4323
- kind: "conflict_detected";
4324
4325
  summary: string;
4326
+ kind: "conflict_detected";
4325
4327
  evidence: {
4326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
- label: string;
4328
4328
  id: string;
4329
+ label: string;
4330
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
4331
  capture: "at_action" | "historical_lookup" | "fixture";
4330
4332
  locator?: string | undefined;
4331
4333
  }[];
@@ -4333,14 +4335,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4333
4335
  decisionIds: string[];
4334
4336
  agentIds: string[];
4335
4337
  } | {
4336
- kind: "test_result";
4337
4338
  summary: string;
4338
4339
  status: "error" | "failed" | "passed";
4340
+ kind: "test_result";
4339
4341
  command: string;
4340
4342
  evidence: {
4341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4342
- label: string;
4343
4343
  id: string;
4344
+ label: string;
4345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
4346
  capture: "at_action" | "historical_lookup" | "fixture";
4345
4347
  locator?: string | undefined;
4346
4348
  }[];
@@ -4353,9 +4355,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4353
4355
  statement: string;
4354
4356
  rationale: string;
4355
4357
  evidence: {
4356
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
- label: string;
4358
4358
  id: string;
4359
+ label: string;
4360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4359
4361
  capture: "at_action" | "historical_lookup" | "fixture";
4360
4362
  locator?: string | undefined;
4361
4363
  }[];
@@ -4367,25 +4369,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4369
  } | {
4368
4370
  kind: "correction_approved";
4369
4371
  evidence: {
4370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
- label: string;
4372
4372
  id: string;
4373
+ label: string;
4374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4375
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4376
  locator?: string | undefined;
4375
4377
  }[];
4376
4378
  correctionId: string;
4377
4379
  approvedBy: {
4378
- kind: "agent" | "human";
4379
- label: string;
4380
4380
  id: string;
4381
+ label: string;
4382
+ kind: "agent" | "human";
4381
4383
  };
4382
4384
  note?: string | undefined;
4383
4385
  } | {
4384
4386
  kind: "decision_superseded";
4385
4387
  evidence: {
4386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
- label: string;
4388
4388
  id: string;
4389
+ label: string;
4390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
4391
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4392
  locator?: string | undefined;
4391
4393
  }[];
@@ -4398,9 +4400,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4398
4400
  agentId: string;
4399
4401
  sessionId: string;
4400
4402
  evidence: {
4401
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
- label: string;
4403
4403
  id: string;
4404
+ label: string;
4405
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4404
4406
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4407
  locator?: string | undefined;
4406
4408
  }[];
@@ -4412,9 +4414,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4412
4414
  agentId: string;
4413
4415
  sessionId: string;
4414
4416
  evidence: {
4415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
- label: string;
4417
4417
  id: string;
4418
+ label: string;
4419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4418
4420
  capture: "at_action" | "historical_lookup" | "fixture";
4419
4421
  locator?: string | undefined;
4420
4422
  }[];
@@ -4423,13 +4425,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4423
4425
  recallReceiptId: string;
4424
4426
  staleDecisionAbsent: boolean;
4425
4427
  } | {
4426
- kind: "mission_completed";
4427
4428
  summary: string;
4429
+ kind: "mission_completed";
4428
4430
  outcome: "failed" | "recovered" | "inconclusive";
4429
4431
  evidence: {
4430
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
- label: string;
4432
4432
  id: string;
4433
+ label: string;
4434
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4435
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4436
  locator?: string | undefined;
4435
4437
  }[];
@@ -4439,37 +4441,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4439
4441
  objective: string;
4440
4442
  runMode: "replay" | "fixture" | "live";
4441
4443
  evidence?: {
4442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
- label: string;
4444
4444
  id: string;
4445
+ label: string;
4446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
4447
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4448
  locator?: string | undefined;
4447
4449
  }[] | undefined;
4448
4450
  } | {
4449
- kind: "agent_status";
4450
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4451
4451
  label: string;
4452
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4453
+ kind: "agent_status";
4452
4454
  role: string;
4453
4455
  agentId: string;
4454
4456
  sessionId: string;
4455
4457
  detail?: string | undefined;
4456
4458
  evidence?: {
4457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
- label: string;
4459
4459
  id: string;
4460
+ label: string;
4461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4463
  locator?: string | undefined;
4462
4464
  }[] | undefined;
4463
4465
  } | {
4464
- kind: "agent_output";
4465
4466
  summary: string;
4467
+ kind: "agent_output";
4466
4468
  agentId: string;
4467
4469
  sessionId: string;
4468
4470
  outputId: string;
4469
4471
  evidence?: {
4470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
- label: string;
4472
4472
  id: string;
4473
+ label: string;
4474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4475
  capture: "at_action" | "historical_lookup" | "fixture";
4474
4476
  locator?: string | undefined;
4475
4477
  }[] | undefined;
@@ -4482,37 +4484,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4482
4484
  decisionId: string;
4483
4485
  confidence?: number | undefined;
4484
4486
  evidence?: {
4485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
- label: string;
4487
4487
  id: string;
4488
+ label: string;
4489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4490
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4491
  locator?: string | undefined;
4490
4492
  }[] | undefined;
4491
4493
  } | {
4492
- kind: "conflict_detected";
4493
4494
  summary: string;
4495
+ kind: "conflict_detected";
4494
4496
  conflictId: string;
4495
4497
  decisionIds: string[];
4496
4498
  agentIds: string[];
4497
4499
  evidence?: {
4498
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4499
- label: string;
4500
4500
  id: string;
4501
+ label: string;
4502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
4503
  capture: "at_action" | "historical_lookup" | "fixture";
4502
4504
  locator?: string | undefined;
4503
4505
  }[] | undefined;
4504
4506
  } | {
4505
- kind: "test_result";
4506
4507
  summary: string;
4507
4508
  status: "error" | "failed" | "passed";
4509
+ kind: "test_result";
4508
4510
  command: string;
4509
4511
  decisionId: string;
4510
4512
  testId: string;
4511
4513
  durationMs?: number | undefined;
4512
4514
  evidence?: {
4513
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4514
- label: string;
4515
4515
  id: string;
4516
+ label: string;
4517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
4518
  capture: "at_action" | "historical_lookup" | "fixture";
4517
4519
  locator?: string | undefined;
4518
4520
  }[] | undefined;
@@ -4527,9 +4529,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4527
4529
  supersedesDecisionIds: string[];
4528
4530
  proposedBy: string;
4529
4531
  evidence?: {
4530
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
- label: string;
4532
4532
  id: string;
4533
+ label: string;
4534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4533
4535
  capture: "at_action" | "historical_lookup" | "fixture";
4534
4536
  locator?: string | undefined;
4535
4537
  }[] | undefined;
@@ -4537,15 +4539,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4537
4539
  kind: "correction_approved";
4538
4540
  correctionId: string;
4539
4541
  approvedBy: {
4540
- kind: "agent" | "human";
4541
- label: string;
4542
4542
  id: string;
4543
+ label: string;
4544
+ kind: "agent" | "human";
4543
4545
  };
4544
4546
  note?: string | undefined;
4545
4547
  evidence?: {
4546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4547
- label: string;
4548
4548
  id: string;
4549
+ label: string;
4550
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
4551
  capture: "at_action" | "historical_lookup" | "fixture";
4550
4552
  locator?: string | undefined;
4551
4553
  }[] | undefined;
@@ -4555,9 +4557,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4555
4557
  correctionId: string;
4556
4558
  replacementDecisionId: string;
4557
4559
  evidence?: {
4558
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
- label: string;
4560
4560
  id: string;
4561
+ label: string;
4562
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4561
4563
  capture: "at_action" | "historical_lookup" | "fixture";
4562
4564
  locator?: string | undefined;
4563
4565
  }[] | undefined;
@@ -4570,9 +4572,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4570
4572
  recallReceiptId: string;
4571
4573
  capturedAtAction: boolean;
4572
4574
  evidence?: {
4573
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
- label: string;
4575
4575
  id: string;
4576
+ label: string;
4577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
4578
  capture: "at_action" | "historical_lookup" | "fixture";
4577
4579
  locator?: string | undefined;
4578
4580
  }[] | undefined;
@@ -4585,63 +4587,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4585
4587
  recallReceiptId: string;
4586
4588
  staleDecisionAbsent: boolean;
4587
4589
  evidence?: {
4588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
- label: string;
4590
4590
  id: string;
4591
+ label: string;
4592
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
4593
  capture: "at_action" | "historical_lookup" | "fixture";
4592
4594
  locator?: string | undefined;
4593
4595
  }[] | undefined;
4594
4596
  } | {
4595
- kind: "mission_completed";
4596
4597
  summary: string;
4598
+ kind: "mission_completed";
4597
4599
  outcome: "failed" | "recovered" | "inconclusive";
4598
4600
  evidence?: {
4599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
- label: string;
4601
4601
  id: string;
4602
+ label: string;
4603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4602
4604
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4605
  locator?: string | undefined;
4604
4606
  }[] | undefined;
4605
4607
  }>;
4606
4608
  }, "strict", z.ZodTypeAny, {
4609
+ namespace: string;
4607
4610
  recordedAt: string;
4608
4611
  schemaVersion: "1";
4609
4612
  payload: {
4610
4613
  kind: "mission_started";
4611
4614
  title: string;
4612
4615
  evidence: {
4613
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
- label: string;
4615
4616
  id: string;
4617
+ label: string;
4618
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
4619
  capture: "at_action" | "historical_lookup" | "fixture";
4617
4620
  locator?: string | undefined;
4618
4621
  }[];
4619
4622
  objective: string;
4620
4623
  runMode: "replay" | "fixture" | "live";
4621
4624
  } | {
4622
- kind: "agent_status";
4623
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4624
4625
  label: string;
4626
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4627
+ kind: "agent_status";
4625
4628
  role: string;
4626
4629
  agentId: string;
4627
4630
  sessionId: string;
4628
4631
  evidence: {
4629
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4630
- label: string;
4631
4632
  id: string;
4633
+ label: string;
4634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4632
4635
  capture: "at_action" | "historical_lookup" | "fixture";
4633
4636
  locator?: string | undefined;
4634
4637
  }[];
4635
4638
  detail?: string | undefined;
4636
4639
  } | {
4637
- kind: "agent_output";
4638
4640
  summary: string;
4641
+ kind: "agent_output";
4639
4642
  agentId: string;
4640
4643
  sessionId: string;
4641
4644
  evidence: {
4642
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
- label: string;
4644
4645
  id: string;
4646
+ label: string;
4647
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4645
4648
  capture: "at_action" | "historical_lookup" | "fixture";
4646
4649
  locator?: string | undefined;
4647
4650
  }[];
@@ -4652,9 +4655,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4652
4655
  statement: string;
4653
4656
  sessionId: string;
4654
4657
  evidence: {
4655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
- label: string;
4657
4658
  id: string;
4659
+ label: string;
4660
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
4661
  capture: "at_action" | "historical_lookup" | "fixture";
4659
4662
  locator?: string | undefined;
4660
4663
  }[];
@@ -4662,12 +4665,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4662
4665
  decisionId: string;
4663
4666
  confidence?: number | undefined;
4664
4667
  } | {
4665
- kind: "conflict_detected";
4666
4668
  summary: string;
4669
+ kind: "conflict_detected";
4667
4670
  evidence: {
4668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4669
- label: string;
4670
4671
  id: string;
4672
+ label: string;
4673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4671
4674
  capture: "at_action" | "historical_lookup" | "fixture";
4672
4675
  locator?: string | undefined;
4673
4676
  }[];
@@ -4675,14 +4678,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4675
4678
  decisionIds: string[];
4676
4679
  agentIds: string[];
4677
4680
  } | {
4678
- kind: "test_result";
4679
4681
  summary: string;
4680
4682
  status: "error" | "failed" | "passed";
4683
+ kind: "test_result";
4681
4684
  command: string;
4682
4685
  evidence: {
4683
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4684
- label: string;
4685
4686
  id: string;
4687
+ label: string;
4688
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4686
4689
  capture: "at_action" | "historical_lookup" | "fixture";
4687
4690
  locator?: string | undefined;
4688
4691
  }[];
@@ -4695,9 +4698,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4695
4698
  statement: string;
4696
4699
  rationale: string;
4697
4700
  evidence: {
4698
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4699
- label: string;
4700
4701
  id: string;
4702
+ label: string;
4703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4701
4704
  capture: "at_action" | "historical_lookup" | "fixture";
4702
4705
  locator?: string | undefined;
4703
4706
  }[];
@@ -4709,25 +4712,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4709
4712
  } | {
4710
4713
  kind: "correction_approved";
4711
4714
  evidence: {
4712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4713
- label: string;
4714
4715
  id: string;
4716
+ label: string;
4717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4715
4718
  capture: "at_action" | "historical_lookup" | "fixture";
4716
4719
  locator?: string | undefined;
4717
4720
  }[];
4718
4721
  correctionId: string;
4719
4722
  approvedBy: {
4720
- kind: "agent" | "human";
4721
- label: string;
4722
4723
  id: string;
4724
+ label: string;
4725
+ kind: "agent" | "human";
4723
4726
  };
4724
4727
  note?: string | undefined;
4725
4728
  } | {
4726
4729
  kind: "decision_superseded";
4727
4730
  evidence: {
4728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4729
- label: string;
4730
4731
  id: string;
4732
+ label: string;
4733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4731
4734
  capture: "at_action" | "historical_lookup" | "fixture";
4732
4735
  locator?: string | undefined;
4733
4736
  }[];
@@ -4740,9 +4743,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4740
4743
  agentId: string;
4741
4744
  sessionId: string;
4742
4745
  evidence: {
4743
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4744
- label: string;
4745
4746
  id: string;
4747
+ label: string;
4748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4746
4749
  capture: "at_action" | "historical_lookup" | "fixture";
4747
4750
  locator?: string | undefined;
4748
4751
  }[];
@@ -4754,9 +4757,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4754
4757
  agentId: string;
4755
4758
  sessionId: string;
4756
4759
  evidence: {
4757
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4758
- label: string;
4759
4760
  id: string;
4761
+ label: string;
4762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4760
4763
  capture: "at_action" | "historical_lookup" | "fixture";
4761
4764
  locator?: string | undefined;
4762
4765
  }[];
@@ -4765,24 +4768,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4765
4768
  recallReceiptId: string;
4766
4769
  staleDecisionAbsent: boolean;
4767
4770
  } | {
4768
- kind: "mission_completed";
4769
4771
  summary: string;
4772
+ kind: "mission_completed";
4770
4773
  outcome: "failed" | "recovered" | "inconclusive";
4771
4774
  evidence: {
4772
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4773
- label: string;
4774
4775
  id: string;
4776
+ label: string;
4777
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4775
4778
  capture: "at_action" | "historical_lookup" | "fixture";
4776
4779
  locator?: string | undefined;
4777
4780
  }[];
4778
4781
  };
4779
- namespace: string;
4780
4782
  eventId: string;
4781
4783
  occurredAt: string;
4782
4784
  missionId: string;
4783
4785
  idempotencyKey?: string | undefined;
4784
4786
  authenticatedPrincipal?: string | undefined;
4785
4787
  }, {
4788
+ namespace: string;
4786
4789
  recordedAt: string;
4787
4790
  schemaVersion: "1";
4788
4791
  payload: {
@@ -4791,37 +4794,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4791
4794
  objective: string;
4792
4795
  runMode: "replay" | "fixture" | "live";
4793
4796
  evidence?: {
4794
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4795
- label: string;
4796
4797
  id: string;
4798
+ label: string;
4799
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4797
4800
  capture: "at_action" | "historical_lookup" | "fixture";
4798
4801
  locator?: string | undefined;
4799
4802
  }[] | undefined;
4800
4803
  } | {
4801
- kind: "agent_status";
4802
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4803
4804
  label: string;
4805
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4806
+ kind: "agent_status";
4804
4807
  role: string;
4805
4808
  agentId: string;
4806
4809
  sessionId: string;
4807
4810
  detail?: string | undefined;
4808
4811
  evidence?: {
4809
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4810
- label: string;
4811
4812
  id: string;
4813
+ label: string;
4814
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4812
4815
  capture: "at_action" | "historical_lookup" | "fixture";
4813
4816
  locator?: string | undefined;
4814
4817
  }[] | undefined;
4815
4818
  } | {
4816
- kind: "agent_output";
4817
4819
  summary: string;
4820
+ kind: "agent_output";
4818
4821
  agentId: string;
4819
4822
  sessionId: string;
4820
4823
  outputId: string;
4821
4824
  evidence?: {
4822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4823
- label: string;
4824
4825
  id: string;
4826
+ label: string;
4827
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4825
4828
  capture: "at_action" | "historical_lookup" | "fixture";
4826
4829
  locator?: string | undefined;
4827
4830
  }[] | undefined;
@@ -4834,37 +4837,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4834
4837
  decisionId: string;
4835
4838
  confidence?: number | undefined;
4836
4839
  evidence?: {
4837
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4838
- label: string;
4839
4840
  id: string;
4841
+ label: string;
4842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4840
4843
  capture: "at_action" | "historical_lookup" | "fixture";
4841
4844
  locator?: string | undefined;
4842
4845
  }[] | undefined;
4843
4846
  } | {
4844
- kind: "conflict_detected";
4845
4847
  summary: string;
4848
+ kind: "conflict_detected";
4846
4849
  conflictId: string;
4847
4850
  decisionIds: string[];
4848
4851
  agentIds: string[];
4849
4852
  evidence?: {
4850
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4851
- label: string;
4852
4853
  id: string;
4854
+ label: string;
4855
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4853
4856
  capture: "at_action" | "historical_lookup" | "fixture";
4854
4857
  locator?: string | undefined;
4855
4858
  }[] | undefined;
4856
4859
  } | {
4857
- kind: "test_result";
4858
4860
  summary: string;
4859
4861
  status: "error" | "failed" | "passed";
4862
+ kind: "test_result";
4860
4863
  command: string;
4861
4864
  decisionId: string;
4862
4865
  testId: string;
4863
4866
  durationMs?: number | undefined;
4864
4867
  evidence?: {
4865
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4866
- label: string;
4867
4868
  id: string;
4869
+ label: string;
4870
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4868
4871
  capture: "at_action" | "historical_lookup" | "fixture";
4869
4872
  locator?: string | undefined;
4870
4873
  }[] | undefined;
@@ -4879,9 +4882,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4879
4882
  supersedesDecisionIds: string[];
4880
4883
  proposedBy: string;
4881
4884
  evidence?: {
4882
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4883
- label: string;
4884
4885
  id: string;
4886
+ label: string;
4887
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4885
4888
  capture: "at_action" | "historical_lookup" | "fixture";
4886
4889
  locator?: string | undefined;
4887
4890
  }[] | undefined;
@@ -4889,15 +4892,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4889
4892
  kind: "correction_approved";
4890
4893
  correctionId: string;
4891
4894
  approvedBy: {
4892
- kind: "agent" | "human";
4893
- label: string;
4894
4895
  id: string;
4896
+ label: string;
4897
+ kind: "agent" | "human";
4895
4898
  };
4896
4899
  note?: string | undefined;
4897
4900
  evidence?: {
4898
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4899
- label: string;
4900
4901
  id: string;
4902
+ label: string;
4903
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4901
4904
  capture: "at_action" | "historical_lookup" | "fixture";
4902
4905
  locator?: string | undefined;
4903
4906
  }[] | undefined;
@@ -4907,9 +4910,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4907
4910
  correctionId: string;
4908
4911
  replacementDecisionId: string;
4909
4912
  evidence?: {
4910
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4911
- label: string;
4912
4913
  id: string;
4914
+ label: string;
4915
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4913
4916
  capture: "at_action" | "historical_lookup" | "fixture";
4914
4917
  locator?: string | undefined;
4915
4918
  }[] | undefined;
@@ -4922,9 +4925,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4922
4925
  recallReceiptId: string;
4923
4926
  capturedAtAction: boolean;
4924
4927
  evidence?: {
4925
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4926
- label: string;
4927
4928
  id: string;
4929
+ label: string;
4930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4928
4931
  capture: "at_action" | "historical_lookup" | "fixture";
4929
4932
  locator?: string | undefined;
4930
4933
  }[] | undefined;
@@ -4937,25 +4940,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4937
4940
  recallReceiptId: string;
4938
4941
  staleDecisionAbsent: boolean;
4939
4942
  evidence?: {
4940
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4941
- label: string;
4942
4943
  id: string;
4944
+ label: string;
4945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
4946
  capture: "at_action" | "historical_lookup" | "fixture";
4944
4947
  locator?: string | undefined;
4945
4948
  }[] | undefined;
4946
4949
  } | {
4947
- kind: "mission_completed";
4948
4950
  summary: string;
4951
+ kind: "mission_completed";
4949
4952
  outcome: "failed" | "recovered" | "inconclusive";
4950
4953
  evidence?: {
4951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4952
- label: string;
4953
4954
  id: string;
4955
+ label: string;
4956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4954
4957
  capture: "at_action" | "historical_lookup" | "fixture";
4955
4958
  locator?: string | undefined;
4956
4959
  }[] | undefined;
4957
4960
  };
4958
- namespace: string;
4959
4961
  eventId: string;
4960
4962
  occurredAt: string;
4961
4963
  missionId: string;