@remnic/core 9.62.2 → 9.63.1

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 (184) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +13 -13
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +14 -14
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +13 -13
  7. package/dist/access-cli.js +43 -43
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +13 -13
  10. package/dist/access-http-lcm-compaction.d.ts +1 -1
  11. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  12. package/dist/access-http-offline-stream.d.ts +1 -1
  13. package/dist/access-http-query.js +13 -13
  14. package/dist/access-http.d.ts +2 -2
  15. package/dist/access-http.js +22 -22
  16. package/dist/access-identity-continuity-surface.js +13 -13
  17. package/dist/access-lcm-surface.d.ts +1 -1
  18. package/dist/access-lcm-surface.js +13 -13
  19. package/dist/access-mcp.d.ts +1 -1
  20. package/dist/access-mcp.js +18 -18
  21. package/dist/access-namespace-preflight.js +13 -13
  22. package/dist/access-observe-write-surface.d.ts +1 -1
  23. package/dist/access-observe-write-surface.js +13 -13
  24. package/dist/access-operations-batch.js +14 -14
  25. package/dist/access-operations.d.ts +4 -4
  26. package/dist/access-operations.js +17 -17
  27. package/dist/access-recall-concurrency.d.ts +1 -1
  28. package/dist/access-recall-concurrency.js +13 -13
  29. package/dist/access-recall-response.d.ts +1 -1
  30. package/dist/access-recall-response.js +13 -13
  31. package/dist/access-recall-surface.d.ts +1 -1
  32. package/dist/access-recall-surface.js +13 -13
  33. package/dist/access-schema.d.ts +88 -88
  34. package/dist/access-service-helpers.d.ts +1 -1
  35. package/dist/access-service.d.ts +1 -1
  36. package/dist/access-service.js +13 -13
  37. package/dist/access-surface-catalog.d.ts +1 -1
  38. package/dist/access-surface-catalog.js +15 -15
  39. package/dist/briefing.js +5 -5
  40. package/dist/buffer.js +3 -3
  41. package/dist/causal-consolidation.js +6 -6
  42. package/dist/{chunk-CH627RRV.js → chunk-2AZBPQLK.js} +3 -3
  43. package/dist/{chunk-WFLBP5GC.js → chunk-4NZHHGVL.js} +25 -6
  44. package/dist/chunk-4NZHHGVL.js.map +1 -0
  45. package/dist/{chunk-LTJTP5YQ.js → chunk-4WW5FMUD.js} +2 -2
  46. package/dist/{chunk-HSBQJRV2.js → chunk-5LVSFKQB.js} +2 -2
  47. package/dist/{chunk-RFH7U5LT.js → chunk-5S7Y7AC6.js} +2 -2
  48. package/dist/{chunk-7BJYTX6Q.js → chunk-6VX2ZZH2.js} +2 -2
  49. package/dist/{chunk-4FFROSFG.js → chunk-7CJO52ET.js} +8 -8
  50. package/dist/{chunk-JFLKSD5V.js → chunk-A5BYPCDI.js} +2 -2
  51. package/dist/{chunk-EFWHCTYJ.js → chunk-ALKRPLWB.js} +2 -2
  52. package/dist/{chunk-JDI7G6EA.js → chunk-AUIAHNO7.js} +2 -2
  53. package/dist/{chunk-BHO6RHE5.js → chunk-BE5SVRFC.js} +2 -2
  54. package/dist/{chunk-QCECHYZL.js → chunk-E2GYBTSP.js} +24 -4
  55. package/dist/chunk-E2GYBTSP.js.map +1 -0
  56. package/dist/{chunk-3MA7JVXN.js → chunk-EJYAE2U7.js} +4 -4
  57. package/dist/{chunk-IZRNVNPV.js → chunk-F2FZEVDE.js} +2 -2
  58. package/dist/{chunk-AYIHDC5S.js → chunk-FNYIMSKI.js} +2 -2
  59. package/dist/{chunk-ZPGHA7EO.js → chunk-FU7OICXE.js} +7 -7
  60. package/dist/{chunk-4Y2RHVCV.js → chunk-GL4RHVHX.js} +2 -2
  61. package/dist/{chunk-HVKMJAEF.js → chunk-GUBT77YC.js} +2 -2
  62. package/dist/{chunk-4IZ2IT7D.js → chunk-J5AFG5JN.js} +3 -3
  63. package/dist/{chunk-QCI73Z7C.js → chunk-KP36WQBJ.js} +2 -2
  64. package/dist/{chunk-H23GIXJC.js → chunk-LAX6S5WS.js} +2 -2
  65. package/dist/{chunk-DTLF2SLZ.js → chunk-MMM7SDOJ.js} +2 -2
  66. package/dist/{chunk-KPML4Q3M.js → chunk-MQFFR6QB.js} +2 -2
  67. package/dist/{chunk-BBHFAVMP.js → chunk-NVSTZ2PN.js} +7 -7
  68. package/dist/{chunk-CALURYWR.js → chunk-OF6KQJ35.js} +2 -2
  69. package/dist/{chunk-JCJGYNIS.js → chunk-ORB56L3Y.js} +3 -3
  70. package/dist/{chunk-YIIC5IDU.js → chunk-P2BT5ALE.js} +1 -1
  71. package/dist/{chunk-BP6WMYLP.js → chunk-R7R4FSV2.js} +2 -2
  72. package/dist/{chunk-CLJ5QS6J.js → chunk-RBBYKXXK.js} +30 -24
  73. package/dist/{chunk-CLJ5QS6J.js.map → chunk-RBBYKXXK.js.map} +1 -1
  74. package/dist/{chunk-FF6E6HOT.js → chunk-RBJKE5LV.js} +16 -16
  75. package/dist/{chunk-PSNN25DW.js → chunk-S4MF77NV.js} +2 -2
  76. package/dist/{chunk-4HO3542O.js → chunk-S52C2DEM.js} +2 -2
  77. package/dist/{chunk-WMOJIOIG.js → chunk-SHSJP4D6.js} +2 -2
  78. package/dist/{chunk-CK3NQUSQ.js → chunk-U4CCRHN6.js} +2 -2
  79. package/dist/{chunk-TGSMU3F2.js → chunk-U5LYM2NS.js} +2 -2
  80. package/dist/{chunk-X6E7TT3A.js → chunk-UDL4DNBM.js} +2 -2
  81. package/dist/{chunk-WR2YKUIW.js → chunk-UKBIB3FP.js} +2 -2
  82. package/dist/{chunk-347ZR6D4.js → chunk-UM7A4CPT.js} +2 -2
  83. package/dist/{chunk-TIRJV2LW.js → chunk-USKANB65.js} +2 -2
  84. package/dist/{chunk-UDTME32W.js → chunk-UW74LP76.js} +2 -2
  85. package/dist/{chunk-YSR3DXGC.js → chunk-WLITCQAC.js} +2 -2
  86. package/dist/{chunk-LLGDVG52.js → chunk-ZSH6GJ2V.js} +3 -3
  87. package/dist/{chunk-DROAPP6N.js → chunk-ZXMNT75M.js} +3 -3
  88. package/dist/{cli-Bw9z-KqX.d.ts → cli-DJwNNDL1.d.ts} +1 -1
  89. package/dist/cli.d.ts +2 -2
  90. package/dist/cli.js +32 -32
  91. package/dist/compounding/engine.js +5 -5
  92. package/dist/connectors/codex-materialize-runner.js +5 -5
  93. package/dist/connectors/index.js +5 -5
  94. package/dist/convergence-refresh.js +7 -7
  95. package/dist/corpus-watermark.js +7 -7
  96. package/dist/entity-retrieval.js +5 -5
  97. package/dist/external-wiki-access.d.ts +1 -1
  98. package/dist/external-wiki-access.js +14 -14
  99. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  100. package/dist/extraction.js +9 -9
  101. package/dist/harmonic-retrieval.js +1 -1
  102. package/dist/index.d.ts +681 -681
  103. package/dist/index.js +43 -43
  104. package/dist/maintenance/memory-governance.js +5 -5
  105. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
  106. package/dist/maintenance/rebuild-memory-projection.js +6 -6
  107. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  108. package/dist/namespaces/migrate.js +6 -6
  109. package/dist/namespaces/search.js +3 -3
  110. package/dist/namespaces/storage.js +5 -5
  111. package/dist/operator-doctor-corpus.js +8 -8
  112. package/dist/operator-toolkit.js +12 -12
  113. package/dist/orchestration/maintenance.js +10 -10
  114. package/dist/orchestrator.js +43 -43
  115. package/dist/{public-http-DK-QwaBu.d.ts → public-http-43z1YT-k.d.ts} +1 -1
  116. package/dist/{qmd-D_62bYNl.d.ts → qmd-CBSxevyb.d.ts} +12 -1
  117. package/dist/qmd-preflight.d.ts +1 -1
  118. package/dist/qmd.d.ts +1 -1
  119. package/dist/qmd.js +3 -1
  120. package/dist/retrieval-agents.d.ts +1 -1
  121. package/dist/schemas.d.ts +117 -434
  122. package/dist/schemas.js +1 -1
  123. package/dist/search/factory.js +2 -2
  124. package/dist/search/index.js +2 -2
  125. package/dist/semantic-consolidation.js +6 -6
  126. package/dist/semantic-rule-promotion.js +5 -5
  127. package/dist/semantic-rule-verifier.js +5 -5
  128. package/dist/shared-context/manager.d.ts +8 -8
  129. package/dist/source-agent-qualifier.js +7 -7
  130. package/dist/storage.js +4 -4
  131. package/dist/support-passport/index.d.ts +4 -4
  132. package/dist/support-passport/index.js +16 -16
  133. package/dist/transfer/types.d.ts +66 -66
  134. package/dist/verified-recall.js +5 -5
  135. package/package.json +2 -2
  136. package/src/orchestration/turn-ingestion.ts +24 -1
  137. package/src/orchestrator-flush.test.ts +142 -1
  138. package/src/qmd-process-group.test.ts +125 -0
  139. package/src/qmd.ts +30 -2
  140. package/src/schemas.test.ts +158 -0
  141. package/src/schemas.ts +45 -22
  142. package/dist/chunk-QCECHYZL.js.map +0 -1
  143. package/dist/chunk-WFLBP5GC.js.map +0 -1
  144. package/dist/{access-service-M4LgO141.d.ts → access-service-DBpEnlzA.d.ts} +64 -64
  145. /package/dist/{chunk-CH627RRV.js.map → chunk-2AZBPQLK.js.map} +0 -0
  146. /package/dist/{chunk-LTJTP5YQ.js.map → chunk-4WW5FMUD.js.map} +0 -0
  147. /package/dist/{chunk-HSBQJRV2.js.map → chunk-5LVSFKQB.js.map} +0 -0
  148. /package/dist/{chunk-RFH7U5LT.js.map → chunk-5S7Y7AC6.js.map} +0 -0
  149. /package/dist/{chunk-7BJYTX6Q.js.map → chunk-6VX2ZZH2.js.map} +0 -0
  150. /package/dist/{chunk-4FFROSFG.js.map → chunk-7CJO52ET.js.map} +0 -0
  151. /package/dist/{chunk-JFLKSD5V.js.map → chunk-A5BYPCDI.js.map} +0 -0
  152. /package/dist/{chunk-EFWHCTYJ.js.map → chunk-ALKRPLWB.js.map} +0 -0
  153. /package/dist/{chunk-JDI7G6EA.js.map → chunk-AUIAHNO7.js.map} +0 -0
  154. /package/dist/{chunk-BHO6RHE5.js.map → chunk-BE5SVRFC.js.map} +0 -0
  155. /package/dist/{chunk-3MA7JVXN.js.map → chunk-EJYAE2U7.js.map} +0 -0
  156. /package/dist/{chunk-IZRNVNPV.js.map → chunk-F2FZEVDE.js.map} +0 -0
  157. /package/dist/{chunk-AYIHDC5S.js.map → chunk-FNYIMSKI.js.map} +0 -0
  158. /package/dist/{chunk-ZPGHA7EO.js.map → chunk-FU7OICXE.js.map} +0 -0
  159. /package/dist/{chunk-4Y2RHVCV.js.map → chunk-GL4RHVHX.js.map} +0 -0
  160. /package/dist/{chunk-HVKMJAEF.js.map → chunk-GUBT77YC.js.map} +0 -0
  161. /package/dist/{chunk-4IZ2IT7D.js.map → chunk-J5AFG5JN.js.map} +0 -0
  162. /package/dist/{chunk-QCI73Z7C.js.map → chunk-KP36WQBJ.js.map} +0 -0
  163. /package/dist/{chunk-H23GIXJC.js.map → chunk-LAX6S5WS.js.map} +0 -0
  164. /package/dist/{chunk-DTLF2SLZ.js.map → chunk-MMM7SDOJ.js.map} +0 -0
  165. /package/dist/{chunk-KPML4Q3M.js.map → chunk-MQFFR6QB.js.map} +0 -0
  166. /package/dist/{chunk-BBHFAVMP.js.map → chunk-NVSTZ2PN.js.map} +0 -0
  167. /package/dist/{chunk-CALURYWR.js.map → chunk-OF6KQJ35.js.map} +0 -0
  168. /package/dist/{chunk-JCJGYNIS.js.map → chunk-ORB56L3Y.js.map} +0 -0
  169. /package/dist/{chunk-YIIC5IDU.js.map → chunk-P2BT5ALE.js.map} +0 -0
  170. /package/dist/{chunk-BP6WMYLP.js.map → chunk-R7R4FSV2.js.map} +0 -0
  171. /package/dist/{chunk-FF6E6HOT.js.map → chunk-RBJKE5LV.js.map} +0 -0
  172. /package/dist/{chunk-PSNN25DW.js.map → chunk-S4MF77NV.js.map} +0 -0
  173. /package/dist/{chunk-4HO3542O.js.map → chunk-S52C2DEM.js.map} +0 -0
  174. /package/dist/{chunk-WMOJIOIG.js.map → chunk-SHSJP4D6.js.map} +0 -0
  175. /package/dist/{chunk-CK3NQUSQ.js.map → chunk-U4CCRHN6.js.map} +0 -0
  176. /package/dist/{chunk-TGSMU3F2.js.map → chunk-U5LYM2NS.js.map} +0 -0
  177. /package/dist/{chunk-X6E7TT3A.js.map → chunk-UDL4DNBM.js.map} +0 -0
  178. /package/dist/{chunk-WR2YKUIW.js.map → chunk-UKBIB3FP.js.map} +0 -0
  179. /package/dist/{chunk-347ZR6D4.js.map → chunk-UM7A4CPT.js.map} +0 -0
  180. /package/dist/{chunk-TIRJV2LW.js.map → chunk-USKANB65.js.map} +0 -0
  181. /package/dist/{chunk-UDTME32W.js.map → chunk-UW74LP76.js.map} +0 -0
  182. /package/dist/{chunk-YSR3DXGC.js.map → chunk-WLITCQAC.js.map} +0 -0
  183. /package/dist/{chunk-LLGDVG52.js.map → chunk-ZSH6GJ2V.js.map} +0 -0
  184. /package/dist/{chunk-DROAPP6N.js.map → chunk-ZXMNT75M.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -31,8 +31,8 @@ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAcc
31
31
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
32
32
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
33
33
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
34
- import { f as EngramAccessService } from './access-service-M4LgO141.js';
35
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-M4LgO141.js';
34
+ import { f as EngramAccessService } from './access-service-DBpEnlzA.js';
35
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-DBpEnlzA.js';
36
36
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
37
37
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
38
38
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -40,7 +40,7 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
40
40
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
41
41
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
42
42
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
43
- export { Q as QmdClient } from './qmd-D_62bYNl.js';
43
+ export { Q as QmdClient } from './qmd-CBSxevyb.js';
44
44
  export { LanceDbBackend } from './search/lancedb-backend.js';
45
45
  export { OramaBackend } from './search/orama-backend.js';
46
46
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
@@ -50,13 +50,13 @@ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
50
50
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
51
51
  export { storagePathHash } from './storage-paths.js';
52
52
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
53
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bw9z-KqX.js';
53
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DJwNNDL1.js';
54
54
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
55
55
  export { EngramMcpServer } from './access-mcp.js';
56
56
  import { BoundOperation } from './access-boundary.js';
57
57
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
58
58
  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';
59
- 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-DK-QwaBu.js';
59
+ 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-43z1YT-k.js';
60
60
  import { z } from 'zod';
61
61
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
62
62
  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';
@@ -950,15 +950,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
950
950
  locator: z.ZodOptional<z.ZodString>;
951
951
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
952
952
  }, "strict", z.ZodTypeAny, {
953
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
- label: string;
955
953
  id: string;
954
+ label: string;
955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
956
956
  capture: "at_action" | "historical_lookup" | "fixture";
957
957
  locator?: string | undefined;
958
958
  }, {
959
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
960
- label: string;
961
959
  id: string;
960
+ label: string;
961
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
962
962
  capture: "at_action" | "historical_lookup" | "fixture";
963
963
  locator?: string | undefined;
964
964
  }>;
@@ -975,15 +975,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
975
975
  locator: z.ZodOptional<z.ZodString>;
976
976
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
977
977
  }, "strict", z.ZodTypeAny, {
978
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
- label: string;
980
978
  id: string;
979
+ label: string;
980
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
981
981
  capture: "at_action" | "historical_lookup" | "fixture";
982
982
  locator?: string | undefined;
983
983
  }, {
984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
985
- label: string;
986
984
  id: string;
985
+ label: string;
986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
987
987
  capture: "at_action" | "historical_lookup" | "fixture";
988
988
  locator?: string | undefined;
989
989
  }>, "many">>;
@@ -991,9 +991,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
991
991
  kind: "mission_started";
992
992
  title: string;
993
993
  evidence: {
994
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
995
- label: string;
996
994
  id: string;
995
+ label: string;
996
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
997
997
  capture: "at_action" | "historical_lookup" | "fixture";
998
998
  locator?: string | undefined;
999
999
  }[];
@@ -1005,9 +1005,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1005
1005
  objective: string;
1006
1006
  runMode: "replay" | "fixture" | "live";
1007
1007
  evidence?: {
1008
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1009
- label: string;
1010
1008
  id: string;
1009
+ label: string;
1010
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1011
1011
  capture: "at_action" | "historical_lookup" | "fixture";
1012
1012
  locator?: string | undefined;
1013
1013
  }[] | undefined;
@@ -1023,15 +1023,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1023
1023
  locator: z.ZodOptional<z.ZodString>;
1024
1024
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1025
1025
  }, "strict", z.ZodTypeAny, {
1026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
- label: string;
1028
1026
  id: string;
1027
+ label: string;
1028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
1029
  capture: "at_action" | "historical_lookup" | "fixture";
1030
1030
  locator?: string | undefined;
1031
1031
  }, {
1032
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1033
- label: string;
1034
1032
  id: string;
1033
+ label: string;
1034
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1035
1035
  capture: "at_action" | "historical_lookup" | "fixture";
1036
1036
  locator?: string | undefined;
1037
1037
  }>, "many">>;
@@ -1039,32 +1039,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1039
1039
  sessionId: z.ZodString;
1040
1040
  kind: z.ZodLiteral<"agent_status">;
1041
1041
  }, "strict", z.ZodTypeAny, {
1042
- kind: "agent_status";
1043
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1044
1042
  label: string;
1043
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1044
+ kind: "agent_status";
1045
1045
  role: string;
1046
1046
  agentId: string;
1047
1047
  sessionId: string;
1048
1048
  evidence: {
1049
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
- label: string;
1051
1049
  id: string;
1050
+ label: string;
1051
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1052
1052
  capture: "at_action" | "historical_lookup" | "fixture";
1053
1053
  locator?: string | undefined;
1054
1054
  }[];
1055
1055
  detail?: string | undefined;
1056
1056
  }, {
1057
- kind: "agent_status";
1058
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1059
1057
  label: string;
1058
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1059
+ kind: "agent_status";
1060
1060
  role: string;
1061
1061
  agentId: string;
1062
1062
  sessionId: string;
1063
1063
  detail?: string | undefined;
1064
1064
  evidence?: {
1065
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1066
- label: string;
1067
1065
  id: string;
1066
+ label: string;
1067
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1068
1068
  capture: "at_action" | "historical_lookup" | "fixture";
1069
1069
  locator?: string | undefined;
1070
1070
  }[] | undefined;
@@ -1078,15 +1078,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1078
1078
  locator: z.ZodOptional<z.ZodString>;
1079
1079
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1080
1080
  }, "strict", z.ZodTypeAny, {
1081
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
- label: string;
1083
1081
  id: string;
1082
+ label: string;
1083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1084
1084
  capture: "at_action" | "historical_lookup" | "fixture";
1085
1085
  locator?: string | undefined;
1086
1086
  }, {
1087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1088
- label: string;
1089
1087
  id: string;
1088
+ label: string;
1089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1090
1090
  capture: "at_action" | "historical_lookup" | "fixture";
1091
1091
  locator?: string | undefined;
1092
1092
  }>, "many">>;
@@ -1094,28 +1094,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1094
1094
  sessionId: z.ZodString;
1095
1095
  kind: z.ZodLiteral<"agent_output">;
1096
1096
  }, "strict", z.ZodTypeAny, {
1097
- kind: "agent_output";
1098
1097
  summary: string;
1098
+ kind: "agent_output";
1099
1099
  agentId: string;
1100
1100
  sessionId: string;
1101
1101
  evidence: {
1102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
- label: string;
1104
1102
  id: string;
1103
+ label: string;
1104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1105
1105
  capture: "at_action" | "historical_lookup" | "fixture";
1106
1106
  locator?: string | undefined;
1107
1107
  }[];
1108
1108
  outputId: string;
1109
1109
  }, {
1110
- kind: "agent_output";
1111
1110
  summary: string;
1111
+ kind: "agent_output";
1112
1112
  agentId: string;
1113
1113
  sessionId: string;
1114
1114
  outputId: string;
1115
1115
  evidence?: {
1116
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
- label: string;
1118
1116
  id: string;
1117
+ label: string;
1118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1119
1119
  capture: "at_action" | "historical_lookup" | "fixture";
1120
1120
  locator?: string | undefined;
1121
1121
  }[] | undefined;
@@ -1131,15 +1131,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1131
1131
  locator: z.ZodOptional<z.ZodString>;
1132
1132
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1133
1133
  }, "strict", z.ZodTypeAny, {
1134
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
- label: string;
1136
1134
  id: string;
1135
+ label: string;
1136
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1137
1137
  capture: "at_action" | "historical_lookup" | "fixture";
1138
1138
  locator?: string | undefined;
1139
1139
  }, {
1140
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1141
- label: string;
1142
1140
  id: string;
1141
+ label: string;
1142
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1143
1143
  capture: "at_action" | "historical_lookup" | "fixture";
1144
1144
  locator?: string | undefined;
1145
1145
  }>, "many">>;
@@ -1152,9 +1152,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1152
1152
  statement: string;
1153
1153
  sessionId: string;
1154
1154
  evidence: {
1155
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1156
- label: string;
1157
1155
  id: string;
1156
+ label: string;
1157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1158
1158
  capture: "at_action" | "historical_lookup" | "fixture";
1159
1159
  locator?: string | undefined;
1160
1160
  }[];
@@ -1170,9 +1170,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1170
1170
  decisionId: string;
1171
1171
  confidence?: number | undefined;
1172
1172
  evidence?: {
1173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1174
- label: string;
1175
1173
  id: string;
1174
+ label: string;
1175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1176
1176
  capture: "at_action" | "historical_lookup" | "fixture";
1177
1177
  locator?: string | undefined;
1178
1178
  }[] | undefined;
@@ -1189,25 +1189,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1189
1189
  locator: z.ZodOptional<z.ZodString>;
1190
1190
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1191
1191
  }, "strict", z.ZodTypeAny, {
1192
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1193
- label: string;
1194
1192
  id: string;
1193
+ label: string;
1194
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1195
1195
  capture: "at_action" | "historical_lookup" | "fixture";
1196
1196
  locator?: string | undefined;
1197
1197
  }, {
1198
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1199
- label: string;
1200
1198
  id: string;
1199
+ label: string;
1200
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1201
1201
  capture: "at_action" | "historical_lookup" | "fixture";
1202
1202
  locator?: string | undefined;
1203
1203
  }>, "many">>;
1204
1204
  }, "strict", z.ZodTypeAny, {
1205
- kind: "conflict_detected";
1206
1205
  summary: string;
1206
+ kind: "conflict_detected";
1207
1207
  evidence: {
1208
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
- label: string;
1210
1208
  id: string;
1209
+ label: string;
1210
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1211
1211
  capture: "at_action" | "historical_lookup" | "fixture";
1212
1212
  locator?: string | undefined;
1213
1213
  }[];
@@ -1215,15 +1215,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1215
1215
  decisionIds: string[];
1216
1216
  agentIds: string[];
1217
1217
  }, {
1218
- kind: "conflict_detected";
1219
1218
  summary: string;
1219
+ kind: "conflict_detected";
1220
1220
  conflictId: string;
1221
1221
  decisionIds: string[];
1222
1222
  agentIds: string[];
1223
1223
  evidence?: {
1224
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1225
- label: string;
1226
1224
  id: string;
1225
+ label: string;
1226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1227
1227
  capture: "at_action" | "historical_lookup" | "fixture";
1228
1228
  locator?: string | undefined;
1229
1229
  }[] | undefined;
@@ -1243,27 +1243,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1243
1243
  locator: z.ZodOptional<z.ZodString>;
1244
1244
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1245
1245
  }, "strict", z.ZodTypeAny, {
1246
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
- label: string;
1248
1246
  id: string;
1247
+ label: string;
1248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1249
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1250
  locator?: string | undefined;
1251
1251
  }, {
1252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1253
- label: string;
1254
1252
  id: string;
1253
+ label: string;
1254
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
1255
  capture: "at_action" | "historical_lookup" | "fixture";
1256
1256
  locator?: string | undefined;
1257
1257
  }>, "many">>;
1258
1258
  }, "strict", z.ZodTypeAny, {
1259
- kind: "test_result";
1260
1259
  summary: string;
1261
1260
  status: "error" | "failed" | "passed";
1261
+ kind: "test_result";
1262
1262
  command: string;
1263
1263
  evidence: {
1264
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1265
- label: string;
1266
1264
  id: string;
1265
+ label: string;
1266
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1267
1267
  capture: "at_action" | "historical_lookup" | "fixture";
1268
1268
  locator?: string | undefined;
1269
1269
  }[];
@@ -1272,17 +1272,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1272
1272
  durationMs?: number | undefined;
1273
1273
  correctionId?: string | undefined;
1274
1274
  }, {
1275
- kind: "test_result";
1276
1275
  summary: string;
1277
1276
  status: "error" | "failed" | "passed";
1277
+ kind: "test_result";
1278
1278
  command: string;
1279
1279
  decisionId: string;
1280
1280
  testId: string;
1281
1281
  durationMs?: number | undefined;
1282
1282
  evidence?: {
1283
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
- label: string;
1285
1283
  id: string;
1284
+ label: string;
1285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1286
1286
  capture: "at_action" | "historical_lookup" | "fixture";
1287
1287
  locator?: string | undefined;
1288
1288
  }[] | undefined;
@@ -1303,15 +1303,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1303
1303
  locator: z.ZodOptional<z.ZodString>;
1304
1304
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1305
1305
  }, "strict", z.ZodTypeAny, {
1306
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
- label: string;
1308
1306
  id: string;
1307
+ label: string;
1308
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1309
1309
  capture: "at_action" | "historical_lookup" | "fixture";
1310
1310
  locator?: string | undefined;
1311
1311
  }, {
1312
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
- label: string;
1314
1312
  id: string;
1313
+ label: string;
1314
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
1315
  capture: "at_action" | "historical_lookup" | "fixture";
1316
1316
  locator?: string | undefined;
1317
1317
  }>, "many">>;
@@ -1320,9 +1320,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1320
1320
  statement: string;
1321
1321
  rationale: string;
1322
1322
  evidence: {
1323
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1324
- label: string;
1325
1323
  id: string;
1324
+ label: string;
1325
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
1326
  capture: "at_action" | "historical_lookup" | "fixture";
1327
1327
  locator?: string | undefined;
1328
1328
  }[];
@@ -1341,9 +1341,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1341
1341
  supersedesDecisionIds: string[];
1342
1342
  proposedBy: string;
1343
1343
  evidence?: {
1344
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
- label: string;
1346
1344
  id: string;
1345
+ label: string;
1346
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
1347
  capture: "at_action" | "historical_lookup" | "fixture";
1348
1348
  locator?: string | undefined;
1349
1349
  }[] | undefined;
@@ -1355,13 +1355,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1355
1355
  id: z.ZodString;
1356
1356
  label: z.ZodString;
1357
1357
  }, "strict", z.ZodTypeAny, {
1358
- kind: "agent" | "human";
1359
- label: string;
1360
1358
  id: string;
1361
- }, {
1362
- kind: "agent" | "human";
1363
1359
  label: string;
1360
+ kind: "agent" | "human";
1361
+ }, {
1364
1362
  id: string;
1363
+ label: string;
1364
+ kind: "agent" | "human";
1365
1365
  }>;
1366
1366
  note: z.ZodOptional<z.ZodString>;
1367
1367
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1371,47 +1371,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1371
1371
  locator: z.ZodOptional<z.ZodString>;
1372
1372
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1373
1373
  }, "strict", z.ZodTypeAny, {
1374
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
- label: string;
1376
1374
  id: string;
1375
+ label: string;
1376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1377
1377
  capture: "at_action" | "historical_lookup" | "fixture";
1378
1378
  locator?: string | undefined;
1379
1379
  }, {
1380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
- label: string;
1382
1380
  id: string;
1381
+ label: string;
1382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
1383
  capture: "at_action" | "historical_lookup" | "fixture";
1384
1384
  locator?: string | undefined;
1385
1385
  }>, "many">>;
1386
1386
  }, "strict", z.ZodTypeAny, {
1387
1387
  kind: "correction_approved";
1388
1388
  evidence: {
1389
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
- label: string;
1391
1389
  id: string;
1390
+ label: string;
1391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
1392
  capture: "at_action" | "historical_lookup" | "fixture";
1393
1393
  locator?: string | undefined;
1394
1394
  }[];
1395
1395
  correctionId: string;
1396
1396
  approvedBy: {
1397
- kind: "agent" | "human";
1398
- label: string;
1399
1397
  id: string;
1398
+ label: string;
1399
+ kind: "agent" | "human";
1400
1400
  };
1401
1401
  note?: string | undefined;
1402
1402
  }, {
1403
1403
  kind: "correction_approved";
1404
1404
  correctionId: string;
1405
1405
  approvedBy: {
1406
- kind: "agent" | "human";
1407
- label: string;
1408
1406
  id: string;
1407
+ label: string;
1408
+ kind: "agent" | "human";
1409
1409
  };
1410
1410
  note?: string | undefined;
1411
1411
  evidence?: {
1412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
- label: string;
1414
1412
  id: string;
1413
+ label: string;
1414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1415
1415
  capture: "at_action" | "historical_lookup" | "fixture";
1416
1416
  locator?: string | undefined;
1417
1417
  }[] | undefined;
@@ -1427,24 +1427,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1427
1427
  locator: z.ZodOptional<z.ZodString>;
1428
1428
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1429
1429
  }, "strict", z.ZodTypeAny, {
1430
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
- label: string;
1432
1430
  id: string;
1431
+ label: string;
1432
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1433
1433
  capture: "at_action" | "historical_lookup" | "fixture";
1434
1434
  locator?: string | undefined;
1435
1435
  }, {
1436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
- label: string;
1438
1436
  id: string;
1437
+ label: string;
1438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1439
1439
  capture: "at_action" | "historical_lookup" | "fixture";
1440
1440
  locator?: string | undefined;
1441
1441
  }>, "many">>;
1442
1442
  }, "strict", z.ZodTypeAny, {
1443
1443
  kind: "decision_superseded";
1444
1444
  evidence: {
1445
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1446
- label: string;
1447
1445
  id: string;
1446
+ label: string;
1447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1448
1448
  capture: "at_action" | "historical_lookup" | "fixture";
1449
1449
  locator?: string | undefined;
1450
1450
  }[];
@@ -1457,9 +1457,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1457
1457
  correctionId: string;
1458
1458
  replacementDecisionId: string;
1459
1459
  evidence?: {
1460
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
- label: string;
1462
1460
  id: string;
1461
+ label: string;
1462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1463
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1464
1464
  locator?: string | undefined;
1465
1465
  }[] | undefined;
@@ -1475,15 +1475,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1475
1475
  locator: z.ZodOptional<z.ZodString>;
1476
1476
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1477
1477
  }, "strict", z.ZodTypeAny, {
1478
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
- label: string;
1480
1478
  id: string;
1479
+ label: string;
1480
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
1481
  capture: "at_action" | "historical_lookup" | "fixture";
1482
1482
  locator?: string | undefined;
1483
1483
  }, {
1484
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
- label: string;
1486
1484
  id: string;
1485
+ label: string;
1486
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
1487
  capture: "at_action" | "historical_lookup" | "fixture";
1488
1488
  locator?: string | undefined;
1489
1489
  }>, "many">>;
@@ -1496,9 +1496,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1496
1496
  agentId: string;
1497
1497
  sessionId: string;
1498
1498
  evidence: {
1499
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
- label: string;
1501
1499
  id: string;
1500
+ label: string;
1501
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
1502
  capture: "at_action" | "historical_lookup" | "fixture";
1503
1503
  locator?: string | undefined;
1504
1504
  }[];
@@ -1514,9 +1514,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1514
1514
  recallReceiptId: string;
1515
1515
  capturedAtAction: boolean;
1516
1516
  evidence?: {
1517
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
- label: string;
1519
1517
  id: string;
1518
+ label: string;
1519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1520
1520
  capture: "at_action" | "historical_lookup" | "fixture";
1521
1521
  locator?: string | undefined;
1522
1522
  }[] | undefined;
@@ -1532,15 +1532,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1532
1532
  locator: z.ZodOptional<z.ZodString>;
1533
1533
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1534
1534
  }, "strict", z.ZodTypeAny, {
1535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
- label: string;
1537
1535
  id: string;
1536
+ label: string;
1537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1538
  capture: "at_action" | "historical_lookup" | "fixture";
1539
1539
  locator?: string | undefined;
1540
1540
  }, {
1541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
- label: string;
1543
1541
  id: string;
1542
+ label: string;
1543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
1544
  capture: "at_action" | "historical_lookup" | "fixture";
1545
1545
  locator?: string | undefined;
1546
1546
  }>, "many">>;
@@ -1552,9 +1552,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1552
1552
  agentId: string;
1553
1553
  sessionId: string;
1554
1554
  evidence: {
1555
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
- label: string;
1557
1555
  id: string;
1556
+ label: string;
1557
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
1558
  capture: "at_action" | "historical_lookup" | "fixture";
1559
1559
  locator?: string | undefined;
1560
1560
  }[];
@@ -1571,9 +1571,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1571
1571
  recallReceiptId: string;
1572
1572
  staleDecisionAbsent: boolean;
1573
1573
  evidence?: {
1574
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1575
- label: string;
1576
1574
  id: string;
1575
+ label: string;
1576
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
1577
  capture: "at_action" | "historical_lookup" | "fixture";
1578
1578
  locator?: string | undefined;
1579
1579
  }[] | undefined;
@@ -1588,37 +1588,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1588
1588
  locator: z.ZodOptional<z.ZodString>;
1589
1589
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1590
1590
  }, "strict", z.ZodTypeAny, {
1591
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
- label: string;
1593
1591
  id: string;
1592
+ label: string;
1593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1594
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1595
  locator?: string | undefined;
1596
1596
  }, {
1597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
- label: string;
1599
1597
  id: string;
1598
+ label: string;
1599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
1600
  capture: "at_action" | "historical_lookup" | "fixture";
1601
1601
  locator?: string | undefined;
1602
1602
  }>, "many">>;
1603
1603
  }, "strict", z.ZodTypeAny, {
1604
- kind: "mission_completed";
1605
1604
  summary: string;
1605
+ kind: "mission_completed";
1606
1606
  outcome: "failed" | "recovered" | "inconclusive";
1607
1607
  evidence: {
1608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
- label: string;
1610
1608
  id: string;
1609
+ label: string;
1610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1611
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1612
  locator?: string | undefined;
1613
1613
  }[];
1614
1614
  }, {
1615
- kind: "mission_completed";
1616
1615
  summary: string;
1616
+ kind: "mission_completed";
1617
1617
  outcome: "failed" | "recovered" | "inconclusive";
1618
1618
  evidence?: {
1619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
- label: string;
1621
1619
  id: string;
1620
+ label: string;
1621
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
1622
  capture: "at_action" | "historical_lookup" | "fixture";
1623
1623
  locator?: string | undefined;
1624
1624
  }[] | undefined;
@@ -1626,38 +1626,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1626
1626
  kind: "mission_started";
1627
1627
  title: string;
1628
1628
  evidence: {
1629
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
- label: string;
1631
1629
  id: string;
1630
+ label: string;
1631
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
1632
  capture: "at_action" | "historical_lookup" | "fixture";
1633
1633
  locator?: string | undefined;
1634
1634
  }[];
1635
1635
  objective: string;
1636
1636
  runMode: "replay" | "fixture" | "live";
1637
1637
  } | {
1638
- kind: "agent_status";
1639
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1640
1638
  label: string;
1639
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1640
+ kind: "agent_status";
1641
1641
  role: string;
1642
1642
  agentId: string;
1643
1643
  sessionId: string;
1644
1644
  evidence: {
1645
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1646
- label: string;
1647
1645
  id: string;
1646
+ label: string;
1647
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1648
1648
  capture: "at_action" | "historical_lookup" | "fixture";
1649
1649
  locator?: string | undefined;
1650
1650
  }[];
1651
1651
  detail?: string | undefined;
1652
1652
  } | {
1653
- kind: "agent_output";
1654
1653
  summary: string;
1654
+ kind: "agent_output";
1655
1655
  agentId: string;
1656
1656
  sessionId: string;
1657
1657
  evidence: {
1658
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
- label: string;
1660
1658
  id: string;
1659
+ label: string;
1660
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1661
1661
  capture: "at_action" | "historical_lookup" | "fixture";
1662
1662
  locator?: string | undefined;
1663
1663
  }[];
@@ -1668,9 +1668,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1668
1668
  statement: string;
1669
1669
  sessionId: string;
1670
1670
  evidence: {
1671
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
- label: string;
1673
1671
  id: string;
1672
+ label: string;
1673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1674
1674
  capture: "at_action" | "historical_lookup" | "fixture";
1675
1675
  locator?: string | undefined;
1676
1676
  }[];
@@ -1678,12 +1678,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1678
1678
  decisionId: string;
1679
1679
  confidence?: number | undefined;
1680
1680
  } | {
1681
- kind: "conflict_detected";
1682
1681
  summary: string;
1682
+ kind: "conflict_detected";
1683
1683
  evidence: {
1684
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1685
- label: string;
1686
1684
  id: string;
1685
+ label: string;
1686
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1687
1687
  capture: "at_action" | "historical_lookup" | "fixture";
1688
1688
  locator?: string | undefined;
1689
1689
  }[];
@@ -1691,14 +1691,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1691
1691
  decisionIds: string[];
1692
1692
  agentIds: string[];
1693
1693
  } | {
1694
- kind: "test_result";
1695
1694
  summary: string;
1696
1695
  status: "error" | "failed" | "passed";
1696
+ kind: "test_result";
1697
1697
  command: string;
1698
1698
  evidence: {
1699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
- label: string;
1701
1699
  id: string;
1700
+ label: string;
1701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1702
1702
  capture: "at_action" | "historical_lookup" | "fixture";
1703
1703
  locator?: string | undefined;
1704
1704
  }[];
@@ -1711,9 +1711,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1711
1711
  statement: string;
1712
1712
  rationale: string;
1713
1713
  evidence: {
1714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
- label: string;
1716
1714
  id: string;
1715
+ label: string;
1716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1717
1717
  capture: "at_action" | "historical_lookup" | "fixture";
1718
1718
  locator?: string | undefined;
1719
1719
  }[];
@@ -1725,25 +1725,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1725
1725
  } | {
1726
1726
  kind: "correction_approved";
1727
1727
  evidence: {
1728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
- label: string;
1730
1728
  id: string;
1729
+ label: string;
1730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1731
  capture: "at_action" | "historical_lookup" | "fixture";
1732
1732
  locator?: string | undefined;
1733
1733
  }[];
1734
1734
  correctionId: string;
1735
1735
  approvedBy: {
1736
- kind: "agent" | "human";
1737
- label: string;
1738
1736
  id: string;
1737
+ label: string;
1738
+ kind: "agent" | "human";
1739
1739
  };
1740
1740
  note?: string | undefined;
1741
1741
  } | {
1742
1742
  kind: "decision_superseded";
1743
1743
  evidence: {
1744
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1745
- label: string;
1746
1744
  id: string;
1745
+ label: string;
1746
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1747
1747
  capture: "at_action" | "historical_lookup" | "fixture";
1748
1748
  locator?: string | undefined;
1749
1749
  }[];
@@ -1756,9 +1756,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1756
1756
  agentId: string;
1757
1757
  sessionId: string;
1758
1758
  evidence: {
1759
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
- label: string;
1761
1759
  id: string;
1760
+ label: string;
1761
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
1762
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1763
  locator?: string | undefined;
1764
1764
  }[];
@@ -1770,9 +1770,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1770
1770
  agentId: string;
1771
1771
  sessionId: string;
1772
1772
  evidence: {
1773
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
- label: string;
1775
1773
  id: string;
1774
+ label: string;
1775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
1776
  capture: "at_action" | "historical_lookup" | "fixture";
1777
1777
  locator?: string | undefined;
1778
1778
  }[];
@@ -1781,13 +1781,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1781
1781
  recallReceiptId: string;
1782
1782
  staleDecisionAbsent: boolean;
1783
1783
  } | {
1784
- kind: "mission_completed";
1785
1784
  summary: string;
1785
+ kind: "mission_completed";
1786
1786
  outcome: "failed" | "recovered" | "inconclusive";
1787
1787
  evidence: {
1788
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1789
- label: string;
1790
1788
  id: string;
1789
+ label: string;
1790
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1791
1791
  capture: "at_action" | "historical_lookup" | "fixture";
1792
1792
  locator?: string | undefined;
1793
1793
  }[];
@@ -1797,37 +1797,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1797
1797
  objective: string;
1798
1798
  runMode: "replay" | "fixture" | "live";
1799
1799
  evidence?: {
1800
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
- label: string;
1802
1800
  id: string;
1801
+ label: string;
1802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
1803
  capture: "at_action" | "historical_lookup" | "fixture";
1804
1804
  locator?: string | undefined;
1805
1805
  }[] | undefined;
1806
1806
  } | {
1807
- kind: "agent_status";
1808
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1809
1807
  label: string;
1808
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1809
+ kind: "agent_status";
1810
1810
  role: string;
1811
1811
  agentId: string;
1812
1812
  sessionId: string;
1813
1813
  detail?: string | undefined;
1814
1814
  evidence?: {
1815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
- label: string;
1817
1815
  id: string;
1816
+ label: string;
1817
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
1818
  capture: "at_action" | "historical_lookup" | "fixture";
1819
1819
  locator?: string | undefined;
1820
1820
  }[] | undefined;
1821
1821
  } | {
1822
- kind: "agent_output";
1823
1822
  summary: string;
1823
+ kind: "agent_output";
1824
1824
  agentId: string;
1825
1825
  sessionId: string;
1826
1826
  outputId: string;
1827
1827
  evidence?: {
1828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
- label: string;
1830
1828
  id: string;
1829
+ label: string;
1830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1831
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1832
  locator?: string | undefined;
1833
1833
  }[] | undefined;
@@ -1840,37 +1840,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1840
1840
  decisionId: string;
1841
1841
  confidence?: number | undefined;
1842
1842
  evidence?: {
1843
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
- label: string;
1845
1843
  id: string;
1844
+ label: string;
1845
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1846
1846
  capture: "at_action" | "historical_lookup" | "fixture";
1847
1847
  locator?: string | undefined;
1848
1848
  }[] | undefined;
1849
1849
  } | {
1850
- kind: "conflict_detected";
1851
1850
  summary: string;
1851
+ kind: "conflict_detected";
1852
1852
  conflictId: string;
1853
1853
  decisionIds: string[];
1854
1854
  agentIds: string[];
1855
1855
  evidence?: {
1856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
- label: string;
1858
1856
  id: string;
1857
+ label: string;
1858
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1859
1859
  capture: "at_action" | "historical_lookup" | "fixture";
1860
1860
  locator?: string | undefined;
1861
1861
  }[] | undefined;
1862
1862
  } | {
1863
- kind: "test_result";
1864
1863
  summary: string;
1865
1864
  status: "error" | "failed" | "passed";
1865
+ kind: "test_result";
1866
1866
  command: string;
1867
1867
  decisionId: string;
1868
1868
  testId: string;
1869
1869
  durationMs?: number | undefined;
1870
1870
  evidence?: {
1871
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1872
- label: string;
1873
1871
  id: string;
1872
+ label: string;
1873
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1875
1875
  locator?: string | undefined;
1876
1876
  }[] | undefined;
@@ -1885,9 +1885,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1885
1885
  supersedesDecisionIds: string[];
1886
1886
  proposedBy: string;
1887
1887
  evidence?: {
1888
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
- label: string;
1890
1888
  id: string;
1889
+ label: string;
1890
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
1891
  capture: "at_action" | "historical_lookup" | "fixture";
1892
1892
  locator?: string | undefined;
1893
1893
  }[] | undefined;
@@ -1895,15 +1895,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1895
1895
  kind: "correction_approved";
1896
1896
  correctionId: string;
1897
1897
  approvedBy: {
1898
- kind: "agent" | "human";
1899
- label: string;
1900
1898
  id: string;
1899
+ label: string;
1900
+ kind: "agent" | "human";
1901
1901
  };
1902
1902
  note?: string | undefined;
1903
1903
  evidence?: {
1904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
- label: string;
1906
1904
  id: string;
1905
+ label: string;
1906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1907
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1908
  locator?: string | undefined;
1909
1909
  }[] | undefined;
@@ -1913,9 +1913,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1913
1913
  correctionId: string;
1914
1914
  replacementDecisionId: string;
1915
1915
  evidence?: {
1916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
- label: string;
1918
1916
  id: string;
1917
+ label: string;
1918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1919
1919
  capture: "at_action" | "historical_lookup" | "fixture";
1920
1920
  locator?: string | undefined;
1921
1921
  }[] | undefined;
@@ -1928,9 +1928,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1928
1928
  recallReceiptId: string;
1929
1929
  capturedAtAction: boolean;
1930
1930
  evidence?: {
1931
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1932
- label: string;
1933
1931
  id: string;
1932
+ label: string;
1933
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
1934
  capture: "at_action" | "historical_lookup" | "fixture";
1935
1935
  locator?: string | undefined;
1936
1936
  }[] | undefined;
@@ -1943,20 +1943,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1943
1943
  recallReceiptId: string;
1944
1944
  staleDecisionAbsent: boolean;
1945
1945
  evidence?: {
1946
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
- label: string;
1948
1946
  id: string;
1947
+ label: string;
1948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
1949
  capture: "at_action" | "historical_lookup" | "fixture";
1950
1950
  locator?: string | undefined;
1951
1951
  }[] | undefined;
1952
1952
  } | {
1953
- kind: "mission_completed";
1954
1953
  summary: string;
1954
+ kind: "mission_completed";
1955
1955
  outcome: "failed" | "recovered" | "inconclusive";
1956
1956
  evidence?: {
1957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
- label: string;
1959
1957
  id: string;
1958
+ label: string;
1959
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
1960
  capture: "at_action" | "historical_lookup" | "fixture";
1961
1961
  locator?: string | undefined;
1962
1962
  }[] | undefined;
@@ -1977,15 +1977,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1977
1977
  locator: z.ZodOptional<z.ZodString>;
1978
1978
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1979
1979
  }, "strict", z.ZodTypeAny, {
1980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
- label: string;
1982
1980
  id: string;
1981
+ label: string;
1982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
1983
  capture: "at_action" | "historical_lookup" | "fixture";
1984
1984
  locator?: string | undefined;
1985
1985
  }, {
1986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
- label: string;
1988
1986
  id: string;
1987
+ label: string;
1988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1989
1989
  capture: "at_action" | "historical_lookup" | "fixture";
1990
1990
  locator?: string | undefined;
1991
1991
  }>, "many">>;
@@ -1993,9 +1993,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1993
1993
  kind: "mission_started";
1994
1994
  title: string;
1995
1995
  evidence: {
1996
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
- label: string;
1998
1996
  id: string;
1997
+ label: string;
1998
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1999
1999
  capture: "at_action" | "historical_lookup" | "fixture";
2000
2000
  locator?: string | undefined;
2001
2001
  }[];
@@ -2007,9 +2007,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2007
2007
  objective: string;
2008
2008
  runMode: "replay" | "fixture" | "live";
2009
2009
  evidence?: {
2010
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
- label: string;
2012
2010
  id: string;
2011
+ label: string;
2012
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2013
2013
  capture: "at_action" | "historical_lookup" | "fixture";
2014
2014
  locator?: string | undefined;
2015
2015
  }[] | undefined;
@@ -2025,15 +2025,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2025
2025
  locator: z.ZodOptional<z.ZodString>;
2026
2026
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2027
2027
  }, "strict", z.ZodTypeAny, {
2028
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
- label: string;
2030
2028
  id: string;
2029
+ label: string;
2030
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
2031
  capture: "at_action" | "historical_lookup" | "fixture";
2032
2032
  locator?: string | undefined;
2033
2033
  }, {
2034
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
- label: string;
2036
2034
  id: string;
2035
+ label: string;
2036
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
2037
  capture: "at_action" | "historical_lookup" | "fixture";
2038
2038
  locator?: string | undefined;
2039
2039
  }>, "many">>;
@@ -2041,32 +2041,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2041
2041
  sessionId: z.ZodString;
2042
2042
  kind: z.ZodLiteral<"agent_status">;
2043
2043
  }, "strict", z.ZodTypeAny, {
2044
- kind: "agent_status";
2045
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2046
2044
  label: string;
2045
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2046
+ kind: "agent_status";
2047
2047
  role: string;
2048
2048
  agentId: string;
2049
2049
  sessionId: string;
2050
2050
  evidence: {
2051
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
- label: string;
2053
2051
  id: string;
2052
+ label: string;
2053
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2054
2054
  capture: "at_action" | "historical_lookup" | "fixture";
2055
2055
  locator?: string | undefined;
2056
2056
  }[];
2057
2057
  detail?: string | undefined;
2058
2058
  }, {
2059
- kind: "agent_status";
2060
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2061
2059
  label: string;
2060
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2061
+ kind: "agent_status";
2062
2062
  role: string;
2063
2063
  agentId: string;
2064
2064
  sessionId: string;
2065
2065
  detail?: string | undefined;
2066
2066
  evidence?: {
2067
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
- label: string;
2069
2067
  id: string;
2068
+ label: string;
2069
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
2070
  capture: "at_action" | "historical_lookup" | "fixture";
2071
2071
  locator?: string | undefined;
2072
2072
  }[] | undefined;
@@ -2080,15 +2080,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2080
2080
  locator: z.ZodOptional<z.ZodString>;
2081
2081
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2082
2082
  }, "strict", z.ZodTypeAny, {
2083
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
- label: string;
2085
2083
  id: string;
2084
+ label: string;
2085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2086
  capture: "at_action" | "historical_lookup" | "fixture";
2087
2087
  locator?: string | undefined;
2088
2088
  }, {
2089
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2090
- label: string;
2091
2089
  id: string;
2090
+ label: string;
2091
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
2092
  capture: "at_action" | "historical_lookup" | "fixture";
2093
2093
  locator?: string | undefined;
2094
2094
  }>, "many">>;
@@ -2096,28 +2096,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2096
2096
  sessionId: z.ZodString;
2097
2097
  kind: z.ZodLiteral<"agent_output">;
2098
2098
  }, "strict", z.ZodTypeAny, {
2099
- kind: "agent_output";
2100
2099
  summary: string;
2100
+ kind: "agent_output";
2101
2101
  agentId: string;
2102
2102
  sessionId: string;
2103
2103
  evidence: {
2104
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
- label: string;
2106
2104
  id: string;
2105
+ label: string;
2106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2107
2107
  capture: "at_action" | "historical_lookup" | "fixture";
2108
2108
  locator?: string | undefined;
2109
2109
  }[];
2110
2110
  outputId: string;
2111
2111
  }, {
2112
- kind: "agent_output";
2113
2112
  summary: string;
2113
+ kind: "agent_output";
2114
2114
  agentId: string;
2115
2115
  sessionId: string;
2116
2116
  outputId: string;
2117
2117
  evidence?: {
2118
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
- label: string;
2120
2118
  id: string;
2119
+ label: string;
2120
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
2121
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2122
  locator?: string | undefined;
2123
2123
  }[] | undefined;
@@ -2133,15 +2133,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2133
2133
  locator: z.ZodOptional<z.ZodString>;
2134
2134
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2135
2135
  }, "strict", z.ZodTypeAny, {
2136
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
- label: string;
2138
2136
  id: string;
2137
+ label: string;
2138
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2139
2139
  capture: "at_action" | "historical_lookup" | "fixture";
2140
2140
  locator?: string | undefined;
2141
2141
  }, {
2142
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2143
- label: string;
2144
2142
  id: string;
2143
+ label: string;
2144
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
2145
  capture: "at_action" | "historical_lookup" | "fixture";
2146
2146
  locator?: string | undefined;
2147
2147
  }>, "many">>;
@@ -2154,9 +2154,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2154
2154
  statement: string;
2155
2155
  sessionId: string;
2156
2156
  evidence: {
2157
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
- label: string;
2159
2157
  id: string;
2158
+ label: string;
2159
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
2160
  capture: "at_action" | "historical_lookup" | "fixture";
2161
2161
  locator?: string | undefined;
2162
2162
  }[];
@@ -2172,9 +2172,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2172
2172
  decisionId: string;
2173
2173
  confidence?: number | undefined;
2174
2174
  evidence?: {
2175
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
- label: string;
2177
2175
  id: string;
2176
+ label: string;
2177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2178
2178
  capture: "at_action" | "historical_lookup" | "fixture";
2179
2179
  locator?: string | undefined;
2180
2180
  }[] | undefined;
@@ -2191,25 +2191,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2191
2191
  locator: z.ZodOptional<z.ZodString>;
2192
2192
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2193
2193
  }, "strict", z.ZodTypeAny, {
2194
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
- label: string;
2196
2194
  id: string;
2195
+ label: string;
2196
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2197
2197
  capture: "at_action" | "historical_lookup" | "fixture";
2198
2198
  locator?: string | undefined;
2199
2199
  }, {
2200
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
- label: string;
2202
2200
  id: string;
2201
+ label: string;
2202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2203
2203
  capture: "at_action" | "historical_lookup" | "fixture";
2204
2204
  locator?: string | undefined;
2205
2205
  }>, "many">>;
2206
2206
  }, "strict", z.ZodTypeAny, {
2207
- kind: "conflict_detected";
2208
2207
  summary: string;
2208
+ kind: "conflict_detected";
2209
2209
  evidence: {
2210
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
- label: string;
2212
2210
  id: string;
2211
+ label: string;
2212
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2213
  capture: "at_action" | "historical_lookup" | "fixture";
2214
2214
  locator?: string | undefined;
2215
2215
  }[];
@@ -2217,15 +2217,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2217
2217
  decisionIds: string[];
2218
2218
  agentIds: string[];
2219
2219
  }, {
2220
- kind: "conflict_detected";
2221
2220
  summary: string;
2221
+ kind: "conflict_detected";
2222
2222
  conflictId: string;
2223
2223
  decisionIds: string[];
2224
2224
  agentIds: string[];
2225
2225
  evidence?: {
2226
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2227
- label: string;
2228
2226
  id: string;
2227
+ label: string;
2228
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2229
2229
  capture: "at_action" | "historical_lookup" | "fixture";
2230
2230
  locator?: string | undefined;
2231
2231
  }[] | undefined;
@@ -2245,27 +2245,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2245
2245
  locator: z.ZodOptional<z.ZodString>;
2246
2246
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2247
2247
  }, "strict", z.ZodTypeAny, {
2248
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
- label: string;
2250
2248
  id: string;
2249
+ label: string;
2250
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2251
  capture: "at_action" | "historical_lookup" | "fixture";
2252
2252
  locator?: string | undefined;
2253
2253
  }, {
2254
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2255
- label: string;
2256
2254
  id: string;
2255
+ label: string;
2256
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
2257
  capture: "at_action" | "historical_lookup" | "fixture";
2258
2258
  locator?: string | undefined;
2259
2259
  }>, "many">>;
2260
2260
  }, "strict", z.ZodTypeAny, {
2261
- kind: "test_result";
2262
2261
  summary: string;
2263
2262
  status: "error" | "failed" | "passed";
2263
+ kind: "test_result";
2264
2264
  command: string;
2265
2265
  evidence: {
2266
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2267
- label: string;
2268
2266
  id: string;
2267
+ label: string;
2268
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2269
2269
  capture: "at_action" | "historical_lookup" | "fixture";
2270
2270
  locator?: string | undefined;
2271
2271
  }[];
@@ -2274,17 +2274,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2274
2274
  durationMs?: number | undefined;
2275
2275
  correctionId?: string | undefined;
2276
2276
  }, {
2277
- kind: "test_result";
2278
2277
  summary: string;
2279
2278
  status: "error" | "failed" | "passed";
2279
+ kind: "test_result";
2280
2280
  command: string;
2281
2281
  decisionId: string;
2282
2282
  testId: string;
2283
2283
  durationMs?: number | undefined;
2284
2284
  evidence?: {
2285
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
- label: string;
2287
2285
  id: string;
2286
+ label: string;
2287
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2288
2288
  capture: "at_action" | "historical_lookup" | "fixture";
2289
2289
  locator?: string | undefined;
2290
2290
  }[] | undefined;
@@ -2305,15 +2305,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2305
2305
  locator: z.ZodOptional<z.ZodString>;
2306
2306
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2307
2307
  }, "strict", z.ZodTypeAny, {
2308
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
- label: string;
2310
2308
  id: string;
2309
+ label: string;
2310
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2311
2311
  capture: "at_action" | "historical_lookup" | "fixture";
2312
2312
  locator?: string | undefined;
2313
2313
  }, {
2314
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
- label: string;
2316
2314
  id: string;
2315
+ label: string;
2316
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
2317
  capture: "at_action" | "historical_lookup" | "fixture";
2318
2318
  locator?: string | undefined;
2319
2319
  }>, "many">>;
@@ -2322,9 +2322,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2322
2322
  statement: string;
2323
2323
  rationale: string;
2324
2324
  evidence: {
2325
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2326
- label: string;
2327
2325
  id: string;
2326
+ label: string;
2327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2328
2328
  capture: "at_action" | "historical_lookup" | "fixture";
2329
2329
  locator?: string | undefined;
2330
2330
  }[];
@@ -2343,9 +2343,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2343
2343
  supersedesDecisionIds: string[];
2344
2344
  proposedBy: string;
2345
2345
  evidence?: {
2346
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
- label: string;
2348
2346
  id: string;
2347
+ label: string;
2348
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2349
  capture: "at_action" | "historical_lookup" | "fixture";
2350
2350
  locator?: string | undefined;
2351
2351
  }[] | undefined;
@@ -2357,13 +2357,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2357
2357
  id: z.ZodString;
2358
2358
  label: z.ZodString;
2359
2359
  }, "strict", z.ZodTypeAny, {
2360
- kind: "agent" | "human";
2361
- label: string;
2362
2360
  id: string;
2363
- }, {
2364
- kind: "agent" | "human";
2365
2361
  label: string;
2362
+ kind: "agent" | "human";
2363
+ }, {
2366
2364
  id: string;
2365
+ label: string;
2366
+ kind: "agent" | "human";
2367
2367
  }>;
2368
2368
  note: z.ZodOptional<z.ZodString>;
2369
2369
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2373,47 +2373,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2373
2373
  locator: z.ZodOptional<z.ZodString>;
2374
2374
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2375
2375
  }, "strict", z.ZodTypeAny, {
2376
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
- label: string;
2378
2376
  id: string;
2377
+ label: string;
2378
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2379
2379
  capture: "at_action" | "historical_lookup" | "fixture";
2380
2380
  locator?: string | undefined;
2381
2381
  }, {
2382
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
- label: string;
2384
2382
  id: string;
2383
+ label: string;
2384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
2385
  capture: "at_action" | "historical_lookup" | "fixture";
2386
2386
  locator?: string | undefined;
2387
2387
  }>, "many">>;
2388
2388
  }, "strict", z.ZodTypeAny, {
2389
2389
  kind: "correction_approved";
2390
2390
  evidence: {
2391
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
- label: string;
2393
2391
  id: string;
2392
+ label: string;
2393
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
2394
  capture: "at_action" | "historical_lookup" | "fixture";
2395
2395
  locator?: string | undefined;
2396
2396
  }[];
2397
2397
  correctionId: string;
2398
2398
  approvedBy: {
2399
- kind: "agent" | "human";
2400
- label: string;
2401
2399
  id: string;
2400
+ label: string;
2401
+ kind: "agent" | "human";
2402
2402
  };
2403
2403
  note?: string | undefined;
2404
2404
  }, {
2405
2405
  kind: "correction_approved";
2406
2406
  correctionId: string;
2407
2407
  approvedBy: {
2408
- kind: "agent" | "human";
2409
- label: string;
2410
2408
  id: string;
2409
+ label: string;
2410
+ kind: "agent" | "human";
2411
2411
  };
2412
2412
  note?: string | undefined;
2413
2413
  evidence?: {
2414
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
- label: string;
2416
2414
  id: string;
2415
+ label: string;
2416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2417
2417
  capture: "at_action" | "historical_lookup" | "fixture";
2418
2418
  locator?: string | undefined;
2419
2419
  }[] | undefined;
@@ -2429,24 +2429,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2429
2429
  locator: z.ZodOptional<z.ZodString>;
2430
2430
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2431
2431
  }, "strict", z.ZodTypeAny, {
2432
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
- label: string;
2434
2432
  id: string;
2433
+ label: string;
2434
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2435
2435
  capture: "at_action" | "historical_lookup" | "fixture";
2436
2436
  locator?: string | undefined;
2437
2437
  }, {
2438
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
- label: string;
2440
2438
  id: string;
2439
+ label: string;
2440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2441
2441
  capture: "at_action" | "historical_lookup" | "fixture";
2442
2442
  locator?: string | undefined;
2443
2443
  }>, "many">>;
2444
2444
  }, "strict", z.ZodTypeAny, {
2445
2445
  kind: "decision_superseded";
2446
2446
  evidence: {
2447
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2448
- label: string;
2449
2447
  id: string;
2448
+ label: string;
2449
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2450
2450
  capture: "at_action" | "historical_lookup" | "fixture";
2451
2451
  locator?: string | undefined;
2452
2452
  }[];
@@ -2459,9 +2459,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2459
2459
  correctionId: string;
2460
2460
  replacementDecisionId: string;
2461
2461
  evidence?: {
2462
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
- label: string;
2464
2462
  id: string;
2463
+ label: string;
2464
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2465
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2466
2466
  locator?: string | undefined;
2467
2467
  }[] | undefined;
@@ -2477,15 +2477,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2477
2477
  locator: z.ZodOptional<z.ZodString>;
2478
2478
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2479
2479
  }, "strict", z.ZodTypeAny, {
2480
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
- label: string;
2482
2480
  id: string;
2481
+ label: string;
2482
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
2483
  capture: "at_action" | "historical_lookup" | "fixture";
2484
2484
  locator?: string | undefined;
2485
2485
  }, {
2486
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
- label: string;
2488
2486
  id: string;
2487
+ label: string;
2488
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
2489
  capture: "at_action" | "historical_lookup" | "fixture";
2490
2490
  locator?: string | undefined;
2491
2491
  }>, "many">>;
@@ -2498,9 +2498,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2498
2498
  agentId: string;
2499
2499
  sessionId: string;
2500
2500
  evidence: {
2501
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
- label: string;
2503
2501
  id: string;
2502
+ label: string;
2503
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
2504
  capture: "at_action" | "historical_lookup" | "fixture";
2505
2505
  locator?: string | undefined;
2506
2506
  }[];
@@ -2516,9 +2516,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2516
2516
  recallReceiptId: string;
2517
2517
  capturedAtAction: boolean;
2518
2518
  evidence?: {
2519
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
- label: string;
2521
2519
  id: string;
2520
+ label: string;
2521
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2522
2522
  capture: "at_action" | "historical_lookup" | "fixture";
2523
2523
  locator?: string | undefined;
2524
2524
  }[] | undefined;
@@ -2534,15 +2534,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2534
2534
  locator: z.ZodOptional<z.ZodString>;
2535
2535
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2536
2536
  }, "strict", z.ZodTypeAny, {
2537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
- label: string;
2539
2537
  id: string;
2538
+ label: string;
2539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2540
  capture: "at_action" | "historical_lookup" | "fixture";
2541
2541
  locator?: string | undefined;
2542
2542
  }, {
2543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
- label: string;
2545
2543
  id: string;
2544
+ label: string;
2545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
2546
  capture: "at_action" | "historical_lookup" | "fixture";
2547
2547
  locator?: string | undefined;
2548
2548
  }>, "many">>;
@@ -2554,9 +2554,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2554
2554
  agentId: string;
2555
2555
  sessionId: string;
2556
2556
  evidence: {
2557
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
- label: string;
2559
2557
  id: string;
2558
+ label: string;
2559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
2560
  capture: "at_action" | "historical_lookup" | "fixture";
2561
2561
  locator?: string | undefined;
2562
2562
  }[];
@@ -2573,9 +2573,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2573
2573
  recallReceiptId: string;
2574
2574
  staleDecisionAbsent: boolean;
2575
2575
  evidence?: {
2576
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2577
- label: string;
2578
2576
  id: string;
2577
+ label: string;
2578
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
2579
  capture: "at_action" | "historical_lookup" | "fixture";
2580
2580
  locator?: string | undefined;
2581
2581
  }[] | undefined;
@@ -2590,37 +2590,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2590
2590
  locator: z.ZodOptional<z.ZodString>;
2591
2591
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2592
2592
  }, "strict", z.ZodTypeAny, {
2593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
- label: string;
2595
2593
  id: string;
2594
+ label: string;
2595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2596
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2597
  locator?: string | undefined;
2598
2598
  }, {
2599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
- label: string;
2601
2599
  id: string;
2600
+ label: string;
2601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
2602
  capture: "at_action" | "historical_lookup" | "fixture";
2603
2603
  locator?: string | undefined;
2604
2604
  }>, "many">>;
2605
2605
  }, "strict", z.ZodTypeAny, {
2606
- kind: "mission_completed";
2607
2606
  summary: string;
2607
+ kind: "mission_completed";
2608
2608
  outcome: "failed" | "recovered" | "inconclusive";
2609
2609
  evidence: {
2610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
- label: string;
2612
2610
  id: string;
2611
+ label: string;
2612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2613
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2614
  locator?: string | undefined;
2615
2615
  }[];
2616
2616
  }, {
2617
- kind: "mission_completed";
2618
2617
  summary: string;
2618
+ kind: "mission_completed";
2619
2619
  outcome: "failed" | "recovered" | "inconclusive";
2620
2620
  evidence?: {
2621
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
- label: string;
2623
2621
  id: string;
2622
+ label: string;
2623
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
2624
  capture: "at_action" | "historical_lookup" | "fixture";
2625
2625
  locator?: string | undefined;
2626
2626
  }[] | undefined;
@@ -2628,38 +2628,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2628
2628
  kind: "mission_started";
2629
2629
  title: string;
2630
2630
  evidence: {
2631
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
- label: string;
2633
2631
  id: string;
2632
+ label: string;
2633
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
2634
  capture: "at_action" | "historical_lookup" | "fixture";
2635
2635
  locator?: string | undefined;
2636
2636
  }[];
2637
2637
  objective: string;
2638
2638
  runMode: "replay" | "fixture" | "live";
2639
2639
  } | {
2640
- kind: "agent_status";
2641
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2642
2640
  label: string;
2641
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2642
+ kind: "agent_status";
2643
2643
  role: string;
2644
2644
  agentId: string;
2645
2645
  sessionId: string;
2646
2646
  evidence: {
2647
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2648
- label: string;
2649
2647
  id: string;
2648
+ label: string;
2649
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2650
2650
  capture: "at_action" | "historical_lookup" | "fixture";
2651
2651
  locator?: string | undefined;
2652
2652
  }[];
2653
2653
  detail?: string | undefined;
2654
2654
  } | {
2655
- kind: "agent_output";
2656
2655
  summary: string;
2656
+ kind: "agent_output";
2657
2657
  agentId: string;
2658
2658
  sessionId: string;
2659
2659
  evidence: {
2660
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
- label: string;
2662
2660
  id: string;
2661
+ label: string;
2662
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2663
2663
  capture: "at_action" | "historical_lookup" | "fixture";
2664
2664
  locator?: string | undefined;
2665
2665
  }[];
@@ -2670,9 +2670,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2670
2670
  statement: string;
2671
2671
  sessionId: string;
2672
2672
  evidence: {
2673
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
- label: string;
2675
2673
  id: string;
2674
+ label: string;
2675
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2676
2676
  capture: "at_action" | "historical_lookup" | "fixture";
2677
2677
  locator?: string | undefined;
2678
2678
  }[];
@@ -2680,12 +2680,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2680
2680
  decisionId: string;
2681
2681
  confidence?: number | undefined;
2682
2682
  } | {
2683
- kind: "conflict_detected";
2684
2683
  summary: string;
2684
+ kind: "conflict_detected";
2685
2685
  evidence: {
2686
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2687
- label: string;
2688
2686
  id: string;
2687
+ label: string;
2688
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2689
2689
  capture: "at_action" | "historical_lookup" | "fixture";
2690
2690
  locator?: string | undefined;
2691
2691
  }[];
@@ -2693,14 +2693,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2693
2693
  decisionIds: string[];
2694
2694
  agentIds: string[];
2695
2695
  } | {
2696
- kind: "test_result";
2697
2696
  summary: string;
2698
2697
  status: "error" | "failed" | "passed";
2698
+ kind: "test_result";
2699
2699
  command: string;
2700
2700
  evidence: {
2701
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
- label: string;
2703
2701
  id: string;
2702
+ label: string;
2703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2704
2704
  capture: "at_action" | "historical_lookup" | "fixture";
2705
2705
  locator?: string | undefined;
2706
2706
  }[];
@@ -2713,9 +2713,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2713
2713
  statement: string;
2714
2714
  rationale: string;
2715
2715
  evidence: {
2716
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
- label: string;
2718
2716
  id: string;
2717
+ label: string;
2718
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2719
2719
  capture: "at_action" | "historical_lookup" | "fixture";
2720
2720
  locator?: string | undefined;
2721
2721
  }[];
@@ -2727,25 +2727,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2727
2727
  } | {
2728
2728
  kind: "correction_approved";
2729
2729
  evidence: {
2730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
- label: string;
2732
2730
  id: string;
2731
+ label: string;
2732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2733
  capture: "at_action" | "historical_lookup" | "fixture";
2734
2734
  locator?: string | undefined;
2735
2735
  }[];
2736
2736
  correctionId: string;
2737
2737
  approvedBy: {
2738
- kind: "agent" | "human";
2739
- label: string;
2740
2738
  id: string;
2739
+ label: string;
2740
+ kind: "agent" | "human";
2741
2741
  };
2742
2742
  note?: string | undefined;
2743
2743
  } | {
2744
2744
  kind: "decision_superseded";
2745
2745
  evidence: {
2746
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2747
- label: string;
2748
2746
  id: string;
2747
+ label: string;
2748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2749
2749
  capture: "at_action" | "historical_lookup" | "fixture";
2750
2750
  locator?: string | undefined;
2751
2751
  }[];
@@ -2758,9 +2758,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2758
2758
  agentId: string;
2759
2759
  sessionId: string;
2760
2760
  evidence: {
2761
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
- label: string;
2763
2761
  id: string;
2762
+ label: string;
2763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
2764
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2765
  locator?: string | undefined;
2766
2766
  }[];
@@ -2772,9 +2772,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2772
2772
  agentId: string;
2773
2773
  sessionId: string;
2774
2774
  evidence: {
2775
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
- label: string;
2777
2775
  id: string;
2776
+ label: string;
2777
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
2778
  capture: "at_action" | "historical_lookup" | "fixture";
2779
2779
  locator?: string | undefined;
2780
2780
  }[];
@@ -2783,13 +2783,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2783
2783
  recallReceiptId: string;
2784
2784
  staleDecisionAbsent: boolean;
2785
2785
  } | {
2786
- kind: "mission_completed";
2787
2786
  summary: string;
2787
+ kind: "mission_completed";
2788
2788
  outcome: "failed" | "recovered" | "inconclusive";
2789
2789
  evidence: {
2790
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2791
- label: string;
2792
2790
  id: string;
2791
+ label: string;
2792
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2793
2793
  capture: "at_action" | "historical_lookup" | "fixture";
2794
2794
  locator?: string | undefined;
2795
2795
  }[];
@@ -2799,37 +2799,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2799
2799
  objective: string;
2800
2800
  runMode: "replay" | "fixture" | "live";
2801
2801
  evidence?: {
2802
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
- label: string;
2804
2802
  id: string;
2803
+ label: string;
2804
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
2805
  capture: "at_action" | "historical_lookup" | "fixture";
2806
2806
  locator?: string | undefined;
2807
2807
  }[] | undefined;
2808
2808
  } | {
2809
- kind: "agent_status";
2810
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2811
2809
  label: string;
2810
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2811
+ kind: "agent_status";
2812
2812
  role: string;
2813
2813
  agentId: string;
2814
2814
  sessionId: string;
2815
2815
  detail?: string | undefined;
2816
2816
  evidence?: {
2817
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
- label: string;
2819
2817
  id: string;
2818
+ label: string;
2819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
2820
  capture: "at_action" | "historical_lookup" | "fixture";
2821
2821
  locator?: string | undefined;
2822
2822
  }[] | undefined;
2823
2823
  } | {
2824
- kind: "agent_output";
2825
2824
  summary: string;
2825
+ kind: "agent_output";
2826
2826
  agentId: string;
2827
2827
  sessionId: string;
2828
2828
  outputId: string;
2829
2829
  evidence?: {
2830
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
- label: string;
2832
2830
  id: string;
2831
+ label: string;
2832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2833
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2834
  locator?: string | undefined;
2835
2835
  }[] | undefined;
@@ -2842,37 +2842,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2842
2842
  decisionId: string;
2843
2843
  confidence?: number | undefined;
2844
2844
  evidence?: {
2845
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
- label: string;
2847
2845
  id: string;
2846
+ label: string;
2847
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2848
2848
  capture: "at_action" | "historical_lookup" | "fixture";
2849
2849
  locator?: string | undefined;
2850
2850
  }[] | undefined;
2851
2851
  } | {
2852
- kind: "conflict_detected";
2853
2852
  summary: string;
2853
+ kind: "conflict_detected";
2854
2854
  conflictId: string;
2855
2855
  decisionIds: string[];
2856
2856
  agentIds: string[];
2857
2857
  evidence?: {
2858
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
- label: string;
2860
2858
  id: string;
2859
+ label: string;
2860
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2861
2861
  capture: "at_action" | "historical_lookup" | "fixture";
2862
2862
  locator?: string | undefined;
2863
2863
  }[] | undefined;
2864
2864
  } | {
2865
- kind: "test_result";
2866
2865
  summary: string;
2867
2866
  status: "error" | "failed" | "passed";
2867
+ kind: "test_result";
2868
2868
  command: string;
2869
2869
  decisionId: string;
2870
2870
  testId: string;
2871
2871
  durationMs?: number | undefined;
2872
2872
  evidence?: {
2873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2874
- label: string;
2875
2873
  id: string;
2874
+ label: string;
2875
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2877
2877
  locator?: string | undefined;
2878
2878
  }[] | undefined;
@@ -2887,9 +2887,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2887
2887
  supersedesDecisionIds: string[];
2888
2888
  proposedBy: string;
2889
2889
  evidence?: {
2890
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2891
- label: string;
2892
2890
  id: string;
2891
+ label: string;
2892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2893
2893
  capture: "at_action" | "historical_lookup" | "fixture";
2894
2894
  locator?: string | undefined;
2895
2895
  }[] | undefined;
@@ -2897,15 +2897,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2897
2897
  kind: "correction_approved";
2898
2898
  correctionId: string;
2899
2899
  approvedBy: {
2900
- kind: "agent" | "human";
2901
- label: string;
2902
2900
  id: string;
2901
+ label: string;
2902
+ kind: "agent" | "human";
2903
2903
  };
2904
2904
  note?: string | undefined;
2905
2905
  evidence?: {
2906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
- label: string;
2908
2906
  id: string;
2907
+ label: string;
2908
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
2909
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2910
  locator?: string | undefined;
2911
2911
  }[] | undefined;
@@ -2915,9 +2915,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2915
2915
  correctionId: string;
2916
2916
  replacementDecisionId: string;
2917
2917
  evidence?: {
2918
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
- label: string;
2920
2918
  id: string;
2919
+ label: string;
2920
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2921
2921
  capture: "at_action" | "historical_lookup" | "fixture";
2922
2922
  locator?: string | undefined;
2923
2923
  }[] | undefined;
@@ -2930,9 +2930,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2930
2930
  recallReceiptId: string;
2931
2931
  capturedAtAction: boolean;
2932
2932
  evidence?: {
2933
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2934
- label: string;
2935
2933
  id: string;
2934
+ label: string;
2935
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
2936
  capture: "at_action" | "historical_lookup" | "fixture";
2937
2937
  locator?: string | undefined;
2938
2938
  }[] | undefined;
@@ -2945,20 +2945,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2945
2945
  recallReceiptId: string;
2946
2946
  staleDecisionAbsent: boolean;
2947
2947
  evidence?: {
2948
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
- label: string;
2950
2948
  id: string;
2949
+ label: string;
2950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
2951
  capture: "at_action" | "historical_lookup" | "fixture";
2952
2952
  locator?: string | undefined;
2953
2953
  }[] | undefined;
2954
2954
  } | {
2955
- kind: "mission_completed";
2956
2955
  summary: string;
2956
+ kind: "mission_completed";
2957
2957
  outcome: "failed" | "recovered" | "inconclusive";
2958
2958
  evidence?: {
2959
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2960
- label: string;
2961
2959
  id: string;
2960
+ label: string;
2961
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
2962
  capture: "at_action" | "historical_lookup" | "fixture";
2963
2963
  locator?: string | undefined;
2964
2964
  }[] | undefined;
@@ -2968,38 +2968,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2968
2968
  kind: "mission_started";
2969
2969
  title: string;
2970
2970
  evidence: {
2971
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
- label: string;
2973
2971
  id: string;
2972
+ label: string;
2973
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
2974
  capture: "at_action" | "historical_lookup" | "fixture";
2975
2975
  locator?: string | undefined;
2976
2976
  }[];
2977
2977
  objective: string;
2978
2978
  runMode: "replay" | "fixture" | "live";
2979
2979
  } | {
2980
- kind: "agent_status";
2981
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2982
2980
  label: string;
2981
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2982
+ kind: "agent_status";
2983
2983
  role: string;
2984
2984
  agentId: string;
2985
2985
  sessionId: string;
2986
2986
  evidence: {
2987
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
- label: string;
2989
2987
  id: string;
2988
+ label: string;
2989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2990
2990
  capture: "at_action" | "historical_lookup" | "fixture";
2991
2991
  locator?: string | undefined;
2992
2992
  }[];
2993
2993
  detail?: string | undefined;
2994
2994
  } | {
2995
- kind: "agent_output";
2996
2995
  summary: string;
2996
+ kind: "agent_output";
2997
2997
  agentId: string;
2998
2998
  sessionId: string;
2999
2999
  evidence: {
3000
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3001
- label: string;
3002
3000
  id: string;
3001
+ label: string;
3002
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3003
3003
  capture: "at_action" | "historical_lookup" | "fixture";
3004
3004
  locator?: string | undefined;
3005
3005
  }[];
@@ -3010,9 +3010,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3010
3010
  statement: string;
3011
3011
  sessionId: string;
3012
3012
  evidence: {
3013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3014
- label: string;
3015
3013
  id: string;
3014
+ label: string;
3015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
3016
  capture: "at_action" | "historical_lookup" | "fixture";
3017
3017
  locator?: string | undefined;
3018
3018
  }[];
@@ -3020,12 +3020,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3020
3020
  decisionId: string;
3021
3021
  confidence?: number | undefined;
3022
3022
  } | {
3023
- kind: "conflict_detected";
3024
3023
  summary: string;
3024
+ kind: "conflict_detected";
3025
3025
  evidence: {
3026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3027
- label: string;
3028
3026
  id: string;
3027
+ label: string;
3028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3029
3029
  capture: "at_action" | "historical_lookup" | "fixture";
3030
3030
  locator?: string | undefined;
3031
3031
  }[];
@@ -3033,14 +3033,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3033
3033
  decisionIds: string[];
3034
3034
  agentIds: string[];
3035
3035
  } | {
3036
- kind: "test_result";
3037
3036
  summary: string;
3038
3037
  status: "error" | "failed" | "passed";
3038
+ kind: "test_result";
3039
3039
  command: string;
3040
3040
  evidence: {
3041
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
- label: string;
3043
3041
  id: string;
3042
+ label: string;
3043
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3044
3044
  capture: "at_action" | "historical_lookup" | "fixture";
3045
3045
  locator?: string | undefined;
3046
3046
  }[];
@@ -3053,9 +3053,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3053
3053
  statement: string;
3054
3054
  rationale: string;
3055
3055
  evidence: {
3056
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
- label: string;
3058
3056
  id: string;
3057
+ label: string;
3058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
3059
  capture: "at_action" | "historical_lookup" | "fixture";
3060
3060
  locator?: string | undefined;
3061
3061
  }[];
@@ -3067,25 +3067,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3067
3067
  } | {
3068
3068
  kind: "correction_approved";
3069
3069
  evidence: {
3070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
- label: string;
3072
3070
  id: string;
3071
+ label: string;
3072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3073
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3074
  locator?: string | undefined;
3075
3075
  }[];
3076
3076
  correctionId: string;
3077
3077
  approvedBy: {
3078
- kind: "agent" | "human";
3079
- label: string;
3080
3078
  id: string;
3079
+ label: string;
3080
+ kind: "agent" | "human";
3081
3081
  };
3082
3082
  note?: string | undefined;
3083
3083
  } | {
3084
3084
  kind: "decision_superseded";
3085
3085
  evidence: {
3086
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
- label: string;
3088
3086
  id: string;
3087
+ label: string;
3088
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3089
3089
  capture: "at_action" | "historical_lookup" | "fixture";
3090
3090
  locator?: string | undefined;
3091
3091
  }[];
@@ -3098,9 +3098,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3098
3098
  agentId: string;
3099
3099
  sessionId: string;
3100
3100
  evidence: {
3101
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
- label: string;
3103
3101
  id: string;
3102
+ label: string;
3103
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3104
3104
  capture: "at_action" | "historical_lookup" | "fixture";
3105
3105
  locator?: string | undefined;
3106
3106
  }[];
@@ -3112,9 +3112,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3112
3112
  agentId: string;
3113
3113
  sessionId: string;
3114
3114
  evidence: {
3115
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
- label: string;
3117
3115
  id: string;
3116
+ label: string;
3117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
3118
  capture: "at_action" | "historical_lookup" | "fixture";
3119
3119
  locator?: string | undefined;
3120
3120
  }[];
@@ -3123,13 +3123,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3123
3123
  recallReceiptId: string;
3124
3124
  staleDecisionAbsent: boolean;
3125
3125
  } | {
3126
- kind: "mission_completed";
3127
3126
  summary: string;
3127
+ kind: "mission_completed";
3128
3128
  outcome: "failed" | "recovered" | "inconclusive";
3129
3129
  evidence: {
3130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
- label: string;
3132
3130
  id: string;
3131
+ label: string;
3132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
3133
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3134
  locator?: string | undefined;
3135
3135
  }[];
@@ -3143,37 +3143,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3143
3143
  objective: string;
3144
3144
  runMode: "replay" | "fixture" | "live";
3145
3145
  evidence?: {
3146
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
- label: string;
3148
3146
  id: string;
3147
+ label: string;
3148
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
3149
  capture: "at_action" | "historical_lookup" | "fixture";
3150
3150
  locator?: string | undefined;
3151
3151
  }[] | undefined;
3152
3152
  } | {
3153
- kind: "agent_status";
3154
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3155
3153
  label: string;
3154
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3155
+ kind: "agent_status";
3156
3156
  role: string;
3157
3157
  agentId: string;
3158
3158
  sessionId: string;
3159
3159
  detail?: string | undefined;
3160
3160
  evidence?: {
3161
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
- label: string;
3163
3161
  id: string;
3162
+ label: string;
3163
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
3164
  capture: "at_action" | "historical_lookup" | "fixture";
3165
3165
  locator?: string | undefined;
3166
3166
  }[] | undefined;
3167
3167
  } | {
3168
- kind: "agent_output";
3169
3168
  summary: string;
3169
+ kind: "agent_output";
3170
3170
  agentId: string;
3171
3171
  sessionId: string;
3172
3172
  outputId: string;
3173
3173
  evidence?: {
3174
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
- label: string;
3176
3174
  id: string;
3175
+ label: string;
3176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3177
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3178
  locator?: string | undefined;
3179
3179
  }[] | undefined;
@@ -3186,37 +3186,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3186
3186
  decisionId: string;
3187
3187
  confidence?: number | undefined;
3188
3188
  evidence?: {
3189
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
- label: string;
3191
3189
  id: string;
3190
+ label: string;
3191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
3192
  capture: "at_action" | "historical_lookup" | "fixture";
3193
3193
  locator?: string | undefined;
3194
3194
  }[] | undefined;
3195
3195
  } | {
3196
- kind: "conflict_detected";
3197
3196
  summary: string;
3197
+ kind: "conflict_detected";
3198
3198
  conflictId: string;
3199
3199
  decisionIds: string[];
3200
3200
  agentIds: string[];
3201
3201
  evidence?: {
3202
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
- label: string;
3204
3202
  id: string;
3203
+ label: string;
3204
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3205
3205
  capture: "at_action" | "historical_lookup" | "fixture";
3206
3206
  locator?: string | undefined;
3207
3207
  }[] | undefined;
3208
3208
  } | {
3209
- kind: "test_result";
3210
3209
  summary: string;
3211
3210
  status: "error" | "failed" | "passed";
3211
+ kind: "test_result";
3212
3212
  command: string;
3213
3213
  decisionId: string;
3214
3214
  testId: string;
3215
3215
  durationMs?: number | undefined;
3216
3216
  evidence?: {
3217
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
- label: string;
3219
3217
  id: string;
3218
+ label: string;
3219
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
3220
  capture: "at_action" | "historical_lookup" | "fixture";
3221
3221
  locator?: string | undefined;
3222
3222
  }[] | undefined;
@@ -3231,9 +3231,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3231
3231
  supersedesDecisionIds: string[];
3232
3232
  proposedBy: string;
3233
3233
  evidence?: {
3234
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
- label: string;
3236
3234
  id: string;
3235
+ label: string;
3236
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3237
3237
  capture: "at_action" | "historical_lookup" | "fixture";
3238
3238
  locator?: string | undefined;
3239
3239
  }[] | undefined;
@@ -3241,15 +3241,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3241
3241
  kind: "correction_approved";
3242
3242
  correctionId: string;
3243
3243
  approvedBy: {
3244
- kind: "agent" | "human";
3245
- label: string;
3246
3244
  id: string;
3245
+ label: string;
3246
+ kind: "agent" | "human";
3247
3247
  };
3248
3248
  note?: string | undefined;
3249
3249
  evidence?: {
3250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3251
- label: string;
3252
3250
  id: string;
3251
+ label: string;
3252
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
3253
  capture: "at_action" | "historical_lookup" | "fixture";
3254
3254
  locator?: string | undefined;
3255
3255
  }[] | undefined;
@@ -3259,9 +3259,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3259
3259
  correctionId: string;
3260
3260
  replacementDecisionId: string;
3261
3261
  evidence?: {
3262
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
- label: string;
3264
3262
  id: string;
3263
+ label: string;
3264
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
3265
  capture: "at_action" | "historical_lookup" | "fixture";
3266
3266
  locator?: string | undefined;
3267
3267
  }[] | undefined;
@@ -3274,9 +3274,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3274
3274
  recallReceiptId: string;
3275
3275
  capturedAtAction: boolean;
3276
3276
  evidence?: {
3277
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
- label: string;
3279
3277
  id: string;
3278
+ label: string;
3279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
3280
  capture: "at_action" | "historical_lookup" | "fixture";
3281
3281
  locator?: string | undefined;
3282
3282
  }[] | undefined;
@@ -3289,20 +3289,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3289
3289
  recallReceiptId: string;
3290
3290
  staleDecisionAbsent: boolean;
3291
3291
  evidence?: {
3292
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
- label: string;
3294
3292
  id: string;
3293
+ label: string;
3294
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3295
  capture: "at_action" | "historical_lookup" | "fixture";
3296
3296
  locator?: string | undefined;
3297
3297
  }[] | undefined;
3298
3298
  } | {
3299
- kind: "mission_completed";
3300
3299
  summary: string;
3300
+ kind: "mission_completed";
3301
3301
  outcome: "failed" | "recovered" | "inconclusive";
3302
3302
  evidence?: {
3303
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
- label: string;
3305
3303
  id: string;
3304
+ label: string;
3305
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
3306
  capture: "at_action" | "historical_lookup" | "fixture";
3307
3307
  locator?: string | undefined;
3308
3308
  }[] | undefined;
@@ -3332,15 +3332,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3332
3332
  locator: z.ZodOptional<z.ZodString>;
3333
3333
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3334
3334
  }, "strict", z.ZodTypeAny, {
3335
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
- label: string;
3337
3335
  id: string;
3336
+ label: string;
3337
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
3338
  capture: "at_action" | "historical_lookup" | "fixture";
3339
3339
  locator?: string | undefined;
3340
3340
  }, {
3341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
- label: string;
3343
3341
  id: string;
3342
+ label: string;
3343
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3344
  capture: "at_action" | "historical_lookup" | "fixture";
3345
3345
  locator?: string | undefined;
3346
3346
  }>, "many">>;
@@ -3348,9 +3348,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3348
3348
  kind: "mission_started";
3349
3349
  title: string;
3350
3350
  evidence: {
3351
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
- label: string;
3353
3351
  id: string;
3352
+ label: string;
3353
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3354
3354
  capture: "at_action" | "historical_lookup" | "fixture";
3355
3355
  locator?: string | undefined;
3356
3356
  }[];
@@ -3362,9 +3362,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3362
3362
  objective: string;
3363
3363
  runMode: "replay" | "fixture" | "live";
3364
3364
  evidence?: {
3365
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3366
- label: string;
3367
3365
  id: string;
3366
+ label: string;
3367
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3368
  capture: "at_action" | "historical_lookup" | "fixture";
3369
3369
  locator?: string | undefined;
3370
3370
  }[] | undefined;
@@ -3380,15 +3380,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3380
3380
  locator: z.ZodOptional<z.ZodString>;
3381
3381
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3382
3382
  }, "strict", z.ZodTypeAny, {
3383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
- label: string;
3385
3383
  id: string;
3384
+ label: string;
3385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
3386
  capture: "at_action" | "historical_lookup" | "fixture";
3387
3387
  locator?: string | undefined;
3388
3388
  }, {
3389
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
- label: string;
3391
3389
  id: string;
3390
+ label: string;
3391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
3392
  capture: "at_action" | "historical_lookup" | "fixture";
3393
3393
  locator?: string | undefined;
3394
3394
  }>, "many">>;
@@ -3396,32 +3396,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3396
3396
  sessionId: z.ZodString;
3397
3397
  kind: z.ZodLiteral<"agent_status">;
3398
3398
  }, "strict", z.ZodTypeAny, {
3399
- kind: "agent_status";
3400
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3401
3399
  label: string;
3400
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3401
+ kind: "agent_status";
3402
3402
  role: string;
3403
3403
  agentId: string;
3404
3404
  sessionId: string;
3405
3405
  evidence: {
3406
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
- label: string;
3408
3406
  id: string;
3407
+ label: string;
3408
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
3409
  capture: "at_action" | "historical_lookup" | "fixture";
3410
3410
  locator?: string | undefined;
3411
3411
  }[];
3412
3412
  detail?: string | undefined;
3413
3413
  }, {
3414
- kind: "agent_status";
3415
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3416
3414
  label: string;
3415
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3416
+ kind: "agent_status";
3417
3417
  role: string;
3418
3418
  agentId: string;
3419
3419
  sessionId: string;
3420
3420
  detail?: string | undefined;
3421
3421
  evidence?: {
3422
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
- label: string;
3424
3422
  id: string;
3423
+ label: string;
3424
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3425
3425
  capture: "at_action" | "historical_lookup" | "fixture";
3426
3426
  locator?: string | undefined;
3427
3427
  }[] | undefined;
@@ -3435,15 +3435,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3435
3435
  locator: z.ZodOptional<z.ZodString>;
3436
3436
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3437
3437
  }, "strict", z.ZodTypeAny, {
3438
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
- label: string;
3440
3438
  id: string;
3439
+ label: string;
3440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
3441
  capture: "at_action" | "historical_lookup" | "fixture";
3442
3442
  locator?: string | undefined;
3443
3443
  }, {
3444
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
- label: string;
3446
3444
  id: string;
3445
+ label: string;
3446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
3447
  capture: "at_action" | "historical_lookup" | "fixture";
3448
3448
  locator?: string | undefined;
3449
3449
  }>, "many">>;
@@ -3451,28 +3451,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3451
3451
  sessionId: z.ZodString;
3452
3452
  kind: z.ZodLiteral<"agent_output">;
3453
3453
  }, "strict", z.ZodTypeAny, {
3454
- kind: "agent_output";
3455
3454
  summary: string;
3455
+ kind: "agent_output";
3456
3456
  agentId: string;
3457
3457
  sessionId: string;
3458
3458
  evidence: {
3459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
- label: string;
3461
3459
  id: string;
3460
+ label: string;
3461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3462
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3463
  locator?: string | undefined;
3464
3464
  }[];
3465
3465
  outputId: string;
3466
3466
  }, {
3467
- kind: "agent_output";
3468
3467
  summary: string;
3468
+ kind: "agent_output";
3469
3469
  agentId: string;
3470
3470
  sessionId: string;
3471
3471
  outputId: string;
3472
3472
  evidence?: {
3473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
- label: string;
3475
3473
  id: string;
3474
+ label: string;
3475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
3476
  capture: "at_action" | "historical_lookup" | "fixture";
3477
3477
  locator?: string | undefined;
3478
3478
  }[] | undefined;
@@ -3488,15 +3488,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3488
3488
  locator: z.ZodOptional<z.ZodString>;
3489
3489
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3490
3490
  }, "strict", z.ZodTypeAny, {
3491
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
- label: string;
3493
3491
  id: string;
3492
+ label: string;
3493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
3494
  capture: "at_action" | "historical_lookup" | "fixture";
3495
3495
  locator?: string | undefined;
3496
3496
  }, {
3497
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3498
- label: string;
3499
3497
  id: string;
3498
+ label: string;
3499
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
3500
  capture: "at_action" | "historical_lookup" | "fixture";
3501
3501
  locator?: string | undefined;
3502
3502
  }>, "many">>;
@@ -3509,9 +3509,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3509
3509
  statement: string;
3510
3510
  sessionId: string;
3511
3511
  evidence: {
3512
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3513
- label: string;
3514
3512
  id: string;
3513
+ label: string;
3514
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3515
3515
  capture: "at_action" | "historical_lookup" | "fixture";
3516
3516
  locator?: string | undefined;
3517
3517
  }[];
@@ -3527,9 +3527,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3527
3527
  decisionId: string;
3528
3528
  confidence?: number | undefined;
3529
3529
  evidence?: {
3530
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
- label: string;
3532
3530
  id: string;
3531
+ label: string;
3532
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
3533
  capture: "at_action" | "historical_lookup" | "fixture";
3534
3534
  locator?: string | undefined;
3535
3535
  }[] | undefined;
@@ -3546,25 +3546,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3546
3546
  locator: z.ZodOptional<z.ZodString>;
3547
3547
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3548
3548
  }, "strict", z.ZodTypeAny, {
3549
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
- label: string;
3551
3549
  id: string;
3550
+ label: string;
3551
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3552
3552
  capture: "at_action" | "historical_lookup" | "fixture";
3553
3553
  locator?: string | undefined;
3554
3554
  }, {
3555
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
- label: string;
3557
3555
  id: string;
3556
+ label: string;
3557
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3558
3558
  capture: "at_action" | "historical_lookup" | "fixture";
3559
3559
  locator?: string | undefined;
3560
3560
  }>, "many">>;
3561
3561
  }, "strict", z.ZodTypeAny, {
3562
- kind: "conflict_detected";
3563
3562
  summary: string;
3563
+ kind: "conflict_detected";
3564
3564
  evidence: {
3565
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
- label: string;
3567
3565
  id: string;
3566
+ label: string;
3567
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
3568
  capture: "at_action" | "historical_lookup" | "fixture";
3569
3569
  locator?: string | undefined;
3570
3570
  }[];
@@ -3572,15 +3572,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3572
3572
  decisionIds: string[];
3573
3573
  agentIds: string[];
3574
3574
  }, {
3575
- kind: "conflict_detected";
3576
3575
  summary: string;
3576
+ kind: "conflict_detected";
3577
3577
  conflictId: string;
3578
3578
  decisionIds: string[];
3579
3579
  agentIds: string[];
3580
3580
  evidence?: {
3581
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
- label: string;
3583
3581
  id: string;
3582
+ label: string;
3583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3584
3584
  capture: "at_action" | "historical_lookup" | "fixture";
3585
3585
  locator?: string | undefined;
3586
3586
  }[] | undefined;
@@ -3600,27 +3600,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3600
3600
  locator: z.ZodOptional<z.ZodString>;
3601
3601
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3602
3602
  }, "strict", z.ZodTypeAny, {
3603
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
- label: string;
3605
3603
  id: string;
3604
+ label: string;
3605
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3606
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3607
  locator?: string | undefined;
3608
3608
  }, {
3609
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3610
- label: string;
3611
3609
  id: string;
3610
+ label: string;
3611
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
3612
  capture: "at_action" | "historical_lookup" | "fixture";
3613
3613
  locator?: string | undefined;
3614
3614
  }>, "many">>;
3615
3615
  }, "strict", z.ZodTypeAny, {
3616
- kind: "test_result";
3617
3616
  summary: string;
3618
3617
  status: "error" | "failed" | "passed";
3618
+ kind: "test_result";
3619
3619
  command: string;
3620
3620
  evidence: {
3621
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
- label: string;
3623
3621
  id: string;
3622
+ label: string;
3623
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
3624
  capture: "at_action" | "historical_lookup" | "fixture";
3625
3625
  locator?: string | undefined;
3626
3626
  }[];
@@ -3629,17 +3629,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3629
3629
  durationMs?: number | undefined;
3630
3630
  correctionId?: string | undefined;
3631
3631
  }, {
3632
- kind: "test_result";
3633
3632
  summary: string;
3634
3633
  status: "error" | "failed" | "passed";
3634
+ kind: "test_result";
3635
3635
  command: string;
3636
3636
  decisionId: string;
3637
3637
  testId: string;
3638
3638
  durationMs?: number | undefined;
3639
3639
  evidence?: {
3640
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
- label: string;
3642
3640
  id: string;
3641
+ label: string;
3642
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3643
3643
  capture: "at_action" | "historical_lookup" | "fixture";
3644
3644
  locator?: string | undefined;
3645
3645
  }[] | undefined;
@@ -3660,15 +3660,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3660
3660
  locator: z.ZodOptional<z.ZodString>;
3661
3661
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3662
3662
  }, "strict", z.ZodTypeAny, {
3663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
- label: string;
3665
3663
  id: string;
3664
+ label: string;
3665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
3666
  capture: "at_action" | "historical_lookup" | "fixture";
3667
3667
  locator?: string | undefined;
3668
3668
  }, {
3669
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
- label: string;
3671
3669
  id: string;
3670
+ label: string;
3671
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
3672
  capture: "at_action" | "historical_lookup" | "fixture";
3673
3673
  locator?: string | undefined;
3674
3674
  }>, "many">>;
@@ -3677,9 +3677,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3677
3677
  statement: string;
3678
3678
  rationale: string;
3679
3679
  evidence: {
3680
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
- label: string;
3682
3680
  id: string;
3681
+ label: string;
3682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3683
3683
  capture: "at_action" | "historical_lookup" | "fixture";
3684
3684
  locator?: string | undefined;
3685
3685
  }[];
@@ -3698,9 +3698,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3698
3698
  supersedesDecisionIds: string[];
3699
3699
  proposedBy: string;
3700
3700
  evidence?: {
3701
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3702
- label: string;
3703
3701
  id: string;
3702
+ label: string;
3703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
3704
  capture: "at_action" | "historical_lookup" | "fixture";
3705
3705
  locator?: string | undefined;
3706
3706
  }[] | undefined;
@@ -3712,13 +3712,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3712
3712
  id: z.ZodString;
3713
3713
  label: z.ZodString;
3714
3714
  }, "strict", z.ZodTypeAny, {
3715
- kind: "agent" | "human";
3716
- label: string;
3717
3715
  id: string;
3718
- }, {
3719
- kind: "agent" | "human";
3720
3716
  label: string;
3717
+ kind: "agent" | "human";
3718
+ }, {
3721
3719
  id: string;
3720
+ label: string;
3721
+ kind: "agent" | "human";
3722
3722
  }>;
3723
3723
  note: z.ZodOptional<z.ZodString>;
3724
3724
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3728,47 +3728,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3728
3728
  locator: z.ZodOptional<z.ZodString>;
3729
3729
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3730
3730
  }, "strict", z.ZodTypeAny, {
3731
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
- label: string;
3733
3731
  id: string;
3732
+ label: string;
3733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3734
3734
  capture: "at_action" | "historical_lookup" | "fixture";
3735
3735
  locator?: string | undefined;
3736
3736
  }, {
3737
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
- label: string;
3739
3737
  id: string;
3738
+ label: string;
3739
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
3740
  capture: "at_action" | "historical_lookup" | "fixture";
3741
3741
  locator?: string | undefined;
3742
3742
  }>, "many">>;
3743
3743
  }, "strict", z.ZodTypeAny, {
3744
3744
  kind: "correction_approved";
3745
3745
  evidence: {
3746
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
- label: string;
3748
3746
  id: string;
3747
+ label: string;
3748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
3749
  capture: "at_action" | "historical_lookup" | "fixture";
3750
3750
  locator?: string | undefined;
3751
3751
  }[];
3752
3752
  correctionId: string;
3753
3753
  approvedBy: {
3754
- kind: "agent" | "human";
3755
- label: string;
3756
3754
  id: string;
3755
+ label: string;
3756
+ kind: "agent" | "human";
3757
3757
  };
3758
3758
  note?: string | undefined;
3759
3759
  }, {
3760
3760
  kind: "correction_approved";
3761
3761
  correctionId: string;
3762
3762
  approvedBy: {
3763
- kind: "agent" | "human";
3764
- label: string;
3765
3763
  id: string;
3764
+ label: string;
3765
+ kind: "agent" | "human";
3766
3766
  };
3767
3767
  note?: string | undefined;
3768
3768
  evidence?: {
3769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
- label: string;
3771
3769
  id: string;
3770
+ label: string;
3771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3772
3772
  capture: "at_action" | "historical_lookup" | "fixture";
3773
3773
  locator?: string | undefined;
3774
3774
  }[] | undefined;
@@ -3784,24 +3784,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3784
3784
  locator: z.ZodOptional<z.ZodString>;
3785
3785
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3786
3786
  }, "strict", z.ZodTypeAny, {
3787
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
- label: string;
3789
3787
  id: string;
3788
+ label: string;
3789
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3790
3790
  capture: "at_action" | "historical_lookup" | "fixture";
3791
3791
  locator?: string | undefined;
3792
3792
  }, {
3793
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
- label: string;
3795
3793
  id: string;
3794
+ label: string;
3795
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3796
3796
  capture: "at_action" | "historical_lookup" | "fixture";
3797
3797
  locator?: string | undefined;
3798
3798
  }>, "many">>;
3799
3799
  }, "strict", z.ZodTypeAny, {
3800
3800
  kind: "decision_superseded";
3801
3801
  evidence: {
3802
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3803
- label: string;
3804
3802
  id: string;
3803
+ label: string;
3804
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3805
3805
  capture: "at_action" | "historical_lookup" | "fixture";
3806
3806
  locator?: string | undefined;
3807
3807
  }[];
@@ -3814,9 +3814,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3814
3814
  correctionId: string;
3815
3815
  replacementDecisionId: string;
3816
3816
  evidence?: {
3817
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
- label: string;
3819
3817
  id: string;
3818
+ label: string;
3819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3820
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3821
3821
  locator?: string | undefined;
3822
3822
  }[] | undefined;
@@ -3832,15 +3832,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3832
3832
  locator: z.ZodOptional<z.ZodString>;
3833
3833
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3834
3834
  }, "strict", z.ZodTypeAny, {
3835
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
- label: string;
3837
3835
  id: string;
3836
+ label: string;
3837
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
3838
  capture: "at_action" | "historical_lookup" | "fixture";
3839
3839
  locator?: string | undefined;
3840
3840
  }, {
3841
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
- label: string;
3843
3841
  id: string;
3842
+ label: string;
3843
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
3844
  capture: "at_action" | "historical_lookup" | "fixture";
3845
3845
  locator?: string | undefined;
3846
3846
  }>, "many">>;
@@ -3853,9 +3853,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3853
3853
  agentId: string;
3854
3854
  sessionId: string;
3855
3855
  evidence: {
3856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
- label: string;
3858
3856
  id: string;
3857
+ label: string;
3858
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
3859
  capture: "at_action" | "historical_lookup" | "fixture";
3860
3860
  locator?: string | undefined;
3861
3861
  }[];
@@ -3871,9 +3871,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3871
3871
  recallReceiptId: string;
3872
3872
  capturedAtAction: boolean;
3873
3873
  evidence?: {
3874
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
- label: string;
3876
3874
  id: string;
3875
+ label: string;
3876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3877
3877
  capture: "at_action" | "historical_lookup" | "fixture";
3878
3878
  locator?: string | undefined;
3879
3879
  }[] | undefined;
@@ -3889,15 +3889,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3889
3889
  locator: z.ZodOptional<z.ZodString>;
3890
3890
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3891
3891
  }, "strict", z.ZodTypeAny, {
3892
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
- label: string;
3894
3892
  id: string;
3893
+ label: string;
3894
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3895
  capture: "at_action" | "historical_lookup" | "fixture";
3896
3896
  locator?: string | undefined;
3897
3897
  }, {
3898
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
- label: string;
3900
3898
  id: string;
3899
+ label: string;
3900
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
3901
  capture: "at_action" | "historical_lookup" | "fixture";
3902
3902
  locator?: string | undefined;
3903
3903
  }>, "many">>;
@@ -3909,9 +3909,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3909
3909
  agentId: string;
3910
3910
  sessionId: string;
3911
3911
  evidence: {
3912
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
- label: string;
3914
3912
  id: string;
3913
+ label: string;
3914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
3915
  capture: "at_action" | "historical_lookup" | "fixture";
3916
3916
  locator?: string | undefined;
3917
3917
  }[];
@@ -3928,9 +3928,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3928
3928
  recallReceiptId: string;
3929
3929
  staleDecisionAbsent: boolean;
3930
3930
  evidence?: {
3931
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3932
- label: string;
3933
3931
  id: string;
3932
+ label: string;
3933
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
3934
  capture: "at_action" | "historical_lookup" | "fixture";
3935
3935
  locator?: string | undefined;
3936
3936
  }[] | undefined;
@@ -3945,37 +3945,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3945
3945
  locator: z.ZodOptional<z.ZodString>;
3946
3946
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3947
3947
  }, "strict", z.ZodTypeAny, {
3948
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
- label: string;
3950
3948
  id: string;
3949
+ label: string;
3950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3951
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3952
  locator?: string | undefined;
3953
3953
  }, {
3954
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
- label: string;
3956
3954
  id: string;
3955
+ label: string;
3956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
3957
  capture: "at_action" | "historical_lookup" | "fixture";
3958
3958
  locator?: string | undefined;
3959
3959
  }>, "many">>;
3960
3960
  }, "strict", z.ZodTypeAny, {
3961
- kind: "mission_completed";
3962
3961
  summary: string;
3962
+ kind: "mission_completed";
3963
3963
  outcome: "failed" | "recovered" | "inconclusive";
3964
3964
  evidence: {
3965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
- label: string;
3967
3965
  id: string;
3966
+ label: string;
3967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3968
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3969
  locator?: string | undefined;
3970
3970
  }[];
3971
3971
  }, {
3972
- kind: "mission_completed";
3973
3972
  summary: string;
3973
+ kind: "mission_completed";
3974
3974
  outcome: "failed" | "recovered" | "inconclusive";
3975
3975
  evidence?: {
3976
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
- label: string;
3978
3976
  id: string;
3977
+ label: string;
3978
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
3979
  capture: "at_action" | "historical_lookup" | "fixture";
3980
3980
  locator?: string | undefined;
3981
3981
  }[] | undefined;
@@ -3983,38 +3983,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3983
3983
  kind: "mission_started";
3984
3984
  title: string;
3985
3985
  evidence: {
3986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
- label: string;
3988
3986
  id: string;
3987
+ label: string;
3988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
3989
  capture: "at_action" | "historical_lookup" | "fixture";
3990
3990
  locator?: string | undefined;
3991
3991
  }[];
3992
3992
  objective: string;
3993
3993
  runMode: "replay" | "fixture" | "live";
3994
3994
  } | {
3995
- kind: "agent_status";
3996
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3997
3995
  label: string;
3996
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3997
+ kind: "agent_status";
3998
3998
  role: string;
3999
3999
  agentId: string;
4000
4000
  sessionId: string;
4001
4001
  evidence: {
4002
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4003
- label: string;
4004
4002
  id: string;
4003
+ label: string;
4004
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4005
4005
  capture: "at_action" | "historical_lookup" | "fixture";
4006
4006
  locator?: string | undefined;
4007
4007
  }[];
4008
4008
  detail?: string | undefined;
4009
4009
  } | {
4010
- kind: "agent_output";
4011
4010
  summary: string;
4011
+ kind: "agent_output";
4012
4012
  agentId: string;
4013
4013
  sessionId: string;
4014
4014
  evidence: {
4015
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
- label: string;
4017
4015
  id: string;
4016
+ label: string;
4017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4018
4018
  capture: "at_action" | "historical_lookup" | "fixture";
4019
4019
  locator?: string | undefined;
4020
4020
  }[];
@@ -4025,9 +4025,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4025
4025
  statement: string;
4026
4026
  sessionId: string;
4027
4027
  evidence: {
4028
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
- label: string;
4030
4028
  id: string;
4029
+ label: string;
4030
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4031
4031
  capture: "at_action" | "historical_lookup" | "fixture";
4032
4032
  locator?: string | undefined;
4033
4033
  }[];
@@ -4035,12 +4035,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4035
4035
  decisionId: string;
4036
4036
  confidence?: number | undefined;
4037
4037
  } | {
4038
- kind: "conflict_detected";
4039
4038
  summary: string;
4039
+ kind: "conflict_detected";
4040
4040
  evidence: {
4041
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4042
- label: string;
4043
4041
  id: string;
4042
+ label: string;
4043
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4044
4044
  capture: "at_action" | "historical_lookup" | "fixture";
4045
4045
  locator?: string | undefined;
4046
4046
  }[];
@@ -4048,14 +4048,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4048
4048
  decisionIds: string[];
4049
4049
  agentIds: string[];
4050
4050
  } | {
4051
- kind: "test_result";
4052
4051
  summary: string;
4053
4052
  status: "error" | "failed" | "passed";
4053
+ kind: "test_result";
4054
4054
  command: string;
4055
4055
  evidence: {
4056
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
- label: string;
4058
4056
  id: string;
4057
+ label: string;
4058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4059
4059
  capture: "at_action" | "historical_lookup" | "fixture";
4060
4060
  locator?: string | undefined;
4061
4061
  }[];
@@ -4068,9 +4068,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4068
4068
  statement: string;
4069
4069
  rationale: string;
4070
4070
  evidence: {
4071
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
- label: string;
4073
4071
  id: string;
4072
+ label: string;
4073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4074
4074
  capture: "at_action" | "historical_lookup" | "fixture";
4075
4075
  locator?: string | undefined;
4076
4076
  }[];
@@ -4082,25 +4082,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4082
4082
  } | {
4083
4083
  kind: "correction_approved";
4084
4084
  evidence: {
4085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
- label: string;
4087
4085
  id: string;
4086
+ label: string;
4087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4088
  capture: "at_action" | "historical_lookup" | "fixture";
4089
4089
  locator?: string | undefined;
4090
4090
  }[];
4091
4091
  correctionId: string;
4092
4092
  approvedBy: {
4093
- kind: "agent" | "human";
4094
- label: string;
4095
4093
  id: string;
4094
+ label: string;
4095
+ kind: "agent" | "human";
4096
4096
  };
4097
4097
  note?: string | undefined;
4098
4098
  } | {
4099
4099
  kind: "decision_superseded";
4100
4100
  evidence: {
4101
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4102
- label: string;
4103
4101
  id: string;
4102
+ label: string;
4103
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4104
4104
  capture: "at_action" | "historical_lookup" | "fixture";
4105
4105
  locator?: string | undefined;
4106
4106
  }[];
@@ -4113,9 +4113,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4113
4113
  agentId: string;
4114
4114
  sessionId: string;
4115
4115
  evidence: {
4116
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
- label: string;
4118
4116
  id: string;
4117
+ label: string;
4118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
4119
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4120
  locator?: string | undefined;
4121
4121
  }[];
@@ -4127,9 +4127,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4127
4127
  agentId: string;
4128
4128
  sessionId: string;
4129
4129
  evidence: {
4130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
- label: string;
4132
4130
  id: string;
4131
+ label: string;
4132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
4133
  capture: "at_action" | "historical_lookup" | "fixture";
4134
4134
  locator?: string | undefined;
4135
4135
  }[];
@@ -4138,13 +4138,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4138
4138
  recallReceiptId: string;
4139
4139
  staleDecisionAbsent: boolean;
4140
4140
  } | {
4141
- kind: "mission_completed";
4142
4141
  summary: string;
4142
+ kind: "mission_completed";
4143
4143
  outcome: "failed" | "recovered" | "inconclusive";
4144
4144
  evidence: {
4145
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4146
- label: string;
4147
4145
  id: string;
4146
+ label: string;
4147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4148
4148
  capture: "at_action" | "historical_lookup" | "fixture";
4149
4149
  locator?: string | undefined;
4150
4150
  }[];
@@ -4154,37 +4154,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4154
4154
  objective: string;
4155
4155
  runMode: "replay" | "fixture" | "live";
4156
4156
  evidence?: {
4157
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
- label: string;
4159
4157
  id: string;
4158
+ label: string;
4159
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
4160
  capture: "at_action" | "historical_lookup" | "fixture";
4161
4161
  locator?: string | undefined;
4162
4162
  }[] | undefined;
4163
4163
  } | {
4164
- kind: "agent_status";
4165
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4166
4164
  label: string;
4165
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4166
+ kind: "agent_status";
4167
4167
  role: string;
4168
4168
  agentId: string;
4169
4169
  sessionId: string;
4170
4170
  detail?: string | undefined;
4171
4171
  evidence?: {
4172
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
- label: string;
4174
4172
  id: string;
4173
+ label: string;
4174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
4175
  capture: "at_action" | "historical_lookup" | "fixture";
4176
4176
  locator?: string | undefined;
4177
4177
  }[] | undefined;
4178
4178
  } | {
4179
- kind: "agent_output";
4180
4179
  summary: string;
4180
+ kind: "agent_output";
4181
4181
  agentId: string;
4182
4182
  sessionId: string;
4183
4183
  outputId: string;
4184
4184
  evidence?: {
4185
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
- label: string;
4187
4185
  id: string;
4186
+ label: string;
4187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4188
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4189
  locator?: string | undefined;
4190
4190
  }[] | undefined;
@@ -4197,37 +4197,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4197
4197
  decisionId: string;
4198
4198
  confidence?: number | undefined;
4199
4199
  evidence?: {
4200
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
- label: string;
4202
4200
  id: string;
4201
+ label: string;
4202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4203
4203
  capture: "at_action" | "historical_lookup" | "fixture";
4204
4204
  locator?: string | undefined;
4205
4205
  }[] | undefined;
4206
4206
  } | {
4207
- kind: "conflict_detected";
4208
4207
  summary: string;
4208
+ kind: "conflict_detected";
4209
4209
  conflictId: string;
4210
4210
  decisionIds: string[];
4211
4211
  agentIds: string[];
4212
4212
  evidence?: {
4213
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
- label: string;
4215
4213
  id: string;
4214
+ label: string;
4215
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4216
4216
  capture: "at_action" | "historical_lookup" | "fixture";
4217
4217
  locator?: string | undefined;
4218
4218
  }[] | undefined;
4219
4219
  } | {
4220
- kind: "test_result";
4221
4220
  summary: string;
4222
4221
  status: "error" | "failed" | "passed";
4222
+ kind: "test_result";
4223
4223
  command: string;
4224
4224
  decisionId: string;
4225
4225
  testId: string;
4226
4226
  durationMs?: number | undefined;
4227
4227
  evidence?: {
4228
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4229
- label: string;
4230
4228
  id: string;
4229
+ label: string;
4230
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4232
4232
  locator?: string | undefined;
4233
4233
  }[] | undefined;
@@ -4242,9 +4242,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4242
4242
  supersedesDecisionIds: string[];
4243
4243
  proposedBy: string;
4244
4244
  evidence?: {
4245
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
- label: string;
4247
4245
  id: string;
4246
+ label: string;
4247
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4248
4248
  capture: "at_action" | "historical_lookup" | "fixture";
4249
4249
  locator?: string | undefined;
4250
4250
  }[] | undefined;
@@ -4252,15 +4252,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4252
4252
  kind: "correction_approved";
4253
4253
  correctionId: string;
4254
4254
  approvedBy: {
4255
- kind: "agent" | "human";
4256
- label: string;
4257
4255
  id: string;
4256
+ label: string;
4257
+ kind: "agent" | "human";
4258
4258
  };
4259
4259
  note?: string | undefined;
4260
4260
  evidence?: {
4261
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
- label: string;
4263
4261
  id: string;
4262
+ label: string;
4263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
4264
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4265
  locator?: string | undefined;
4266
4266
  }[] | undefined;
@@ -4270,9 +4270,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4270
4270
  correctionId: string;
4271
4271
  replacementDecisionId: string;
4272
4272
  evidence?: {
4273
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
- label: string;
4275
4273
  id: string;
4274
+ label: string;
4275
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4276
4276
  capture: "at_action" | "historical_lookup" | "fixture";
4277
4277
  locator?: string | undefined;
4278
4278
  }[] | undefined;
@@ -4285,9 +4285,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4285
4285
  recallReceiptId: string;
4286
4286
  capturedAtAction: boolean;
4287
4287
  evidence?: {
4288
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
- label: string;
4290
4288
  id: string;
4289
+ label: string;
4290
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
4291
  capture: "at_action" | "historical_lookup" | "fixture";
4292
4292
  locator?: string | undefined;
4293
4293
  }[] | undefined;
@@ -4300,63 +4300,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4300
4300
  recallReceiptId: string;
4301
4301
  staleDecisionAbsent: boolean;
4302
4302
  evidence?: {
4303
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
- label: string;
4305
4303
  id: string;
4304
+ label: string;
4305
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
4306
  capture: "at_action" | "historical_lookup" | "fixture";
4307
4307
  locator?: string | undefined;
4308
4308
  }[] | undefined;
4309
4309
  } | {
4310
- kind: "mission_completed";
4311
4310
  summary: string;
4311
+ kind: "mission_completed";
4312
4312
  outcome: "failed" | "recovered" | "inconclusive";
4313
4313
  evidence?: {
4314
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4315
- label: string;
4316
4314
  id: string;
4315
+ label: string;
4316
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
4317
  capture: "at_action" | "historical_lookup" | "fixture";
4318
4318
  locator?: string | undefined;
4319
4319
  }[] | undefined;
4320
4320
  }>;
4321
4321
  }, "strict", z.ZodTypeAny, {
4322
- schemaVersion: "1";
4322
+ namespace: string;
4323
4323
  recordedAt: string;
4324
+ schemaVersion: "1";
4324
4325
  payload: {
4325
4326
  kind: "mission_started";
4326
4327
  title: string;
4327
4328
  evidence: {
4328
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
- label: string;
4330
4329
  id: string;
4330
+ label: string;
4331
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4331
4332
  capture: "at_action" | "historical_lookup" | "fixture";
4332
4333
  locator?: string | undefined;
4333
4334
  }[];
4334
4335
  objective: string;
4335
4336
  runMode: "replay" | "fixture" | "live";
4336
4337
  } | {
4337
- kind: "agent_status";
4338
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4339
4338
  label: string;
4339
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4340
+ kind: "agent_status";
4340
4341
  role: string;
4341
4342
  agentId: string;
4342
4343
  sessionId: string;
4343
4344
  evidence: {
4344
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
- label: string;
4346
4345
  id: string;
4346
+ label: string;
4347
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
4348
  capture: "at_action" | "historical_lookup" | "fixture";
4348
4349
  locator?: string | undefined;
4349
4350
  }[];
4350
4351
  detail?: string | undefined;
4351
4352
  } | {
4352
- kind: "agent_output";
4353
4353
  summary: string;
4354
+ kind: "agent_output";
4354
4355
  agentId: string;
4355
4356
  sessionId: string;
4356
4357
  evidence: {
4357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
- label: string;
4359
4358
  id: string;
4359
+ label: string;
4360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4360
4361
  capture: "at_action" | "historical_lookup" | "fixture";
4361
4362
  locator?: string | undefined;
4362
4363
  }[];
@@ -4367,9 +4368,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4368
  statement: string;
4368
4369
  sessionId: string;
4369
4370
  evidence: {
4370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
- label: string;
4372
4371
  id: string;
4372
+ label: string;
4373
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4374
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4375
  locator?: string | undefined;
4375
4376
  }[];
@@ -4377,12 +4378,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4377
4378
  decisionId: string;
4378
4379
  confidence?: number | undefined;
4379
4380
  } | {
4380
- kind: "conflict_detected";
4381
4381
  summary: string;
4382
+ kind: "conflict_detected";
4382
4383
  evidence: {
4383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
- label: string;
4385
4384
  id: string;
4385
+ label: string;
4386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
4387
  capture: "at_action" | "historical_lookup" | "fixture";
4387
4388
  locator?: string | undefined;
4388
4389
  }[];
@@ -4390,14 +4391,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4390
4391
  decisionIds: string[];
4391
4392
  agentIds: string[];
4392
4393
  } | {
4393
- kind: "test_result";
4394
4394
  summary: string;
4395
4395
  status: "error" | "failed" | "passed";
4396
+ kind: "test_result";
4396
4397
  command: string;
4397
4398
  evidence: {
4398
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
- label: string;
4400
4399
  id: string;
4400
+ label: string;
4401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4402
4403
  locator?: string | undefined;
4403
4404
  }[];
@@ -4410,9 +4411,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4410
4411
  statement: string;
4411
4412
  rationale: string;
4412
4413
  evidence: {
4413
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
- label: string;
4415
4414
  id: string;
4415
+ label: string;
4416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
4417
  capture: "at_action" | "historical_lookup" | "fixture";
4417
4418
  locator?: string | undefined;
4418
4419
  }[];
@@ -4424,25 +4425,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4424
4425
  } | {
4425
4426
  kind: "correction_approved";
4426
4427
  evidence: {
4427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
- label: string;
4429
4428
  id: string;
4429
+ label: string;
4430
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
4431
  capture: "at_action" | "historical_lookup" | "fixture";
4431
4432
  locator?: string | undefined;
4432
4433
  }[];
4433
4434
  correctionId: string;
4434
4435
  approvedBy: {
4435
- kind: "agent" | "human";
4436
- label: string;
4437
4436
  id: string;
4437
+ label: string;
4438
+ kind: "agent" | "human";
4438
4439
  };
4439
4440
  note?: string | undefined;
4440
4441
  } | {
4441
4442
  kind: "decision_superseded";
4442
4443
  evidence: {
4443
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
- label: string;
4445
4444
  id: string;
4445
+ label: string;
4446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4446
4447
  capture: "at_action" | "historical_lookup" | "fixture";
4447
4448
  locator?: string | undefined;
4448
4449
  }[];
@@ -4455,9 +4456,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4455
4456
  agentId: string;
4456
4457
  sessionId: string;
4457
4458
  evidence: {
4458
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
- label: string;
4460
4459
  id: string;
4460
+ label: string;
4461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4462
4463
  locator?: string | undefined;
4463
4464
  }[];
@@ -4469,9 +4470,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4469
4470
  agentId: string;
4470
4471
  sessionId: string;
4471
4472
  evidence: {
4472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
- label: string;
4474
4473
  id: string;
4474
+ label: string;
4475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4476
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4477
  locator?: string | undefined;
4477
4478
  }[];
@@ -4480,63 +4481,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4480
4481
  recallReceiptId: string;
4481
4482
  staleDecisionAbsent: boolean;
4482
4483
  } | {
4483
- kind: "mission_completed";
4484
4484
  summary: string;
4485
+ kind: "mission_completed";
4485
4486
  outcome: "failed" | "recovered" | "inconclusive";
4486
4487
  evidence: {
4487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
- label: string;
4489
4488
  id: string;
4489
+ label: string;
4490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4492
  locator?: string | undefined;
4492
4493
  }[];
4493
4494
  };
4494
- namespace: string;
4495
4495
  eventId: string;
4496
4496
  occurredAt: string;
4497
4497
  missionId: string;
4498
4498
  authenticatedPrincipal?: string | undefined;
4499
4499
  idempotencyKey?: string | undefined;
4500
4500
  }, {
4501
- schemaVersion: "1";
4501
+ namespace: string;
4502
4502
  recordedAt: string;
4503
+ schemaVersion: "1";
4503
4504
  payload: {
4504
4505
  kind: "mission_started";
4505
4506
  title: string;
4506
4507
  objective: string;
4507
4508
  runMode: "replay" | "fixture" | "live";
4508
4509
  evidence?: {
4509
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
- label: string;
4511
4510
  id: string;
4511
+ label: string;
4512
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4512
4513
  capture: "at_action" | "historical_lookup" | "fixture";
4513
4514
  locator?: string | undefined;
4514
4515
  }[] | undefined;
4515
4516
  } | {
4516
- kind: "agent_status";
4517
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4518
4517
  label: string;
4518
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4519
+ kind: "agent_status";
4519
4520
  role: string;
4520
4521
  agentId: string;
4521
4522
  sessionId: string;
4522
4523
  detail?: string | undefined;
4523
4524
  evidence?: {
4524
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
- label: string;
4526
4525
  id: string;
4526
+ label: string;
4527
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
4528
  capture: "at_action" | "historical_lookup" | "fixture";
4528
4529
  locator?: string | undefined;
4529
4530
  }[] | undefined;
4530
4531
  } | {
4531
- kind: "agent_output";
4532
4532
  summary: string;
4533
+ kind: "agent_output";
4533
4534
  agentId: string;
4534
4535
  sessionId: string;
4535
4536
  outputId: string;
4536
4537
  evidence?: {
4537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
- label: string;
4539
4538
  id: string;
4539
+ label: string;
4540
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
4541
  capture: "at_action" | "historical_lookup" | "fixture";
4541
4542
  locator?: string | undefined;
4542
4543
  }[] | undefined;
@@ -4549,37 +4550,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4549
4550
  decisionId: string;
4550
4551
  confidence?: number | undefined;
4551
4552
  evidence?: {
4552
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
- label: string;
4554
4553
  id: string;
4554
+ label: string;
4555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4556
  capture: "at_action" | "historical_lookup" | "fixture";
4556
4557
  locator?: string | undefined;
4557
4558
  }[] | undefined;
4558
4559
  } | {
4559
- kind: "conflict_detected";
4560
4560
  summary: string;
4561
+ kind: "conflict_detected";
4561
4562
  conflictId: string;
4562
4563
  decisionIds: string[];
4563
4564
  agentIds: string[];
4564
4565
  evidence?: {
4565
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
- label: string;
4567
4566
  id: string;
4567
+ label: string;
4568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
4569
  capture: "at_action" | "historical_lookup" | "fixture";
4569
4570
  locator?: string | undefined;
4570
4571
  }[] | undefined;
4571
4572
  } | {
4572
- kind: "test_result";
4573
4573
  summary: string;
4574
4574
  status: "error" | "failed" | "passed";
4575
+ kind: "test_result";
4575
4576
  command: string;
4576
4577
  decisionId: string;
4577
4578
  testId: string;
4578
4579
  durationMs?: number | undefined;
4579
4580
  evidence?: {
4580
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
- label: string;
4582
4581
  id: string;
4582
+ label: string;
4583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
4584
  capture: "at_action" | "historical_lookup" | "fixture";
4584
4585
  locator?: string | undefined;
4585
4586
  }[] | undefined;
@@ -4594,9 +4595,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4594
4595
  supersedesDecisionIds: string[];
4595
4596
  proposedBy: string;
4596
4597
  evidence?: {
4597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
- label: string;
4599
4598
  id: string;
4599
+ label: string;
4600
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4601
  capture: "at_action" | "historical_lookup" | "fixture";
4601
4602
  locator?: string | undefined;
4602
4603
  }[] | undefined;
@@ -4604,15 +4605,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4604
4605
  kind: "correction_approved";
4605
4606
  correctionId: string;
4606
4607
  approvedBy: {
4607
- kind: "agent" | "human";
4608
- label: string;
4609
4608
  id: string;
4609
+ label: string;
4610
+ kind: "agent" | "human";
4610
4611
  };
4611
4612
  note?: string | undefined;
4612
4613
  evidence?: {
4613
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
- label: string;
4615
4614
  id: string;
4615
+ label: string;
4616
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
4617
  capture: "at_action" | "historical_lookup" | "fixture";
4617
4618
  locator?: string | undefined;
4618
4619
  }[] | undefined;
@@ -4622,9 +4623,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4622
4623
  correctionId: string;
4623
4624
  replacementDecisionId: string;
4624
4625
  evidence?: {
4625
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
- label: string;
4627
4626
  id: string;
4627
+ label: string;
4628
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
4629
  capture: "at_action" | "historical_lookup" | "fixture";
4629
4630
  locator?: string | undefined;
4630
4631
  }[] | undefined;
@@ -4637,9 +4638,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4637
4638
  recallReceiptId: string;
4638
4639
  capturedAtAction: boolean;
4639
4640
  evidence?: {
4640
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
- label: string;
4642
4641
  id: string;
4642
+ label: string;
4643
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
4644
  capture: "at_action" | "historical_lookup" | "fixture";
4644
4645
  locator?: string | undefined;
4645
4646
  }[] | undefined;
@@ -4652,25 +4653,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4652
4653
  recallReceiptId: string;
4653
4654
  staleDecisionAbsent: boolean;
4654
4655
  evidence?: {
4655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
- label: string;
4657
4656
  id: string;
4657
+ label: string;
4658
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
4659
  capture: "at_action" | "historical_lookup" | "fixture";
4659
4660
  locator?: string | undefined;
4660
4661
  }[] | undefined;
4661
4662
  } | {
4662
- kind: "mission_completed";
4663
4663
  summary: string;
4664
+ kind: "mission_completed";
4664
4665
  outcome: "failed" | "recovered" | "inconclusive";
4665
4666
  evidence?: {
4666
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
- label: string;
4668
4667
  id: string;
4668
+ label: string;
4669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4669
4670
  capture: "at_action" | "historical_lookup" | "fixture";
4670
4671
  locator?: string | undefined;
4671
4672
  }[] | undefined;
4672
4673
  };
4673
- namespace: string;
4674
4674
  eventId: string;
4675
4675
  occurredAt: string;
4676
4676
  missionId: string;