@remnic/core 9.65.4 → 9.65.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +24 -24
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +1 -1
  5. package/dist/access-authorization-probe.js +25 -25
  6. package/dist/access-boundary.d.ts +1 -1
  7. package/dist/access-boundary.js +24 -24
  8. package/dist/access-cli.js +69 -68
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +1 -1
  11. package/dist/access-extraction-force-flush.js +24 -24
  12. package/dist/access-http-lcm-compaction.d.ts +1 -1
  13. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  14. package/dist/access-http-offline-stream.d.ts +1 -1
  15. package/dist/access-http-query.js +26 -26
  16. package/dist/access-http.d.ts +2 -2
  17. package/dist/access-http.js +37 -37
  18. package/dist/access-identity-continuity-surface.js +24 -24
  19. package/dist/access-lcm-surface.d.ts +1 -1
  20. package/dist/access-lcm-surface.js +24 -24
  21. package/dist/access-mcp.d.ts +1 -1
  22. package/dist/access-mcp.js +30 -30
  23. package/dist/access-namespace-preflight.js +24 -24
  24. package/dist/access-observe-write-surface.d.ts +1 -1
  25. package/dist/access-observe-write-surface.js +24 -24
  26. package/dist/access-operations-batch.js +26 -26
  27. package/dist/access-operations.d.ts +6 -6
  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 +24 -24
  31. package/dist/access-recall-response.d.ts +1 -1
  32. package/dist/access-recall-response.js +24 -24
  33. package/dist/access-recall-surface.d.ts +1 -1
  34. package/dist/access-recall-surface.js +24 -24
  35. package/dist/access-schema.d.ts +83 -83
  36. package/dist/access-schema.js +3 -3
  37. package/dist/access-service-helpers.d.ts +1 -1
  38. package/dist/access-service.d.ts +1 -1
  39. package/dist/access-service.js +24 -24
  40. package/dist/access-surface-catalog.d.ts +1 -1
  41. package/dist/access-surface-catalog.js +26 -26
  42. package/dist/briefing.js +10 -10
  43. package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-GWVG7LGC.js} +2 -2
  44. package/dist/causal-consolidation.js +11 -11
  45. package/dist/{chunk-ZPOHEB5Z.js → chunk-2JHRCWHT.js} +37 -37
  46. package/dist/{chunk-BK5G2MHO.js → chunk-2RXUZVPU.js} +2 -2
  47. package/dist/{chunk-JPAKBNTM.js → chunk-3I22VWB3.js} +2 -2
  48. package/dist/{chunk-ECLJ4LA2.js → chunk-53MZQEBD.js} +2 -2
  49. package/dist/{chunk-HF5BUTI6.js → chunk-5GIZM4RX.js} +2 -2
  50. package/dist/{chunk-YHGCT462.js → chunk-5TG4MU2U.js} +4 -4
  51. package/dist/{chunk-VDX2J7OX.js → chunk-5W7CTZ2E.js} +4 -4
  52. package/dist/{chunk-IWKGOCL6.js → chunk-5W7MKXMU.js} +4 -4
  53. package/dist/{chunk-YHCBJULX.js → chunk-6FUMA6AA.js} +2 -2
  54. package/dist/{chunk-THVI4Y7X.js → chunk-6LS5OX3U.js} +5 -5
  55. package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
  56. package/dist/{chunk-KPB2QHJZ.js → chunk-7OZSHBWK.js} +2 -2
  57. package/dist/{chunk-CQBIN77D.js → chunk-7SSRXEZJ.js} +2 -2
  58. package/dist/{chunk-NNBZS3DY.js → chunk-AG46P24C.js} +4 -4
  59. package/dist/{chunk-QJW4MZSW.js → chunk-AYAZWXJI.js} +2 -2
  60. package/dist/{chunk-WDXD6ITO.js → chunk-BXXOPKT5.js} +2 -2
  61. package/dist/{chunk-DJZWNKFO.js → chunk-D35XLYQ7.js} +10 -10
  62. package/dist/{chunk-KOO37E4Y.js → chunk-DYO24BNB.js} +2 -2
  63. package/dist/{chunk-DORFF5N5.js → chunk-FEO2CDXR.js} +2 -2
  64. package/dist/{chunk-IURMJBGP.js → chunk-HWVNYNIV.js} +2 -2
  65. package/dist/{chunk-OZDFB22S.js → chunk-IDQ6DKXC.js} +3 -3
  66. package/dist/{chunk-J3ATBB7M.js → chunk-IF4EY26E.js} +2 -2
  67. package/dist/{chunk-W675UJCZ.js → chunk-IRXMJLTW.js} +2 -2
  68. package/dist/{chunk-DUZARALI.js → chunk-JFWZRUKP.js} +3 -3
  69. package/dist/{chunk-DUEDOYZD.js → chunk-JGG5HVI2.js} +2 -2
  70. package/dist/{chunk-3NH3VP3U.js → chunk-KBOG7FJV.js} +2 -2
  71. package/dist/{chunk-UCKG36HO.js → chunk-LSYD7GHZ.js} +2 -2
  72. package/dist/{chunk-6433HV72.js → chunk-MVIYRRVJ.js} +5 -5
  73. package/dist/{chunk-GHD2LLG4.js → chunk-NLUCDKLT.js} +2 -2
  74. package/dist/{chunk-TJFI3K2O.js → chunk-O4BAGJDN.js} +2 -2
  75. package/dist/{chunk-LYBIHM4N.js → chunk-OMZLBT4B.js} +4 -4
  76. package/dist/{chunk-BXLOS5AJ.js → chunk-OWHERGF2.js} +2 -2
  77. package/dist/{chunk-I23ZHYSL.js → chunk-PGW64IFQ.js} +2 -2
  78. package/dist/{chunk-AZLLH6YA.js → chunk-PNAGNVGK.js} +43 -48
  79. package/dist/chunk-PNAGNVGK.js.map +1 -0
  80. package/dist/{chunk-YDKF4MSJ.js → chunk-QMZY3GG6.js} +3 -3
  81. package/dist/{chunk-N37X5RU7.js → chunk-RACZB5HT.js} +4 -4
  82. package/dist/{chunk-YZJM6CLF.js → chunk-ROEAEANL.js} +7 -7
  83. package/dist/{chunk-SR5LNI6Q.js → chunk-RQ2EQRRR.js} +4 -4
  84. package/dist/chunk-SDEPLF7V.js +325 -0
  85. package/dist/chunk-SDEPLF7V.js.map +1 -0
  86. package/dist/{chunk-2IXQSGCU.js → chunk-SR7JIRAR.js} +2 -2
  87. package/dist/{chunk-OCCHUEZB.js → chunk-TWBQQ3FT.js} +2 -2
  88. package/dist/{chunk-NLEH4RTB.js → chunk-US4IRASK.js} +2 -2
  89. package/dist/{chunk-DQEMWVMT.js → chunk-UVYI6VIX.js} +1 -1
  90. package/dist/{chunk-PTZQYCJ4.js → chunk-W6J4POB6.js} +2 -2
  91. package/dist/{chunk-OU34IQXV.js → chunk-X2DWBWOX.js} +2 -2
  92. package/dist/{chunk-2MVTAIL3.js → chunk-XAWIL7TC.js} +2 -2
  93. package/dist/{chunk-UFR6HX7A.js → chunk-XUZ5CIEE.js} +1 -1
  94. package/dist/{chunk-GIC6BASP.js → chunk-XZBXINXZ.js} +4 -4
  95. package/dist/{chunk-XGM3VQWG.js → chunk-YUTTMSC7.js} +13 -13
  96. package/dist/{chunk-3JZBPTLD.js → chunk-YWBOOBDP.js} +38 -38
  97. package/dist/{chunk-KFIOPZ25.js → chunk-ZXUZ54Z5.js} +2 -2
  98. package/dist/{cli-DO3i14pM.d.ts → cli-Bfgo0n1L.d.ts} +2 -2
  99. package/dist/cli.d.ts +3 -3
  100. package/dist/cli.js +53 -53
  101. package/dist/compounding/engine.js +10 -10
  102. package/dist/connectors/codex-materialize-runner.js +10 -10
  103. package/dist/connectors/index.js +10 -10
  104. package/dist/convergence-refresh.js +12 -12
  105. package/dist/corpus-watermark.js +12 -12
  106. package/dist/entity-retrieval.js +10 -10
  107. package/dist/external-wiki-access.d.ts +1 -1
  108. package/dist/external-wiki-access.js +25 -25
  109. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  110. package/dist/extraction.js +10 -10
  111. package/dist/harmonic-retrieval.js +1 -1
  112. package/dist/index.d.ts +681 -680
  113. package/dist/index.js +92 -76
  114. package/dist/lcm/index.js +3 -3
  115. package/dist/maintenance/memory-governance.js +10 -10
  116. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -10
  117. package/dist/maintenance/rebuild-memory-projection.js +11 -11
  118. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  119. package/dist/memory-controller.d.ts +203 -0
  120. package/dist/memory-controller.js +23 -0
  121. package/dist/memory-controller.js.map +1 -0
  122. package/dist/memory-subject-cli.d.ts +1 -1
  123. package/dist/memory-subject.d.ts +1 -1
  124. package/dist/namespaces/migrate.js +11 -11
  125. package/dist/namespaces/search.js +7 -7
  126. package/dist/namespaces/storage.js +10 -10
  127. package/dist/operator-doctor-corpus.js +13 -13
  128. package/dist/operator-toolkit.js +18 -18
  129. package/dist/orchestration/maintenance.js +16 -16
  130. package/dist/orchestrator.js +69 -68
  131. package/dist/{public-http-DhIXYBYI.d.ts → public-http-BP3VQDl5.d.ts} +1 -1
  132. package/dist/schemas.d.ts +124 -124
  133. package/dist/search/factory.js +6 -6
  134. package/dist/search/index.js +11 -11
  135. package/dist/search/lancedb-backend.js +2 -2
  136. package/dist/search/meilisearch-backend.js +2 -2
  137. package/dist/search/orama-backend.js +2 -2
  138. package/dist/semantic-consolidation.js +11 -11
  139. package/dist/semantic-rule-promotion.js +10 -10
  140. package/dist/semantic-rule-verifier.js +10 -10
  141. package/dist/shared-context/manager.d.ts +6 -6
  142. package/dist/source-agent-qualifier.js +10 -10
  143. package/dist/storage.js +9 -9
  144. package/dist/support-passport/index.d.ts +4 -4
  145. package/dist/support-passport/index.js +27 -27
  146. package/dist/transfer/backup.js +2 -2
  147. package/dist/transfer/capsule-export.js +2 -2
  148. package/dist/transfer/capsule-import.js +2 -2
  149. package/dist/transfer/types.d.ts +78 -78
  150. package/dist/verified-recall.js +10 -10
  151. package/dist/who-knows-cli.d.ts +1 -1
  152. package/dist/who-knows-cli.js +11 -11
  153. package/dist/who-knows.d.ts +1 -1
  154. package/dist/who-knows.js +10 -10
  155. package/package.json +2 -2
  156. package/src/index.ts +3 -0
  157. package/src/memory-controller.test.ts +347 -0
  158. package/src/memory-controller.ts +547 -0
  159. package/src/review/frontmatter.test.ts +15 -0
  160. package/src/review/frontmatter.ts +20 -0
  161. package/src/review/review-deck-snapshot.ts +4 -20
  162. package/src/review/review-deck.ts +1 -12
  163. package/dist/chunk-AZLLH6YA.js.map +0 -1
  164. package/dist/{access-service-DqPa3hy4.d.ts → access-service-sbiNS5UB.d.ts} +64 -64
  165. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
  166. /package/dist/{chunk-ZPOHEB5Z.js.map → chunk-2JHRCWHT.js.map} +0 -0
  167. /package/dist/{chunk-BK5G2MHO.js.map → chunk-2RXUZVPU.js.map} +0 -0
  168. /package/dist/{chunk-JPAKBNTM.js.map → chunk-3I22VWB3.js.map} +0 -0
  169. /package/dist/{chunk-ECLJ4LA2.js.map → chunk-53MZQEBD.js.map} +0 -0
  170. /package/dist/{chunk-HF5BUTI6.js.map → chunk-5GIZM4RX.js.map} +0 -0
  171. /package/dist/{chunk-YHGCT462.js.map → chunk-5TG4MU2U.js.map} +0 -0
  172. /package/dist/{chunk-VDX2J7OX.js.map → chunk-5W7CTZ2E.js.map} +0 -0
  173. /package/dist/{chunk-IWKGOCL6.js.map → chunk-5W7MKXMU.js.map} +0 -0
  174. /package/dist/{chunk-YHCBJULX.js.map → chunk-6FUMA6AA.js.map} +0 -0
  175. /package/dist/{chunk-THVI4Y7X.js.map → chunk-6LS5OX3U.js.map} +0 -0
  176. /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
  177. /package/dist/{chunk-KPB2QHJZ.js.map → chunk-7OZSHBWK.js.map} +0 -0
  178. /package/dist/{chunk-CQBIN77D.js.map → chunk-7SSRXEZJ.js.map} +0 -0
  179. /package/dist/{chunk-NNBZS3DY.js.map → chunk-AG46P24C.js.map} +0 -0
  180. /package/dist/{chunk-QJW4MZSW.js.map → chunk-AYAZWXJI.js.map} +0 -0
  181. /package/dist/{chunk-WDXD6ITO.js.map → chunk-BXXOPKT5.js.map} +0 -0
  182. /package/dist/{chunk-DJZWNKFO.js.map → chunk-D35XLYQ7.js.map} +0 -0
  183. /package/dist/{chunk-KOO37E4Y.js.map → chunk-DYO24BNB.js.map} +0 -0
  184. /package/dist/{chunk-DORFF5N5.js.map → chunk-FEO2CDXR.js.map} +0 -0
  185. /package/dist/{chunk-IURMJBGP.js.map → chunk-HWVNYNIV.js.map} +0 -0
  186. /package/dist/{chunk-OZDFB22S.js.map → chunk-IDQ6DKXC.js.map} +0 -0
  187. /package/dist/{chunk-J3ATBB7M.js.map → chunk-IF4EY26E.js.map} +0 -0
  188. /package/dist/{chunk-W675UJCZ.js.map → chunk-IRXMJLTW.js.map} +0 -0
  189. /package/dist/{chunk-DUZARALI.js.map → chunk-JFWZRUKP.js.map} +0 -0
  190. /package/dist/{chunk-DUEDOYZD.js.map → chunk-JGG5HVI2.js.map} +0 -0
  191. /package/dist/{chunk-3NH3VP3U.js.map → chunk-KBOG7FJV.js.map} +0 -0
  192. /package/dist/{chunk-UCKG36HO.js.map → chunk-LSYD7GHZ.js.map} +0 -0
  193. /package/dist/{chunk-6433HV72.js.map → chunk-MVIYRRVJ.js.map} +0 -0
  194. /package/dist/{chunk-GHD2LLG4.js.map → chunk-NLUCDKLT.js.map} +0 -0
  195. /package/dist/{chunk-TJFI3K2O.js.map → chunk-O4BAGJDN.js.map} +0 -0
  196. /package/dist/{chunk-LYBIHM4N.js.map → chunk-OMZLBT4B.js.map} +0 -0
  197. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-OWHERGF2.js.map} +0 -0
  198. /package/dist/{chunk-I23ZHYSL.js.map → chunk-PGW64IFQ.js.map} +0 -0
  199. /package/dist/{chunk-YDKF4MSJ.js.map → chunk-QMZY3GG6.js.map} +0 -0
  200. /package/dist/{chunk-N37X5RU7.js.map → chunk-RACZB5HT.js.map} +0 -0
  201. /package/dist/{chunk-YZJM6CLF.js.map → chunk-ROEAEANL.js.map} +0 -0
  202. /package/dist/{chunk-SR5LNI6Q.js.map → chunk-RQ2EQRRR.js.map} +0 -0
  203. /package/dist/{chunk-2IXQSGCU.js.map → chunk-SR7JIRAR.js.map} +0 -0
  204. /package/dist/{chunk-OCCHUEZB.js.map → chunk-TWBQQ3FT.js.map} +0 -0
  205. /package/dist/{chunk-NLEH4RTB.js.map → chunk-US4IRASK.js.map} +0 -0
  206. /package/dist/{chunk-DQEMWVMT.js.map → chunk-UVYI6VIX.js.map} +0 -0
  207. /package/dist/{chunk-PTZQYCJ4.js.map → chunk-W6J4POB6.js.map} +0 -0
  208. /package/dist/{chunk-OU34IQXV.js.map → chunk-X2DWBWOX.js.map} +0 -0
  209. /package/dist/{chunk-2MVTAIL3.js.map → chunk-XAWIL7TC.js.map} +0 -0
  210. /package/dist/{chunk-UFR6HX7A.js.map → chunk-XUZ5CIEE.js.map} +0 -0
  211. /package/dist/{chunk-GIC6BASP.js.map → chunk-XZBXINXZ.js.map} +0 -0
  212. /package/dist/{chunk-XGM3VQWG.js.map → chunk-YUTTMSC7.js.map} +0 -0
  213. /package/dist/{chunk-3JZBPTLD.js.map → chunk-YWBOOBDP.js.map} +0 -0
  214. /package/dist/{chunk-KFIOPZ25.js.map → chunk-ZXUZ54Z5.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -32,8 +32,8 @@ export { bG as ACTION_GATE_DEFAULTS, bH as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
32
32
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
33
33
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
34
34
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
35
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DqPa3hy4.js';
36
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-DqPa3hy4.js';
35
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-sbiNS5UB.js';
36
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-sbiNS5UB.js';
37
37
  import { LocalLlmClient } from './local-llm.js';
38
38
  import { FallbackLlmClient } from './fallback-llm.js';
39
39
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -56,10 +56,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
56
56
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
57
57
  export { storagePathHash } from './storage-paths.js';
58
58
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
59
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DO3i14pM.js';
59
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bfgo0n1L.js';
60
60
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
61
61
  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';
62
- 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-DhIXYBYI.js';
62
+ 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-BP3VQDl5.js';
63
63
  import { z } from 'zod';
64
64
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
65
65
  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';
@@ -123,6 +123,7 @@ import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
123
123
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
124
124
  export { R as ResolvedScopeProfilePlan } from './scope-profiles-ChZUtxDU.js';
125
125
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
126
+ export { ActiveContextAdapter, ActiveContextMessage, ActiveContextPlan, MemoryControllerActionFamily, MemoryControllerChoice, MemoryControllerConfig, MemoryControllerCoordinator, MemoryControllerDeps, MemoryControllerEvent, MemoryControllerEvidence, MemoryControllerEvidenceReport, MemoryControllerExecutors, MemoryControllerMode, MemoryControllerPairedSeedEvidence, MemoryControllerReceipt, MemoryControllerRecorder, MemoryControllerReportReader, MemoryControllerRunResult, MemoryControllerState, chooseAction, computeEvidenceReportHash, controllerConfigHash, evaluateActiveGates, hashControllerState, verifyEvidenceReport } from './memory-controller.js';
126
127
  export { ContinuityImprovementLoop } from './types-continuity.js';
127
128
  export { EngramAccessInputError } from './access-errors.js';
128
129
  export { ExternalWikiRoot } from './external-wiki-config.js';
@@ -1225,15 +1226,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1225
1226
  locator: z.ZodOptional<z.ZodString>;
1226
1227
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1227
1228
  }, "strict", z.ZodTypeAny, {
1228
- id: string;
1229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1229
1230
  label: string;
1230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1231
+ id: string;
1231
1232
  capture: "at_action" | "historical_lookup" | "fixture";
1232
1233
  locator?: string | undefined;
1233
1234
  }, {
1234
- id: string;
1235
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
1236
  label: string;
1236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1237
+ id: string;
1237
1238
  capture: "at_action" | "historical_lookup" | "fixture";
1238
1239
  locator?: string | undefined;
1239
1240
  }>;
@@ -1250,15 +1251,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1250
1251
  locator: z.ZodOptional<z.ZodString>;
1251
1252
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1252
1253
  }, "strict", z.ZodTypeAny, {
1253
- id: string;
1254
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1254
1255
  label: string;
1255
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1256
+ id: string;
1256
1257
  capture: "at_action" | "historical_lookup" | "fixture";
1257
1258
  locator?: string | undefined;
1258
1259
  }, {
1259
- id: string;
1260
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
1261
  label: string;
1261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1262
+ id: string;
1262
1263
  capture: "at_action" | "historical_lookup" | "fixture";
1263
1264
  locator?: string | undefined;
1264
1265
  }>, "many">>;
@@ -1266,9 +1267,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1266
1267
  kind: "mission_started";
1267
1268
  title: string;
1268
1269
  evidence: {
1269
- id: string;
1270
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
1271
  label: string;
1271
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1272
+ id: string;
1272
1273
  capture: "at_action" | "historical_lookup" | "fixture";
1273
1274
  locator?: string | undefined;
1274
1275
  }[];
@@ -1280,9 +1281,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1280
1281
  objective: string;
1281
1282
  runMode: "replay" | "fixture" | "live";
1282
1283
  evidence?: {
1283
- id: string;
1284
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
1285
  label: string;
1285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1286
+ id: string;
1286
1287
  capture: "at_action" | "historical_lookup" | "fixture";
1287
1288
  locator?: string | undefined;
1288
1289
  }[] | undefined;
@@ -1298,15 +1299,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1298
1299
  locator: z.ZodOptional<z.ZodString>;
1299
1300
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1300
1301
  }, "strict", z.ZodTypeAny, {
1301
- id: string;
1302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1302
1303
  label: string;
1303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1304
+ id: string;
1304
1305
  capture: "at_action" | "historical_lookup" | "fixture";
1305
1306
  locator?: string | undefined;
1306
1307
  }, {
1307
- id: string;
1308
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
1309
  label: string;
1309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
+ id: string;
1310
1311
  capture: "at_action" | "historical_lookup" | "fixture";
1311
1312
  locator?: string | undefined;
1312
1313
  }>, "many">>;
@@ -1314,32 +1315,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1314
1315
  sessionId: z.ZodString;
1315
1316
  kind: z.ZodLiteral<"agent_status">;
1316
1317
  }, "strict", z.ZodTypeAny, {
1317
- label: string;
1318
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1319
1318
  kind: "agent_status";
1319
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1320
+ label: string;
1320
1321
  role: string;
1321
1322
  agentId: string;
1322
1323
  sessionId: string;
1323
1324
  evidence: {
1324
- id: string;
1325
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1325
1326
  label: string;
1326
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1327
+ id: string;
1327
1328
  capture: "at_action" | "historical_lookup" | "fixture";
1328
1329
  locator?: string | undefined;
1329
1330
  }[];
1330
1331
  detail?: string | undefined;
1331
1332
  }, {
1332
- label: string;
1333
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1334
1333
  kind: "agent_status";
1334
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1335
+ label: string;
1335
1336
  role: string;
1336
1337
  agentId: string;
1337
1338
  sessionId: string;
1338
1339
  detail?: string | undefined;
1339
1340
  evidence?: {
1340
- id: string;
1341
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1341
1342
  label: string;
1342
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1343
+ id: string;
1343
1344
  capture: "at_action" | "historical_lookup" | "fixture";
1344
1345
  locator?: string | undefined;
1345
1346
  }[] | undefined;
@@ -1353,15 +1354,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1353
1354
  locator: z.ZodOptional<z.ZodString>;
1354
1355
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1355
1356
  }, "strict", z.ZodTypeAny, {
1356
- id: string;
1357
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1357
1358
  label: string;
1358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1359
+ id: string;
1359
1360
  capture: "at_action" | "historical_lookup" | "fixture";
1360
1361
  locator?: string | undefined;
1361
1362
  }, {
1362
- id: string;
1363
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1364
  label: string;
1364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1365
+ id: string;
1365
1366
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1367
  locator?: string | undefined;
1367
1368
  }>, "many">>;
@@ -1369,28 +1370,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1369
1370
  sessionId: z.ZodString;
1370
1371
  kind: z.ZodLiteral<"agent_output">;
1371
1372
  }, "strict", z.ZodTypeAny, {
1372
- summary: string;
1373
1373
  kind: "agent_output";
1374
+ summary: string;
1374
1375
  agentId: string;
1375
1376
  sessionId: string;
1376
1377
  evidence: {
1377
- id: string;
1378
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1378
1379
  label: string;
1379
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
+ id: string;
1380
1381
  capture: "at_action" | "historical_lookup" | "fixture";
1381
1382
  locator?: string | undefined;
1382
1383
  }[];
1383
1384
  outputId: string;
1384
1385
  }, {
1385
- summary: string;
1386
1386
  kind: "agent_output";
1387
+ summary: string;
1387
1388
  agentId: string;
1388
1389
  sessionId: string;
1389
1390
  outputId: string;
1390
1391
  evidence?: {
1391
- id: string;
1392
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
1393
  label: string;
1393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1394
+ id: string;
1394
1395
  capture: "at_action" | "historical_lookup" | "fixture";
1395
1396
  locator?: string | undefined;
1396
1397
  }[] | undefined;
@@ -1406,15 +1407,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1406
1407
  locator: z.ZodOptional<z.ZodString>;
1407
1408
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1408
1409
  }, "strict", z.ZodTypeAny, {
1409
- id: string;
1410
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1410
1411
  label: string;
1411
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1412
+ id: string;
1412
1413
  capture: "at_action" | "historical_lookup" | "fixture";
1413
1414
  locator?: string | undefined;
1414
1415
  }, {
1415
- id: string;
1416
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1417
  label: string;
1417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1418
+ id: string;
1418
1419
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1420
  locator?: string | undefined;
1420
1421
  }>, "many">>;
@@ -1427,9 +1428,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1427
1428
  statement: string;
1428
1429
  sessionId: string;
1429
1430
  evidence: {
1430
- id: string;
1431
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
1432
  label: string;
1432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1433
+ id: string;
1433
1434
  capture: "at_action" | "historical_lookup" | "fixture";
1434
1435
  locator?: string | undefined;
1435
1436
  }[];
@@ -1445,9 +1446,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1445
1446
  decisionId: string;
1446
1447
  confidence?: number | undefined;
1447
1448
  evidence?: {
1448
- id: string;
1449
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1449
1450
  label: string;
1450
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1451
+ id: string;
1451
1452
  capture: "at_action" | "historical_lookup" | "fixture";
1452
1453
  locator?: string | undefined;
1453
1454
  }[] | undefined;
@@ -1464,25 +1465,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1464
1465
  locator: z.ZodOptional<z.ZodString>;
1465
1466
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1466
1467
  }, "strict", z.ZodTypeAny, {
1467
- id: string;
1468
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1468
1469
  label: string;
1469
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1470
+ id: string;
1470
1471
  capture: "at_action" | "historical_lookup" | "fixture";
1471
1472
  locator?: string | undefined;
1472
1473
  }, {
1473
- id: string;
1474
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1475
  label: string;
1475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1476
+ id: string;
1476
1477
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1478
  locator?: string | undefined;
1478
1479
  }>, "many">>;
1479
1480
  }, "strict", z.ZodTypeAny, {
1480
- summary: string;
1481
1481
  kind: "conflict_detected";
1482
+ summary: string;
1482
1483
  evidence: {
1483
- id: string;
1484
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1485
  label: string;
1485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1486
+ id: string;
1486
1487
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1488
  locator?: string | undefined;
1488
1489
  }[];
@@ -1490,15 +1491,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1490
1491
  decisionIds: string[];
1491
1492
  agentIds: string[];
1492
1493
  }, {
1493
- summary: string;
1494
1494
  kind: "conflict_detected";
1495
+ summary: string;
1495
1496
  conflictId: string;
1496
1497
  decisionIds: string[];
1497
1498
  agentIds: string[];
1498
1499
  evidence?: {
1499
- id: string;
1500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
1501
  label: string;
1501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
+ id: string;
1502
1503
  capture: "at_action" | "historical_lookup" | "fixture";
1503
1504
  locator?: string | undefined;
1504
1505
  }[] | undefined;
@@ -1518,27 +1519,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1518
1519
  locator: z.ZodOptional<z.ZodString>;
1519
1520
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1520
1521
  }, "strict", z.ZodTypeAny, {
1521
- id: string;
1522
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1522
1523
  label: string;
1523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1524
+ id: string;
1524
1525
  capture: "at_action" | "historical_lookup" | "fixture";
1525
1526
  locator?: string | undefined;
1526
1527
  }, {
1527
- id: string;
1528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
1529
  label: string;
1529
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1530
+ id: string;
1530
1531
  capture: "at_action" | "historical_lookup" | "fixture";
1531
1532
  locator?: string | undefined;
1532
1533
  }>, "many">>;
1533
1534
  }, "strict", z.ZodTypeAny, {
1535
+ kind: "test_result";
1534
1536
  summary: string;
1535
1537
  status: "error" | "failed" | "passed";
1536
- kind: "test_result";
1537
1538
  command: string;
1538
1539
  evidence: {
1539
- id: string;
1540
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1541
  label: string;
1541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
+ id: string;
1542
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1544
  locator?: string | undefined;
1544
1545
  }[];
@@ -1547,17 +1548,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1547
1548
  durationMs?: number | undefined;
1548
1549
  correctionId?: string | undefined;
1549
1550
  }, {
1551
+ kind: "test_result";
1550
1552
  summary: string;
1551
1553
  status: "error" | "failed" | "passed";
1552
- kind: "test_result";
1553
1554
  command: string;
1554
1555
  decisionId: string;
1555
1556
  testId: string;
1556
1557
  durationMs?: number | undefined;
1557
1558
  evidence?: {
1558
- id: string;
1559
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1559
1560
  label: string;
1560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1561
+ id: string;
1561
1562
  capture: "at_action" | "historical_lookup" | "fixture";
1562
1563
  locator?: string | undefined;
1563
1564
  }[] | undefined;
@@ -1578,15 +1579,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1578
1579
  locator: z.ZodOptional<z.ZodString>;
1579
1580
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1580
1581
  }, "strict", z.ZodTypeAny, {
1581
- id: string;
1582
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1582
1583
  label: string;
1583
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1584
+ id: string;
1584
1585
  capture: "at_action" | "historical_lookup" | "fixture";
1585
1586
  locator?: string | undefined;
1586
1587
  }, {
1587
- id: string;
1588
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1589
  label: string;
1589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
+ id: string;
1590
1591
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1592
  locator?: string | undefined;
1592
1593
  }>, "many">>;
@@ -1595,9 +1596,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1595
1596
  statement: string;
1596
1597
  rationale: string;
1597
1598
  evidence: {
1598
- id: string;
1599
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1599
1600
  label: string;
1600
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1601
+ id: string;
1601
1602
  capture: "at_action" | "historical_lookup" | "fixture";
1602
1603
  locator?: string | undefined;
1603
1604
  }[];
@@ -1616,9 +1617,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1616
1617
  supersedesDecisionIds: string[];
1617
1618
  proposedBy: string;
1618
1619
  evidence?: {
1619
- id: string;
1620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
1621
  label: string;
1621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
+ id: string;
1622
1623
  capture: "at_action" | "historical_lookup" | "fixture";
1623
1624
  locator?: string | undefined;
1624
1625
  }[] | undefined;
@@ -1630,13 +1631,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1630
1631
  id: z.ZodString;
1631
1632
  label: z.ZodString;
1632
1633
  }, "strict", z.ZodTypeAny, {
1633
- id: string;
1634
- label: string;
1635
1634
  kind: "agent" | "human";
1636
- }, {
1637
- id: string;
1638
1635
  label: string;
1636
+ id: string;
1637
+ }, {
1639
1638
  kind: "agent" | "human";
1639
+ label: string;
1640
+ id: string;
1640
1641
  }>;
1641
1642
  note: z.ZodOptional<z.ZodString>;
1642
1643
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1646,47 +1647,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1646
1647
  locator: z.ZodOptional<z.ZodString>;
1647
1648
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1648
1649
  }, "strict", z.ZodTypeAny, {
1649
- id: string;
1650
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1650
1651
  label: string;
1651
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1652
+ id: string;
1652
1653
  capture: "at_action" | "historical_lookup" | "fixture";
1653
1654
  locator?: string | undefined;
1654
1655
  }, {
1655
- id: string;
1656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1657
  label: string;
1657
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1658
+ id: string;
1658
1659
  capture: "at_action" | "historical_lookup" | "fixture";
1659
1660
  locator?: string | undefined;
1660
1661
  }>, "many">>;
1661
1662
  }, "strict", z.ZodTypeAny, {
1662
1663
  kind: "correction_approved";
1663
1664
  evidence: {
1664
- id: string;
1665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1665
1666
  label: string;
1666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1667
+ id: string;
1667
1668
  capture: "at_action" | "historical_lookup" | "fixture";
1668
1669
  locator?: string | undefined;
1669
1670
  }[];
1670
1671
  correctionId: string;
1671
1672
  approvedBy: {
1672
- id: string;
1673
- label: string;
1674
1673
  kind: "agent" | "human";
1674
+ label: string;
1675
+ id: string;
1675
1676
  };
1676
1677
  note?: string | undefined;
1677
1678
  }, {
1678
1679
  kind: "correction_approved";
1679
1680
  correctionId: string;
1680
1681
  approvedBy: {
1681
- id: string;
1682
- label: string;
1683
1682
  kind: "agent" | "human";
1683
+ label: string;
1684
+ id: string;
1684
1685
  };
1685
1686
  note?: string | undefined;
1686
1687
  evidence?: {
1687
- id: string;
1688
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1688
1689
  label: string;
1689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1690
+ id: string;
1690
1691
  capture: "at_action" | "historical_lookup" | "fixture";
1691
1692
  locator?: string | undefined;
1692
1693
  }[] | undefined;
@@ -1702,24 +1703,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1702
1703
  locator: z.ZodOptional<z.ZodString>;
1703
1704
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1704
1705
  }, "strict", z.ZodTypeAny, {
1705
- id: string;
1706
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1706
1707
  label: string;
1707
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1708
+ id: string;
1708
1709
  capture: "at_action" | "historical_lookup" | "fixture";
1709
1710
  locator?: string | undefined;
1710
1711
  }, {
1711
- id: string;
1712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1713
  label: string;
1713
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
+ id: string;
1714
1715
  capture: "at_action" | "historical_lookup" | "fixture";
1715
1716
  locator?: string | undefined;
1716
1717
  }>, "many">>;
1717
1718
  }, "strict", z.ZodTypeAny, {
1718
1719
  kind: "decision_superseded";
1719
1720
  evidence: {
1720
- id: string;
1721
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1721
1722
  label: string;
1722
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1723
+ id: string;
1723
1724
  capture: "at_action" | "historical_lookup" | "fixture";
1724
1725
  locator?: string | undefined;
1725
1726
  }[];
@@ -1732,9 +1733,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1732
1733
  correctionId: string;
1733
1734
  replacementDecisionId: string;
1734
1735
  evidence?: {
1735
- id: string;
1736
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1736
1737
  label: string;
1737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1738
+ id: string;
1738
1739
  capture: "at_action" | "historical_lookup" | "fixture";
1739
1740
  locator?: string | undefined;
1740
1741
  }[] | undefined;
@@ -1750,15 +1751,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1750
1751
  locator: z.ZodOptional<z.ZodString>;
1751
1752
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1752
1753
  }, "strict", z.ZodTypeAny, {
1753
- id: string;
1754
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1754
1755
  label: string;
1755
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1756
+ id: string;
1756
1757
  capture: "at_action" | "historical_lookup" | "fixture";
1757
1758
  locator?: string | undefined;
1758
1759
  }, {
1759
- id: string;
1760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1761
  label: string;
1761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
+ id: string;
1762
1763
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1764
  locator?: string | undefined;
1764
1765
  }>, "many">>;
@@ -1771,9 +1772,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1771
1772
  agentId: string;
1772
1773
  sessionId: string;
1773
1774
  evidence: {
1774
- id: string;
1775
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1775
1776
  label: string;
1776
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1777
+ id: string;
1777
1778
  capture: "at_action" | "historical_lookup" | "fixture";
1778
1779
  locator?: string | undefined;
1779
1780
  }[];
@@ -1789,9 +1790,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1789
1790
  recallReceiptId: string;
1790
1791
  capturedAtAction: boolean;
1791
1792
  evidence?: {
1792
- id: string;
1793
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1793
1794
  label: string;
1794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1795
+ id: string;
1795
1796
  capture: "at_action" | "historical_lookup" | "fixture";
1796
1797
  locator?: string | undefined;
1797
1798
  }[] | undefined;
@@ -1807,15 +1808,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1807
1808
  locator: z.ZodOptional<z.ZodString>;
1808
1809
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1809
1810
  }, "strict", z.ZodTypeAny, {
1810
- id: string;
1811
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1811
1812
  label: string;
1812
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1813
+ id: string;
1813
1814
  capture: "at_action" | "historical_lookup" | "fixture";
1814
1815
  locator?: string | undefined;
1815
1816
  }, {
1816
- id: string;
1817
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
1818
  label: string;
1818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
+ id: string;
1819
1820
  capture: "at_action" | "historical_lookup" | "fixture";
1820
1821
  locator?: string | undefined;
1821
1822
  }>, "many">>;
@@ -1827,9 +1828,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1827
1828
  agentId: string;
1828
1829
  sessionId: string;
1829
1830
  evidence: {
1830
- id: string;
1831
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1832
  label: string;
1832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1833
+ id: string;
1833
1834
  capture: "at_action" | "historical_lookup" | "fixture";
1834
1835
  locator?: string | undefined;
1835
1836
  }[];
@@ -1846,9 +1847,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1846
1847
  recallReceiptId: string;
1847
1848
  staleDecisionAbsent: boolean;
1848
1849
  evidence?: {
1849
- id: string;
1850
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1850
1851
  label: string;
1851
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1852
+ id: string;
1852
1853
  capture: "at_action" | "historical_lookup" | "fixture";
1853
1854
  locator?: string | undefined;
1854
1855
  }[] | undefined;
@@ -1863,37 +1864,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1863
1864
  locator: z.ZodOptional<z.ZodString>;
1864
1865
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1865
1866
  }, "strict", z.ZodTypeAny, {
1866
- id: string;
1867
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1867
1868
  label: string;
1868
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1869
+ id: string;
1869
1870
  capture: "at_action" | "historical_lookup" | "fixture";
1870
1871
  locator?: string | undefined;
1871
1872
  }, {
1872
- id: string;
1873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1874
  label: string;
1874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1875
+ id: string;
1875
1876
  capture: "at_action" | "historical_lookup" | "fixture";
1876
1877
  locator?: string | undefined;
1877
1878
  }>, "many">>;
1878
1879
  }, "strict", z.ZodTypeAny, {
1879
- summary: string;
1880
1880
  kind: "mission_completed";
1881
+ summary: string;
1881
1882
  outcome: "failed" | "recovered" | "inconclusive";
1882
1883
  evidence: {
1883
- id: string;
1884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
1885
  label: string;
1885
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1886
+ id: string;
1886
1887
  capture: "at_action" | "historical_lookup" | "fixture";
1887
1888
  locator?: string | undefined;
1888
1889
  }[];
1889
1890
  }, {
1890
- summary: string;
1891
1891
  kind: "mission_completed";
1892
+ summary: string;
1892
1893
  outcome: "failed" | "recovered" | "inconclusive";
1893
1894
  evidence?: {
1894
- id: string;
1895
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1895
1896
  label: string;
1896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1897
+ id: string;
1897
1898
  capture: "at_action" | "historical_lookup" | "fixture";
1898
1899
  locator?: string | undefined;
1899
1900
  }[] | undefined;
@@ -1901,38 +1902,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1901
1902
  kind: "mission_started";
1902
1903
  title: string;
1903
1904
  evidence: {
1904
- id: string;
1905
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1906
  label: string;
1906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
+ id: string;
1907
1908
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1909
  locator?: string | undefined;
1909
1910
  }[];
1910
1911
  objective: string;
1911
1912
  runMode: "replay" | "fixture" | "live";
1912
1913
  } | {
1913
- label: string;
1914
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1915
1914
  kind: "agent_status";
1915
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1916
+ label: string;
1916
1917
  role: string;
1917
1918
  agentId: string;
1918
1919
  sessionId: string;
1919
1920
  evidence: {
1920
- id: string;
1921
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1921
1922
  label: string;
1922
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1923
+ id: string;
1923
1924
  capture: "at_action" | "historical_lookup" | "fixture";
1924
1925
  locator?: string | undefined;
1925
1926
  }[];
1926
1927
  detail?: string | undefined;
1927
1928
  } | {
1928
- summary: string;
1929
1929
  kind: "agent_output";
1930
+ summary: string;
1930
1931
  agentId: string;
1931
1932
  sessionId: string;
1932
1933
  evidence: {
1933
- id: string;
1934
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
1935
  label: string;
1935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1936
+ id: string;
1936
1937
  capture: "at_action" | "historical_lookup" | "fixture";
1937
1938
  locator?: string | undefined;
1938
1939
  }[];
@@ -1943,9 +1944,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1943
1944
  statement: string;
1944
1945
  sessionId: string;
1945
1946
  evidence: {
1946
- id: string;
1947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
1948
  label: string;
1948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
+ id: string;
1949
1950
  capture: "at_action" | "historical_lookup" | "fixture";
1950
1951
  locator?: string | undefined;
1951
1952
  }[];
@@ -1953,12 +1954,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1953
1954
  decisionId: string;
1954
1955
  confidence?: number | undefined;
1955
1956
  } | {
1956
- summary: string;
1957
1957
  kind: "conflict_detected";
1958
+ summary: string;
1958
1959
  evidence: {
1959
- id: string;
1960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
1961
  label: string;
1961
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1962
+ id: string;
1962
1963
  capture: "at_action" | "historical_lookup" | "fixture";
1963
1964
  locator?: string | undefined;
1964
1965
  }[];
@@ -1966,14 +1967,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1966
1967
  decisionIds: string[];
1967
1968
  agentIds: string[];
1968
1969
  } | {
1970
+ kind: "test_result";
1969
1971
  summary: string;
1970
1972
  status: "error" | "failed" | "passed";
1971
- kind: "test_result";
1972
1973
  command: string;
1973
1974
  evidence: {
1974
- id: string;
1975
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1975
1976
  label: string;
1976
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1977
+ id: string;
1977
1978
  capture: "at_action" | "historical_lookup" | "fixture";
1978
1979
  locator?: string | undefined;
1979
1980
  }[];
@@ -1986,9 +1987,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1986
1987
  statement: string;
1987
1988
  rationale: string;
1988
1989
  evidence: {
1989
- id: string;
1990
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1990
1991
  label: string;
1991
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1992
+ id: string;
1992
1993
  capture: "at_action" | "historical_lookup" | "fixture";
1993
1994
  locator?: string | undefined;
1994
1995
  }[];
@@ -2000,25 +2001,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2000
2001
  } | {
2001
2002
  kind: "correction_approved";
2002
2003
  evidence: {
2003
- id: string;
2004
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2004
2005
  label: string;
2005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2006
+ id: string;
2006
2007
  capture: "at_action" | "historical_lookup" | "fixture";
2007
2008
  locator?: string | undefined;
2008
2009
  }[];
2009
2010
  correctionId: string;
2010
2011
  approvedBy: {
2011
- id: string;
2012
- label: string;
2013
2012
  kind: "agent" | "human";
2013
+ label: string;
2014
+ id: string;
2014
2015
  };
2015
2016
  note?: string | undefined;
2016
2017
  } | {
2017
2018
  kind: "decision_superseded";
2018
2019
  evidence: {
2019
- id: string;
2020
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2020
2021
  label: string;
2021
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2022
+ id: string;
2022
2023
  capture: "at_action" | "historical_lookup" | "fixture";
2023
2024
  locator?: string | undefined;
2024
2025
  }[];
@@ -2031,9 +2032,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2031
2032
  agentId: string;
2032
2033
  sessionId: string;
2033
2034
  evidence: {
2034
- id: string;
2035
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
2036
  label: string;
2036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
+ id: string;
2037
2038
  capture: "at_action" | "historical_lookup" | "fixture";
2038
2039
  locator?: string | undefined;
2039
2040
  }[];
@@ -2045,9 +2046,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2045
2046
  agentId: string;
2046
2047
  sessionId: string;
2047
2048
  evidence: {
2048
- id: string;
2049
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2049
2050
  label: string;
2050
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2051
+ id: string;
2051
2052
  capture: "at_action" | "historical_lookup" | "fixture";
2052
2053
  locator?: string | undefined;
2053
2054
  }[];
@@ -2056,13 +2057,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2056
2057
  recallReceiptId: string;
2057
2058
  staleDecisionAbsent: boolean;
2058
2059
  } | {
2059
- summary: string;
2060
2060
  kind: "mission_completed";
2061
+ summary: string;
2061
2062
  outcome: "failed" | "recovered" | "inconclusive";
2062
2063
  evidence: {
2063
- id: string;
2064
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2064
2065
  label: string;
2065
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2066
+ id: string;
2066
2067
  capture: "at_action" | "historical_lookup" | "fixture";
2067
2068
  locator?: string | undefined;
2068
2069
  }[];
@@ -2072,37 +2073,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2072
2073
  objective: string;
2073
2074
  runMode: "replay" | "fixture" | "live";
2074
2075
  evidence?: {
2075
- id: string;
2076
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
2077
  label: string;
2077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2078
+ id: string;
2078
2079
  capture: "at_action" | "historical_lookup" | "fixture";
2079
2080
  locator?: string | undefined;
2080
2081
  }[] | undefined;
2081
2082
  } | {
2082
- label: string;
2083
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2084
2083
  kind: "agent_status";
2084
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2085
+ label: string;
2085
2086
  role: string;
2086
2087
  agentId: string;
2087
2088
  sessionId: string;
2088
2089
  detail?: string | undefined;
2089
2090
  evidence?: {
2090
- id: string;
2091
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2091
2092
  label: string;
2092
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2093
+ id: string;
2093
2094
  capture: "at_action" | "historical_lookup" | "fixture";
2094
2095
  locator?: string | undefined;
2095
2096
  }[] | undefined;
2096
2097
  } | {
2097
- summary: string;
2098
2098
  kind: "agent_output";
2099
+ summary: string;
2099
2100
  agentId: string;
2100
2101
  sessionId: string;
2101
2102
  outputId: string;
2102
2103
  evidence?: {
2103
- id: string;
2104
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2104
2105
  label: string;
2105
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2106
+ id: string;
2106
2107
  capture: "at_action" | "historical_lookup" | "fixture";
2107
2108
  locator?: string | undefined;
2108
2109
  }[] | undefined;
@@ -2115,37 +2116,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2115
2116
  decisionId: string;
2116
2117
  confidence?: number | undefined;
2117
2118
  evidence?: {
2118
- id: string;
2119
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
2120
  label: string;
2120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
+ id: string;
2121
2122
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2123
  locator?: string | undefined;
2123
2124
  }[] | undefined;
2124
2125
  } | {
2125
- summary: string;
2126
2126
  kind: "conflict_detected";
2127
+ summary: string;
2127
2128
  conflictId: string;
2128
2129
  decisionIds: string[];
2129
2130
  agentIds: string[];
2130
2131
  evidence?: {
2131
- id: string;
2132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2132
2133
  label: string;
2133
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2134
+ id: string;
2134
2135
  capture: "at_action" | "historical_lookup" | "fixture";
2135
2136
  locator?: string | undefined;
2136
2137
  }[] | undefined;
2137
2138
  } | {
2139
+ kind: "test_result";
2138
2140
  summary: string;
2139
2141
  status: "error" | "failed" | "passed";
2140
- kind: "test_result";
2141
2142
  command: string;
2142
2143
  decisionId: string;
2143
2144
  testId: string;
2144
2145
  durationMs?: number | undefined;
2145
2146
  evidence?: {
2146
- id: string;
2147
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2147
2148
  label: string;
2148
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2149
+ id: string;
2149
2150
  capture: "at_action" | "historical_lookup" | "fixture";
2150
2151
  locator?: string | undefined;
2151
2152
  }[] | undefined;
@@ -2160,9 +2161,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2160
2161
  supersedesDecisionIds: string[];
2161
2162
  proposedBy: string;
2162
2163
  evidence?: {
2163
- id: string;
2164
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2164
2165
  label: string;
2165
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2166
+ id: string;
2166
2167
  capture: "at_action" | "historical_lookup" | "fixture";
2167
2168
  locator?: string | undefined;
2168
2169
  }[] | undefined;
@@ -2170,15 +2171,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2170
2171
  kind: "correction_approved";
2171
2172
  correctionId: string;
2172
2173
  approvedBy: {
2173
- id: string;
2174
- label: string;
2175
2174
  kind: "agent" | "human";
2175
+ label: string;
2176
+ id: string;
2176
2177
  };
2177
2178
  note?: string | undefined;
2178
2179
  evidence?: {
2179
- id: string;
2180
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2180
2181
  label: string;
2181
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2182
+ id: string;
2182
2183
  capture: "at_action" | "historical_lookup" | "fixture";
2183
2184
  locator?: string | undefined;
2184
2185
  }[] | undefined;
@@ -2188,9 +2189,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2188
2189
  correctionId: string;
2189
2190
  replacementDecisionId: string;
2190
2191
  evidence?: {
2191
- id: string;
2192
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2193
  label: string;
2193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2194
+ id: string;
2194
2195
  capture: "at_action" | "historical_lookup" | "fixture";
2195
2196
  locator?: string | undefined;
2196
2197
  }[] | undefined;
@@ -2203,9 +2204,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2203
2204
  recallReceiptId: string;
2204
2205
  capturedAtAction: boolean;
2205
2206
  evidence?: {
2206
- id: string;
2207
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2207
2208
  label: string;
2208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2209
+ id: string;
2209
2210
  capture: "at_action" | "historical_lookup" | "fixture";
2210
2211
  locator?: string | undefined;
2211
2212
  }[] | undefined;
@@ -2218,20 +2219,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2218
2219
  recallReceiptId: string;
2219
2220
  staleDecisionAbsent: boolean;
2220
2221
  evidence?: {
2221
- id: string;
2222
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2222
2223
  label: string;
2223
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2224
+ id: string;
2224
2225
  capture: "at_action" | "historical_lookup" | "fixture";
2225
2226
  locator?: string | undefined;
2226
2227
  }[] | undefined;
2227
2228
  } | {
2228
- summary: string;
2229
2229
  kind: "mission_completed";
2230
+ summary: string;
2230
2231
  outcome: "failed" | "recovered" | "inconclusive";
2231
2232
  evidence?: {
2232
- id: string;
2233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
2234
  label: string;
2234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2235
+ id: string;
2235
2236
  capture: "at_action" | "historical_lookup" | "fixture";
2236
2237
  locator?: string | undefined;
2237
2238
  }[] | undefined;
@@ -2252,15 +2253,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2252
2253
  locator: z.ZodOptional<z.ZodString>;
2253
2254
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2254
2255
  }, "strict", z.ZodTypeAny, {
2255
- id: string;
2256
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2256
2257
  label: string;
2257
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2258
+ id: string;
2258
2259
  capture: "at_action" | "historical_lookup" | "fixture";
2259
2260
  locator?: string | undefined;
2260
2261
  }, {
2261
- id: string;
2262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2263
  label: string;
2263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2264
+ id: string;
2264
2265
  capture: "at_action" | "historical_lookup" | "fixture";
2265
2266
  locator?: string | undefined;
2266
2267
  }>, "many">>;
@@ -2268,9 +2269,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2268
2269
  kind: "mission_started";
2269
2270
  title: string;
2270
2271
  evidence: {
2271
- id: string;
2272
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
2273
  label: string;
2273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2274
+ id: string;
2274
2275
  capture: "at_action" | "historical_lookup" | "fixture";
2275
2276
  locator?: string | undefined;
2276
2277
  }[];
@@ -2282,9 +2283,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2282
2283
  objective: string;
2283
2284
  runMode: "replay" | "fixture" | "live";
2284
2285
  evidence?: {
2285
- id: string;
2286
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
2287
  label: string;
2287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2288
+ id: string;
2288
2289
  capture: "at_action" | "historical_lookup" | "fixture";
2289
2290
  locator?: string | undefined;
2290
2291
  }[] | undefined;
@@ -2300,15 +2301,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2300
2301
  locator: z.ZodOptional<z.ZodString>;
2301
2302
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2302
2303
  }, "strict", z.ZodTypeAny, {
2303
- id: string;
2304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2304
2305
  label: string;
2305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2306
+ id: string;
2306
2307
  capture: "at_action" | "historical_lookup" | "fixture";
2307
2308
  locator?: string | undefined;
2308
2309
  }, {
2309
- id: string;
2310
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
2311
  label: string;
2311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
+ id: string;
2312
2313
  capture: "at_action" | "historical_lookup" | "fixture";
2313
2314
  locator?: string | undefined;
2314
2315
  }>, "many">>;
@@ -2316,32 +2317,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2316
2317
  sessionId: z.ZodString;
2317
2318
  kind: z.ZodLiteral<"agent_status">;
2318
2319
  }, "strict", z.ZodTypeAny, {
2319
- label: string;
2320
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2321
2320
  kind: "agent_status";
2321
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2322
+ label: string;
2322
2323
  role: string;
2323
2324
  agentId: string;
2324
2325
  sessionId: string;
2325
2326
  evidence: {
2326
- id: string;
2327
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2327
2328
  label: string;
2328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2329
+ id: string;
2329
2330
  capture: "at_action" | "historical_lookup" | "fixture";
2330
2331
  locator?: string | undefined;
2331
2332
  }[];
2332
2333
  detail?: string | undefined;
2333
2334
  }, {
2334
- label: string;
2335
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2336
2335
  kind: "agent_status";
2336
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2337
+ label: string;
2337
2338
  role: string;
2338
2339
  agentId: string;
2339
2340
  sessionId: string;
2340
2341
  detail?: string | undefined;
2341
2342
  evidence?: {
2342
- id: string;
2343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2343
2344
  label: string;
2344
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2345
+ id: string;
2345
2346
  capture: "at_action" | "historical_lookup" | "fixture";
2346
2347
  locator?: string | undefined;
2347
2348
  }[] | undefined;
@@ -2355,15 +2356,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2355
2356
  locator: z.ZodOptional<z.ZodString>;
2356
2357
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2357
2358
  }, "strict", z.ZodTypeAny, {
2358
- id: string;
2359
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2359
2360
  label: string;
2360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2361
+ id: string;
2361
2362
  capture: "at_action" | "historical_lookup" | "fixture";
2362
2363
  locator?: string | undefined;
2363
2364
  }, {
2364
- id: string;
2365
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2366
  label: string;
2366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2367
+ id: string;
2367
2368
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2369
  locator?: string | undefined;
2369
2370
  }>, "many">>;
@@ -2371,28 +2372,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2371
2372
  sessionId: z.ZodString;
2372
2373
  kind: z.ZodLiteral<"agent_output">;
2373
2374
  }, "strict", z.ZodTypeAny, {
2374
- summary: string;
2375
2375
  kind: "agent_output";
2376
+ summary: string;
2376
2377
  agentId: string;
2377
2378
  sessionId: string;
2378
2379
  evidence: {
2379
- id: string;
2380
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2380
2381
  label: string;
2381
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
+ id: string;
2382
2383
  capture: "at_action" | "historical_lookup" | "fixture";
2383
2384
  locator?: string | undefined;
2384
2385
  }[];
2385
2386
  outputId: string;
2386
2387
  }, {
2387
- summary: string;
2388
2388
  kind: "agent_output";
2389
+ summary: string;
2389
2390
  agentId: string;
2390
2391
  sessionId: string;
2391
2392
  outputId: string;
2392
2393
  evidence?: {
2393
- id: string;
2394
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
2395
  label: string;
2395
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2396
+ id: string;
2396
2397
  capture: "at_action" | "historical_lookup" | "fixture";
2397
2398
  locator?: string | undefined;
2398
2399
  }[] | undefined;
@@ -2408,15 +2409,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2408
2409
  locator: z.ZodOptional<z.ZodString>;
2409
2410
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2410
2411
  }, "strict", z.ZodTypeAny, {
2411
- id: string;
2412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2412
2413
  label: string;
2413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2414
+ id: string;
2414
2415
  capture: "at_action" | "historical_lookup" | "fixture";
2415
2416
  locator?: string | undefined;
2416
2417
  }, {
2417
- id: string;
2418
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2419
  label: string;
2419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2420
+ id: string;
2420
2421
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2422
  locator?: string | undefined;
2422
2423
  }>, "many">>;
@@ -2429,9 +2430,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2429
2430
  statement: string;
2430
2431
  sessionId: string;
2431
2432
  evidence: {
2432
- id: string;
2433
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
2434
  label: string;
2434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2435
+ id: string;
2435
2436
  capture: "at_action" | "historical_lookup" | "fixture";
2436
2437
  locator?: string | undefined;
2437
2438
  }[];
@@ -2447,9 +2448,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2447
2448
  decisionId: string;
2448
2449
  confidence?: number | undefined;
2449
2450
  evidence?: {
2450
- id: string;
2451
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2451
2452
  label: string;
2452
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2453
+ id: string;
2453
2454
  capture: "at_action" | "historical_lookup" | "fixture";
2454
2455
  locator?: string | undefined;
2455
2456
  }[] | undefined;
@@ -2466,25 +2467,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2466
2467
  locator: z.ZodOptional<z.ZodString>;
2467
2468
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2468
2469
  }, "strict", z.ZodTypeAny, {
2469
- id: string;
2470
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2470
2471
  label: string;
2471
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2472
+ id: string;
2472
2473
  capture: "at_action" | "historical_lookup" | "fixture";
2473
2474
  locator?: string | undefined;
2474
2475
  }, {
2475
- id: string;
2476
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2477
  label: string;
2477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2478
+ id: string;
2478
2479
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2480
  locator?: string | undefined;
2480
2481
  }>, "many">>;
2481
2482
  }, "strict", z.ZodTypeAny, {
2482
- summary: string;
2483
2483
  kind: "conflict_detected";
2484
+ summary: string;
2484
2485
  evidence: {
2485
- id: string;
2486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2487
  label: string;
2487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2488
+ id: string;
2488
2489
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2490
  locator?: string | undefined;
2490
2491
  }[];
@@ -2492,15 +2493,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2492
2493
  decisionIds: string[];
2493
2494
  agentIds: string[];
2494
2495
  }, {
2495
- summary: string;
2496
2496
  kind: "conflict_detected";
2497
+ summary: string;
2497
2498
  conflictId: string;
2498
2499
  decisionIds: string[];
2499
2500
  agentIds: string[];
2500
2501
  evidence?: {
2501
- id: string;
2502
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
2503
  label: string;
2503
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
+ id: string;
2504
2505
  capture: "at_action" | "historical_lookup" | "fixture";
2505
2506
  locator?: string | undefined;
2506
2507
  }[] | undefined;
@@ -2520,27 +2521,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2520
2521
  locator: z.ZodOptional<z.ZodString>;
2521
2522
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2522
2523
  }, "strict", z.ZodTypeAny, {
2523
- id: string;
2524
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2524
2525
  label: string;
2525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2526
+ id: string;
2526
2527
  capture: "at_action" | "historical_lookup" | "fixture";
2527
2528
  locator?: string | undefined;
2528
2529
  }, {
2529
- id: string;
2530
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
2531
  label: string;
2531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2532
+ id: string;
2532
2533
  capture: "at_action" | "historical_lookup" | "fixture";
2533
2534
  locator?: string | undefined;
2534
2535
  }>, "many">>;
2535
2536
  }, "strict", z.ZodTypeAny, {
2537
+ kind: "test_result";
2536
2538
  summary: string;
2537
2539
  status: "error" | "failed" | "passed";
2538
- kind: "test_result";
2539
2540
  command: string;
2540
2541
  evidence: {
2541
- id: string;
2542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2543
  label: string;
2543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
+ id: string;
2544
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2546
  locator?: string | undefined;
2546
2547
  }[];
@@ -2549,17 +2550,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2549
2550
  durationMs?: number | undefined;
2550
2551
  correctionId?: string | undefined;
2551
2552
  }, {
2553
+ kind: "test_result";
2552
2554
  summary: string;
2553
2555
  status: "error" | "failed" | "passed";
2554
- kind: "test_result";
2555
2556
  command: string;
2556
2557
  decisionId: string;
2557
2558
  testId: string;
2558
2559
  durationMs?: number | undefined;
2559
2560
  evidence?: {
2560
- id: string;
2561
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2561
2562
  label: string;
2562
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2563
+ id: string;
2563
2564
  capture: "at_action" | "historical_lookup" | "fixture";
2564
2565
  locator?: string | undefined;
2565
2566
  }[] | undefined;
@@ -2580,15 +2581,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2580
2581
  locator: z.ZodOptional<z.ZodString>;
2581
2582
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2582
2583
  }, "strict", z.ZodTypeAny, {
2583
- id: string;
2584
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2584
2585
  label: string;
2585
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2586
+ id: string;
2586
2587
  capture: "at_action" | "historical_lookup" | "fixture";
2587
2588
  locator?: string | undefined;
2588
2589
  }, {
2589
- id: string;
2590
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2591
  label: string;
2591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
+ id: string;
2592
2593
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2594
  locator?: string | undefined;
2594
2595
  }>, "many">>;
@@ -2597,9 +2598,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2597
2598
  statement: string;
2598
2599
  rationale: string;
2599
2600
  evidence: {
2600
- id: string;
2601
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2601
2602
  label: string;
2602
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2603
+ id: string;
2603
2604
  capture: "at_action" | "historical_lookup" | "fixture";
2604
2605
  locator?: string | undefined;
2605
2606
  }[];
@@ -2618,9 +2619,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2618
2619
  supersedesDecisionIds: string[];
2619
2620
  proposedBy: string;
2620
2621
  evidence?: {
2621
- id: string;
2622
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
2623
  label: string;
2623
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
+ id: string;
2624
2625
  capture: "at_action" | "historical_lookup" | "fixture";
2625
2626
  locator?: string | undefined;
2626
2627
  }[] | undefined;
@@ -2632,13 +2633,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2632
2633
  id: z.ZodString;
2633
2634
  label: z.ZodString;
2634
2635
  }, "strict", z.ZodTypeAny, {
2635
- id: string;
2636
- label: string;
2637
2636
  kind: "agent" | "human";
2638
- }, {
2639
- id: string;
2640
2637
  label: string;
2638
+ id: string;
2639
+ }, {
2641
2640
  kind: "agent" | "human";
2641
+ label: string;
2642
+ id: string;
2642
2643
  }>;
2643
2644
  note: z.ZodOptional<z.ZodString>;
2644
2645
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2648,47 +2649,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2648
2649
  locator: z.ZodOptional<z.ZodString>;
2649
2650
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2650
2651
  }, "strict", z.ZodTypeAny, {
2651
- id: string;
2652
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2652
2653
  label: string;
2653
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2654
+ id: string;
2654
2655
  capture: "at_action" | "historical_lookup" | "fixture";
2655
2656
  locator?: string | undefined;
2656
2657
  }, {
2657
- id: string;
2658
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2659
  label: string;
2659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2660
+ id: string;
2660
2661
  capture: "at_action" | "historical_lookup" | "fixture";
2661
2662
  locator?: string | undefined;
2662
2663
  }>, "many">>;
2663
2664
  }, "strict", z.ZodTypeAny, {
2664
2665
  kind: "correction_approved";
2665
2666
  evidence: {
2666
- id: string;
2667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2667
2668
  label: string;
2668
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2669
+ id: string;
2669
2670
  capture: "at_action" | "historical_lookup" | "fixture";
2670
2671
  locator?: string | undefined;
2671
2672
  }[];
2672
2673
  correctionId: string;
2673
2674
  approvedBy: {
2674
- id: string;
2675
- label: string;
2676
2675
  kind: "agent" | "human";
2676
+ label: string;
2677
+ id: string;
2677
2678
  };
2678
2679
  note?: string | undefined;
2679
2680
  }, {
2680
2681
  kind: "correction_approved";
2681
2682
  correctionId: string;
2682
2683
  approvedBy: {
2683
- id: string;
2684
- label: string;
2685
2684
  kind: "agent" | "human";
2685
+ label: string;
2686
+ id: string;
2686
2687
  };
2687
2688
  note?: string | undefined;
2688
2689
  evidence?: {
2689
- id: string;
2690
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2690
2691
  label: string;
2691
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2692
+ id: string;
2692
2693
  capture: "at_action" | "historical_lookup" | "fixture";
2693
2694
  locator?: string | undefined;
2694
2695
  }[] | undefined;
@@ -2704,24 +2705,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2704
2705
  locator: z.ZodOptional<z.ZodString>;
2705
2706
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2706
2707
  }, "strict", z.ZodTypeAny, {
2707
- id: string;
2708
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2708
2709
  label: string;
2709
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2710
+ id: string;
2710
2711
  capture: "at_action" | "historical_lookup" | "fixture";
2711
2712
  locator?: string | undefined;
2712
2713
  }, {
2713
- id: string;
2714
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2715
  label: string;
2715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
+ id: string;
2716
2717
  capture: "at_action" | "historical_lookup" | "fixture";
2717
2718
  locator?: string | undefined;
2718
2719
  }>, "many">>;
2719
2720
  }, "strict", z.ZodTypeAny, {
2720
2721
  kind: "decision_superseded";
2721
2722
  evidence: {
2722
- id: string;
2723
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2723
2724
  label: string;
2724
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2725
+ id: string;
2725
2726
  capture: "at_action" | "historical_lookup" | "fixture";
2726
2727
  locator?: string | undefined;
2727
2728
  }[];
@@ -2734,9 +2735,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2734
2735
  correctionId: string;
2735
2736
  replacementDecisionId: string;
2736
2737
  evidence?: {
2737
- id: string;
2738
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2738
2739
  label: string;
2739
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2740
+ id: string;
2740
2741
  capture: "at_action" | "historical_lookup" | "fixture";
2741
2742
  locator?: string | undefined;
2742
2743
  }[] | undefined;
@@ -2752,15 +2753,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2752
2753
  locator: z.ZodOptional<z.ZodString>;
2753
2754
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2754
2755
  }, "strict", z.ZodTypeAny, {
2755
- id: string;
2756
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2756
2757
  label: string;
2757
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2758
+ id: string;
2758
2759
  capture: "at_action" | "historical_lookup" | "fixture";
2759
2760
  locator?: string | undefined;
2760
2761
  }, {
2761
- id: string;
2762
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2763
  label: string;
2763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
+ id: string;
2764
2765
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2766
  locator?: string | undefined;
2766
2767
  }>, "many">>;
@@ -2773,9 +2774,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2773
2774
  agentId: string;
2774
2775
  sessionId: string;
2775
2776
  evidence: {
2776
- id: string;
2777
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2777
2778
  label: string;
2778
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2779
+ id: string;
2779
2780
  capture: "at_action" | "historical_lookup" | "fixture";
2780
2781
  locator?: string | undefined;
2781
2782
  }[];
@@ -2791,9 +2792,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2791
2792
  recallReceiptId: string;
2792
2793
  capturedAtAction: boolean;
2793
2794
  evidence?: {
2794
- id: string;
2795
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2795
2796
  label: string;
2796
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2797
+ id: string;
2797
2798
  capture: "at_action" | "historical_lookup" | "fixture";
2798
2799
  locator?: string | undefined;
2799
2800
  }[] | undefined;
@@ -2809,15 +2810,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2809
2810
  locator: z.ZodOptional<z.ZodString>;
2810
2811
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2811
2812
  }, "strict", z.ZodTypeAny, {
2812
- id: string;
2813
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2813
2814
  label: string;
2814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2815
+ id: string;
2815
2816
  capture: "at_action" | "historical_lookup" | "fixture";
2816
2817
  locator?: string | undefined;
2817
2818
  }, {
2818
- id: string;
2819
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
2820
  label: string;
2820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
+ id: string;
2821
2822
  capture: "at_action" | "historical_lookup" | "fixture";
2822
2823
  locator?: string | undefined;
2823
2824
  }>, "many">>;
@@ -2829,9 +2830,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2829
2830
  agentId: string;
2830
2831
  sessionId: string;
2831
2832
  evidence: {
2832
- id: string;
2833
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2834
  label: string;
2834
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2835
+ id: string;
2835
2836
  capture: "at_action" | "historical_lookup" | "fixture";
2836
2837
  locator?: string | undefined;
2837
2838
  }[];
@@ -2848,9 +2849,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2848
2849
  recallReceiptId: string;
2849
2850
  staleDecisionAbsent: boolean;
2850
2851
  evidence?: {
2851
- id: string;
2852
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2852
2853
  label: string;
2853
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2854
+ id: string;
2854
2855
  capture: "at_action" | "historical_lookup" | "fixture";
2855
2856
  locator?: string | undefined;
2856
2857
  }[] | undefined;
@@ -2865,37 +2866,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2865
2866
  locator: z.ZodOptional<z.ZodString>;
2866
2867
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2867
2868
  }, "strict", z.ZodTypeAny, {
2868
- id: string;
2869
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2869
2870
  label: string;
2870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2871
+ id: string;
2871
2872
  capture: "at_action" | "historical_lookup" | "fixture";
2872
2873
  locator?: string | undefined;
2873
2874
  }, {
2874
- id: string;
2875
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2876
  label: string;
2876
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2877
+ id: string;
2877
2878
  capture: "at_action" | "historical_lookup" | "fixture";
2878
2879
  locator?: string | undefined;
2879
2880
  }>, "many">>;
2880
2881
  }, "strict", z.ZodTypeAny, {
2881
- summary: string;
2882
2882
  kind: "mission_completed";
2883
+ summary: string;
2883
2884
  outcome: "failed" | "recovered" | "inconclusive";
2884
2885
  evidence: {
2885
- id: string;
2886
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
2887
  label: string;
2887
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2888
+ id: string;
2888
2889
  capture: "at_action" | "historical_lookup" | "fixture";
2889
2890
  locator?: string | undefined;
2890
2891
  }[];
2891
2892
  }, {
2892
- summary: string;
2893
2893
  kind: "mission_completed";
2894
+ summary: string;
2894
2895
  outcome: "failed" | "recovered" | "inconclusive";
2895
2896
  evidence?: {
2896
- id: string;
2897
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2897
2898
  label: string;
2898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2899
+ id: string;
2899
2900
  capture: "at_action" | "historical_lookup" | "fixture";
2900
2901
  locator?: string | undefined;
2901
2902
  }[] | undefined;
@@ -2903,38 +2904,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2903
2904
  kind: "mission_started";
2904
2905
  title: string;
2905
2906
  evidence: {
2906
- id: string;
2907
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
2908
  label: string;
2908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
+ id: string;
2909
2910
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2911
  locator?: string | undefined;
2911
2912
  }[];
2912
2913
  objective: string;
2913
2914
  runMode: "replay" | "fixture" | "live";
2914
2915
  } | {
2915
- label: string;
2916
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2917
2916
  kind: "agent_status";
2917
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2918
+ label: string;
2918
2919
  role: string;
2919
2920
  agentId: string;
2920
2921
  sessionId: string;
2921
2922
  evidence: {
2922
- id: string;
2923
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2923
2924
  label: string;
2924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2925
+ id: string;
2925
2926
  capture: "at_action" | "historical_lookup" | "fixture";
2926
2927
  locator?: string | undefined;
2927
2928
  }[];
2928
2929
  detail?: string | undefined;
2929
2930
  } | {
2930
- summary: string;
2931
2931
  kind: "agent_output";
2932
+ summary: string;
2932
2933
  agentId: string;
2933
2934
  sessionId: string;
2934
2935
  evidence: {
2935
- id: string;
2936
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
2937
  label: string;
2937
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2938
+ id: string;
2938
2939
  capture: "at_action" | "historical_lookup" | "fixture";
2939
2940
  locator?: string | undefined;
2940
2941
  }[];
@@ -2945,9 +2946,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2945
2946
  statement: string;
2946
2947
  sessionId: string;
2947
2948
  evidence: {
2948
- id: string;
2949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
2950
  label: string;
2950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
+ id: string;
2951
2952
  capture: "at_action" | "historical_lookup" | "fixture";
2952
2953
  locator?: string | undefined;
2953
2954
  }[];
@@ -2955,12 +2956,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2956
  decisionId: string;
2956
2957
  confidence?: number | undefined;
2957
2958
  } | {
2958
- summary: string;
2959
2959
  kind: "conflict_detected";
2960
+ summary: string;
2960
2961
  evidence: {
2961
- id: string;
2962
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
2963
  label: string;
2963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2964
+ id: string;
2964
2965
  capture: "at_action" | "historical_lookup" | "fixture";
2965
2966
  locator?: string | undefined;
2966
2967
  }[];
@@ -2968,14 +2969,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2968
2969
  decisionIds: string[];
2969
2970
  agentIds: string[];
2970
2971
  } | {
2972
+ kind: "test_result";
2971
2973
  summary: string;
2972
2974
  status: "error" | "failed" | "passed";
2973
- kind: "test_result";
2974
2975
  command: string;
2975
2976
  evidence: {
2976
- id: string;
2977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2977
2978
  label: string;
2978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2979
+ id: string;
2979
2980
  capture: "at_action" | "historical_lookup" | "fixture";
2980
2981
  locator?: string | undefined;
2981
2982
  }[];
@@ -2988,9 +2989,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2988
2989
  statement: string;
2989
2990
  rationale: string;
2990
2991
  evidence: {
2991
- id: string;
2992
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2992
2993
  label: string;
2993
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2994
+ id: string;
2994
2995
  capture: "at_action" | "historical_lookup" | "fixture";
2995
2996
  locator?: string | undefined;
2996
2997
  }[];
@@ -3002,25 +3003,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3002
3003
  } | {
3003
3004
  kind: "correction_approved";
3004
3005
  evidence: {
3005
- id: string;
3006
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3007
  label: string;
3007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3008
+ id: string;
3008
3009
  capture: "at_action" | "historical_lookup" | "fixture";
3009
3010
  locator?: string | undefined;
3010
3011
  }[];
3011
3012
  correctionId: string;
3012
3013
  approvedBy: {
3013
- id: string;
3014
- label: string;
3015
3014
  kind: "agent" | "human";
3015
+ label: string;
3016
+ id: string;
3016
3017
  };
3017
3018
  note?: string | undefined;
3018
3019
  } | {
3019
3020
  kind: "decision_superseded";
3020
3021
  evidence: {
3021
- id: string;
3022
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3022
3023
  label: string;
3023
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3024
+ id: string;
3024
3025
  capture: "at_action" | "historical_lookup" | "fixture";
3025
3026
  locator?: string | undefined;
3026
3027
  }[];
@@ -3033,9 +3034,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3033
3034
  agentId: string;
3034
3035
  sessionId: string;
3035
3036
  evidence: {
3036
- id: string;
3037
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3037
3038
  label: string;
3038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3039
+ id: string;
3039
3040
  capture: "at_action" | "historical_lookup" | "fixture";
3040
3041
  locator?: string | undefined;
3041
3042
  }[];
@@ -3047,9 +3048,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3047
3048
  agentId: string;
3048
3049
  sessionId: string;
3049
3050
  evidence: {
3050
- id: string;
3051
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
3052
  label: string;
3052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3053
+ id: string;
3053
3054
  capture: "at_action" | "historical_lookup" | "fixture";
3054
3055
  locator?: string | undefined;
3055
3056
  }[];
@@ -3058,13 +3059,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3058
3059
  recallReceiptId: string;
3059
3060
  staleDecisionAbsent: boolean;
3060
3061
  } | {
3061
- summary: string;
3062
3062
  kind: "mission_completed";
3063
+ summary: string;
3063
3064
  outcome: "failed" | "recovered" | "inconclusive";
3064
3065
  evidence: {
3065
- id: string;
3066
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3066
3067
  label: string;
3067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3068
+ id: string;
3068
3069
  capture: "at_action" | "historical_lookup" | "fixture";
3069
3070
  locator?: string | undefined;
3070
3071
  }[];
@@ -3074,37 +3075,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3074
3075
  objective: string;
3075
3076
  runMode: "replay" | "fixture" | "live";
3076
3077
  evidence?: {
3077
- id: string;
3078
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3079
  label: string;
3079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3080
+ id: string;
3080
3081
  capture: "at_action" | "historical_lookup" | "fixture";
3081
3082
  locator?: string | undefined;
3082
3083
  }[] | undefined;
3083
3084
  } | {
3084
- label: string;
3085
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3086
3085
  kind: "agent_status";
3086
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3087
+ label: string;
3087
3088
  role: string;
3088
3089
  agentId: string;
3089
3090
  sessionId: string;
3090
3091
  detail?: string | undefined;
3091
3092
  evidence?: {
3092
- id: string;
3093
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3093
3094
  label: string;
3094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3095
+ id: string;
3095
3096
  capture: "at_action" | "historical_lookup" | "fixture";
3096
3097
  locator?: string | undefined;
3097
3098
  }[] | undefined;
3098
3099
  } | {
3099
- summary: string;
3100
3100
  kind: "agent_output";
3101
+ summary: string;
3101
3102
  agentId: string;
3102
3103
  sessionId: string;
3103
3104
  outputId: string;
3104
3105
  evidence?: {
3105
- id: string;
3106
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3106
3107
  label: string;
3107
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3108
+ id: string;
3108
3109
  capture: "at_action" | "historical_lookup" | "fixture";
3109
3110
  locator?: string | undefined;
3110
3111
  }[] | undefined;
@@ -3117,37 +3118,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3117
3118
  decisionId: string;
3118
3119
  confidence?: number | undefined;
3119
3120
  evidence?: {
3120
- id: string;
3121
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3121
3122
  label: string;
3122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3123
+ id: string;
3123
3124
  capture: "at_action" | "historical_lookup" | "fixture";
3124
3125
  locator?: string | undefined;
3125
3126
  }[] | undefined;
3126
3127
  } | {
3127
- summary: string;
3128
3128
  kind: "conflict_detected";
3129
+ summary: string;
3129
3130
  conflictId: string;
3130
3131
  decisionIds: string[];
3131
3132
  agentIds: string[];
3132
3133
  evidence?: {
3133
- id: string;
3134
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3134
3135
  label: string;
3135
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3136
+ id: string;
3136
3137
  capture: "at_action" | "historical_lookup" | "fixture";
3137
3138
  locator?: string | undefined;
3138
3139
  }[] | undefined;
3139
3140
  } | {
3141
+ kind: "test_result";
3140
3142
  summary: string;
3141
3143
  status: "error" | "failed" | "passed";
3142
- kind: "test_result";
3143
3144
  command: string;
3144
3145
  decisionId: string;
3145
3146
  testId: string;
3146
3147
  durationMs?: number | undefined;
3147
3148
  evidence?: {
3148
- id: string;
3149
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
3150
  label: string;
3150
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3151
+ id: string;
3151
3152
  capture: "at_action" | "historical_lookup" | "fixture";
3152
3153
  locator?: string | undefined;
3153
3154
  }[] | undefined;
@@ -3162,9 +3163,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3162
3163
  supersedesDecisionIds: string[];
3163
3164
  proposedBy: string;
3164
3165
  evidence?: {
3165
- id: string;
3166
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3166
3167
  label: string;
3167
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3168
+ id: string;
3168
3169
  capture: "at_action" | "historical_lookup" | "fixture";
3169
3170
  locator?: string | undefined;
3170
3171
  }[] | undefined;
@@ -3172,15 +3173,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3172
3173
  kind: "correction_approved";
3173
3174
  correctionId: string;
3174
3175
  approvedBy: {
3175
- id: string;
3176
- label: string;
3177
3176
  kind: "agent" | "human";
3177
+ label: string;
3178
+ id: string;
3178
3179
  };
3179
3180
  note?: string | undefined;
3180
3181
  evidence?: {
3181
- id: string;
3182
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3182
3183
  label: string;
3183
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3184
+ id: string;
3184
3185
  capture: "at_action" | "historical_lookup" | "fixture";
3185
3186
  locator?: string | undefined;
3186
3187
  }[] | undefined;
@@ -3190,9 +3191,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3190
3191
  correctionId: string;
3191
3192
  replacementDecisionId: string;
3192
3193
  evidence?: {
3193
- id: string;
3194
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3195
  label: string;
3195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3196
+ id: string;
3196
3197
  capture: "at_action" | "historical_lookup" | "fixture";
3197
3198
  locator?: string | undefined;
3198
3199
  }[] | undefined;
@@ -3205,9 +3206,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3205
3206
  recallReceiptId: string;
3206
3207
  capturedAtAction: boolean;
3207
3208
  evidence?: {
3208
- id: string;
3209
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3209
3210
  label: string;
3210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3211
+ id: string;
3211
3212
  capture: "at_action" | "historical_lookup" | "fixture";
3212
3213
  locator?: string | undefined;
3213
3214
  }[] | undefined;
@@ -3220,20 +3221,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3220
3221
  recallReceiptId: string;
3221
3222
  staleDecisionAbsent: boolean;
3222
3223
  evidence?: {
3223
- id: string;
3224
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3224
3225
  label: string;
3225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3226
+ id: string;
3226
3227
  capture: "at_action" | "historical_lookup" | "fixture";
3227
3228
  locator?: string | undefined;
3228
3229
  }[] | undefined;
3229
3230
  } | {
3230
- summary: string;
3231
3231
  kind: "mission_completed";
3232
+ summary: string;
3232
3233
  outcome: "failed" | "recovered" | "inconclusive";
3233
3234
  evidence?: {
3234
- id: string;
3235
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
3236
  label: string;
3236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3237
+ id: string;
3237
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3238
3239
  locator?: string | undefined;
3239
3240
  }[] | undefined;
@@ -3243,38 +3244,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3243
3244
  kind: "mission_started";
3244
3245
  title: string;
3245
3246
  evidence: {
3246
- id: string;
3247
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3248
  label: string;
3248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3249
+ id: string;
3249
3250
  capture: "at_action" | "historical_lookup" | "fixture";
3250
3251
  locator?: string | undefined;
3251
3252
  }[];
3252
3253
  objective: string;
3253
3254
  runMode: "replay" | "fixture" | "live";
3254
3255
  } | {
3255
- label: string;
3256
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3257
3256
  kind: "agent_status";
3257
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3258
+ label: string;
3258
3259
  role: string;
3259
3260
  agentId: string;
3260
3261
  sessionId: string;
3261
3262
  evidence: {
3262
- id: string;
3263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
3264
  label: string;
3264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
+ id: string;
3265
3266
  capture: "at_action" | "historical_lookup" | "fixture";
3266
3267
  locator?: string | undefined;
3267
3268
  }[];
3268
3269
  detail?: string | undefined;
3269
3270
  } | {
3270
- summary: string;
3271
3271
  kind: "agent_output";
3272
+ summary: string;
3272
3273
  agentId: string;
3273
3274
  sessionId: string;
3274
3275
  evidence: {
3275
- id: string;
3276
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3277
  label: string;
3277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
+ id: string;
3278
3279
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3280
  locator?: string | undefined;
3280
3281
  }[];
@@ -3285,9 +3286,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3285
3286
  statement: string;
3286
3287
  sessionId: string;
3287
3288
  evidence: {
3288
- id: string;
3289
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3289
3290
  label: string;
3290
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
+ id: string;
3291
3292
  capture: "at_action" | "historical_lookup" | "fixture";
3292
3293
  locator?: string | undefined;
3293
3294
  }[];
@@ -3295,12 +3296,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3295
3296
  decisionId: string;
3296
3297
  confidence?: number | undefined;
3297
3298
  } | {
3298
- summary: string;
3299
3299
  kind: "conflict_detected";
3300
+ summary: string;
3300
3301
  evidence: {
3301
- id: string;
3302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
3303
  label: string;
3303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
+ id: string;
3304
3305
  capture: "at_action" | "historical_lookup" | "fixture";
3305
3306
  locator?: string | undefined;
3306
3307
  }[];
@@ -3308,14 +3309,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3308
3309
  decisionIds: string[];
3309
3310
  agentIds: string[];
3310
3311
  } | {
3312
+ kind: "test_result";
3311
3313
  summary: string;
3312
3314
  status: "error" | "failed" | "passed";
3313
- kind: "test_result";
3314
3315
  command: string;
3315
3316
  evidence: {
3316
- id: string;
3317
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3317
3318
  label: string;
3318
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3319
+ id: string;
3319
3320
  capture: "at_action" | "historical_lookup" | "fixture";
3320
3321
  locator?: string | undefined;
3321
3322
  }[];
@@ -3328,9 +3329,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3328
3329
  statement: string;
3329
3330
  rationale: string;
3330
3331
  evidence: {
3331
- id: string;
3332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3332
3333
  label: string;
3333
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3334
+ id: string;
3334
3335
  capture: "at_action" | "historical_lookup" | "fixture";
3335
3336
  locator?: string | undefined;
3336
3337
  }[];
@@ -3342,25 +3343,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3342
3343
  } | {
3343
3344
  kind: "correction_approved";
3344
3345
  evidence: {
3345
- id: string;
3346
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3346
3347
  label: string;
3347
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3348
+ id: string;
3348
3349
  capture: "at_action" | "historical_lookup" | "fixture";
3349
3350
  locator?: string | undefined;
3350
3351
  }[];
3351
3352
  correctionId: string;
3352
3353
  approvedBy: {
3353
- id: string;
3354
- label: string;
3355
3354
  kind: "agent" | "human";
3355
+ label: string;
3356
+ id: string;
3356
3357
  };
3357
3358
  note?: string | undefined;
3358
3359
  } | {
3359
3360
  kind: "decision_superseded";
3360
3361
  evidence: {
3361
- id: string;
3362
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3362
3363
  label: string;
3363
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
+ id: string;
3364
3365
  capture: "at_action" | "historical_lookup" | "fixture";
3365
3366
  locator?: string | undefined;
3366
3367
  }[];
@@ -3373,9 +3374,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3373
3374
  agentId: string;
3374
3375
  sessionId: string;
3375
3376
  evidence: {
3376
- id: string;
3377
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3377
3378
  label: string;
3378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3379
+ id: string;
3379
3380
  capture: "at_action" | "historical_lookup" | "fixture";
3380
3381
  locator?: string | undefined;
3381
3382
  }[];
@@ -3387,9 +3388,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3387
3388
  agentId: string;
3388
3389
  sessionId: string;
3389
3390
  evidence: {
3390
- id: string;
3391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3391
3392
  label: string;
3392
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3393
+ id: string;
3393
3394
  capture: "at_action" | "historical_lookup" | "fixture";
3394
3395
  locator?: string | undefined;
3395
3396
  }[];
@@ -3398,13 +3399,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3398
3399
  recallReceiptId: string;
3399
3400
  staleDecisionAbsent: boolean;
3400
3401
  } | {
3401
- summary: string;
3402
3402
  kind: "mission_completed";
3403
+ summary: string;
3403
3404
  outcome: "failed" | "recovered" | "inconclusive";
3404
3405
  evidence: {
3405
- id: string;
3406
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3406
3407
  label: string;
3407
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3408
+ id: string;
3408
3409
  capture: "at_action" | "historical_lookup" | "fixture";
3409
3410
  locator?: string | undefined;
3410
3411
  }[];
@@ -3418,37 +3419,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3418
3419
  objective: string;
3419
3420
  runMode: "replay" | "fixture" | "live";
3420
3421
  evidence?: {
3421
- id: string;
3422
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3422
3423
  label: string;
3423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3424
+ id: string;
3424
3425
  capture: "at_action" | "historical_lookup" | "fixture";
3425
3426
  locator?: string | undefined;
3426
3427
  }[] | undefined;
3427
3428
  } | {
3428
- label: string;
3429
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3430
3429
  kind: "agent_status";
3430
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3431
+ label: string;
3431
3432
  role: string;
3432
3433
  agentId: string;
3433
3434
  sessionId: string;
3434
3435
  detail?: string | undefined;
3435
3436
  evidence?: {
3436
- id: string;
3437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
3438
  label: string;
3438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
+ id: string;
3439
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3441
  locator?: string | undefined;
3441
3442
  }[] | undefined;
3442
3443
  } | {
3443
- summary: string;
3444
3444
  kind: "agent_output";
3445
+ summary: string;
3445
3446
  agentId: string;
3446
3447
  sessionId: string;
3447
3448
  outputId: string;
3448
3449
  evidence?: {
3449
- id: string;
3450
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3450
3451
  label: string;
3451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3452
+ id: string;
3452
3453
  capture: "at_action" | "historical_lookup" | "fixture";
3453
3454
  locator?: string | undefined;
3454
3455
  }[] | undefined;
@@ -3461,37 +3462,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3461
3462
  decisionId: string;
3462
3463
  confidence?: number | undefined;
3463
3464
  evidence?: {
3464
- id: string;
3465
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3465
3466
  label: string;
3466
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3467
+ id: string;
3467
3468
  capture: "at_action" | "historical_lookup" | "fixture";
3468
3469
  locator?: string | undefined;
3469
3470
  }[] | undefined;
3470
3471
  } | {
3471
- summary: string;
3472
3472
  kind: "conflict_detected";
3473
+ summary: string;
3473
3474
  conflictId: string;
3474
3475
  decisionIds: string[];
3475
3476
  agentIds: string[];
3476
3477
  evidence?: {
3477
- id: string;
3478
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3478
3479
  label: string;
3479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3480
+ id: string;
3480
3481
  capture: "at_action" | "historical_lookup" | "fixture";
3481
3482
  locator?: string | undefined;
3482
3483
  }[] | undefined;
3483
3484
  } | {
3485
+ kind: "test_result";
3484
3486
  summary: string;
3485
3487
  status: "error" | "failed" | "passed";
3486
- kind: "test_result";
3487
3488
  command: string;
3488
3489
  decisionId: string;
3489
3490
  testId: string;
3490
3491
  durationMs?: number | undefined;
3491
3492
  evidence?: {
3492
- id: string;
3493
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3493
3494
  label: string;
3494
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3495
+ id: string;
3495
3496
  capture: "at_action" | "historical_lookup" | "fixture";
3496
3497
  locator?: string | undefined;
3497
3498
  }[] | undefined;
@@ -3506,9 +3507,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3506
3507
  supersedesDecisionIds: string[];
3507
3508
  proposedBy: string;
3508
3509
  evidence?: {
3509
- id: string;
3510
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3510
3511
  label: string;
3511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3512
+ id: string;
3512
3513
  capture: "at_action" | "historical_lookup" | "fixture";
3513
3514
  locator?: string | undefined;
3514
3515
  }[] | undefined;
@@ -3516,15 +3517,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3516
3517
  kind: "correction_approved";
3517
3518
  correctionId: string;
3518
3519
  approvedBy: {
3519
- id: string;
3520
- label: string;
3521
3520
  kind: "agent" | "human";
3521
+ label: string;
3522
+ id: string;
3522
3523
  };
3523
3524
  note?: string | undefined;
3524
3525
  evidence?: {
3525
- id: string;
3526
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3526
3527
  label: string;
3527
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3528
+ id: string;
3528
3529
  capture: "at_action" | "historical_lookup" | "fixture";
3529
3530
  locator?: string | undefined;
3530
3531
  }[] | undefined;
@@ -3534,9 +3535,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3534
3535
  correctionId: string;
3535
3536
  replacementDecisionId: string;
3536
3537
  evidence?: {
3537
- id: string;
3538
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
3539
  label: string;
3539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3540
+ id: string;
3540
3541
  capture: "at_action" | "historical_lookup" | "fixture";
3541
3542
  locator?: string | undefined;
3542
3543
  }[] | undefined;
@@ -3549,9 +3550,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3549
3550
  recallReceiptId: string;
3550
3551
  capturedAtAction: boolean;
3551
3552
  evidence?: {
3552
- id: string;
3553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3553
3554
  label: string;
3554
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3555
+ id: string;
3555
3556
  capture: "at_action" | "historical_lookup" | "fixture";
3556
3557
  locator?: string | undefined;
3557
3558
  }[] | undefined;
@@ -3564,20 +3565,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3564
3565
  recallReceiptId: string;
3565
3566
  staleDecisionAbsent: boolean;
3566
3567
  evidence?: {
3567
- id: string;
3568
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
3569
  label: string;
3569
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3570
+ id: string;
3570
3571
  capture: "at_action" | "historical_lookup" | "fixture";
3571
3572
  locator?: string | undefined;
3572
3573
  }[] | undefined;
3573
3574
  } | {
3574
- summary: string;
3575
3575
  kind: "mission_completed";
3576
+ summary: string;
3576
3577
  outcome: "failed" | "recovered" | "inconclusive";
3577
3578
  evidence?: {
3578
- id: string;
3579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3579
3580
  label: string;
3580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3581
+ id: string;
3581
3582
  capture: "at_action" | "historical_lookup" | "fixture";
3582
3583
  locator?: string | undefined;
3583
3584
  }[] | undefined;
@@ -3607,15 +3608,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3607
3608
  locator: z.ZodOptional<z.ZodString>;
3608
3609
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3609
3610
  }, "strict", z.ZodTypeAny, {
3610
- id: string;
3611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3611
3612
  label: string;
3612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3613
+ id: string;
3613
3614
  capture: "at_action" | "historical_lookup" | "fixture";
3614
3615
  locator?: string | undefined;
3615
3616
  }, {
3616
- id: string;
3617
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
3618
  label: string;
3618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3619
+ id: string;
3619
3620
  capture: "at_action" | "historical_lookup" | "fixture";
3620
3621
  locator?: string | undefined;
3621
3622
  }>, "many">>;
@@ -3623,9 +3624,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3623
3624
  kind: "mission_started";
3624
3625
  title: string;
3625
3626
  evidence: {
3626
- id: string;
3627
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
3628
  label: string;
3628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3629
+ id: string;
3629
3630
  capture: "at_action" | "historical_lookup" | "fixture";
3630
3631
  locator?: string | undefined;
3631
3632
  }[];
@@ -3637,9 +3638,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3637
3638
  objective: string;
3638
3639
  runMode: "replay" | "fixture" | "live";
3639
3640
  evidence?: {
3640
- id: string;
3641
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
3642
  label: string;
3642
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3643
+ id: string;
3643
3644
  capture: "at_action" | "historical_lookup" | "fixture";
3644
3645
  locator?: string | undefined;
3645
3646
  }[] | undefined;
@@ -3655,15 +3656,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3655
3656
  locator: z.ZodOptional<z.ZodString>;
3656
3657
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3657
3658
  }, "strict", z.ZodTypeAny, {
3658
- id: string;
3659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3659
3660
  label: string;
3660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3661
+ id: string;
3661
3662
  capture: "at_action" | "historical_lookup" | "fixture";
3662
3663
  locator?: string | undefined;
3663
3664
  }, {
3664
- id: string;
3665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
3666
  label: string;
3666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
+ id: string;
3667
3668
  capture: "at_action" | "historical_lookup" | "fixture";
3668
3669
  locator?: string | undefined;
3669
3670
  }>, "many">>;
@@ -3671,32 +3672,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3671
3672
  sessionId: z.ZodString;
3672
3673
  kind: z.ZodLiteral<"agent_status">;
3673
3674
  }, "strict", z.ZodTypeAny, {
3674
- label: string;
3675
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3676
3675
  kind: "agent_status";
3676
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3677
+ label: string;
3677
3678
  role: string;
3678
3679
  agentId: string;
3679
3680
  sessionId: string;
3680
3681
  evidence: {
3681
- id: string;
3682
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3682
3683
  label: string;
3683
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3684
+ id: string;
3684
3685
  capture: "at_action" | "historical_lookup" | "fixture";
3685
3686
  locator?: string | undefined;
3686
3687
  }[];
3687
3688
  detail?: string | undefined;
3688
3689
  }, {
3689
- label: string;
3690
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3691
3690
  kind: "agent_status";
3691
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3692
+ label: string;
3692
3693
  role: string;
3693
3694
  agentId: string;
3694
3695
  sessionId: string;
3695
3696
  detail?: string | undefined;
3696
3697
  evidence?: {
3697
- id: string;
3698
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3698
3699
  label: string;
3699
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3700
+ id: string;
3700
3701
  capture: "at_action" | "historical_lookup" | "fixture";
3701
3702
  locator?: string | undefined;
3702
3703
  }[] | undefined;
@@ -3710,15 +3711,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3710
3711
  locator: z.ZodOptional<z.ZodString>;
3711
3712
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3712
3713
  }, "strict", z.ZodTypeAny, {
3713
- id: string;
3714
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3714
3715
  label: string;
3715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3716
+ id: string;
3716
3717
  capture: "at_action" | "historical_lookup" | "fixture";
3717
3718
  locator?: string | undefined;
3718
3719
  }, {
3719
- id: string;
3720
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3721
  label: string;
3721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3722
+ id: string;
3722
3723
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3724
  locator?: string | undefined;
3724
3725
  }>, "many">>;
@@ -3726,28 +3727,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3726
3727
  sessionId: z.ZodString;
3727
3728
  kind: z.ZodLiteral<"agent_output">;
3728
3729
  }, "strict", z.ZodTypeAny, {
3729
- summary: string;
3730
3730
  kind: "agent_output";
3731
+ summary: string;
3731
3732
  agentId: string;
3732
3733
  sessionId: string;
3733
3734
  evidence: {
3734
- id: string;
3735
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3735
3736
  label: string;
3736
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
+ id: string;
3737
3738
  capture: "at_action" | "historical_lookup" | "fixture";
3738
3739
  locator?: string | undefined;
3739
3740
  }[];
3740
3741
  outputId: string;
3741
3742
  }, {
3742
- summary: string;
3743
3743
  kind: "agent_output";
3744
+ summary: string;
3744
3745
  agentId: string;
3745
3746
  sessionId: string;
3746
3747
  outputId: string;
3747
3748
  evidence?: {
3748
- id: string;
3749
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
3750
  label: string;
3750
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3751
+ id: string;
3751
3752
  capture: "at_action" | "historical_lookup" | "fixture";
3752
3753
  locator?: string | undefined;
3753
3754
  }[] | undefined;
@@ -3763,15 +3764,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3763
3764
  locator: z.ZodOptional<z.ZodString>;
3764
3765
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3765
3766
  }, "strict", z.ZodTypeAny, {
3766
- id: string;
3767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3767
3768
  label: string;
3768
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3769
+ id: string;
3769
3770
  capture: "at_action" | "historical_lookup" | "fixture";
3770
3771
  locator?: string | undefined;
3771
3772
  }, {
3772
- id: string;
3773
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3774
  label: string;
3774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3775
+ id: string;
3775
3776
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3777
  locator?: string | undefined;
3777
3778
  }>, "many">>;
@@ -3784,9 +3785,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3784
3785
  statement: string;
3785
3786
  sessionId: string;
3786
3787
  evidence: {
3787
- id: string;
3788
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
3789
  label: string;
3789
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3790
+ id: string;
3790
3791
  capture: "at_action" | "historical_lookup" | "fixture";
3791
3792
  locator?: string | undefined;
3792
3793
  }[];
@@ -3802,9 +3803,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3802
3803
  decisionId: string;
3803
3804
  confidence?: number | undefined;
3804
3805
  evidence?: {
3805
- id: string;
3806
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3806
3807
  label: string;
3807
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3808
+ id: string;
3808
3809
  capture: "at_action" | "historical_lookup" | "fixture";
3809
3810
  locator?: string | undefined;
3810
3811
  }[] | undefined;
@@ -3821,25 +3822,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3821
3822
  locator: z.ZodOptional<z.ZodString>;
3822
3823
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3823
3824
  }, "strict", z.ZodTypeAny, {
3824
- id: string;
3825
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3825
3826
  label: string;
3826
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3827
+ id: string;
3827
3828
  capture: "at_action" | "historical_lookup" | "fixture";
3828
3829
  locator?: string | undefined;
3829
3830
  }, {
3830
- id: string;
3831
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3832
  label: string;
3832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3833
+ id: string;
3833
3834
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3835
  locator?: string | undefined;
3835
3836
  }>, "many">>;
3836
3837
  }, "strict", z.ZodTypeAny, {
3837
- summary: string;
3838
3838
  kind: "conflict_detected";
3839
+ summary: string;
3839
3840
  evidence: {
3840
- id: string;
3841
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3842
  label: string;
3842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3843
+ id: string;
3843
3844
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3845
  locator?: string | undefined;
3845
3846
  }[];
@@ -3847,15 +3848,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3847
3848
  decisionIds: string[];
3848
3849
  agentIds: string[];
3849
3850
  }, {
3850
- summary: string;
3851
3851
  kind: "conflict_detected";
3852
+ summary: string;
3852
3853
  conflictId: string;
3853
3854
  decisionIds: string[];
3854
3855
  agentIds: string[];
3855
3856
  evidence?: {
3856
- id: string;
3857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
3858
  label: string;
3858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
+ id: string;
3859
3860
  capture: "at_action" | "historical_lookup" | "fixture";
3860
3861
  locator?: string | undefined;
3861
3862
  }[] | undefined;
@@ -3875,27 +3876,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3875
3876
  locator: z.ZodOptional<z.ZodString>;
3876
3877
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3877
3878
  }, "strict", z.ZodTypeAny, {
3878
- id: string;
3879
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3879
3880
  label: string;
3880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3881
+ id: string;
3881
3882
  capture: "at_action" | "historical_lookup" | "fixture";
3882
3883
  locator?: string | undefined;
3883
3884
  }, {
3884
- id: string;
3885
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
3886
  label: string;
3886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3887
+ id: string;
3887
3888
  capture: "at_action" | "historical_lookup" | "fixture";
3888
3889
  locator?: string | undefined;
3889
3890
  }>, "many">>;
3890
3891
  }, "strict", z.ZodTypeAny, {
3892
+ kind: "test_result";
3891
3893
  summary: string;
3892
3894
  status: "error" | "failed" | "passed";
3893
- kind: "test_result";
3894
3895
  command: string;
3895
3896
  evidence: {
3896
- id: string;
3897
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3898
  label: string;
3898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
+ id: string;
3899
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3901
  locator?: string | undefined;
3901
3902
  }[];
@@ -3904,17 +3905,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3904
3905
  durationMs?: number | undefined;
3905
3906
  correctionId?: string | undefined;
3906
3907
  }, {
3908
+ kind: "test_result";
3907
3909
  summary: string;
3908
3910
  status: "error" | "failed" | "passed";
3909
- kind: "test_result";
3910
3911
  command: string;
3911
3912
  decisionId: string;
3912
3913
  testId: string;
3913
3914
  durationMs?: number | undefined;
3914
3915
  evidence?: {
3915
- id: string;
3916
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3916
3917
  label: string;
3917
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3918
+ id: string;
3918
3919
  capture: "at_action" | "historical_lookup" | "fixture";
3919
3920
  locator?: string | undefined;
3920
3921
  }[] | undefined;
@@ -3935,15 +3936,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3935
3936
  locator: z.ZodOptional<z.ZodString>;
3936
3937
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3937
3938
  }, "strict", z.ZodTypeAny, {
3938
- id: string;
3939
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3939
3940
  label: string;
3940
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3941
+ id: string;
3941
3942
  capture: "at_action" | "historical_lookup" | "fixture";
3942
3943
  locator?: string | undefined;
3943
3944
  }, {
3944
- id: string;
3945
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3946
  label: string;
3946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
+ id: string;
3947
3948
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3949
  locator?: string | undefined;
3949
3950
  }>, "many">>;
@@ -3952,9 +3953,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3952
3953
  statement: string;
3953
3954
  rationale: string;
3954
3955
  evidence: {
3955
- id: string;
3956
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3956
3957
  label: string;
3957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3958
+ id: string;
3958
3959
  capture: "at_action" | "historical_lookup" | "fixture";
3959
3960
  locator?: string | undefined;
3960
3961
  }[];
@@ -3973,9 +3974,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3973
3974
  supersedesDecisionIds: string[];
3974
3975
  proposedBy: string;
3975
3976
  evidence?: {
3976
- id: string;
3977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
3978
  label: string;
3978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
+ id: string;
3979
3980
  capture: "at_action" | "historical_lookup" | "fixture";
3980
3981
  locator?: string | undefined;
3981
3982
  }[] | undefined;
@@ -3987,13 +3988,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3987
3988
  id: z.ZodString;
3988
3989
  label: z.ZodString;
3989
3990
  }, "strict", z.ZodTypeAny, {
3990
- id: string;
3991
- label: string;
3992
3991
  kind: "agent" | "human";
3993
- }, {
3994
- id: string;
3995
3992
  label: string;
3993
+ id: string;
3994
+ }, {
3996
3995
  kind: "agent" | "human";
3996
+ label: string;
3997
+ id: string;
3997
3998
  }>;
3998
3999
  note: z.ZodOptional<z.ZodString>;
3999
4000
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4003,47 +4004,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4003
4004
  locator: z.ZodOptional<z.ZodString>;
4004
4005
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4005
4006
  }, "strict", z.ZodTypeAny, {
4006
- id: string;
4007
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4007
4008
  label: string;
4008
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4009
+ id: string;
4009
4010
  capture: "at_action" | "historical_lookup" | "fixture";
4010
4011
  locator?: string | undefined;
4011
4012
  }, {
4012
- id: string;
4013
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4014
  label: string;
4014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4015
+ id: string;
4015
4016
  capture: "at_action" | "historical_lookup" | "fixture";
4016
4017
  locator?: string | undefined;
4017
4018
  }>, "many">>;
4018
4019
  }, "strict", z.ZodTypeAny, {
4019
4020
  kind: "correction_approved";
4020
4021
  evidence: {
4021
- id: string;
4022
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4022
4023
  label: string;
4023
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4024
+ id: string;
4024
4025
  capture: "at_action" | "historical_lookup" | "fixture";
4025
4026
  locator?: string | undefined;
4026
4027
  }[];
4027
4028
  correctionId: string;
4028
4029
  approvedBy: {
4029
- id: string;
4030
- label: string;
4031
4030
  kind: "agent" | "human";
4031
+ label: string;
4032
+ id: string;
4032
4033
  };
4033
4034
  note?: string | undefined;
4034
4035
  }, {
4035
4036
  kind: "correction_approved";
4036
4037
  correctionId: string;
4037
4038
  approvedBy: {
4038
- id: string;
4039
- label: string;
4040
4039
  kind: "agent" | "human";
4040
+ label: string;
4041
+ id: string;
4041
4042
  };
4042
4043
  note?: string | undefined;
4043
4044
  evidence?: {
4044
- id: string;
4045
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4045
4046
  label: string;
4046
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4047
+ id: string;
4047
4048
  capture: "at_action" | "historical_lookup" | "fixture";
4048
4049
  locator?: string | undefined;
4049
4050
  }[] | undefined;
@@ -4059,24 +4060,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4059
4060
  locator: z.ZodOptional<z.ZodString>;
4060
4061
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4061
4062
  }, "strict", z.ZodTypeAny, {
4062
- id: string;
4063
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4063
4064
  label: string;
4064
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4065
+ id: string;
4065
4066
  capture: "at_action" | "historical_lookup" | "fixture";
4066
4067
  locator?: string | undefined;
4067
4068
  }, {
4068
- id: string;
4069
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4070
  label: string;
4070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
+ id: string;
4071
4072
  capture: "at_action" | "historical_lookup" | "fixture";
4072
4073
  locator?: string | undefined;
4073
4074
  }>, "many">>;
4074
4075
  }, "strict", z.ZodTypeAny, {
4075
4076
  kind: "decision_superseded";
4076
4077
  evidence: {
4077
- id: string;
4078
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4078
4079
  label: string;
4079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4080
+ id: string;
4080
4081
  capture: "at_action" | "historical_lookup" | "fixture";
4081
4082
  locator?: string | undefined;
4082
4083
  }[];
@@ -4089,9 +4090,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4089
4090
  correctionId: string;
4090
4091
  replacementDecisionId: string;
4091
4092
  evidence?: {
4092
- id: string;
4093
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4093
4094
  label: string;
4094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4095
+ id: string;
4095
4096
  capture: "at_action" | "historical_lookup" | "fixture";
4096
4097
  locator?: string | undefined;
4097
4098
  }[] | undefined;
@@ -4107,15 +4108,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4107
4108
  locator: z.ZodOptional<z.ZodString>;
4108
4109
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4109
4110
  }, "strict", z.ZodTypeAny, {
4110
- id: string;
4111
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4111
4112
  label: string;
4112
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4113
+ id: string;
4113
4114
  capture: "at_action" | "historical_lookup" | "fixture";
4114
4115
  locator?: string | undefined;
4115
4116
  }, {
4116
- id: string;
4117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4118
  label: string;
4118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
+ id: string;
4119
4120
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4121
  locator?: string | undefined;
4121
4122
  }>, "many">>;
@@ -4128,9 +4129,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4128
4129
  agentId: string;
4129
4130
  sessionId: string;
4130
4131
  evidence: {
4131
- id: string;
4132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4132
4133
  label: string;
4133
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4134
+ id: string;
4134
4135
  capture: "at_action" | "historical_lookup" | "fixture";
4135
4136
  locator?: string | undefined;
4136
4137
  }[];
@@ -4146,9 +4147,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4146
4147
  recallReceiptId: string;
4147
4148
  capturedAtAction: boolean;
4148
4149
  evidence?: {
4149
- id: string;
4150
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4150
4151
  label: string;
4151
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4152
+ id: string;
4152
4153
  capture: "at_action" | "historical_lookup" | "fixture";
4153
4154
  locator?: string | undefined;
4154
4155
  }[] | undefined;
@@ -4164,15 +4165,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4164
4165
  locator: z.ZodOptional<z.ZodString>;
4165
4166
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4166
4167
  }, "strict", z.ZodTypeAny, {
4167
- id: string;
4168
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4168
4169
  label: string;
4169
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4170
+ id: string;
4170
4171
  capture: "at_action" | "historical_lookup" | "fixture";
4171
4172
  locator?: string | undefined;
4172
4173
  }, {
4173
- id: string;
4174
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
4175
  label: string;
4175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
+ id: string;
4176
4177
  capture: "at_action" | "historical_lookup" | "fixture";
4177
4178
  locator?: string | undefined;
4178
4179
  }>, "many">>;
@@ -4184,9 +4185,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4184
4185
  agentId: string;
4185
4186
  sessionId: string;
4186
4187
  evidence: {
4187
- id: string;
4188
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4189
  label: string;
4189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4190
+ id: string;
4190
4191
  capture: "at_action" | "historical_lookup" | "fixture";
4191
4192
  locator?: string | undefined;
4192
4193
  }[];
@@ -4203,9 +4204,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4203
4204
  recallReceiptId: string;
4204
4205
  staleDecisionAbsent: boolean;
4205
4206
  evidence?: {
4206
- id: string;
4207
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4207
4208
  label: string;
4208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4209
+ id: string;
4209
4210
  capture: "at_action" | "historical_lookup" | "fixture";
4210
4211
  locator?: string | undefined;
4211
4212
  }[] | undefined;
@@ -4220,37 +4221,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4220
4221
  locator: z.ZodOptional<z.ZodString>;
4221
4222
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4222
4223
  }, "strict", z.ZodTypeAny, {
4223
- id: string;
4224
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4224
4225
  label: string;
4225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4226
+ id: string;
4226
4227
  capture: "at_action" | "historical_lookup" | "fixture";
4227
4228
  locator?: string | undefined;
4228
4229
  }, {
4229
- id: string;
4230
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4231
  label: string;
4231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4232
+ id: string;
4232
4233
  capture: "at_action" | "historical_lookup" | "fixture";
4233
4234
  locator?: string | undefined;
4234
4235
  }>, "many">>;
4235
4236
  }, "strict", z.ZodTypeAny, {
4236
- summary: string;
4237
4237
  kind: "mission_completed";
4238
+ summary: string;
4238
4239
  outcome: "failed" | "recovered" | "inconclusive";
4239
4240
  evidence: {
4240
- id: string;
4241
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
4242
  label: string;
4242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4243
+ id: string;
4243
4244
  capture: "at_action" | "historical_lookup" | "fixture";
4244
4245
  locator?: string | undefined;
4245
4246
  }[];
4246
4247
  }, {
4247
- summary: string;
4248
4248
  kind: "mission_completed";
4249
+ summary: string;
4249
4250
  outcome: "failed" | "recovered" | "inconclusive";
4250
4251
  evidence?: {
4251
- id: string;
4252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4252
4253
  label: string;
4253
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4254
+ id: string;
4254
4255
  capture: "at_action" | "historical_lookup" | "fixture";
4255
4256
  locator?: string | undefined;
4256
4257
  }[] | undefined;
@@ -4258,38 +4259,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4258
4259
  kind: "mission_started";
4259
4260
  title: string;
4260
4261
  evidence: {
4261
- id: string;
4262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4263
  label: string;
4263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
+ id: string;
4264
4265
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4266
  locator?: string | undefined;
4266
4267
  }[];
4267
4268
  objective: string;
4268
4269
  runMode: "replay" | "fixture" | "live";
4269
4270
  } | {
4270
- label: string;
4271
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4272
4271
  kind: "agent_status";
4272
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4273
+ label: string;
4273
4274
  role: string;
4274
4275
  agentId: string;
4275
4276
  sessionId: string;
4276
4277
  evidence: {
4277
- id: string;
4278
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4278
4279
  label: string;
4279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4280
+ id: string;
4280
4281
  capture: "at_action" | "historical_lookup" | "fixture";
4281
4282
  locator?: string | undefined;
4282
4283
  }[];
4283
4284
  detail?: string | undefined;
4284
4285
  } | {
4285
- summary: string;
4286
4286
  kind: "agent_output";
4287
+ summary: string;
4287
4288
  agentId: string;
4288
4289
  sessionId: string;
4289
4290
  evidence: {
4290
- id: string;
4291
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
4292
  label: string;
4292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4293
+ id: string;
4293
4294
  capture: "at_action" | "historical_lookup" | "fixture";
4294
4295
  locator?: string | undefined;
4295
4296
  }[];
@@ -4300,9 +4301,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4300
4301
  statement: string;
4301
4302
  sessionId: string;
4302
4303
  evidence: {
4303
- id: string;
4304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
4305
  label: string;
4305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
+ id: string;
4306
4307
  capture: "at_action" | "historical_lookup" | "fixture";
4307
4308
  locator?: string | undefined;
4308
4309
  }[];
@@ -4310,12 +4311,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4311
  decisionId: string;
4311
4312
  confidence?: number | undefined;
4312
4313
  } | {
4313
- summary: string;
4314
4314
  kind: "conflict_detected";
4315
+ summary: string;
4315
4316
  evidence: {
4316
- id: string;
4317
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
4318
  label: string;
4318
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4319
+ id: string;
4319
4320
  capture: "at_action" | "historical_lookup" | "fixture";
4320
4321
  locator?: string | undefined;
4321
4322
  }[];
@@ -4323,14 +4324,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4323
4324
  decisionIds: string[];
4324
4325
  agentIds: string[];
4325
4326
  } | {
4327
+ kind: "test_result";
4326
4328
  summary: string;
4327
4329
  status: "error" | "failed" | "passed";
4328
- kind: "test_result";
4329
4330
  command: string;
4330
4331
  evidence: {
4331
- id: string;
4332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
4333
  label: string;
4333
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4334
+ id: string;
4334
4335
  capture: "at_action" | "historical_lookup" | "fixture";
4335
4336
  locator?: string | undefined;
4336
4337
  }[];
@@ -4343,9 +4344,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4343
4344
  statement: string;
4344
4345
  rationale: string;
4345
4346
  evidence: {
4346
- id: string;
4347
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
4348
  label: string;
4348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4349
+ id: string;
4349
4350
  capture: "at_action" | "historical_lookup" | "fixture";
4350
4351
  locator?: string | undefined;
4351
4352
  }[];
@@ -4357,25 +4358,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4357
4358
  } | {
4358
4359
  kind: "correction_approved";
4359
4360
  evidence: {
4360
- id: string;
4361
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4362
  label: string;
4362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4363
+ id: string;
4363
4364
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4365
  locator?: string | undefined;
4365
4366
  }[];
4366
4367
  correctionId: string;
4367
4368
  approvedBy: {
4368
- id: string;
4369
- label: string;
4370
4369
  kind: "agent" | "human";
4370
+ label: string;
4371
+ id: string;
4371
4372
  };
4372
4373
  note?: string | undefined;
4373
4374
  } | {
4374
4375
  kind: "decision_superseded";
4375
4376
  evidence: {
4376
- id: string;
4377
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4377
4378
  label: string;
4378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4379
+ id: string;
4379
4380
  capture: "at_action" | "historical_lookup" | "fixture";
4380
4381
  locator?: string | undefined;
4381
4382
  }[];
@@ -4388,9 +4389,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4388
4389
  agentId: string;
4389
4390
  sessionId: string;
4390
4391
  evidence: {
4391
- id: string;
4392
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4392
4393
  label: string;
4393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4394
+ id: string;
4394
4395
  capture: "at_action" | "historical_lookup" | "fixture";
4395
4396
  locator?: string | undefined;
4396
4397
  }[];
@@ -4402,9 +4403,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4402
4403
  agentId: string;
4403
4404
  sessionId: string;
4404
4405
  evidence: {
4405
- id: string;
4406
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4406
4407
  label: string;
4407
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4408
+ id: string;
4408
4409
  capture: "at_action" | "historical_lookup" | "fixture";
4409
4410
  locator?: string | undefined;
4410
4411
  }[];
@@ -4413,13 +4414,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4413
4414
  recallReceiptId: string;
4414
4415
  staleDecisionAbsent: boolean;
4415
4416
  } | {
4416
- summary: string;
4417
4417
  kind: "mission_completed";
4418
+ summary: string;
4418
4419
  outcome: "failed" | "recovered" | "inconclusive";
4419
4420
  evidence: {
4420
- id: string;
4421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4421
4422
  label: string;
4422
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4423
+ id: string;
4423
4424
  capture: "at_action" | "historical_lookup" | "fixture";
4424
4425
  locator?: string | undefined;
4425
4426
  }[];
@@ -4429,37 +4430,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4429
4430
  objective: string;
4430
4431
  runMode: "replay" | "fixture" | "live";
4431
4432
  evidence?: {
4432
- id: string;
4433
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4434
  label: string;
4434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4435
+ id: string;
4435
4436
  capture: "at_action" | "historical_lookup" | "fixture";
4436
4437
  locator?: string | undefined;
4437
4438
  }[] | undefined;
4438
4439
  } | {
4439
- label: string;
4440
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4441
4440
  kind: "agent_status";
4441
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4442
+ label: string;
4442
4443
  role: string;
4443
4444
  agentId: string;
4444
4445
  sessionId: string;
4445
4446
  detail?: string | undefined;
4446
4447
  evidence?: {
4447
- id: string;
4448
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4448
4449
  label: string;
4449
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4450
+ id: string;
4450
4451
  capture: "at_action" | "historical_lookup" | "fixture";
4451
4452
  locator?: string | undefined;
4452
4453
  }[] | undefined;
4453
4454
  } | {
4454
- summary: string;
4455
4455
  kind: "agent_output";
4456
+ summary: string;
4456
4457
  agentId: string;
4457
4458
  sessionId: string;
4458
4459
  outputId: string;
4459
4460
  evidence?: {
4460
- id: string;
4461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
4462
  label: string;
4462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4463
+ id: string;
4463
4464
  capture: "at_action" | "historical_lookup" | "fixture";
4464
4465
  locator?: string | undefined;
4465
4466
  }[] | undefined;
@@ -4472,37 +4473,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4472
4473
  decisionId: string;
4473
4474
  confidence?: number | undefined;
4474
4475
  evidence?: {
4475
- id: string;
4476
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4476
4477
  label: string;
4477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4478
+ id: string;
4478
4479
  capture: "at_action" | "historical_lookup" | "fixture";
4479
4480
  locator?: string | undefined;
4480
4481
  }[] | undefined;
4481
4482
  } | {
4482
- summary: string;
4483
4483
  kind: "conflict_detected";
4484
+ summary: string;
4484
4485
  conflictId: string;
4485
4486
  decisionIds: string[];
4486
4487
  agentIds: string[];
4487
4488
  evidence?: {
4488
- id: string;
4489
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4489
4490
  label: string;
4490
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4491
+ id: string;
4491
4492
  capture: "at_action" | "historical_lookup" | "fixture";
4492
4493
  locator?: string | undefined;
4493
4494
  }[] | undefined;
4494
4495
  } | {
4496
+ kind: "test_result";
4495
4497
  summary: string;
4496
4498
  status: "error" | "failed" | "passed";
4497
- kind: "test_result";
4498
4499
  command: string;
4499
4500
  decisionId: string;
4500
4501
  testId: string;
4501
4502
  durationMs?: number | undefined;
4502
4503
  evidence?: {
4503
- id: string;
4504
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4504
4505
  label: string;
4505
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4506
+ id: string;
4506
4507
  capture: "at_action" | "historical_lookup" | "fixture";
4507
4508
  locator?: string | undefined;
4508
4509
  }[] | undefined;
@@ -4517,9 +4518,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4517
4518
  supersedesDecisionIds: string[];
4518
4519
  proposedBy: string;
4519
4520
  evidence?: {
4520
- id: string;
4521
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4521
4522
  label: string;
4522
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4523
+ id: string;
4523
4524
  capture: "at_action" | "historical_lookup" | "fixture";
4524
4525
  locator?: string | undefined;
4525
4526
  }[] | undefined;
@@ -4527,15 +4528,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4527
4528
  kind: "correction_approved";
4528
4529
  correctionId: string;
4529
4530
  approvedBy: {
4530
- id: string;
4531
- label: string;
4532
4531
  kind: "agent" | "human";
4532
+ label: string;
4533
+ id: string;
4533
4534
  };
4534
4535
  note?: string | undefined;
4535
4536
  evidence?: {
4536
- id: string;
4537
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4537
4538
  label: string;
4538
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4539
+ id: string;
4539
4540
  capture: "at_action" | "historical_lookup" | "fixture";
4540
4541
  locator?: string | undefined;
4541
4542
  }[] | undefined;
@@ -4545,9 +4546,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4545
4546
  correctionId: string;
4546
4547
  replacementDecisionId: string;
4547
4548
  evidence?: {
4548
- id: string;
4549
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
4550
  label: string;
4550
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4551
+ id: string;
4551
4552
  capture: "at_action" | "historical_lookup" | "fixture";
4552
4553
  locator?: string | undefined;
4553
4554
  }[] | undefined;
@@ -4560,9 +4561,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4560
4561
  recallReceiptId: string;
4561
4562
  capturedAtAction: boolean;
4562
4563
  evidence?: {
4563
- id: string;
4564
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
4565
  label: string;
4565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
+ id: string;
4566
4567
  capture: "at_action" | "historical_lookup" | "fixture";
4567
4568
  locator?: string | undefined;
4568
4569
  }[] | undefined;
@@ -4575,64 +4576,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4575
4576
  recallReceiptId: string;
4576
4577
  staleDecisionAbsent: boolean;
4577
4578
  evidence?: {
4578
- id: string;
4579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4579
4580
  label: string;
4580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
+ id: string;
4581
4582
  capture: "at_action" | "historical_lookup" | "fixture";
4582
4583
  locator?: string | undefined;
4583
4584
  }[] | undefined;
4584
4585
  } | {
4585
- summary: string;
4586
4586
  kind: "mission_completed";
4587
+ summary: string;
4587
4588
  outcome: "failed" | "recovered" | "inconclusive";
4588
4589
  evidence?: {
4589
- id: string;
4590
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4590
4591
  label: string;
4591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4592
+ id: string;
4592
4593
  capture: "at_action" | "historical_lookup" | "fixture";
4593
4594
  locator?: string | undefined;
4594
4595
  }[] | undefined;
4595
4596
  }>;
4596
4597
  }, "strict", z.ZodTypeAny, {
4597
- namespace: string;
4598
- recordedAt: string;
4599
4598
  schemaVersion: "1";
4599
+ recordedAt: string;
4600
4600
  payload: {
4601
4601
  kind: "mission_started";
4602
4602
  title: string;
4603
4603
  evidence: {
4604
- id: string;
4604
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4605
4605
  label: string;
4606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4606
+ id: string;
4607
4607
  capture: "at_action" | "historical_lookup" | "fixture";
4608
4608
  locator?: string | undefined;
4609
4609
  }[];
4610
4610
  objective: string;
4611
4611
  runMode: "replay" | "fixture" | "live";
4612
4612
  } | {
4613
- label: string;
4614
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4615
4613
  kind: "agent_status";
4614
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4615
+ label: string;
4616
4616
  role: string;
4617
4617
  agentId: string;
4618
4618
  sessionId: string;
4619
4619
  evidence: {
4620
- id: string;
4620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4621
4621
  label: string;
4622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4622
+ id: string;
4623
4623
  capture: "at_action" | "historical_lookup" | "fixture";
4624
4624
  locator?: string | undefined;
4625
4625
  }[];
4626
4626
  detail?: string | undefined;
4627
4627
  } | {
4628
- summary: string;
4629
4628
  kind: "agent_output";
4629
+ summary: string;
4630
4630
  agentId: string;
4631
4631
  sessionId: string;
4632
4632
  evidence: {
4633
- id: string;
4633
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
4634
  label: string;
4635
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4635
+ id: string;
4636
4636
  capture: "at_action" | "historical_lookup" | "fixture";
4637
4637
  locator?: string | undefined;
4638
4638
  }[];
@@ -4643,9 +4643,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4643
4643
  statement: string;
4644
4644
  sessionId: string;
4645
4645
  evidence: {
4646
- id: string;
4646
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
4647
  label: string;
4648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4648
+ id: string;
4649
4649
  capture: "at_action" | "historical_lookup" | "fixture";
4650
4650
  locator?: string | undefined;
4651
4651
  }[];
@@ -4653,12 +4653,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4653
4653
  decisionId: string;
4654
4654
  confidence?: number | undefined;
4655
4655
  } | {
4656
- summary: string;
4657
4656
  kind: "conflict_detected";
4657
+ summary: string;
4658
4658
  evidence: {
4659
- id: string;
4659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
4660
  label: string;
4661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4661
+ id: string;
4662
4662
  capture: "at_action" | "historical_lookup" | "fixture";
4663
4663
  locator?: string | undefined;
4664
4664
  }[];
@@ -4666,14 +4666,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4666
4666
  decisionIds: string[];
4667
4667
  agentIds: string[];
4668
4668
  } | {
4669
+ kind: "test_result";
4669
4670
  summary: string;
4670
4671
  status: "error" | "failed" | "passed";
4671
- kind: "test_result";
4672
4672
  command: string;
4673
4673
  evidence: {
4674
- id: string;
4674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
4675
  label: string;
4676
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4676
+ id: string;
4677
4677
  capture: "at_action" | "historical_lookup" | "fixture";
4678
4678
  locator?: string | undefined;
4679
4679
  }[];
@@ -4686,9 +4686,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4686
4686
  statement: string;
4687
4687
  rationale: string;
4688
4688
  evidence: {
4689
- id: string;
4689
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4690
4690
  label: string;
4691
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4691
+ id: string;
4692
4692
  capture: "at_action" | "historical_lookup" | "fixture";
4693
4693
  locator?: string | undefined;
4694
4694
  }[];
@@ -4700,25 +4700,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4700
4700
  } | {
4701
4701
  kind: "correction_approved";
4702
4702
  evidence: {
4703
- id: string;
4703
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4704
4704
  label: string;
4705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4705
+ id: string;
4706
4706
  capture: "at_action" | "historical_lookup" | "fixture";
4707
4707
  locator?: string | undefined;
4708
4708
  }[];
4709
4709
  correctionId: string;
4710
4710
  approvedBy: {
4711
- id: string;
4712
- label: string;
4713
4711
  kind: "agent" | "human";
4712
+ label: string;
4713
+ id: string;
4714
4714
  };
4715
4715
  note?: string | undefined;
4716
4716
  } | {
4717
4717
  kind: "decision_superseded";
4718
4718
  evidence: {
4719
- id: string;
4719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4720
4720
  label: string;
4721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4721
+ id: string;
4722
4722
  capture: "at_action" | "historical_lookup" | "fixture";
4723
4723
  locator?: string | undefined;
4724
4724
  }[];
@@ -4731,9 +4731,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4731
4731
  agentId: string;
4732
4732
  sessionId: string;
4733
4733
  evidence: {
4734
- id: string;
4734
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4735
4735
  label: string;
4736
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4736
+ id: string;
4737
4737
  capture: "at_action" | "historical_lookup" | "fixture";
4738
4738
  locator?: string | undefined;
4739
4739
  }[];
@@ -4745,9 +4745,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4745
4745
  agentId: string;
4746
4746
  sessionId: string;
4747
4747
  evidence: {
4748
- id: string;
4748
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4749
4749
  label: string;
4750
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4750
+ id: string;
4751
4751
  capture: "at_action" | "historical_lookup" | "fixture";
4752
4752
  locator?: string | undefined;
4753
4753
  }[];
@@ -4756,63 +4756,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4756
4756
  recallReceiptId: string;
4757
4757
  staleDecisionAbsent: boolean;
4758
4758
  } | {
4759
- summary: string;
4760
4759
  kind: "mission_completed";
4760
+ summary: string;
4761
4761
  outcome: "failed" | "recovered" | "inconclusive";
4762
4762
  evidence: {
4763
- id: string;
4763
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4764
4764
  label: string;
4765
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4765
+ id: string;
4766
4766
  capture: "at_action" | "historical_lookup" | "fixture";
4767
4767
  locator?: string | undefined;
4768
4768
  }[];
4769
4769
  };
4770
+ namespace: string;
4770
4771
  eventId: string;
4771
4772
  occurredAt: string;
4772
4773
  missionId: string;
4773
4774
  idempotencyKey?: string | undefined;
4774
4775
  authenticatedPrincipal?: string | undefined;
4775
4776
  }, {
4776
- namespace: string;
4777
- recordedAt: string;
4778
4777
  schemaVersion: "1";
4778
+ recordedAt: string;
4779
4779
  payload: {
4780
4780
  kind: "mission_started";
4781
4781
  title: string;
4782
4782
  objective: string;
4783
4783
  runMode: "replay" | "fixture" | "live";
4784
4784
  evidence?: {
4785
- id: string;
4785
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4786
4786
  label: string;
4787
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4787
+ id: string;
4788
4788
  capture: "at_action" | "historical_lookup" | "fixture";
4789
4789
  locator?: string | undefined;
4790
4790
  }[] | undefined;
4791
4791
  } | {
4792
- label: string;
4793
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4794
4792
  kind: "agent_status";
4793
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4794
+ label: string;
4795
4795
  role: string;
4796
4796
  agentId: string;
4797
4797
  sessionId: string;
4798
4798
  detail?: string | undefined;
4799
4799
  evidence?: {
4800
- id: string;
4800
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4801
4801
  label: string;
4802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4802
+ id: string;
4803
4803
  capture: "at_action" | "historical_lookup" | "fixture";
4804
4804
  locator?: string | undefined;
4805
4805
  }[] | undefined;
4806
4806
  } | {
4807
- summary: string;
4808
4807
  kind: "agent_output";
4808
+ summary: string;
4809
4809
  agentId: string;
4810
4810
  sessionId: string;
4811
4811
  outputId: string;
4812
4812
  evidence?: {
4813
- id: string;
4813
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4814
4814
  label: string;
4815
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4815
+ id: string;
4816
4816
  capture: "at_action" | "historical_lookup" | "fixture";
4817
4817
  locator?: string | undefined;
4818
4818
  }[] | undefined;
@@ -4825,37 +4825,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4825
4825
  decisionId: string;
4826
4826
  confidence?: number | undefined;
4827
4827
  evidence?: {
4828
- id: string;
4828
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4829
4829
  label: string;
4830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4830
+ id: string;
4831
4831
  capture: "at_action" | "historical_lookup" | "fixture";
4832
4832
  locator?: string | undefined;
4833
4833
  }[] | undefined;
4834
4834
  } | {
4835
- summary: string;
4836
4835
  kind: "conflict_detected";
4836
+ summary: string;
4837
4837
  conflictId: string;
4838
4838
  decisionIds: string[];
4839
4839
  agentIds: string[];
4840
4840
  evidence?: {
4841
- id: string;
4841
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4842
4842
  label: string;
4843
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4843
+ id: string;
4844
4844
  capture: "at_action" | "historical_lookup" | "fixture";
4845
4845
  locator?: string | undefined;
4846
4846
  }[] | undefined;
4847
4847
  } | {
4848
+ kind: "test_result";
4848
4849
  summary: string;
4849
4850
  status: "error" | "failed" | "passed";
4850
- kind: "test_result";
4851
4851
  command: string;
4852
4852
  decisionId: string;
4853
4853
  testId: string;
4854
4854
  durationMs?: number | undefined;
4855
4855
  evidence?: {
4856
- id: string;
4856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4857
4857
  label: string;
4858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4858
+ id: string;
4859
4859
  capture: "at_action" | "historical_lookup" | "fixture";
4860
4860
  locator?: string | undefined;
4861
4861
  }[] | undefined;
@@ -4870,9 +4870,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4870
4870
  supersedesDecisionIds: string[];
4871
4871
  proposedBy: string;
4872
4872
  evidence?: {
4873
- id: string;
4873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4874
4874
  label: string;
4875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4875
+ id: string;
4876
4876
  capture: "at_action" | "historical_lookup" | "fixture";
4877
4877
  locator?: string | undefined;
4878
4878
  }[] | undefined;
@@ -4880,15 +4880,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4880
4880
  kind: "correction_approved";
4881
4881
  correctionId: string;
4882
4882
  approvedBy: {
4883
- id: string;
4884
- label: string;
4885
4883
  kind: "agent" | "human";
4884
+ label: string;
4885
+ id: string;
4886
4886
  };
4887
4887
  note?: string | undefined;
4888
4888
  evidence?: {
4889
- id: string;
4889
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4890
4890
  label: string;
4891
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4891
+ id: string;
4892
4892
  capture: "at_action" | "historical_lookup" | "fixture";
4893
4893
  locator?: string | undefined;
4894
4894
  }[] | undefined;
@@ -4898,9 +4898,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4898
4898
  correctionId: string;
4899
4899
  replacementDecisionId: string;
4900
4900
  evidence?: {
4901
- id: string;
4901
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4902
4902
  label: string;
4903
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4903
+ id: string;
4904
4904
  capture: "at_action" | "historical_lookup" | "fixture";
4905
4905
  locator?: string | undefined;
4906
4906
  }[] | undefined;
@@ -4913,9 +4913,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4913
4913
  recallReceiptId: string;
4914
4914
  capturedAtAction: boolean;
4915
4915
  evidence?: {
4916
- id: string;
4916
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4917
4917
  label: string;
4918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4918
+ id: string;
4919
4919
  capture: "at_action" | "historical_lookup" | "fixture";
4920
4920
  locator?: string | undefined;
4921
4921
  }[] | undefined;
@@ -4928,24 +4928,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4928
4928
  recallReceiptId: string;
4929
4929
  staleDecisionAbsent: boolean;
4930
4930
  evidence?: {
4931
- id: string;
4931
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4932
4932
  label: string;
4933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4933
+ id: string;
4934
4934
  capture: "at_action" | "historical_lookup" | "fixture";
4935
4935
  locator?: string | undefined;
4936
4936
  }[] | undefined;
4937
4937
  } | {
4938
- summary: string;
4939
4938
  kind: "mission_completed";
4939
+ summary: string;
4940
4940
  outcome: "failed" | "recovered" | "inconclusive";
4941
4941
  evidence?: {
4942
- id: string;
4942
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
4943
  label: string;
4944
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4944
+ id: string;
4945
4945
  capture: "at_action" | "historical_lookup" | "fixture";
4946
4946
  locator?: string | undefined;
4947
4947
  }[] | undefined;
4948
4948
  };
4949
+ namespace: string;
4949
4950
  eventId: string;
4950
4951
  occurredAt: string;
4951
4952
  missionId: string;