@remnic/core 9.57.3 → 9.57.5

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 (233) 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 +57 -57
  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.js +6 -5
  44. package/dist/causal-consolidation.js +7 -7
  45. package/dist/{chunk-O54B5YNM.js → chunk-24PNX2GF.js} +3 -3
  46. package/dist/{chunk-ONCWJBWV.js → chunk-3AJOJOFP.js} +2 -2
  47. package/dist/{chunk-QSDPVZPD.js → chunk-4O6R3GPK.js} +8 -8
  48. package/dist/{chunk-IXGQP4RZ.js → chunk-4SGDYYWV.js} +4 -4
  49. package/dist/{chunk-UTDMY476.js → chunk-4UUF2EX3.js} +3 -3
  50. package/dist/{chunk-T6EQPZ6E.js → chunk-4YZCIK5E.js} +16 -14
  51. package/dist/chunk-4YZCIK5E.js.map +1 -0
  52. package/dist/{chunk-S6AH7WSF.js → chunk-5PGYCWA7.js} +5 -5
  53. package/dist/{chunk-7NSC4IVA.js → chunk-6RK2X7BR.js} +3 -3
  54. package/dist/{chunk-VWP5DEHU.js → chunk-6SX4MY5Q.js} +2 -2
  55. package/dist/{chunk-GUNIXT36.js → chunk-7BY7V4YX.js} +2 -2
  56. package/dist/{chunk-R7UHWPYI.js → chunk-7PJARJS4.js} +3 -3
  57. package/dist/{chunk-V3IT3XNG.js → chunk-7VSHDLJQ.js} +6 -6
  58. package/dist/{chunk-SFCJCMZQ.js → chunk-A7266TRJ.js} +2 -2
  59. package/dist/{chunk-4THNU7OF.js → chunk-AW4A4XOP.js} +22 -22
  60. package/dist/{chunk-IFFW25NG.js → chunk-C5B3CIMJ.js} +34 -34
  61. package/dist/{chunk-TF3LMM5E.js → chunk-CSV34HIW.js} +3 -3
  62. package/dist/{chunk-FK7T55BA.js → chunk-CZUHNJHX.js} +19 -19
  63. package/dist/{chunk-NFQB6RJT.js → chunk-D4OCJSLV.js} +3 -3
  64. package/dist/{chunk-JKL53MOY.js → chunk-DLQQU4EG.js} +3 -3
  65. package/dist/{chunk-CME347TM.js → chunk-DNC4A7RS.js} +2 -2
  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-TLVLJSWS.js → chunk-LRDP2AC2.js} +2 -2
  82. package/dist/{chunk-QV7OEHFN.js → chunk-LTBKKSCX.js} +2 -2
  83. package/dist/{chunk-IGWVMA4Y.js → chunk-MRV7VSQK.js} +20 -10
  84. package/dist/chunk-MRV7VSQK.js.map +1 -0
  85. package/dist/{chunk-6P2NUVM5.js → chunk-NEJQ65NV.js} +2 -2
  86. package/dist/{chunk-7PKNOXYB.js → chunk-NTJ6TY44.js} +2 -2
  87. package/dist/{chunk-HYVBJLEK.js → chunk-O5AFC5KM.js} +2 -2
  88. package/dist/{chunk-U3PN77QT.js → chunk-PCXDUHQH.js} +11 -4
  89. package/dist/chunk-PCXDUHQH.js.map +1 -0
  90. package/dist/{chunk-N655QIA2.js → chunk-PEDYKCJI.js} +3 -3
  91. package/dist/{chunk-TVKWT2CY.js → chunk-Q57GOHLF.js} +11 -9
  92. package/dist/{chunk-TVKWT2CY.js.map → chunk-Q57GOHLF.js.map} +1 -1
  93. package/dist/{chunk-4QFCAKNM.js → chunk-RUZM6Z52.js} +1 -1
  94. package/dist/{chunk-O4TTIMOP.js → chunk-SFR7J2G6.js} +2 -2
  95. package/dist/{chunk-ION47U3Z.js → chunk-SNW3YRO6.js} +2 -2
  96. package/dist/{chunk-XL24QQ63.js → chunk-TBUEE7XF.js} +2 -2
  97. package/dist/{chunk-TAPFJ3ET.js → chunk-U7XLOSG2.js} +3 -3
  98. package/dist/{chunk-T3HC7RJ7.js → chunk-USAUBGBC.js} +2 -2
  99. package/dist/{chunk-TAMY4NKO.js → chunk-USGKHF36.js} +2 -2
  100. package/dist/{chunk-XRPPHIRI.js → chunk-VUDALPI5.js} +2 -2
  101. package/dist/{chunk-EGGE52UU.js → chunk-VUFL7X3H.js} +13 -6
  102. package/dist/chunk-VUFL7X3H.js.map +1 -0
  103. package/dist/{chunk-HC55YCNK.js → chunk-VYIXCMUP.js} +4 -4
  104. package/dist/{chunk-HQ2VGCGP.js → chunk-XBGLEOID.js} +8 -8
  105. package/dist/{chunk-XX4HPFFM.js → chunk-XDL5CYZN.js} +4 -4
  106. package/dist/{chunk-THACANBI.js → chunk-YOKSRIFI.js} +3 -3
  107. package/dist/{chunk-BWJMBJCY.js → chunk-YTZA7U6Q.js} +6 -6
  108. package/dist/{chunk-4KM3V6VS.js → chunk-ZN7SMKAK.js} +2 -2
  109. package/dist/{cli-Bx9FA3KA.d.ts → cli-DTOkYhKI.d.ts} +1 -1
  110. package/dist/cli.d.ts +2 -2
  111. package/dist/cli.js +45 -45
  112. package/dist/compounding/engine.js +5 -5
  113. package/dist/connectors/codex-materialize-runner.js +6 -6
  114. package/dist/connectors/index.js +6 -6
  115. package/dist/contradiction/index.js +3 -3
  116. package/dist/{contradiction-scan-522AYLQC.js → contradiction-scan-VOTQRRSX.js} +4 -4
  117. package/dist/convergence-refresh.js +7 -7
  118. package/dist/corpus-watermark.js +8 -8
  119. package/dist/entity-retrieval.js +5 -5
  120. package/dist/explicit-capture.js +4 -4
  121. package/dist/external-wiki-access.d.ts +1 -1
  122. package/dist/external-wiki-access.js +24 -24
  123. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  124. package/dist/extraction.js +11 -11
  125. package/dist/{first-start-migration-HZ4VPRFQ.js → first-start-migration-4NETATFF.js} +4 -4
  126. package/dist/{graph-edge-decay-ZXGBXNPW.js → graph-edge-decay-A4SDFMMS.js} +4 -3
  127. package/dist/harmonic-retrieval.js +1 -1
  128. package/dist/index.d.ts +678 -678
  129. package/dist/index.js +57 -57
  130. package/dist/maintenance/memory-governance.js +5 -5
  131. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
  132. package/dist/maintenance/rebuild-memory-projection.js +6 -6
  133. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  134. package/dist/namespaces/migrate.js +7 -7
  135. package/dist/namespaces/principal.js +3 -2
  136. package/dist/namespaces/search.js +2 -2
  137. package/dist/namespaces/storage.js +6 -6
  138. package/dist/offline-sync-impression-drain.js +6 -6
  139. package/dist/operator-doctor-corpus.js +9 -9
  140. package/dist/operator-toolkit.js +16 -16
  141. package/dist/orchestration/maintenance.js +14 -14
  142. package/dist/orchestrator.js +57 -57
  143. package/dist/{public-http-D1Bw5yVb.d.ts → public-http-C01DLhAp.d.ts} +1 -1
  144. package/dist/reconcile/manifest.js +3 -3
  145. package/dist/reconcile/plan.js +2 -2
  146. package/dist/routing/engine.js +2 -1
  147. package/dist/routing/store.js +3 -2
  148. package/dist/schemas.d.ts +116 -116
  149. package/dist/semantic-consolidation.js +7 -7
  150. package/dist/semantic-rule-promotion.js +5 -5
  151. package/dist/semantic-rule-verifier.js +5 -5
  152. package/dist/shared-context/manager.d.ts +8 -8
  153. package/dist/source-agent-qualifier.js +10 -10
  154. package/dist/storage.js +4 -4
  155. package/dist/support-passport/index.d.ts +4 -4
  156. package/dist/support-passport/index.js +26 -26
  157. package/dist/tier-routing.js +3 -3
  158. package/dist/{tier-stats-7E6OBUSD.js → tier-stats-4B5IJ3NE.js} +4 -4
  159. package/dist/transfer/types.d.ts +66 -66
  160. package/dist/verified-recall.js +5 -5
  161. package/package.json +2 -2
  162. package/src/namespaces/catalog.ts +9 -9
  163. package/src/namespaces/identity.ts +15 -6
  164. package/src/namespaces/principal.test.ts +10 -1
  165. package/src/namespaces/principal.ts +17 -9
  166. package/src/namespaces/scope-profiles.ts +35 -13
  167. package/src/namespaces/storage.ts +63 -13
  168. package/src/namespaces/unicode-routing.test.ts +71 -0
  169. package/src/routing/engine.test.ts +30 -0
  170. package/src/routing/engine.ts +12 -3
  171. package/src/scopes/scope-plan.ts +8 -2
  172. package/src/storage-contract/namespace-routing.test.ts +18 -1
  173. package/dist/chunk-CMRUIKVA.js.map +0 -1
  174. package/dist/chunk-EGGE52UU.js.map +0 -1
  175. package/dist/chunk-IGWVMA4Y.js.map +0 -1
  176. package/dist/chunk-JFPZEWY3.js.map +0 -1
  177. package/dist/chunk-T6EQPZ6E.js.map +0 -1
  178. package/dist/chunk-U3PN77QT.js.map +0 -1
  179. package/dist/{access-service-SYs9ROK9.d.ts → access-service-D9xXmKvd.d.ts} +58 -58
  180. /package/dist/{chunk-O54B5YNM.js.map → chunk-24PNX2GF.js.map} +0 -0
  181. /package/dist/{chunk-ONCWJBWV.js.map → chunk-3AJOJOFP.js.map} +0 -0
  182. /package/dist/{chunk-QSDPVZPD.js.map → chunk-4O6R3GPK.js.map} +0 -0
  183. /package/dist/{chunk-IXGQP4RZ.js.map → chunk-4SGDYYWV.js.map} +0 -0
  184. /package/dist/{chunk-UTDMY476.js.map → chunk-4UUF2EX3.js.map} +0 -0
  185. /package/dist/{chunk-S6AH7WSF.js.map → chunk-5PGYCWA7.js.map} +0 -0
  186. /package/dist/{chunk-7NSC4IVA.js.map → chunk-6RK2X7BR.js.map} +0 -0
  187. /package/dist/{chunk-VWP5DEHU.js.map → chunk-6SX4MY5Q.js.map} +0 -0
  188. /package/dist/{chunk-GUNIXT36.js.map → chunk-7BY7V4YX.js.map} +0 -0
  189. /package/dist/{chunk-R7UHWPYI.js.map → chunk-7PJARJS4.js.map} +0 -0
  190. /package/dist/{chunk-V3IT3XNG.js.map → chunk-7VSHDLJQ.js.map} +0 -0
  191. /package/dist/{chunk-SFCJCMZQ.js.map → chunk-A7266TRJ.js.map} +0 -0
  192. /package/dist/{chunk-4THNU7OF.js.map → chunk-AW4A4XOP.js.map} +0 -0
  193. /package/dist/{chunk-IFFW25NG.js.map → chunk-C5B3CIMJ.js.map} +0 -0
  194. /package/dist/{chunk-TF3LMM5E.js.map → chunk-CSV34HIW.js.map} +0 -0
  195. /package/dist/{chunk-FK7T55BA.js.map → chunk-CZUHNJHX.js.map} +0 -0
  196. /package/dist/{chunk-NFQB6RJT.js.map → chunk-D4OCJSLV.js.map} +0 -0
  197. /package/dist/{chunk-JKL53MOY.js.map → chunk-DLQQU4EG.js.map} +0 -0
  198. /package/dist/{chunk-CME347TM.js.map → chunk-DNC4A7RS.js.map} +0 -0
  199. /package/dist/{chunk-F2JRDPON.js.map → chunk-EGBDFJ36.js.map} +0 -0
  200. /package/dist/{chunk-TFXYQNBH.js.map → chunk-FI3PIOOI.js.map} +0 -0
  201. /package/dist/{chunk-CKSEJD7K.js.map → chunk-FKTD7IVS.js.map} +0 -0
  202. /package/dist/{chunk-FONW766A.js.map → chunk-GXIY65UH.js.map} +0 -0
  203. /package/dist/{chunk-2YREVL4T.js.map → chunk-HZC3OECF.js.map} +0 -0
  204. /package/dist/{chunk-X5OIPQME.js.map → chunk-HZNYJN77.js.map} +0 -0
  205. /package/dist/{chunk-LYPG7GOO.js.map → chunk-I2GIYTRU.js.map} +0 -0
  206. /package/dist/{chunk-FR3FNPCJ.js.map → chunk-IT57AOMC.js.map} +0 -0
  207. /package/dist/{chunk-KJH6W2I7.js.map → chunk-L3CHRBHE.js.map} +0 -0
  208. /package/dist/{chunk-PSH3VFZ7.js.map → chunk-L3LRWDJW.js.map} +0 -0
  209. /package/dist/{chunk-QZR3WT3L.js.map → chunk-LJJWFV2Q.js.map} +0 -0
  210. /package/dist/{chunk-TLVLJSWS.js.map → chunk-LRDP2AC2.js.map} +0 -0
  211. /package/dist/{chunk-QV7OEHFN.js.map → chunk-LTBKKSCX.js.map} +0 -0
  212. /package/dist/{chunk-6P2NUVM5.js.map → chunk-NEJQ65NV.js.map} +0 -0
  213. /package/dist/{chunk-7PKNOXYB.js.map → chunk-NTJ6TY44.js.map} +0 -0
  214. /package/dist/{chunk-HYVBJLEK.js.map → chunk-O5AFC5KM.js.map} +0 -0
  215. /package/dist/{chunk-N655QIA2.js.map → chunk-PEDYKCJI.js.map} +0 -0
  216. /package/dist/{chunk-4QFCAKNM.js.map → chunk-RUZM6Z52.js.map} +0 -0
  217. /package/dist/{chunk-O4TTIMOP.js.map → chunk-SFR7J2G6.js.map} +0 -0
  218. /package/dist/{chunk-ION47U3Z.js.map → chunk-SNW3YRO6.js.map} +0 -0
  219. /package/dist/{chunk-XL24QQ63.js.map → chunk-TBUEE7XF.js.map} +0 -0
  220. /package/dist/{chunk-TAPFJ3ET.js.map → chunk-U7XLOSG2.js.map} +0 -0
  221. /package/dist/{chunk-T3HC7RJ7.js.map → chunk-USAUBGBC.js.map} +0 -0
  222. /package/dist/{chunk-TAMY4NKO.js.map → chunk-USGKHF36.js.map} +0 -0
  223. /package/dist/{chunk-XRPPHIRI.js.map → chunk-VUDALPI5.js.map} +0 -0
  224. /package/dist/{chunk-HC55YCNK.js.map → chunk-VYIXCMUP.js.map} +0 -0
  225. /package/dist/{chunk-HQ2VGCGP.js.map → chunk-XBGLEOID.js.map} +0 -0
  226. /package/dist/{chunk-XX4HPFFM.js.map → chunk-XDL5CYZN.js.map} +0 -0
  227. /package/dist/{chunk-THACANBI.js.map → chunk-YOKSRIFI.js.map} +0 -0
  228. /package/dist/{chunk-BWJMBJCY.js.map → chunk-YTZA7U6Q.js.map} +0 -0
  229. /package/dist/{chunk-4KM3V6VS.js.map → chunk-ZN7SMKAK.js.map} +0 -0
  230. /package/dist/{contradiction-scan-522AYLQC.js.map → contradiction-scan-VOTQRRSX.js.map} +0 -0
  231. /package/dist/{first-start-migration-HZ4VPRFQ.js.map → first-start-migration-4NETATFF.js.map} +0 -0
  232. /package/dist/{graph-edge-decay-ZXGBXNPW.js.map → graph-edge-decay-A4SDFMMS.js.map} +0 -0
  233. /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-SYs9ROK9.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-SYs9ROK9.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';
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-Bx9FA3KA.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';
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-D1Bw5yVb.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';
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
952
- label: string;
953
951
  id: string;
952
+ label: string;
953
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
954
  capture: "at_action" | "historical_lookup" | "fixture";
955
955
  locator?: string | undefined;
956
956
  }, {
957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
958
- label: string;
959
957
  id: string;
958
+ label: string;
959
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
977
- label: string;
978
976
  id: string;
977
+ label: string;
978
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
979
  capture: "at_action" | "historical_lookup" | "fixture";
980
980
  locator?: string | undefined;
981
981
  }, {
982
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
983
- label: string;
984
982
  id: string;
983
+ label: string;
984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
993
- label: string;
994
992
  id: string;
993
+ label: string;
994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1007
- label: string;
1008
1006
  id: string;
1007
+ label: string;
1008
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1025
- label: string;
1026
1024
  id: string;
1025
+ label: string;
1026
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
1027
  capture: "at_action" | "historical_lookup" | "fixture";
1028
1028
  locator?: string | undefined;
1029
1029
  }, {
1030
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1031
- label: string;
1032
1030
  id: string;
1031
+ label: string;
1032
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1041
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1042
1040
  label: string;
1041
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1042
+ kind: "agent_status";
1043
1043
  role: string;
1044
1044
  agentId: string;
1045
1045
  sessionId: string;
1046
1046
  evidence: {
1047
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1048
- label: string;
1049
1047
  id: string;
1048
+ label: string;
1049
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
1050
  capture: "at_action" | "historical_lookup" | "fixture";
1051
1051
  locator?: string | undefined;
1052
1052
  }[];
1053
1053
  detail?: string | undefined;
1054
1054
  }, {
1055
- kind: "agent_status";
1056
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1057
1055
  label: string;
1056
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1057
+ kind: "agent_status";
1058
1058
  role: string;
1059
1059
  agentId: string;
1060
1060
  sessionId: string;
1061
1061
  detail?: string | undefined;
1062
1062
  evidence?: {
1063
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1064
- label: string;
1065
1063
  id: string;
1064
+ label: string;
1065
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1080
- label: string;
1081
1079
  id: string;
1080
+ label: string;
1081
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
1082
  capture: "at_action" | "historical_lookup" | "fixture";
1083
1083
  locator?: string | undefined;
1084
1084
  }, {
1085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1086
- label: string;
1087
1085
  id: string;
1086
+ label: string;
1087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
1096
1095
  summary: string;
1096
+ kind: "agent_output";
1097
1097
  agentId: string;
1098
1098
  sessionId: string;
1099
1099
  evidence: {
1100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1101
- label: string;
1102
1100
  id: string;
1101
+ label: string;
1102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
1103
  capture: "at_action" | "historical_lookup" | "fixture";
1104
1104
  locator?: string | undefined;
1105
1105
  }[];
1106
1106
  outputId: string;
1107
1107
  }, {
1108
- kind: "agent_output";
1109
1108
  summary: string;
1109
+ kind: "agent_output";
1110
1110
  agentId: string;
1111
1111
  sessionId: string;
1112
1112
  outputId: string;
1113
1113
  evidence?: {
1114
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1115
- label: string;
1116
1114
  id: string;
1115
+ label: string;
1116
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1133
- label: string;
1134
1132
  id: string;
1133
+ label: string;
1134
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
1135
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1136
  locator?: string | undefined;
1137
1137
  }, {
1138
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1139
- label: string;
1140
1138
  id: string;
1139
+ label: string;
1140
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1154
- label: string;
1155
1153
  id: string;
1154
+ label: string;
1155
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1172
- label: string;
1173
1171
  id: string;
1172
+ label: string;
1173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1191
- label: string;
1192
1190
  id: string;
1191
+ label: string;
1192
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1193
1193
  capture: "at_action" | "historical_lookup" | "fixture";
1194
1194
  locator?: string | undefined;
1195
1195
  }, {
1196
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1197
- label: string;
1198
1196
  id: string;
1197
+ label: string;
1198
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1199
1199
  capture: "at_action" | "historical_lookup" | "fixture";
1200
1200
  locator?: string | undefined;
1201
1201
  }>, "many">>;
1202
1202
  }, "strict", z.ZodTypeAny, {
1203
- kind: "conflict_detected";
1204
1203
  summary: string;
1204
+ kind: "conflict_detected";
1205
1205
  evidence: {
1206
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1207
- label: string;
1208
1206
  id: string;
1207
+ label: string;
1208
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
1217
1216
  summary: string;
1217
+ kind: "conflict_detected";
1218
1218
  conflictId: string;
1219
1219
  decisionIds: string[];
1220
1220
  agentIds: string[];
1221
1221
  evidence?: {
1222
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1223
- label: string;
1224
1222
  id: string;
1223
+ label: string;
1224
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
- label: string;
1246
1244
  id: string;
1245
+ label: string;
1246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1247
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1248
  locator?: string | undefined;
1249
1249
  }, {
1250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1251
- label: string;
1252
1250
  id: string;
1251
+ label: string;
1252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
1258
1257
  summary: string;
1259
1258
  status: "error" | "failed" | "passed";
1259
+ kind: "test_result";
1260
1260
  command: string;
1261
1261
  evidence: {
1262
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
- label: string;
1264
1262
  id: string;
1263
+ label: string;
1264
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
1274
1273
  summary: string;
1275
1274
  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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
- label: string;
1283
1281
  id: string;
1282
+ label: string;
1283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1305
- label: string;
1306
1304
  id: string;
1305
+ label: string;
1306
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
1307
  capture: "at_action" | "historical_lookup" | "fixture";
1308
1308
  locator?: string | undefined;
1309
1309
  }, {
1310
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1311
- label: string;
1312
1310
  id: string;
1311
+ label: string;
1312
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1322
- label: string;
1323
1321
  id: string;
1322
+ label: string;
1323
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1343
- label: string;
1344
1342
  id: string;
1343
+ label: string;
1344
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
1357
- label: string;
1358
1356
  id: string;
1359
- }, {
1360
- kind: "agent" | "human";
1361
1357
  label: string;
1358
+ kind: "agent" | "human";
1359
+ }, {
1362
1360
  id: string;
1361
+ label: string;
1362
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
- label: string;
1374
1372
  id: string;
1373
+ label: string;
1374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1376
  locator?: string | undefined;
1377
1377
  }, {
1378
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
- label: string;
1380
1378
  id: string;
1379
+ label: string;
1380
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
- label: string;
1389
1387
  id: string;
1388
+ label: string;
1389
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
1390
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1391
  locator?: string | undefined;
1392
1392
  }[];
1393
1393
  correctionId: string;
1394
1394
  approvedBy: {
1395
- kind: "agent" | "human";
1396
- label: string;
1397
1395
  id: string;
1396
+ label: string;
1397
+ kind: "agent" | "human";
1398
1398
  };
1399
1399
  note?: string | undefined;
1400
1400
  }, {
1401
1401
  kind: "correction_approved";
1402
1402
  correctionId: string;
1403
1403
  approvedBy: {
1404
- kind: "agent" | "human";
1405
- label: string;
1406
1404
  id: string;
1405
+ label: string;
1406
+ kind: "agent" | "human";
1407
1407
  };
1408
1408
  note?: string | undefined;
1409
1409
  evidence?: {
1410
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
- label: string;
1412
1410
  id: string;
1411
+ label: string;
1412
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1429
- label: string;
1430
1428
  id: string;
1429
+ label: string;
1430
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
1431
  capture: "at_action" | "historical_lookup" | "fixture";
1432
1432
  locator?: string | undefined;
1433
1433
  }, {
1434
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1435
- label: string;
1436
1434
  id: string;
1435
+ label: string;
1436
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
- label: string;
1445
1443
  id: string;
1444
+ label: string;
1445
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
- label: string;
1460
1458
  id: string;
1459
+ label: string;
1460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
- label: string;
1478
1476
  id: string;
1477
+ label: string;
1478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1479
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1480
  locator?: string | undefined;
1481
1481
  }, {
1482
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1483
- label: string;
1484
1482
  id: string;
1483
+ label: string;
1484
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1498
- label: string;
1499
1497
  id: string;
1498
+ label: string;
1499
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1516
- label: string;
1517
1515
  id: string;
1516
+ label: string;
1517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
- label: string;
1535
1533
  id: string;
1534
+ label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1537
  locator?: string | undefined;
1538
1538
  }, {
1539
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
- label: string;
1541
1539
  id: string;
1540
+ label: string;
1541
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1554
- label: string;
1555
1553
  id: string;
1554
+ label: string;
1555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1573
- label: string;
1574
1572
  id: string;
1573
+ label: string;
1574
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
- label: string;
1591
1589
  id: string;
1590
+ label: string;
1591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
1592
  capture: "at_action" | "historical_lookup" | "fixture";
1593
1593
  locator?: string | undefined;
1594
1594
  }, {
1595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
- label: string;
1597
1595
  id: string;
1596
+ label: string;
1597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1599
  locator?: string | undefined;
1600
1600
  }>, "many">>;
1601
1601
  }, "strict", z.ZodTypeAny, {
1602
- kind: "mission_completed";
1603
1602
  summary: string;
1603
+ kind: "mission_completed";
1604
1604
  outcome: "failed" | "recovered" | "inconclusive";
1605
1605
  evidence: {
1606
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1607
- label: string;
1608
1606
  id: string;
1607
+ label: string;
1608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1609
  capture: "at_action" | "historical_lookup" | "fixture";
1610
1610
  locator?: string | undefined;
1611
1611
  }[];
1612
1612
  }, {
1613
- kind: "mission_completed";
1614
1613
  summary: string;
1614
+ kind: "mission_completed";
1615
1615
  outcome: "failed" | "recovered" | "inconclusive";
1616
1616
  evidence?: {
1617
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1618
- label: string;
1619
1617
  id: string;
1618
+ label: string;
1619
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1628
- label: string;
1629
1627
  id: string;
1628
+ label: string;
1629
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1637
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1638
1636
  label: string;
1637
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1638
+ kind: "agent_status";
1639
1639
  role: string;
1640
1640
  agentId: string;
1641
1641
  sessionId: string;
1642
1642
  evidence: {
1643
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1644
- label: string;
1645
1643
  id: string;
1644
+ label: string;
1645
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1646
1646
  capture: "at_action" | "historical_lookup" | "fixture";
1647
1647
  locator?: string | undefined;
1648
1648
  }[];
1649
1649
  detail?: string | undefined;
1650
1650
  } | {
1651
- kind: "agent_output";
1652
1651
  summary: string;
1652
+ kind: "agent_output";
1653
1653
  agentId: string;
1654
1654
  sessionId: string;
1655
1655
  evidence: {
1656
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
- label: string;
1658
1656
  id: string;
1657
+ label: string;
1658
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1670
- label: string;
1671
1669
  id: string;
1670
+ label: string;
1671
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
1672
  capture: "at_action" | "historical_lookup" | "fixture";
1673
1673
  locator?: string | undefined;
1674
1674
  }[];
@@ -1676,12 +1676,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1676
1676
  decisionId: string;
1677
1677
  confidence?: number | undefined;
1678
1678
  } | {
1679
- kind: "conflict_detected";
1680
1679
  summary: string;
1680
+ kind: "conflict_detected";
1681
1681
  evidence: {
1682
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1683
- label: string;
1684
1682
  id: string;
1683
+ label: string;
1684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
1693
1692
  summary: string;
1694
1693
  status: "error" | "failed" | "passed";
1694
+ kind: "test_result";
1695
1695
  command: string;
1696
1696
  evidence: {
1697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
- label: string;
1699
1697
  id: string;
1698
+ label: string;
1699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
- label: string;
1714
1712
  id: string;
1713
+ label: string;
1714
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
- label: string;
1728
1726
  id: string;
1727
+ label: string;
1728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
1729
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1730
  locator?: string | undefined;
1731
1731
  }[];
1732
1732
  correctionId: string;
1733
1733
  approvedBy: {
1734
- kind: "agent" | "human";
1735
- label: string;
1736
1734
  id: string;
1735
+ label: string;
1736
+ kind: "agent" | "human";
1737
1737
  };
1738
1738
  note?: string | undefined;
1739
1739
  } | {
1740
1740
  kind: "decision_superseded";
1741
1741
  evidence: {
1742
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1743
- label: string;
1744
1742
  id: string;
1743
+ label: string;
1744
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1758
- label: string;
1759
1757
  id: string;
1758
+ label: string;
1759
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
- label: string;
1773
1771
  id: string;
1772
+ label: string;
1773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
1783
1782
  summary: string;
1783
+ kind: "mission_completed";
1784
1784
  outcome: "failed" | "recovered" | "inconclusive";
1785
1785
  evidence: {
1786
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
- label: string;
1788
1786
  id: string;
1787
+ label: string;
1788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
- label: string;
1800
1798
  id: string;
1799
+ label: string;
1800
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1802
  locator?: string | undefined;
1803
1803
  }[] | undefined;
1804
1804
  } | {
1805
- kind: "agent_status";
1806
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1807
1805
  label: string;
1806
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1807
+ kind: "agent_status";
1808
1808
  role: string;
1809
1809
  agentId: string;
1810
1810
  sessionId: string;
1811
1811
  detail?: string | undefined;
1812
1812
  evidence?: {
1813
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1814
- label: string;
1815
1813
  id: string;
1814
+ label: string;
1815
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
1816
  capture: "at_action" | "historical_lookup" | "fixture";
1817
1817
  locator?: string | undefined;
1818
1818
  }[] | undefined;
1819
1819
  } | {
1820
- kind: "agent_output";
1821
1820
  summary: string;
1821
+ kind: "agent_output";
1822
1822
  agentId: string;
1823
1823
  sessionId: string;
1824
1824
  outputId: string;
1825
1825
  evidence?: {
1826
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
- label: string;
1828
1826
  id: string;
1827
+ label: string;
1828
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1842
- label: string;
1843
1841
  id: string;
1842
+ label: string;
1843
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
1844
  capture: "at_action" | "historical_lookup" | "fixture";
1845
1845
  locator?: string | undefined;
1846
1846
  }[] | undefined;
1847
1847
  } | {
1848
- kind: "conflict_detected";
1849
1848
  summary: string;
1849
+ kind: "conflict_detected";
1850
1850
  conflictId: string;
1851
1851
  decisionIds: string[];
1852
1852
  agentIds: string[];
1853
1853
  evidence?: {
1854
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1855
- label: string;
1856
1854
  id: string;
1855
+ label: string;
1856
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
1857
  capture: "at_action" | "historical_lookup" | "fixture";
1858
1858
  locator?: string | undefined;
1859
1859
  }[] | undefined;
1860
1860
  } | {
1861
- kind: "test_result";
1862
1861
  summary: string;
1863
1862
  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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
- label: string;
1871
1869
  id: string;
1870
+ label: string;
1871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1887
- label: string;
1888
1886
  id: string;
1887
+ label: string;
1888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
1897
- label: string;
1898
1896
  id: string;
1897
+ label: string;
1898
+ kind: "agent" | "human";
1899
1899
  };
1900
1900
  note?: string | undefined;
1901
1901
  evidence?: {
1902
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
- label: string;
1904
1902
  id: string;
1903
+ label: string;
1904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
- label: string;
1916
1914
  id: string;
1915
+ label: string;
1916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1930
- label: string;
1931
1929
  id: string;
1930
+ label: string;
1931
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1945
- label: string;
1946
1944
  id: string;
1945
+ label: string;
1946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
1947
  capture: "at_action" | "historical_lookup" | "fixture";
1948
1948
  locator?: string | undefined;
1949
1949
  }[] | undefined;
1950
1950
  } | {
1951
- kind: "mission_completed";
1952
1951
  summary: string;
1952
+ kind: "mission_completed";
1953
1953
  outcome: "failed" | "recovered" | "inconclusive";
1954
1954
  evidence?: {
1955
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
- label: string;
1957
1955
  id: string;
1956
+ label: string;
1957
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1979
- label: string;
1980
1978
  id: string;
1979
+ label: string;
1980
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1981
  capture: "at_action" | "historical_lookup" | "fixture";
1982
1982
  locator?: string | undefined;
1983
1983
  }, {
1984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
- label: string;
1986
1984
  id: string;
1985
+ label: string;
1986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1995
- label: string;
1996
1994
  id: string;
1995
+ label: string;
1996
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1998
1998
  locator?: string | undefined;
1999
1999
  }[];
@@ -2005,9 +2005,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2005
2005
  objective: string;
2006
2006
  runMode: "replay" | "fixture" | "live";
2007
2007
  evidence?: {
2008
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
- label: string;
2010
2008
  id: string;
2009
+ label: string;
2010
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2027
- label: string;
2028
2026
  id: string;
2027
+ label: string;
2028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
2029
  capture: "at_action" | "historical_lookup" | "fixture";
2030
2030
  locator?: string | undefined;
2031
2031
  }, {
2032
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2033
- label: string;
2034
2032
  id: string;
2033
+ label: string;
2034
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2043
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2044
2042
  label: string;
2043
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2044
+ kind: "agent_status";
2045
2045
  role: string;
2046
2046
  agentId: string;
2047
2047
  sessionId: string;
2048
2048
  evidence: {
2049
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
- label: string;
2051
2049
  id: string;
2050
+ label: string;
2051
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
2052
  capture: "at_action" | "historical_lookup" | "fixture";
2053
2053
  locator?: string | undefined;
2054
2054
  }[];
2055
2055
  detail?: string | undefined;
2056
2056
  }, {
2057
- kind: "agent_status";
2058
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2059
2057
  label: string;
2058
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2059
+ kind: "agent_status";
2060
2060
  role: string;
2061
2061
  agentId: string;
2062
2062
  sessionId: string;
2063
2063
  detail?: string | undefined;
2064
2064
  evidence?: {
2065
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2066
- label: string;
2067
2065
  id: string;
2066
+ label: string;
2067
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
- label: string;
2083
2081
  id: string;
2082
+ label: string;
2083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2084
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2085
  locator?: string | undefined;
2086
2086
  }, {
2087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
- label: string;
2089
2087
  id: string;
2088
+ label: string;
2089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
2098
2097
  summary: string;
2098
+ kind: "agent_output";
2099
2099
  agentId: string;
2100
2100
  sessionId: string;
2101
2101
  evidence: {
2102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
- label: string;
2104
2102
  id: string;
2103
+ label: string;
2104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
2105
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2106
  locator?: string | undefined;
2107
2107
  }[];
2108
2108
  outputId: string;
2109
2109
  }, {
2110
- kind: "agent_output";
2111
2110
  summary: string;
2111
+ kind: "agent_output";
2112
2112
  agentId: string;
2113
2113
  sessionId: string;
2114
2114
  outputId: string;
2115
2115
  evidence?: {
2116
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
- label: string;
2118
2116
  id: string;
2117
+ label: string;
2118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2135
- label: string;
2136
2134
  id: string;
2135
+ label: string;
2136
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
2137
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2138
  locator?: string | undefined;
2139
2139
  }, {
2140
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2141
- label: string;
2142
2140
  id: string;
2141
+ label: string;
2142
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2156
- label: string;
2157
2155
  id: string;
2156
+ label: string;
2157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
- label: string;
2175
2173
  id: string;
2174
+ label: string;
2175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
- label: string;
2194
2192
  id: string;
2193
+ label: string;
2194
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
2195
  capture: "at_action" | "historical_lookup" | "fixture";
2196
2196
  locator?: string | undefined;
2197
2197
  }, {
2198
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2199
- label: string;
2200
2198
  id: string;
2199
+ label: string;
2200
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
2201
  capture: "at_action" | "historical_lookup" | "fixture";
2202
2202
  locator?: string | undefined;
2203
2203
  }>, "many">>;
2204
2204
  }, "strict", z.ZodTypeAny, {
2205
- kind: "conflict_detected";
2206
2205
  summary: string;
2206
+ kind: "conflict_detected";
2207
2207
  evidence: {
2208
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2209
- label: string;
2210
2208
  id: string;
2209
+ label: string;
2210
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
2219
2218
  summary: string;
2219
+ kind: "conflict_detected";
2220
2220
  conflictId: string;
2221
2221
  decisionIds: string[];
2222
2222
  agentIds: string[];
2223
2223
  evidence?: {
2224
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2225
- label: string;
2226
2224
  id: string;
2225
+ label: string;
2226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2247
- label: string;
2248
2246
  id: string;
2247
+ label: string;
2248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2249
  capture: "at_action" | "historical_lookup" | "fixture";
2250
2250
  locator?: string | undefined;
2251
2251
  }, {
2252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2253
- label: string;
2254
2252
  id: string;
2253
+ label: string;
2254
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
2260
2259
  summary: string;
2261
2260
  status: "error" | "failed" | "passed";
2261
+ kind: "test_result";
2262
2262
  command: string;
2263
2263
  evidence: {
2264
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
- label: string;
2266
2264
  id: string;
2265
+ label: string;
2266
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
2276
2275
  summary: string;
2277
2276
  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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
- label: string;
2285
2283
  id: string;
2284
+ label: string;
2285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2307
- label: string;
2308
2306
  id: string;
2307
+ label: string;
2308
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
2309
  capture: "at_action" | "historical_lookup" | "fixture";
2310
2310
  locator?: string | undefined;
2311
2311
  }, {
2312
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2313
- label: string;
2314
2312
  id: string;
2313
+ label: string;
2314
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2324
- label: string;
2325
2323
  id: string;
2324
+ label: string;
2325
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2345
- label: string;
2346
2344
  id: string;
2345
+ label: string;
2346
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2359
- label: string;
2360
2358
  id: string;
2361
- }, {
2362
- kind: "agent" | "human";
2363
2359
  label: string;
2360
+ kind: "agent" | "human";
2361
+ }, {
2364
2362
  id: string;
2363
+ label: string;
2364
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
- label: string;
2376
2374
  id: string;
2375
+ label: string;
2376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2378
  locator?: string | undefined;
2379
2379
  }, {
2380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
- label: string;
2382
2380
  id: string;
2381
+ label: string;
2382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
- label: string;
2391
2389
  id: string;
2390
+ label: string;
2391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
2392
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2393
  locator?: string | undefined;
2394
2394
  }[];
2395
2395
  correctionId: string;
2396
2396
  approvedBy: {
2397
- kind: "agent" | "human";
2398
- label: string;
2399
2397
  id: string;
2398
+ label: string;
2399
+ kind: "agent" | "human";
2400
2400
  };
2401
2401
  note?: string | undefined;
2402
2402
  }, {
2403
2403
  kind: "correction_approved";
2404
2404
  correctionId: string;
2405
2405
  approvedBy: {
2406
- kind: "agent" | "human";
2407
- label: string;
2408
2406
  id: string;
2407
+ label: string;
2408
+ kind: "agent" | "human";
2409
2409
  };
2410
2410
  note?: string | undefined;
2411
2411
  evidence?: {
2412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
- label: string;
2414
2412
  id: string;
2413
+ label: string;
2414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2431
- label: string;
2432
2430
  id: string;
2431
+ label: string;
2432
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
2433
  capture: "at_action" | "historical_lookup" | "fixture";
2434
2434
  locator?: string | undefined;
2435
2435
  }, {
2436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2437
- label: string;
2438
2436
  id: string;
2437
+ label: string;
2438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
- label: string;
2447
2445
  id: string;
2446
+ label: string;
2447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
- label: string;
2462
2460
  id: string;
2461
+ label: string;
2462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
- label: string;
2480
2478
  id: string;
2479
+ label: string;
2480
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2481
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2482
  locator?: string | undefined;
2483
2483
  }, {
2484
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2485
- label: string;
2486
2484
  id: string;
2485
+ label: string;
2486
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2500
- label: string;
2501
2499
  id: string;
2500
+ label: string;
2501
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2518
- label: string;
2519
2517
  id: string;
2518
+ label: string;
2519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
- label: string;
2537
2535
  id: string;
2536
+ label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2539
  locator?: string | undefined;
2540
2540
  }, {
2541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
- label: string;
2543
2541
  id: string;
2542
+ label: string;
2543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2556
- label: string;
2557
2555
  id: string;
2556
+ label: string;
2557
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2575
- label: string;
2576
2574
  id: string;
2575
+ label: string;
2576
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
- label: string;
2593
2591
  id: string;
2592
+ label: string;
2593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
2594
  capture: "at_action" | "historical_lookup" | "fixture";
2595
2595
  locator?: string | undefined;
2596
2596
  }, {
2597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
- label: string;
2599
2597
  id: string;
2598
+ label: string;
2599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2601
  locator?: string | undefined;
2602
2602
  }>, "many">>;
2603
2603
  }, "strict", z.ZodTypeAny, {
2604
- kind: "mission_completed";
2605
2604
  summary: string;
2605
+ kind: "mission_completed";
2606
2606
  outcome: "failed" | "recovered" | "inconclusive";
2607
2607
  evidence: {
2608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2609
- label: string;
2610
2608
  id: string;
2609
+ label: string;
2610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2611
  capture: "at_action" | "historical_lookup" | "fixture";
2612
2612
  locator?: string | undefined;
2613
2613
  }[];
2614
2614
  }, {
2615
- kind: "mission_completed";
2616
2615
  summary: string;
2616
+ kind: "mission_completed";
2617
2617
  outcome: "failed" | "recovered" | "inconclusive";
2618
2618
  evidence?: {
2619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2620
- label: string;
2621
2619
  id: string;
2620
+ label: string;
2621
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2630
- label: string;
2631
2629
  id: string;
2630
+ label: string;
2631
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2639
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2640
2638
  label: string;
2639
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2640
+ kind: "agent_status";
2641
2641
  role: string;
2642
2642
  agentId: string;
2643
2643
  sessionId: string;
2644
2644
  evidence: {
2645
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2646
- label: string;
2647
2645
  id: string;
2646
+ label: string;
2647
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2648
2648
  capture: "at_action" | "historical_lookup" | "fixture";
2649
2649
  locator?: string | undefined;
2650
2650
  }[];
2651
2651
  detail?: string | undefined;
2652
2652
  } | {
2653
- kind: "agent_output";
2654
2653
  summary: string;
2654
+ kind: "agent_output";
2655
2655
  agentId: string;
2656
2656
  sessionId: string;
2657
2657
  evidence: {
2658
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
- label: string;
2660
2658
  id: string;
2659
+ label: string;
2660
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2672
- label: string;
2673
2671
  id: string;
2672
+ label: string;
2673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
2674
  capture: "at_action" | "historical_lookup" | "fixture";
2675
2675
  locator?: string | undefined;
2676
2676
  }[];
@@ -2678,12 +2678,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2678
2678
  decisionId: string;
2679
2679
  confidence?: number | undefined;
2680
2680
  } | {
2681
- kind: "conflict_detected";
2682
2681
  summary: string;
2682
+ kind: "conflict_detected";
2683
2683
  evidence: {
2684
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2685
- label: string;
2686
2684
  id: string;
2685
+ label: string;
2686
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
2695
2694
  summary: string;
2696
2695
  status: "error" | "failed" | "passed";
2696
+ kind: "test_result";
2697
2697
  command: string;
2698
2698
  evidence: {
2699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
- label: string;
2701
2699
  id: string;
2700
+ label: string;
2701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
- label: string;
2716
2714
  id: string;
2715
+ label: string;
2716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
- label: string;
2730
2728
  id: string;
2729
+ label: string;
2730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
2731
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2732
  locator?: string | undefined;
2733
2733
  }[];
2734
2734
  correctionId: string;
2735
2735
  approvedBy: {
2736
- kind: "agent" | "human";
2737
- label: string;
2738
2736
  id: string;
2737
+ label: string;
2738
+ kind: "agent" | "human";
2739
2739
  };
2740
2740
  note?: string | undefined;
2741
2741
  } | {
2742
2742
  kind: "decision_superseded";
2743
2743
  evidence: {
2744
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2745
- label: string;
2746
2744
  id: string;
2745
+ label: string;
2746
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2760
- label: string;
2761
2759
  id: string;
2760
+ label: string;
2761
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
- label: string;
2775
2773
  id: string;
2774
+ label: string;
2775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
2785
2784
  summary: string;
2785
+ kind: "mission_completed";
2786
2786
  outcome: "failed" | "recovered" | "inconclusive";
2787
2787
  evidence: {
2788
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
- label: string;
2790
2788
  id: string;
2789
+ label: string;
2790
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
- label: string;
2802
2800
  id: string;
2801
+ label: string;
2802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2804
  locator?: string | undefined;
2805
2805
  }[] | undefined;
2806
2806
  } | {
2807
- kind: "agent_status";
2808
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2809
2807
  label: string;
2808
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2809
+ kind: "agent_status";
2810
2810
  role: string;
2811
2811
  agentId: string;
2812
2812
  sessionId: string;
2813
2813
  detail?: string | undefined;
2814
2814
  evidence?: {
2815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2816
- label: string;
2817
2815
  id: string;
2816
+ label: string;
2817
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
2818
  capture: "at_action" | "historical_lookup" | "fixture";
2819
2819
  locator?: string | undefined;
2820
2820
  }[] | undefined;
2821
2821
  } | {
2822
- kind: "agent_output";
2823
2822
  summary: string;
2823
+ kind: "agent_output";
2824
2824
  agentId: string;
2825
2825
  sessionId: string;
2826
2826
  outputId: string;
2827
2827
  evidence?: {
2828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
- label: string;
2830
2828
  id: string;
2829
+ label: string;
2830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2844
- label: string;
2845
2843
  id: string;
2844
+ label: string;
2845
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
2846
  capture: "at_action" | "historical_lookup" | "fixture";
2847
2847
  locator?: string | undefined;
2848
2848
  }[] | undefined;
2849
2849
  } | {
2850
- kind: "conflict_detected";
2851
2850
  summary: string;
2851
+ kind: "conflict_detected";
2852
2852
  conflictId: string;
2853
2853
  decisionIds: string[];
2854
2854
  agentIds: string[];
2855
2855
  evidence?: {
2856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2857
- label: string;
2858
2856
  id: string;
2857
+ label: string;
2858
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
2859
  capture: "at_action" | "historical_lookup" | "fixture";
2860
2860
  locator?: string | undefined;
2861
2861
  }[] | undefined;
2862
2862
  } | {
2863
- kind: "test_result";
2864
2863
  summary: string;
2865
2864
  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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
- label: string;
2873
2871
  id: string;
2872
+ label: string;
2873
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2889
- label: string;
2890
2888
  id: string;
2889
+ label: string;
2890
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2899
- label: string;
2900
2898
  id: string;
2899
+ label: string;
2900
+ kind: "agent" | "human";
2901
2901
  };
2902
2902
  note?: string | undefined;
2903
2903
  evidence?: {
2904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
- label: string;
2906
2904
  id: string;
2905
+ label: string;
2906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
- label: string;
2918
2916
  id: string;
2917
+ label: string;
2918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2932
- label: string;
2933
2931
  id: string;
2932
+ label: string;
2933
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2947
- label: string;
2948
2946
  id: string;
2947
+ label: string;
2948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
2949
  capture: "at_action" | "historical_lookup" | "fixture";
2950
2950
  locator?: string | undefined;
2951
2951
  }[] | undefined;
2952
2952
  } | {
2953
- kind: "mission_completed";
2954
2953
  summary: string;
2954
+ kind: "mission_completed";
2955
2955
  outcome: "failed" | "recovered" | "inconclusive";
2956
2956
  evidence?: {
2957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2958
- label: string;
2959
2957
  id: string;
2958
+ label: string;
2959
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2970
- label: string;
2971
2969
  id: string;
2970
+ label: string;
2971
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2979
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2980
2978
  label: string;
2979
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2980
+ kind: "agent_status";
2981
2981
  role: string;
2982
2982
  agentId: string;
2983
2983
  sessionId: string;
2984
2984
  evidence: {
2985
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2986
- label: string;
2987
2985
  id: string;
2986
+ label: string;
2987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
2988
  capture: "at_action" | "historical_lookup" | "fixture";
2989
2989
  locator?: string | undefined;
2990
2990
  }[];
2991
2991
  detail?: string | undefined;
2992
2992
  } | {
2993
- kind: "agent_output";
2994
2993
  summary: string;
2994
+ kind: "agent_output";
2995
2995
  agentId: string;
2996
2996
  sessionId: string;
2997
2997
  evidence: {
2998
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2999
- label: string;
3000
2998
  id: string;
2999
+ label: string;
3000
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
- label: string;
3013
3011
  id: string;
3012
+ label: string;
3013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3022
3021
  summary: string;
3022
+ kind: "conflict_detected";
3023
3023
  evidence: {
3024
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3025
- label: string;
3026
3024
  id: string;
3025
+ label: string;
3026
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
3035
3034
  summary: string;
3036
3035
  status: "error" | "failed" | "passed";
3036
+ kind: "test_result";
3037
3037
  command: string;
3038
3038
  evidence: {
3039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
- label: string;
3041
3039
  id: string;
3040
+ label: string;
3041
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3055
- label: string;
3056
3054
  id: string;
3055
+ label: string;
3056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3069
- label: string;
3070
3068
  id: string;
3069
+ label: string;
3070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3071
  capture: "at_action" | "historical_lookup" | "fixture";
3072
3072
  locator?: string | undefined;
3073
3073
  }[];
3074
3074
  correctionId: string;
3075
3075
  approvedBy: {
3076
- kind: "agent" | "human";
3077
- label: string;
3078
3076
  id: string;
3077
+ label: string;
3078
+ kind: "agent" | "human";
3079
3079
  };
3080
3080
  note?: string | undefined;
3081
3081
  } | {
3082
3082
  kind: "decision_superseded";
3083
3083
  evidence: {
3084
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3085
- label: string;
3086
3084
  id: string;
3085
+ label: string;
3086
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3100
- label: string;
3101
3099
  id: string;
3100
+ label: string;
3101
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3114
- label: string;
3115
3113
  id: string;
3114
+ label: string;
3115
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
3125
3124
  summary: string;
3125
+ kind: "mission_completed";
3126
3126
  outcome: "failed" | "recovered" | "inconclusive";
3127
3127
  evidence: {
3128
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
- label: string;
3130
3128
  id: string;
3129
+ label: string;
3130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3145
- label: string;
3146
3144
  id: string;
3145
+ label: string;
3146
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
3147
  capture: "at_action" | "historical_lookup" | "fixture";
3148
3148
  locator?: string | undefined;
3149
3149
  }[] | undefined;
3150
3150
  } | {
3151
- kind: "agent_status";
3152
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3153
3151
  label: string;
3152
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3153
+ kind: "agent_status";
3154
3154
  role: string;
3155
3155
  agentId: string;
3156
3156
  sessionId: string;
3157
3157
  detail?: string | undefined;
3158
3158
  evidence?: {
3159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
- label: string;
3161
3159
  id: string;
3160
+ label: string;
3161
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
3162
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3163
  locator?: string | undefined;
3164
3164
  }[] | undefined;
3165
3165
  } | {
3166
- kind: "agent_output";
3167
3166
  summary: string;
3167
+ kind: "agent_output";
3168
3168
  agentId: string;
3169
3169
  sessionId: string;
3170
3170
  outputId: string;
3171
3171
  evidence?: {
3172
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3173
- label: string;
3174
3172
  id: string;
3173
+ label: string;
3174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
- label: string;
3189
3187
  id: string;
3188
+ label: string;
3189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
3190
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3191
  locator?: string | undefined;
3192
3192
  }[] | undefined;
3193
3193
  } | {
3194
- kind: "conflict_detected";
3195
3194
  summary: string;
3195
+ kind: "conflict_detected";
3196
3196
  conflictId: string;
3197
3197
  decisionIds: string[];
3198
3198
  agentIds: string[];
3199
3199
  evidence?: {
3200
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
- label: string;
3202
3200
  id: string;
3201
+ label: string;
3202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
3203
  capture: "at_action" | "historical_lookup" | "fixture";
3204
3204
  locator?: string | undefined;
3205
3205
  }[] | undefined;
3206
3206
  } | {
3207
- kind: "test_result";
3208
3207
  summary: string;
3209
3208
  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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
- label: string;
3217
3215
  id: string;
3216
+ label: string;
3217
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3233
- label: string;
3234
3232
  id: string;
3233
+ label: string;
3234
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3243
- label: string;
3244
3242
  id: string;
3243
+ label: string;
3244
+ kind: "agent" | "human";
3245
3245
  };
3246
3246
  note?: string | undefined;
3247
3247
  evidence?: {
3248
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3249
- label: string;
3250
3248
  id: string;
3249
+ label: string;
3250
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3261
- label: string;
3262
3260
  id: string;
3261
+ label: string;
3262
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
- label: string;
3277
3275
  id: string;
3276
+ label: string;
3277
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
- label: string;
3292
3290
  id: string;
3291
+ label: string;
3292
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3294
  locator?: string | undefined;
3295
3295
  }[] | undefined;
3296
3296
  } | {
3297
- kind: "mission_completed";
3298
3297
  summary: string;
3298
+ kind: "mission_completed";
3299
3299
  outcome: "failed" | "recovered" | "inconclusive";
3300
3300
  evidence?: {
3301
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
- label: string;
3303
3301
  id: string;
3302
+ label: string;
3303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
- label: string;
3335
3333
  id: string;
3334
+ label: string;
3335
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
3336
  capture: "at_action" | "historical_lookup" | "fixture";
3337
3337
  locator?: string | undefined;
3338
3338
  }, {
3339
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3340
- label: string;
3341
3339
  id: string;
3340
+ label: string;
3341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3350
- label: string;
3351
3349
  id: string;
3350
+ label: string;
3351
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
- label: string;
3365
3363
  id: string;
3364
+ label: string;
3365
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3382
- label: string;
3383
3381
  id: string;
3382
+ label: string;
3383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3385
3385
  locator?: string | undefined;
3386
3386
  }, {
3387
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3388
- label: string;
3389
3387
  id: string;
3388
+ label: string;
3389
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3398
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3399
3397
  label: string;
3398
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3399
+ kind: "agent_status";
3400
3400
  role: string;
3401
3401
  agentId: string;
3402
3402
  sessionId: string;
3403
3403
  evidence: {
3404
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3405
- label: string;
3406
3404
  id: string;
3405
+ label: string;
3406
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
3407
  capture: "at_action" | "historical_lookup" | "fixture";
3408
3408
  locator?: string | undefined;
3409
3409
  }[];
3410
3410
  detail?: string | undefined;
3411
3411
  }, {
3412
- kind: "agent_status";
3413
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3414
3412
  label: string;
3413
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3414
+ kind: "agent_status";
3415
3415
  role: string;
3416
3416
  agentId: string;
3417
3417
  sessionId: string;
3418
3418
  detail?: string | undefined;
3419
3419
  evidence?: {
3420
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3421
- label: string;
3422
3420
  id: string;
3421
+ label: string;
3422
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
- label: string;
3438
3436
  id: string;
3437
+ label: string;
3438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
3439
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3440
  locator?: string | undefined;
3441
3441
  }, {
3442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
- label: string;
3444
3442
  id: string;
3443
+ label: string;
3444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3446
  locator?: string | undefined;
3447
3447
  }>, "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
- kind: "agent_output";
3453
3452
  summary: string;
3453
+ kind: "agent_output";
3454
3454
  agentId: string;
3455
3455
  sessionId: string;
3456
3456
  evidence: {
3457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
- label: string;
3459
3457
  id: string;
3458
+ label: string;
3459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3460
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3461
  locator?: string | undefined;
3462
3462
  }[];
3463
3463
  outputId: string;
3464
3464
  }, {
3465
- kind: "agent_output";
3466
3465
  summary: string;
3466
+ kind: "agent_output";
3467
3467
  agentId: string;
3468
3468
  sessionId: string;
3469
3469
  outputId: string;
3470
3470
  evidence?: {
3471
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
- label: string;
3473
3471
  id: string;
3472
+ label: string;
3473
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
- label: string;
3491
3489
  id: string;
3490
+ label: string;
3491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3493
  locator?: string | undefined;
3494
3494
  }, {
3495
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3496
- label: string;
3497
3495
  id: string;
3496
+ label: string;
3497
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3511
- label: string;
3512
3510
  id: string;
3511
+ label: string;
3512
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3529
- label: string;
3530
3528
  id: string;
3529
+ label: string;
3530
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
- label: string;
3549
3547
  id: string;
3548
+ label: string;
3549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3550
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3551
  locator?: string | undefined;
3552
3552
  }, {
3553
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
- label: string;
3555
3553
  id: string;
3554
+ label: string;
3555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
3556
  capture: "at_action" | "historical_lookup" | "fixture";
3557
3557
  locator?: string | undefined;
3558
3558
  }>, "many">>;
3559
3559
  }, "strict", z.ZodTypeAny, {
3560
- kind: "conflict_detected";
3561
3560
  summary: string;
3561
+ kind: "conflict_detected";
3562
3562
  evidence: {
3563
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
- label: string;
3565
3563
  id: string;
3564
+ label: string;
3565
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3574
3573
  summary: string;
3574
+ kind: "conflict_detected";
3575
3575
  conflictId: string;
3576
3576
  decisionIds: string[];
3577
3577
  agentIds: string[];
3578
3578
  evidence?: {
3579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
- label: string;
3581
3579
  id: string;
3580
+ label: string;
3581
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3602
- label: string;
3603
3601
  id: string;
3602
+ label: string;
3603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3604
  capture: "at_action" | "historical_lookup" | "fixture";
3605
3605
  locator?: string | undefined;
3606
3606
  }, {
3607
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3608
- label: string;
3609
3607
  id: string;
3608
+ label: string;
3609
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
3615
3614
  summary: string;
3616
3615
  status: "error" | "failed" | "passed";
3616
+ kind: "test_result";
3617
3617
  command: string;
3618
3618
  evidence: {
3619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
- label: string;
3621
3619
  id: string;
3620
+ label: string;
3621
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
3631
3630
  summary: string;
3632
3631
  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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
- label: string;
3640
3638
  id: string;
3639
+ label: string;
3640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
- label: string;
3663
3661
  id: string;
3662
+ label: string;
3663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
3664
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3665
  locator?: string | undefined;
3666
3666
  }, {
3667
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3668
- label: string;
3669
3667
  id: string;
3668
+ label: string;
3669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3679
- label: string;
3680
3678
  id: string;
3679
+ label: string;
3680
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
3681
  capture: "at_action" | "historical_lookup" | "fixture";
3682
3682
  locator?: string | undefined;
3683
3683
  }[];
@@ -3696,9 +3696,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3696
3696
  supersedesDecisionIds: string[];
3697
3697
  proposedBy: string;
3698
3698
  evidence?: {
3699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3700
- label: string;
3701
3699
  id: string;
3700
+ label: string;
3701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3714
- label: string;
3715
3713
  id: string;
3716
- }, {
3717
- kind: "agent" | "human";
3718
3714
  label: string;
3715
+ kind: "agent" | "human";
3716
+ }, {
3719
3717
  id: string;
3718
+ label: string;
3719
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
- label: string;
3731
3729
  id: string;
3730
+ label: string;
3731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3733
  locator?: string | undefined;
3734
3734
  }, {
3735
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
- label: string;
3737
3735
  id: string;
3736
+ label: string;
3737
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
- label: string;
3746
3744
  id: string;
3745
+ label: string;
3746
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
3747
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3748
  locator?: string | undefined;
3749
3749
  }[];
3750
3750
  correctionId: string;
3751
3751
  approvedBy: {
3752
- kind: "agent" | "human";
3753
- label: string;
3754
3752
  id: string;
3753
+ label: string;
3754
+ kind: "agent" | "human";
3755
3755
  };
3756
3756
  note?: string | undefined;
3757
3757
  }, {
3758
3758
  kind: "correction_approved";
3759
3759
  correctionId: string;
3760
3760
  approvedBy: {
3761
- kind: "agent" | "human";
3762
- label: string;
3763
3761
  id: string;
3762
+ label: string;
3763
+ kind: "agent" | "human";
3764
3764
  };
3765
3765
  note?: string | undefined;
3766
3766
  evidence?: {
3767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
- label: string;
3769
3767
  id: string;
3768
+ label: string;
3769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3786
- label: string;
3787
3785
  id: string;
3786
+ label: string;
3787
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
3788
  capture: "at_action" | "historical_lookup" | "fixture";
3789
3789
  locator?: string | undefined;
3790
3790
  }, {
3791
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3792
- label: string;
3793
3791
  id: string;
3792
+ label: string;
3793
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
- label: string;
3802
3800
  id: string;
3801
+ label: string;
3802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
- label: string;
3817
3815
  id: string;
3816
+ label: string;
3817
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
- label: string;
3835
3833
  id: string;
3834
+ label: string;
3835
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3836
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3837
  locator?: string | undefined;
3838
3838
  }, {
3839
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3840
- label: string;
3841
3839
  id: string;
3840
+ label: string;
3841
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3855
- label: string;
3856
3854
  id: string;
3855
+ label: string;
3856
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3873
- label: string;
3874
3872
  id: string;
3873
+ label: string;
3874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
- label: string;
3892
3890
  id: string;
3891
+ label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3894
  locator?: string | undefined;
3895
3895
  }, {
3896
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
- label: string;
3898
3896
  id: string;
3897
+ label: string;
3898
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3911
- label: string;
3912
3910
  id: string;
3911
+ label: string;
3912
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3930
- label: string;
3931
3929
  id: string;
3930
+ label: string;
3931
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
- label: string;
3948
3946
  id: string;
3947
+ label: string;
3948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
3949
  capture: "at_action" | "historical_lookup" | "fixture";
3950
3950
  locator?: string | undefined;
3951
3951
  }, {
3952
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
- label: string;
3954
3952
  id: string;
3953
+ label: string;
3954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3956
  locator?: string | undefined;
3957
3957
  }>, "many">>;
3958
3958
  }, "strict", z.ZodTypeAny, {
3959
- kind: "mission_completed";
3960
3959
  summary: string;
3960
+ kind: "mission_completed";
3961
3961
  outcome: "failed" | "recovered" | "inconclusive";
3962
3962
  evidence: {
3963
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3964
- label: string;
3965
3963
  id: string;
3964
+ label: string;
3965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3966
  capture: "at_action" | "historical_lookup" | "fixture";
3967
3967
  locator?: string | undefined;
3968
3968
  }[];
3969
3969
  }, {
3970
- kind: "mission_completed";
3971
3970
  summary: string;
3971
+ kind: "mission_completed";
3972
3972
  outcome: "failed" | "recovered" | "inconclusive";
3973
3973
  evidence?: {
3974
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3975
- label: string;
3976
3974
  id: string;
3975
+ label: string;
3976
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3985
- label: string;
3986
3984
  id: string;
3985
+ label: string;
3986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3994
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3995
3993
  label: string;
3994
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3995
+ kind: "agent_status";
3996
3996
  role: string;
3997
3997
  agentId: string;
3998
3998
  sessionId: string;
3999
3999
  evidence: {
4000
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4001
- label: string;
4002
4000
  id: string;
4001
+ label: string;
4002
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4003
4003
  capture: "at_action" | "historical_lookup" | "fixture";
4004
4004
  locator?: string | undefined;
4005
4005
  }[];
4006
4006
  detail?: string | undefined;
4007
4007
  } | {
4008
- kind: "agent_output";
4009
4008
  summary: string;
4009
+ kind: "agent_output";
4010
4010
  agentId: string;
4011
4011
  sessionId: string;
4012
4012
  evidence: {
4013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
- label: string;
4015
4013
  id: string;
4014
+ label: string;
4015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4027
- label: string;
4028
4026
  id: string;
4027
+ label: string;
4028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
4029
  capture: "at_action" | "historical_lookup" | "fixture";
4030
4030
  locator?: string | undefined;
4031
4031
  }[];
@@ -4033,12 +4033,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4033
4033
  decisionId: string;
4034
4034
  confidence?: number | undefined;
4035
4035
  } | {
4036
- kind: "conflict_detected";
4037
4036
  summary: string;
4037
+ kind: "conflict_detected";
4038
4038
  evidence: {
4039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4040
- label: string;
4041
4039
  id: string;
4040
+ label: string;
4041
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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";
4050
4049
  summary: string;
4051
4050
  status: "error" | "failed" | "passed";
4051
+ kind: "test_result";
4052
4052
  command: string;
4053
4053
  evidence: {
4054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
- label: string;
4056
4054
  id: string;
4055
+ label: string;
4056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
- label: string;
4071
4069
  id: string;
4070
+ label: string;
4071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
- label: string;
4085
4083
  id: string;
4084
+ label: string;
4085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
4086
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4087
  locator?: string | undefined;
4088
4088
  }[];
4089
4089
  correctionId: string;
4090
4090
  approvedBy: {
4091
- kind: "agent" | "human";
4092
- label: string;
4093
4091
  id: string;
4092
+ label: string;
4093
+ kind: "agent" | "human";
4094
4094
  };
4095
4095
  note?: string | undefined;
4096
4096
  } | {
4097
4097
  kind: "decision_superseded";
4098
4098
  evidence: {
4099
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4100
- label: string;
4101
4099
  id: string;
4100
+ label: string;
4101
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4115
- label: string;
4116
4114
  id: string;
4115
+ label: string;
4116
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
- label: string;
4130
4128
  id: string;
4129
+ label: string;
4130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
4140
4139
  summary: string;
4140
+ kind: "mission_completed";
4141
4141
  outcome: "failed" | "recovered" | "inconclusive";
4142
4142
  evidence: {
4143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
- label: string;
4145
4143
  id: string;
4144
+ label: string;
4145
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
- label: string;
4157
4155
  id: string;
4156
+ label: string;
4157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4159
  locator?: string | undefined;
4160
4160
  }[] | undefined;
4161
4161
  } | {
4162
- kind: "agent_status";
4163
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4164
4162
  label: string;
4163
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4164
+ kind: "agent_status";
4165
4165
  role: string;
4166
4166
  agentId: string;
4167
4167
  sessionId: string;
4168
4168
  detail?: string | undefined;
4169
4169
  evidence?: {
4170
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4171
- label: string;
4172
4170
  id: string;
4171
+ label: string;
4172
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
4173
  capture: "at_action" | "historical_lookup" | "fixture";
4174
4174
  locator?: string | undefined;
4175
4175
  }[] | undefined;
4176
4176
  } | {
4177
- kind: "agent_output";
4178
4177
  summary: string;
4178
+ kind: "agent_output";
4179
4179
  agentId: string;
4180
4180
  sessionId: string;
4181
4181
  outputId: string;
4182
4182
  evidence?: {
4183
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
- label: string;
4185
4183
  id: string;
4184
+ label: string;
4185
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4199
- label: string;
4200
4198
  id: string;
4199
+ label: string;
4200
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
4201
  capture: "at_action" | "historical_lookup" | "fixture";
4202
4202
  locator?: string | undefined;
4203
4203
  }[] | undefined;
4204
4204
  } | {
4205
- kind: "conflict_detected";
4206
4205
  summary: string;
4206
+ kind: "conflict_detected";
4207
4207
  conflictId: string;
4208
4208
  decisionIds: string[];
4209
4209
  agentIds: string[];
4210
4210
  evidence?: {
4211
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4212
- label: string;
4213
4211
  id: string;
4212
+ label: string;
4213
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
4214
  capture: "at_action" | "historical_lookup" | "fixture";
4215
4215
  locator?: string | undefined;
4216
4216
  }[] | undefined;
4217
4217
  } | {
4218
- kind: "test_result";
4219
4218
  summary: string;
4220
4219
  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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
- label: string;
4228
4226
  id: string;
4227
+ label: string;
4228
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4244
- label: string;
4245
4243
  id: string;
4244
+ label: string;
4245
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
4254
- label: string;
4255
4253
  id: string;
4254
+ label: string;
4255
+ kind: "agent" | "human";
4256
4256
  };
4257
4257
  note?: string | undefined;
4258
4258
  evidence?: {
4259
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
- label: string;
4261
4259
  id: string;
4260
+ label: string;
4261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
- label: string;
4273
4271
  id: string;
4272
+ label: string;
4273
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4287
- label: string;
4288
4286
  id: string;
4287
+ label: string;
4288
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
4289
  capture: "at_action" | "historical_lookup" | "fixture";
4290
4290
  locator?: string | undefined;
4291
4291
  }[] | undefined;
@@ -4298,63 +4298,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4298
4298
  recallReceiptId: string;
4299
4299
  staleDecisionAbsent: boolean;
4300
4300
  evidence?: {
4301
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4302
- label: string;
4303
4301
  id: string;
4302
+ label: string;
4303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
4304
  capture: "at_action" | "historical_lookup" | "fixture";
4305
4305
  locator?: string | undefined;
4306
4306
  }[] | undefined;
4307
4307
  } | {
4308
- kind: "mission_completed";
4309
4308
  summary: string;
4309
+ kind: "mission_completed";
4310
4310
  outcome: "failed" | "recovered" | "inconclusive";
4311
4311
  evidence?: {
4312
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4313
- label: string;
4314
4312
  id: string;
4313
+ label: string;
4314
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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;
4320
4321
  recordedAt: string;
4321
4322
  schemaVersion: "1";
4322
4323
  payload: {
4323
4324
  kind: "mission_started";
4324
4325
  title: string;
4325
4326
  evidence: {
4326
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
- label: string;
4328
4327
  id: string;
4328
+ label: string;
4329
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
4330
  capture: "at_action" | "historical_lookup" | "fixture";
4330
4331
  locator?: string | undefined;
4331
4332
  }[];
4332
4333
  objective: string;
4333
4334
  runMode: "replay" | "fixture" | "live";
4334
4335
  } | {
4335
- kind: "agent_status";
4336
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4337
4336
  label: string;
4337
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4338
+ kind: "agent_status";
4338
4339
  role: string;
4339
4340
  agentId: string;
4340
4341
  sessionId: string;
4341
4342
  evidence: {
4342
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4343
- label: string;
4344
4343
  id: string;
4344
+ label: string;
4345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
4346
  capture: "at_action" | "historical_lookup" | "fixture";
4346
4347
  locator?: string | undefined;
4347
4348
  }[];
4348
4349
  detail?: string | undefined;
4349
4350
  } | {
4350
- kind: "agent_output";
4351
4351
  summary: string;
4352
+ kind: "agent_output";
4352
4353
  agentId: string;
4353
4354
  sessionId: string;
4354
4355
  evidence: {
4355
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4356
- label: string;
4357
4356
  id: string;
4357
+ label: string;
4358
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4359
4360
  locator?: string | undefined;
4360
4361
  }[];
@@ -4365,9 +4366,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4365
4366
  statement: string;
4366
4367
  sessionId: string;
4367
4368
  evidence: {
4368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4369
- label: string;
4370
4369
  id: string;
4370
+ label: string;
4371
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4372
  capture: "at_action" | "historical_lookup" | "fixture";
4372
4373
  locator?: string | undefined;
4373
4374
  }[];
@@ -4375,12 +4376,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4375
4376
  decisionId: string;
4376
4377
  confidence?: number | undefined;
4377
4378
  } | {
4378
- kind: "conflict_detected";
4379
4379
  summary: string;
4380
+ kind: "conflict_detected";
4380
4381
  evidence: {
4381
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4382
- label: string;
4383
4382
  id: string;
4383
+ label: string;
4384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
4385
  capture: "at_action" | "historical_lookup" | "fixture";
4385
4386
  locator?: string | undefined;
4386
4387
  }[];
@@ -4388,14 +4389,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4388
4389
  decisionIds: string[];
4389
4390
  agentIds: string[];
4390
4391
  } | {
4391
- kind: "test_result";
4392
4392
  summary: string;
4393
4393
  status: "error" | "failed" | "passed";
4394
+ kind: "test_result";
4394
4395
  command: string;
4395
4396
  evidence: {
4396
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4397
- label: string;
4398
4397
  id: string;
4398
+ label: string;
4399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4400
4401
  locator?: string | undefined;
4401
4402
  }[];
@@ -4408,9 +4409,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4408
4409
  statement: string;
4409
4410
  rationale: string;
4410
4411
  evidence: {
4411
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
- label: string;
4413
4412
  id: string;
4413
+ label: string;
4414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4416
  locator?: string | undefined;
4416
4417
  }[];
@@ -4422,25 +4423,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4422
4423
  } | {
4423
4424
  kind: "correction_approved";
4424
4425
  evidence: {
4425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4426
- label: string;
4427
4426
  id: string;
4427
+ label: string;
4428
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
4429
  capture: "at_action" | "historical_lookup" | "fixture";
4429
4430
  locator?: string | undefined;
4430
4431
  }[];
4431
4432
  correctionId: string;
4432
4433
  approvedBy: {
4433
- kind: "agent" | "human";
4434
- label: string;
4435
4434
  id: string;
4435
+ label: string;
4436
+ kind: "agent" | "human";
4436
4437
  };
4437
4438
  note?: string | undefined;
4438
4439
  } | {
4439
4440
  kind: "decision_superseded";
4440
4441
  evidence: {
4441
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
- label: string;
4443
4442
  id: string;
4443
+ label: string;
4444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
4445
  capture: "at_action" | "historical_lookup" | "fixture";
4445
4446
  locator?: string | undefined;
4446
4447
  }[];
@@ -4453,9 +4454,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4453
4454
  agentId: string;
4454
4455
  sessionId: string;
4455
4456
  evidence: {
4456
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
- label: string;
4458
4457
  id: string;
4458
+ label: string;
4459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
4460
  capture: "at_action" | "historical_lookup" | "fixture";
4460
4461
  locator?: string | undefined;
4461
4462
  }[];
@@ -4467,9 +4468,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4467
4468
  agentId: string;
4468
4469
  sessionId: string;
4469
4470
  evidence: {
4470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
- label: string;
4472
4471
  id: string;
4472
+ label: string;
4473
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4474
  capture: "at_action" | "historical_lookup" | "fixture";
4474
4475
  locator?: string | undefined;
4475
4476
  }[];
@@ -4478,24 +4479,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4478
4479
  recallReceiptId: string;
4479
4480
  staleDecisionAbsent: boolean;
4480
4481
  } | {
4481
- kind: "mission_completed";
4482
4482
  summary: string;
4483
+ kind: "mission_completed";
4483
4484
  outcome: "failed" | "recovered" | "inconclusive";
4484
4485
  evidence: {
4485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
- label: string;
4487
4486
  id: string;
4487
+ label: string;
4488
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4489
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4490
  locator?: string | undefined;
4490
4491
  }[];
4491
4492
  };
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;
4499
4500
  recordedAt: string;
4500
4501
  schemaVersion: "1";
4501
4502
  payload: {
@@ -4504,37 +4505,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4504
4505
  objective: string;
4505
4506
  runMode: "replay" | "fixture" | "live";
4506
4507
  evidence?: {
4507
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4508
- label: string;
4509
4508
  id: string;
4509
+ label: string;
4510
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4511
  capture: "at_action" | "historical_lookup" | "fixture";
4511
4512
  locator?: string | undefined;
4512
4513
  }[] | undefined;
4513
4514
  } | {
4514
- kind: "agent_status";
4515
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4516
4515
  label: string;
4516
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4517
+ kind: "agent_status";
4517
4518
  role: string;
4518
4519
  agentId: string;
4519
4520
  sessionId: string;
4520
4521
  detail?: string | undefined;
4521
4522
  evidence?: {
4522
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4523
- label: string;
4524
4523
  id: string;
4524
+ label: string;
4525
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
4526
  capture: "at_action" | "historical_lookup" | "fixture";
4526
4527
  locator?: string | undefined;
4527
4528
  }[] | undefined;
4528
4529
  } | {
4529
- kind: "agent_output";
4530
4530
  summary: string;
4531
+ kind: "agent_output";
4531
4532
  agentId: string;
4532
4533
  sessionId: string;
4533
4534
  outputId: string;
4534
4535
  evidence?: {
4535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4536
- label: string;
4537
4536
  id: string;
4537
+ label: string;
4538
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
4539
  capture: "at_action" | "historical_lookup" | "fixture";
4539
4540
  locator?: string | undefined;
4540
4541
  }[] | undefined;
@@ -4547,37 +4548,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4547
4548
  decisionId: string;
4548
4549
  confidence?: number | undefined;
4549
4550
  evidence?: {
4550
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4551
- label: string;
4552
4551
  id: string;
4552
+ label: string;
4553
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
4554
  capture: "at_action" | "historical_lookup" | "fixture";
4554
4555
  locator?: string | undefined;
4555
4556
  }[] | undefined;
4556
4557
  } | {
4557
- kind: "conflict_detected";
4558
4558
  summary: string;
4559
+ kind: "conflict_detected";
4559
4560
  conflictId: string;
4560
4561
  decisionIds: string[];
4561
4562
  agentIds: string[];
4562
4563
  evidence?: {
4563
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
- label: string;
4565
4564
  id: string;
4565
+ label: string;
4566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
4567
  capture: "at_action" | "historical_lookup" | "fixture";
4567
4568
  locator?: string | undefined;
4568
4569
  }[] | undefined;
4569
4570
  } | {
4570
- kind: "test_result";
4571
4571
  summary: string;
4572
4572
  status: "error" | "failed" | "passed";
4573
+ kind: "test_result";
4573
4574
  command: string;
4574
4575
  decisionId: string;
4575
4576
  testId: string;
4576
4577
  durationMs?: number | undefined;
4577
4578
  evidence?: {
4578
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4579
- label: string;
4580
4579
  id: string;
4580
+ label: string;
4581
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
4582
  capture: "at_action" | "historical_lookup" | "fixture";
4582
4583
  locator?: string | undefined;
4583
4584
  }[] | undefined;
@@ -4592,9 +4593,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4592
4593
  supersedesDecisionIds: string[];
4593
4594
  proposedBy: string;
4594
4595
  evidence?: {
4595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
- label: string;
4597
4596
  id: string;
4597
+ label: string;
4598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
4599
  capture: "at_action" | "historical_lookup" | "fixture";
4599
4600
  locator?: string | undefined;
4600
4601
  }[] | undefined;
@@ -4602,15 +4603,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4602
4603
  kind: "correction_approved";
4603
4604
  correctionId: string;
4604
4605
  approvedBy: {
4605
- kind: "agent" | "human";
4606
- label: string;
4607
4606
  id: string;
4607
+ label: string;
4608
+ kind: "agent" | "human";
4608
4609
  };
4609
4610
  note?: string | undefined;
4610
4611
  evidence?: {
4611
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4612
- label: string;
4613
4612
  id: string;
4613
+ label: string;
4614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
4615
  capture: "at_action" | "historical_lookup" | "fixture";
4615
4616
  locator?: string | undefined;
4616
4617
  }[] | undefined;
@@ -4620,9 +4621,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4620
4621
  correctionId: string;
4621
4622
  replacementDecisionId: string;
4622
4623
  evidence?: {
4623
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4624
- label: string;
4625
4624
  id: string;
4625
+ label: string;
4626
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
4627
  capture: "at_action" | "historical_lookup" | "fixture";
4627
4628
  locator?: string | undefined;
4628
4629
  }[] | undefined;
@@ -4635,9 +4636,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4635
4636
  recallReceiptId: string;
4636
4637
  capturedAtAction: boolean;
4637
4638
  evidence?: {
4638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4639
- label: string;
4640
4639
  id: string;
4640
+ label: string;
4641
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
4642
  capture: "at_action" | "historical_lookup" | "fixture";
4642
4643
  locator?: string | undefined;
4643
4644
  }[] | undefined;
@@ -4650,25 +4651,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4650
4651
  recallReceiptId: string;
4651
4652
  staleDecisionAbsent: boolean;
4652
4653
  evidence?: {
4653
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4654
- label: string;
4655
4654
  id: string;
4655
+ label: string;
4656
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
4657
  capture: "at_action" | "historical_lookup" | "fixture";
4657
4658
  locator?: string | undefined;
4658
4659
  }[] | undefined;
4659
4660
  } | {
4660
- kind: "mission_completed";
4661
4661
  summary: string;
4662
+ kind: "mission_completed";
4662
4663
  outcome: "failed" | "recovered" | "inconclusive";
4663
4664
  evidence?: {
4664
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4665
- label: string;
4666
4665
  id: string;
4666
+ label: string;
4667
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
4668
  capture: "at_action" | "historical_lookup" | "fixture";
4668
4669
  locator?: string | undefined;
4669
4670
  }[] | undefined;
4670
4671
  };
4671
- namespace: string;
4672
4672
  eventId: string;
4673
4673
  occurredAt: string;
4674
4674
  missionId: string;