@remnic/core 9.69.27 → 9.69.29

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 (388) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +57 -57
  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 +58 -58
  6. package/dist/access-boundary.d.ts +1 -1
  7. package/dist/access-boundary.js +57 -57
  8. package/dist/access-cli.js +140 -139
  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 +57 -57
  13. package/dist/access-http-briefing.d.ts +1 -1
  14. package/dist/access-http-briefing.js +58 -58
  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 +59 -59
  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 +57 -57
  22. package/dist/access-lcm-surface.d.ts +1 -1
  23. package/dist/access-lcm-surface.js +57 -57
  24. package/dist/access-mcp.d.ts +1 -1
  25. package/dist/access-mcp.js +65 -65
  26. package/dist/access-namespace-preflight.js +57 -57
  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 +57 -57
  30. package/dist/access-offline-manifest.js +8 -8
  31. package/dist/access-operations-batch.js +59 -59
  32. package/dist/access-operations.d.ts +6 -6
  33. package/dist/access-operations.js +64 -64
  34. package/dist/access-recall-concurrency.d.ts +1 -1
  35. package/dist/access-recall-concurrency.js +57 -57
  36. package/dist/access-recall-response.d.ts +1 -1
  37. package/dist/access-recall-response.js +57 -57
  38. package/dist/access-recall-surface.d.ts +1 -1
  39. package/dist/access-recall-surface.js +57 -57
  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 +57 -57
  45. package/dist/access-surface-catalog.d.ts +1 -1
  46. package/dist/access-surface-catalog.js +59 -59
  47. package/dist/active-recall.js +8 -8
  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 +20 -20
  52. package/dist/buffer.js +8 -8
  53. package/dist/calibration.js +4 -4
  54. package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
  55. package/dist/causal-consolidation.js +22 -22
  56. package/dist/{chunk-GRCREL6Q.js → chunk-22JQEBN3.js} +9 -9
  57. package/dist/{chunk-6LLLREDJ.js → chunk-2E3CG66I.js} +2 -2
  58. package/dist/{chunk-OO42R444.js → chunk-2MFH376S.js} +3 -3
  59. package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
  60. package/dist/{chunk-NXH34IPL.js → chunk-353KGBKY.js} +2 -2
  61. package/dist/{chunk-DZD3WGCD.js → chunk-3JVLGJCY.js} +2 -2
  62. package/dist/{chunk-W24T5YMW.js → chunk-47DEYNMR.js} +2 -2
  63. package/dist/chunk-4NZQ7IID.js +63 -0
  64. package/dist/chunk-4NZQ7IID.js.map +1 -0
  65. package/dist/{chunk-QOOBICJF.js → chunk-565C6ZFO.js} +2 -2
  66. package/dist/{chunk-ZY4DSWZ5.js → chunk-5OOSADXP.js} +5 -5
  67. package/dist/{chunk-EYIEWJNI.js → chunk-6KH5NLQS.js} +2 -2
  68. package/dist/{chunk-EMDLM3LW.js → chunk-7IRZK6MM.js} +2 -2
  69. package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
  70. package/dist/{chunk-6CVNSDCZ.js → chunk-7VJXIDOC.js} +12 -12
  71. package/dist/{chunk-SO4IYSGT.js → chunk-A5JPK3MZ.js} +75 -75
  72. package/dist/{chunk-IVKIODHO.js → chunk-A7XEPMQ6.js} +5 -5
  73. package/dist/{chunk-K6MV3TRQ.js → chunk-ADXCCZL2.js} +2 -2
  74. package/dist/{chunk-SJDQ5RSN.js → chunk-AOCP6JA7.js} +4 -4
  75. package/dist/{chunk-JBPKEARU.js → chunk-AU7Q3LSC.js} +4 -4
  76. package/dist/{chunk-GNMELJGM.js → chunk-AYAIV5V5.js} +6 -6
  77. package/dist/{chunk-ND6IQGSZ.js → chunk-BA6WOZOT.js} +2 -2
  78. package/dist/{chunk-JI7U6AS3.js → chunk-C6FQJ52H.js} +2 -2
  79. package/dist/{chunk-IN673LEP.js → chunk-CARRTDKC.js} +2 -2
  80. package/dist/{chunk-6NXSYYGP.js → chunk-CBCNKKZD.js} +2 -2
  81. package/dist/{chunk-DXFG2VGN.js → chunk-CGC5UQCF.js} +2 -2
  82. package/dist/{chunk-QBH7M7Q4.js → chunk-CLALC6ZB.js} +2 -2
  83. package/dist/{chunk-YSSAGB2O.js → chunk-CLLPJ6QT.js} +5 -5
  84. package/dist/{chunk-KAXCYM66.js → chunk-D5LORF7A.js} +3 -3
  85. package/dist/{chunk-CEH2AFXG.js → chunk-DBQWVT2H.js} +7 -7
  86. package/dist/{chunk-XSTNGNJP.js → chunk-DCJ3YFIC.js} +2 -2
  87. package/dist/{chunk-MWN6QEI2.js → chunk-DITMGZOL.js} +2 -2
  88. package/dist/{chunk-LVE64P5Y.js → chunk-E2ZHGBAK.js} +2 -2
  89. package/dist/{chunk-2EKJDQZB.js → chunk-EZZV7OQL.js} +2 -2
  90. package/dist/{chunk-N3SS45OW.js → chunk-FCSZ4K2X.js} +3 -3
  91. package/dist/{chunk-TWF35IC6.js → chunk-FDLDOEO6.js} +28 -23
  92. package/dist/chunk-FDLDOEO6.js.map +1 -0
  93. package/dist/{chunk-5ATKSPEQ.js → chunk-FGGYSN4P.js} +2 -2
  94. package/dist/{chunk-2Z4GS5E6.js → chunk-FHQSPTPZ.js} +2 -2
  95. package/dist/{chunk-3GGUMRS4.js → chunk-FJ5B36V2.js} +2 -2
  96. package/dist/{chunk-5IEV3YBY.js → chunk-GAYZTUIF.js} +2 -2
  97. package/dist/{chunk-KH6PK4EQ.js → chunk-GBYCFJGV.js} +6 -6
  98. package/dist/{chunk-6VF3R3XQ.js → chunk-GCRGBE72.js} +2 -2
  99. package/dist/{chunk-6GUG4YNM.js → chunk-GGRRF4PZ.js} +2 -2
  100. package/dist/{chunk-ZUNNRGJX.js → chunk-GL4EC4RG.js} +8 -8
  101. package/dist/{chunk-UCKYTA2T.js → chunk-GTWHVXPA.js} +3 -3
  102. package/dist/{chunk-XSGUMQQQ.js → chunk-GVG3JYBI.js} +4 -4
  103. package/dist/{chunk-MY5EDR46.js → chunk-GY5WZBA6.js} +2 -2
  104. package/dist/{chunk-3GCK6ONU.js → chunk-HK32G473.js} +2 -2
  105. package/dist/{chunk-EWCNCQOU.js → chunk-HRICDLBE.js} +2 -2
  106. package/dist/{chunk-46ZPIGWI.js → chunk-HY55QQD7.js} +2 -2
  107. package/dist/{chunk-WMLEPWMO.js → chunk-I27RSQRR.js} +2 -2
  108. package/dist/{chunk-QIEUU4UK.js → chunk-I55KAVET.js} +2 -2
  109. package/dist/{chunk-XM24CDZX.js → chunk-IY2FVXM6.js} +3 -3
  110. package/dist/{chunk-CGJV2YIY.js → chunk-J5Q2YTOB.js} +2 -2
  111. package/dist/{chunk-N3ZOP7KC.js → chunk-JEIXTYVG.js} +2 -2
  112. package/dist/{chunk-ZO2AZIRT.js → chunk-JJPRWTOW.js} +2 -2
  113. package/dist/{chunk-ODW5GDFE.js → chunk-JT3EB7ZL.js} +2 -2
  114. package/dist/{chunk-OU4K7IFP.js → chunk-K5DSKAVF.js} +39 -39
  115. package/dist/{chunk-VDX2J7OX.js → chunk-KQAFEZQX.js} +2 -2
  116. package/dist/{chunk-3K7V3HE6.js → chunk-KXRX7YC2.js} +2 -2
  117. package/dist/{chunk-DDB3S53L.js → chunk-L5JP37BO.js} +7 -7
  118. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  119. package/dist/{chunk-54WHLA65.js → chunk-LRICZIGN.js} +3 -3
  120. package/dist/{chunk-TVEONGBU.js → chunk-MFJBANPX.js} +2 -2
  121. package/dist/{chunk-OB3XMWX5.js → chunk-MKWKYHXJ.js} +4 -4
  122. package/dist/{chunk-HMKPFW7R.js → chunk-MPAJFFP3.js} +2 -2
  123. package/dist/{chunk-R7RTXEYG.js → chunk-MPYD657E.js} +2 -2
  124. package/dist/{chunk-V4ZBR7CW.js → chunk-N2CAORTC.js} +4 -4
  125. package/dist/{chunk-NLDVVWCL.js → chunk-NDNTNE3S.js} +2 -2
  126. package/dist/{chunk-JJ4XK25O.js → chunk-NEFKNR4V.js} +9 -9
  127. package/dist/{chunk-U6N5IBVY.js → chunk-NWWXSJX5.js} +2 -2
  128. package/dist/{chunk-QBC33MPY.js → chunk-NZXEK3UF.js} +2 -2
  129. package/dist/{chunk-JUC24CTX.js → chunk-P2QRMMVQ.js} +6 -1
  130. package/dist/chunk-P2QRMMVQ.js.map +1 -0
  131. package/dist/{chunk-EOQ6FSQP.js → chunk-PHNAB54Q.js} +2 -2
  132. package/dist/{chunk-BD7JTBYP.js → chunk-PSPABFN2.js} +4 -4
  133. package/dist/{chunk-RBCQVOVJ.js → chunk-PV36INNL.js} +3 -3
  134. package/dist/{chunk-E2P7TZTF.js → chunk-ROKKIMON.js} +2 -2
  135. package/dist/{chunk-OEYZXDQI.js → chunk-RSVEP77Y.js} +2 -2
  136. package/dist/{chunk-FQ7HAWWC.js → chunk-RZN4LQ5Y.js} +17 -2
  137. package/dist/{chunk-FQ7HAWWC.js.map → chunk-RZN4LQ5Y.js.map} +1 -1
  138. package/dist/{chunk-SV4Z2S67.js → chunk-S5G2LAL7.js} +4 -4
  139. package/dist/{chunk-AQ7SYDVO.js → chunk-S65WXHNK.js} +2 -2
  140. package/dist/{chunk-6XL73HQ4.js → chunk-SB6PSOP7.js} +1 -1
  141. package/dist/{chunk-JALOAKSZ.js → chunk-TLPZ6MKZ.js} +4 -4
  142. package/dist/{chunk-XTJC7CVX.js → chunk-TXMAF7FZ.js} +5 -5
  143. package/dist/{chunk-3NYTZE5G.js → chunk-UFDMVGUQ.js} +2 -2
  144. package/dist/{chunk-DFEODULB.js → chunk-V2HHAAPI.js} +2 -2
  145. package/dist/{chunk-KEF46KL2.js → chunk-V6EGNVUT.js} +3 -3
  146. package/dist/{chunk-ESNFSSO4.js → chunk-VGXM5B4H.js} +2 -2
  147. package/dist/{chunk-FHYVNJBN.js → chunk-VLLEWQIU.js} +4 -4
  148. package/dist/{chunk-MJUCDM3C.js → chunk-VLXBE57O.js} +2 -2
  149. package/dist/{chunk-4TKJGOCJ.js → chunk-VP67GZ7T.js} +2 -2
  150. package/dist/{chunk-RX3SC4C5.js → chunk-VT4MK674.js} +2 -2
  151. package/dist/{chunk-GHTSNGBZ.js → chunk-VZWXFXLX.js} +2 -2
  152. package/dist/{chunk-WJHGDE7X.js → chunk-W64HKJJM.js} +3 -3
  153. package/dist/{chunk-Y2MZGBOY.js → chunk-W7SECYCQ.js} +2 -2
  154. package/dist/{chunk-2L5FSNPC.js → chunk-X2NFFBTO.js} +7 -7
  155. package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
  156. package/dist/{chunk-EGALNSZ4.js → chunk-XU6OEECT.js} +3 -3
  157. package/dist/{chunk-MZLV2OJE.js → chunk-XWSMJXIG.js} +53 -53
  158. package/dist/{chunk-THQTFTQS.js → chunk-Y3BGA7L5.js} +17 -17
  159. package/dist/{chunk-4FIH6MPS.js → chunk-YHLWPYHT.js} +3 -3
  160. package/dist/{chunk-PAZY2ZKP.js → chunk-YQAXP5AC.js} +2 -2
  161. package/dist/{chunk-JEC4DVM3.js → chunk-YUMDFDUA.js} +3 -3
  162. package/dist/{chunk-7HYPN2GC.js → chunk-ZG74PWRW.js} +2 -2
  163. package/dist/{chunk-VVX5PZFS.js → chunk-ZHXSOMYH.js} +2 -2
  164. package/dist/{chunk-TNSCIPBQ.js → chunk-ZNJSBIP4.js} +4 -4
  165. package/dist/{cli-DD0P-lu8.d.ts → cli-B_YwqoIr.d.ts} +1 -1
  166. package/dist/cli.d.ts +2 -2
  167. package/dist/cli.js +101 -101
  168. package/dist/coding/export-okf-codegraph.js +22 -22
  169. package/dist/compounding/engine.js +21 -21
  170. package/dist/config-discovery.d.ts +26 -0
  171. package/dist/config-discovery.js +11 -0
  172. package/dist/config-security.js +2 -2
  173. package/dist/config.js +8 -8
  174. package/dist/connectors/codex-materialize-runner.js +21 -21
  175. package/dist/connectors/codex-materialize.js +3 -3
  176. package/dist/connectors/index.js +24 -24
  177. package/dist/convergence-refresh.js +22 -22
  178. package/dist/conversation-index/backend.js +2 -2
  179. package/dist/corpus-watermark.js +22 -22
  180. package/dist/deep-recall-http-glue.d.ts +1 -1
  181. package/dist/deep-recall-http-glue.js +4 -4
  182. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  183. package/dist/deep-recall-policy-llm.js +5 -5
  184. package/dist/deep-recall.js +2 -2
  185. package/dist/embedding-fallback.js +2 -2
  186. package/dist/emit-legacy-tools.js +3 -3
  187. package/dist/entity-retrieval.js +20 -20
  188. package/dist/external-wiki-access.d.ts +1 -1
  189. package/dist/external-wiki-access.js +58 -58
  190. package/dist/external-wiki-config.js +3 -3
  191. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  192. package/dist/extraction-faithfulness.js +5 -5
  193. package/dist/extraction-judge.js +5 -5
  194. package/dist/extraction-source-grounding.js +3 -3
  195. package/dist/extraction.js +33 -33
  196. package/dist/fallback-llm.js +4 -4
  197. package/dist/harmonic-retrieval.js +1 -1
  198. package/dist/http-retry.d.ts +83 -0
  199. package/dist/http-retry.js +101 -0
  200. package/dist/http-retry.js.map +1 -0
  201. package/dist/importers/index.d.ts +21 -1
  202. package/dist/importers/index.js +3 -1
  203. package/dist/importers/test-utils.d.ts +24 -0
  204. package/dist/importers/test-utils.js +31 -0
  205. package/dist/importers/test-utils.js.map +1 -0
  206. package/dist/index.d.ts +683 -681
  207. package/dist/index.js +177 -166
  208. package/dist/lcm/engine.js +3 -3
  209. package/dist/lcm/index.js +6 -6
  210. package/dist/live-connectors-runner.js +5 -5
  211. package/dist/local-llm.js +3 -3
  212. package/dist/location/index.js +22 -22
  213. package/dist/maintenance/memory-governance.js +20 -20
  214. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +20 -20
  215. package/dist/maintenance/rebuild-memory-projection.js +21 -21
  216. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  217. package/dist/memory-subject-cli.d.ts +1 -1
  218. package/dist/memory-subject.d.ts +1 -1
  219. package/dist/migrate/from-engram.js +2 -2
  220. package/dist/namespaces/migrate.js +21 -21
  221. package/dist/namespaces/search.js +12 -12
  222. package/dist/namespaces/storage.js +20 -20
  223. package/dist/offline-sync-impression-drain.js +6 -6
  224. package/dist/operator-doctor-corpus.js +23 -23
  225. package/dist/operator-toolkit.js +36 -36
  226. package/dist/opik-exporter.js +1 -1
  227. package/dist/orchestration/maintenance.js +31 -31
  228. package/dist/orchestrator.js +141 -140
  229. package/dist/provenance.js +2 -2
  230. package/dist/{public-http-C4i8Opxc.d.ts → public-http-D6d4W8x-.d.ts} +1 -1
  231. package/dist/qmd.js +5 -5
  232. package/dist/recall-planner-llm.js +4 -4
  233. package/dist/reconcile/manifest.js +1 -1
  234. package/dist/resolve-provider-secret.js +2 -2
  235. package/dist/resume-bundles.js +9 -9
  236. package/dist/runtime/env.d.ts +9 -1
  237. package/dist/runtime/env.js +3 -1
  238. package/dist/schemas.d.ts +176 -176
  239. package/dist/sdk-compat.js +1 -1
  240. package/dist/search/factory.js +11 -11
  241. package/dist/search/index.js +16 -16
  242. package/dist/search/lancedb-backend.js +2 -2
  243. package/dist/search/meilisearch-backend.js +2 -2
  244. package/dist/search/orama-backend.js +2 -2
  245. package/dist/semantic-consolidation.js +22 -22
  246. package/dist/semantic-rule-promotion.js +20 -20
  247. package/dist/semantic-rule-verifier.js +20 -20
  248. package/dist/shared-context/manager.d.ts +6 -6
  249. package/dist/shared-context/manager.js +3 -3
  250. package/dist/source-agent-qualifier.js +30 -30
  251. package/dist/standup/build.js +20 -20
  252. package/dist/{state-store-Z3EN56O5.js → state-store-I5HLZTZT.js} +4 -4
  253. package/dist/state-store-I5HLZTZT.js.map +1 -0
  254. package/dist/storage.js +19 -19
  255. package/dist/summarizer.js +7 -7
  256. package/dist/support-passport/index.d.ts +4 -4
  257. package/dist/support-passport/index.js +60 -60
  258. package/dist/tokens.js +2 -2
  259. package/dist/transfer/backup.js +2 -2
  260. package/dist/transfer/capsule-export.js +2 -2
  261. package/dist/transfer/capsule-import.js +2 -2
  262. package/dist/transfer/export-okf.js +21 -21
  263. package/dist/transfer/types.d.ts +78 -78
  264. package/dist/utils/path.js +2 -2
  265. package/dist/verified-recall.js +20 -20
  266. package/dist/who-knows-cli.d.ts +1 -1
  267. package/dist/who-knows-cli.js +21 -21
  268. package/dist/who-knows.d.ts +1 -1
  269. package/dist/who-knows.js +20 -20
  270. package/package.json +22 -2
  271. package/src/config-discovery.test.ts +63 -0
  272. package/src/config-discovery.ts +90 -0
  273. package/src/http-retry.test.ts +281 -0
  274. package/src/http-retry.ts +183 -0
  275. package/src/importers/base.ts +45 -0
  276. package/src/importers/index.test.ts +42 -0
  277. package/src/importers/index.ts +5 -0
  278. package/src/importers/test-utils.ts +44 -0
  279. package/src/index.ts +5 -0
  280. package/src/reconcile/manifest.ts +59 -50
  281. package/src/runtime/env.ts +11 -0
  282. package/dist/chunk-JUC24CTX.js.map +0 -1
  283. package/dist/chunk-TWF35IC6.js.map +0 -1
  284. package/dist/{access-service-DWdY9Mlk.d.ts → access-service-Cv8Rizo0.d.ts} +64 -64
  285. /package/dist/{auto-sync-WNGG2GC2.js.map → auto-sync-NSHLUAQI.js.map} +0 -0
  286. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  287. /package/dist/{chunk-GRCREL6Q.js.map → chunk-22JQEBN3.js.map} +0 -0
  288. /package/dist/{chunk-6LLLREDJ.js.map → chunk-2E3CG66I.js.map} +0 -0
  289. /package/dist/{chunk-OO42R444.js.map → chunk-2MFH376S.js.map} +0 -0
  290. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
  291. /package/dist/{chunk-NXH34IPL.js.map → chunk-353KGBKY.js.map} +0 -0
  292. /package/dist/{chunk-DZD3WGCD.js.map → chunk-3JVLGJCY.js.map} +0 -0
  293. /package/dist/{chunk-W24T5YMW.js.map → chunk-47DEYNMR.js.map} +0 -0
  294. /package/dist/{chunk-QOOBICJF.js.map → chunk-565C6ZFO.js.map} +0 -0
  295. /package/dist/{chunk-ZY4DSWZ5.js.map → chunk-5OOSADXP.js.map} +0 -0
  296. /package/dist/{chunk-EYIEWJNI.js.map → chunk-6KH5NLQS.js.map} +0 -0
  297. /package/dist/{chunk-EMDLM3LW.js.map → chunk-7IRZK6MM.js.map} +0 -0
  298. /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
  299. /package/dist/{chunk-6CVNSDCZ.js.map → chunk-7VJXIDOC.js.map} +0 -0
  300. /package/dist/{chunk-SO4IYSGT.js.map → chunk-A5JPK3MZ.js.map} +0 -0
  301. /package/dist/{chunk-IVKIODHO.js.map → chunk-A7XEPMQ6.js.map} +0 -0
  302. /package/dist/{chunk-K6MV3TRQ.js.map → chunk-ADXCCZL2.js.map} +0 -0
  303. /package/dist/{chunk-SJDQ5RSN.js.map → chunk-AOCP6JA7.js.map} +0 -0
  304. /package/dist/{chunk-JBPKEARU.js.map → chunk-AU7Q3LSC.js.map} +0 -0
  305. /package/dist/{chunk-GNMELJGM.js.map → chunk-AYAIV5V5.js.map} +0 -0
  306. /package/dist/{chunk-ND6IQGSZ.js.map → chunk-BA6WOZOT.js.map} +0 -0
  307. /package/dist/{chunk-JI7U6AS3.js.map → chunk-C6FQJ52H.js.map} +0 -0
  308. /package/dist/{chunk-IN673LEP.js.map → chunk-CARRTDKC.js.map} +0 -0
  309. /package/dist/{chunk-6NXSYYGP.js.map → chunk-CBCNKKZD.js.map} +0 -0
  310. /package/dist/{chunk-DXFG2VGN.js.map → chunk-CGC5UQCF.js.map} +0 -0
  311. /package/dist/{chunk-QBH7M7Q4.js.map → chunk-CLALC6ZB.js.map} +0 -0
  312. /package/dist/{chunk-YSSAGB2O.js.map → chunk-CLLPJ6QT.js.map} +0 -0
  313. /package/dist/{chunk-KAXCYM66.js.map → chunk-D5LORF7A.js.map} +0 -0
  314. /package/dist/{chunk-CEH2AFXG.js.map → chunk-DBQWVT2H.js.map} +0 -0
  315. /package/dist/{chunk-XSTNGNJP.js.map → chunk-DCJ3YFIC.js.map} +0 -0
  316. /package/dist/{chunk-MWN6QEI2.js.map → chunk-DITMGZOL.js.map} +0 -0
  317. /package/dist/{chunk-LVE64P5Y.js.map → chunk-E2ZHGBAK.js.map} +0 -0
  318. /package/dist/{chunk-2EKJDQZB.js.map → chunk-EZZV7OQL.js.map} +0 -0
  319. /package/dist/{chunk-N3SS45OW.js.map → chunk-FCSZ4K2X.js.map} +0 -0
  320. /package/dist/{chunk-5ATKSPEQ.js.map → chunk-FGGYSN4P.js.map} +0 -0
  321. /package/dist/{chunk-2Z4GS5E6.js.map → chunk-FHQSPTPZ.js.map} +0 -0
  322. /package/dist/{chunk-3GGUMRS4.js.map → chunk-FJ5B36V2.js.map} +0 -0
  323. /package/dist/{chunk-5IEV3YBY.js.map → chunk-GAYZTUIF.js.map} +0 -0
  324. /package/dist/{chunk-KH6PK4EQ.js.map → chunk-GBYCFJGV.js.map} +0 -0
  325. /package/dist/{chunk-6VF3R3XQ.js.map → chunk-GCRGBE72.js.map} +0 -0
  326. /package/dist/{chunk-6GUG4YNM.js.map → chunk-GGRRF4PZ.js.map} +0 -0
  327. /package/dist/{chunk-ZUNNRGJX.js.map → chunk-GL4EC4RG.js.map} +0 -0
  328. /package/dist/{chunk-UCKYTA2T.js.map → chunk-GTWHVXPA.js.map} +0 -0
  329. /package/dist/{chunk-XSGUMQQQ.js.map → chunk-GVG3JYBI.js.map} +0 -0
  330. /package/dist/{chunk-MY5EDR46.js.map → chunk-GY5WZBA6.js.map} +0 -0
  331. /package/dist/{chunk-3GCK6ONU.js.map → chunk-HK32G473.js.map} +0 -0
  332. /package/dist/{chunk-EWCNCQOU.js.map → chunk-HRICDLBE.js.map} +0 -0
  333. /package/dist/{chunk-46ZPIGWI.js.map → chunk-HY55QQD7.js.map} +0 -0
  334. /package/dist/{chunk-WMLEPWMO.js.map → chunk-I27RSQRR.js.map} +0 -0
  335. /package/dist/{chunk-QIEUU4UK.js.map → chunk-I55KAVET.js.map} +0 -0
  336. /package/dist/{chunk-XM24CDZX.js.map → chunk-IY2FVXM6.js.map} +0 -0
  337. /package/dist/{chunk-CGJV2YIY.js.map → chunk-J5Q2YTOB.js.map} +0 -0
  338. /package/dist/{chunk-N3ZOP7KC.js.map → chunk-JEIXTYVG.js.map} +0 -0
  339. /package/dist/{chunk-ZO2AZIRT.js.map → chunk-JJPRWTOW.js.map} +0 -0
  340. /package/dist/{chunk-ODW5GDFE.js.map → chunk-JT3EB7ZL.js.map} +0 -0
  341. /package/dist/{chunk-OU4K7IFP.js.map → chunk-K5DSKAVF.js.map} +0 -0
  342. /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
  343. /package/dist/{chunk-3K7V3HE6.js.map → chunk-KXRX7YC2.js.map} +0 -0
  344. /package/dist/{chunk-DDB3S53L.js.map → chunk-L5JP37BO.js.map} +0 -0
  345. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  346. /package/dist/{chunk-54WHLA65.js.map → chunk-LRICZIGN.js.map} +0 -0
  347. /package/dist/{chunk-TVEONGBU.js.map → chunk-MFJBANPX.js.map} +0 -0
  348. /package/dist/{chunk-OB3XMWX5.js.map → chunk-MKWKYHXJ.js.map} +0 -0
  349. /package/dist/{chunk-HMKPFW7R.js.map → chunk-MPAJFFP3.js.map} +0 -0
  350. /package/dist/{chunk-R7RTXEYG.js.map → chunk-MPYD657E.js.map} +0 -0
  351. /package/dist/{chunk-V4ZBR7CW.js.map → chunk-N2CAORTC.js.map} +0 -0
  352. /package/dist/{chunk-NLDVVWCL.js.map → chunk-NDNTNE3S.js.map} +0 -0
  353. /package/dist/{chunk-JJ4XK25O.js.map → chunk-NEFKNR4V.js.map} +0 -0
  354. /package/dist/{chunk-U6N5IBVY.js.map → chunk-NWWXSJX5.js.map} +0 -0
  355. /package/dist/{chunk-QBC33MPY.js.map → chunk-NZXEK3UF.js.map} +0 -0
  356. /package/dist/{chunk-EOQ6FSQP.js.map → chunk-PHNAB54Q.js.map} +0 -0
  357. /package/dist/{chunk-BD7JTBYP.js.map → chunk-PSPABFN2.js.map} +0 -0
  358. /package/dist/{chunk-RBCQVOVJ.js.map → chunk-PV36INNL.js.map} +0 -0
  359. /package/dist/{chunk-E2P7TZTF.js.map → chunk-ROKKIMON.js.map} +0 -0
  360. /package/dist/{chunk-OEYZXDQI.js.map → chunk-RSVEP77Y.js.map} +0 -0
  361. /package/dist/{chunk-SV4Z2S67.js.map → chunk-S5G2LAL7.js.map} +0 -0
  362. /package/dist/{chunk-AQ7SYDVO.js.map → chunk-S65WXHNK.js.map} +0 -0
  363. /package/dist/{chunk-6XL73HQ4.js.map → chunk-SB6PSOP7.js.map} +0 -0
  364. /package/dist/{chunk-JALOAKSZ.js.map → chunk-TLPZ6MKZ.js.map} +0 -0
  365. /package/dist/{chunk-XTJC7CVX.js.map → chunk-TXMAF7FZ.js.map} +0 -0
  366. /package/dist/{chunk-3NYTZE5G.js.map → chunk-UFDMVGUQ.js.map} +0 -0
  367. /package/dist/{chunk-DFEODULB.js.map → chunk-V2HHAAPI.js.map} +0 -0
  368. /package/dist/{chunk-KEF46KL2.js.map → chunk-V6EGNVUT.js.map} +0 -0
  369. /package/dist/{chunk-ESNFSSO4.js.map → chunk-VGXM5B4H.js.map} +0 -0
  370. /package/dist/{chunk-FHYVNJBN.js.map → chunk-VLLEWQIU.js.map} +0 -0
  371. /package/dist/{chunk-MJUCDM3C.js.map → chunk-VLXBE57O.js.map} +0 -0
  372. /package/dist/{chunk-4TKJGOCJ.js.map → chunk-VP67GZ7T.js.map} +0 -0
  373. /package/dist/{chunk-RX3SC4C5.js.map → chunk-VT4MK674.js.map} +0 -0
  374. /package/dist/{chunk-GHTSNGBZ.js.map → chunk-VZWXFXLX.js.map} +0 -0
  375. /package/dist/{chunk-WJHGDE7X.js.map → chunk-W64HKJJM.js.map} +0 -0
  376. /package/dist/{chunk-Y2MZGBOY.js.map → chunk-W7SECYCQ.js.map} +0 -0
  377. /package/dist/{chunk-2L5FSNPC.js.map → chunk-X2NFFBTO.js.map} +0 -0
  378. /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
  379. /package/dist/{chunk-EGALNSZ4.js.map → chunk-XU6OEECT.js.map} +0 -0
  380. /package/dist/{chunk-MZLV2OJE.js.map → chunk-XWSMJXIG.js.map} +0 -0
  381. /package/dist/{chunk-THQTFTQS.js.map → chunk-Y3BGA7L5.js.map} +0 -0
  382. /package/dist/{chunk-4FIH6MPS.js.map → chunk-YHLWPYHT.js.map} +0 -0
  383. /package/dist/{chunk-PAZY2ZKP.js.map → chunk-YQAXP5AC.js.map} +0 -0
  384. /package/dist/{chunk-JEC4DVM3.js.map → chunk-YUMDFDUA.js.map} +0 -0
  385. /package/dist/{chunk-7HYPN2GC.js.map → chunk-ZG74PWRW.js.map} +0 -0
  386. /package/dist/{chunk-VVX5PZFS.js.map → chunk-ZHXSOMYH.js.map} +0 -0
  387. /package/dist/{chunk-TNSCIPBQ.js.map → chunk-ZNJSBIP4.js.map} +0 -0
  388. /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-DWdY9Mlk.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-DWdY9Mlk.js';
39
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cv8Rizo0.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-Cv8Rizo0.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-DD0P-lu8.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-B_YwqoIr.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-C4i8Opxc.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-D6d4W8x-.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';
@@ -109,7 +111,7 @@ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-C
109
111
  export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-C14sorKa.js';
110
112
  import { SearchExecutionOptions } from './search/port.js';
111
113
  import { BetterSqlite3Database } from './runtime/better-sqlite.js';
112
- export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
114
+ export { DEFAULT_IMPORT_BATCH_SIZE, FileImporterDefinition, FileImporterParseArgs, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, defineFileImporterAdapter, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
113
115
  export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
114
116
  export { MemoryOutcomeKind, RecordMemoryOutcomeInput, RecordMemoryOutcomeResult, memoryWorthOutcomeEligibleCategories, recordMemoryOutcome } from './memory-worth-outcomes.js';
115
117
  export { MemoryWorthCounters, MemoryWorthFilterCandidate, MemoryWorthFilterOptions, MemoryWorthFilterResultItem, applyMemoryWorthFilter, buildMemoryWorthCounterMap } from './memory-worth-filter.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
- id: string;
1240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
1241
  label: string;
1240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1242
+ id: string;
1241
1243
  capture: "at_action" | "historical_lookup" | "fixture";
1242
1244
  locator?: string | undefined;
1243
1245
  }, {
1244
- id: string;
1246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
1247
  label: string;
1246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1248
+ id: string;
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
- id: string;
1265
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
1266
  label: string;
1265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1267
+ id: string;
1266
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1269
  locator?: string | undefined;
1268
1270
  }, {
1269
- id: string;
1271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
1272
  label: string;
1271
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1273
+ id: string;
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
- id: string;
1281
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1280
1282
  label: string;
1281
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1283
+ id: string;
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
- id: string;
1295
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1296
  label: string;
1295
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1297
+ id: string;
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
- id: string;
1313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
1314
  label: string;
1313
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
+ id: string;
1314
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1315
1317
  locator?: string | undefined;
1316
1318
  }, {
1317
- id: string;
1319
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1318
1320
  label: string;
1319
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1321
+ id: string;
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
- label: string;
1328
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1329
1329
  kind: "agent_status";
1330
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1331
+ label: string;
1330
1332
  role: string;
1331
1333
  agentId: string;
1332
1334
  sessionId: string;
1333
1335
  evidence: {
1334
- id: string;
1336
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
1337
  label: string;
1336
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1338
+ id: string;
1337
1339
  capture: "at_action" | "historical_lookup" | "fixture";
1338
1340
  locator?: string | undefined;
1339
1341
  }[];
1340
1342
  detail?: string | undefined;
1341
1343
  }, {
1342
- label: string;
1343
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1344
1344
  kind: "agent_status";
1345
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1346
+ label: string;
1345
1347
  role: string;
1346
1348
  agentId: string;
1347
1349
  sessionId: string;
1348
1350
  detail?: string | undefined;
1349
1351
  evidence?: {
1350
- id: string;
1352
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
1353
  label: string;
1352
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1354
+ id: string;
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
- id: string;
1368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
1369
  label: string;
1368
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1370
+ id: string;
1369
1371
  capture: "at_action" | "historical_lookup" | "fixture";
1370
1372
  locator?: string | undefined;
1371
1373
  }, {
1372
- id: string;
1374
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1375
  label: string;
1374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1376
+ id: string;
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
- summary: string;
1383
1384
  kind: "agent_output";
1385
+ summary: string;
1384
1386
  agentId: string;
1385
1387
  sessionId: string;
1386
1388
  evidence: {
1387
- id: string;
1389
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1390
  label: string;
1389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1391
+ id: string;
1390
1392
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1393
  locator?: string | undefined;
1392
1394
  }[];
1393
1395
  outputId: string;
1394
1396
  }, {
1395
- summary: string;
1396
1397
  kind: "agent_output";
1398
+ summary: string;
1397
1399
  agentId: string;
1398
1400
  sessionId: string;
1399
1401
  outputId: string;
1400
1402
  evidence?: {
1401
- id: string;
1403
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
1404
  label: string;
1403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1405
+ id: string;
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
- id: string;
1421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
1422
  label: string;
1421
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1423
+ id: string;
1422
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1425
  locator?: string | undefined;
1424
1426
  }, {
1425
- id: string;
1427
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
1428
  label: string;
1427
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1429
+ id: string;
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
- id: string;
1442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1441
1443
  label: string;
1442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
+ id: string;
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
- id: string;
1460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
1461
  label: string;
1460
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1462
+ id: string;
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
- id: string;
1479
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
1480
  label: string;
1479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
+ id: string;
1480
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1483
  locator?: string | undefined;
1482
1484
  }, {
1483
- id: string;
1485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1486
  label: string;
1485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
+ id: string;
1486
1488
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1489
  locator?: string | undefined;
1488
1490
  }>, "many">>;
1489
1491
  }, "strict", z.ZodTypeAny, {
1490
- summary: string;
1491
1492
  kind: "conflict_detected";
1493
+ summary: string;
1492
1494
  evidence: {
1493
- id: string;
1495
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
1496
  label: string;
1495
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1497
+ id: string;
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
- summary: string;
1504
1505
  kind: "conflict_detected";
1506
+ summary: string;
1505
1507
  conflictId: string;
1506
1508
  decisionIds: string[];
1507
1509
  agentIds: string[];
1508
1510
  evidence?: {
1509
- id: string;
1511
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1510
1512
  label: string;
1511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1513
+ id: string;
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
- id: string;
1533
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
1534
  label: string;
1533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
+ id: string;
1534
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1535
1537
  locator?: string | undefined;
1536
1538
  }, {
1537
- id: string;
1539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1540
  label: string;
1539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
+ id: string;
1540
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1543
  locator?: string | undefined;
1542
1544
  }>, "many">>;
1543
1545
  }, "strict", z.ZodTypeAny, {
1546
+ kind: "test_result";
1544
1547
  summary: string;
1545
1548
  status: "error" | "failed" | "passed";
1546
- kind: "test_result";
1547
1549
  command: string;
1548
1550
  evidence: {
1549
- id: string;
1551
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
1552
  label: string;
1551
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1553
+ id: string;
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
  }, {
1562
+ kind: "test_result";
1560
1563
  summary: string;
1561
1564
  status: "error" | "failed" | "passed";
1562
- kind: "test_result";
1563
1565
  command: string;
1564
1566
  decisionId: string;
1565
1567
  testId: string;
1566
1568
  durationMs?: number | undefined;
1567
1569
  evidence?: {
1568
- id: string;
1570
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1569
1571
  label: string;
1570
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1572
+ id: string;
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
- id: string;
1593
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
1594
  label: string;
1593
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
+ id: string;
1594
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1597
  locator?: string | undefined;
1596
1598
  }, {
1597
- id: string;
1599
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1600
  label: string;
1599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1601
+ id: string;
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
- id: string;
1610
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1611
  label: string;
1610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1612
+ id: string;
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
- id: string;
1631
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
1632
  label: string;
1631
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
+ id: string;
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
- id: string;
1644
- label: string;
1645
1645
  kind: "agent" | "human";
1646
- }, {
1647
- id: string;
1648
1646
  label: string;
1647
+ id: string;
1648
+ }, {
1649
1649
  kind: "agent" | "human";
1650
+ label: string;
1651
+ id: string;
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
- id: string;
1661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1660
1662
  label: string;
1661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1663
+ id: string;
1662
1664
  capture: "at_action" | "historical_lookup" | "fixture";
1663
1665
  locator?: string | undefined;
1664
1666
  }, {
1665
- id: string;
1667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
1668
  label: string;
1667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1669
+ id: string;
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
- id: string;
1676
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
1677
  label: string;
1676
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1678
+ id: string;
1677
1679
  capture: "at_action" | "historical_lookup" | "fixture";
1678
1680
  locator?: string | undefined;
1679
1681
  }[];
1680
1682
  correctionId: string;
1681
1683
  approvedBy: {
1682
- id: string;
1683
- label: string;
1684
1684
  kind: "agent" | "human";
1685
+ label: string;
1686
+ id: string;
1685
1687
  };
1686
1688
  note?: string | undefined;
1687
1689
  }, {
1688
1690
  kind: "correction_approved";
1689
1691
  correctionId: string;
1690
1692
  approvedBy: {
1691
- id: string;
1692
- label: string;
1693
1693
  kind: "agent" | "human";
1694
+ label: string;
1695
+ id: string;
1694
1696
  };
1695
1697
  note?: string | undefined;
1696
1698
  evidence?: {
1697
- id: string;
1699
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1700
  label: string;
1699
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1701
+ id: string;
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
- id: string;
1717
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
1718
  label: string;
1717
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1719
+ id: string;
1718
1720
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1721
  locator?: string | undefined;
1720
1722
  }, {
1721
- id: string;
1723
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
1724
  label: string;
1723
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1725
+ id: string;
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
- id: string;
1732
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1733
  label: string;
1732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1734
+ id: string;
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
- id: string;
1747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1748
  label: string;
1747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1749
+ id: string;
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
- id: string;
1765
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
1766
  label: string;
1765
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1767
+ id: string;
1766
1768
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1769
  locator?: string | undefined;
1768
1770
  }, {
1769
- id: string;
1771
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
1772
  label: string;
1771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1773
+ id: string;
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
- id: string;
1786
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1785
1787
  label: string;
1786
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1788
+ id: string;
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
- id: string;
1804
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
1805
  label: string;
1804
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1806
+ id: string;
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
- id: string;
1822
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1823
  label: string;
1822
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1824
+ id: string;
1823
1825
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1826
  locator?: string | undefined;
1825
1827
  }, {
1826
- id: string;
1828
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
1829
  label: string;
1828
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1830
+ id: string;
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
- id: string;
1842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1841
1843
  label: string;
1842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
+ id: string;
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
- id: string;
1861
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
1862
  label: string;
1861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1863
+ id: string;
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
- id: string;
1878
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1877
1879
  label: string;
1878
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1880
+ id: string;
1879
1881
  capture: "at_action" | "historical_lookup" | "fixture";
1880
1882
  locator?: string | undefined;
1881
1883
  }, {
1882
- id: string;
1884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
1885
  label: string;
1884
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1886
+ id: string;
1885
1887
  capture: "at_action" | "historical_lookup" | "fixture";
1886
1888
  locator?: string | undefined;
1887
1889
  }>, "many">>;
1888
1890
  }, "strict", z.ZodTypeAny, {
1889
- summary: string;
1890
1891
  kind: "mission_completed";
1892
+ summary: string;
1891
1893
  outcome: "failed" | "recovered" | "inconclusive";
1892
1894
  evidence: {
1893
- id: string;
1895
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
1896
  label: string;
1895
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1897
+ id: string;
1896
1898
  capture: "at_action" | "historical_lookup" | "fixture";
1897
1899
  locator?: string | undefined;
1898
1900
  }[];
1899
1901
  }, {
1900
- summary: string;
1901
1902
  kind: "mission_completed";
1903
+ summary: string;
1902
1904
  outcome: "failed" | "recovered" | "inconclusive";
1903
1905
  evidence?: {
1904
- id: string;
1906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1907
  label: string;
1906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1908
+ id: string;
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
- id: string;
1916
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1917
  label: string;
1916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1918
+ id: string;
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
- label: string;
1924
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1925
1925
  kind: "agent_status";
1926
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1927
+ label: string;
1926
1928
  role: string;
1927
1929
  agentId: string;
1928
1930
  sessionId: string;
1929
1931
  evidence: {
1930
- id: string;
1932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
1933
  label: string;
1932
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
+ id: string;
1933
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1936
  locator?: string | undefined;
1935
1937
  }[];
1936
1938
  detail?: string | undefined;
1937
1939
  } | {
1938
- summary: string;
1939
1940
  kind: "agent_output";
1941
+ summary: string;
1940
1942
  agentId: string;
1941
1943
  sessionId: string;
1942
1944
  evidence: {
1943
- id: string;
1945
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1944
1946
  label: string;
1945
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
+ id: string;
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
- id: string;
1958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
1959
  label: string;
1958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
+ id: string;
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
- summary: string;
1967
1968
  kind: "conflict_detected";
1969
+ summary: string;
1968
1970
  evidence: {
1969
- id: string;
1971
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
1972
  label: string;
1971
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1973
+ id: string;
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
  } | {
1981
+ kind: "test_result";
1979
1982
  summary: string;
1980
1983
  status: "error" | "failed" | "passed";
1981
- kind: "test_result";
1982
1984
  command: string;
1983
1985
  evidence: {
1984
- id: string;
1986
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
1987
  label: string;
1986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1988
+ id: string;
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
- id: string;
2001
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
2002
  label: string;
2001
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2003
+ id: string;
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
- id: string;
2015
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
2016
  label: string;
2015
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2017
+ id: string;
2016
2018
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2019
  locator?: string | undefined;
2018
2020
  }[];
2019
2021
  correctionId: string;
2020
2022
  approvedBy: {
2021
- id: string;
2022
- label: string;
2023
2023
  kind: "agent" | "human";
2024
+ label: string;
2025
+ id: string;
2024
2026
  };
2025
2027
  note?: string | undefined;
2026
2028
  } | {
2027
2029
  kind: "decision_superseded";
2028
2030
  evidence: {
2029
- id: string;
2031
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2032
  label: string;
2031
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2033
+ id: string;
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
- id: string;
2046
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2047
  label: string;
2046
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2048
+ id: string;
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
- id: string;
2060
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2059
2061
  label: string;
2060
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2062
+ id: string;
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
- summary: string;
2070
2071
  kind: "mission_completed";
2072
+ summary: string;
2071
2073
  outcome: "failed" | "recovered" | "inconclusive";
2072
2074
  evidence: {
2073
- id: string;
2075
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
2076
  label: string;
2075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2077
+ id: string;
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
- id: string;
2087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2088
  label: string;
2087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2089
+ id: string;
2088
2090
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2091
  locator?: string | undefined;
2090
2092
  }[] | undefined;
2091
2093
  } | {
2092
- label: string;
2093
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2094
2094
  kind: "agent_status";
2095
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2096
+ label: string;
2095
2097
  role: string;
2096
2098
  agentId: string;
2097
2099
  sessionId: string;
2098
2100
  detail?: string | undefined;
2099
2101
  evidence?: {
2100
- id: string;
2102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
2103
  label: string;
2102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2104
+ id: string;
2103
2105
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2106
  locator?: string | undefined;
2105
2107
  }[] | undefined;
2106
2108
  } | {
2107
- summary: string;
2108
2109
  kind: "agent_output";
2110
+ summary: string;
2109
2111
  agentId: string;
2110
2112
  sessionId: string;
2111
2113
  outputId: string;
2112
2114
  evidence?: {
2113
- id: string;
2115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
2116
  label: string;
2115
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
+ id: string;
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
- id: string;
2130
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
2131
  label: string;
2130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2132
+ id: string;
2131
2133
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2134
  locator?: string | undefined;
2133
2135
  }[] | undefined;
2134
2136
  } | {
2135
- summary: string;
2136
2137
  kind: "conflict_detected";
2138
+ summary: string;
2137
2139
  conflictId: string;
2138
2140
  decisionIds: string[];
2139
2141
  agentIds: string[];
2140
2142
  evidence?: {
2141
- id: string;
2143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
2144
  label: string;
2143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
+ id: string;
2144
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2145
2147
  locator?: string | undefined;
2146
2148
  }[] | undefined;
2147
2149
  } | {
2150
+ kind: "test_result";
2148
2151
  summary: string;
2149
2152
  status: "error" | "failed" | "passed";
2150
- kind: "test_result";
2151
2153
  command: string;
2152
2154
  decisionId: string;
2153
2155
  testId: string;
2154
2156
  durationMs?: number | undefined;
2155
2157
  evidence?: {
2156
- id: string;
2158
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
2159
  label: string;
2158
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
+ id: string;
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
- id: string;
2175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2176
  label: string;
2175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2177
+ id: string;
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
- id: string;
2184
- label: string;
2185
2185
  kind: "agent" | "human";
2186
+ label: string;
2187
+ id: string;
2186
2188
  };
2187
2189
  note?: string | undefined;
2188
2190
  evidence?: {
2189
- id: string;
2191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
2192
  label: string;
2191
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
+ id: string;
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
- id: string;
2203
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2204
  label: string;
2203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2205
+ id: string;
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
- id: string;
2218
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
2219
  label: string;
2218
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2220
+ id: string;
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
- id: string;
2233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
2234
  label: string;
2233
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2235
+ id: string;
2234
2236
  capture: "at_action" | "historical_lookup" | "fixture";
2235
2237
  locator?: string | undefined;
2236
2238
  }[] | undefined;
2237
2239
  } | {
2238
- summary: string;
2239
2240
  kind: "mission_completed";
2241
+ summary: string;
2240
2242
  outcome: "failed" | "recovered" | "inconclusive";
2241
2243
  evidence?: {
2242
- id: string;
2244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
2245
  label: string;
2244
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2246
+ id: string;
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
- id: string;
2267
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
2268
  label: string;
2267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2269
+ id: string;
2268
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2271
  locator?: string | undefined;
2270
2272
  }, {
2271
- id: string;
2273
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
2274
  label: string;
2273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2275
+ id: string;
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
- id: string;
2283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2282
2284
  label: string;
2283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2285
+ id: string;
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
- id: string;
2297
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2298
  label: string;
2297
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2299
+ id: string;
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
- id: string;
2315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
2316
  label: string;
2315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
+ id: string;
2316
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2317
2319
  locator?: string | undefined;
2318
2320
  }, {
2319
- id: string;
2321
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2322
  label: string;
2321
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2323
+ id: string;
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
- label: string;
2330
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2331
2331
  kind: "agent_status";
2332
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2333
+ label: string;
2332
2334
  role: string;
2333
2335
  agentId: string;
2334
2336
  sessionId: string;
2335
2337
  evidence: {
2336
- id: string;
2338
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
2339
  label: string;
2338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2340
+ id: string;
2339
2341
  capture: "at_action" | "historical_lookup" | "fixture";
2340
2342
  locator?: string | undefined;
2341
2343
  }[];
2342
2344
  detail?: string | undefined;
2343
2345
  }, {
2344
- label: string;
2345
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2346
2346
  kind: "agent_status";
2347
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2348
+ label: string;
2347
2349
  role: string;
2348
2350
  agentId: string;
2349
2351
  sessionId: string;
2350
2352
  detail?: string | undefined;
2351
2353
  evidence?: {
2352
- id: string;
2354
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
2355
  label: string;
2354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2356
+ id: string;
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
- id: string;
2370
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
2371
  label: string;
2370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2372
+ id: string;
2371
2373
  capture: "at_action" | "historical_lookup" | "fixture";
2372
2374
  locator?: string | undefined;
2373
2375
  }, {
2374
- id: string;
2376
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2377
  label: string;
2376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2378
+ id: string;
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
- summary: string;
2385
2386
  kind: "agent_output";
2387
+ summary: string;
2386
2388
  agentId: string;
2387
2389
  sessionId: string;
2388
2390
  evidence: {
2389
- id: string;
2391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2392
  label: string;
2391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2393
+ id: string;
2392
2394
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2395
  locator?: string | undefined;
2394
2396
  }[];
2395
2397
  outputId: string;
2396
2398
  }, {
2397
- summary: string;
2398
2399
  kind: "agent_output";
2400
+ summary: string;
2399
2401
  agentId: string;
2400
2402
  sessionId: string;
2401
2403
  outputId: string;
2402
2404
  evidence?: {
2403
- id: string;
2405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
2406
  label: string;
2405
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2407
+ id: string;
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
- id: string;
2423
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
2424
  label: string;
2423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2425
+ id: string;
2424
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2427
  locator?: string | undefined;
2426
2428
  }, {
2427
- id: string;
2429
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
2430
  label: string;
2429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2431
+ id: string;
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
- id: string;
2444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2443
2445
  label: string;
2444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
+ id: string;
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
- id: string;
2462
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
2463
  label: string;
2462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2464
+ id: string;
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
- id: string;
2481
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
2482
  label: string;
2481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
+ id: string;
2482
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2485
  locator?: string | undefined;
2484
2486
  }, {
2485
- id: string;
2487
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2488
  label: string;
2487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
+ id: string;
2488
2490
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2491
  locator?: string | undefined;
2490
2492
  }>, "many">>;
2491
2493
  }, "strict", z.ZodTypeAny, {
2492
- summary: string;
2493
2494
  kind: "conflict_detected";
2495
+ summary: string;
2494
2496
  evidence: {
2495
- id: string;
2497
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
2498
  label: string;
2497
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2499
+ id: string;
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
- summary: string;
2506
2507
  kind: "conflict_detected";
2508
+ summary: string;
2507
2509
  conflictId: string;
2508
2510
  decisionIds: string[];
2509
2511
  agentIds: string[];
2510
2512
  evidence?: {
2511
- id: string;
2513
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2512
2514
  label: string;
2513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2515
+ id: string;
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
- id: string;
2535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
2536
  label: string;
2535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
+ id: string;
2536
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2537
2539
  locator?: string | undefined;
2538
2540
  }, {
2539
- id: string;
2541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2542
  label: string;
2541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
+ id: string;
2542
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2545
  locator?: string | undefined;
2544
2546
  }>, "many">>;
2545
2547
  }, "strict", z.ZodTypeAny, {
2548
+ kind: "test_result";
2546
2549
  summary: string;
2547
2550
  status: "error" | "failed" | "passed";
2548
- kind: "test_result";
2549
2551
  command: string;
2550
2552
  evidence: {
2551
- id: string;
2553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
2554
  label: string;
2553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2555
+ id: string;
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
  }, {
2564
+ kind: "test_result";
2562
2565
  summary: string;
2563
2566
  status: "error" | "failed" | "passed";
2564
- kind: "test_result";
2565
2567
  command: string;
2566
2568
  decisionId: string;
2567
2569
  testId: string;
2568
2570
  durationMs?: number | undefined;
2569
2571
  evidence?: {
2570
- id: string;
2572
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2571
2573
  label: string;
2572
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2574
+ id: string;
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
- id: string;
2595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
2596
  label: string;
2595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
+ id: string;
2596
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2599
  locator?: string | undefined;
2598
2600
  }, {
2599
- id: string;
2601
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2602
  label: string;
2601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2603
+ id: string;
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
- id: string;
2612
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2613
  label: string;
2612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2614
+ id: string;
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
- id: string;
2633
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
2634
  label: string;
2633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
+ id: string;
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
- id: string;
2646
- label: string;
2647
2647
  kind: "agent" | "human";
2648
- }, {
2649
- id: string;
2650
2648
  label: string;
2649
+ id: string;
2650
+ }, {
2651
2651
  kind: "agent" | "human";
2652
+ label: string;
2653
+ id: string;
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
- id: string;
2663
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2662
2664
  label: string;
2663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2665
+ id: string;
2664
2666
  capture: "at_action" | "historical_lookup" | "fixture";
2665
2667
  locator?: string | undefined;
2666
2668
  }, {
2667
- id: string;
2669
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
2670
  label: string;
2669
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2671
+ id: string;
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
- id: string;
2678
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
2679
  label: string;
2678
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2680
+ id: string;
2679
2681
  capture: "at_action" | "historical_lookup" | "fixture";
2680
2682
  locator?: string | undefined;
2681
2683
  }[];
2682
2684
  correctionId: string;
2683
2685
  approvedBy: {
2684
- id: string;
2685
- label: string;
2686
2686
  kind: "agent" | "human";
2687
+ label: string;
2688
+ id: string;
2687
2689
  };
2688
2690
  note?: string | undefined;
2689
2691
  }, {
2690
2692
  kind: "correction_approved";
2691
2693
  correctionId: string;
2692
2694
  approvedBy: {
2693
- id: string;
2694
- label: string;
2695
2695
  kind: "agent" | "human";
2696
+ label: string;
2697
+ id: string;
2696
2698
  };
2697
2699
  note?: string | undefined;
2698
2700
  evidence?: {
2699
- id: string;
2701
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2702
  label: string;
2701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2703
+ id: string;
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
- id: string;
2719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
2720
  label: string;
2719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2721
+ id: string;
2720
2722
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2723
  locator?: string | undefined;
2722
2724
  }, {
2723
- id: string;
2725
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
2726
  label: string;
2725
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2727
+ id: string;
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
- id: string;
2734
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2735
  label: string;
2734
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2736
+ id: string;
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
- id: string;
2749
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2750
  label: string;
2749
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2751
+ id: string;
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
- id: string;
2767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
2768
  label: string;
2767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2769
+ id: string;
2768
2770
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2771
  locator?: string | undefined;
2770
2772
  }, {
2771
- id: string;
2773
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
2774
  label: string;
2773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2775
+ id: string;
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
- id: string;
2788
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2787
2789
  label: string;
2788
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2790
+ id: string;
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
- id: string;
2806
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
2807
  label: string;
2806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2808
+ id: string;
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
- id: string;
2824
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2825
  label: string;
2824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2826
+ id: string;
2825
2827
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2828
  locator?: string | undefined;
2827
2829
  }, {
2828
- id: string;
2830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
2831
  label: string;
2830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2832
+ id: string;
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
- id: string;
2844
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2843
2845
  label: string;
2844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
+ id: string;
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
- id: string;
2863
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
2864
  label: string;
2863
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2865
+ id: string;
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
- id: string;
2880
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2879
2881
  label: string;
2880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2882
+ id: string;
2881
2883
  capture: "at_action" | "historical_lookup" | "fixture";
2882
2884
  locator?: string | undefined;
2883
2885
  }, {
2884
- id: string;
2886
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2885
2887
  label: string;
2886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2888
+ id: string;
2887
2889
  capture: "at_action" | "historical_lookup" | "fixture";
2888
2890
  locator?: string | undefined;
2889
2891
  }>, "many">>;
2890
2892
  }, "strict", z.ZodTypeAny, {
2891
- summary: string;
2892
2893
  kind: "mission_completed";
2894
+ summary: string;
2893
2895
  outcome: "failed" | "recovered" | "inconclusive";
2894
2896
  evidence: {
2895
- id: string;
2897
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
2898
  label: string;
2897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2899
+ id: string;
2898
2900
  capture: "at_action" | "historical_lookup" | "fixture";
2899
2901
  locator?: string | undefined;
2900
2902
  }[];
2901
2903
  }, {
2902
- summary: string;
2903
2904
  kind: "mission_completed";
2905
+ summary: string;
2904
2906
  outcome: "failed" | "recovered" | "inconclusive";
2905
2907
  evidence?: {
2906
- id: string;
2908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
2909
  label: string;
2908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
+ id: string;
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
- id: string;
2918
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2919
  label: string;
2918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2920
+ id: string;
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
- label: string;
2926
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2927
2927
  kind: "agent_status";
2928
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2929
+ label: string;
2928
2930
  role: string;
2929
2931
  agentId: string;
2930
2932
  sessionId: string;
2931
2933
  evidence: {
2932
- id: string;
2934
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
2935
  label: string;
2934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
+ id: string;
2935
2937
  capture: "at_action" | "historical_lookup" | "fixture";
2936
2938
  locator?: string | undefined;
2937
2939
  }[];
2938
2940
  detail?: string | undefined;
2939
2941
  } | {
2940
- summary: string;
2941
2942
  kind: "agent_output";
2943
+ summary: string;
2942
2944
  agentId: string;
2943
2945
  sessionId: string;
2944
2946
  evidence: {
2945
- id: string;
2947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
2948
  label: string;
2947
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
+ id: string;
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
- id: string;
2960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
2961
  label: string;
2960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
+ id: string;
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
- summary: string;
2969
2970
  kind: "conflict_detected";
2971
+ summary: string;
2970
2972
  evidence: {
2971
- id: string;
2973
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
2974
  label: string;
2973
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2975
+ id: string;
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
  } | {
2983
+ kind: "test_result";
2981
2984
  summary: string;
2982
2985
  status: "error" | "failed" | "passed";
2983
- kind: "test_result";
2984
2986
  command: string;
2985
2987
  evidence: {
2986
- id: string;
2988
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
2989
  label: string;
2988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2990
+ id: string;
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
- id: string;
3003
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3002
3004
  label: string;
3003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3005
+ id: string;
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
- id: string;
3017
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
3018
  label: string;
3017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3019
+ id: string;
3018
3020
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3021
  locator?: string | undefined;
3020
3022
  }[];
3021
3023
  correctionId: string;
3022
3024
  approvedBy: {
3023
- id: string;
3024
- label: string;
3025
3025
  kind: "agent" | "human";
3026
+ label: string;
3027
+ id: string;
3026
3028
  };
3027
3029
  note?: string | undefined;
3028
3030
  } | {
3029
3031
  kind: "decision_superseded";
3030
3032
  evidence: {
3031
- id: string;
3033
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
3034
  label: string;
3033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3035
+ id: string;
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
- id: string;
3048
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3049
  label: string;
3048
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3050
+ id: string;
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
- id: string;
3062
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3061
3063
  label: string;
3062
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3064
+ id: string;
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
- summary: string;
3072
3073
  kind: "mission_completed";
3074
+ summary: string;
3073
3075
  outcome: "failed" | "recovered" | "inconclusive";
3074
3076
  evidence: {
3075
- id: string;
3077
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3076
3078
  label: string;
3077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3079
+ id: string;
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
- id: string;
3089
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3090
  label: string;
3089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3091
+ id: string;
3090
3092
  capture: "at_action" | "historical_lookup" | "fixture";
3091
3093
  locator?: string | undefined;
3092
3094
  }[] | undefined;
3093
3095
  } | {
3094
- label: string;
3095
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3096
3096
  kind: "agent_status";
3097
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3098
+ label: string;
3097
3099
  role: string;
3098
3100
  agentId: string;
3099
3101
  sessionId: string;
3100
3102
  detail?: string | undefined;
3101
3103
  evidence?: {
3102
- id: string;
3104
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
3105
  label: string;
3104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3106
+ id: string;
3105
3107
  capture: "at_action" | "historical_lookup" | "fixture";
3106
3108
  locator?: string | undefined;
3107
3109
  }[] | undefined;
3108
3110
  } | {
3109
- summary: string;
3110
3111
  kind: "agent_output";
3112
+ summary: string;
3111
3113
  agentId: string;
3112
3114
  sessionId: string;
3113
3115
  outputId: string;
3114
3116
  evidence?: {
3115
- id: string;
3117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3118
  label: string;
3117
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3119
+ id: string;
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
- id: string;
3132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
3133
  label: string;
3132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3134
+ id: string;
3133
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3136
  locator?: string | undefined;
3135
3137
  }[] | undefined;
3136
3138
  } | {
3137
- summary: string;
3138
3139
  kind: "conflict_detected";
3140
+ summary: string;
3139
3141
  conflictId: string;
3140
3142
  decisionIds: string[];
3141
3143
  agentIds: string[];
3142
3144
  evidence?: {
3143
- id: string;
3145
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3144
3146
  label: string;
3145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
+ id: string;
3146
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3147
3149
  locator?: string | undefined;
3148
3150
  }[] | undefined;
3149
3151
  } | {
3152
+ kind: "test_result";
3150
3153
  summary: string;
3151
3154
  status: "error" | "failed" | "passed";
3152
- kind: "test_result";
3153
3155
  command: string;
3154
3156
  decisionId: string;
3155
3157
  testId: string;
3156
3158
  durationMs?: number | undefined;
3157
3159
  evidence?: {
3158
- id: string;
3160
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3159
3161
  label: string;
3160
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
+ id: string;
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
- id: string;
3177
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
3178
  label: string;
3177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3179
+ id: string;
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
- id: string;
3186
- label: string;
3187
3187
  kind: "agent" | "human";
3188
+ label: string;
3189
+ id: string;
3188
3190
  };
3189
3191
  note?: string | undefined;
3190
3192
  evidence?: {
3191
- id: string;
3193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
3194
  label: string;
3193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3195
+ id: string;
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
- id: string;
3205
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3206
  label: string;
3205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3207
+ id: string;
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
- id: string;
3220
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3221
  label: string;
3220
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3222
+ id: string;
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
- id: string;
3235
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
3236
  label: string;
3235
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3237
+ id: string;
3236
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3237
3239
  locator?: string | undefined;
3238
3240
  }[] | undefined;
3239
3241
  } | {
3240
- summary: string;
3241
3242
  kind: "mission_completed";
3243
+ summary: string;
3242
3244
  outcome: "failed" | "recovered" | "inconclusive";
3243
3245
  evidence?: {
3244
- id: string;
3246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
3247
  label: string;
3246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3248
+ id: string;
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
- id: string;
3258
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3257
3259
  label: string;
3258
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3260
+ id: string;
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
- label: string;
3266
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3267
3267
  kind: "agent_status";
3268
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3269
+ label: string;
3268
3270
  role: string;
3269
3271
  agentId: string;
3270
3272
  sessionId: string;
3271
3273
  evidence: {
3272
- id: string;
3274
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3273
3275
  label: string;
3274
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
+ id: string;
3275
3277
  capture: "at_action" | "historical_lookup" | "fixture";
3276
3278
  locator?: string | undefined;
3277
3279
  }[];
3278
3280
  detail?: string | undefined;
3279
3281
  } | {
3280
- summary: string;
3281
3282
  kind: "agent_output";
3283
+ summary: string;
3282
3284
  agentId: string;
3283
3285
  sessionId: string;
3284
3286
  evidence: {
3285
- id: string;
3287
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
3288
  label: string;
3287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3289
+ id: string;
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
- id: string;
3300
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3299
3301
  label: string;
3300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
+ id: string;
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
- summary: string;
3309
3310
  kind: "conflict_detected";
3311
+ summary: string;
3310
3312
  evidence: {
3311
- id: string;
3313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3312
3314
  label: string;
3313
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3315
+ id: string;
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
  } | {
3323
+ kind: "test_result";
3321
3324
  summary: string;
3322
3325
  status: "error" | "failed" | "passed";
3323
- kind: "test_result";
3324
3326
  command: string;
3325
3327
  evidence: {
3326
- id: string;
3328
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3329
  label: string;
3328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3330
+ id: string;
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
- id: string;
3343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
3344
  label: string;
3343
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3345
+ id: string;
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
- id: string;
3357
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
3358
  label: string;
3357
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3359
+ id: string;
3358
3360
  capture: "at_action" | "historical_lookup" | "fixture";
3359
3361
  locator?: string | undefined;
3360
3362
  }[];
3361
3363
  correctionId: string;
3362
3364
  approvedBy: {
3363
- id: string;
3364
- label: string;
3365
3365
  kind: "agent" | "human";
3366
+ label: string;
3367
+ id: string;
3366
3368
  };
3367
3369
  note?: string | undefined;
3368
3370
  } | {
3369
3371
  kind: "decision_superseded";
3370
3372
  evidence: {
3371
- id: string;
3373
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
3374
  label: string;
3373
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3375
+ id: string;
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
- id: string;
3388
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3389
  label: string;
3388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
+ id: string;
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
- id: string;
3402
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3401
3403
  label: string;
3402
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3404
+ id: string;
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
- summary: string;
3412
3413
  kind: "mission_completed";
3414
+ summary: string;
3413
3415
  outcome: "failed" | "recovered" | "inconclusive";
3414
3416
  evidence: {
3415
- id: string;
3417
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3418
  label: string;
3417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3419
+ id: string;
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
- id: string;
3433
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3432
3434
  label: string;
3433
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3435
+ id: string;
3434
3436
  capture: "at_action" | "historical_lookup" | "fixture";
3435
3437
  locator?: string | undefined;
3436
3438
  }[] | undefined;
3437
3439
  } | {
3438
- label: string;
3439
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3440
3440
  kind: "agent_status";
3441
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3442
+ label: string;
3441
3443
  role: string;
3442
3444
  agentId: string;
3443
3445
  sessionId: string;
3444
3446
  detail?: string | undefined;
3445
3447
  evidence?: {
3446
- id: string;
3448
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
3449
  label: string;
3448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3450
+ id: string;
3449
3451
  capture: "at_action" | "historical_lookup" | "fixture";
3450
3452
  locator?: string | undefined;
3451
3453
  }[] | undefined;
3452
3454
  } | {
3453
- summary: string;
3454
3455
  kind: "agent_output";
3456
+ summary: string;
3455
3457
  agentId: string;
3456
3458
  sessionId: string;
3457
3459
  outputId: string;
3458
3460
  evidence?: {
3459
- id: string;
3461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3462
  label: string;
3461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3463
+ id: string;
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
- id: string;
3476
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
3477
  label: string;
3476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3478
+ id: string;
3477
3479
  capture: "at_action" | "historical_lookup" | "fixture";
3478
3480
  locator?: string | undefined;
3479
3481
  }[] | undefined;
3480
3482
  } | {
3481
- summary: string;
3482
3483
  kind: "conflict_detected";
3484
+ summary: string;
3483
3485
  conflictId: string;
3484
3486
  decisionIds: string[];
3485
3487
  agentIds: string[];
3486
3488
  evidence?: {
3487
- id: string;
3489
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
3490
  label: string;
3489
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
+ id: string;
3490
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3491
3493
  locator?: string | undefined;
3492
3494
  }[] | undefined;
3493
3495
  } | {
3496
+ kind: "test_result";
3494
3497
  summary: string;
3495
3498
  status: "error" | "failed" | "passed";
3496
- kind: "test_result";
3497
3499
  command: string;
3498
3500
  decisionId: string;
3499
3501
  testId: string;
3500
3502
  durationMs?: number | undefined;
3501
3503
  evidence?: {
3502
- id: string;
3504
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
3505
  label: string;
3504
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3506
+ id: string;
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
- id: string;
3521
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
3522
  label: string;
3521
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3523
+ id: string;
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
- id: string;
3530
- label: string;
3531
3531
  kind: "agent" | "human";
3532
+ label: string;
3533
+ id: string;
3532
3534
  };
3533
3535
  note?: string | undefined;
3534
3536
  evidence?: {
3535
- id: string;
3537
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
3538
  label: string;
3537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3539
+ id: string;
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
- id: string;
3549
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3550
  label: string;
3549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3551
+ id: string;
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
- id: string;
3564
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
3565
  label: string;
3564
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
+ id: string;
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
- id: string;
3579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3578
3580
  label: string;
3579
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3581
+ id: string;
3580
3582
  capture: "at_action" | "historical_lookup" | "fixture";
3581
3583
  locator?: string | undefined;
3582
3584
  }[] | undefined;
3583
3585
  } | {
3584
- summary: string;
3585
3586
  kind: "mission_completed";
3587
+ summary: string;
3586
3588
  outcome: "failed" | "recovered" | "inconclusive";
3587
3589
  evidence?: {
3588
- id: string;
3590
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
3591
  label: string;
3590
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3592
+ id: string;
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
- id: string;
3622
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
3623
  label: string;
3622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
+ id: string;
3623
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3626
  locator?: string | undefined;
3625
3627
  }, {
3626
- id: string;
3628
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
3629
  label: string;
3628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3630
+ id: string;
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
- id: string;
3638
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
3639
  label: string;
3638
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
+ id: string;
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
- id: string;
3652
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3653
  label: string;
3652
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3654
+ id: string;
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
- id: string;
3670
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3671
  label: string;
3670
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
+ id: string;
3671
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3672
3674
  locator?: string | undefined;
3673
3675
  }, {
3674
- id: string;
3676
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
3677
  label: string;
3676
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3678
+ id: string;
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
- label: string;
3685
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3686
3686
  kind: "agent_status";
3687
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3688
+ label: string;
3687
3689
  role: string;
3688
3690
  agentId: string;
3689
3691
  sessionId: string;
3690
3692
  evidence: {
3691
- id: string;
3693
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3694
  label: string;
3693
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3695
+ id: string;
3694
3696
  capture: "at_action" | "historical_lookup" | "fixture";
3695
3697
  locator?: string | undefined;
3696
3698
  }[];
3697
3699
  detail?: string | undefined;
3698
3700
  }, {
3699
- label: string;
3700
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3701
3701
  kind: "agent_status";
3702
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3703
+ label: string;
3702
3704
  role: string;
3703
3705
  agentId: string;
3704
3706
  sessionId: string;
3705
3707
  detail?: string | undefined;
3706
3708
  evidence?: {
3707
- id: string;
3709
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
3710
  label: string;
3709
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3711
+ id: string;
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
- id: string;
3725
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
3726
  label: string;
3725
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3727
+ id: string;
3726
3728
  capture: "at_action" | "historical_lookup" | "fixture";
3727
3729
  locator?: string | undefined;
3728
3730
  }, {
3729
- id: string;
3731
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3732
  label: string;
3731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3733
+ id: string;
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
- summary: string;
3740
3741
  kind: "agent_output";
3742
+ summary: string;
3741
3743
  agentId: string;
3742
3744
  sessionId: string;
3743
3745
  evidence: {
3744
- id: string;
3746
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3747
  label: string;
3746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3748
+ id: string;
3747
3749
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3750
  locator?: string | undefined;
3749
3751
  }[];
3750
3752
  outputId: string;
3751
3753
  }, {
3752
- summary: string;
3753
3754
  kind: "agent_output";
3755
+ summary: string;
3754
3756
  agentId: string;
3755
3757
  sessionId: string;
3756
3758
  outputId: string;
3757
3759
  evidence?: {
3758
- id: string;
3760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
3761
  label: string;
3760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3762
+ id: string;
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
- id: string;
3778
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
3779
  label: string;
3778
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3780
+ id: string;
3779
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3782
  locator?: string | undefined;
3781
3783
  }, {
3782
- id: string;
3784
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
3785
  label: string;
3784
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3786
+ id: string;
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
- id: string;
3799
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3798
3800
  label: string;
3799
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
+ id: string;
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
- id: string;
3817
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
3818
  label: string;
3817
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3819
+ id: string;
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
- id: string;
3836
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
3837
  label: string;
3836
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
+ id: string;
3837
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3840
  locator?: string | undefined;
3839
3841
  }, {
3840
- id: string;
3842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3843
  label: string;
3842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
+ id: string;
3843
3845
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3846
  locator?: string | undefined;
3845
3847
  }>, "many">>;
3846
3848
  }, "strict", z.ZodTypeAny, {
3847
- summary: string;
3848
3849
  kind: "conflict_detected";
3850
+ summary: string;
3849
3851
  evidence: {
3850
- id: string;
3852
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
3853
  label: string;
3852
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3854
+ id: string;
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
- summary: string;
3861
3862
  kind: "conflict_detected";
3863
+ summary: string;
3862
3864
  conflictId: string;
3863
3865
  decisionIds: string[];
3864
3866
  agentIds: string[];
3865
3867
  evidence?: {
3866
- id: string;
3868
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3867
3869
  label: string;
3868
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3870
+ id: string;
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
- id: string;
3890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
3891
  label: string;
3890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
+ id: string;
3891
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3892
3894
  locator?: string | undefined;
3893
3895
  }, {
3894
- id: string;
3896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3897
  label: string;
3896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
+ id: string;
3897
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3900
  locator?: string | undefined;
3899
3901
  }>, "many">>;
3900
3902
  }, "strict", z.ZodTypeAny, {
3903
+ kind: "test_result";
3901
3904
  summary: string;
3902
3905
  status: "error" | "failed" | "passed";
3903
- kind: "test_result";
3904
3906
  command: string;
3905
3907
  evidence: {
3906
- id: string;
3908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
3909
  label: string;
3908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3910
+ id: string;
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
  }, {
3919
+ kind: "test_result";
3917
3920
  summary: string;
3918
3921
  status: "error" | "failed" | "passed";
3919
- kind: "test_result";
3920
3922
  command: string;
3921
3923
  decisionId: string;
3922
3924
  testId: string;
3923
3925
  durationMs?: number | undefined;
3924
3926
  evidence?: {
3925
- id: string;
3927
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3926
3928
  label: string;
3927
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3929
+ id: string;
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
- id: string;
3950
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
3951
  label: string;
3950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
+ id: string;
3951
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3954
  locator?: string | undefined;
3953
3955
  }, {
3954
- id: string;
3956
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3957
  label: string;
3956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3958
+ id: string;
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
- id: string;
3967
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3968
  label: string;
3967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3969
+ id: string;
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
- id: string;
3988
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
3989
  label: string;
3988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
+ id: string;
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
- id: string;
4001
- label: string;
4002
4002
  kind: "agent" | "human";
4003
- }, {
4004
- id: string;
4005
4003
  label: string;
4004
+ id: string;
4005
+ }, {
4006
4006
  kind: "agent" | "human";
4007
+ label: string;
4008
+ id: string;
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
- id: string;
4018
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4017
4019
  label: string;
4018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4020
+ id: string;
4019
4021
  capture: "at_action" | "historical_lookup" | "fixture";
4020
4022
  locator?: string | undefined;
4021
4023
  }, {
4022
- id: string;
4024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
4025
  label: string;
4024
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4026
+ id: string;
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
- id: string;
4033
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
4034
  label: string;
4033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4035
+ id: string;
4034
4036
  capture: "at_action" | "historical_lookup" | "fixture";
4035
4037
  locator?: string | undefined;
4036
4038
  }[];
4037
4039
  correctionId: string;
4038
4040
  approvedBy: {
4039
- id: string;
4040
- label: string;
4041
4041
  kind: "agent" | "human";
4042
+ label: string;
4043
+ id: string;
4042
4044
  };
4043
4045
  note?: string | undefined;
4044
4046
  }, {
4045
4047
  kind: "correction_approved";
4046
4048
  correctionId: string;
4047
4049
  approvedBy: {
4048
- id: string;
4049
- label: string;
4050
4050
  kind: "agent" | "human";
4051
+ label: string;
4052
+ id: string;
4051
4053
  };
4052
4054
  note?: string | undefined;
4053
4055
  evidence?: {
4054
- id: string;
4056
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4057
  label: string;
4056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4058
+ id: string;
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
- id: string;
4074
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
4075
  label: string;
4074
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4076
+ id: string;
4075
4077
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4078
  locator?: string | undefined;
4077
4079
  }, {
4078
- id: string;
4080
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
4081
  label: string;
4080
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4082
+ id: string;
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
- id: string;
4089
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4090
  label: string;
4089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4091
+ id: string;
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
- id: string;
4104
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4105
  label: string;
4104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4106
+ id: string;
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
- id: string;
4122
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
4123
  label: string;
4122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4124
+ id: string;
4123
4125
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4126
  locator?: string | undefined;
4125
4127
  }, {
4126
- id: string;
4128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
4129
  label: string;
4128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4130
+ id: string;
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
- id: string;
4143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4142
4144
  label: string;
4143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4145
+ id: string;
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
- id: string;
4161
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
4162
  label: string;
4161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4163
+ id: string;
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
- id: string;
4179
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4180
  label: string;
4179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4181
+ id: string;
4180
4182
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4183
  locator?: string | undefined;
4182
4184
  }, {
4183
- id: string;
4185
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
4186
  label: string;
4185
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4187
+ id: string;
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
- id: string;
4199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4198
4200
  label: string;
4199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
+ id: string;
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
- id: string;
4218
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
4219
  label: string;
4218
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4220
+ id: string;
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
- id: string;
4235
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4234
4236
  label: string;
4235
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4237
+ id: string;
4236
4238
  capture: "at_action" | "historical_lookup" | "fixture";
4237
4239
  locator?: string | undefined;
4238
4240
  }, {
4239
- id: string;
4241
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4240
4242
  label: string;
4241
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4243
+ id: string;
4242
4244
  capture: "at_action" | "historical_lookup" | "fixture";
4243
4245
  locator?: string | undefined;
4244
4246
  }>, "many">>;
4245
4247
  }, "strict", z.ZodTypeAny, {
4246
- summary: string;
4247
4248
  kind: "mission_completed";
4249
+ summary: string;
4248
4250
  outcome: "failed" | "recovered" | "inconclusive";
4249
4251
  evidence: {
4250
- id: string;
4252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
4253
  label: string;
4252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4254
+ id: string;
4253
4255
  capture: "at_action" | "historical_lookup" | "fixture";
4254
4256
  locator?: string | undefined;
4255
4257
  }[];
4256
4258
  }, {
4257
- summary: string;
4258
4259
  kind: "mission_completed";
4260
+ summary: string;
4259
4261
  outcome: "failed" | "recovered" | "inconclusive";
4260
4262
  evidence?: {
4261
- id: string;
4263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4264
  label: string;
4263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4265
+ id: string;
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
- id: string;
4273
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4274
  label: string;
4273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4275
+ id: string;
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
- label: string;
4281
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4282
4282
  kind: "agent_status";
4283
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4284
+ label: string;
4283
4285
  role: string;
4284
4286
  agentId: string;
4285
4287
  sessionId: string;
4286
4288
  evidence: {
4287
- id: string;
4289
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4290
  label: string;
4289
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
+ id: string;
4290
4292
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4293
  locator?: string | undefined;
4292
4294
  }[];
4293
4295
  detail?: string | undefined;
4294
4296
  } | {
4295
- summary: string;
4296
4297
  kind: "agent_output";
4298
+ summary: string;
4297
4299
  agentId: string;
4298
4300
  sessionId: string;
4299
4301
  evidence: {
4300
- id: string;
4302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4303
  label: string;
4302
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
+ id: string;
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
- id: string;
4315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
4316
  label: string;
4315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
+ id: string;
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
- summary: string;
4324
4325
  kind: "conflict_detected";
4326
+ summary: string;
4325
4327
  evidence: {
4326
- id: string;
4328
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
4329
  label: string;
4328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4330
+ id: string;
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
  } | {
4338
+ kind: "test_result";
4336
4339
  summary: string;
4337
4340
  status: "error" | "failed" | "passed";
4338
- kind: "test_result";
4339
4341
  command: string;
4340
4342
  evidence: {
4341
- id: string;
4343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4342
4344
  label: string;
4343
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
+ id: string;
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
- id: string;
4358
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
4359
  label: string;
4358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4360
+ id: string;
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
- id: string;
4372
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4373
  label: string;
4372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4374
+ id: string;
4373
4375
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4376
  locator?: string | undefined;
4375
4377
  }[];
4376
4378
  correctionId: string;
4377
4379
  approvedBy: {
4378
- id: string;
4379
- label: string;
4380
4380
  kind: "agent" | "human";
4381
+ label: string;
4382
+ id: string;
4381
4383
  };
4382
4384
  note?: string | undefined;
4383
4385
  } | {
4384
4386
  kind: "decision_superseded";
4385
4387
  evidence: {
4386
- id: string;
4388
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
4389
  label: string;
4388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4390
+ id: string;
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
- id: string;
4403
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4404
  label: string;
4403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4405
+ id: string;
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
- id: string;
4417
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
4418
  label: string;
4417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4419
+ id: string;
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
- summary: string;
4427
4428
  kind: "mission_completed";
4429
+ summary: string;
4428
4430
  outcome: "failed" | "recovered" | "inconclusive";
4429
4431
  evidence: {
4430
- id: string;
4432
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
4433
  label: string;
4432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4434
+ id: string;
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
- id: string;
4444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
4445
  label: string;
4444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4446
+ id: string;
4445
4447
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4448
  locator?: string | undefined;
4447
4449
  }[] | undefined;
4448
4450
  } | {
4449
- label: string;
4450
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4451
4451
  kind: "agent_status";
4452
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4453
+ label: string;
4452
4454
  role: string;
4453
4455
  agentId: string;
4454
4456
  sessionId: string;
4455
4457
  detail?: string | undefined;
4456
4458
  evidence?: {
4457
- id: string;
4459
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4460
  label: string;
4459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
+ id: string;
4460
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4463
  locator?: string | undefined;
4462
4464
  }[] | undefined;
4463
4465
  } | {
4464
- summary: string;
4465
4466
  kind: "agent_output";
4467
+ summary: string;
4466
4468
  agentId: string;
4467
4469
  sessionId: string;
4468
4470
  outputId: string;
4469
4471
  evidence?: {
4470
- id: string;
4472
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
4473
  label: string;
4472
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4474
+ id: string;
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
- id: string;
4487
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
4488
  label: string;
4487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4489
+ id: string;
4488
4490
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4491
  locator?: string | undefined;
4490
4492
  }[] | undefined;
4491
4493
  } | {
4492
- summary: string;
4493
4494
  kind: "conflict_detected";
4495
+ summary: string;
4494
4496
  conflictId: string;
4495
4497
  decisionIds: string[];
4496
4498
  agentIds: string[];
4497
4499
  evidence?: {
4498
- id: string;
4500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4499
4501
  label: string;
4500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4502
+ id: string;
4501
4503
  capture: "at_action" | "historical_lookup" | "fixture";
4502
4504
  locator?: string | undefined;
4503
4505
  }[] | undefined;
4504
4506
  } | {
4507
+ kind: "test_result";
4505
4508
  summary: string;
4506
4509
  status: "error" | "failed" | "passed";
4507
- kind: "test_result";
4508
4510
  command: string;
4509
4511
  decisionId: string;
4510
4512
  testId: string;
4511
4513
  durationMs?: number | undefined;
4512
4514
  evidence?: {
4513
- id: string;
4515
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4514
4516
  label: string;
4515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4517
+ id: string;
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
- id: string;
4532
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
4533
  label: string;
4532
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4534
+ id: string;
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
- id: string;
4541
- label: string;
4542
4542
  kind: "agent" | "human";
4543
+ label: string;
4544
+ id: string;
4543
4545
  };
4544
4546
  note?: string | undefined;
4545
4547
  evidence?: {
4546
- id: string;
4548
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4547
4549
  label: string;
4548
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4550
+ id: string;
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
- id: string;
4560
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
4561
  label: string;
4560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4562
+ id: string;
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
- id: string;
4575
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4576
  label: string;
4575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4577
+ id: string;
4576
4578
  capture: "at_action" | "historical_lookup" | "fixture";
4577
4579
  locator?: string | undefined;
4578
4580
  }[] | undefined;
@@ -4585,64 +4587,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4585
4587
  recallReceiptId: string;
4586
4588
  staleDecisionAbsent: boolean;
4587
4589
  evidence?: {
4588
- id: string;
4590
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
4591
  label: string;
4590
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4592
+ id: string;
4591
4593
  capture: "at_action" | "historical_lookup" | "fixture";
4592
4594
  locator?: string | undefined;
4593
4595
  }[] | undefined;
4594
4596
  } | {
4595
- summary: string;
4596
4597
  kind: "mission_completed";
4598
+ summary: string;
4597
4599
  outcome: "failed" | "recovered" | "inconclusive";
4598
4600
  evidence?: {
4599
- id: string;
4601
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4602
  label: string;
4601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4603
+ id: string;
4602
4604
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4605
  locator?: string | undefined;
4604
4606
  }[] | undefined;
4605
4607
  }>;
4606
4608
  }, "strict", z.ZodTypeAny, {
4607
- namespace: string;
4608
- recordedAt: string;
4609
4609
  schemaVersion: "1";
4610
+ recordedAt: string;
4610
4611
  payload: {
4611
4612
  kind: "mission_started";
4612
4613
  title: string;
4613
4614
  evidence: {
4614
- id: string;
4615
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4615
4616
  label: string;
4616
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
+ id: string;
4617
4618
  capture: "at_action" | "historical_lookup" | "fixture";
4618
4619
  locator?: string | undefined;
4619
4620
  }[];
4620
4621
  objective: string;
4621
4622
  runMode: "replay" | "fixture" | "live";
4622
4623
  } | {
4623
- label: string;
4624
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4625
4624
  kind: "agent_status";
4625
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4626
+ label: string;
4626
4627
  role: string;
4627
4628
  agentId: string;
4628
4629
  sessionId: string;
4629
4630
  evidence: {
4630
- id: string;
4631
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4631
4632
  label: string;
4632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4633
+ id: string;
4633
4634
  capture: "at_action" | "historical_lookup" | "fixture";
4634
4635
  locator?: string | undefined;
4635
4636
  }[];
4636
4637
  detail?: string | undefined;
4637
4638
  } | {
4638
- summary: string;
4639
4639
  kind: "agent_output";
4640
+ summary: string;
4640
4641
  agentId: string;
4641
4642
  sessionId: string;
4642
4643
  evidence: {
4643
- id: string;
4644
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4644
4645
  label: string;
4645
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4646
+ id: string;
4646
4647
  capture: "at_action" | "historical_lookup" | "fixture";
4647
4648
  locator?: string | undefined;
4648
4649
  }[];
@@ -4653,9 +4654,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4653
4654
  statement: string;
4654
4655
  sessionId: string;
4655
4656
  evidence: {
4656
- id: string;
4657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4657
4658
  label: string;
4658
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4659
+ id: string;
4659
4660
  capture: "at_action" | "historical_lookup" | "fixture";
4660
4661
  locator?: string | undefined;
4661
4662
  }[];
@@ -4663,12 +4664,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4663
4664
  decisionId: string;
4664
4665
  confidence?: number | undefined;
4665
4666
  } | {
4666
- summary: string;
4667
4667
  kind: "conflict_detected";
4668
+ summary: string;
4668
4669
  evidence: {
4669
- id: string;
4670
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4670
4671
  label: string;
4671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4672
+ id: string;
4672
4673
  capture: "at_action" | "historical_lookup" | "fixture";
4673
4674
  locator?: string | undefined;
4674
4675
  }[];
@@ -4676,14 +4677,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4676
4677
  decisionIds: string[];
4677
4678
  agentIds: string[];
4678
4679
  } | {
4680
+ kind: "test_result";
4679
4681
  summary: string;
4680
4682
  status: "error" | "failed" | "passed";
4681
- kind: "test_result";
4682
4683
  command: string;
4683
4684
  evidence: {
4684
- id: string;
4685
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4685
4686
  label: string;
4686
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4687
+ id: string;
4687
4688
  capture: "at_action" | "historical_lookup" | "fixture";
4688
4689
  locator?: string | undefined;
4689
4690
  }[];
@@ -4696,9 +4697,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4696
4697
  statement: string;
4697
4698
  rationale: string;
4698
4699
  evidence: {
4699
- id: string;
4700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4700
4701
  label: string;
4701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4702
+ id: string;
4702
4703
  capture: "at_action" | "historical_lookup" | "fixture";
4703
4704
  locator?: string | undefined;
4704
4705
  }[];
@@ -4710,25 +4711,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4710
4711
  } | {
4711
4712
  kind: "correction_approved";
4712
4713
  evidence: {
4713
- id: string;
4714
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4714
4715
  label: string;
4715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4716
+ id: string;
4716
4717
  capture: "at_action" | "historical_lookup" | "fixture";
4717
4718
  locator?: string | undefined;
4718
4719
  }[];
4719
4720
  correctionId: string;
4720
4721
  approvedBy: {
4721
- id: string;
4722
- label: string;
4723
4722
  kind: "agent" | "human";
4723
+ label: string;
4724
+ id: string;
4724
4725
  };
4725
4726
  note?: string | undefined;
4726
4727
  } | {
4727
4728
  kind: "decision_superseded";
4728
4729
  evidence: {
4729
- id: string;
4730
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4730
4731
  label: string;
4731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4732
+ id: string;
4732
4733
  capture: "at_action" | "historical_lookup" | "fixture";
4733
4734
  locator?: string | undefined;
4734
4735
  }[];
@@ -4741,9 +4742,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4741
4742
  agentId: string;
4742
4743
  sessionId: string;
4743
4744
  evidence: {
4744
- id: string;
4745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4745
4746
  label: string;
4746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4747
+ id: string;
4747
4748
  capture: "at_action" | "historical_lookup" | "fixture";
4748
4749
  locator?: string | undefined;
4749
4750
  }[];
@@ -4755,9 +4756,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4755
4756
  agentId: string;
4756
4757
  sessionId: string;
4757
4758
  evidence: {
4758
- id: string;
4759
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4759
4760
  label: string;
4760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4761
+ id: string;
4761
4762
  capture: "at_action" | "historical_lookup" | "fixture";
4762
4763
  locator?: string | undefined;
4763
4764
  }[];
@@ -4766,63 +4767,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4766
4767
  recallReceiptId: string;
4767
4768
  staleDecisionAbsent: boolean;
4768
4769
  } | {
4769
- summary: string;
4770
4770
  kind: "mission_completed";
4771
+ summary: string;
4771
4772
  outcome: "failed" | "recovered" | "inconclusive";
4772
4773
  evidence: {
4773
- id: string;
4774
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4774
4775
  label: string;
4775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4776
+ id: string;
4776
4777
  capture: "at_action" | "historical_lookup" | "fixture";
4777
4778
  locator?: string | undefined;
4778
4779
  }[];
4779
4780
  };
4781
+ 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
  }, {
4786
- namespace: string;
4787
- recordedAt: string;
4788
4788
  schemaVersion: "1";
4789
+ recordedAt: string;
4789
4790
  payload: {
4790
4791
  kind: "mission_started";
4791
4792
  title: string;
4792
4793
  objective: string;
4793
4794
  runMode: "replay" | "fixture" | "live";
4794
4795
  evidence?: {
4795
- id: string;
4796
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4796
4797
  label: string;
4797
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4798
+ id: string;
4798
4799
  capture: "at_action" | "historical_lookup" | "fixture";
4799
4800
  locator?: string | undefined;
4800
4801
  }[] | undefined;
4801
4802
  } | {
4802
- label: string;
4803
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4804
4803
  kind: "agent_status";
4804
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4805
+ label: string;
4805
4806
  role: string;
4806
4807
  agentId: string;
4807
4808
  sessionId: string;
4808
4809
  detail?: string | undefined;
4809
4810
  evidence?: {
4810
- id: string;
4811
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4811
4812
  label: string;
4812
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4813
+ id: string;
4813
4814
  capture: "at_action" | "historical_lookup" | "fixture";
4814
4815
  locator?: string | undefined;
4815
4816
  }[] | undefined;
4816
4817
  } | {
4817
- summary: string;
4818
4818
  kind: "agent_output";
4819
+ summary: string;
4819
4820
  agentId: string;
4820
4821
  sessionId: string;
4821
4822
  outputId: string;
4822
4823
  evidence?: {
4823
- id: string;
4824
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4824
4825
  label: string;
4825
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4826
+ id: string;
4826
4827
  capture: "at_action" | "historical_lookup" | "fixture";
4827
4828
  locator?: string | undefined;
4828
4829
  }[] | undefined;
@@ -4835,37 +4836,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4835
4836
  decisionId: string;
4836
4837
  confidence?: number | undefined;
4837
4838
  evidence?: {
4838
- id: string;
4839
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4839
4840
  label: string;
4840
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4841
+ id: string;
4841
4842
  capture: "at_action" | "historical_lookup" | "fixture";
4842
4843
  locator?: string | undefined;
4843
4844
  }[] | undefined;
4844
4845
  } | {
4845
- summary: string;
4846
4846
  kind: "conflict_detected";
4847
+ summary: string;
4847
4848
  conflictId: string;
4848
4849
  decisionIds: string[];
4849
4850
  agentIds: string[];
4850
4851
  evidence?: {
4851
- id: string;
4852
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4852
4853
  label: string;
4853
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4854
+ id: string;
4854
4855
  capture: "at_action" | "historical_lookup" | "fixture";
4855
4856
  locator?: string | undefined;
4856
4857
  }[] | undefined;
4857
4858
  } | {
4859
+ kind: "test_result";
4858
4860
  summary: string;
4859
4861
  status: "error" | "failed" | "passed";
4860
- kind: "test_result";
4861
4862
  command: string;
4862
4863
  decisionId: string;
4863
4864
  testId: string;
4864
4865
  durationMs?: number | undefined;
4865
4866
  evidence?: {
4866
- id: string;
4867
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4867
4868
  label: string;
4868
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4869
+ id: string;
4869
4870
  capture: "at_action" | "historical_lookup" | "fixture";
4870
4871
  locator?: string | undefined;
4871
4872
  }[] | undefined;
@@ -4880,9 +4881,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4880
4881
  supersedesDecisionIds: string[];
4881
4882
  proposedBy: string;
4882
4883
  evidence?: {
4883
- id: string;
4884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4884
4885
  label: string;
4885
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4886
+ id: string;
4886
4887
  capture: "at_action" | "historical_lookup" | "fixture";
4887
4888
  locator?: string | undefined;
4888
4889
  }[] | undefined;
@@ -4890,15 +4891,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4890
4891
  kind: "correction_approved";
4891
4892
  correctionId: string;
4892
4893
  approvedBy: {
4893
- id: string;
4894
- label: string;
4895
4894
  kind: "agent" | "human";
4895
+ label: string;
4896
+ id: string;
4896
4897
  };
4897
4898
  note?: string | undefined;
4898
4899
  evidence?: {
4899
- id: string;
4900
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4900
4901
  label: string;
4901
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4902
+ id: string;
4902
4903
  capture: "at_action" | "historical_lookup" | "fixture";
4903
4904
  locator?: string | undefined;
4904
4905
  }[] | undefined;
@@ -4908,9 +4909,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4908
4909
  correctionId: string;
4909
4910
  replacementDecisionId: string;
4910
4911
  evidence?: {
4911
- id: string;
4912
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4912
4913
  label: string;
4913
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4914
+ id: string;
4914
4915
  capture: "at_action" | "historical_lookup" | "fixture";
4915
4916
  locator?: string | undefined;
4916
4917
  }[] | undefined;
@@ -4923,9 +4924,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4923
4924
  recallReceiptId: string;
4924
4925
  capturedAtAction: boolean;
4925
4926
  evidence?: {
4926
- id: string;
4927
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4927
4928
  label: string;
4928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4929
+ id: string;
4929
4930
  capture: "at_action" | "historical_lookup" | "fixture";
4930
4931
  locator?: string | undefined;
4931
4932
  }[] | undefined;
@@ -4938,24 +4939,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4938
4939
  recallReceiptId: string;
4939
4940
  staleDecisionAbsent: boolean;
4940
4941
  evidence?: {
4941
- id: string;
4942
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4942
4943
  label: string;
4943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4944
+ id: string;
4944
4945
  capture: "at_action" | "historical_lookup" | "fixture";
4945
4946
  locator?: string | undefined;
4946
4947
  }[] | undefined;
4947
4948
  } | {
4948
- summary: string;
4949
4949
  kind: "mission_completed";
4950
+ summary: string;
4950
4951
  outcome: "failed" | "recovered" | "inconclusive";
4951
4952
  evidence?: {
4952
- id: string;
4953
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4953
4954
  label: string;
4954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4955
+ id: string;
4955
4956
  capture: "at_action" | "historical_lookup" | "fixture";
4956
4957
  locator?: string | undefined;
4957
4958
  }[] | undefined;
4958
4959
  };
4960
+ namespace: string;
4959
4961
  eventId: string;
4960
4962
  occurredAt: string;
4961
4963
  missionId: string;