@remnic/core 9.57.4 → 9.57.6

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 (248) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +23 -23
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +24 -24
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +23 -23
  7. package/dist/access-cli.js +60 -60
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +23 -23
  10. package/dist/access-http-lcm-compaction.d.ts +1 -1
  11. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  12. package/dist/access-http-offline-stream.d.ts +1 -1
  13. package/dist/access-http-query.js +23 -23
  14. package/dist/access-http.d.ts +2 -2
  15. package/dist/access-http.js +34 -34
  16. package/dist/access-identity-continuity-surface.js +23 -23
  17. package/dist/access-lcm-surface.d.ts +1 -1
  18. package/dist/access-lcm-surface.js +23 -23
  19. package/dist/access-mcp.d.ts +1 -1
  20. package/dist/access-mcp.js +30 -30
  21. package/dist/access-memory-search-fanout.js +4 -3
  22. package/dist/access-namespace-preflight.js +23 -23
  23. package/dist/access-observe-write-surface.d.ts +1 -1
  24. package/dist/access-observe-write-surface.js +23 -23
  25. package/dist/access-offline-manifest.js +10 -10
  26. package/dist/access-operations-batch.js +26 -26
  27. package/dist/access-operations.d.ts +4 -4
  28. package/dist/access-operations.js +29 -29
  29. package/dist/access-recall-concurrency.d.ts +1 -1
  30. package/dist/access-recall-concurrency.js +23 -23
  31. package/dist/access-recall-response.d.ts +1 -1
  32. package/dist/access-recall-response.js +23 -23
  33. package/dist/access-recall-surface.d.ts +1 -1
  34. package/dist/access-recall-surface.js +23 -23
  35. package/dist/access-schema.d.ts +88 -88
  36. package/dist/access-service-helpers.d.ts +1 -1
  37. package/dist/access-service.d.ts +1 -1
  38. package/dist/access-service.js +23 -23
  39. package/dist/access-surface-catalog.d.ts +1 -1
  40. package/dist/access-surface-catalog.js +25 -25
  41. package/dist/active-memory-bridge.js +5 -5
  42. package/dist/briefing.js +5 -5
  43. package/dist/buffer-surprise.js +3 -3
  44. package/dist/buffer.js +6 -5
  45. package/dist/causal-consolidation.js +7 -7
  46. package/dist/{chunk-O54B5YNM.js → chunk-24PNX2GF.js} +3 -3
  47. package/dist/{chunk-ONCWJBWV.js → chunk-3AJOJOFP.js} +2 -2
  48. package/dist/{chunk-QSDPVZPD.js → chunk-4O6R3GPK.js} +8 -8
  49. package/dist/{chunk-IXGQP4RZ.js → chunk-4SGDYYWV.js} +4 -4
  50. package/dist/{chunk-UTDMY476.js → chunk-4UUF2EX3.js} +3 -3
  51. package/dist/{chunk-T6EQPZ6E.js → chunk-4YZCIK5E.js} +16 -14
  52. package/dist/chunk-4YZCIK5E.js.map +1 -0
  53. package/dist/{chunk-S6AH7WSF.js → chunk-5PGYCWA7.js} +5 -5
  54. package/dist/{chunk-7NSC4IVA.js → chunk-6RK2X7BR.js} +3 -3
  55. package/dist/{chunk-VWP5DEHU.js → chunk-6SX4MY5Q.js} +2 -2
  56. package/dist/{chunk-GUNIXT36.js → chunk-7BY7V4YX.js} +2 -2
  57. package/dist/{chunk-R7UHWPYI.js → chunk-7PJARJS4.js} +3 -3
  58. package/dist/{chunk-V3IT3XNG.js → chunk-7VSHDLJQ.js} +6 -6
  59. package/dist/{chunk-SFCJCMZQ.js → chunk-A7266TRJ.js} +2 -2
  60. package/dist/{chunk-TF3LMM5E.js → chunk-CSV34HIW.js} +3 -3
  61. package/dist/{chunk-FK7T55BA.js → chunk-CZUHNJHX.js} +19 -19
  62. package/dist/{chunk-NFQB6RJT.js → chunk-D4OCJSLV.js} +3 -3
  63. package/dist/{chunk-JKL53MOY.js → chunk-DLQQU4EG.js} +3 -3
  64. package/dist/{chunk-CME347TM.js → chunk-DNC4A7RS.js} +2 -2
  65. package/dist/{chunk-4THNU7OF.js → chunk-DUHMYBVE.js} +23 -23
  66. package/dist/{chunk-F2JRDPON.js → chunk-EGBDFJ36.js} +2 -2
  67. package/dist/{chunk-TFXYQNBH.js → chunk-FI3PIOOI.js} +9 -9
  68. package/dist/{chunk-CKSEJD7K.js → chunk-FKTD7IVS.js} +2 -2
  69. package/dist/{chunk-FONW766A.js → chunk-GXIY65UH.js} +2 -2
  70. package/dist/{chunk-2YREVL4T.js → chunk-HZC3OECF.js} +2 -2
  71. package/dist/{chunk-X5OIPQME.js → chunk-HZNYJN77.js} +6 -6
  72. package/dist/{chunk-LYPG7GOO.js → chunk-I2GIYTRU.js} +2 -2
  73. package/dist/{chunk-FR3FNPCJ.js → chunk-IT57AOMC.js} +4 -4
  74. package/dist/{chunk-CMRUIKVA.js → chunk-KCT36JAW.js} +25 -9
  75. package/dist/chunk-KCT36JAW.js.map +1 -0
  76. package/dist/{chunk-KJH6W2I7.js → chunk-L3CHRBHE.js} +4 -4
  77. package/dist/{chunk-PSH3VFZ7.js → chunk-L3LRWDJW.js} +7 -7
  78. package/dist/{chunk-JFPZEWY3.js → chunk-LIF6DO6U.js} +37 -13
  79. package/dist/chunk-LIF6DO6U.js.map +1 -0
  80. package/dist/{chunk-QZR3WT3L.js → chunk-LJJWFV2Q.js} +2 -2
  81. package/dist/chunk-LMXUWAXW.js +200 -0
  82. package/dist/chunk-LMXUWAXW.js.map +1 -0
  83. package/dist/{chunk-TLVLJSWS.js → chunk-LRDP2AC2.js} +2 -2
  84. package/dist/{chunk-QV7OEHFN.js → chunk-LTBKKSCX.js} +2 -2
  85. package/dist/{chunk-IGWVMA4Y.js → chunk-MRV7VSQK.js} +20 -10
  86. package/dist/chunk-MRV7VSQK.js.map +1 -0
  87. package/dist/{chunk-6P2NUVM5.js → chunk-NEJQ65NV.js} +2 -2
  88. package/dist/{chunk-7PKNOXYB.js → chunk-NTJ6TY44.js} +2 -2
  89. package/dist/{chunk-HYVBJLEK.js → chunk-O5AFC5KM.js} +2 -2
  90. package/dist/{chunk-P4BC54KI.js → chunk-P6WBAR27.js} +8 -32
  91. package/dist/chunk-P6WBAR27.js.map +1 -0
  92. package/dist/{chunk-U3PN77QT.js → chunk-PCXDUHQH.js} +11 -4
  93. package/dist/chunk-PCXDUHQH.js.map +1 -0
  94. package/dist/{chunk-N655QIA2.js → chunk-PEDYKCJI.js} +3 -3
  95. package/dist/{chunk-TVKWT2CY.js → chunk-Q57GOHLF.js} +11 -9
  96. package/dist/{chunk-TVKWT2CY.js.map → chunk-Q57GOHLF.js.map} +1 -1
  97. package/dist/{chunk-IFFW25NG.js → chunk-REVMY7RA.js} +36 -36
  98. package/dist/{chunk-4QFCAKNM.js → chunk-RUZM6Z52.js} +1 -1
  99. package/dist/{chunk-O4TTIMOP.js → chunk-SFR7J2G6.js} +2 -2
  100. package/dist/{chunk-ION47U3Z.js → chunk-SNW3YRO6.js} +2 -2
  101. package/dist/{chunk-XL24QQ63.js → chunk-TBUEE7XF.js} +2 -2
  102. package/dist/{chunk-66SLUXKM.js → chunk-TEHPIMXD.js} +2 -2
  103. package/dist/{chunk-TAPFJ3ET.js → chunk-U7XLOSG2.js} +3 -3
  104. package/dist/{chunk-T3HC7RJ7.js → chunk-USAUBGBC.js} +2 -2
  105. package/dist/{chunk-TAMY4NKO.js → chunk-USGKHF36.js} +2 -2
  106. package/dist/{chunk-XRPPHIRI.js → chunk-VUDALPI5.js} +2 -2
  107. package/dist/{chunk-EGGE52UU.js → chunk-VUFL7X3H.js} +13 -6
  108. package/dist/chunk-VUFL7X3H.js.map +1 -0
  109. package/dist/{chunk-HC55YCNK.js → chunk-VYIXCMUP.js} +4 -4
  110. package/dist/{chunk-HQ2VGCGP.js → chunk-XBGLEOID.js} +8 -8
  111. package/dist/{chunk-XX4HPFFM.js → chunk-XDL5CYZN.js} +4 -4
  112. package/dist/{chunk-THACANBI.js → chunk-YOKSRIFI.js} +3 -3
  113. package/dist/{chunk-BWJMBJCY.js → chunk-YTZA7U6Q.js} +6 -6
  114. package/dist/{chunk-4KM3V6VS.js → chunk-ZN7SMKAK.js} +2 -2
  115. package/dist/chunking.d.ts +3 -1
  116. package/dist/chunking.js +7 -3
  117. package/dist/{cli-DTOkYhKI.d.ts → cli-CQdYilcx.d.ts} +1 -1
  118. package/dist/cli.d.ts +2 -2
  119. package/dist/cli.js +46 -46
  120. package/dist/compounding/engine.js +5 -5
  121. package/dist/connectors/codex-materialize-runner.js +6 -6
  122. package/dist/connectors/index.js +6 -6
  123. package/dist/contradiction/index.js +3 -3
  124. package/dist/{contradiction-scan-522AYLQC.js → contradiction-scan-VOTQRRSX.js} +4 -4
  125. package/dist/convergence-refresh.js +7 -7
  126. package/dist/corpus-watermark.js +8 -8
  127. package/dist/entity-retrieval.js +5 -5
  128. package/dist/explicit-capture.js +4 -4
  129. package/dist/external-wiki-access.d.ts +1 -1
  130. package/dist/external-wiki-access.js +24 -24
  131. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  132. package/dist/extraction.js +11 -11
  133. package/dist/{first-start-migration-HZ4VPRFQ.js → first-start-migration-4NETATFF.js} +4 -4
  134. package/dist/{graph-edge-decay-ZXGBXNPW.js → graph-edge-decay-A4SDFMMS.js} +4 -3
  135. package/dist/harmonic-retrieval.js +1 -1
  136. package/dist/index.d.ts +680 -680
  137. package/dist/index.js +60 -60
  138. package/dist/maintenance/memory-governance.js +5 -5
  139. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
  140. package/dist/maintenance/rebuild-memory-projection.js +6 -6
  141. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  142. package/dist/namespaces/migrate.js +7 -7
  143. package/dist/namespaces/principal.js +3 -2
  144. package/dist/namespaces/search.js +2 -2
  145. package/dist/namespaces/storage.js +6 -6
  146. package/dist/offline-sync-impression-drain.js +6 -6
  147. package/dist/operator-doctor-corpus.js +9 -9
  148. package/dist/operator-toolkit.js +16 -16
  149. package/dist/orchestration/maintenance.js +14 -14
  150. package/dist/orchestrator.js +60 -60
  151. package/dist/{public-http-C01DLhAp.d.ts → public-http-Dw0bJhcC.d.ts} +1 -1
  152. package/dist/reconcile/manifest.js +3 -3
  153. package/dist/reconcile/plan.js +2 -2
  154. package/dist/routing/engine.js +2 -1
  155. package/dist/routing/store.js +3 -2
  156. package/dist/schemas.d.ts +138 -138
  157. package/dist/semantic-chunking.js +2 -2
  158. package/dist/semantic-consolidation.js +7 -7
  159. package/dist/semantic-rule-promotion.js +5 -5
  160. package/dist/semantic-rule-verifier.js +5 -5
  161. package/dist/shared-context/manager.d.ts +8 -8
  162. package/dist/source-agent-qualifier.js +10 -10
  163. package/dist/storage.js +4 -4
  164. package/dist/support-passport/index.d.ts +4 -4
  165. package/dist/support-passport/index.js +26 -26
  166. package/dist/tier-routing.js +3 -3
  167. package/dist/{tier-stats-7E6OBUSD.js → tier-stats-4B5IJ3NE.js} +4 -4
  168. package/dist/transfer/types.d.ts +66 -66
  169. package/dist/verified-recall.js +5 -5
  170. package/package.json +2 -2
  171. package/src/chunking.ts +119 -34
  172. package/src/namespaces/catalog.ts +9 -9
  173. package/src/namespaces/identity.ts +15 -6
  174. package/src/namespaces/principal.test.ts +10 -1
  175. package/src/namespaces/principal.ts +17 -9
  176. package/src/namespaces/scope-profiles.ts +35 -13
  177. package/src/namespaces/storage.ts +63 -13
  178. package/src/namespaces/unicode-routing.test.ts +71 -0
  179. package/src/routing/engine.test.ts +30 -0
  180. package/src/routing/engine.ts +12 -3
  181. package/src/scopes/scope-plan.ts +8 -2
  182. package/src/semantic-chunking.ts +10 -48
  183. package/src/storage-contract/namespace-routing.test.ts +18 -1
  184. package/dist/chunk-CMRUIKVA.js.map +0 -1
  185. package/dist/chunk-EGGE52UU.js.map +0 -1
  186. package/dist/chunk-IGWVMA4Y.js.map +0 -1
  187. package/dist/chunk-JFPZEWY3.js.map +0 -1
  188. package/dist/chunk-P4BC54KI.js.map +0 -1
  189. package/dist/chunk-T6EQPZ6E.js.map +0 -1
  190. package/dist/chunk-U3PN77QT.js.map +0 -1
  191. package/dist/chunk-UQ7RN5HK.js +0 -126
  192. package/dist/chunk-UQ7RN5HK.js.map +0 -1
  193. package/dist/{access-service-D9xXmKvd.d.ts → access-service-4DO8XMq6.d.ts} +64 -64
  194. /package/dist/{chunk-O54B5YNM.js.map → chunk-24PNX2GF.js.map} +0 -0
  195. /package/dist/{chunk-ONCWJBWV.js.map → chunk-3AJOJOFP.js.map} +0 -0
  196. /package/dist/{chunk-QSDPVZPD.js.map → chunk-4O6R3GPK.js.map} +0 -0
  197. /package/dist/{chunk-IXGQP4RZ.js.map → chunk-4SGDYYWV.js.map} +0 -0
  198. /package/dist/{chunk-UTDMY476.js.map → chunk-4UUF2EX3.js.map} +0 -0
  199. /package/dist/{chunk-S6AH7WSF.js.map → chunk-5PGYCWA7.js.map} +0 -0
  200. /package/dist/{chunk-7NSC4IVA.js.map → chunk-6RK2X7BR.js.map} +0 -0
  201. /package/dist/{chunk-VWP5DEHU.js.map → chunk-6SX4MY5Q.js.map} +0 -0
  202. /package/dist/{chunk-GUNIXT36.js.map → chunk-7BY7V4YX.js.map} +0 -0
  203. /package/dist/{chunk-R7UHWPYI.js.map → chunk-7PJARJS4.js.map} +0 -0
  204. /package/dist/{chunk-V3IT3XNG.js.map → chunk-7VSHDLJQ.js.map} +0 -0
  205. /package/dist/{chunk-SFCJCMZQ.js.map → chunk-A7266TRJ.js.map} +0 -0
  206. /package/dist/{chunk-TF3LMM5E.js.map → chunk-CSV34HIW.js.map} +0 -0
  207. /package/dist/{chunk-FK7T55BA.js.map → chunk-CZUHNJHX.js.map} +0 -0
  208. /package/dist/{chunk-NFQB6RJT.js.map → chunk-D4OCJSLV.js.map} +0 -0
  209. /package/dist/{chunk-JKL53MOY.js.map → chunk-DLQQU4EG.js.map} +0 -0
  210. /package/dist/{chunk-CME347TM.js.map → chunk-DNC4A7RS.js.map} +0 -0
  211. /package/dist/{chunk-4THNU7OF.js.map → chunk-DUHMYBVE.js.map} +0 -0
  212. /package/dist/{chunk-F2JRDPON.js.map → chunk-EGBDFJ36.js.map} +0 -0
  213. /package/dist/{chunk-TFXYQNBH.js.map → chunk-FI3PIOOI.js.map} +0 -0
  214. /package/dist/{chunk-CKSEJD7K.js.map → chunk-FKTD7IVS.js.map} +0 -0
  215. /package/dist/{chunk-FONW766A.js.map → chunk-GXIY65UH.js.map} +0 -0
  216. /package/dist/{chunk-2YREVL4T.js.map → chunk-HZC3OECF.js.map} +0 -0
  217. /package/dist/{chunk-X5OIPQME.js.map → chunk-HZNYJN77.js.map} +0 -0
  218. /package/dist/{chunk-LYPG7GOO.js.map → chunk-I2GIYTRU.js.map} +0 -0
  219. /package/dist/{chunk-FR3FNPCJ.js.map → chunk-IT57AOMC.js.map} +0 -0
  220. /package/dist/{chunk-KJH6W2I7.js.map → chunk-L3CHRBHE.js.map} +0 -0
  221. /package/dist/{chunk-PSH3VFZ7.js.map → chunk-L3LRWDJW.js.map} +0 -0
  222. /package/dist/{chunk-QZR3WT3L.js.map → chunk-LJJWFV2Q.js.map} +0 -0
  223. /package/dist/{chunk-TLVLJSWS.js.map → chunk-LRDP2AC2.js.map} +0 -0
  224. /package/dist/{chunk-QV7OEHFN.js.map → chunk-LTBKKSCX.js.map} +0 -0
  225. /package/dist/{chunk-6P2NUVM5.js.map → chunk-NEJQ65NV.js.map} +0 -0
  226. /package/dist/{chunk-7PKNOXYB.js.map → chunk-NTJ6TY44.js.map} +0 -0
  227. /package/dist/{chunk-HYVBJLEK.js.map → chunk-O5AFC5KM.js.map} +0 -0
  228. /package/dist/{chunk-N655QIA2.js.map → chunk-PEDYKCJI.js.map} +0 -0
  229. /package/dist/{chunk-IFFW25NG.js.map → chunk-REVMY7RA.js.map} +0 -0
  230. /package/dist/{chunk-4QFCAKNM.js.map → chunk-RUZM6Z52.js.map} +0 -0
  231. /package/dist/{chunk-O4TTIMOP.js.map → chunk-SFR7J2G6.js.map} +0 -0
  232. /package/dist/{chunk-ION47U3Z.js.map → chunk-SNW3YRO6.js.map} +0 -0
  233. /package/dist/{chunk-XL24QQ63.js.map → chunk-TBUEE7XF.js.map} +0 -0
  234. /package/dist/{chunk-66SLUXKM.js.map → chunk-TEHPIMXD.js.map} +0 -0
  235. /package/dist/{chunk-TAPFJ3ET.js.map → chunk-U7XLOSG2.js.map} +0 -0
  236. /package/dist/{chunk-T3HC7RJ7.js.map → chunk-USAUBGBC.js.map} +0 -0
  237. /package/dist/{chunk-TAMY4NKO.js.map → chunk-USGKHF36.js.map} +0 -0
  238. /package/dist/{chunk-XRPPHIRI.js.map → chunk-VUDALPI5.js.map} +0 -0
  239. /package/dist/{chunk-HC55YCNK.js.map → chunk-VYIXCMUP.js.map} +0 -0
  240. /package/dist/{chunk-HQ2VGCGP.js.map → chunk-XBGLEOID.js.map} +0 -0
  241. /package/dist/{chunk-XX4HPFFM.js.map → chunk-XDL5CYZN.js.map} +0 -0
  242. /package/dist/{chunk-THACANBI.js.map → chunk-YOKSRIFI.js.map} +0 -0
  243. /package/dist/{chunk-BWJMBJCY.js.map → chunk-YTZA7U6Q.js.map} +0 -0
  244. /package/dist/{chunk-4KM3V6VS.js.map → chunk-ZN7SMKAK.js.map} +0 -0
  245. /package/dist/{contradiction-scan-522AYLQC.js.map → contradiction-scan-VOTQRRSX.js.map} +0 -0
  246. /package/dist/{first-start-migration-HZ4VPRFQ.js.map → first-start-migration-4NETATFF.js.map} +0 -0
  247. /package/dist/{graph-edge-decay-ZXGBXNPW.js.map → graph-edge-decay-A4SDFMMS.js.map} +0 -0
  248. /package/dist/{tier-stats-7E6OBUSD.js.map → tier-stats-4B5IJ3NE.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -30,8 +30,8 @@ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAcc
30
30
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
31
31
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
32
32
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
33
- import { f as EngramAccessService } from './access-service-D9xXmKvd.js';
34
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-D9xXmKvd.js';
33
+ import { f as EngramAccessService } from './access-service-4DO8XMq6.js';
34
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-4DO8XMq6.js';
35
35
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
36
36
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
37
37
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -49,13 +49,13 @@ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
49
49
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
50
50
  export { storagePathHash } from './storage-paths.js';
51
51
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
52
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DTOkYhKI.js';
52
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-CQdYilcx.js';
53
53
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
54
54
  export { EngramMcpServer } from './access-mcp.js';
55
55
  import { BoundOperation } from './access-boundary.js';
56
56
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
57
57
  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';
58
- 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-C01DLhAp.js';
58
+ 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-Dw0bJhcC.js';
59
59
  import { z } from 'zod';
60
60
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
61
61
  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';
@@ -948,15 +948,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
948
948
  locator: z.ZodOptional<z.ZodString>;
949
949
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
950
950
  }, "strict", z.ZodTypeAny, {
951
- id: string;
951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
952
952
  label: string;
953
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
953
+ id: string;
954
954
  capture: "at_action" | "historical_lookup" | "fixture";
955
955
  locator?: string | undefined;
956
956
  }, {
957
- id: string;
957
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
958
958
  label: string;
959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
959
+ id: string;
960
960
  capture: "at_action" | "historical_lookup" | "fixture";
961
961
  locator?: string | undefined;
962
962
  }>;
@@ -973,15 +973,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
973
973
  locator: z.ZodOptional<z.ZodString>;
974
974
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
975
975
  }, "strict", z.ZodTypeAny, {
976
- id: string;
976
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
977
977
  label: string;
978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
978
+ id: string;
979
979
  capture: "at_action" | "historical_lookup" | "fixture";
980
980
  locator?: string | undefined;
981
981
  }, {
982
- id: string;
982
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
983
983
  label: string;
984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
984
+ id: string;
985
985
  capture: "at_action" | "historical_lookup" | "fixture";
986
986
  locator?: string | undefined;
987
987
  }>, "many">>;
@@ -989,9 +989,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
989
989
  kind: "mission_started";
990
990
  title: string;
991
991
  evidence: {
992
- id: string;
992
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
993
993
  label: string;
994
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
994
+ id: string;
995
995
  capture: "at_action" | "historical_lookup" | "fixture";
996
996
  locator?: string | undefined;
997
997
  }[];
@@ -1003,9 +1003,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1003
1003
  objective: string;
1004
1004
  runMode: "replay" | "fixture" | "live";
1005
1005
  evidence?: {
1006
- id: string;
1006
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1007
1007
  label: string;
1008
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1008
+ id: string;
1009
1009
  capture: "at_action" | "historical_lookup" | "fixture";
1010
1010
  locator?: string | undefined;
1011
1011
  }[] | undefined;
@@ -1021,15 +1021,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1021
1021
  locator: z.ZodOptional<z.ZodString>;
1022
1022
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1023
1023
  }, "strict", z.ZodTypeAny, {
1024
- id: string;
1024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1025
1025
  label: string;
1026
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1026
+ id: string;
1027
1027
  capture: "at_action" | "historical_lookup" | "fixture";
1028
1028
  locator?: string | undefined;
1029
1029
  }, {
1030
- id: string;
1030
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1031
1031
  label: string;
1032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1032
+ id: string;
1033
1033
  capture: "at_action" | "historical_lookup" | "fixture";
1034
1034
  locator?: string | undefined;
1035
1035
  }>, "many">>;
@@ -1037,32 +1037,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1037
1037
  sessionId: z.ZodString;
1038
1038
  kind: z.ZodLiteral<"agent_status">;
1039
1039
  }, "strict", z.ZodTypeAny, {
1040
- label: string;
1041
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1042
1040
  kind: "agent_status";
1041
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1042
+ label: string;
1043
1043
  role: string;
1044
1044
  agentId: string;
1045
1045
  sessionId: string;
1046
1046
  evidence: {
1047
- id: string;
1047
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1048
1048
  label: string;
1049
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1049
+ id: string;
1050
1050
  capture: "at_action" | "historical_lookup" | "fixture";
1051
1051
  locator?: string | undefined;
1052
1052
  }[];
1053
1053
  detail?: string | undefined;
1054
1054
  }, {
1055
- label: string;
1056
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1057
1055
  kind: "agent_status";
1056
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1057
+ label: string;
1058
1058
  role: string;
1059
1059
  agentId: string;
1060
1060
  sessionId: string;
1061
1061
  detail?: string | undefined;
1062
1062
  evidence?: {
1063
- id: string;
1063
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1064
1064
  label: string;
1065
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1065
+ id: string;
1066
1066
  capture: "at_action" | "historical_lookup" | "fixture";
1067
1067
  locator?: string | undefined;
1068
1068
  }[] | undefined;
@@ -1076,15 +1076,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1076
1076
  locator: z.ZodOptional<z.ZodString>;
1077
1077
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1078
1078
  }, "strict", z.ZodTypeAny, {
1079
- id: string;
1079
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1080
1080
  label: string;
1081
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1081
+ id: string;
1082
1082
  capture: "at_action" | "historical_lookup" | "fixture";
1083
1083
  locator?: string | undefined;
1084
1084
  }, {
1085
- id: string;
1085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1086
1086
  label: string;
1087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1087
+ id: string;
1088
1088
  capture: "at_action" | "historical_lookup" | "fixture";
1089
1089
  locator?: string | undefined;
1090
1090
  }>, "many">>;
@@ -1092,28 +1092,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1092
1092
  sessionId: z.ZodString;
1093
1093
  kind: z.ZodLiteral<"agent_output">;
1094
1094
  }, "strict", z.ZodTypeAny, {
1095
- summary: string;
1096
1095
  kind: "agent_output";
1096
+ summary: string;
1097
1097
  agentId: string;
1098
1098
  sessionId: string;
1099
1099
  evidence: {
1100
- id: string;
1100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1101
1101
  label: string;
1102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1102
+ id: string;
1103
1103
  capture: "at_action" | "historical_lookup" | "fixture";
1104
1104
  locator?: string | undefined;
1105
1105
  }[];
1106
1106
  outputId: string;
1107
1107
  }, {
1108
- summary: string;
1109
1108
  kind: "agent_output";
1109
+ summary: string;
1110
1110
  agentId: string;
1111
1111
  sessionId: string;
1112
1112
  outputId: string;
1113
1113
  evidence?: {
1114
- id: string;
1114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1115
1115
  label: string;
1116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1116
+ id: string;
1117
1117
  capture: "at_action" | "historical_lookup" | "fixture";
1118
1118
  locator?: string | undefined;
1119
1119
  }[] | undefined;
@@ -1129,15 +1129,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1129
1129
  locator: z.ZodOptional<z.ZodString>;
1130
1130
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1131
1131
  }, "strict", z.ZodTypeAny, {
1132
- id: string;
1132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1133
1133
  label: string;
1134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1134
+ id: string;
1135
1135
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1136
  locator?: string | undefined;
1137
1137
  }, {
1138
- id: string;
1138
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1139
1139
  label: string;
1140
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1140
+ id: string;
1141
1141
  capture: "at_action" | "historical_lookup" | "fixture";
1142
1142
  locator?: string | undefined;
1143
1143
  }>, "many">>;
@@ -1150,9 +1150,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1150
1150
  statement: string;
1151
1151
  sessionId: string;
1152
1152
  evidence: {
1153
- id: string;
1153
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1154
1154
  label: string;
1155
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1155
+ id: string;
1156
1156
  capture: "at_action" | "historical_lookup" | "fixture";
1157
1157
  locator?: string | undefined;
1158
1158
  }[];
@@ -1168,9 +1168,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1168
1168
  decisionId: string;
1169
1169
  confidence?: number | undefined;
1170
1170
  evidence?: {
1171
- id: string;
1171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1172
1172
  label: string;
1173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1173
+ id: string;
1174
1174
  capture: "at_action" | "historical_lookup" | "fixture";
1175
1175
  locator?: string | undefined;
1176
1176
  }[] | undefined;
@@ -1187,25 +1187,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1187
1187
  locator: z.ZodOptional<z.ZodString>;
1188
1188
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1189
1189
  }, "strict", z.ZodTypeAny, {
1190
- id: string;
1190
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1191
1191
  label: string;
1192
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1192
+ id: string;
1193
1193
  capture: "at_action" | "historical_lookup" | "fixture";
1194
1194
  locator?: string | undefined;
1195
1195
  }, {
1196
- id: string;
1196
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1197
1197
  label: string;
1198
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1198
+ id: string;
1199
1199
  capture: "at_action" | "historical_lookup" | "fixture";
1200
1200
  locator?: string | undefined;
1201
1201
  }>, "many">>;
1202
1202
  }, "strict", z.ZodTypeAny, {
1203
- summary: string;
1204
1203
  kind: "conflict_detected";
1204
+ summary: string;
1205
1205
  evidence: {
1206
- id: string;
1206
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1207
1207
  label: string;
1208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1208
+ id: string;
1209
1209
  capture: "at_action" | "historical_lookup" | "fixture";
1210
1210
  locator?: string | undefined;
1211
1211
  }[];
@@ -1213,15 +1213,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1213
1213
  decisionIds: string[];
1214
1214
  agentIds: string[];
1215
1215
  }, {
1216
- summary: string;
1217
1216
  kind: "conflict_detected";
1217
+ summary: string;
1218
1218
  conflictId: string;
1219
1219
  decisionIds: string[];
1220
1220
  agentIds: string[];
1221
1221
  evidence?: {
1222
- id: string;
1222
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1223
1223
  label: string;
1224
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1224
+ id: string;
1225
1225
  capture: "at_action" | "historical_lookup" | "fixture";
1226
1226
  locator?: string | undefined;
1227
1227
  }[] | undefined;
@@ -1241,27 +1241,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1241
1241
  locator: z.ZodOptional<z.ZodString>;
1242
1242
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1243
1243
  }, "strict", z.ZodTypeAny, {
1244
- id: string;
1244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
1245
  label: string;
1246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1246
+ id: string;
1247
1247
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1248
  locator?: string | undefined;
1249
1249
  }, {
1250
- id: string;
1250
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1251
1251
  label: string;
1252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1252
+ id: string;
1253
1253
  capture: "at_action" | "historical_lookup" | "fixture";
1254
1254
  locator?: string | undefined;
1255
1255
  }>, "many">>;
1256
1256
  }, "strict", z.ZodTypeAny, {
1257
+ kind: "test_result";
1257
1258
  summary: string;
1258
1259
  status: "error" | "failed" | "passed";
1259
- kind: "test_result";
1260
1260
  command: string;
1261
1261
  evidence: {
1262
- id: string;
1262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
1263
  label: string;
1264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
+ id: string;
1265
1265
  capture: "at_action" | "historical_lookup" | "fixture";
1266
1266
  locator?: string | undefined;
1267
1267
  }[];
@@ -1270,17 +1270,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1270
1270
  durationMs?: number | undefined;
1271
1271
  correctionId?: string | undefined;
1272
1272
  }, {
1273
+ kind: "test_result";
1273
1274
  summary: string;
1274
1275
  status: "error" | "failed" | "passed";
1275
- kind: "test_result";
1276
1276
  command: string;
1277
1277
  decisionId: string;
1278
1278
  testId: string;
1279
1279
  durationMs?: number | undefined;
1280
1280
  evidence?: {
1281
- id: string;
1281
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
1282
  label: string;
1283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1283
+ id: string;
1284
1284
  capture: "at_action" | "historical_lookup" | "fixture";
1285
1285
  locator?: string | undefined;
1286
1286
  }[] | undefined;
@@ -1301,15 +1301,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1301
1301
  locator: z.ZodOptional<z.ZodString>;
1302
1302
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1303
1303
  }, "strict", z.ZodTypeAny, {
1304
- id: string;
1304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1305
1305
  label: string;
1306
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1306
+ id: string;
1307
1307
  capture: "at_action" | "historical_lookup" | "fixture";
1308
1308
  locator?: string | undefined;
1309
1309
  }, {
1310
- id: string;
1310
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1311
1311
  label: string;
1312
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
+ id: string;
1313
1313
  capture: "at_action" | "historical_lookup" | "fixture";
1314
1314
  locator?: string | undefined;
1315
1315
  }>, "many">>;
@@ -1318,9 +1318,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1318
1318
  statement: string;
1319
1319
  rationale: string;
1320
1320
  evidence: {
1321
- id: string;
1321
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1322
1322
  label: string;
1323
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1323
+ id: string;
1324
1324
  capture: "at_action" | "historical_lookup" | "fixture";
1325
1325
  locator?: string | undefined;
1326
1326
  }[];
@@ -1339,9 +1339,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1339
1339
  supersedesDecisionIds: string[];
1340
1340
  proposedBy: string;
1341
1341
  evidence?: {
1342
- id: string;
1342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1343
1343
  label: string;
1344
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1344
+ id: string;
1345
1345
  capture: "at_action" | "historical_lookup" | "fixture";
1346
1346
  locator?: string | undefined;
1347
1347
  }[] | undefined;
@@ -1353,13 +1353,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1353
1353
  id: z.ZodString;
1354
1354
  label: z.ZodString;
1355
1355
  }, "strict", z.ZodTypeAny, {
1356
- id: string;
1357
- label: string;
1358
1356
  kind: "agent" | "human";
1359
- }, {
1360
- id: string;
1361
1357
  label: string;
1358
+ id: string;
1359
+ }, {
1362
1360
  kind: "agent" | "human";
1361
+ label: string;
1362
+ id: string;
1363
1363
  }>;
1364
1364
  note: z.ZodOptional<z.ZodString>;
1365
1365
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1369,47 +1369,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1369
1369
  locator: z.ZodOptional<z.ZodString>;
1370
1370
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1371
1371
  }, "strict", z.ZodTypeAny, {
1372
- id: string;
1372
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1373
  label: string;
1374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1374
+ id: string;
1375
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1376
  locator?: string | undefined;
1377
1377
  }, {
1378
- id: string;
1378
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
1379
  label: string;
1380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
+ id: string;
1381
1381
  capture: "at_action" | "historical_lookup" | "fixture";
1382
1382
  locator?: string | undefined;
1383
1383
  }>, "many">>;
1384
1384
  }, "strict", z.ZodTypeAny, {
1385
1385
  kind: "correction_approved";
1386
1386
  evidence: {
1387
- id: string;
1387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1388
  label: string;
1389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1389
+ id: string;
1390
1390
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1391
  locator?: string | undefined;
1392
1392
  }[];
1393
1393
  correctionId: string;
1394
1394
  approvedBy: {
1395
- id: string;
1396
- label: string;
1397
1395
  kind: "agent" | "human";
1396
+ label: string;
1397
+ id: string;
1398
1398
  };
1399
1399
  note?: string | undefined;
1400
1400
  }, {
1401
1401
  kind: "correction_approved";
1402
1402
  correctionId: string;
1403
1403
  approvedBy: {
1404
- id: string;
1405
- label: string;
1406
1404
  kind: "agent" | "human";
1405
+ label: string;
1406
+ id: string;
1407
1407
  };
1408
1408
  note?: string | undefined;
1409
1409
  evidence?: {
1410
- id: string;
1410
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
1411
  label: string;
1412
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1412
+ id: string;
1413
1413
  capture: "at_action" | "historical_lookup" | "fixture";
1414
1414
  locator?: string | undefined;
1415
1415
  }[] | undefined;
@@ -1425,24 +1425,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1425
1425
  locator: z.ZodOptional<z.ZodString>;
1426
1426
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1427
1427
  }, "strict", z.ZodTypeAny, {
1428
- id: string;
1428
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1429
1429
  label: string;
1430
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1430
+ id: string;
1431
1431
  capture: "at_action" | "historical_lookup" | "fixture";
1432
1432
  locator?: string | undefined;
1433
1433
  }, {
1434
- id: string;
1434
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
1435
  label: string;
1436
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1436
+ id: string;
1437
1437
  capture: "at_action" | "historical_lookup" | "fixture";
1438
1438
  locator?: string | undefined;
1439
1439
  }>, "many">>;
1440
1440
  }, "strict", z.ZodTypeAny, {
1441
1441
  kind: "decision_superseded";
1442
1442
  evidence: {
1443
- id: string;
1443
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
1444
  label: string;
1445
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1445
+ id: string;
1446
1446
  capture: "at_action" | "historical_lookup" | "fixture";
1447
1447
  locator?: string | undefined;
1448
1448
  }[];
@@ -1455,9 +1455,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1455
1455
  correctionId: string;
1456
1456
  replacementDecisionId: string;
1457
1457
  evidence?: {
1458
- id: string;
1458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
1459
  label: string;
1460
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
+ id: string;
1461
1461
  capture: "at_action" | "historical_lookup" | "fixture";
1462
1462
  locator?: string | undefined;
1463
1463
  }[] | undefined;
@@ -1473,15 +1473,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1473
1473
  locator: z.ZodOptional<z.ZodString>;
1474
1474
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1475
1475
  }, "strict", z.ZodTypeAny, {
1476
- id: string;
1476
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
1477
  label: string;
1478
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
+ id: string;
1479
1479
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1480
  locator?: string | undefined;
1481
1481
  }, {
1482
- id: string;
1482
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1483
1483
  label: string;
1484
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
+ id: string;
1485
1485
  capture: "at_action" | "historical_lookup" | "fixture";
1486
1486
  locator?: string | undefined;
1487
1487
  }>, "many">>;
@@ -1494,9 +1494,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1494
1494
  agentId: string;
1495
1495
  sessionId: string;
1496
1496
  evidence: {
1497
- id: string;
1497
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1498
1498
  label: string;
1499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1499
+ id: string;
1500
1500
  capture: "at_action" | "historical_lookup" | "fixture";
1501
1501
  locator?: string | undefined;
1502
1502
  }[];
@@ -1512,9 +1512,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1512
1512
  recallReceiptId: string;
1513
1513
  capturedAtAction: boolean;
1514
1514
  evidence?: {
1515
- id: string;
1515
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1516
1516
  label: string;
1517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1517
+ id: string;
1518
1518
  capture: "at_action" | "historical_lookup" | "fixture";
1519
1519
  locator?: string | undefined;
1520
1520
  }[] | undefined;
@@ -1530,15 +1530,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1530
1530
  locator: z.ZodOptional<z.ZodString>;
1531
1531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1532
1532
  }, "strict", z.ZodTypeAny, {
1533
- id: string;
1533
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1534
  label: string;
1535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
+ id: string;
1536
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1537
  locator?: string | undefined;
1538
1538
  }, {
1539
- id: string;
1539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1540
  label: string;
1541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
+ id: string;
1542
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1543
  locator?: string | undefined;
1544
1544
  }>, "many">>;
@@ -1550,9 +1550,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1550
1550
  agentId: string;
1551
1551
  sessionId: string;
1552
1552
  evidence: {
1553
- id: string;
1553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1554
1554
  label: string;
1555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1555
+ id: string;
1556
1556
  capture: "at_action" | "historical_lookup" | "fixture";
1557
1557
  locator?: string | undefined;
1558
1558
  }[];
@@ -1569,9 +1569,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1569
1569
  recallReceiptId: string;
1570
1570
  staleDecisionAbsent: boolean;
1571
1571
  evidence?: {
1572
- id: string;
1572
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1573
1573
  label: string;
1574
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1574
+ id: string;
1575
1575
  capture: "at_action" | "historical_lookup" | "fixture";
1576
1576
  locator?: string | undefined;
1577
1577
  }[] | undefined;
@@ -1586,37 +1586,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1586
1586
  locator: z.ZodOptional<z.ZodString>;
1587
1587
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1588
1588
  }, "strict", z.ZodTypeAny, {
1589
- id: string;
1589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
1590
  label: string;
1591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1591
+ id: string;
1592
1592
  capture: "at_action" | "historical_lookup" | "fixture";
1593
1593
  locator?: string | undefined;
1594
1594
  }, {
1595
- id: string;
1595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
1596
  label: string;
1597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
+ id: string;
1598
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1599
  locator?: string | undefined;
1600
1600
  }>, "many">>;
1601
1601
  }, "strict", z.ZodTypeAny, {
1602
- summary: string;
1603
1602
  kind: "mission_completed";
1603
+ summary: string;
1604
1604
  outcome: "failed" | "recovered" | "inconclusive";
1605
1605
  evidence: {
1606
- id: string;
1606
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1607
1607
  label: string;
1608
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1608
+ id: string;
1609
1609
  capture: "at_action" | "historical_lookup" | "fixture";
1610
1610
  locator?: string | undefined;
1611
1611
  }[];
1612
1612
  }, {
1613
- summary: string;
1614
1613
  kind: "mission_completed";
1614
+ summary: string;
1615
1615
  outcome: "failed" | "recovered" | "inconclusive";
1616
1616
  evidence?: {
1617
- id: string;
1617
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1618
1618
  label: string;
1619
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1619
+ id: string;
1620
1620
  capture: "at_action" | "historical_lookup" | "fixture";
1621
1621
  locator?: string | undefined;
1622
1622
  }[] | undefined;
@@ -1624,38 +1624,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1624
1624
  kind: "mission_started";
1625
1625
  title: string;
1626
1626
  evidence: {
1627
- id: string;
1627
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1628
1628
  label: string;
1629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1629
+ id: string;
1630
1630
  capture: "at_action" | "historical_lookup" | "fixture";
1631
1631
  locator?: string | undefined;
1632
1632
  }[];
1633
1633
  objective: string;
1634
1634
  runMode: "replay" | "fixture" | "live";
1635
1635
  } | {
1636
- label: string;
1637
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1638
1636
  kind: "agent_status";
1637
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1638
+ label: string;
1639
1639
  role: string;
1640
1640
  agentId: string;
1641
1641
  sessionId: string;
1642
1642
  evidence: {
1643
- id: string;
1643
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1644
1644
  label: string;
1645
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1645
+ id: string;
1646
1646
  capture: "at_action" | "historical_lookup" | "fixture";
1647
1647
  locator?: string | undefined;
1648
1648
  }[];
1649
1649
  detail?: string | undefined;
1650
1650
  } | {
1651
- summary: string;
1652
1651
  kind: "agent_output";
1652
+ summary: string;
1653
1653
  agentId: string;
1654
1654
  sessionId: string;
1655
1655
  evidence: {
1656
- id: string;
1656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
1657
  label: string;
1658
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1658
+ id: string;
1659
1659
  capture: "at_action" | "historical_lookup" | "fixture";
1660
1660
  locator?: string | undefined;
1661
1661
  }[];
@@ -1666,9 +1666,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1666
1666
  statement: string;
1667
1667
  sessionId: string;
1668
1668
  evidence: {
1669
- id: string;
1669
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1670
1670
  label: string;
1671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
+ id: string;
1672
1672
  capture: "at_action" | "historical_lookup" | "fixture";
1673
1673
  locator?: string | undefined;
1674
1674
  }[];
@@ -1676,12 +1676,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1676
1676
  decisionId: string;
1677
1677
  confidence?: number | undefined;
1678
1678
  } | {
1679
- summary: string;
1680
1679
  kind: "conflict_detected";
1680
+ summary: string;
1681
1681
  evidence: {
1682
- id: string;
1682
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1683
1683
  label: string;
1684
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1684
+ id: string;
1685
1685
  capture: "at_action" | "historical_lookup" | "fixture";
1686
1686
  locator?: string | undefined;
1687
1687
  }[];
@@ -1689,14 +1689,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1689
1689
  decisionIds: string[];
1690
1690
  agentIds: string[];
1691
1691
  } | {
1692
+ kind: "test_result";
1692
1693
  summary: string;
1693
1694
  status: "error" | "failed" | "passed";
1694
- kind: "test_result";
1695
1695
  command: string;
1696
1696
  evidence: {
1697
- id: string;
1697
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1698
  label: string;
1699
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1699
+ id: string;
1700
1700
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1701
  locator?: string | undefined;
1702
1702
  }[];
@@ -1709,9 +1709,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1709
1709
  statement: string;
1710
1710
  rationale: string;
1711
1711
  evidence: {
1712
- id: string;
1712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
1713
  label: string;
1714
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
+ id: string;
1715
1715
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1716
  locator?: string | undefined;
1717
1717
  }[];
@@ -1723,25 +1723,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1723
1723
  } | {
1724
1724
  kind: "correction_approved";
1725
1725
  evidence: {
1726
- id: string;
1726
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1727
  label: string;
1728
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1728
+ id: string;
1729
1729
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1730
  locator?: string | undefined;
1731
1731
  }[];
1732
1732
  correctionId: string;
1733
1733
  approvedBy: {
1734
- id: string;
1735
- label: string;
1736
1734
  kind: "agent" | "human";
1735
+ label: string;
1736
+ id: string;
1737
1737
  };
1738
1738
  note?: string | undefined;
1739
1739
  } | {
1740
1740
  kind: "decision_superseded";
1741
1741
  evidence: {
1742
- id: string;
1742
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1743
1743
  label: string;
1744
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1744
+ id: string;
1745
1745
  capture: "at_action" | "historical_lookup" | "fixture";
1746
1746
  locator?: string | undefined;
1747
1747
  }[];
@@ -1754,9 +1754,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1754
1754
  agentId: string;
1755
1755
  sessionId: string;
1756
1756
  evidence: {
1757
- id: string;
1757
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1758
1758
  label: string;
1759
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1759
+ id: string;
1760
1760
  capture: "at_action" | "historical_lookup" | "fixture";
1761
1761
  locator?: string | undefined;
1762
1762
  }[];
@@ -1768,9 +1768,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1768
1768
  agentId: string;
1769
1769
  sessionId: string;
1770
1770
  evidence: {
1771
- id: string;
1771
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
1772
  label: string;
1773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1773
+ id: string;
1774
1774
  capture: "at_action" | "historical_lookup" | "fixture";
1775
1775
  locator?: string | undefined;
1776
1776
  }[];
@@ -1779,13 +1779,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1779
1779
  recallReceiptId: string;
1780
1780
  staleDecisionAbsent: boolean;
1781
1781
  } | {
1782
- summary: string;
1783
1782
  kind: "mission_completed";
1783
+ summary: string;
1784
1784
  outcome: "failed" | "recovered" | "inconclusive";
1785
1785
  evidence: {
1786
- id: string;
1786
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
1787
  label: string;
1788
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1788
+ id: string;
1789
1789
  capture: "at_action" | "historical_lookup" | "fixture";
1790
1790
  locator?: string | undefined;
1791
1791
  }[];
@@ -1795,37 +1795,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1795
1795
  objective: string;
1796
1796
  runMode: "replay" | "fixture" | "live";
1797
1797
  evidence?: {
1798
- id: string;
1798
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1799
  label: string;
1800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1800
+ id: string;
1801
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1802
  locator?: string | undefined;
1803
1803
  }[] | undefined;
1804
1804
  } | {
1805
- label: string;
1806
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1807
1805
  kind: "agent_status";
1806
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1807
+ label: string;
1808
1808
  role: string;
1809
1809
  agentId: string;
1810
1810
  sessionId: string;
1811
1811
  detail?: string | undefined;
1812
1812
  evidence?: {
1813
- id: string;
1813
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1814
1814
  label: string;
1815
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
+ id: string;
1816
1816
  capture: "at_action" | "historical_lookup" | "fixture";
1817
1817
  locator?: string | undefined;
1818
1818
  }[] | undefined;
1819
1819
  } | {
1820
- summary: string;
1821
1820
  kind: "agent_output";
1821
+ summary: string;
1822
1822
  agentId: string;
1823
1823
  sessionId: string;
1824
1824
  outputId: string;
1825
1825
  evidence?: {
1826
- id: string;
1826
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
1827
  label: string;
1828
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1828
+ id: string;
1829
1829
  capture: "at_action" | "historical_lookup" | "fixture";
1830
1830
  locator?: string | undefined;
1831
1831
  }[] | undefined;
@@ -1838,37 +1838,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1838
1838
  decisionId: string;
1839
1839
  confidence?: number | undefined;
1840
1840
  evidence?: {
1841
- id: string;
1841
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1842
1842
  label: string;
1843
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
+ id: string;
1844
1844
  capture: "at_action" | "historical_lookup" | "fixture";
1845
1845
  locator?: string | undefined;
1846
1846
  }[] | undefined;
1847
1847
  } | {
1848
- summary: string;
1849
1848
  kind: "conflict_detected";
1849
+ summary: string;
1850
1850
  conflictId: string;
1851
1851
  decisionIds: string[];
1852
1852
  agentIds: string[];
1853
1853
  evidence?: {
1854
- id: string;
1854
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1855
1855
  label: string;
1856
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
+ id: string;
1857
1857
  capture: "at_action" | "historical_lookup" | "fixture";
1858
1858
  locator?: string | undefined;
1859
1859
  }[] | undefined;
1860
1860
  } | {
1861
+ kind: "test_result";
1861
1862
  summary: string;
1862
1863
  status: "error" | "failed" | "passed";
1863
- kind: "test_result";
1864
1864
  command: string;
1865
1865
  decisionId: string;
1866
1866
  testId: string;
1867
1867
  durationMs?: number | undefined;
1868
1868
  evidence?: {
1869
- id: string;
1869
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
1870
  label: string;
1871
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
+ id: string;
1872
1872
  capture: "at_action" | "historical_lookup" | "fixture";
1873
1873
  locator?: string | undefined;
1874
1874
  }[] | undefined;
@@ -1883,9 +1883,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1883
1883
  supersedesDecisionIds: string[];
1884
1884
  proposedBy: string;
1885
1885
  evidence?: {
1886
- id: string;
1886
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1887
1887
  label: string;
1888
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1888
+ id: string;
1889
1889
  capture: "at_action" | "historical_lookup" | "fixture";
1890
1890
  locator?: string | undefined;
1891
1891
  }[] | undefined;
@@ -1893,15 +1893,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1893
1893
  kind: "correction_approved";
1894
1894
  correctionId: string;
1895
1895
  approvedBy: {
1896
- id: string;
1897
- label: string;
1898
1896
  kind: "agent" | "human";
1897
+ label: string;
1898
+ id: string;
1899
1899
  };
1900
1900
  note?: string | undefined;
1901
1901
  evidence?: {
1902
- id: string;
1902
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
1903
  label: string;
1904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1904
+ id: string;
1905
1905
  capture: "at_action" | "historical_lookup" | "fixture";
1906
1906
  locator?: string | undefined;
1907
1907
  }[] | undefined;
@@ -1911,9 +1911,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1911
1911
  correctionId: string;
1912
1912
  replacementDecisionId: string;
1913
1913
  evidence?: {
1914
- id: string;
1914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1915
  label: string;
1916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1916
+ id: string;
1917
1917
  capture: "at_action" | "historical_lookup" | "fixture";
1918
1918
  locator?: string | undefined;
1919
1919
  }[] | undefined;
@@ -1926,9 +1926,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1926
1926
  recallReceiptId: string;
1927
1927
  capturedAtAction: boolean;
1928
1928
  evidence?: {
1929
- id: string;
1929
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1930
1930
  label: string;
1931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
+ id: string;
1932
1932
  capture: "at_action" | "historical_lookup" | "fixture";
1933
1933
  locator?: string | undefined;
1934
1934
  }[] | undefined;
@@ -1941,20 +1941,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1941
1941
  recallReceiptId: string;
1942
1942
  staleDecisionAbsent: boolean;
1943
1943
  evidence?: {
1944
- id: string;
1944
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1945
1945
  label: string;
1946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
+ id: string;
1947
1947
  capture: "at_action" | "historical_lookup" | "fixture";
1948
1948
  locator?: string | undefined;
1949
1949
  }[] | undefined;
1950
1950
  } | {
1951
- summary: string;
1952
1951
  kind: "mission_completed";
1952
+ summary: string;
1953
1953
  outcome: "failed" | "recovered" | "inconclusive";
1954
1954
  evidence?: {
1955
- id: string;
1955
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
1956
  label: string;
1957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
+ id: string;
1958
1958
  capture: "at_action" | "historical_lookup" | "fixture";
1959
1959
  locator?: string | undefined;
1960
1960
  }[] | undefined;
@@ -1975,15 +1975,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1975
1975
  locator: z.ZodOptional<z.ZodString>;
1976
1976
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1977
1977
  }, "strict", z.ZodTypeAny, {
1978
- id: string;
1978
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1979
1979
  label: string;
1980
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1980
+ id: string;
1981
1981
  capture: "at_action" | "historical_lookup" | "fixture";
1982
1982
  locator?: string | undefined;
1983
1983
  }, {
1984
- id: string;
1984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
1985
  label: string;
1986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
+ id: string;
1987
1987
  capture: "at_action" | "historical_lookup" | "fixture";
1988
1988
  locator?: string | undefined;
1989
1989
  }>, "many">>;
@@ -1991,9 +1991,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1991
1991
  kind: "mission_started";
1992
1992
  title: string;
1993
1993
  evidence: {
1994
- id: string;
1994
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1995
1995
  label: string;
1996
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
+ id: string;
1997
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1998
1998
  locator?: string | undefined;
1999
1999
  }[];
@@ -2005,9 +2005,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2005
2005
  objective: string;
2006
2006
  runMode: "replay" | "fixture" | "live";
2007
2007
  evidence?: {
2008
- id: string;
2008
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
2009
  label: string;
2010
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
+ id: string;
2011
2011
  capture: "at_action" | "historical_lookup" | "fixture";
2012
2012
  locator?: string | undefined;
2013
2013
  }[] | undefined;
@@ -2023,15 +2023,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2023
2023
  locator: z.ZodOptional<z.ZodString>;
2024
2024
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2025
2025
  }, "strict", z.ZodTypeAny, {
2026
- id: string;
2026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2027
2027
  label: string;
2028
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2028
+ id: string;
2029
2029
  capture: "at_action" | "historical_lookup" | "fixture";
2030
2030
  locator?: string | undefined;
2031
2031
  }, {
2032
- id: string;
2032
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2033
2033
  label: string;
2034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2034
+ id: string;
2035
2035
  capture: "at_action" | "historical_lookup" | "fixture";
2036
2036
  locator?: string | undefined;
2037
2037
  }>, "many">>;
@@ -2039,32 +2039,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2039
2039
  sessionId: z.ZodString;
2040
2040
  kind: z.ZodLiteral<"agent_status">;
2041
2041
  }, "strict", z.ZodTypeAny, {
2042
- label: string;
2043
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2044
2042
  kind: "agent_status";
2043
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2044
+ label: string;
2045
2045
  role: string;
2046
2046
  agentId: string;
2047
2047
  sessionId: string;
2048
2048
  evidence: {
2049
- id: string;
2049
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
2050
  label: string;
2051
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2051
+ id: string;
2052
2052
  capture: "at_action" | "historical_lookup" | "fixture";
2053
2053
  locator?: string | undefined;
2054
2054
  }[];
2055
2055
  detail?: string | undefined;
2056
2056
  }, {
2057
- label: string;
2058
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2059
2057
  kind: "agent_status";
2058
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2059
+ label: string;
2060
2060
  role: string;
2061
2061
  agentId: string;
2062
2062
  sessionId: string;
2063
2063
  detail?: string | undefined;
2064
2064
  evidence?: {
2065
- id: string;
2065
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2066
2066
  label: string;
2067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2067
+ id: string;
2068
2068
  capture: "at_action" | "historical_lookup" | "fixture";
2069
2069
  locator?: string | undefined;
2070
2070
  }[] | undefined;
@@ -2078,15 +2078,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2078
2078
  locator: z.ZodOptional<z.ZodString>;
2079
2079
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2080
2080
  }, "strict", z.ZodTypeAny, {
2081
- id: string;
2081
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2082
  label: string;
2083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2083
+ id: string;
2084
2084
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2085
  locator?: string | undefined;
2086
2086
  }, {
2087
- id: string;
2087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2088
  label: string;
2089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2089
+ id: string;
2090
2090
  capture: "at_action" | "historical_lookup" | "fixture";
2091
2091
  locator?: string | undefined;
2092
2092
  }>, "many">>;
@@ -2094,28 +2094,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2094
2094
  sessionId: z.ZodString;
2095
2095
  kind: z.ZodLiteral<"agent_output">;
2096
2096
  }, "strict", z.ZodTypeAny, {
2097
- summary: string;
2098
2097
  kind: "agent_output";
2098
+ summary: string;
2099
2099
  agentId: string;
2100
2100
  sessionId: string;
2101
2101
  evidence: {
2102
- id: string;
2102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2103
  label: string;
2104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2104
+ id: string;
2105
2105
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2106
  locator?: string | undefined;
2107
2107
  }[];
2108
2108
  outputId: string;
2109
2109
  }, {
2110
- summary: string;
2111
2110
  kind: "agent_output";
2111
+ summary: string;
2112
2112
  agentId: string;
2113
2113
  sessionId: string;
2114
2114
  outputId: string;
2115
2115
  evidence?: {
2116
- id: string;
2116
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
2117
  label: string;
2118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2118
+ id: string;
2119
2119
  capture: "at_action" | "historical_lookup" | "fixture";
2120
2120
  locator?: string | undefined;
2121
2121
  }[] | undefined;
@@ -2131,15 +2131,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2131
2131
  locator: z.ZodOptional<z.ZodString>;
2132
2132
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2133
2133
  }, "strict", z.ZodTypeAny, {
2134
- id: string;
2134
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2135
2135
  label: string;
2136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2136
+ id: string;
2137
2137
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2138
  locator?: string | undefined;
2139
2139
  }, {
2140
- id: string;
2140
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2141
2141
  label: string;
2142
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
+ id: string;
2143
2143
  capture: "at_action" | "historical_lookup" | "fixture";
2144
2144
  locator?: string | undefined;
2145
2145
  }>, "many">>;
@@ -2152,9 +2152,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2152
2152
  statement: string;
2153
2153
  sessionId: string;
2154
2154
  evidence: {
2155
- id: string;
2155
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2156
2156
  label: string;
2157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
+ id: string;
2158
2158
  capture: "at_action" | "historical_lookup" | "fixture";
2159
2159
  locator?: string | undefined;
2160
2160
  }[];
@@ -2170,9 +2170,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2170
2170
  decisionId: string;
2171
2171
  confidence?: number | undefined;
2172
2172
  evidence?: {
2173
- id: string;
2173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2174
  label: string;
2175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
+ id: string;
2176
2176
  capture: "at_action" | "historical_lookup" | "fixture";
2177
2177
  locator?: string | undefined;
2178
2178
  }[] | undefined;
@@ -2189,25 +2189,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2189
2189
  locator: z.ZodOptional<z.ZodString>;
2190
2190
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2191
2191
  }, "strict", z.ZodTypeAny, {
2192
- id: string;
2192
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
2193
  label: string;
2194
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2194
+ id: string;
2195
2195
  capture: "at_action" | "historical_lookup" | "fixture";
2196
2196
  locator?: string | undefined;
2197
2197
  }, {
2198
- id: string;
2198
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2199
2199
  label: string;
2200
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
+ id: string;
2201
2201
  capture: "at_action" | "historical_lookup" | "fixture";
2202
2202
  locator?: string | undefined;
2203
2203
  }>, "many">>;
2204
2204
  }, "strict", z.ZodTypeAny, {
2205
- summary: string;
2206
2205
  kind: "conflict_detected";
2206
+ summary: string;
2207
2207
  evidence: {
2208
- id: string;
2208
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2209
2209
  label: string;
2210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2210
+ id: string;
2211
2211
  capture: "at_action" | "historical_lookup" | "fixture";
2212
2212
  locator?: string | undefined;
2213
2213
  }[];
@@ -2215,15 +2215,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2215
2215
  decisionIds: string[];
2216
2216
  agentIds: string[];
2217
2217
  }, {
2218
- summary: string;
2219
2218
  kind: "conflict_detected";
2219
+ summary: string;
2220
2220
  conflictId: string;
2221
2221
  decisionIds: string[];
2222
2222
  agentIds: string[];
2223
2223
  evidence?: {
2224
- id: string;
2224
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2225
2225
  label: string;
2226
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2226
+ id: string;
2227
2227
  capture: "at_action" | "historical_lookup" | "fixture";
2228
2228
  locator?: string | undefined;
2229
2229
  }[] | undefined;
@@ -2243,27 +2243,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2243
2243
  locator: z.ZodOptional<z.ZodString>;
2244
2244
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2245
2245
  }, "strict", z.ZodTypeAny, {
2246
- id: string;
2246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2247
2247
  label: string;
2248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2248
+ id: string;
2249
2249
  capture: "at_action" | "historical_lookup" | "fixture";
2250
2250
  locator?: string | undefined;
2251
2251
  }, {
2252
- id: string;
2252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2253
2253
  label: string;
2254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2254
+ id: string;
2255
2255
  capture: "at_action" | "historical_lookup" | "fixture";
2256
2256
  locator?: string | undefined;
2257
2257
  }>, "many">>;
2258
2258
  }, "strict", z.ZodTypeAny, {
2259
+ kind: "test_result";
2259
2260
  summary: string;
2260
2261
  status: "error" | "failed" | "passed";
2261
- kind: "test_result";
2262
2262
  command: string;
2263
2263
  evidence: {
2264
- id: string;
2264
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
2265
  label: string;
2266
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
+ id: string;
2267
2267
  capture: "at_action" | "historical_lookup" | "fixture";
2268
2268
  locator?: string | undefined;
2269
2269
  }[];
@@ -2272,17 +2272,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2272
2272
  durationMs?: number | undefined;
2273
2273
  correctionId?: string | undefined;
2274
2274
  }, {
2275
+ kind: "test_result";
2275
2276
  summary: string;
2276
2277
  status: "error" | "failed" | "passed";
2277
- kind: "test_result";
2278
2278
  command: string;
2279
2279
  decisionId: string;
2280
2280
  testId: string;
2281
2281
  durationMs?: number | undefined;
2282
2282
  evidence?: {
2283
- id: string;
2283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
2284
  label: string;
2285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2285
+ id: string;
2286
2286
  capture: "at_action" | "historical_lookup" | "fixture";
2287
2287
  locator?: string | undefined;
2288
2288
  }[] | undefined;
@@ -2303,15 +2303,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2303
2303
  locator: z.ZodOptional<z.ZodString>;
2304
2304
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2305
2305
  }, "strict", z.ZodTypeAny, {
2306
- id: string;
2306
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2307
2307
  label: string;
2308
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2308
+ id: string;
2309
2309
  capture: "at_action" | "historical_lookup" | "fixture";
2310
2310
  locator?: string | undefined;
2311
2311
  }, {
2312
- id: string;
2312
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2313
2313
  label: string;
2314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
+ id: string;
2315
2315
  capture: "at_action" | "historical_lookup" | "fixture";
2316
2316
  locator?: string | undefined;
2317
2317
  }>, "many">>;
@@ -2320,9 +2320,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2320
2320
  statement: string;
2321
2321
  rationale: string;
2322
2322
  evidence: {
2323
- id: string;
2323
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2324
2324
  label: string;
2325
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2325
+ id: string;
2326
2326
  capture: "at_action" | "historical_lookup" | "fixture";
2327
2327
  locator?: string | undefined;
2328
2328
  }[];
@@ -2341,9 +2341,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2341
2341
  supersedesDecisionIds: string[];
2342
2342
  proposedBy: string;
2343
2343
  evidence?: {
2344
- id: string;
2344
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2345
2345
  label: string;
2346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2346
+ id: string;
2347
2347
  capture: "at_action" | "historical_lookup" | "fixture";
2348
2348
  locator?: string | undefined;
2349
2349
  }[] | undefined;
@@ -2355,13 +2355,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2355
2355
  id: z.ZodString;
2356
2356
  label: z.ZodString;
2357
2357
  }, "strict", z.ZodTypeAny, {
2358
- id: string;
2359
- label: string;
2360
2358
  kind: "agent" | "human";
2361
- }, {
2362
- id: string;
2363
2359
  label: string;
2360
+ id: string;
2361
+ }, {
2364
2362
  kind: "agent" | "human";
2363
+ label: string;
2364
+ id: string;
2365
2365
  }>;
2366
2366
  note: z.ZodOptional<z.ZodString>;
2367
2367
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2371,47 +2371,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2371
2371
  locator: z.ZodOptional<z.ZodString>;
2372
2372
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2373
2373
  }, "strict", z.ZodTypeAny, {
2374
- id: string;
2374
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2375
  label: string;
2376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2376
+ id: string;
2377
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2378
  locator?: string | undefined;
2379
2379
  }, {
2380
- id: string;
2380
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
2381
  label: string;
2382
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
+ id: string;
2383
2383
  capture: "at_action" | "historical_lookup" | "fixture";
2384
2384
  locator?: string | undefined;
2385
2385
  }>, "many">>;
2386
2386
  }, "strict", z.ZodTypeAny, {
2387
2387
  kind: "correction_approved";
2388
2388
  evidence: {
2389
- id: string;
2389
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2390
  label: string;
2391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2391
+ id: string;
2392
2392
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2393
  locator?: string | undefined;
2394
2394
  }[];
2395
2395
  correctionId: string;
2396
2396
  approvedBy: {
2397
- id: string;
2398
- label: string;
2399
2397
  kind: "agent" | "human";
2398
+ label: string;
2399
+ id: string;
2400
2400
  };
2401
2401
  note?: string | undefined;
2402
2402
  }, {
2403
2403
  kind: "correction_approved";
2404
2404
  correctionId: string;
2405
2405
  approvedBy: {
2406
- id: string;
2407
- label: string;
2408
2406
  kind: "agent" | "human";
2407
+ label: string;
2408
+ id: string;
2409
2409
  };
2410
2410
  note?: string | undefined;
2411
2411
  evidence?: {
2412
- id: string;
2412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
2413
  label: string;
2414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2414
+ id: string;
2415
2415
  capture: "at_action" | "historical_lookup" | "fixture";
2416
2416
  locator?: string | undefined;
2417
2417
  }[] | undefined;
@@ -2427,24 +2427,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2427
2427
  locator: z.ZodOptional<z.ZodString>;
2428
2428
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2429
2429
  }, "strict", z.ZodTypeAny, {
2430
- id: string;
2430
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2431
2431
  label: string;
2432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2432
+ id: string;
2433
2433
  capture: "at_action" | "historical_lookup" | "fixture";
2434
2434
  locator?: string | undefined;
2435
2435
  }, {
2436
- id: string;
2436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
2437
  label: string;
2438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2438
+ id: string;
2439
2439
  capture: "at_action" | "historical_lookup" | "fixture";
2440
2440
  locator?: string | undefined;
2441
2441
  }>, "many">>;
2442
2442
  }, "strict", z.ZodTypeAny, {
2443
2443
  kind: "decision_superseded";
2444
2444
  evidence: {
2445
- id: string;
2445
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
2446
  label: string;
2447
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2447
+ id: string;
2448
2448
  capture: "at_action" | "historical_lookup" | "fixture";
2449
2449
  locator?: string | undefined;
2450
2450
  }[];
@@ -2457,9 +2457,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2457
2457
  correctionId: string;
2458
2458
  replacementDecisionId: string;
2459
2459
  evidence?: {
2460
- id: string;
2460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
2461
  label: string;
2462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
+ id: string;
2463
2463
  capture: "at_action" | "historical_lookup" | "fixture";
2464
2464
  locator?: string | undefined;
2465
2465
  }[] | undefined;
@@ -2475,15 +2475,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2475
2475
  locator: z.ZodOptional<z.ZodString>;
2476
2476
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2477
2477
  }, "strict", z.ZodTypeAny, {
2478
- id: string;
2478
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
2479
  label: string;
2480
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
+ id: string;
2481
2481
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2482
  locator?: string | undefined;
2483
2483
  }, {
2484
- id: string;
2484
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2485
2485
  label: string;
2486
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
+ id: string;
2487
2487
  capture: "at_action" | "historical_lookup" | "fixture";
2488
2488
  locator?: string | undefined;
2489
2489
  }>, "many">>;
@@ -2496,9 +2496,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2496
2496
  agentId: string;
2497
2497
  sessionId: string;
2498
2498
  evidence: {
2499
- id: string;
2499
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2500
2500
  label: string;
2501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2501
+ id: string;
2502
2502
  capture: "at_action" | "historical_lookup" | "fixture";
2503
2503
  locator?: string | undefined;
2504
2504
  }[];
@@ -2514,9 +2514,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2514
2514
  recallReceiptId: string;
2515
2515
  capturedAtAction: boolean;
2516
2516
  evidence?: {
2517
- id: string;
2517
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2518
2518
  label: string;
2519
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2519
+ id: string;
2520
2520
  capture: "at_action" | "historical_lookup" | "fixture";
2521
2521
  locator?: string | undefined;
2522
2522
  }[] | undefined;
@@ -2532,15 +2532,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2532
2532
  locator: z.ZodOptional<z.ZodString>;
2533
2533
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2534
2534
  }, "strict", z.ZodTypeAny, {
2535
- id: string;
2535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2536
  label: string;
2537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
+ id: string;
2538
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2539
  locator?: string | undefined;
2540
2540
  }, {
2541
- id: string;
2541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2542
  label: string;
2543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
+ id: string;
2544
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2545
  locator?: string | undefined;
2546
2546
  }>, "many">>;
@@ -2552,9 +2552,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2552
2552
  agentId: string;
2553
2553
  sessionId: string;
2554
2554
  evidence: {
2555
- id: string;
2555
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2556
2556
  label: string;
2557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2557
+ id: string;
2558
2558
  capture: "at_action" | "historical_lookup" | "fixture";
2559
2559
  locator?: string | undefined;
2560
2560
  }[];
@@ -2571,9 +2571,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2571
2571
  recallReceiptId: string;
2572
2572
  staleDecisionAbsent: boolean;
2573
2573
  evidence?: {
2574
- id: string;
2574
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2575
2575
  label: string;
2576
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2576
+ id: string;
2577
2577
  capture: "at_action" | "historical_lookup" | "fixture";
2578
2578
  locator?: string | undefined;
2579
2579
  }[] | undefined;
@@ -2588,37 +2588,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2588
2588
  locator: z.ZodOptional<z.ZodString>;
2589
2589
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2590
2590
  }, "strict", z.ZodTypeAny, {
2591
- id: string;
2591
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
2592
  label: string;
2593
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2593
+ id: string;
2594
2594
  capture: "at_action" | "historical_lookup" | "fixture";
2595
2595
  locator?: string | undefined;
2596
2596
  }, {
2597
- id: string;
2597
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
2598
  label: string;
2599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
+ id: string;
2600
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2601
  locator?: string | undefined;
2602
2602
  }>, "many">>;
2603
2603
  }, "strict", z.ZodTypeAny, {
2604
- summary: string;
2605
2604
  kind: "mission_completed";
2605
+ summary: string;
2606
2606
  outcome: "failed" | "recovered" | "inconclusive";
2607
2607
  evidence: {
2608
- id: string;
2608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2609
2609
  label: string;
2610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2610
+ id: string;
2611
2611
  capture: "at_action" | "historical_lookup" | "fixture";
2612
2612
  locator?: string | undefined;
2613
2613
  }[];
2614
2614
  }, {
2615
- summary: string;
2616
2615
  kind: "mission_completed";
2616
+ summary: string;
2617
2617
  outcome: "failed" | "recovered" | "inconclusive";
2618
2618
  evidence?: {
2619
- id: string;
2619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2620
2620
  label: string;
2621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2621
+ id: string;
2622
2622
  capture: "at_action" | "historical_lookup" | "fixture";
2623
2623
  locator?: string | undefined;
2624
2624
  }[] | undefined;
@@ -2626,38 +2626,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2626
2626
  kind: "mission_started";
2627
2627
  title: string;
2628
2628
  evidence: {
2629
- id: string;
2629
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2630
2630
  label: string;
2631
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2631
+ id: string;
2632
2632
  capture: "at_action" | "historical_lookup" | "fixture";
2633
2633
  locator?: string | undefined;
2634
2634
  }[];
2635
2635
  objective: string;
2636
2636
  runMode: "replay" | "fixture" | "live";
2637
2637
  } | {
2638
- label: string;
2639
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2640
2638
  kind: "agent_status";
2639
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2640
+ label: string;
2641
2641
  role: string;
2642
2642
  agentId: string;
2643
2643
  sessionId: string;
2644
2644
  evidence: {
2645
- id: string;
2645
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2646
2646
  label: string;
2647
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2647
+ id: string;
2648
2648
  capture: "at_action" | "historical_lookup" | "fixture";
2649
2649
  locator?: string | undefined;
2650
2650
  }[];
2651
2651
  detail?: string | undefined;
2652
2652
  } | {
2653
- summary: string;
2654
2653
  kind: "agent_output";
2654
+ summary: string;
2655
2655
  agentId: string;
2656
2656
  sessionId: string;
2657
2657
  evidence: {
2658
- id: string;
2658
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
2659
  label: string;
2660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2660
+ id: string;
2661
2661
  capture: "at_action" | "historical_lookup" | "fixture";
2662
2662
  locator?: string | undefined;
2663
2663
  }[];
@@ -2668,9 +2668,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2668
2668
  statement: string;
2669
2669
  sessionId: string;
2670
2670
  evidence: {
2671
- id: string;
2671
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2672
2672
  label: string;
2673
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
+ id: string;
2674
2674
  capture: "at_action" | "historical_lookup" | "fixture";
2675
2675
  locator?: string | undefined;
2676
2676
  }[];
@@ -2678,12 +2678,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2678
2678
  decisionId: string;
2679
2679
  confidence?: number | undefined;
2680
2680
  } | {
2681
- summary: string;
2682
2681
  kind: "conflict_detected";
2682
+ summary: string;
2683
2683
  evidence: {
2684
- id: string;
2684
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2685
2685
  label: string;
2686
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2686
+ id: string;
2687
2687
  capture: "at_action" | "historical_lookup" | "fixture";
2688
2688
  locator?: string | undefined;
2689
2689
  }[];
@@ -2691,14 +2691,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2691
2691
  decisionIds: string[];
2692
2692
  agentIds: string[];
2693
2693
  } | {
2694
+ kind: "test_result";
2694
2695
  summary: string;
2695
2696
  status: "error" | "failed" | "passed";
2696
- kind: "test_result";
2697
2697
  command: string;
2698
2698
  evidence: {
2699
- id: string;
2699
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2700
  label: string;
2701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2701
+ id: string;
2702
2702
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2703
  locator?: string | undefined;
2704
2704
  }[];
@@ -2711,9 +2711,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2711
2711
  statement: string;
2712
2712
  rationale: string;
2713
2713
  evidence: {
2714
- id: string;
2714
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
2715
  label: string;
2716
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
+ id: string;
2717
2717
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2718
  locator?: string | undefined;
2719
2719
  }[];
@@ -2725,25 +2725,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2725
2725
  } | {
2726
2726
  kind: "correction_approved";
2727
2727
  evidence: {
2728
- id: string;
2728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2729
  label: string;
2730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2730
+ id: string;
2731
2731
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2732
  locator?: string | undefined;
2733
2733
  }[];
2734
2734
  correctionId: string;
2735
2735
  approvedBy: {
2736
- id: string;
2737
- label: string;
2738
2736
  kind: "agent" | "human";
2737
+ label: string;
2738
+ id: string;
2739
2739
  };
2740
2740
  note?: string | undefined;
2741
2741
  } | {
2742
2742
  kind: "decision_superseded";
2743
2743
  evidence: {
2744
- id: string;
2744
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2745
2745
  label: string;
2746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2746
+ id: string;
2747
2747
  capture: "at_action" | "historical_lookup" | "fixture";
2748
2748
  locator?: string | undefined;
2749
2749
  }[];
@@ -2756,9 +2756,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2756
2756
  agentId: string;
2757
2757
  sessionId: string;
2758
2758
  evidence: {
2759
- id: string;
2759
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2760
2760
  label: string;
2761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2761
+ id: string;
2762
2762
  capture: "at_action" | "historical_lookup" | "fixture";
2763
2763
  locator?: string | undefined;
2764
2764
  }[];
@@ -2770,9 +2770,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2770
2770
  agentId: string;
2771
2771
  sessionId: string;
2772
2772
  evidence: {
2773
- id: string;
2773
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
2774
  label: string;
2775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2775
+ id: string;
2776
2776
  capture: "at_action" | "historical_lookup" | "fixture";
2777
2777
  locator?: string | undefined;
2778
2778
  }[];
@@ -2781,13 +2781,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2781
2781
  recallReceiptId: string;
2782
2782
  staleDecisionAbsent: boolean;
2783
2783
  } | {
2784
- summary: string;
2785
2784
  kind: "mission_completed";
2785
+ summary: string;
2786
2786
  outcome: "failed" | "recovered" | "inconclusive";
2787
2787
  evidence: {
2788
- id: string;
2788
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
2789
  label: string;
2790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2790
+ id: string;
2791
2791
  capture: "at_action" | "historical_lookup" | "fixture";
2792
2792
  locator?: string | undefined;
2793
2793
  }[];
@@ -2797,37 +2797,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2797
2797
  objective: string;
2798
2798
  runMode: "replay" | "fixture" | "live";
2799
2799
  evidence?: {
2800
- id: string;
2800
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2801
  label: string;
2802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2802
+ id: string;
2803
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2804
  locator?: string | undefined;
2805
2805
  }[] | undefined;
2806
2806
  } | {
2807
- label: string;
2808
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2809
2807
  kind: "agent_status";
2808
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2809
+ label: string;
2810
2810
  role: string;
2811
2811
  agentId: string;
2812
2812
  sessionId: string;
2813
2813
  detail?: string | undefined;
2814
2814
  evidence?: {
2815
- id: string;
2815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2816
2816
  label: string;
2817
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
+ id: string;
2818
2818
  capture: "at_action" | "historical_lookup" | "fixture";
2819
2819
  locator?: string | undefined;
2820
2820
  }[] | undefined;
2821
2821
  } | {
2822
- summary: string;
2823
2822
  kind: "agent_output";
2823
+ summary: string;
2824
2824
  agentId: string;
2825
2825
  sessionId: string;
2826
2826
  outputId: string;
2827
2827
  evidence?: {
2828
- id: string;
2828
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
2829
  label: string;
2830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2830
+ id: string;
2831
2831
  capture: "at_action" | "historical_lookup" | "fixture";
2832
2832
  locator?: string | undefined;
2833
2833
  }[] | undefined;
@@ -2840,37 +2840,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2840
2840
  decisionId: string;
2841
2841
  confidence?: number | undefined;
2842
2842
  evidence?: {
2843
- id: string;
2843
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2844
2844
  label: string;
2845
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
+ id: string;
2846
2846
  capture: "at_action" | "historical_lookup" | "fixture";
2847
2847
  locator?: string | undefined;
2848
2848
  }[] | undefined;
2849
2849
  } | {
2850
- summary: string;
2851
2850
  kind: "conflict_detected";
2851
+ summary: string;
2852
2852
  conflictId: string;
2853
2853
  decisionIds: string[];
2854
2854
  agentIds: string[];
2855
2855
  evidence?: {
2856
- id: string;
2856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2857
2857
  label: string;
2858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
+ id: string;
2859
2859
  capture: "at_action" | "historical_lookup" | "fixture";
2860
2860
  locator?: string | undefined;
2861
2861
  }[] | undefined;
2862
2862
  } | {
2863
+ kind: "test_result";
2863
2864
  summary: string;
2864
2865
  status: "error" | "failed" | "passed";
2865
- kind: "test_result";
2866
2866
  command: string;
2867
2867
  decisionId: string;
2868
2868
  testId: string;
2869
2869
  durationMs?: number | undefined;
2870
2870
  evidence?: {
2871
- id: string;
2871
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
2872
  label: string;
2873
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
+ id: string;
2874
2874
  capture: "at_action" | "historical_lookup" | "fixture";
2875
2875
  locator?: string | undefined;
2876
2876
  }[] | undefined;
@@ -2885,9 +2885,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2885
2885
  supersedesDecisionIds: string[];
2886
2886
  proposedBy: string;
2887
2887
  evidence?: {
2888
- id: string;
2888
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2889
2889
  label: string;
2890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
+ id: string;
2891
2891
  capture: "at_action" | "historical_lookup" | "fixture";
2892
2892
  locator?: string | undefined;
2893
2893
  }[] | undefined;
@@ -2895,15 +2895,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2895
2895
  kind: "correction_approved";
2896
2896
  correctionId: string;
2897
2897
  approvedBy: {
2898
- id: string;
2899
- label: string;
2900
2898
  kind: "agent" | "human";
2899
+ label: string;
2900
+ id: string;
2901
2901
  };
2902
2902
  note?: string | undefined;
2903
2903
  evidence?: {
2904
- id: string;
2904
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
2905
  label: string;
2906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2906
+ id: string;
2907
2907
  capture: "at_action" | "historical_lookup" | "fixture";
2908
2908
  locator?: string | undefined;
2909
2909
  }[] | undefined;
@@ -2913,9 +2913,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2913
2913
  correctionId: string;
2914
2914
  replacementDecisionId: string;
2915
2915
  evidence?: {
2916
- id: string;
2916
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2917
  label: string;
2918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2918
+ id: string;
2919
2919
  capture: "at_action" | "historical_lookup" | "fixture";
2920
2920
  locator?: string | undefined;
2921
2921
  }[] | undefined;
@@ -2928,9 +2928,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2928
2928
  recallReceiptId: string;
2929
2929
  capturedAtAction: boolean;
2930
2930
  evidence?: {
2931
- id: string;
2931
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2932
2932
  label: string;
2933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
+ id: string;
2934
2934
  capture: "at_action" | "historical_lookup" | "fixture";
2935
2935
  locator?: string | undefined;
2936
2936
  }[] | undefined;
@@ -2943,20 +2943,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2943
2943
  recallReceiptId: string;
2944
2944
  staleDecisionAbsent: boolean;
2945
2945
  evidence?: {
2946
- id: string;
2946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2947
2947
  label: string;
2948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
+ id: string;
2949
2949
  capture: "at_action" | "historical_lookup" | "fixture";
2950
2950
  locator?: string | undefined;
2951
2951
  }[] | undefined;
2952
2952
  } | {
2953
- summary: string;
2954
2953
  kind: "mission_completed";
2954
+ summary: string;
2955
2955
  outcome: "failed" | "recovered" | "inconclusive";
2956
2956
  evidence?: {
2957
- id: string;
2957
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2958
2958
  label: string;
2959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
+ id: string;
2960
2960
  capture: "at_action" | "historical_lookup" | "fixture";
2961
2961
  locator?: string | undefined;
2962
2962
  }[] | undefined;
@@ -2966,38 +2966,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2966
2966
  kind: "mission_started";
2967
2967
  title: string;
2968
2968
  evidence: {
2969
- id: string;
2969
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2970
2970
  label: string;
2971
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2971
+ id: string;
2972
2972
  capture: "at_action" | "historical_lookup" | "fixture";
2973
2973
  locator?: string | undefined;
2974
2974
  }[];
2975
2975
  objective: string;
2976
2976
  runMode: "replay" | "fixture" | "live";
2977
2977
  } | {
2978
- label: string;
2979
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2980
2978
  kind: "agent_status";
2979
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2980
+ label: string;
2981
2981
  role: string;
2982
2982
  agentId: string;
2983
2983
  sessionId: string;
2984
2984
  evidence: {
2985
- id: string;
2985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2986
2986
  label: string;
2987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
+ id: string;
2988
2988
  capture: "at_action" | "historical_lookup" | "fixture";
2989
2989
  locator?: string | undefined;
2990
2990
  }[];
2991
2991
  detail?: string | undefined;
2992
2992
  } | {
2993
- summary: string;
2994
2993
  kind: "agent_output";
2994
+ summary: string;
2995
2995
  agentId: string;
2996
2996
  sessionId: string;
2997
2997
  evidence: {
2998
- id: string;
2998
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2999
2999
  label: string;
3000
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3000
+ id: string;
3001
3001
  capture: "at_action" | "historical_lookup" | "fixture";
3002
3002
  locator?: string | undefined;
3003
3003
  }[];
@@ -3008,9 +3008,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3008
3008
  statement: string;
3009
3009
  sessionId: string;
3010
3010
  evidence: {
3011
- id: string;
3011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
3012
  label: string;
3013
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3013
+ id: string;
3014
3014
  capture: "at_action" | "historical_lookup" | "fixture";
3015
3015
  locator?: string | undefined;
3016
3016
  }[];
@@ -3018,12 +3018,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3018
3018
  decisionId: string;
3019
3019
  confidence?: number | undefined;
3020
3020
  } | {
3021
- summary: string;
3022
3021
  kind: "conflict_detected";
3022
+ summary: string;
3023
3023
  evidence: {
3024
- id: string;
3024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3025
3025
  label: string;
3026
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3026
+ id: string;
3027
3027
  capture: "at_action" | "historical_lookup" | "fixture";
3028
3028
  locator?: string | undefined;
3029
3029
  }[];
@@ -3031,14 +3031,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3031
3031
  decisionIds: string[];
3032
3032
  agentIds: string[];
3033
3033
  } | {
3034
+ kind: "test_result";
3034
3035
  summary: string;
3035
3036
  status: "error" | "failed" | "passed";
3036
- kind: "test_result";
3037
3037
  command: string;
3038
3038
  evidence: {
3039
- id: string;
3039
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
3040
  label: string;
3041
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3041
+ id: string;
3042
3042
  capture: "at_action" | "historical_lookup" | "fixture";
3043
3043
  locator?: string | undefined;
3044
3044
  }[];
@@ -3051,9 +3051,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3051
3051
  statement: string;
3052
3052
  rationale: string;
3053
3053
  evidence: {
3054
- id: string;
3054
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3055
3055
  label: string;
3056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3056
+ id: string;
3057
3057
  capture: "at_action" | "historical_lookup" | "fixture";
3058
3058
  locator?: string | undefined;
3059
3059
  }[];
@@ -3065,25 +3065,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3065
3065
  } | {
3066
3066
  kind: "correction_approved";
3067
3067
  evidence: {
3068
- id: string;
3068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3069
3069
  label: string;
3070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3070
+ id: string;
3071
3071
  capture: "at_action" | "historical_lookup" | "fixture";
3072
3072
  locator?: string | undefined;
3073
3073
  }[];
3074
3074
  correctionId: string;
3075
3075
  approvedBy: {
3076
- id: string;
3077
- label: string;
3078
3076
  kind: "agent" | "human";
3077
+ label: string;
3078
+ id: string;
3079
3079
  };
3080
3080
  note?: string | undefined;
3081
3081
  } | {
3082
3082
  kind: "decision_superseded";
3083
3083
  evidence: {
3084
- id: string;
3084
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3085
3085
  label: string;
3086
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
+ id: string;
3087
3087
  capture: "at_action" | "historical_lookup" | "fixture";
3088
3088
  locator?: string | undefined;
3089
3089
  }[];
@@ -3096,9 +3096,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3096
3096
  agentId: string;
3097
3097
  sessionId: string;
3098
3098
  evidence: {
3099
- id: string;
3099
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3100
3100
  label: string;
3101
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
+ id: string;
3102
3102
  capture: "at_action" | "historical_lookup" | "fixture";
3103
3103
  locator?: string | undefined;
3104
3104
  }[];
@@ -3110,9 +3110,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3110
3110
  agentId: string;
3111
3111
  sessionId: string;
3112
3112
  evidence: {
3113
- id: string;
3113
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3114
3114
  label: string;
3115
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3115
+ id: string;
3116
3116
  capture: "at_action" | "historical_lookup" | "fixture";
3117
3117
  locator?: string | undefined;
3118
3118
  }[];
@@ -3121,13 +3121,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3121
3121
  recallReceiptId: string;
3122
3122
  staleDecisionAbsent: boolean;
3123
3123
  } | {
3124
- summary: string;
3125
3124
  kind: "mission_completed";
3125
+ summary: string;
3126
3126
  outcome: "failed" | "recovered" | "inconclusive";
3127
3127
  evidence: {
3128
- id: string;
3128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
3129
  label: string;
3130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3130
+ id: string;
3131
3131
  capture: "at_action" | "historical_lookup" | "fixture";
3132
3132
  locator?: string | undefined;
3133
3133
  }[];
@@ -3141,37 +3141,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3141
3141
  objective: string;
3142
3142
  runMode: "replay" | "fixture" | "live";
3143
3143
  evidence?: {
3144
- id: string;
3144
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3145
3145
  label: string;
3146
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
+ id: string;
3147
3147
  capture: "at_action" | "historical_lookup" | "fixture";
3148
3148
  locator?: string | undefined;
3149
3149
  }[] | undefined;
3150
3150
  } | {
3151
- label: string;
3152
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3153
3151
  kind: "agent_status";
3152
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3153
+ label: string;
3154
3154
  role: string;
3155
3155
  agentId: string;
3156
3156
  sessionId: string;
3157
3157
  detail?: string | undefined;
3158
3158
  evidence?: {
3159
- id: string;
3159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
3160
  label: string;
3161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
+ id: string;
3162
3162
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3163
  locator?: string | undefined;
3164
3164
  }[] | undefined;
3165
3165
  } | {
3166
- summary: string;
3167
3166
  kind: "agent_output";
3167
+ summary: string;
3168
3168
  agentId: string;
3169
3169
  sessionId: string;
3170
3170
  outputId: string;
3171
3171
  evidence?: {
3172
- id: string;
3172
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3173
3173
  label: string;
3174
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3174
+ id: string;
3175
3175
  capture: "at_action" | "historical_lookup" | "fixture";
3176
3176
  locator?: string | undefined;
3177
3177
  }[] | undefined;
@@ -3184,37 +3184,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3184
3184
  decisionId: string;
3185
3185
  confidence?: number | undefined;
3186
3186
  evidence?: {
3187
- id: string;
3187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3188
  label: string;
3189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
+ id: string;
3190
3190
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3191
  locator?: string | undefined;
3192
3192
  }[] | undefined;
3193
3193
  } | {
3194
- summary: string;
3195
3194
  kind: "conflict_detected";
3195
+ summary: string;
3196
3196
  conflictId: string;
3197
3197
  decisionIds: string[];
3198
3198
  agentIds: string[];
3199
3199
  evidence?: {
3200
- id: string;
3200
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
3201
  label: string;
3202
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
+ id: string;
3203
3203
  capture: "at_action" | "historical_lookup" | "fixture";
3204
3204
  locator?: string | undefined;
3205
3205
  }[] | undefined;
3206
3206
  } | {
3207
+ kind: "test_result";
3207
3208
  summary: string;
3208
3209
  status: "error" | "failed" | "passed";
3209
- kind: "test_result";
3210
3210
  command: string;
3211
3211
  decisionId: string;
3212
3212
  testId: string;
3213
3213
  durationMs?: number | undefined;
3214
3214
  evidence?: {
3215
- id: string;
3215
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
3216
  label: string;
3217
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
+ id: string;
3218
3218
  capture: "at_action" | "historical_lookup" | "fixture";
3219
3219
  locator?: string | undefined;
3220
3220
  }[] | undefined;
@@ -3229,9 +3229,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3229
3229
  supersedesDecisionIds: string[];
3230
3230
  proposedBy: string;
3231
3231
  evidence?: {
3232
- id: string;
3232
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3233
3233
  label: string;
3234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
+ id: string;
3235
3235
  capture: "at_action" | "historical_lookup" | "fixture";
3236
3236
  locator?: string | undefined;
3237
3237
  }[] | undefined;
@@ -3239,15 +3239,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3239
3239
  kind: "correction_approved";
3240
3240
  correctionId: string;
3241
3241
  approvedBy: {
3242
- id: string;
3243
- label: string;
3244
3242
  kind: "agent" | "human";
3243
+ label: string;
3244
+ id: string;
3245
3245
  };
3246
3246
  note?: string | undefined;
3247
3247
  evidence?: {
3248
- id: string;
3248
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3249
3249
  label: string;
3250
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3250
+ id: string;
3251
3251
  capture: "at_action" | "historical_lookup" | "fixture";
3252
3252
  locator?: string | undefined;
3253
3253
  }[] | undefined;
@@ -3257,9 +3257,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3257
3257
  correctionId: string;
3258
3258
  replacementDecisionId: string;
3259
3259
  evidence?: {
3260
- id: string;
3260
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3261
3261
  label: string;
3262
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
+ id: string;
3263
3263
  capture: "at_action" | "historical_lookup" | "fixture";
3264
3264
  locator?: string | undefined;
3265
3265
  }[] | undefined;
@@ -3272,9 +3272,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3272
3272
  recallReceiptId: string;
3273
3273
  capturedAtAction: boolean;
3274
3274
  evidence?: {
3275
- id: string;
3275
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3276
  label: string;
3277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
+ id: string;
3278
3278
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3279
  locator?: string | undefined;
3280
3280
  }[] | undefined;
@@ -3287,20 +3287,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3287
3287
  recallReceiptId: string;
3288
3288
  staleDecisionAbsent: boolean;
3289
3289
  evidence?: {
3290
- id: string;
3290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
3291
  label: string;
3292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
+ id: string;
3293
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3294
  locator?: string | undefined;
3295
3295
  }[] | undefined;
3296
3296
  } | {
3297
- summary: string;
3298
3297
  kind: "mission_completed";
3298
+ summary: string;
3299
3299
  outcome: "failed" | "recovered" | "inconclusive";
3300
3300
  evidence?: {
3301
- id: string;
3301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
3302
  label: string;
3303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
+ id: string;
3304
3304
  capture: "at_action" | "historical_lookup" | "fixture";
3305
3305
  locator?: string | undefined;
3306
3306
  }[] | undefined;
@@ -3330,15 +3330,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3330
3330
  locator: z.ZodOptional<z.ZodString>;
3331
3331
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3332
3332
  }, "strict", z.ZodTypeAny, {
3333
- id: string;
3333
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
3334
  label: string;
3335
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3335
+ id: string;
3336
3336
  capture: "at_action" | "historical_lookup" | "fixture";
3337
3337
  locator?: string | undefined;
3338
3338
  }, {
3339
- id: string;
3339
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3340
3340
  label: string;
3341
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
+ id: string;
3342
3342
  capture: "at_action" | "historical_lookup" | "fixture";
3343
3343
  locator?: string | undefined;
3344
3344
  }>, "many">>;
@@ -3346,9 +3346,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3346
3346
  kind: "mission_started";
3347
3347
  title: string;
3348
3348
  evidence: {
3349
- id: string;
3349
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3350
3350
  label: string;
3351
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3351
+ id: string;
3352
3352
  capture: "at_action" | "historical_lookup" | "fixture";
3353
3353
  locator?: string | undefined;
3354
3354
  }[];
@@ -3360,9 +3360,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3360
3360
  objective: string;
3361
3361
  runMode: "replay" | "fixture" | "live";
3362
3362
  evidence?: {
3363
- id: string;
3363
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
3364
  label: string;
3365
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3365
+ id: string;
3366
3366
  capture: "at_action" | "historical_lookup" | "fixture";
3367
3367
  locator?: string | undefined;
3368
3368
  }[] | undefined;
@@ -3378,15 +3378,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3378
3378
  locator: z.ZodOptional<z.ZodString>;
3379
3379
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3380
3380
  }, "strict", z.ZodTypeAny, {
3381
- id: string;
3381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3382
3382
  label: string;
3383
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
+ id: string;
3384
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3385
3385
  locator?: string | undefined;
3386
3386
  }, {
3387
- id: string;
3387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3388
3388
  label: string;
3389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
+ id: string;
3390
3390
  capture: "at_action" | "historical_lookup" | "fixture";
3391
3391
  locator?: string | undefined;
3392
3392
  }>, "many">>;
@@ -3394,32 +3394,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3394
3394
  sessionId: z.ZodString;
3395
3395
  kind: z.ZodLiteral<"agent_status">;
3396
3396
  }, "strict", z.ZodTypeAny, {
3397
- label: string;
3398
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3399
3397
  kind: "agent_status";
3398
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3399
+ label: string;
3400
3400
  role: string;
3401
3401
  agentId: string;
3402
3402
  sessionId: string;
3403
3403
  evidence: {
3404
- id: string;
3404
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3405
3405
  label: string;
3406
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3406
+ id: string;
3407
3407
  capture: "at_action" | "historical_lookup" | "fixture";
3408
3408
  locator?: string | undefined;
3409
3409
  }[];
3410
3410
  detail?: string | undefined;
3411
3411
  }, {
3412
- label: string;
3413
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3414
3412
  kind: "agent_status";
3413
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3414
+ label: string;
3415
3415
  role: string;
3416
3416
  agentId: string;
3417
3417
  sessionId: string;
3418
3418
  detail?: string | undefined;
3419
3419
  evidence?: {
3420
- id: string;
3420
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3421
3421
  label: string;
3422
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3422
+ id: string;
3423
3423
  capture: "at_action" | "historical_lookup" | "fixture";
3424
3424
  locator?: string | undefined;
3425
3425
  }[] | undefined;
@@ -3433,15 +3433,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3433
3433
  locator: z.ZodOptional<z.ZodString>;
3434
3434
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3435
3435
  }, "strict", z.ZodTypeAny, {
3436
- id: string;
3436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
3437
  label: string;
3438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3438
+ id: string;
3439
3439
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3440
  locator?: string | undefined;
3441
3441
  }, {
3442
- id: string;
3442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3443
  label: string;
3444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3444
+ id: string;
3445
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3446
  locator?: string | undefined;
3447
3447
  }>, "many">>;
@@ -3449,28 +3449,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3449
3449
  sessionId: z.ZodString;
3450
3450
  kind: z.ZodLiteral<"agent_output">;
3451
3451
  }, "strict", z.ZodTypeAny, {
3452
- summary: string;
3453
3452
  kind: "agent_output";
3453
+ summary: string;
3454
3454
  agentId: string;
3455
3455
  sessionId: string;
3456
3456
  evidence: {
3457
- id: string;
3457
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
3458
  label: string;
3459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3459
+ id: string;
3460
3460
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3461
  locator?: string | undefined;
3462
3462
  }[];
3463
3463
  outputId: string;
3464
3464
  }, {
3465
- summary: string;
3466
3465
  kind: "agent_output";
3466
+ summary: string;
3467
3467
  agentId: string;
3468
3468
  sessionId: string;
3469
3469
  outputId: string;
3470
3470
  evidence?: {
3471
- id: string;
3471
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
3472
  label: string;
3473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
+ id: string;
3474
3474
  capture: "at_action" | "historical_lookup" | "fixture";
3475
3475
  locator?: string | undefined;
3476
3476
  }[] | undefined;
@@ -3486,15 +3486,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3486
3486
  locator: z.ZodOptional<z.ZodString>;
3487
3487
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3488
3488
  }, "strict", z.ZodTypeAny, {
3489
- id: string;
3489
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3490
  label: string;
3491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
+ id: string;
3492
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3493
  locator?: string | undefined;
3494
3494
  }, {
3495
- id: string;
3495
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3496
3496
  label: string;
3497
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3497
+ id: string;
3498
3498
  capture: "at_action" | "historical_lookup" | "fixture";
3499
3499
  locator?: string | undefined;
3500
3500
  }>, "many">>;
@@ -3507,9 +3507,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3507
3507
  statement: string;
3508
3508
  sessionId: string;
3509
3509
  evidence: {
3510
- id: string;
3510
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3511
3511
  label: string;
3512
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3512
+ id: string;
3513
3513
  capture: "at_action" | "historical_lookup" | "fixture";
3514
3514
  locator?: string | undefined;
3515
3515
  }[];
@@ -3525,9 +3525,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3525
3525
  decisionId: string;
3526
3526
  confidence?: number | undefined;
3527
3527
  evidence?: {
3528
- id: string;
3528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3529
3529
  label: string;
3530
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3530
+ id: string;
3531
3531
  capture: "at_action" | "historical_lookup" | "fixture";
3532
3532
  locator?: string | undefined;
3533
3533
  }[] | undefined;
@@ -3544,25 +3544,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3544
3544
  locator: z.ZodOptional<z.ZodString>;
3545
3545
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3546
3546
  }, "strict", z.ZodTypeAny, {
3547
- id: string;
3547
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3548
  label: string;
3549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3549
+ id: string;
3550
3550
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3551
  locator?: string | undefined;
3552
3552
  }, {
3553
- id: string;
3553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
3554
  label: string;
3555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3555
+ id: string;
3556
3556
  capture: "at_action" | "historical_lookup" | "fixture";
3557
3557
  locator?: string | undefined;
3558
3558
  }>, "many">>;
3559
3559
  }, "strict", z.ZodTypeAny, {
3560
- summary: string;
3561
3560
  kind: "conflict_detected";
3561
+ summary: string;
3562
3562
  evidence: {
3563
- id: string;
3563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
3564
  label: string;
3565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
+ id: string;
3566
3566
  capture: "at_action" | "historical_lookup" | "fixture";
3567
3567
  locator?: string | undefined;
3568
3568
  }[];
@@ -3570,15 +3570,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3570
3570
  decisionIds: string[];
3571
3571
  agentIds: string[];
3572
3572
  }, {
3573
- summary: string;
3574
3573
  kind: "conflict_detected";
3574
+ summary: string;
3575
3575
  conflictId: string;
3576
3576
  decisionIds: string[];
3577
3577
  agentIds: string[];
3578
3578
  evidence?: {
3579
- id: string;
3579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
3580
  label: string;
3581
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3581
+ id: string;
3582
3582
  capture: "at_action" | "historical_lookup" | "fixture";
3583
3583
  locator?: string | undefined;
3584
3584
  }[] | undefined;
@@ -3598,27 +3598,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3598
3598
  locator: z.ZodOptional<z.ZodString>;
3599
3599
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3600
3600
  }, "strict", z.ZodTypeAny, {
3601
- id: string;
3601
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3602
3602
  label: string;
3603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3603
+ id: string;
3604
3604
  capture: "at_action" | "historical_lookup" | "fixture";
3605
3605
  locator?: string | undefined;
3606
3606
  }, {
3607
- id: string;
3607
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3608
3608
  label: string;
3609
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3609
+ id: string;
3610
3610
  capture: "at_action" | "historical_lookup" | "fixture";
3611
3611
  locator?: string | undefined;
3612
3612
  }>, "many">>;
3613
3613
  }, "strict", z.ZodTypeAny, {
3614
+ kind: "test_result";
3614
3615
  summary: string;
3615
3616
  status: "error" | "failed" | "passed";
3616
- kind: "test_result";
3617
3617
  command: string;
3618
3618
  evidence: {
3619
- id: string;
3619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
3620
  label: string;
3621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
+ id: string;
3622
3622
  capture: "at_action" | "historical_lookup" | "fixture";
3623
3623
  locator?: string | undefined;
3624
3624
  }[];
@@ -3627,17 +3627,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3627
3627
  durationMs?: number | undefined;
3628
3628
  correctionId?: string | undefined;
3629
3629
  }, {
3630
+ kind: "test_result";
3630
3631
  summary: string;
3631
3632
  status: "error" | "failed" | "passed";
3632
- kind: "test_result";
3633
3633
  command: string;
3634
3634
  decisionId: string;
3635
3635
  testId: string;
3636
3636
  durationMs?: number | undefined;
3637
3637
  evidence?: {
3638
- id: string;
3638
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
3639
  label: string;
3640
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
+ id: string;
3641
3641
  capture: "at_action" | "historical_lookup" | "fixture";
3642
3642
  locator?: string | undefined;
3643
3643
  }[] | undefined;
@@ -3658,15 +3658,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3658
3658
  locator: z.ZodOptional<z.ZodString>;
3659
3659
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3660
3660
  }, "strict", z.ZodTypeAny, {
3661
- id: string;
3661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
3662
  label: string;
3663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3663
+ id: string;
3664
3664
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3665
  locator?: string | undefined;
3666
3666
  }, {
3667
- id: string;
3667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3668
3668
  label: string;
3669
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
+ id: string;
3670
3670
  capture: "at_action" | "historical_lookup" | "fixture";
3671
3671
  locator?: string | undefined;
3672
3672
  }>, "many">>;
@@ -3675,9 +3675,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3675
3675
  statement: string;
3676
3676
  rationale: string;
3677
3677
  evidence: {
3678
- id: string;
3678
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3679
3679
  label: string;
3680
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3680
+ id: string;
3681
3681
  capture: "at_action" | "historical_lookup" | "fixture";
3682
3682
  locator?: string | undefined;
3683
3683
  }[];
@@ -3696,9 +3696,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3696
3696
  supersedesDecisionIds: string[];
3697
3697
  proposedBy: string;
3698
3698
  evidence?: {
3699
- id: string;
3699
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3700
3700
  label: string;
3701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3701
+ id: string;
3702
3702
  capture: "at_action" | "historical_lookup" | "fixture";
3703
3703
  locator?: string | undefined;
3704
3704
  }[] | undefined;
@@ -3710,13 +3710,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3710
3710
  id: z.ZodString;
3711
3711
  label: z.ZodString;
3712
3712
  }, "strict", z.ZodTypeAny, {
3713
- id: string;
3714
- label: string;
3715
3713
  kind: "agent" | "human";
3716
- }, {
3717
- id: string;
3718
3714
  label: string;
3715
+ id: string;
3716
+ }, {
3719
3717
  kind: "agent" | "human";
3718
+ label: string;
3719
+ id: string;
3720
3720
  }>;
3721
3721
  note: z.ZodOptional<z.ZodString>;
3722
3722
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3726,47 +3726,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3726
3726
  locator: z.ZodOptional<z.ZodString>;
3727
3727
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3728
3728
  }, "strict", z.ZodTypeAny, {
3729
- id: string;
3729
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3730
  label: string;
3731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3731
+ id: string;
3732
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3733
  locator?: string | undefined;
3734
3734
  }, {
3735
- id: string;
3735
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
3736
  label: string;
3737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
+ id: string;
3738
3738
  capture: "at_action" | "historical_lookup" | "fixture";
3739
3739
  locator?: string | undefined;
3740
3740
  }>, "many">>;
3741
3741
  }, "strict", z.ZodTypeAny, {
3742
3742
  kind: "correction_approved";
3743
3743
  evidence: {
3744
- id: string;
3744
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3745
  label: string;
3746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3746
+ id: string;
3747
3747
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3748
  locator?: string | undefined;
3749
3749
  }[];
3750
3750
  correctionId: string;
3751
3751
  approvedBy: {
3752
- id: string;
3753
- label: string;
3754
3752
  kind: "agent" | "human";
3753
+ label: string;
3754
+ id: string;
3755
3755
  };
3756
3756
  note?: string | undefined;
3757
3757
  }, {
3758
3758
  kind: "correction_approved";
3759
3759
  correctionId: string;
3760
3760
  approvedBy: {
3761
- id: string;
3762
- label: string;
3763
3761
  kind: "agent" | "human";
3762
+ label: string;
3763
+ id: string;
3764
3764
  };
3765
3765
  note?: string | undefined;
3766
3766
  evidence?: {
3767
- id: string;
3767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
3768
  label: string;
3769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3769
+ id: string;
3770
3770
  capture: "at_action" | "historical_lookup" | "fixture";
3771
3771
  locator?: string | undefined;
3772
3772
  }[] | undefined;
@@ -3782,24 +3782,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3782
3782
  locator: z.ZodOptional<z.ZodString>;
3783
3783
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3784
3784
  }, "strict", z.ZodTypeAny, {
3785
- id: string;
3785
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3786
3786
  label: string;
3787
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3787
+ id: string;
3788
3788
  capture: "at_action" | "historical_lookup" | "fixture";
3789
3789
  locator?: string | undefined;
3790
3790
  }, {
3791
- id: string;
3791
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
3792
  label: string;
3793
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3793
+ id: string;
3794
3794
  capture: "at_action" | "historical_lookup" | "fixture";
3795
3795
  locator?: string | undefined;
3796
3796
  }>, "many">>;
3797
3797
  }, "strict", z.ZodTypeAny, {
3798
3798
  kind: "decision_superseded";
3799
3799
  evidence: {
3800
- id: string;
3800
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
3801
  label: string;
3802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3802
+ id: string;
3803
3803
  capture: "at_action" | "historical_lookup" | "fixture";
3804
3804
  locator?: string | undefined;
3805
3805
  }[];
@@ -3812,9 +3812,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3812
3812
  correctionId: string;
3813
3813
  replacementDecisionId: string;
3814
3814
  evidence?: {
3815
- id: string;
3815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
3816
  label: string;
3817
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
+ id: string;
3818
3818
  capture: "at_action" | "historical_lookup" | "fixture";
3819
3819
  locator?: string | undefined;
3820
3820
  }[] | undefined;
@@ -3830,15 +3830,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3830
3830
  locator: z.ZodOptional<z.ZodString>;
3831
3831
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3832
3832
  }, "strict", z.ZodTypeAny, {
3833
- id: string;
3833
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
3834
  label: string;
3835
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
+ id: string;
3836
3836
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3837
  locator?: string | undefined;
3838
3838
  }, {
3839
- id: string;
3839
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3840
3840
  label: string;
3841
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
+ id: string;
3842
3842
  capture: "at_action" | "historical_lookup" | "fixture";
3843
3843
  locator?: string | undefined;
3844
3844
  }>, "many">>;
@@ -3851,9 +3851,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3851
3851
  agentId: string;
3852
3852
  sessionId: string;
3853
3853
  evidence: {
3854
- id: string;
3854
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3855
3855
  label: string;
3856
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3856
+ id: string;
3857
3857
  capture: "at_action" | "historical_lookup" | "fixture";
3858
3858
  locator?: string | undefined;
3859
3859
  }[];
@@ -3869,9 +3869,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3869
3869
  recallReceiptId: string;
3870
3870
  capturedAtAction: boolean;
3871
3871
  evidence?: {
3872
- id: string;
3872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3873
3873
  label: string;
3874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3874
+ id: string;
3875
3875
  capture: "at_action" | "historical_lookup" | "fixture";
3876
3876
  locator?: string | undefined;
3877
3877
  }[] | undefined;
@@ -3887,15 +3887,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3887
3887
  locator: z.ZodOptional<z.ZodString>;
3888
3888
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3889
3889
  }, "strict", z.ZodTypeAny, {
3890
- id: string;
3890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3891
  label: string;
3892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
+ id: string;
3893
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3894
  locator?: string | undefined;
3895
3895
  }, {
3896
- id: string;
3896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3897
  label: string;
3898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
+ id: string;
3899
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3900
  locator?: string | undefined;
3901
3901
  }>, "many">>;
@@ -3907,9 +3907,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3907
3907
  agentId: string;
3908
3908
  sessionId: string;
3909
3909
  evidence: {
3910
- id: string;
3910
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3911
3911
  label: string;
3912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3912
+ id: string;
3913
3913
  capture: "at_action" | "historical_lookup" | "fixture";
3914
3914
  locator?: string | undefined;
3915
3915
  }[];
@@ -3926,9 +3926,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3926
3926
  recallReceiptId: string;
3927
3927
  staleDecisionAbsent: boolean;
3928
3928
  evidence?: {
3929
- id: string;
3929
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3930
3930
  label: string;
3931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3931
+ id: string;
3932
3932
  capture: "at_action" | "historical_lookup" | "fixture";
3933
3933
  locator?: string | undefined;
3934
3934
  }[] | undefined;
@@ -3943,37 +3943,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3943
3943
  locator: z.ZodOptional<z.ZodString>;
3944
3944
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3945
3945
  }, "strict", z.ZodTypeAny, {
3946
- id: string;
3946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
3947
  label: string;
3948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3948
+ id: string;
3949
3949
  capture: "at_action" | "historical_lookup" | "fixture";
3950
3950
  locator?: string | undefined;
3951
3951
  }, {
3952
- id: string;
3952
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
3953
  label: string;
3954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
+ id: string;
3955
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3956
  locator?: string | undefined;
3957
3957
  }>, "many">>;
3958
3958
  }, "strict", z.ZodTypeAny, {
3959
- summary: string;
3960
3959
  kind: "mission_completed";
3960
+ summary: string;
3961
3961
  outcome: "failed" | "recovered" | "inconclusive";
3962
3962
  evidence: {
3963
- id: string;
3963
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3964
3964
  label: string;
3965
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3965
+ id: string;
3966
3966
  capture: "at_action" | "historical_lookup" | "fixture";
3967
3967
  locator?: string | undefined;
3968
3968
  }[];
3969
3969
  }, {
3970
- summary: string;
3971
3970
  kind: "mission_completed";
3971
+ summary: string;
3972
3972
  outcome: "failed" | "recovered" | "inconclusive";
3973
3973
  evidence?: {
3974
- id: string;
3974
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3975
3975
  label: string;
3976
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3976
+ id: string;
3977
3977
  capture: "at_action" | "historical_lookup" | "fixture";
3978
3978
  locator?: string | undefined;
3979
3979
  }[] | undefined;
@@ -3981,38 +3981,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3981
3981
  kind: "mission_started";
3982
3982
  title: string;
3983
3983
  evidence: {
3984
- id: string;
3984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3985
3985
  label: string;
3986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3986
+ id: string;
3987
3987
  capture: "at_action" | "historical_lookup" | "fixture";
3988
3988
  locator?: string | undefined;
3989
3989
  }[];
3990
3990
  objective: string;
3991
3991
  runMode: "replay" | "fixture" | "live";
3992
3992
  } | {
3993
- label: string;
3994
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3995
3993
  kind: "agent_status";
3994
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3995
+ label: string;
3996
3996
  role: string;
3997
3997
  agentId: string;
3998
3998
  sessionId: string;
3999
3999
  evidence: {
4000
- id: string;
4000
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4001
4001
  label: string;
4002
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4002
+ id: string;
4003
4003
  capture: "at_action" | "historical_lookup" | "fixture";
4004
4004
  locator?: string | undefined;
4005
4005
  }[];
4006
4006
  detail?: string | undefined;
4007
4007
  } | {
4008
- summary: string;
4009
4008
  kind: "agent_output";
4009
+ summary: string;
4010
4010
  agentId: string;
4011
4011
  sessionId: string;
4012
4012
  evidence: {
4013
- id: string;
4013
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
4014
  label: string;
4015
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4015
+ id: string;
4016
4016
  capture: "at_action" | "historical_lookup" | "fixture";
4017
4017
  locator?: string | undefined;
4018
4018
  }[];
@@ -4023,9 +4023,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4023
4023
  statement: string;
4024
4024
  sessionId: string;
4025
4025
  evidence: {
4026
- id: string;
4026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4027
4027
  label: string;
4028
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
+ id: string;
4029
4029
  capture: "at_action" | "historical_lookup" | "fixture";
4030
4030
  locator?: string | undefined;
4031
4031
  }[];
@@ -4033,12 +4033,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4033
4033
  decisionId: string;
4034
4034
  confidence?: number | undefined;
4035
4035
  } | {
4036
- summary: string;
4037
4036
  kind: "conflict_detected";
4037
+ summary: string;
4038
4038
  evidence: {
4039
- id: string;
4039
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4040
4040
  label: string;
4041
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4041
+ id: string;
4042
4042
  capture: "at_action" | "historical_lookup" | "fixture";
4043
4043
  locator?: string | undefined;
4044
4044
  }[];
@@ -4046,14 +4046,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4046
4046
  decisionIds: string[];
4047
4047
  agentIds: string[];
4048
4048
  } | {
4049
+ kind: "test_result";
4049
4050
  summary: string;
4050
4051
  status: "error" | "failed" | "passed";
4051
- kind: "test_result";
4052
4052
  command: string;
4053
4053
  evidence: {
4054
- id: string;
4054
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4055
  label: string;
4056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4056
+ id: string;
4057
4057
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4058
  locator?: string | undefined;
4059
4059
  }[];
@@ -4066,9 +4066,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4066
4066
  statement: string;
4067
4067
  rationale: string;
4068
4068
  evidence: {
4069
- id: string;
4069
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
4070
  label: string;
4071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
+ id: string;
4072
4072
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4073
  locator?: string | undefined;
4074
4074
  }[];
@@ -4080,25 +4080,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4080
4080
  } | {
4081
4081
  kind: "correction_approved";
4082
4082
  evidence: {
4083
- id: string;
4083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4084
  label: string;
4085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4085
+ id: string;
4086
4086
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4087
  locator?: string | undefined;
4088
4088
  }[];
4089
4089
  correctionId: string;
4090
4090
  approvedBy: {
4091
- id: string;
4092
- label: string;
4093
4091
  kind: "agent" | "human";
4092
+ label: string;
4093
+ id: string;
4094
4094
  };
4095
4095
  note?: string | undefined;
4096
4096
  } | {
4097
4097
  kind: "decision_superseded";
4098
4098
  evidence: {
4099
- id: string;
4099
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4100
4100
  label: string;
4101
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4101
+ id: string;
4102
4102
  capture: "at_action" | "historical_lookup" | "fixture";
4103
4103
  locator?: string | undefined;
4104
4104
  }[];
@@ -4111,9 +4111,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4111
4111
  agentId: string;
4112
4112
  sessionId: string;
4113
4113
  evidence: {
4114
- id: string;
4114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4115
4115
  label: string;
4116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4116
+ id: string;
4117
4117
  capture: "at_action" | "historical_lookup" | "fixture";
4118
4118
  locator?: string | undefined;
4119
4119
  }[];
@@ -4125,9 +4125,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4125
4125
  agentId: string;
4126
4126
  sessionId: string;
4127
4127
  evidence: {
4128
- id: string;
4128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
4129
  label: string;
4130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4130
+ id: string;
4131
4131
  capture: "at_action" | "historical_lookup" | "fixture";
4132
4132
  locator?: string | undefined;
4133
4133
  }[];
@@ -4136,13 +4136,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4136
4136
  recallReceiptId: string;
4137
4137
  staleDecisionAbsent: boolean;
4138
4138
  } | {
4139
- summary: string;
4140
4139
  kind: "mission_completed";
4140
+ summary: string;
4141
4141
  outcome: "failed" | "recovered" | "inconclusive";
4142
4142
  evidence: {
4143
- id: string;
4143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
4144
  label: string;
4145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4145
+ id: string;
4146
4146
  capture: "at_action" | "historical_lookup" | "fixture";
4147
4147
  locator?: string | undefined;
4148
4148
  }[];
@@ -4152,37 +4152,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4152
4152
  objective: string;
4153
4153
  runMode: "replay" | "fixture" | "live";
4154
4154
  evidence?: {
4155
- id: string;
4155
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4156
  label: string;
4157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4157
+ id: string;
4158
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4159
  locator?: string | undefined;
4160
4160
  }[] | undefined;
4161
4161
  } | {
4162
- label: string;
4163
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4164
4162
  kind: "agent_status";
4163
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4164
+ label: string;
4165
4165
  role: string;
4166
4166
  agentId: string;
4167
4167
  sessionId: string;
4168
4168
  detail?: string | undefined;
4169
4169
  evidence?: {
4170
- id: string;
4170
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4171
4171
  label: string;
4172
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
+ id: string;
4173
4173
  capture: "at_action" | "historical_lookup" | "fixture";
4174
4174
  locator?: string | undefined;
4175
4175
  }[] | undefined;
4176
4176
  } | {
4177
- summary: string;
4178
4177
  kind: "agent_output";
4178
+ summary: string;
4179
4179
  agentId: string;
4180
4180
  sessionId: string;
4181
4181
  outputId: string;
4182
4182
  evidence?: {
4183
- id: string;
4183
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
4184
  label: string;
4185
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4185
+ id: string;
4186
4186
  capture: "at_action" | "historical_lookup" | "fixture";
4187
4187
  locator?: string | undefined;
4188
4188
  }[] | undefined;
@@ -4195,37 +4195,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4195
4195
  decisionId: string;
4196
4196
  confidence?: number | undefined;
4197
4197
  evidence?: {
4198
- id: string;
4198
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4199
4199
  label: string;
4200
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
+ id: string;
4201
4201
  capture: "at_action" | "historical_lookup" | "fixture";
4202
4202
  locator?: string | undefined;
4203
4203
  }[] | undefined;
4204
4204
  } | {
4205
- summary: string;
4206
4205
  kind: "conflict_detected";
4206
+ summary: string;
4207
4207
  conflictId: string;
4208
4208
  decisionIds: string[];
4209
4209
  agentIds: string[];
4210
4210
  evidence?: {
4211
- id: string;
4211
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4212
4212
  label: string;
4213
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
+ id: string;
4214
4214
  capture: "at_action" | "historical_lookup" | "fixture";
4215
4215
  locator?: string | undefined;
4216
4216
  }[] | undefined;
4217
4217
  } | {
4218
+ kind: "test_result";
4218
4219
  summary: string;
4219
4220
  status: "error" | "failed" | "passed";
4220
- kind: "test_result";
4221
4221
  command: string;
4222
4222
  decisionId: string;
4223
4223
  testId: string;
4224
4224
  durationMs?: number | undefined;
4225
4225
  evidence?: {
4226
- id: string;
4226
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
4227
  label: string;
4228
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
+ id: string;
4229
4229
  capture: "at_action" | "historical_lookup" | "fixture";
4230
4230
  locator?: string | undefined;
4231
4231
  }[] | undefined;
@@ -4240,9 +4240,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4240
4240
  supersedesDecisionIds: string[];
4241
4241
  proposedBy: string;
4242
4242
  evidence?: {
4243
- id: string;
4243
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4244
4244
  label: string;
4245
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4245
+ id: string;
4246
4246
  capture: "at_action" | "historical_lookup" | "fixture";
4247
4247
  locator?: string | undefined;
4248
4248
  }[] | undefined;
@@ -4250,15 +4250,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4250
4250
  kind: "correction_approved";
4251
4251
  correctionId: string;
4252
4252
  approvedBy: {
4253
- id: string;
4254
- label: string;
4255
4253
  kind: "agent" | "human";
4254
+ label: string;
4255
+ id: string;
4256
4256
  };
4257
4257
  note?: string | undefined;
4258
4258
  evidence?: {
4259
- id: string;
4259
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
4260
  label: string;
4261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4261
+ id: string;
4262
4262
  capture: "at_action" | "historical_lookup" | "fixture";
4263
4263
  locator?: string | undefined;
4264
4264
  }[] | undefined;
@@ -4268,9 +4268,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4268
4268
  correctionId: string;
4269
4269
  replacementDecisionId: string;
4270
4270
  evidence?: {
4271
- id: string;
4271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4272
  label: string;
4273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4273
+ id: string;
4274
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4275
4275
  locator?: string | undefined;
4276
4276
  }[] | undefined;
@@ -4283,9 +4283,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4283
4283
  recallReceiptId: string;
4284
4284
  capturedAtAction: boolean;
4285
4285
  evidence?: {
4286
- id: string;
4286
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4287
4287
  label: string;
4288
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
+ id: string;
4289
4289
  capture: "at_action" | "historical_lookup" | "fixture";
4290
4290
  locator?: string | undefined;
4291
4291
  }[] | undefined;
@@ -4298,64 +4298,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4298
4298
  recallReceiptId: string;
4299
4299
  staleDecisionAbsent: boolean;
4300
4300
  evidence?: {
4301
- id: string;
4301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4302
4302
  label: string;
4303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
+ id: string;
4304
4304
  capture: "at_action" | "historical_lookup" | "fixture";
4305
4305
  locator?: string | undefined;
4306
4306
  }[] | undefined;
4307
4307
  } | {
4308
- summary: string;
4309
4308
  kind: "mission_completed";
4309
+ summary: string;
4310
4310
  outcome: "failed" | "recovered" | "inconclusive";
4311
4311
  evidence?: {
4312
- id: string;
4312
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4313
4313
  label: string;
4314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
+ id: string;
4315
4315
  capture: "at_action" | "historical_lookup" | "fixture";
4316
4316
  locator?: string | undefined;
4317
4317
  }[] | undefined;
4318
4318
  }>;
4319
4319
  }, "strict", z.ZodTypeAny, {
4320
- namespace: string;
4321
- recordedAt: string;
4322
4320
  schemaVersion: "1";
4321
+ recordedAt: string;
4323
4322
  payload: {
4324
4323
  kind: "mission_started";
4325
4324
  title: string;
4326
4325
  evidence: {
4327
- id: string;
4326
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4328
4327
  label: string;
4329
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4328
+ id: string;
4330
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4331
4330
  locator?: string | undefined;
4332
4331
  }[];
4333
4332
  objective: string;
4334
4333
  runMode: "replay" | "fixture" | "live";
4335
4334
  } | {
4336
- label: string;
4337
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4338
4335
  kind: "agent_status";
4336
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4337
+ label: string;
4339
4338
  role: string;
4340
4339
  agentId: string;
4341
4340
  sessionId: string;
4342
4341
  evidence: {
4343
- id: string;
4342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
4343
  label: string;
4345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
+ id: string;
4346
4345
  capture: "at_action" | "historical_lookup" | "fixture";
4347
4346
  locator?: string | undefined;
4348
4347
  }[];
4349
4348
  detail?: string | undefined;
4350
4349
  } | {
4351
- summary: string;
4352
4350
  kind: "agent_output";
4351
+ summary: string;
4353
4352
  agentId: string;
4354
4353
  sessionId: string;
4355
4354
  evidence: {
4356
- id: string;
4355
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
4356
  label: string;
4358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
+ id: string;
4359
4358
  capture: "at_action" | "historical_lookup" | "fixture";
4360
4359
  locator?: string | undefined;
4361
4360
  }[];
@@ -4366,9 +4365,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4366
4365
  statement: string;
4367
4366
  sessionId: string;
4368
4367
  evidence: {
4369
- id: string;
4368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4370
4369
  label: string;
4371
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4370
+ id: string;
4372
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4373
4372
  locator?: string | undefined;
4374
4373
  }[];
@@ -4376,12 +4375,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4376
4375
  decisionId: string;
4377
4376
  confidence?: number | undefined;
4378
4377
  } | {
4379
- summary: string;
4380
4378
  kind: "conflict_detected";
4379
+ summary: string;
4381
4380
  evidence: {
4382
- id: string;
4381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4382
  label: string;
4384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
+ id: string;
4385
4384
  capture: "at_action" | "historical_lookup" | "fixture";
4386
4385
  locator?: string | undefined;
4387
4386
  }[];
@@ -4389,14 +4388,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4389
4388
  decisionIds: string[];
4390
4389
  agentIds: string[];
4391
4390
  } | {
4391
+ kind: "test_result";
4392
4392
  summary: string;
4393
4393
  status: "error" | "failed" | "passed";
4394
- kind: "test_result";
4395
4394
  command: string;
4396
4395
  evidence: {
4397
- id: string;
4396
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
4397
  label: string;
4399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
+ id: string;
4400
4399
  capture: "at_action" | "historical_lookup" | "fixture";
4401
4400
  locator?: string | undefined;
4402
4401
  }[];
@@ -4409,9 +4408,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4409
4408
  statement: string;
4410
4409
  rationale: string;
4411
4410
  evidence: {
4412
- id: string;
4411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
4412
  label: string;
4414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
+ id: string;
4415
4414
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4415
  locator?: string | undefined;
4417
4416
  }[];
@@ -4423,25 +4422,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4423
4422
  } | {
4424
4423
  kind: "correction_approved";
4425
4424
  evidence: {
4426
- id: string;
4425
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4426
  label: string;
4428
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
+ id: string;
4429
4428
  capture: "at_action" | "historical_lookup" | "fixture";
4430
4429
  locator?: string | undefined;
4431
4430
  }[];
4432
4431
  correctionId: string;
4433
4432
  approvedBy: {
4434
- id: string;
4435
- label: string;
4436
4433
  kind: "agent" | "human";
4434
+ label: string;
4435
+ id: string;
4437
4436
  };
4438
4437
  note?: string | undefined;
4439
4438
  } | {
4440
4439
  kind: "decision_superseded";
4441
4440
  evidence: {
4442
- id: string;
4441
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
4442
  label: string;
4444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
+ id: string;
4445
4444
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4445
  locator?: string | undefined;
4447
4446
  }[];
@@ -4454,9 +4453,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4454
4453
  agentId: string;
4455
4454
  sessionId: string;
4456
4455
  evidence: {
4457
- id: string;
4456
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4457
  label: string;
4459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
+ id: string;
4460
4459
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4460
  locator?: string | undefined;
4462
4461
  }[];
@@ -4468,9 +4467,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4468
4467
  agentId: string;
4469
4468
  sessionId: string;
4470
4469
  evidence: {
4471
- id: string;
4470
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4472
4471
  label: string;
4473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4472
+ id: string;
4474
4473
  capture: "at_action" | "historical_lookup" | "fixture";
4475
4474
  locator?: string | undefined;
4476
4475
  }[];
@@ -4479,63 +4478,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4479
4478
  recallReceiptId: string;
4480
4479
  staleDecisionAbsent: boolean;
4481
4480
  } | {
4482
- summary: string;
4483
4481
  kind: "mission_completed";
4482
+ summary: string;
4484
4483
  outcome: "failed" | "recovered" | "inconclusive";
4485
4484
  evidence: {
4486
- id: string;
4485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4487
4486
  label: string;
4488
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4487
+ id: string;
4489
4488
  capture: "at_action" | "historical_lookup" | "fixture";
4490
4489
  locator?: string | undefined;
4491
4490
  }[];
4492
4491
  };
4492
+ namespace: string;
4493
4493
  eventId: string;
4494
4494
  occurredAt: string;
4495
4495
  missionId: string;
4496
4496
  authenticatedPrincipal?: string | undefined;
4497
4497
  idempotencyKey?: string | undefined;
4498
4498
  }, {
4499
- namespace: string;
4500
- recordedAt: string;
4501
4499
  schemaVersion: "1";
4500
+ recordedAt: string;
4502
4501
  payload: {
4503
4502
  kind: "mission_started";
4504
4503
  title: string;
4505
4504
  objective: string;
4506
4505
  runMode: "replay" | "fixture" | "live";
4507
4506
  evidence?: {
4508
- id: string;
4507
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4509
4508
  label: string;
4510
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4509
+ id: string;
4511
4510
  capture: "at_action" | "historical_lookup" | "fixture";
4512
4511
  locator?: string | undefined;
4513
4512
  }[] | undefined;
4514
4513
  } | {
4515
- label: string;
4516
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4517
4514
  kind: "agent_status";
4515
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4516
+ label: string;
4518
4517
  role: string;
4519
4518
  agentId: string;
4520
4519
  sessionId: string;
4521
4520
  detail?: string | undefined;
4522
4521
  evidence?: {
4523
- id: string;
4522
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4524
4523
  label: string;
4525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4524
+ id: string;
4526
4525
  capture: "at_action" | "historical_lookup" | "fixture";
4527
4526
  locator?: string | undefined;
4528
4527
  }[] | undefined;
4529
4528
  } | {
4530
- summary: string;
4531
4529
  kind: "agent_output";
4530
+ summary: string;
4532
4531
  agentId: string;
4533
4532
  sessionId: string;
4534
4533
  outputId: string;
4535
4534
  evidence?: {
4536
- id: string;
4535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4537
4536
  label: string;
4538
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4537
+ id: string;
4539
4538
  capture: "at_action" | "historical_lookup" | "fixture";
4540
4539
  locator?: string | undefined;
4541
4540
  }[] | undefined;
@@ -4548,37 +4547,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4548
4547
  decisionId: string;
4549
4548
  confidence?: number | undefined;
4550
4549
  evidence?: {
4551
- id: string;
4550
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4552
4551
  label: string;
4553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4552
+ id: string;
4554
4553
  capture: "at_action" | "historical_lookup" | "fixture";
4555
4554
  locator?: string | undefined;
4556
4555
  }[] | undefined;
4557
4556
  } | {
4558
- summary: string;
4559
4557
  kind: "conflict_detected";
4558
+ summary: string;
4560
4559
  conflictId: string;
4561
4560
  decisionIds: string[];
4562
4561
  agentIds: string[];
4563
4562
  evidence?: {
4564
- id: string;
4563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
4564
  label: string;
4566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
+ id: string;
4567
4566
  capture: "at_action" | "historical_lookup" | "fixture";
4568
4567
  locator?: string | undefined;
4569
4568
  }[] | undefined;
4570
4569
  } | {
4570
+ kind: "test_result";
4571
4571
  summary: string;
4572
4572
  status: "error" | "failed" | "passed";
4573
- kind: "test_result";
4574
4573
  command: string;
4575
4574
  decisionId: string;
4576
4575
  testId: string;
4577
4576
  durationMs?: number | undefined;
4578
4577
  evidence?: {
4579
- id: string;
4578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
4579
  label: string;
4581
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
+ id: string;
4582
4581
  capture: "at_action" | "historical_lookup" | "fixture";
4583
4582
  locator?: string | undefined;
4584
4583
  }[] | undefined;
@@ -4593,9 +4592,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4593
4592
  supersedesDecisionIds: string[];
4594
4593
  proposedBy: string;
4595
4594
  evidence?: {
4596
- id: string;
4595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4597
4596
  label: string;
4598
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4597
+ id: string;
4599
4598
  capture: "at_action" | "historical_lookup" | "fixture";
4600
4599
  locator?: string | undefined;
4601
4600
  }[] | undefined;
@@ -4603,15 +4602,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4603
4602
  kind: "correction_approved";
4604
4603
  correctionId: string;
4605
4604
  approvedBy: {
4606
- id: string;
4607
- label: string;
4608
4605
  kind: "agent" | "human";
4606
+ label: string;
4607
+ id: string;
4609
4608
  };
4610
4609
  note?: string | undefined;
4611
4610
  evidence?: {
4612
- id: string;
4611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
4612
  label: string;
4614
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
+ id: string;
4615
4614
  capture: "at_action" | "historical_lookup" | "fixture";
4616
4615
  locator?: string | undefined;
4617
4616
  }[] | undefined;
@@ -4621,9 +4620,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4621
4620
  correctionId: string;
4622
4621
  replacementDecisionId: string;
4623
4622
  evidence?: {
4624
- id: string;
4623
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4625
4624
  label: string;
4626
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4625
+ id: string;
4627
4626
  capture: "at_action" | "historical_lookup" | "fixture";
4628
4627
  locator?: string | undefined;
4629
4628
  }[] | undefined;
@@ -4636,9 +4635,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4636
4635
  recallReceiptId: string;
4637
4636
  capturedAtAction: boolean;
4638
4637
  evidence?: {
4639
- id: string;
4638
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
4639
  label: string;
4641
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
+ id: string;
4642
4641
  capture: "at_action" | "historical_lookup" | "fixture";
4643
4642
  locator?: string | undefined;
4644
4643
  }[] | undefined;
@@ -4651,24 +4650,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4651
4650
  recallReceiptId: string;
4652
4651
  staleDecisionAbsent: boolean;
4653
4652
  evidence?: {
4654
- id: string;
4653
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4655
4654
  label: string;
4656
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4655
+ id: string;
4657
4656
  capture: "at_action" | "historical_lookup" | "fixture";
4658
4657
  locator?: string | undefined;
4659
4658
  }[] | undefined;
4660
4659
  } | {
4661
- summary: string;
4662
4660
  kind: "mission_completed";
4661
+ summary: string;
4663
4662
  outcome: "failed" | "recovered" | "inconclusive";
4664
4663
  evidence?: {
4665
- id: string;
4664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
4665
  label: string;
4667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
+ id: string;
4668
4667
  capture: "at_action" | "historical_lookup" | "fixture";
4669
4668
  locator?: string | undefined;
4670
4669
  }[] | undefined;
4671
4670
  };
4671
+ namespace: string;
4672
4672
  eventId: string;
4673
4673
  occurredAt: string;
4674
4674
  missionId: string;