@remnic/core 9.69.20 → 9.69.21

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 (196) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +17 -17
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +18 -18
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +17 -17
  7. package/dist/access-cli.js +50 -50
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +17 -17
  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 +19 -19
  14. package/dist/access-http.d.ts +2 -2
  15. package/dist/access-http.js +30 -30
  16. package/dist/access-identity-continuity-surface.js +17 -17
  17. package/dist/access-lcm-surface.d.ts +1 -1
  18. package/dist/access-lcm-surface.js +17 -17
  19. package/dist/access-mcp.d.ts +1 -1
  20. package/dist/access-mcp.js +24 -24
  21. package/dist/access-namespace-preflight.js +17 -17
  22. package/dist/access-observe-write-surface.d.ts +1 -1
  23. package/dist/access-observe-write-surface.js +17 -17
  24. package/dist/access-operations-batch.js +18 -18
  25. package/dist/access-operations.d.ts +6 -6
  26. package/dist/access-operations.js +23 -23
  27. package/dist/access-recall-concurrency.d.ts +1 -1
  28. package/dist/access-recall-concurrency.js +17 -17
  29. package/dist/access-recall-response.d.ts +1 -1
  30. package/dist/access-recall-response.js +17 -17
  31. package/dist/access-recall-surface.d.ts +1 -1
  32. package/dist/access-recall-surface.js +17 -17
  33. package/dist/access-schema.d.ts +91 -91
  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 +17 -17
  37. package/dist/access-surface-catalog.d.ts +1 -1
  38. package/dist/access-surface-catalog.js +19 -19
  39. package/dist/briefing.js +8 -8
  40. package/dist/causal-consolidation.js +9 -9
  41. package/dist/{chunk-F5UWQ4LX.js → chunk-27I3NCGU.js} +2 -2
  42. package/dist/{chunk-X33MJFD2.js → chunk-35VUYPER.js} +2 -2
  43. package/dist/{chunk-BR3OOQZQ.js → chunk-3OTR43EW.js} +2 -2
  44. package/dist/{chunk-HOUST5UX.js → chunk-43VDPXOH.js} +2 -2
  45. package/dist/{chunk-FB7LAJQM.js → chunk-4HHWUOUU.js} +2 -2
  46. package/dist/{chunk-R7LY4YKF.js → chunk-4UCKF4SK.js} +2 -2
  47. package/dist/{chunk-GGYDJJBO.js → chunk-5OLY6KA4.js} +2 -2
  48. package/dist/{chunk-D35XLYQ7.js → chunk-6BYJQ3L2.js} +4 -4
  49. package/dist/{chunk-GDGHJDWY.js → chunk-7XK5U6FK.js} +3 -3
  50. package/dist/{chunk-PPJZMPUX.js → chunk-A4OZH3VG.js} +20 -20
  51. package/dist/{chunk-7SHCAJR7.js → chunk-A566E43A.js} +3 -3
  52. package/dist/{chunk-TC3ZDFMD.js → chunk-AEE3YMZQ.js} +9 -9
  53. package/dist/{chunk-TR5X2L4W.js → chunk-AP7CHXUH.js} +17 -17
  54. package/dist/{chunk-NS5SICIH.js → chunk-BIU4BMUT.js} +2 -2
  55. package/dist/{chunk-F5XGBC22.js → chunk-EAEIYHQ6.js} +2 -2
  56. package/dist/{chunk-RYZ2E2ZM.js → chunk-EP55XMFJ.js} +2 -2
  57. package/dist/{chunk-DP4EBV7C.js → chunk-ET4OBZKW.js} +2 -2
  58. package/dist/{chunk-EJ5RKUXW.js → chunk-FK3QH6VS.js} +2 -2
  59. package/dist/{chunk-G6N654ND.js → chunk-FQTCTEJW.js} +7 -7
  60. package/dist/{chunk-XZBXINXZ.js → chunk-GIC6BASP.js} +4 -4
  61. package/dist/{chunk-S37NN23M.js → chunk-HEPUZGLY.js} +2 -2
  62. package/dist/{chunk-NYRB7BKY.js → chunk-J34PYKGG.js} +2 -2
  63. package/dist/{chunk-NZGO2GKL.js → chunk-JG4DIH7D.js} +2 -2
  64. package/dist/{chunk-LFK623SF.js → chunk-JNAZ5CEG.js} +2 -2
  65. package/dist/{chunk-KA2HZCMG.js → chunk-JNDJMOMN.js} +2 -2
  66. package/dist/{chunk-DK6GMO6D.js → chunk-KQY4KIFO.js} +3 -3
  67. package/dist/{chunk-7TUB6JWA.js → chunk-L6TXFL7N.js} +3 -3
  68. package/dist/{chunk-W5EOTYOG.js → chunk-LP3LC7DV.js} +2 -2
  69. package/dist/{chunk-RACZB5HT.js → chunk-N37X5RU7.js} +4 -4
  70. package/dist/{chunk-AG46P24C.js → chunk-NNBZS3DY.js} +4 -4
  71. package/dist/{chunk-3LJPSRAN.js → chunk-NOJDLW4A.js} +3 -3
  72. package/dist/{chunk-6FUMA6AA.js → chunk-OERZXNSK.js} +2 -2
  73. package/dist/{chunk-RO2X2EYM.js → chunk-OHZBXKAQ.js} +2 -2
  74. package/dist/{chunk-N7JK2RKG.js → chunk-REX2B74A.js} +2 -2
  75. package/dist/{chunk-3LADWWMA.js → chunk-RGD2ZQGR.js} +3 -3
  76. package/dist/{chunk-22YEAYMV.js → chunk-ROJQV22V.js} +9 -9
  77. package/dist/{chunk-YVLENSNS.js → chunk-S3UTKH4Q.js} +2 -2
  78. package/dist/{chunk-IEX7SNFK.js → chunk-T4KF3GOE.js} +2 -2
  79. package/dist/{chunk-UTPFI5CL.js → chunk-TNIJAM2R.js} +5 -5
  80. package/dist/{chunk-ZZM476NV.js → chunk-UT2YCKQU.js} +1 -1
  81. package/dist/{chunk-4HYNMLT6.js → chunk-XBJKNZNY.js} +2 -2
  82. package/dist/{chunk-ZPMQXJJ3.js → chunk-XJW75JLZ.js} +2 -2
  83. package/dist/{chunk-ZJWDWPX6.js → chunk-YDCNNVED.js} +3 -3
  84. package/dist/{chunk-UMEOXLIZ.js → chunk-YEQZHG4U.js} +2 -2
  85. package/dist/{chunk-PPOT6SPR.js → chunk-YMYOPR33.js} +5 -5
  86. package/dist/{chunk-OGTKQ5MJ.js → chunk-ZD73N3OM.js} +2 -2
  87. package/dist/{chunk-BZTJEILZ.js → chunk-ZETTGSEG.js} +2 -2
  88. package/dist/{chunk-CASWJ2HM.js → chunk-ZJTSVIBS.js} +2 -2
  89. package/dist/{chunk-ZL3XX5LW.js → chunk-ZUYZPDEC.js} +2 -2
  90. package/dist/{cli-B_TaTEHW.d.ts → cli-BNtvR-nU.d.ts} +1 -1
  91. package/dist/cli.d.ts +2 -2
  92. package/dist/cli.js +41 -41
  93. package/dist/coding/export-okf-codegraph.js +8 -8
  94. package/dist/compounding/engine.js +8 -8
  95. package/dist/connectors/codex-materialize-runner.js +8 -8
  96. package/dist/connectors/index.js +8 -8
  97. package/dist/convergence-refresh.js +10 -10
  98. package/dist/corpus-watermark.js +10 -10
  99. package/dist/deep-recall-http-glue.d.ts +1 -1
  100. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  101. package/dist/entity-retrieval.js +8 -8
  102. package/dist/external-wiki-access.d.ts +1 -1
  103. package/dist/external-wiki-access.js +18 -18
  104. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  105. package/dist/extraction.js +8 -8
  106. package/dist/harmonic-retrieval.js +1 -1
  107. package/dist/index.d.ts +680 -680
  108. package/dist/index.js +50 -50
  109. package/dist/location/index.js +10 -10
  110. package/dist/maintenance/memory-governance.js +8 -8
  111. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
  112. package/dist/maintenance/rebuild-memory-projection.js +9 -9
  113. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  114. package/dist/memory-subject-cli.d.ts +1 -1
  115. package/dist/memory-subject.d.ts +1 -1
  116. package/dist/namespaces/migrate.js +9 -9
  117. package/dist/namespaces/search.js +6 -6
  118. package/dist/namespaces/storage.js +8 -8
  119. package/dist/operator-doctor-corpus.js +11 -11
  120. package/dist/operator-toolkit.js +16 -16
  121. package/dist/orchestration/maintenance.js +16 -16
  122. package/dist/orchestrator.js +50 -50
  123. package/dist/{public-http-DkQFZZkW.d.ts → public-http-Bevrjll9.d.ts} +1 -1
  124. package/dist/schemas.d.ts +176 -176
  125. package/dist/search/factory.js +5 -5
  126. package/dist/search/index.js +5 -5
  127. package/dist/search/lancedb-backend.js +2 -2
  128. package/dist/search/meilisearch-backend.js +2 -2
  129. package/dist/search/orama-backend.js +2 -2
  130. package/dist/semantic-consolidation.js +9 -9
  131. package/dist/semantic-rule-promotion.js +8 -8
  132. package/dist/semantic-rule-verifier.js +8 -8
  133. package/dist/shared-context/manager.d.ts +6 -6
  134. package/dist/source-agent-qualifier.js +8 -8
  135. package/dist/standup/build.js +8 -8
  136. package/dist/storage.js +7 -7
  137. package/dist/support-passport/index.d.ts +4 -4
  138. package/dist/support-passport/index.js +20 -20
  139. package/dist/transfer/export-okf.js +9 -9
  140. package/dist/transfer/types.d.ts +78 -78
  141. package/dist/verified-recall.js +8 -8
  142. package/dist/who-knows-cli.d.ts +1 -1
  143. package/dist/who-knows-cli.js +9 -9
  144. package/dist/who-knows.d.ts +1 -1
  145. package/dist/who-knows.js +8 -8
  146. package/package.json +2 -2
  147. package/dist/{access-service-DxE-bRvW.d.ts → access-service-BlsNXFwx.d.ts} +64 -64
  148. /package/dist/{chunk-F5UWQ4LX.js.map → chunk-27I3NCGU.js.map} +0 -0
  149. /package/dist/{chunk-X33MJFD2.js.map → chunk-35VUYPER.js.map} +0 -0
  150. /package/dist/{chunk-BR3OOQZQ.js.map → chunk-3OTR43EW.js.map} +0 -0
  151. /package/dist/{chunk-HOUST5UX.js.map → chunk-43VDPXOH.js.map} +0 -0
  152. /package/dist/{chunk-FB7LAJQM.js.map → chunk-4HHWUOUU.js.map} +0 -0
  153. /package/dist/{chunk-R7LY4YKF.js.map → chunk-4UCKF4SK.js.map} +0 -0
  154. /package/dist/{chunk-GGYDJJBO.js.map → chunk-5OLY6KA4.js.map} +0 -0
  155. /package/dist/{chunk-D35XLYQ7.js.map → chunk-6BYJQ3L2.js.map} +0 -0
  156. /package/dist/{chunk-GDGHJDWY.js.map → chunk-7XK5U6FK.js.map} +0 -0
  157. /package/dist/{chunk-PPJZMPUX.js.map → chunk-A4OZH3VG.js.map} +0 -0
  158. /package/dist/{chunk-7SHCAJR7.js.map → chunk-A566E43A.js.map} +0 -0
  159. /package/dist/{chunk-TC3ZDFMD.js.map → chunk-AEE3YMZQ.js.map} +0 -0
  160. /package/dist/{chunk-TR5X2L4W.js.map → chunk-AP7CHXUH.js.map} +0 -0
  161. /package/dist/{chunk-NS5SICIH.js.map → chunk-BIU4BMUT.js.map} +0 -0
  162. /package/dist/{chunk-F5XGBC22.js.map → chunk-EAEIYHQ6.js.map} +0 -0
  163. /package/dist/{chunk-RYZ2E2ZM.js.map → chunk-EP55XMFJ.js.map} +0 -0
  164. /package/dist/{chunk-DP4EBV7C.js.map → chunk-ET4OBZKW.js.map} +0 -0
  165. /package/dist/{chunk-EJ5RKUXW.js.map → chunk-FK3QH6VS.js.map} +0 -0
  166. /package/dist/{chunk-G6N654ND.js.map → chunk-FQTCTEJW.js.map} +0 -0
  167. /package/dist/{chunk-XZBXINXZ.js.map → chunk-GIC6BASP.js.map} +0 -0
  168. /package/dist/{chunk-S37NN23M.js.map → chunk-HEPUZGLY.js.map} +0 -0
  169. /package/dist/{chunk-NYRB7BKY.js.map → chunk-J34PYKGG.js.map} +0 -0
  170. /package/dist/{chunk-NZGO2GKL.js.map → chunk-JG4DIH7D.js.map} +0 -0
  171. /package/dist/{chunk-LFK623SF.js.map → chunk-JNAZ5CEG.js.map} +0 -0
  172. /package/dist/{chunk-KA2HZCMG.js.map → chunk-JNDJMOMN.js.map} +0 -0
  173. /package/dist/{chunk-DK6GMO6D.js.map → chunk-KQY4KIFO.js.map} +0 -0
  174. /package/dist/{chunk-7TUB6JWA.js.map → chunk-L6TXFL7N.js.map} +0 -0
  175. /package/dist/{chunk-W5EOTYOG.js.map → chunk-LP3LC7DV.js.map} +0 -0
  176. /package/dist/{chunk-RACZB5HT.js.map → chunk-N37X5RU7.js.map} +0 -0
  177. /package/dist/{chunk-AG46P24C.js.map → chunk-NNBZS3DY.js.map} +0 -0
  178. /package/dist/{chunk-3LJPSRAN.js.map → chunk-NOJDLW4A.js.map} +0 -0
  179. /package/dist/{chunk-6FUMA6AA.js.map → chunk-OERZXNSK.js.map} +0 -0
  180. /package/dist/{chunk-RO2X2EYM.js.map → chunk-OHZBXKAQ.js.map} +0 -0
  181. /package/dist/{chunk-N7JK2RKG.js.map → chunk-REX2B74A.js.map} +0 -0
  182. /package/dist/{chunk-3LADWWMA.js.map → chunk-RGD2ZQGR.js.map} +0 -0
  183. /package/dist/{chunk-22YEAYMV.js.map → chunk-ROJQV22V.js.map} +0 -0
  184. /package/dist/{chunk-YVLENSNS.js.map → chunk-S3UTKH4Q.js.map} +0 -0
  185. /package/dist/{chunk-IEX7SNFK.js.map → chunk-T4KF3GOE.js.map} +0 -0
  186. /package/dist/{chunk-UTPFI5CL.js.map → chunk-TNIJAM2R.js.map} +0 -0
  187. /package/dist/{chunk-ZZM476NV.js.map → chunk-UT2YCKQU.js.map} +0 -0
  188. /package/dist/{chunk-4HYNMLT6.js.map → chunk-XBJKNZNY.js.map} +0 -0
  189. /package/dist/{chunk-ZPMQXJJ3.js.map → chunk-XJW75JLZ.js.map} +0 -0
  190. /package/dist/{chunk-ZJWDWPX6.js.map → chunk-YDCNNVED.js.map} +0 -0
  191. /package/dist/{chunk-UMEOXLIZ.js.map → chunk-YEQZHG4U.js.map} +0 -0
  192. /package/dist/{chunk-PPOT6SPR.js.map → chunk-YMYOPR33.js.map} +0 -0
  193. /package/dist/{chunk-OGTKQ5MJ.js.map → chunk-ZD73N3OM.js.map} +0 -0
  194. /package/dist/{chunk-BZTJEILZ.js.map → chunk-ZETTGSEG.js.map} +0 -0
  195. /package/dist/{chunk-CASWJ2HM.js.map → chunk-ZJTSVIBS.js.map} +0 -0
  196. /package/dist/{chunk-ZL3XX5LW.js.map → chunk-ZUYZPDEC.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -34,8 +34,8 @@ export { bT as ACTION_GATE_DEFAULTS, bU as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
34
34
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
35
35
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
36
36
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
37
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DxE-bRvW.js';
38
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-DxE-bRvW.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-BlsNXFwx.js';
38
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-BlsNXFwx.js';
39
39
  import { LocalLlmClient } from './local-llm.js';
40
40
  import { FallbackLlmClient } from './fallback-llm.js';
41
41
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -58,10 +58,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
58
58
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
59
59
  export { storagePathHash } from './storage-paths.js';
60
60
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
61
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-B_TaTEHW.js';
61
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-BNtvR-nU.js';
62
62
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
63
63
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
64
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-DkQFZZkW.js';
64
+ export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-Bevrjll9.js';
65
65
  import { z } from 'zod';
66
66
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
67
67
  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';
@@ -1233,15 +1233,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1233
1233
  locator: z.ZodOptional<z.ZodString>;
1234
1234
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1235
1235
  }, "strict", z.ZodTypeAny, {
1236
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1237
- label: string;
1238
1236
  id: string;
1237
+ label: string;
1238
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
1239
  capture: "at_action" | "historical_lookup" | "fixture";
1240
1240
  locator?: string | undefined;
1241
1241
  }, {
1242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1243
- label: string;
1244
1242
  id: string;
1243
+ label: string;
1244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
1245
  capture: "at_action" | "historical_lookup" | "fixture";
1246
1246
  locator?: string | undefined;
1247
1247
  }>;
@@ -1258,15 +1258,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1258
1258
  locator: z.ZodOptional<z.ZodString>;
1259
1259
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1260
1260
  }, "strict", z.ZodTypeAny, {
1261
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1262
- label: string;
1263
1261
  id: string;
1262
+ label: string;
1263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
1264
  capture: "at_action" | "historical_lookup" | "fixture";
1265
1265
  locator?: string | undefined;
1266
1266
  }, {
1267
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1268
- label: string;
1269
1267
  id: string;
1268
+ label: string;
1269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
1270
  capture: "at_action" | "historical_lookup" | "fixture";
1271
1271
  locator?: string | undefined;
1272
1272
  }>, "many">>;
@@ -1274,9 +1274,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1274
1274
  kind: "mission_started";
1275
1275
  title: string;
1276
1276
  evidence: {
1277
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1278
- label: string;
1279
1277
  id: string;
1278
+ label: string;
1279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1280
1280
  capture: "at_action" | "historical_lookup" | "fixture";
1281
1281
  locator?: string | undefined;
1282
1282
  }[];
@@ -1288,9 +1288,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1288
1288
  objective: string;
1289
1289
  runMode: "replay" | "fixture" | "live";
1290
1290
  evidence?: {
1291
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1292
- label: string;
1293
1291
  id: string;
1292
+ label: string;
1293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1294
  capture: "at_action" | "historical_lookup" | "fixture";
1295
1295
  locator?: string | undefined;
1296
1296
  }[] | undefined;
@@ -1306,15 +1306,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1306
1306
  locator: z.ZodOptional<z.ZodString>;
1307
1307
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1308
1308
  }, "strict", z.ZodTypeAny, {
1309
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
- label: string;
1311
1309
  id: string;
1310
+ label: string;
1311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
1312
  capture: "at_action" | "historical_lookup" | "fixture";
1313
1313
  locator?: string | undefined;
1314
1314
  }, {
1315
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
- label: string;
1317
1315
  id: string;
1316
+ label: string;
1317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1318
1318
  capture: "at_action" | "historical_lookup" | "fixture";
1319
1319
  locator?: string | undefined;
1320
1320
  }>, "many">>;
@@ -1322,32 +1322,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1322
1322
  sessionId: z.ZodString;
1323
1323
  kind: z.ZodLiteral<"agent_status">;
1324
1324
  }, "strict", z.ZodTypeAny, {
1325
- kind: "agent_status";
1326
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1327
1325
  label: string;
1326
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1327
+ kind: "agent_status";
1328
1328
  role: string;
1329
1329
  agentId: string;
1330
1330
  sessionId: string;
1331
1331
  evidence: {
1332
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1333
- label: string;
1334
1332
  id: string;
1333
+ label: string;
1334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
1335
  capture: "at_action" | "historical_lookup" | "fixture";
1336
1336
  locator?: string | undefined;
1337
1337
  }[];
1338
1338
  detail?: string | undefined;
1339
1339
  }, {
1340
- kind: "agent_status";
1341
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1342
1340
  label: string;
1341
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1342
+ kind: "agent_status";
1343
1343
  role: string;
1344
1344
  agentId: string;
1345
1345
  sessionId: string;
1346
1346
  detail?: string | undefined;
1347
1347
  evidence?: {
1348
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1349
- label: string;
1350
1348
  id: string;
1349
+ label: string;
1350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
1351
  capture: "at_action" | "historical_lookup" | "fixture";
1352
1352
  locator?: string | undefined;
1353
1353
  }[] | undefined;
@@ -1361,15 +1361,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1361
1361
  locator: z.ZodOptional<z.ZodString>;
1362
1362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1363
1363
  }, "strict", z.ZodTypeAny, {
1364
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1365
- label: string;
1366
1364
  id: string;
1365
+ label: string;
1366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
1367
  capture: "at_action" | "historical_lookup" | "fixture";
1368
1368
  locator?: string | undefined;
1369
1369
  }, {
1370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1371
- label: string;
1372
1370
  id: string;
1371
+ label: string;
1372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1373
  capture: "at_action" | "historical_lookup" | "fixture";
1374
1374
  locator?: string | undefined;
1375
1375
  }>, "many">>;
@@ -1377,28 +1377,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1377
1377
  sessionId: z.ZodString;
1378
1378
  kind: z.ZodLiteral<"agent_output">;
1379
1379
  }, "strict", z.ZodTypeAny, {
1380
- kind: "agent_output";
1381
1380
  summary: string;
1381
+ kind: "agent_output";
1382
1382
  agentId: string;
1383
1383
  sessionId: string;
1384
1384
  evidence: {
1385
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1386
- label: string;
1387
1385
  id: string;
1386
+ label: string;
1387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1388
  capture: "at_action" | "historical_lookup" | "fixture";
1389
1389
  locator?: string | undefined;
1390
1390
  }[];
1391
1391
  outputId: string;
1392
1392
  }, {
1393
- kind: "agent_output";
1394
1393
  summary: string;
1394
+ kind: "agent_output";
1395
1395
  agentId: string;
1396
1396
  sessionId: string;
1397
1397
  outputId: string;
1398
1398
  evidence?: {
1399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1400
- label: string;
1401
1399
  id: string;
1400
+ label: string;
1401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
1402
  capture: "at_action" | "historical_lookup" | "fixture";
1403
1403
  locator?: string | undefined;
1404
1404
  }[] | undefined;
@@ -1414,15 +1414,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1414
1414
  locator: z.ZodOptional<z.ZodString>;
1415
1415
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1416
1416
  }, "strict", z.ZodTypeAny, {
1417
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1418
- label: string;
1419
1417
  id: string;
1418
+ label: string;
1419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
1420
  capture: "at_action" | "historical_lookup" | "fixture";
1421
1421
  locator?: string | undefined;
1422
1422
  }, {
1423
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1424
- label: string;
1425
1423
  id: string;
1424
+ label: string;
1425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
1426
  capture: "at_action" | "historical_lookup" | "fixture";
1427
1427
  locator?: string | undefined;
1428
1428
  }>, "many">>;
@@ -1435,9 +1435,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1435
1435
  statement: string;
1436
1436
  sessionId: string;
1437
1437
  evidence: {
1438
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1439
- label: string;
1440
1438
  id: string;
1439
+ label: string;
1440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1441
1441
  capture: "at_action" | "historical_lookup" | "fixture";
1442
1442
  locator?: string | undefined;
1443
1443
  }[];
@@ -1453,9 +1453,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1453
1453
  decisionId: string;
1454
1454
  confidence?: number | undefined;
1455
1455
  evidence?: {
1456
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1457
- label: string;
1458
1456
  id: string;
1457
+ label: string;
1458
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
1459
  capture: "at_action" | "historical_lookup" | "fixture";
1460
1460
  locator?: string | undefined;
1461
1461
  }[] | undefined;
@@ -1472,25 +1472,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1472
1472
  locator: z.ZodOptional<z.ZodString>;
1473
1473
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1474
1474
  }, "strict", z.ZodTypeAny, {
1475
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1476
- label: string;
1477
1475
  id: string;
1476
+ label: string;
1477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
1478
  capture: "at_action" | "historical_lookup" | "fixture";
1479
1479
  locator?: string | undefined;
1480
1480
  }, {
1481
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1482
- label: string;
1483
1481
  id: string;
1482
+ label: string;
1483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1484
  capture: "at_action" | "historical_lookup" | "fixture";
1485
1485
  locator?: string | undefined;
1486
1486
  }>, "many">>;
1487
1487
  }, "strict", z.ZodTypeAny, {
1488
- kind: "conflict_detected";
1489
1488
  summary: string;
1489
+ kind: "conflict_detected";
1490
1490
  evidence: {
1491
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1492
- label: string;
1493
1491
  id: string;
1492
+ label: string;
1493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
1494
  capture: "at_action" | "historical_lookup" | "fixture";
1495
1495
  locator?: string | undefined;
1496
1496
  }[];
@@ -1498,15 +1498,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1498
1498
  decisionIds: string[];
1499
1499
  agentIds: string[];
1500
1500
  }, {
1501
- kind: "conflict_detected";
1502
1501
  summary: string;
1502
+ kind: "conflict_detected";
1503
1503
  conflictId: string;
1504
1504
  decisionIds: string[];
1505
1505
  agentIds: string[];
1506
1506
  evidence?: {
1507
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1508
- label: string;
1509
1507
  id: string;
1508
+ label: string;
1509
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1510
1510
  capture: "at_action" | "historical_lookup" | "fixture";
1511
1511
  locator?: string | undefined;
1512
1512
  }[] | undefined;
@@ -1526,27 +1526,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1526
1526
  locator: z.ZodOptional<z.ZodString>;
1527
1527
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1528
1528
  }, "strict", z.ZodTypeAny, {
1529
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1530
- label: string;
1531
1529
  id: string;
1530
+ label: string;
1531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
1532
  capture: "at_action" | "historical_lookup" | "fixture";
1533
1533
  locator?: string | undefined;
1534
1534
  }, {
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
  }>, "many">>;
1541
1541
  }, "strict", z.ZodTypeAny, {
1542
- kind: "test_result";
1543
1542
  summary: string;
1544
1543
  status: "error" | "failed" | "passed";
1544
+ kind: "test_result";
1545
1545
  command: string;
1546
1546
  evidence: {
1547
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1548
- label: string;
1549
1547
  id: string;
1548
+ label: string;
1549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
1550
  capture: "at_action" | "historical_lookup" | "fixture";
1551
1551
  locator?: string | undefined;
1552
1552
  }[];
@@ -1555,17 +1555,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1555
1555
  durationMs?: number | undefined;
1556
1556
  correctionId?: string | undefined;
1557
1557
  }, {
1558
- kind: "test_result";
1559
1558
  summary: string;
1560
1559
  status: "error" | "failed" | "passed";
1560
+ kind: "test_result";
1561
1561
  command: string;
1562
1562
  decisionId: string;
1563
1563
  testId: string;
1564
1564
  durationMs?: number | undefined;
1565
1565
  evidence?: {
1566
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1567
- label: string;
1568
1566
  id: string;
1567
+ label: string;
1568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1569
1569
  capture: "at_action" | "historical_lookup" | "fixture";
1570
1570
  locator?: string | undefined;
1571
1571
  }[] | undefined;
@@ -1586,15 +1586,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1586
1586
  locator: z.ZodOptional<z.ZodString>;
1587
1587
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1588
1588
  }, "strict", z.ZodTypeAny, {
1589
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
- label: string;
1591
1589
  id: string;
1590
+ label: string;
1591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
1592
  capture: "at_action" | "historical_lookup" | "fixture";
1593
1593
  locator?: string | undefined;
1594
1594
  }, {
1595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
- label: string;
1597
1595
  id: string;
1596
+ label: string;
1597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1599
  locator?: string | undefined;
1600
1600
  }>, "many">>;
@@ -1603,9 +1603,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1603
1603
  statement: string;
1604
1604
  rationale: string;
1605
1605
  evidence: {
1606
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1607
- label: string;
1608
1606
  id: string;
1607
+ label: string;
1608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1609
  capture: "at_action" | "historical_lookup" | "fixture";
1610
1610
  locator?: string | undefined;
1611
1611
  }[];
@@ -1624,9 +1624,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1624
1624
  supersedesDecisionIds: string[];
1625
1625
  proposedBy: string;
1626
1626
  evidence?: {
1627
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1628
- label: string;
1629
1627
  id: string;
1628
+ label: string;
1629
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
1630
  capture: "at_action" | "historical_lookup" | "fixture";
1631
1631
  locator?: string | undefined;
1632
1632
  }[] | undefined;
@@ -1638,13 +1638,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1638
1638
  id: z.ZodString;
1639
1639
  label: z.ZodString;
1640
1640
  }, "strict", z.ZodTypeAny, {
1641
- kind: "agent" | "human";
1642
- label: string;
1643
1641
  id: string;
1644
- }, {
1645
- kind: "agent" | "human";
1646
1642
  label: string;
1643
+ kind: "agent" | "human";
1644
+ }, {
1647
1645
  id: string;
1646
+ label: string;
1647
+ kind: "agent" | "human";
1648
1648
  }>;
1649
1649
  note: z.ZodOptional<z.ZodString>;
1650
1650
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1654,47 +1654,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1654
1654
  locator: z.ZodOptional<z.ZodString>;
1655
1655
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1656
1656
  }, "strict", z.ZodTypeAny, {
1657
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1658
- label: string;
1659
1657
  id: string;
1658
+ label: string;
1659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1660
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1661
1661
  locator?: string | undefined;
1662
1662
  }, {
1663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1664
- label: string;
1665
1663
  id: string;
1664
+ label: string;
1665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
1666
  capture: "at_action" | "historical_lookup" | "fixture";
1667
1667
  locator?: string | undefined;
1668
1668
  }>, "many">>;
1669
1669
  }, "strict", z.ZodTypeAny, {
1670
1670
  kind: "correction_approved";
1671
1671
  evidence: {
1672
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1673
- label: string;
1674
1672
  id: string;
1673
+ label: string;
1674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
1675
  capture: "at_action" | "historical_lookup" | "fixture";
1676
1676
  locator?: string | undefined;
1677
1677
  }[];
1678
1678
  correctionId: string;
1679
1679
  approvedBy: {
1680
- kind: "agent" | "human";
1681
- label: string;
1682
1680
  id: string;
1681
+ label: string;
1682
+ kind: "agent" | "human";
1683
1683
  };
1684
1684
  note?: string | undefined;
1685
1685
  }, {
1686
1686
  kind: "correction_approved";
1687
1687
  correctionId: string;
1688
1688
  approvedBy: {
1689
- kind: "agent" | "human";
1690
- label: string;
1691
1689
  id: string;
1690
+ label: string;
1691
+ kind: "agent" | "human";
1692
1692
  };
1693
1693
  note?: string | undefined;
1694
1694
  evidence?: {
1695
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1696
- label: string;
1697
1695
  id: string;
1696
+ label: string;
1697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1698
  capture: "at_action" | "historical_lookup" | "fixture";
1699
1699
  locator?: string | undefined;
1700
1700
  }[] | undefined;
@@ -1710,24 +1710,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1710
1710
  locator: z.ZodOptional<z.ZodString>;
1711
1711
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1712
1712
  }, "strict", z.ZodTypeAny, {
1713
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
- label: string;
1715
1713
  id: string;
1714
+ label: string;
1715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1717
1717
  locator?: string | undefined;
1718
1718
  }, {
1719
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1720
- label: string;
1721
1719
  id: string;
1720
+ label: string;
1721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
1722
  capture: "at_action" | "historical_lookup" | "fixture";
1723
1723
  locator?: string | undefined;
1724
1724
  }>, "many">>;
1725
1725
  }, "strict", z.ZodTypeAny, {
1726
1726
  kind: "decision_superseded";
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
  }[];
@@ -1740,9 +1740,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1740
1740
  correctionId: string;
1741
1741
  replacementDecisionId: string;
1742
1742
  evidence?: {
1743
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1744
- label: string;
1745
1743
  id: string;
1744
+ label: string;
1745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1747
1747
  locator?: string | undefined;
1748
1748
  }[] | undefined;
@@ -1758,15 +1758,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1758
1758
  locator: z.ZodOptional<z.ZodString>;
1759
1759
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1760
1760
  }, "strict", z.ZodTypeAny, {
1761
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
- label: string;
1763
1761
  id: string;
1762
+ label: string;
1763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
1764
  capture: "at_action" | "historical_lookup" | "fixture";
1765
1765
  locator?: string | undefined;
1766
1766
  }, {
1767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1768
- label: string;
1769
1767
  id: string;
1768
+ label: string;
1769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
1770
  capture: "at_action" | "historical_lookup" | "fixture";
1771
1771
  locator?: string | undefined;
1772
1772
  }>, "many">>;
@@ -1779,9 +1779,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1779
1779
  agentId: string;
1780
1780
  sessionId: string;
1781
1781
  evidence: {
1782
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1783
- label: string;
1784
1782
  id: string;
1783
+ label: string;
1784
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1785
1785
  capture: "at_action" | "historical_lookup" | "fixture";
1786
1786
  locator?: string | undefined;
1787
1787
  }[];
@@ -1797,9 +1797,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1797
1797
  recallReceiptId: string;
1798
1798
  capturedAtAction: boolean;
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;
@@ -1815,15 +1815,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1815
1815
  locator: z.ZodOptional<z.ZodString>;
1816
1816
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1817
1817
  }, "strict", z.ZodTypeAny, {
1818
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
- label: string;
1820
1818
  id: string;
1819
+ label: string;
1820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1821
  capture: "at_action" | "historical_lookup" | "fixture";
1822
1822
  locator?: string | undefined;
1823
1823
  }, {
1824
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1825
- label: string;
1826
1824
  id: string;
1825
+ label: string;
1826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
1827
  capture: "at_action" | "historical_lookup" | "fixture";
1828
1828
  locator?: string | undefined;
1829
1829
  }>, "many">>;
@@ -1835,9 +1835,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1835
1835
  agentId: string;
1836
1836
  sessionId: string;
1837
1837
  evidence: {
1838
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1839
- label: string;
1840
1838
  id: string;
1839
+ label: string;
1840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1841
1841
  capture: "at_action" | "historical_lookup" | "fixture";
1842
1842
  locator?: string | undefined;
1843
1843
  }[];
@@ -1854,9 +1854,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1854
1854
  recallReceiptId: string;
1855
1855
  staleDecisionAbsent: boolean;
1856
1856
  evidence?: {
1857
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1858
- label: string;
1859
1857
  id: string;
1858
+ label: string;
1859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
1860
  capture: "at_action" | "historical_lookup" | "fixture";
1861
1861
  locator?: string | undefined;
1862
1862
  }[] | undefined;
@@ -1871,37 +1871,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1871
1871
  locator: z.ZodOptional<z.ZodString>;
1872
1872
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1873
1873
  }, "strict", z.ZodTypeAny, {
1874
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1875
- label: string;
1876
1874
  id: string;
1875
+ label: string;
1876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1877
1877
  capture: "at_action" | "historical_lookup" | "fixture";
1878
1878
  locator?: string | undefined;
1879
1879
  }, {
1880
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1881
- label: string;
1882
1880
  id: string;
1881
+ label: string;
1882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
1883
  capture: "at_action" | "historical_lookup" | "fixture";
1884
1884
  locator?: string | undefined;
1885
1885
  }>, "many">>;
1886
1886
  }, "strict", z.ZodTypeAny, {
1887
- kind: "mission_completed";
1888
1887
  summary: string;
1888
+ kind: "mission_completed";
1889
1889
  outcome: "failed" | "recovered" | "inconclusive";
1890
1890
  evidence: {
1891
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1892
- label: string;
1893
1891
  id: string;
1892
+ label: string;
1893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
1894
  capture: "at_action" | "historical_lookup" | "fixture";
1895
1895
  locator?: string | undefined;
1896
1896
  }[];
1897
1897
  }, {
1898
- kind: "mission_completed";
1899
1898
  summary: string;
1899
+ kind: "mission_completed";
1900
1900
  outcome: "failed" | "recovered" | "inconclusive";
1901
1901
  evidence?: {
1902
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
- label: string;
1904
1902
  id: string;
1903
+ label: string;
1904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1905
  capture: "at_action" | "historical_lookup" | "fixture";
1906
1906
  locator?: string | undefined;
1907
1907
  }[] | undefined;
@@ -1909,38 +1909,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1909
1909
  kind: "mission_started";
1910
1910
  title: string;
1911
1911
  evidence: {
1912
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
- label: string;
1914
1912
  id: string;
1913
+ label: string;
1914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1915
  capture: "at_action" | "historical_lookup" | "fixture";
1916
1916
  locator?: string | undefined;
1917
1917
  }[];
1918
1918
  objective: string;
1919
1919
  runMode: "replay" | "fixture" | "live";
1920
1920
  } | {
1921
- kind: "agent_status";
1922
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1923
1921
  label: string;
1922
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1923
+ kind: "agent_status";
1924
1924
  role: string;
1925
1925
  agentId: string;
1926
1926
  sessionId: string;
1927
1927
  evidence: {
1928
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1929
- label: string;
1930
1928
  id: string;
1929
+ label: string;
1930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
1931
  capture: "at_action" | "historical_lookup" | "fixture";
1932
1932
  locator?: string | undefined;
1933
1933
  }[];
1934
1934
  detail?: string | undefined;
1935
1935
  } | {
1936
- kind: "agent_output";
1937
1936
  summary: string;
1937
+ kind: "agent_output";
1938
1938
  agentId: string;
1939
1939
  sessionId: string;
1940
1940
  evidence: {
1941
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1942
- label: string;
1943
1941
  id: string;
1942
+ label: string;
1943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1944
1944
  capture: "at_action" | "historical_lookup" | "fixture";
1945
1945
  locator?: string | undefined;
1946
1946
  }[];
@@ -1951,9 +1951,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1951
1951
  statement: string;
1952
1952
  sessionId: string;
1953
1953
  evidence: {
1954
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1955
- label: string;
1956
1954
  id: string;
1955
+ label: string;
1956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
1957
  capture: "at_action" | "historical_lookup" | "fixture";
1958
1958
  locator?: string | undefined;
1959
1959
  }[];
@@ -1961,12 +1961,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1961
1961
  decisionId: string;
1962
1962
  confidence?: number | undefined;
1963
1963
  } | {
1964
- kind: "conflict_detected";
1965
1964
  summary: string;
1965
+ kind: "conflict_detected";
1966
1966
  evidence: {
1967
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1968
- label: string;
1969
1967
  id: string;
1968
+ label: string;
1969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
1970
  capture: "at_action" | "historical_lookup" | "fixture";
1971
1971
  locator?: string | undefined;
1972
1972
  }[];
@@ -1974,14 +1974,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1974
1974
  decisionIds: string[];
1975
1975
  agentIds: string[];
1976
1976
  } | {
1977
- kind: "test_result";
1978
1977
  summary: string;
1979
1978
  status: "error" | "failed" | "passed";
1979
+ kind: "test_result";
1980
1980
  command: string;
1981
1981
  evidence: {
1982
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
- label: string;
1984
1982
  id: string;
1983
+ label: string;
1984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
1985
  capture: "at_action" | "historical_lookup" | "fixture";
1986
1986
  locator?: string | undefined;
1987
1987
  }[];
@@ -1994,9 +1994,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1994
1994
  statement: string;
1995
1995
  rationale: string;
1996
1996
  evidence: {
1997
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1998
- label: string;
1999
1997
  id: string;
1998
+ label: string;
1999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
2000
  capture: "at_action" | "historical_lookup" | "fixture";
2001
2001
  locator?: string | undefined;
2002
2002
  }[];
@@ -2008,25 +2008,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2008
2008
  } | {
2009
2009
  kind: "correction_approved";
2010
2010
  evidence: {
2011
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2012
- label: string;
2013
2011
  id: string;
2012
+ label: string;
2013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
2014
  capture: "at_action" | "historical_lookup" | "fixture";
2015
2015
  locator?: string | undefined;
2016
2016
  }[];
2017
2017
  correctionId: string;
2018
2018
  approvedBy: {
2019
- kind: "agent" | "human";
2020
- label: string;
2021
2019
  id: string;
2020
+ label: string;
2021
+ kind: "agent" | "human";
2022
2022
  };
2023
2023
  note?: string | undefined;
2024
2024
  } | {
2025
2025
  kind: "decision_superseded";
2026
2026
  evidence: {
2027
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2028
- label: string;
2029
2027
  id: string;
2028
+ label: string;
2029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2030
  capture: "at_action" | "historical_lookup" | "fixture";
2031
2031
  locator?: string | undefined;
2032
2032
  }[];
@@ -2039,9 +2039,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2039
2039
  agentId: string;
2040
2040
  sessionId: string;
2041
2041
  evidence: {
2042
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2043
- label: string;
2044
2042
  id: string;
2043
+ label: string;
2044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2045
  capture: "at_action" | "historical_lookup" | "fixture";
2046
2046
  locator?: string | undefined;
2047
2047
  }[];
@@ -2053,9 +2053,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2053
2053
  agentId: string;
2054
2054
  sessionId: string;
2055
2055
  evidence: {
2056
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2057
- label: string;
2058
2056
  id: string;
2057
+ label: string;
2058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2059
2059
  capture: "at_action" | "historical_lookup" | "fixture";
2060
2060
  locator?: string | undefined;
2061
2061
  }[];
@@ -2064,13 +2064,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2064
2064
  recallReceiptId: string;
2065
2065
  staleDecisionAbsent: boolean;
2066
2066
  } | {
2067
- kind: "mission_completed";
2068
2067
  summary: string;
2068
+ kind: "mission_completed";
2069
2069
  outcome: "failed" | "recovered" | "inconclusive";
2070
2070
  evidence: {
2071
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2072
- label: string;
2073
2071
  id: string;
2072
+ label: string;
2073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
2074
  capture: "at_action" | "historical_lookup" | "fixture";
2075
2075
  locator?: string | undefined;
2076
2076
  }[];
@@ -2080,37 +2080,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2080
2080
  objective: string;
2081
2081
  runMode: "replay" | "fixture" | "live";
2082
2082
  evidence?: {
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
  }[] | undefined;
2089
2089
  } | {
2090
- kind: "agent_status";
2091
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2092
2090
  label: string;
2091
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2092
+ kind: "agent_status";
2093
2093
  role: string;
2094
2094
  agentId: string;
2095
2095
  sessionId: string;
2096
2096
  detail?: string | undefined;
2097
2097
  evidence?: {
2098
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2099
- label: string;
2100
2098
  id: string;
2099
+ label: string;
2100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
2101
  capture: "at_action" | "historical_lookup" | "fixture";
2102
2102
  locator?: string | undefined;
2103
2103
  }[] | undefined;
2104
2104
  } | {
2105
- kind: "agent_output";
2106
2105
  summary: string;
2106
+ kind: "agent_output";
2107
2107
  agentId: string;
2108
2108
  sessionId: string;
2109
2109
  outputId: string;
2110
2110
  evidence?: {
2111
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2112
- label: string;
2113
2111
  id: string;
2112
+ label: string;
2113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
2114
  capture: "at_action" | "historical_lookup" | "fixture";
2115
2115
  locator?: string | undefined;
2116
2116
  }[] | undefined;
@@ -2123,37 +2123,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2123
2123
  decisionId: string;
2124
2124
  confidence?: number | undefined;
2125
2125
  evidence?: {
2126
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2127
- label: string;
2128
2126
  id: string;
2127
+ label: string;
2128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
2129
  capture: "at_action" | "historical_lookup" | "fixture";
2130
2130
  locator?: string | undefined;
2131
2131
  }[] | undefined;
2132
2132
  } | {
2133
- kind: "conflict_detected";
2134
2133
  summary: string;
2134
+ kind: "conflict_detected";
2135
2135
  conflictId: string;
2136
2136
  decisionIds: string[];
2137
2137
  agentIds: string[];
2138
2138
  evidence?: {
2139
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2140
- label: string;
2141
2139
  id: string;
2140
+ label: string;
2141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
2142
  capture: "at_action" | "historical_lookup" | "fixture";
2143
2143
  locator?: string | undefined;
2144
2144
  }[] | undefined;
2145
2145
  } | {
2146
- kind: "test_result";
2147
2146
  summary: string;
2148
2147
  status: "error" | "failed" | "passed";
2148
+ kind: "test_result";
2149
2149
  command: string;
2150
2150
  decisionId: string;
2151
2151
  testId: string;
2152
2152
  durationMs?: number | undefined;
2153
2153
  evidence?: {
2154
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2155
- label: string;
2156
2154
  id: string;
2155
+ label: string;
2156
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
2157
  capture: "at_action" | "historical_lookup" | "fixture";
2158
2158
  locator?: string | undefined;
2159
2159
  }[] | undefined;
@@ -2168,9 +2168,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2168
2168
  supersedesDecisionIds: string[];
2169
2169
  proposedBy: string;
2170
2170
  evidence?: {
2171
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2172
- label: string;
2173
2171
  id: string;
2172
+ label: string;
2173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2174
  capture: "at_action" | "historical_lookup" | "fixture";
2175
2175
  locator?: string | undefined;
2176
2176
  }[] | undefined;
@@ -2178,15 +2178,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2178
2178
  kind: "correction_approved";
2179
2179
  correctionId: string;
2180
2180
  approvedBy: {
2181
- kind: "agent" | "human";
2182
- label: string;
2183
2181
  id: string;
2182
+ label: string;
2183
+ kind: "agent" | "human";
2184
2184
  };
2185
2185
  note?: string | undefined;
2186
2186
  evidence?: {
2187
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2188
- label: string;
2189
2187
  id: string;
2188
+ label: string;
2189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
2190
  capture: "at_action" | "historical_lookup" | "fixture";
2191
2191
  locator?: string | undefined;
2192
2192
  }[] | undefined;
@@ -2196,9 +2196,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2196
2196
  correctionId: string;
2197
2197
  replacementDecisionId: string;
2198
2198
  evidence?: {
2199
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
- label: string;
2201
2199
  id: string;
2200
+ label: string;
2201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2203
2203
  locator?: string | undefined;
2204
2204
  }[] | undefined;
@@ -2211,9 +2211,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2211
2211
  recallReceiptId: string;
2212
2212
  capturedAtAction: boolean;
2213
2213
  evidence?: {
2214
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2215
- label: string;
2216
2214
  id: string;
2215
+ label: string;
2216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
2217
  capture: "at_action" | "historical_lookup" | "fixture";
2218
2218
  locator?: string | undefined;
2219
2219
  }[] | undefined;
@@ -2226,20 +2226,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2226
2226
  recallReceiptId: string;
2227
2227
  staleDecisionAbsent: boolean;
2228
2228
  evidence?: {
2229
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
- label: string;
2231
2229
  id: string;
2230
+ label: string;
2231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
2232
  capture: "at_action" | "historical_lookup" | "fixture";
2233
2233
  locator?: string | undefined;
2234
2234
  }[] | undefined;
2235
2235
  } | {
2236
- kind: "mission_completed";
2237
2236
  summary: string;
2237
+ kind: "mission_completed";
2238
2238
  outcome: "failed" | "recovered" | "inconclusive";
2239
2239
  evidence?: {
2240
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2241
- label: string;
2242
2240
  id: string;
2241
+ label: string;
2242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
2243
  capture: "at_action" | "historical_lookup" | "fixture";
2244
2244
  locator?: string | undefined;
2245
2245
  }[] | undefined;
@@ -2260,15 +2260,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2260
2260
  locator: z.ZodOptional<z.ZodString>;
2261
2261
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2262
2262
  }, "strict", z.ZodTypeAny, {
2263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2264
- label: string;
2265
2263
  id: string;
2264
+ label: string;
2265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
2266
  capture: "at_action" | "historical_lookup" | "fixture";
2267
2267
  locator?: string | undefined;
2268
2268
  }, {
2269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2270
- label: string;
2271
2269
  id: string;
2270
+ label: string;
2271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
2272
  capture: "at_action" | "historical_lookup" | "fixture";
2273
2273
  locator?: string | undefined;
2274
2274
  }>, "many">>;
@@ -2276,9 +2276,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2276
2276
  kind: "mission_started";
2277
2277
  title: string;
2278
2278
  evidence: {
2279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2280
- label: string;
2281
2279
  id: string;
2280
+ label: string;
2281
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2282
2282
  capture: "at_action" | "historical_lookup" | "fixture";
2283
2283
  locator?: string | undefined;
2284
2284
  }[];
@@ -2290,9 +2290,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2290
2290
  objective: string;
2291
2291
  runMode: "replay" | "fixture" | "live";
2292
2292
  evidence?: {
2293
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2294
- label: string;
2295
2293
  id: string;
2294
+ label: string;
2295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2296
  capture: "at_action" | "historical_lookup" | "fixture";
2297
2297
  locator?: string | undefined;
2298
2298
  }[] | undefined;
@@ -2308,15 +2308,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2308
2308
  locator: z.ZodOptional<z.ZodString>;
2309
2309
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2310
2310
  }, "strict", z.ZodTypeAny, {
2311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
- label: string;
2313
2311
  id: string;
2312
+ label: string;
2313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
2314
  capture: "at_action" | "historical_lookup" | "fixture";
2315
2315
  locator?: string | undefined;
2316
2316
  }, {
2317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
- label: string;
2319
2317
  id: string;
2318
+ label: string;
2319
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2320
  capture: "at_action" | "historical_lookup" | "fixture";
2321
2321
  locator?: string | undefined;
2322
2322
  }>, "many">>;
@@ -2324,32 +2324,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2324
2324
  sessionId: z.ZodString;
2325
2325
  kind: z.ZodLiteral<"agent_status">;
2326
2326
  }, "strict", z.ZodTypeAny, {
2327
- kind: "agent_status";
2328
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2329
2327
  label: string;
2328
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2329
+ kind: "agent_status";
2330
2330
  role: string;
2331
2331
  agentId: string;
2332
2332
  sessionId: string;
2333
2333
  evidence: {
2334
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2335
- label: string;
2336
2334
  id: string;
2335
+ label: string;
2336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
2337
  capture: "at_action" | "historical_lookup" | "fixture";
2338
2338
  locator?: string | undefined;
2339
2339
  }[];
2340
2340
  detail?: string | undefined;
2341
2341
  }, {
2342
- kind: "agent_status";
2343
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2344
2342
  label: string;
2343
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2344
+ kind: "agent_status";
2345
2345
  role: string;
2346
2346
  agentId: string;
2347
2347
  sessionId: string;
2348
2348
  detail?: string | undefined;
2349
2349
  evidence?: {
2350
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2351
- label: string;
2352
2350
  id: string;
2351
+ label: string;
2352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
2353
  capture: "at_action" | "historical_lookup" | "fixture";
2354
2354
  locator?: string | undefined;
2355
2355
  }[] | undefined;
@@ -2363,15 +2363,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2363
2363
  locator: z.ZodOptional<z.ZodString>;
2364
2364
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2365
2365
  }, "strict", z.ZodTypeAny, {
2366
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2367
- label: string;
2368
2366
  id: string;
2367
+ label: string;
2368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
2369
  capture: "at_action" | "historical_lookup" | "fixture";
2370
2370
  locator?: string | undefined;
2371
2371
  }, {
2372
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2373
- label: string;
2374
2372
  id: string;
2373
+ label: string;
2374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2375
  capture: "at_action" | "historical_lookup" | "fixture";
2376
2376
  locator?: string | undefined;
2377
2377
  }>, "many">>;
@@ -2379,28 +2379,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2379
2379
  sessionId: z.ZodString;
2380
2380
  kind: z.ZodLiteral<"agent_output">;
2381
2381
  }, "strict", z.ZodTypeAny, {
2382
- kind: "agent_output";
2383
2382
  summary: string;
2383
+ kind: "agent_output";
2384
2384
  agentId: string;
2385
2385
  sessionId: string;
2386
2386
  evidence: {
2387
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2388
- label: string;
2389
2387
  id: string;
2388
+ label: string;
2389
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2390
  capture: "at_action" | "historical_lookup" | "fixture";
2391
2391
  locator?: string | undefined;
2392
2392
  }[];
2393
2393
  outputId: string;
2394
2394
  }, {
2395
- kind: "agent_output";
2396
2395
  summary: string;
2396
+ kind: "agent_output";
2397
2397
  agentId: string;
2398
2398
  sessionId: string;
2399
2399
  outputId: string;
2400
2400
  evidence?: {
2401
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2402
- label: string;
2403
2401
  id: string;
2402
+ label: string;
2403
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
2404
  capture: "at_action" | "historical_lookup" | "fixture";
2405
2405
  locator?: string | undefined;
2406
2406
  }[] | undefined;
@@ -2416,15 +2416,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2416
2416
  locator: z.ZodOptional<z.ZodString>;
2417
2417
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2418
2418
  }, "strict", z.ZodTypeAny, {
2419
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2420
- label: string;
2421
2419
  id: string;
2420
+ label: string;
2421
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
2422
  capture: "at_action" | "historical_lookup" | "fixture";
2423
2423
  locator?: string | undefined;
2424
2424
  }, {
2425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2426
- label: string;
2427
2425
  id: string;
2426
+ label: string;
2427
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
2428
  capture: "at_action" | "historical_lookup" | "fixture";
2429
2429
  locator?: string | undefined;
2430
2430
  }>, "many">>;
@@ -2437,9 +2437,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2437
2437
  statement: string;
2438
2438
  sessionId: string;
2439
2439
  evidence: {
2440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2441
- label: string;
2442
2440
  id: string;
2441
+ label: string;
2442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2443
2443
  capture: "at_action" | "historical_lookup" | "fixture";
2444
2444
  locator?: string | undefined;
2445
2445
  }[];
@@ -2455,9 +2455,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2455
2455
  decisionId: string;
2456
2456
  confidence?: number | undefined;
2457
2457
  evidence?: {
2458
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2459
- label: string;
2460
2458
  id: string;
2459
+ label: string;
2460
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
2461
  capture: "at_action" | "historical_lookup" | "fixture";
2462
2462
  locator?: string | undefined;
2463
2463
  }[] | undefined;
@@ -2474,25 +2474,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2474
2474
  locator: z.ZodOptional<z.ZodString>;
2475
2475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2476
2476
  }, "strict", z.ZodTypeAny, {
2477
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2478
- label: string;
2479
2477
  id: string;
2478
+ label: string;
2479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
2480
  capture: "at_action" | "historical_lookup" | "fixture";
2481
2481
  locator?: string | undefined;
2482
2482
  }, {
2483
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2484
- label: string;
2485
2483
  id: string;
2484
+ label: string;
2485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2486
  capture: "at_action" | "historical_lookup" | "fixture";
2487
2487
  locator?: string | undefined;
2488
2488
  }>, "many">>;
2489
2489
  }, "strict", z.ZodTypeAny, {
2490
- kind: "conflict_detected";
2491
2490
  summary: string;
2491
+ kind: "conflict_detected";
2492
2492
  evidence: {
2493
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2494
- label: string;
2495
2493
  id: string;
2494
+ label: string;
2495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
2496
  capture: "at_action" | "historical_lookup" | "fixture";
2497
2497
  locator?: string | undefined;
2498
2498
  }[];
@@ -2500,15 +2500,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2500
2500
  decisionIds: string[];
2501
2501
  agentIds: string[];
2502
2502
  }, {
2503
- kind: "conflict_detected";
2504
2503
  summary: string;
2504
+ kind: "conflict_detected";
2505
2505
  conflictId: string;
2506
2506
  decisionIds: string[];
2507
2507
  agentIds: string[];
2508
2508
  evidence?: {
2509
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2510
- label: string;
2511
2509
  id: string;
2510
+ label: string;
2511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2512
2512
  capture: "at_action" | "historical_lookup" | "fixture";
2513
2513
  locator?: string | undefined;
2514
2514
  }[] | undefined;
@@ -2528,27 +2528,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2528
2528
  locator: z.ZodOptional<z.ZodString>;
2529
2529
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2530
2530
  }, "strict", z.ZodTypeAny, {
2531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2532
- label: string;
2533
2531
  id: string;
2532
+ label: string;
2533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
2534
  capture: "at_action" | "historical_lookup" | "fixture";
2535
2535
  locator?: string | undefined;
2536
2536
  }, {
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
  }>, "many">>;
2543
2543
  }, "strict", z.ZodTypeAny, {
2544
- kind: "test_result";
2545
2544
  summary: string;
2546
2545
  status: "error" | "failed" | "passed";
2546
+ kind: "test_result";
2547
2547
  command: string;
2548
2548
  evidence: {
2549
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2550
- label: string;
2551
2549
  id: string;
2550
+ label: string;
2551
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
2552
  capture: "at_action" | "historical_lookup" | "fixture";
2553
2553
  locator?: string | undefined;
2554
2554
  }[];
@@ -2557,17 +2557,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2557
2557
  durationMs?: number | undefined;
2558
2558
  correctionId?: string | undefined;
2559
2559
  }, {
2560
- kind: "test_result";
2561
2560
  summary: string;
2562
2561
  status: "error" | "failed" | "passed";
2562
+ kind: "test_result";
2563
2563
  command: string;
2564
2564
  decisionId: string;
2565
2565
  testId: string;
2566
2566
  durationMs?: number | undefined;
2567
2567
  evidence?: {
2568
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2569
- label: string;
2570
2568
  id: string;
2569
+ label: string;
2570
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2571
2571
  capture: "at_action" | "historical_lookup" | "fixture";
2572
2572
  locator?: string | undefined;
2573
2573
  }[] | undefined;
@@ -2588,15 +2588,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2588
2588
  locator: z.ZodOptional<z.ZodString>;
2589
2589
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2590
2590
  }, "strict", z.ZodTypeAny, {
2591
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
- label: string;
2593
2591
  id: string;
2592
+ label: string;
2593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
2594
  capture: "at_action" | "historical_lookup" | "fixture";
2595
2595
  locator?: string | undefined;
2596
2596
  }, {
2597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
- label: string;
2599
2597
  id: string;
2598
+ label: string;
2599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2601
  locator?: string | undefined;
2602
2602
  }>, "many">>;
@@ -2605,9 +2605,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2605
2605
  statement: string;
2606
2606
  rationale: string;
2607
2607
  evidence: {
2608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2609
- label: string;
2610
2608
  id: string;
2609
+ label: string;
2610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2611
  capture: "at_action" | "historical_lookup" | "fixture";
2612
2612
  locator?: string | undefined;
2613
2613
  }[];
@@ -2626,9 +2626,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2626
2626
  supersedesDecisionIds: string[];
2627
2627
  proposedBy: string;
2628
2628
  evidence?: {
2629
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2630
- label: string;
2631
2629
  id: string;
2630
+ label: string;
2631
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
2632
  capture: "at_action" | "historical_lookup" | "fixture";
2633
2633
  locator?: string | undefined;
2634
2634
  }[] | undefined;
@@ -2640,13 +2640,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2640
2640
  id: z.ZodString;
2641
2641
  label: z.ZodString;
2642
2642
  }, "strict", z.ZodTypeAny, {
2643
- kind: "agent" | "human";
2644
- label: string;
2645
2643
  id: string;
2646
- }, {
2647
- kind: "agent" | "human";
2648
2644
  label: string;
2645
+ kind: "agent" | "human";
2646
+ }, {
2649
2647
  id: string;
2648
+ label: string;
2649
+ kind: "agent" | "human";
2650
2650
  }>;
2651
2651
  note: z.ZodOptional<z.ZodString>;
2652
2652
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2656,47 +2656,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2656
2656
  locator: z.ZodOptional<z.ZodString>;
2657
2657
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2658
2658
  }, "strict", z.ZodTypeAny, {
2659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2660
- label: string;
2661
2659
  id: string;
2660
+ label: string;
2661
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2662
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2663
2663
  locator?: string | undefined;
2664
2664
  }, {
2665
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2666
- label: string;
2667
2665
  id: string;
2666
+ label: string;
2667
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
2668
  capture: "at_action" | "historical_lookup" | "fixture";
2669
2669
  locator?: string | undefined;
2670
2670
  }>, "many">>;
2671
2671
  }, "strict", z.ZodTypeAny, {
2672
2672
  kind: "correction_approved";
2673
2673
  evidence: {
2674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2675
- label: string;
2676
2674
  id: string;
2675
+ label: string;
2676
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
2677
  capture: "at_action" | "historical_lookup" | "fixture";
2678
2678
  locator?: string | undefined;
2679
2679
  }[];
2680
2680
  correctionId: string;
2681
2681
  approvedBy: {
2682
- kind: "agent" | "human";
2683
- label: string;
2684
2682
  id: string;
2683
+ label: string;
2684
+ kind: "agent" | "human";
2685
2685
  };
2686
2686
  note?: string | undefined;
2687
2687
  }, {
2688
2688
  kind: "correction_approved";
2689
2689
  correctionId: string;
2690
2690
  approvedBy: {
2691
- kind: "agent" | "human";
2692
- label: string;
2693
2691
  id: string;
2692
+ label: string;
2693
+ kind: "agent" | "human";
2694
2694
  };
2695
2695
  note?: string | undefined;
2696
2696
  evidence?: {
2697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2698
- label: string;
2699
2697
  id: string;
2698
+ label: string;
2699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2700
  capture: "at_action" | "historical_lookup" | "fixture";
2701
2701
  locator?: string | undefined;
2702
2702
  }[] | undefined;
@@ -2712,24 +2712,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2712
2712
  locator: z.ZodOptional<z.ZodString>;
2713
2713
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2714
2714
  }, "strict", z.ZodTypeAny, {
2715
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
- label: string;
2717
2715
  id: string;
2716
+ label: string;
2717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2719
2719
  locator?: string | undefined;
2720
2720
  }, {
2721
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2722
- label: string;
2723
2721
  id: string;
2722
+ label: string;
2723
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
2724
  capture: "at_action" | "historical_lookup" | "fixture";
2725
2725
  locator?: string | undefined;
2726
2726
  }>, "many">>;
2727
2727
  }, "strict", z.ZodTypeAny, {
2728
2728
  kind: "decision_superseded";
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
  }[];
@@ -2742,9 +2742,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2742
2742
  correctionId: string;
2743
2743
  replacementDecisionId: string;
2744
2744
  evidence?: {
2745
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2746
- label: string;
2747
2745
  id: string;
2746
+ label: string;
2747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2749
2749
  locator?: string | undefined;
2750
2750
  }[] | undefined;
@@ -2760,15 +2760,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2760
2760
  locator: z.ZodOptional<z.ZodString>;
2761
2761
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2762
2762
  }, "strict", z.ZodTypeAny, {
2763
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
- label: string;
2765
2763
  id: string;
2764
+ label: string;
2765
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
2766
  capture: "at_action" | "historical_lookup" | "fixture";
2767
2767
  locator?: string | undefined;
2768
2768
  }, {
2769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2770
- label: string;
2771
2769
  id: string;
2770
+ label: string;
2771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
2772
  capture: "at_action" | "historical_lookup" | "fixture";
2773
2773
  locator?: string | undefined;
2774
2774
  }>, "many">>;
@@ -2781,9 +2781,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2781
2781
  agentId: string;
2782
2782
  sessionId: string;
2783
2783
  evidence: {
2784
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2785
- label: string;
2786
2784
  id: string;
2785
+ label: string;
2786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2787
2787
  capture: "at_action" | "historical_lookup" | "fixture";
2788
2788
  locator?: string | undefined;
2789
2789
  }[];
@@ -2799,9 +2799,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2799
2799
  recallReceiptId: string;
2800
2800
  capturedAtAction: boolean;
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;
@@ -2817,15 +2817,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2817
2817
  locator: z.ZodOptional<z.ZodString>;
2818
2818
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2819
2819
  }, "strict", z.ZodTypeAny, {
2820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
- label: string;
2822
2820
  id: string;
2821
+ label: string;
2822
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2823
  capture: "at_action" | "historical_lookup" | "fixture";
2824
2824
  locator?: string | undefined;
2825
2825
  }, {
2826
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2827
- label: string;
2828
2826
  id: string;
2827
+ label: string;
2828
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
2829
  capture: "at_action" | "historical_lookup" | "fixture";
2830
2830
  locator?: string | undefined;
2831
2831
  }>, "many">>;
@@ -2837,9 +2837,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2837
2837
  agentId: string;
2838
2838
  sessionId: string;
2839
2839
  evidence: {
2840
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2841
- label: string;
2842
2840
  id: string;
2841
+ label: string;
2842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2843
2843
  capture: "at_action" | "historical_lookup" | "fixture";
2844
2844
  locator?: string | undefined;
2845
2845
  }[];
@@ -2856,9 +2856,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2856
2856
  recallReceiptId: string;
2857
2857
  staleDecisionAbsent: boolean;
2858
2858
  evidence?: {
2859
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2860
- label: string;
2861
2859
  id: string;
2860
+ label: string;
2861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
2862
  capture: "at_action" | "historical_lookup" | "fixture";
2863
2863
  locator?: string | undefined;
2864
2864
  }[] | undefined;
@@ -2873,37 +2873,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2873
2873
  locator: z.ZodOptional<z.ZodString>;
2874
2874
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2875
2875
  }, "strict", z.ZodTypeAny, {
2876
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2877
- label: string;
2878
2876
  id: string;
2877
+ label: string;
2878
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2879
2879
  capture: "at_action" | "historical_lookup" | "fixture";
2880
2880
  locator?: string | undefined;
2881
2881
  }, {
2882
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2883
- label: string;
2884
2882
  id: string;
2883
+ label: string;
2884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2885
2885
  capture: "at_action" | "historical_lookup" | "fixture";
2886
2886
  locator?: string | undefined;
2887
2887
  }>, "many">>;
2888
2888
  }, "strict", z.ZodTypeAny, {
2889
- kind: "mission_completed";
2890
2889
  summary: string;
2890
+ kind: "mission_completed";
2891
2891
  outcome: "failed" | "recovered" | "inconclusive";
2892
2892
  evidence: {
2893
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2894
- label: string;
2895
2893
  id: string;
2894
+ label: string;
2895
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
2896
  capture: "at_action" | "historical_lookup" | "fixture";
2897
2897
  locator?: string | undefined;
2898
2898
  }[];
2899
2899
  }, {
2900
- kind: "mission_completed";
2901
2900
  summary: string;
2901
+ kind: "mission_completed";
2902
2902
  outcome: "failed" | "recovered" | "inconclusive";
2903
2903
  evidence?: {
2904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
- label: string;
2906
2904
  id: string;
2905
+ label: string;
2906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
2907
  capture: "at_action" | "historical_lookup" | "fixture";
2908
2908
  locator?: string | undefined;
2909
2909
  }[] | undefined;
@@ -2911,38 +2911,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2911
2911
  kind: "mission_started";
2912
2912
  title: string;
2913
2913
  evidence: {
2914
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2915
- label: string;
2916
2914
  id: string;
2915
+ label: string;
2916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2917
  capture: "at_action" | "historical_lookup" | "fixture";
2918
2918
  locator?: string | undefined;
2919
2919
  }[];
2920
2920
  objective: string;
2921
2921
  runMode: "replay" | "fixture" | "live";
2922
2922
  } | {
2923
- kind: "agent_status";
2924
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2925
2923
  label: string;
2924
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2925
+ kind: "agent_status";
2926
2926
  role: string;
2927
2927
  agentId: string;
2928
2928
  sessionId: string;
2929
2929
  evidence: {
2930
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2931
- label: string;
2932
2930
  id: string;
2931
+ label: string;
2932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
2933
  capture: "at_action" | "historical_lookup" | "fixture";
2934
2934
  locator?: string | undefined;
2935
2935
  }[];
2936
2936
  detail?: string | undefined;
2937
2937
  } | {
2938
- kind: "agent_output";
2939
2938
  summary: string;
2939
+ kind: "agent_output";
2940
2940
  agentId: string;
2941
2941
  sessionId: string;
2942
2942
  evidence: {
2943
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2944
- label: string;
2945
2943
  id: string;
2944
+ label: string;
2945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
2946
  capture: "at_action" | "historical_lookup" | "fixture";
2947
2947
  locator?: string | undefined;
2948
2948
  }[];
@@ -2953,9 +2953,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2953
2953
  statement: string;
2954
2954
  sessionId: string;
2955
2955
  evidence: {
2956
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2957
- label: string;
2958
2956
  id: string;
2957
+ label: string;
2958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
2959
  capture: "at_action" | "historical_lookup" | "fixture";
2960
2960
  locator?: string | undefined;
2961
2961
  }[];
@@ -2963,12 +2963,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2963
2963
  decisionId: string;
2964
2964
  confidence?: number | undefined;
2965
2965
  } | {
2966
- kind: "conflict_detected";
2967
2966
  summary: string;
2967
+ kind: "conflict_detected";
2968
2968
  evidence: {
2969
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2970
- label: string;
2971
2969
  id: string;
2970
+ label: string;
2971
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
2972
  capture: "at_action" | "historical_lookup" | "fixture";
2973
2973
  locator?: string | undefined;
2974
2974
  }[];
@@ -2976,14 +2976,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2976
2976
  decisionIds: string[];
2977
2977
  agentIds: string[];
2978
2978
  } | {
2979
- kind: "test_result";
2980
2979
  summary: string;
2981
2980
  status: "error" | "failed" | "passed";
2981
+ kind: "test_result";
2982
2982
  command: string;
2983
2983
  evidence: {
2984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2985
- label: string;
2986
2984
  id: string;
2985
+ label: string;
2986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
2987
  capture: "at_action" | "historical_lookup" | "fixture";
2988
2988
  locator?: string | undefined;
2989
2989
  }[];
@@ -2996,9 +2996,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2996
2996
  statement: string;
2997
2997
  rationale: string;
2998
2998
  evidence: {
2999
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3000
- label: string;
3001
2999
  id: string;
3000
+ label: string;
3001
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3002
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3003
3003
  locator?: string | undefined;
3004
3004
  }[];
@@ -3010,25 +3010,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3010
3010
  } | {
3011
3011
  kind: "correction_approved";
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
  }[];
3019
3019
  correctionId: string;
3020
3020
  approvedBy: {
3021
- kind: "agent" | "human";
3022
- label: string;
3023
3021
  id: string;
3022
+ label: string;
3023
+ kind: "agent" | "human";
3024
3024
  };
3025
3025
  note?: string | undefined;
3026
3026
  } | {
3027
3027
  kind: "decision_superseded";
3028
3028
  evidence: {
3029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3030
- label: string;
3031
3029
  id: string;
3030
+ label: string;
3031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
3032
  capture: "at_action" | "historical_lookup" | "fixture";
3033
3033
  locator?: string | undefined;
3034
3034
  }[];
@@ -3041,9 +3041,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3041
3041
  agentId: string;
3042
3042
  sessionId: string;
3043
3043
  evidence: {
3044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3045
- label: string;
3046
3044
  id: string;
3045
+ label: string;
3046
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3048
  locator?: string | undefined;
3049
3049
  }[];
@@ -3055,9 +3055,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3055
3055
  agentId: string;
3056
3056
  sessionId: string;
3057
3057
  evidence: {
3058
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
- label: string;
3060
3058
  id: string;
3059
+ label: string;
3060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3061
3061
  capture: "at_action" | "historical_lookup" | "fixture";
3062
3062
  locator?: string | undefined;
3063
3063
  }[];
@@ -3066,13 +3066,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3066
3066
  recallReceiptId: string;
3067
3067
  staleDecisionAbsent: boolean;
3068
3068
  } | {
3069
- kind: "mission_completed";
3070
3069
  summary: string;
3070
+ kind: "mission_completed";
3071
3071
  outcome: "failed" | "recovered" | "inconclusive";
3072
3072
  evidence: {
3073
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3074
- label: string;
3075
3073
  id: string;
3074
+ label: string;
3075
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3076
3076
  capture: "at_action" | "historical_lookup" | "fixture";
3077
3077
  locator?: string | undefined;
3078
3078
  }[];
@@ -3082,37 +3082,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3082
3082
  objective: string;
3083
3083
  runMode: "replay" | "fixture" | "live";
3084
3084
  evidence?: {
3085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
- label: string;
3087
3085
  id: string;
3086
+ label: string;
3087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3089
3089
  locator?: string | undefined;
3090
3090
  }[] | undefined;
3091
3091
  } | {
3092
- kind: "agent_status";
3093
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3094
3092
  label: string;
3093
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3094
+ kind: "agent_status";
3095
3095
  role: string;
3096
3096
  agentId: string;
3097
3097
  sessionId: string;
3098
3098
  detail?: string | undefined;
3099
3099
  evidence?: {
3100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
- label: string;
3102
3100
  id: string;
3101
+ label: string;
3102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3104
3104
  locator?: string | undefined;
3105
3105
  }[] | undefined;
3106
3106
  } | {
3107
- kind: "agent_output";
3108
3107
  summary: string;
3108
+ kind: "agent_output";
3109
3109
  agentId: string;
3110
3110
  sessionId: string;
3111
3111
  outputId: string;
3112
3112
  evidence?: {
3113
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3114
- label: string;
3115
3113
  id: string;
3114
+ label: string;
3115
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3116
  capture: "at_action" | "historical_lookup" | "fixture";
3117
3117
  locator?: string | undefined;
3118
3118
  }[] | undefined;
@@ -3125,37 +3125,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3125
3125
  decisionId: string;
3126
3126
  confidence?: number | undefined;
3127
3127
  evidence?: {
3128
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
- label: string;
3130
3128
  id: string;
3129
+ label: string;
3130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
3131
  capture: "at_action" | "historical_lookup" | "fixture";
3132
3132
  locator?: string | undefined;
3133
3133
  }[] | undefined;
3134
3134
  } | {
3135
- kind: "conflict_detected";
3136
3135
  summary: string;
3136
+ kind: "conflict_detected";
3137
3137
  conflictId: string;
3138
3138
  decisionIds: string[];
3139
3139
  agentIds: string[];
3140
3140
  evidence?: {
3141
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3142
- label: string;
3143
3141
  id: string;
3142
+ label: string;
3143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3144
3144
  capture: "at_action" | "historical_lookup" | "fixture";
3145
3145
  locator?: string | undefined;
3146
3146
  }[] | undefined;
3147
3147
  } | {
3148
- kind: "test_result";
3149
3148
  summary: string;
3150
3149
  status: "error" | "failed" | "passed";
3150
+ kind: "test_result";
3151
3151
  command: string;
3152
3152
  decisionId: string;
3153
3153
  testId: string;
3154
3154
  durationMs?: number | undefined;
3155
3155
  evidence?: {
3156
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3157
- label: string;
3158
3156
  id: string;
3157
+ label: string;
3158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3159
3159
  capture: "at_action" | "historical_lookup" | "fixture";
3160
3160
  locator?: string | undefined;
3161
3161
  }[] | undefined;
@@ -3170,9 +3170,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3170
3170
  supersedesDecisionIds: string[];
3171
3171
  proposedBy: string;
3172
3172
  evidence?: {
3173
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3174
- label: string;
3175
3173
  id: string;
3174
+ label: string;
3175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
3176
  capture: "at_action" | "historical_lookup" | "fixture";
3177
3177
  locator?: string | undefined;
3178
3178
  }[] | undefined;
@@ -3180,15 +3180,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3180
3180
  kind: "correction_approved";
3181
3181
  correctionId: string;
3182
3182
  approvedBy: {
3183
- kind: "agent" | "human";
3184
- label: string;
3185
3183
  id: string;
3184
+ label: string;
3185
+ kind: "agent" | "human";
3186
3186
  };
3187
3187
  note?: string | 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;
@@ -3198,9 +3198,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3198
3198
  correctionId: string;
3199
3199
  replacementDecisionId: string;
3200
3200
  evidence?: {
3201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
- label: string;
3203
3201
  id: string;
3202
+ label: string;
3203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3205
3205
  locator?: string | undefined;
3206
3206
  }[] | undefined;
@@ -3213,9 +3213,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3213
3213
  recallReceiptId: string;
3214
3214
  capturedAtAction: boolean;
3215
3215
  evidence?: {
3216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
- label: string;
3218
3216
  id: string;
3217
+ label: string;
3218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3219
  capture: "at_action" | "historical_lookup" | "fixture";
3220
3220
  locator?: string | undefined;
3221
3221
  }[] | undefined;
@@ -3228,20 +3228,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3228
3228
  recallReceiptId: string;
3229
3229
  staleDecisionAbsent: boolean;
3230
3230
  evidence?: {
3231
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3232
- label: string;
3233
3231
  id: string;
3232
+ label: string;
3233
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
3234
  capture: "at_action" | "historical_lookup" | "fixture";
3235
3235
  locator?: string | undefined;
3236
3236
  }[] | undefined;
3237
3237
  } | {
3238
- kind: "mission_completed";
3239
3238
  summary: string;
3239
+ kind: "mission_completed";
3240
3240
  outcome: "failed" | "recovered" | "inconclusive";
3241
3241
  evidence?: {
3242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3243
- label: string;
3244
3242
  id: string;
3243
+ label: string;
3244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
3245
  capture: "at_action" | "historical_lookup" | "fixture";
3246
3246
  locator?: string | undefined;
3247
3247
  }[] | undefined;
@@ -3251,38 +3251,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3251
3251
  kind: "mission_started";
3252
3252
  title: string;
3253
3253
  evidence: {
3254
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3255
- label: string;
3256
3254
  id: string;
3255
+ label: string;
3256
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3257
3257
  capture: "at_action" | "historical_lookup" | "fixture";
3258
3258
  locator?: string | undefined;
3259
3259
  }[];
3260
3260
  objective: string;
3261
3261
  runMode: "replay" | "fixture" | "live";
3262
3262
  } | {
3263
- kind: "agent_status";
3264
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3265
3263
  label: string;
3264
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3265
+ kind: "agent_status";
3266
3266
  role: string;
3267
3267
  agentId: string;
3268
3268
  sessionId: string;
3269
3269
  evidence: {
3270
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3271
- label: string;
3272
3270
  id: string;
3271
+ label: string;
3272
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3273
3273
  capture: "at_action" | "historical_lookup" | "fixture";
3274
3274
  locator?: string | undefined;
3275
3275
  }[];
3276
3276
  detail?: string | undefined;
3277
3277
  } | {
3278
- kind: "agent_output";
3279
3278
  summary: string;
3279
+ kind: "agent_output";
3280
3280
  agentId: string;
3281
3281
  sessionId: string;
3282
3282
  evidence: {
3283
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3284
- label: string;
3285
3283
  id: string;
3284
+ label: string;
3285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
3286
  capture: "at_action" | "historical_lookup" | "fixture";
3287
3287
  locator?: string | undefined;
3288
3288
  }[];
@@ -3293,9 +3293,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3293
3293
  statement: string;
3294
3294
  sessionId: string;
3295
3295
  evidence: {
3296
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3297
- label: string;
3298
3296
  id: string;
3297
+ label: string;
3298
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3299
3299
  capture: "at_action" | "historical_lookup" | "fixture";
3300
3300
  locator?: string | undefined;
3301
3301
  }[];
@@ -3303,12 +3303,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3303
3303
  decisionId: string;
3304
3304
  confidence?: number | undefined;
3305
3305
  } | {
3306
- kind: "conflict_detected";
3307
3306
  summary: string;
3307
+ kind: "conflict_detected";
3308
3308
  evidence: {
3309
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3310
- label: string;
3311
3309
  id: string;
3310
+ label: string;
3311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3312
3312
  capture: "at_action" | "historical_lookup" | "fixture";
3313
3313
  locator?: string | undefined;
3314
3314
  }[];
@@ -3316,14 +3316,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3316
3316
  decisionIds: string[];
3317
3317
  agentIds: string[];
3318
3318
  } | {
3319
- kind: "test_result";
3320
3319
  summary: string;
3321
3320
  status: "error" | "failed" | "passed";
3321
+ kind: "test_result";
3322
3322
  command: string;
3323
3323
  evidence: {
3324
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3325
- label: string;
3326
3324
  id: string;
3325
+ label: string;
3326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3327
  capture: "at_action" | "historical_lookup" | "fixture";
3328
3328
  locator?: string | undefined;
3329
3329
  }[];
@@ -3336,9 +3336,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3336
3336
  statement: string;
3337
3337
  rationale: string;
3338
3338
  evidence: {
3339
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3340
- label: string;
3341
3339
  id: string;
3340
+ label: string;
3341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
3342
  capture: "at_action" | "historical_lookup" | "fixture";
3343
3343
  locator?: string | undefined;
3344
3344
  }[];
@@ -3350,25 +3350,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3350
3350
  } | {
3351
3351
  kind: "correction_approved";
3352
3352
  evidence: {
3353
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3354
- label: string;
3355
3353
  id: string;
3354
+ label: string;
3355
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
3356
  capture: "at_action" | "historical_lookup" | "fixture";
3357
3357
  locator?: string | undefined;
3358
3358
  }[];
3359
3359
  correctionId: string;
3360
3360
  approvedBy: {
3361
- kind: "agent" | "human";
3362
- label: string;
3363
3361
  id: string;
3362
+ label: string;
3363
+ kind: "agent" | "human";
3364
3364
  };
3365
3365
  note?: string | undefined;
3366
3366
  } | {
3367
3367
  kind: "decision_superseded";
3368
3368
  evidence: {
3369
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3370
- label: string;
3371
3369
  id: string;
3370
+ label: string;
3371
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
3372
  capture: "at_action" | "historical_lookup" | "fixture";
3373
3373
  locator?: string | undefined;
3374
3374
  }[];
@@ -3381,9 +3381,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3381
3381
  agentId: string;
3382
3382
  sessionId: string;
3383
3383
  evidence: {
3384
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3385
- label: string;
3386
3384
  id: string;
3385
+ label: string;
3386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3388
  locator?: string | undefined;
3389
3389
  }[];
@@ -3395,9 +3395,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3395
3395
  agentId: string;
3396
3396
  sessionId: string;
3397
3397
  evidence: {
3398
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3399
- label: string;
3400
3398
  id: string;
3399
+ label: string;
3400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3401
3401
  capture: "at_action" | "historical_lookup" | "fixture";
3402
3402
  locator?: string | undefined;
3403
3403
  }[];
@@ -3406,13 +3406,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3406
3406
  recallReceiptId: string;
3407
3407
  staleDecisionAbsent: boolean;
3408
3408
  } | {
3409
- kind: "mission_completed";
3410
3409
  summary: string;
3410
+ kind: "mission_completed";
3411
3411
  outcome: "failed" | "recovered" | "inconclusive";
3412
3412
  evidence: {
3413
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3414
- label: string;
3415
3413
  id: string;
3414
+ label: string;
3415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3416
  capture: "at_action" | "historical_lookup" | "fixture";
3417
3417
  locator?: string | undefined;
3418
3418
  }[];
@@ -3426,37 +3426,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3426
3426
  objective: string;
3427
3427
  runMode: "replay" | "fixture" | "live";
3428
3428
  evidence?: {
3429
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3430
- label: string;
3431
3429
  id: string;
3430
+ label: string;
3431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3432
3432
  capture: "at_action" | "historical_lookup" | "fixture";
3433
3433
  locator?: string | undefined;
3434
3434
  }[] | undefined;
3435
3435
  } | {
3436
- kind: "agent_status";
3437
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3438
3436
  label: string;
3437
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3438
+ kind: "agent_status";
3439
3439
  role: string;
3440
3440
  agentId: string;
3441
3441
  sessionId: string;
3442
3442
  detail?: string | undefined;
3443
3443
  evidence?: {
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
  }[] | undefined;
3450
3450
  } | {
3451
- kind: "agent_output";
3452
3451
  summary: string;
3452
+ kind: "agent_output";
3453
3453
  agentId: string;
3454
3454
  sessionId: string;
3455
3455
  outputId: string;
3456
3456
  evidence?: {
3457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
- label: string;
3459
3457
  id: string;
3458
+ label: string;
3459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3460
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3461
  locator?: string | undefined;
3462
3462
  }[] | undefined;
@@ -3469,37 +3469,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3469
3469
  decisionId: string;
3470
3470
  confidence?: number | undefined;
3471
3471
  evidence?: {
3472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
- label: string;
3474
3472
  id: string;
3473
+ label: string;
3474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3476
3476
  locator?: string | undefined;
3477
3477
  }[] | undefined;
3478
3478
  } | {
3479
- kind: "conflict_detected";
3480
3479
  summary: string;
3480
+ kind: "conflict_detected";
3481
3481
  conflictId: string;
3482
3482
  decisionIds: string[];
3483
3483
  agentIds: string[];
3484
3484
  evidence?: {
3485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3486
- label: string;
3487
3485
  id: string;
3486
+ label: string;
3487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
3488
  capture: "at_action" | "historical_lookup" | "fixture";
3489
3489
  locator?: string | undefined;
3490
3490
  }[] | undefined;
3491
3491
  } | {
3492
- kind: "test_result";
3493
3492
  summary: string;
3494
3493
  status: "error" | "failed" | "passed";
3494
+ kind: "test_result";
3495
3495
  command: string;
3496
3496
  decisionId: string;
3497
3497
  testId: string;
3498
3498
  durationMs?: number | undefined;
3499
3499
  evidence?: {
3500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3501
- label: string;
3502
3500
  id: string;
3501
+ label: string;
3502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
3503
  capture: "at_action" | "historical_lookup" | "fixture";
3504
3504
  locator?: string | undefined;
3505
3505
  }[] | undefined;
@@ -3514,9 +3514,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3514
3514
  supersedesDecisionIds: string[];
3515
3515
  proposedBy: string;
3516
3516
  evidence?: {
3517
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3518
- label: string;
3519
3517
  id: string;
3518
+ label: string;
3519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
3520
  capture: "at_action" | "historical_lookup" | "fixture";
3521
3521
  locator?: string | undefined;
3522
3522
  }[] | undefined;
@@ -3524,15 +3524,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3524
3524
  kind: "correction_approved";
3525
3525
  correctionId: string;
3526
3526
  approvedBy: {
3527
- kind: "agent" | "human";
3528
- label: string;
3529
3527
  id: string;
3528
+ label: string;
3529
+ kind: "agent" | "human";
3530
3530
  };
3531
3531
  note?: string | undefined;
3532
3532
  evidence?: {
3533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3534
- label: string;
3535
3533
  id: string;
3534
+ label: string;
3535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
3536
  capture: "at_action" | "historical_lookup" | "fixture";
3537
3537
  locator?: string | undefined;
3538
3538
  }[] | undefined;
@@ -3542,9 +3542,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3542
3542
  correctionId: string;
3543
3543
  replacementDecisionId: string;
3544
3544
  evidence?: {
3545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3546
- label: string;
3547
3545
  id: string;
3546
+ label: string;
3547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3549
3549
  locator?: string | undefined;
3550
3550
  }[] | undefined;
@@ -3557,9 +3557,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3557
3557
  recallReceiptId: string;
3558
3558
  capturedAtAction: boolean;
3559
3559
  evidence?: {
3560
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3561
- label: string;
3562
3560
  id: string;
3561
+ label: string;
3562
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
3563
  capture: "at_action" | "historical_lookup" | "fixture";
3564
3564
  locator?: string | undefined;
3565
3565
  }[] | undefined;
@@ -3572,20 +3572,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3572
3572
  recallReceiptId: string;
3573
3573
  staleDecisionAbsent: boolean;
3574
3574
  evidence?: {
3575
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3576
- label: string;
3577
3575
  id: string;
3576
+ label: string;
3577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3578
3578
  capture: "at_action" | "historical_lookup" | "fixture";
3579
3579
  locator?: string | undefined;
3580
3580
  }[] | undefined;
3581
3581
  } | {
3582
- kind: "mission_completed";
3583
3582
  summary: string;
3583
+ kind: "mission_completed";
3584
3584
  outcome: "failed" | "recovered" | "inconclusive";
3585
3585
  evidence?: {
3586
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3587
- label: string;
3588
3586
  id: string;
3587
+ label: string;
3588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
3589
  capture: "at_action" | "historical_lookup" | "fixture";
3590
3590
  locator?: string | undefined;
3591
3591
  }[] | undefined;
@@ -3615,15 +3615,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3615
3615
  locator: z.ZodOptional<z.ZodString>;
3616
3616
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3617
3617
  }, "strict", z.ZodTypeAny, {
3618
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3619
- label: string;
3620
3618
  id: string;
3619
+ label: string;
3620
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
3621
  capture: "at_action" | "historical_lookup" | "fixture";
3622
3622
  locator?: string | undefined;
3623
3623
  }, {
3624
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3625
- label: string;
3626
3624
  id: string;
3625
+ label: string;
3626
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
3627
  capture: "at_action" | "historical_lookup" | "fixture";
3628
3628
  locator?: string | undefined;
3629
3629
  }>, "many">>;
@@ -3631,9 +3631,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3631
3631
  kind: "mission_started";
3632
3632
  title: string;
3633
3633
  evidence: {
3634
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3635
- label: string;
3636
3634
  id: string;
3635
+ label: string;
3636
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
3637
  capture: "at_action" | "historical_lookup" | "fixture";
3638
3638
  locator?: string | undefined;
3639
3639
  }[];
@@ -3645,9 +3645,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3645
3645
  objective: string;
3646
3646
  runMode: "replay" | "fixture" | "live";
3647
3647
  evidence?: {
3648
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3649
- label: string;
3650
3648
  id: string;
3649
+ label: string;
3650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3651
  capture: "at_action" | "historical_lookup" | "fixture";
3652
3652
  locator?: string | undefined;
3653
3653
  }[] | undefined;
@@ -3663,15 +3663,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3663
3663
  locator: z.ZodOptional<z.ZodString>;
3664
3664
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3665
3665
  }, "strict", z.ZodTypeAny, {
3666
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
- label: string;
3668
3666
  id: string;
3667
+ label: string;
3668
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3669
  capture: "at_action" | "historical_lookup" | "fixture";
3670
3670
  locator?: string | undefined;
3671
3671
  }, {
3672
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
- label: string;
3674
3672
  id: string;
3673
+ label: string;
3674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
3675
  capture: "at_action" | "historical_lookup" | "fixture";
3676
3676
  locator?: string | undefined;
3677
3677
  }>, "many">>;
@@ -3679,32 +3679,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3679
3679
  sessionId: z.ZodString;
3680
3680
  kind: z.ZodLiteral<"agent_status">;
3681
3681
  }, "strict", z.ZodTypeAny, {
3682
- kind: "agent_status";
3683
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3684
3682
  label: string;
3683
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3684
+ kind: "agent_status";
3685
3685
  role: string;
3686
3686
  agentId: string;
3687
3687
  sessionId: string;
3688
3688
  evidence: {
3689
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3690
- label: string;
3691
3689
  id: string;
3690
+ label: string;
3691
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3693
3693
  locator?: string | undefined;
3694
3694
  }[];
3695
3695
  detail?: string | undefined;
3696
3696
  }, {
3697
- kind: "agent_status";
3698
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3699
3697
  label: string;
3698
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3699
+ kind: "agent_status";
3700
3700
  role: string;
3701
3701
  agentId: string;
3702
3702
  sessionId: string;
3703
3703
  detail?: string | undefined;
3704
3704
  evidence?: {
3705
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3706
- label: string;
3707
3705
  id: string;
3706
+ label: string;
3707
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
3708
  capture: "at_action" | "historical_lookup" | "fixture";
3709
3709
  locator?: string | undefined;
3710
3710
  }[] | undefined;
@@ -3718,15 +3718,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3718
3718
  locator: z.ZodOptional<z.ZodString>;
3719
3719
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3720
3720
  }, "strict", z.ZodTypeAny, {
3721
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3722
- label: string;
3723
3721
  id: string;
3722
+ label: string;
3723
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
3724
  capture: "at_action" | "historical_lookup" | "fixture";
3725
3725
  locator?: string | undefined;
3726
3726
  }, {
3727
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3728
- label: string;
3729
3727
  id: string;
3728
+ label: string;
3729
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3730
  capture: "at_action" | "historical_lookup" | "fixture";
3731
3731
  locator?: string | undefined;
3732
3732
  }>, "many">>;
@@ -3734,28 +3734,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3734
3734
  sessionId: z.ZodString;
3735
3735
  kind: z.ZodLiteral<"agent_output">;
3736
3736
  }, "strict", z.ZodTypeAny, {
3737
- kind: "agent_output";
3738
3737
  summary: string;
3738
+ kind: "agent_output";
3739
3739
  agentId: string;
3740
3740
  sessionId: string;
3741
3741
  evidence: {
3742
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3743
- label: string;
3744
3742
  id: string;
3743
+ label: string;
3744
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3745
  capture: "at_action" | "historical_lookup" | "fixture";
3746
3746
  locator?: string | undefined;
3747
3747
  }[];
3748
3748
  outputId: string;
3749
3749
  }, {
3750
- kind: "agent_output";
3751
3750
  summary: string;
3751
+ kind: "agent_output";
3752
3752
  agentId: string;
3753
3753
  sessionId: string;
3754
3754
  outputId: string;
3755
3755
  evidence?: {
3756
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3757
- label: string;
3758
3756
  id: string;
3757
+ label: string;
3758
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
3759
  capture: "at_action" | "historical_lookup" | "fixture";
3760
3760
  locator?: string | undefined;
3761
3761
  }[] | undefined;
@@ -3771,15 +3771,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3771
3771
  locator: z.ZodOptional<z.ZodString>;
3772
3772
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3773
3773
  }, "strict", z.ZodTypeAny, {
3774
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3775
- label: string;
3776
3774
  id: string;
3775
+ label: string;
3776
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
3777
  capture: "at_action" | "historical_lookup" | "fixture";
3778
3778
  locator?: string | undefined;
3779
3779
  }, {
3780
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3781
- label: string;
3782
3780
  id: string;
3781
+ label: string;
3782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
3783
  capture: "at_action" | "historical_lookup" | "fixture";
3784
3784
  locator?: string | undefined;
3785
3785
  }>, "many">>;
@@ -3792,9 +3792,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3792
3792
  statement: string;
3793
3793
  sessionId: string;
3794
3794
  evidence: {
3795
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3796
- label: string;
3797
3795
  id: string;
3796
+ label: string;
3797
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3798
3798
  capture: "at_action" | "historical_lookup" | "fixture";
3799
3799
  locator?: string | undefined;
3800
3800
  }[];
@@ -3810,9 +3810,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3810
3810
  decisionId: string;
3811
3811
  confidence?: number | undefined;
3812
3812
  evidence?: {
3813
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3814
- label: string;
3815
3813
  id: string;
3814
+ label: string;
3815
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
3816
  capture: "at_action" | "historical_lookup" | "fixture";
3817
3817
  locator?: string | undefined;
3818
3818
  }[] | undefined;
@@ -3829,25 +3829,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3829
3829
  locator: z.ZodOptional<z.ZodString>;
3830
3830
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3831
3831
  }, "strict", z.ZodTypeAny, {
3832
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3833
- label: string;
3834
3832
  id: string;
3833
+ label: string;
3834
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
3835
  capture: "at_action" | "historical_lookup" | "fixture";
3836
3836
  locator?: string | undefined;
3837
3837
  }, {
3838
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3839
- label: string;
3840
3838
  id: string;
3839
+ label: string;
3840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3841
  capture: "at_action" | "historical_lookup" | "fixture";
3842
3842
  locator?: string | undefined;
3843
3843
  }>, "many">>;
3844
3844
  }, "strict", z.ZodTypeAny, {
3845
- kind: "conflict_detected";
3846
3845
  summary: string;
3846
+ kind: "conflict_detected";
3847
3847
  evidence: {
3848
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3849
- label: string;
3850
3848
  id: string;
3849
+ label: string;
3850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
3851
  capture: "at_action" | "historical_lookup" | "fixture";
3852
3852
  locator?: string | undefined;
3853
3853
  }[];
@@ -3855,15 +3855,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3855
3855
  decisionIds: string[];
3856
3856
  agentIds: string[];
3857
3857
  }, {
3858
- kind: "conflict_detected";
3859
3858
  summary: string;
3859
+ kind: "conflict_detected";
3860
3860
  conflictId: string;
3861
3861
  decisionIds: string[];
3862
3862
  agentIds: string[];
3863
3863
  evidence?: {
3864
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3865
- label: string;
3866
3864
  id: string;
3865
+ label: string;
3866
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3867
3867
  capture: "at_action" | "historical_lookup" | "fixture";
3868
3868
  locator?: string | undefined;
3869
3869
  }[] | undefined;
@@ -3883,27 +3883,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3883
3883
  locator: z.ZodOptional<z.ZodString>;
3884
3884
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3885
3885
  }, "strict", z.ZodTypeAny, {
3886
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3887
- label: string;
3888
3886
  id: string;
3887
+ label: string;
3888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
3889
  capture: "at_action" | "historical_lookup" | "fixture";
3890
3890
  locator?: string | undefined;
3891
3891
  }, {
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
  }>, "many">>;
3898
3898
  }, "strict", z.ZodTypeAny, {
3899
- kind: "test_result";
3900
3899
  summary: string;
3901
3900
  status: "error" | "failed" | "passed";
3901
+ kind: "test_result";
3902
3902
  command: string;
3903
3903
  evidence: {
3904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3905
- label: string;
3906
3904
  id: string;
3905
+ label: string;
3906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
3907
  capture: "at_action" | "historical_lookup" | "fixture";
3908
3908
  locator?: string | undefined;
3909
3909
  }[];
@@ -3912,17 +3912,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3912
3912
  durationMs?: number | undefined;
3913
3913
  correctionId?: string | undefined;
3914
3914
  }, {
3915
- kind: "test_result";
3916
3915
  summary: string;
3917
3916
  status: "error" | "failed" | "passed";
3917
+ kind: "test_result";
3918
3918
  command: string;
3919
3919
  decisionId: string;
3920
3920
  testId: string;
3921
3921
  durationMs?: number | undefined;
3922
3922
  evidence?: {
3923
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3924
- label: string;
3925
3923
  id: string;
3924
+ label: string;
3925
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3926
3926
  capture: "at_action" | "historical_lookup" | "fixture";
3927
3927
  locator?: string | undefined;
3928
3928
  }[] | undefined;
@@ -3943,15 +3943,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3943
3943
  locator: z.ZodOptional<z.ZodString>;
3944
3944
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3945
3945
  }, "strict", z.ZodTypeAny, {
3946
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
- label: string;
3948
3946
  id: string;
3947
+ label: string;
3948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
3949
  capture: "at_action" | "historical_lookup" | "fixture";
3950
3950
  locator?: string | undefined;
3951
3951
  }, {
3952
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
- label: string;
3954
3952
  id: string;
3953
+ label: string;
3954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3956
  locator?: string | undefined;
3957
3957
  }>, "many">>;
@@ -3960,9 +3960,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3960
3960
  statement: string;
3961
3961
  rationale: string;
3962
3962
  evidence: {
3963
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3964
- label: string;
3965
3963
  id: string;
3964
+ label: string;
3965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3966
  capture: "at_action" | "historical_lookup" | "fixture";
3967
3967
  locator?: string | undefined;
3968
3968
  }[];
@@ -3981,9 +3981,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3981
3981
  supersedesDecisionIds: string[];
3982
3982
  proposedBy: string;
3983
3983
  evidence?: {
3984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3985
- label: string;
3986
3984
  id: string;
3985
+ label: string;
3986
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
3987
  capture: "at_action" | "historical_lookup" | "fixture";
3988
3988
  locator?: string | undefined;
3989
3989
  }[] | undefined;
@@ -3995,13 +3995,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3995
3995
  id: z.ZodString;
3996
3996
  label: z.ZodString;
3997
3997
  }, "strict", z.ZodTypeAny, {
3998
- kind: "agent" | "human";
3999
- label: string;
4000
3998
  id: string;
4001
- }, {
4002
- kind: "agent" | "human";
4003
3999
  label: string;
4000
+ kind: "agent" | "human";
4001
+ }, {
4004
4002
  id: string;
4003
+ label: string;
4004
+ kind: "agent" | "human";
4005
4005
  }>;
4006
4006
  note: z.ZodOptional<z.ZodString>;
4007
4007
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4011,47 +4011,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4011
4011
  locator: z.ZodOptional<z.ZodString>;
4012
4012
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4013
4013
  }, "strict", z.ZodTypeAny, {
4014
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4015
- label: string;
4016
4014
  id: string;
4015
+ label: string;
4016
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4017
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4018
4018
  locator?: string | undefined;
4019
4019
  }, {
4020
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4021
- label: string;
4022
4020
  id: string;
4021
+ label: string;
4022
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
4023
  capture: "at_action" | "historical_lookup" | "fixture";
4024
4024
  locator?: string | undefined;
4025
4025
  }>, "many">>;
4026
4026
  }, "strict", z.ZodTypeAny, {
4027
4027
  kind: "correction_approved";
4028
4028
  evidence: {
4029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4030
- label: string;
4031
4029
  id: string;
4030
+ label: string;
4031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
4032
  capture: "at_action" | "historical_lookup" | "fixture";
4033
4033
  locator?: string | undefined;
4034
4034
  }[];
4035
4035
  correctionId: string;
4036
4036
  approvedBy: {
4037
- kind: "agent" | "human";
4038
- label: string;
4039
4037
  id: string;
4038
+ label: string;
4039
+ kind: "agent" | "human";
4040
4040
  };
4041
4041
  note?: string | undefined;
4042
4042
  }, {
4043
4043
  kind: "correction_approved";
4044
4044
  correctionId: string;
4045
4045
  approvedBy: {
4046
- kind: "agent" | "human";
4047
- label: string;
4048
4046
  id: string;
4047
+ label: string;
4048
+ kind: "agent" | "human";
4049
4049
  };
4050
4050
  note?: string | undefined;
4051
4051
  evidence?: {
4052
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4053
- label: string;
4054
4052
  id: string;
4053
+ label: string;
4054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4055
  capture: "at_action" | "historical_lookup" | "fixture";
4056
4056
  locator?: string | undefined;
4057
4057
  }[] | undefined;
@@ -4067,24 +4067,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4067
4067
  locator: z.ZodOptional<z.ZodString>;
4068
4068
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4069
4069
  }, "strict", z.ZodTypeAny, {
4070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
- label: string;
4072
4070
  id: string;
4071
+ label: string;
4072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4074
4074
  locator?: string | undefined;
4075
4075
  }, {
4076
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4077
- label: string;
4078
4076
  id: string;
4077
+ label: string;
4078
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
4079
  capture: "at_action" | "historical_lookup" | "fixture";
4080
4080
  locator?: string | undefined;
4081
4081
  }>, "many">>;
4082
4082
  }, "strict", z.ZodTypeAny, {
4083
4083
  kind: "decision_superseded";
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
  }[];
@@ -4097,9 +4097,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4097
4097
  correctionId: string;
4098
4098
  replacementDecisionId: string;
4099
4099
  evidence?: {
4100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4101
- label: string;
4102
4100
  id: string;
4101
+ label: string;
4102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4104
4104
  locator?: string | undefined;
4105
4105
  }[] | undefined;
@@ -4115,15 +4115,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4115
4115
  locator: z.ZodOptional<z.ZodString>;
4116
4116
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4117
4117
  }, "strict", z.ZodTypeAny, {
4118
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
- label: string;
4120
4118
  id: string;
4119
+ label: string;
4120
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
4121
  capture: "at_action" | "historical_lookup" | "fixture";
4122
4122
  locator?: string | undefined;
4123
4123
  }, {
4124
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4125
- label: string;
4126
4124
  id: string;
4125
+ label: string;
4126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
4127
  capture: "at_action" | "historical_lookup" | "fixture";
4128
4128
  locator?: string | undefined;
4129
4129
  }>, "many">>;
@@ -4136,9 +4136,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4136
4136
  agentId: string;
4137
4137
  sessionId: string;
4138
4138
  evidence: {
4139
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4140
- label: string;
4141
4139
  id: string;
4140
+ label: string;
4141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4142
4142
  capture: "at_action" | "historical_lookup" | "fixture";
4143
4143
  locator?: string | undefined;
4144
4144
  }[];
@@ -4154,9 +4154,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4154
4154
  recallReceiptId: string;
4155
4155
  capturedAtAction: boolean;
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;
@@ -4172,15 +4172,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4172
4172
  locator: z.ZodOptional<z.ZodString>;
4173
4173
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4174
4174
  }, "strict", z.ZodTypeAny, {
4175
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
- label: string;
4177
4175
  id: string;
4176
+ label: string;
4177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4178
  capture: "at_action" | "historical_lookup" | "fixture";
4179
4179
  locator?: string | undefined;
4180
4180
  }, {
4181
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4182
- label: string;
4183
4181
  id: string;
4182
+ label: string;
4183
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
4184
  capture: "at_action" | "historical_lookup" | "fixture";
4185
4185
  locator?: string | undefined;
4186
4186
  }>, "many">>;
@@ -4192,9 +4192,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4192
4192
  agentId: string;
4193
4193
  sessionId: string;
4194
4194
  evidence: {
4195
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4196
- label: string;
4197
4195
  id: string;
4196
+ label: string;
4197
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4198
4198
  capture: "at_action" | "historical_lookup" | "fixture";
4199
4199
  locator?: string | undefined;
4200
4200
  }[];
@@ -4211,9 +4211,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4211
4211
  recallReceiptId: string;
4212
4212
  staleDecisionAbsent: boolean;
4213
4213
  evidence?: {
4214
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4215
- label: string;
4216
4214
  id: string;
4215
+ label: string;
4216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
4217
  capture: "at_action" | "historical_lookup" | "fixture";
4218
4218
  locator?: string | undefined;
4219
4219
  }[] | undefined;
@@ -4228,37 +4228,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4228
4228
  locator: z.ZodOptional<z.ZodString>;
4229
4229
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4230
4230
  }, "strict", z.ZodTypeAny, {
4231
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4232
- label: string;
4233
4231
  id: string;
4232
+ label: string;
4233
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4234
4234
  capture: "at_action" | "historical_lookup" | "fixture";
4235
4235
  locator?: string | undefined;
4236
4236
  }, {
4237
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4238
- label: string;
4239
4237
  id: string;
4238
+ label: string;
4239
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4240
4240
  capture: "at_action" | "historical_lookup" | "fixture";
4241
4241
  locator?: string | undefined;
4242
4242
  }>, "many">>;
4243
4243
  }, "strict", z.ZodTypeAny, {
4244
- kind: "mission_completed";
4245
4244
  summary: string;
4245
+ kind: "mission_completed";
4246
4246
  outcome: "failed" | "recovered" | "inconclusive";
4247
4247
  evidence: {
4248
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4249
- label: string;
4250
4248
  id: string;
4249
+ label: string;
4250
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
4251
  capture: "at_action" | "historical_lookup" | "fixture";
4252
4252
  locator?: string | undefined;
4253
4253
  }[];
4254
4254
  }, {
4255
- kind: "mission_completed";
4256
4255
  summary: string;
4256
+ kind: "mission_completed";
4257
4257
  outcome: "failed" | "recovered" | "inconclusive";
4258
4258
  evidence?: {
4259
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
- label: string;
4261
4259
  id: string;
4260
+ label: string;
4261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4262
  capture: "at_action" | "historical_lookup" | "fixture";
4263
4263
  locator?: string | undefined;
4264
4264
  }[] | undefined;
@@ -4266,38 +4266,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4266
4266
  kind: "mission_started";
4267
4267
  title: string;
4268
4268
  evidence: {
4269
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4270
- label: string;
4271
4269
  id: string;
4270
+ label: string;
4271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4272
  capture: "at_action" | "historical_lookup" | "fixture";
4273
4273
  locator?: string | undefined;
4274
4274
  }[];
4275
4275
  objective: string;
4276
4276
  runMode: "replay" | "fixture" | "live";
4277
4277
  } | {
4278
- kind: "agent_status";
4279
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4280
4278
  label: string;
4279
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4280
+ kind: "agent_status";
4281
4281
  role: string;
4282
4282
  agentId: string;
4283
4283
  sessionId: string;
4284
4284
  evidence: {
4285
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4286
- label: string;
4287
4285
  id: string;
4286
+ label: string;
4287
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4288
  capture: "at_action" | "historical_lookup" | "fixture";
4289
4289
  locator?: string | undefined;
4290
4290
  }[];
4291
4291
  detail?: string | undefined;
4292
4292
  } | {
4293
- kind: "agent_output";
4294
4293
  summary: string;
4294
+ kind: "agent_output";
4295
4295
  agentId: string;
4296
4296
  sessionId: string;
4297
4297
  evidence: {
4298
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4299
- label: string;
4300
4298
  id: string;
4299
+ label: string;
4300
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4301
  capture: "at_action" | "historical_lookup" | "fixture";
4302
4302
  locator?: string | undefined;
4303
4303
  }[];
@@ -4308,9 +4308,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4308
4308
  statement: string;
4309
4309
  sessionId: string;
4310
4310
  evidence: {
4311
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4312
- label: string;
4313
4311
  id: string;
4312
+ label: string;
4313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
4314
  capture: "at_action" | "historical_lookup" | "fixture";
4315
4315
  locator?: string | undefined;
4316
4316
  }[];
@@ -4318,12 +4318,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4318
4318
  decisionId: string;
4319
4319
  confidence?: number | undefined;
4320
4320
  } | {
4321
- kind: "conflict_detected";
4322
4321
  summary: string;
4322
+ kind: "conflict_detected";
4323
4323
  evidence: {
4324
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4325
- label: string;
4326
4324
  id: string;
4325
+ label: string;
4326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
4327
  capture: "at_action" | "historical_lookup" | "fixture";
4328
4328
  locator?: string | undefined;
4329
4329
  }[];
@@ -4331,14 +4331,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4331
4331
  decisionIds: string[];
4332
4332
  agentIds: string[];
4333
4333
  } | {
4334
- kind: "test_result";
4335
4334
  summary: string;
4336
4335
  status: "error" | "failed" | "passed";
4336
+ kind: "test_result";
4337
4337
  command: string;
4338
4338
  evidence: {
4339
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4340
- label: string;
4341
4339
  id: string;
4340
+ label: string;
4341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4342
4342
  capture: "at_action" | "historical_lookup" | "fixture";
4343
4343
  locator?: string | undefined;
4344
4344
  }[];
@@ -4351,9 +4351,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4351
4351
  statement: string;
4352
4352
  rationale: string;
4353
4353
  evidence: {
4354
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4355
- label: string;
4356
4354
  id: string;
4355
+ label: string;
4356
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
4357
  capture: "at_action" | "historical_lookup" | "fixture";
4358
4358
  locator?: string | undefined;
4359
4359
  }[];
@@ -4365,25 +4365,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4365
4365
  } | {
4366
4366
  kind: "correction_approved";
4367
4367
  evidence: {
4368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4369
- label: string;
4370
4368
  id: string;
4369
+ label: string;
4370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4372
4372
  locator?: string | undefined;
4373
4373
  }[];
4374
4374
  correctionId: string;
4375
4375
  approvedBy: {
4376
- kind: "agent" | "human";
4377
- label: string;
4378
4376
  id: string;
4377
+ label: string;
4378
+ kind: "agent" | "human";
4379
4379
  };
4380
4380
  note?: string | undefined;
4381
4381
  } | {
4382
4382
  kind: "decision_superseded";
4383
4383
  evidence: {
4384
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4385
- label: string;
4386
4384
  id: string;
4385
+ label: string;
4386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
4387
  capture: "at_action" | "historical_lookup" | "fixture";
4388
4388
  locator?: string | undefined;
4389
4389
  }[];
@@ -4396,9 +4396,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4396
4396
  agentId: string;
4397
4397
  sessionId: string;
4398
4398
  evidence: {
4399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4400
- label: string;
4401
4399
  id: string;
4400
+ label: string;
4401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4403
4403
  locator?: string | undefined;
4404
4404
  }[];
@@ -4410,9 +4410,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4410
4410
  agentId: string;
4411
4411
  sessionId: string;
4412
4412
  evidence: {
4413
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
- label: string;
4415
4413
  id: string;
4414
+ label: string;
4415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
4416
  capture: "at_action" | "historical_lookup" | "fixture";
4417
4417
  locator?: string | undefined;
4418
4418
  }[];
@@ -4421,13 +4421,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4421
4421
  recallReceiptId: string;
4422
4422
  staleDecisionAbsent: boolean;
4423
4423
  } | {
4424
- kind: "mission_completed";
4425
4424
  summary: string;
4425
+ kind: "mission_completed";
4426
4426
  outcome: "failed" | "recovered" | "inconclusive";
4427
4427
  evidence: {
4428
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4429
- label: string;
4430
4428
  id: string;
4429
+ label: string;
4430
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
4431
  capture: "at_action" | "historical_lookup" | "fixture";
4432
4432
  locator?: string | undefined;
4433
4433
  }[];
@@ -4437,37 +4437,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4437
4437
  objective: string;
4438
4438
  runMode: "replay" | "fixture" | "live";
4439
4439
  evidence?: {
4440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4441
- label: string;
4442
4440
  id: string;
4441
+ label: string;
4442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
4443
  capture: "at_action" | "historical_lookup" | "fixture";
4444
4444
  locator?: string | undefined;
4445
4445
  }[] | undefined;
4446
4446
  } | {
4447
- kind: "agent_status";
4448
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4449
4447
  label: string;
4448
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4449
+ kind: "agent_status";
4450
4450
  role: string;
4451
4451
  agentId: string;
4452
4452
  sessionId: string;
4453
4453
  detail?: string | undefined;
4454
4454
  evidence?: {
4455
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4456
- label: string;
4457
4455
  id: string;
4456
+ label: string;
4457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4458
  capture: "at_action" | "historical_lookup" | "fixture";
4459
4459
  locator?: string | undefined;
4460
4460
  }[] | undefined;
4461
4461
  } | {
4462
- kind: "agent_output";
4463
4462
  summary: string;
4463
+ kind: "agent_output";
4464
4464
  agentId: string;
4465
4465
  sessionId: string;
4466
4466
  outputId: string;
4467
4467
  evidence?: {
4468
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4469
- label: string;
4470
4468
  id: string;
4469
+ label: string;
4470
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
4471
  capture: "at_action" | "historical_lookup" | "fixture";
4472
4472
  locator?: string | undefined;
4473
4473
  }[] | undefined;
@@ -4480,37 +4480,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4480
4480
  decisionId: string;
4481
4481
  confidence?: number | undefined;
4482
4482
  evidence?: {
4483
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4484
- label: string;
4485
4483
  id: string;
4484
+ label: string;
4485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
4486
  capture: "at_action" | "historical_lookup" | "fixture";
4487
4487
  locator?: string | undefined;
4488
4488
  }[] | undefined;
4489
4489
  } | {
4490
- kind: "conflict_detected";
4491
4490
  summary: string;
4491
+ kind: "conflict_detected";
4492
4492
  conflictId: string;
4493
4493
  decisionIds: string[];
4494
4494
  agentIds: string[];
4495
4495
  evidence?: {
4496
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4497
- label: string;
4498
4496
  id: string;
4497
+ label: string;
4498
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4499
4499
  capture: "at_action" | "historical_lookup" | "fixture";
4500
4500
  locator?: string | undefined;
4501
4501
  }[] | undefined;
4502
4502
  } | {
4503
- kind: "test_result";
4504
4503
  summary: string;
4505
4504
  status: "error" | "failed" | "passed";
4505
+ kind: "test_result";
4506
4506
  command: string;
4507
4507
  decisionId: string;
4508
4508
  testId: string;
4509
4509
  durationMs?: number | undefined;
4510
4510
  evidence?: {
4511
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4512
- label: string;
4513
4511
  id: string;
4512
+ label: string;
4513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4514
4514
  capture: "at_action" | "historical_lookup" | "fixture";
4515
4515
  locator?: string | undefined;
4516
4516
  }[] | undefined;
@@ -4525,9 +4525,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4525
4525
  supersedesDecisionIds: string[];
4526
4526
  proposedBy: string;
4527
4527
  evidence?: {
4528
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4529
- label: string;
4530
4528
  id: string;
4529
+ label: string;
4530
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
4531
  capture: "at_action" | "historical_lookup" | "fixture";
4532
4532
  locator?: string | undefined;
4533
4533
  }[] | undefined;
@@ -4535,15 +4535,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4535
4535
  kind: "correction_approved";
4536
4536
  correctionId: string;
4537
4537
  approvedBy: {
4538
- kind: "agent" | "human";
4539
- label: string;
4540
4538
  id: string;
4539
+ label: string;
4540
+ kind: "agent" | "human";
4541
4541
  };
4542
4542
  note?: string | undefined;
4543
4543
  evidence?: {
4544
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4545
- label: string;
4546
4544
  id: string;
4545
+ label: string;
4546
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4547
4547
  capture: "at_action" | "historical_lookup" | "fixture";
4548
4548
  locator?: string | undefined;
4549
4549
  }[] | undefined;
@@ -4553,9 +4553,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4553
4553
  correctionId: string;
4554
4554
  replacementDecisionId: string;
4555
4555
  evidence?: {
4556
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4557
- label: string;
4558
4556
  id: string;
4557
+ label: string;
4558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4560
4560
  locator?: string | undefined;
4561
4561
  }[] | undefined;
@@ -4568,9 +4568,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4568
4568
  recallReceiptId: string;
4569
4569
  capturedAtAction: boolean;
4570
4570
  evidence?: {
4571
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4572
- label: string;
4573
4571
  id: string;
4572
+ label: string;
4573
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4574
  capture: "at_action" | "historical_lookup" | "fixture";
4575
4575
  locator?: string | undefined;
4576
4576
  }[] | undefined;
@@ -4583,63 +4583,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4583
4583
  recallReceiptId: string;
4584
4584
  staleDecisionAbsent: boolean;
4585
4585
  evidence?: {
4586
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4587
- label: string;
4588
4586
  id: string;
4587
+ label: string;
4588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
4589
  capture: "at_action" | "historical_lookup" | "fixture";
4590
4590
  locator?: string | undefined;
4591
4591
  }[] | undefined;
4592
4592
  } | {
4593
- kind: "mission_completed";
4594
4593
  summary: string;
4594
+ kind: "mission_completed";
4595
4595
  outcome: "failed" | "recovered" | "inconclusive";
4596
4596
  evidence?: {
4597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
- label: string;
4599
4597
  id: string;
4598
+ label: string;
4599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4600
  capture: "at_action" | "historical_lookup" | "fixture";
4601
4601
  locator?: string | undefined;
4602
4602
  }[] | undefined;
4603
4603
  }>;
4604
4604
  }, "strict", z.ZodTypeAny, {
4605
- schemaVersion: "1";
4605
+ namespace: string;
4606
4606
  recordedAt: string;
4607
+ schemaVersion: "1";
4607
4608
  payload: {
4608
4609
  kind: "mission_started";
4609
4610
  title: string;
4610
4611
  evidence: {
4611
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4612
- label: string;
4613
4612
  id: string;
4613
+ label: string;
4614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
4615
  capture: "at_action" | "historical_lookup" | "fixture";
4615
4616
  locator?: string | undefined;
4616
4617
  }[];
4617
4618
  objective: string;
4618
4619
  runMode: "replay" | "fixture" | "live";
4619
4620
  } | {
4620
- kind: "agent_status";
4621
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4622
4621
  label: string;
4622
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4623
+ kind: "agent_status";
4623
4624
  role: string;
4624
4625
  agentId: string;
4625
4626
  sessionId: string;
4626
4627
  evidence: {
4627
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
- label: string;
4629
4628
  id: string;
4629
+ label: string;
4630
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4630
4631
  capture: "at_action" | "historical_lookup" | "fixture";
4631
4632
  locator?: string | undefined;
4632
4633
  }[];
4633
4634
  detail?: string | undefined;
4634
4635
  } | {
4635
- kind: "agent_output";
4636
4636
  summary: string;
4637
+ kind: "agent_output";
4637
4638
  agentId: string;
4638
4639
  sessionId: string;
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
  }[];
@@ -4650,9 +4651,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4650
4651
  statement: string;
4651
4652
  sessionId: string;
4652
4653
  evidence: {
4653
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4654
- label: string;
4655
4654
  id: string;
4655
+ label: string;
4656
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
4657
  capture: "at_action" | "historical_lookup" | "fixture";
4657
4658
  locator?: string | undefined;
4658
4659
  }[];
@@ -4660,12 +4661,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4660
4661
  decisionId: string;
4661
4662
  confidence?: number | undefined;
4662
4663
  } | {
4663
- kind: "conflict_detected";
4664
4664
  summary: string;
4665
+ kind: "conflict_detected";
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
  }[];
@@ -4673,14 +4674,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4673
4674
  decisionIds: string[];
4674
4675
  agentIds: string[];
4675
4676
  } | {
4676
- kind: "test_result";
4677
4677
  summary: string;
4678
4678
  status: "error" | "failed" | "passed";
4679
+ kind: "test_result";
4679
4680
  command: string;
4680
4681
  evidence: {
4681
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4682
- label: string;
4683
4682
  id: string;
4683
+ label: string;
4684
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4684
4685
  capture: "at_action" | "historical_lookup" | "fixture";
4685
4686
  locator?: string | undefined;
4686
4687
  }[];
@@ -4693,9 +4694,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4693
4694
  statement: string;
4694
4695
  rationale: string;
4695
4696
  evidence: {
4696
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4697
- label: string;
4698
4697
  id: string;
4698
+ label: string;
4699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4699
4700
  capture: "at_action" | "historical_lookup" | "fixture";
4700
4701
  locator?: string | undefined;
4701
4702
  }[];
@@ -4707,25 +4708,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4707
4708
  } | {
4708
4709
  kind: "correction_approved";
4709
4710
  evidence: {
4710
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4711
- label: string;
4712
4711
  id: string;
4712
+ label: string;
4713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4713
4714
  capture: "at_action" | "historical_lookup" | "fixture";
4714
4715
  locator?: string | undefined;
4715
4716
  }[];
4716
4717
  correctionId: string;
4717
4718
  approvedBy: {
4718
- kind: "agent" | "human";
4719
- label: string;
4720
4719
  id: string;
4720
+ label: string;
4721
+ kind: "agent" | "human";
4721
4722
  };
4722
4723
  note?: string | undefined;
4723
4724
  } | {
4724
4725
  kind: "decision_superseded";
4725
4726
  evidence: {
4726
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4727
- label: string;
4728
4727
  id: string;
4728
+ label: string;
4729
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4729
4730
  capture: "at_action" | "historical_lookup" | "fixture";
4730
4731
  locator?: string | undefined;
4731
4732
  }[];
@@ -4738,9 +4739,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4738
4739
  agentId: string;
4739
4740
  sessionId: string;
4740
4741
  evidence: {
4741
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4742
- label: string;
4743
4742
  id: string;
4743
+ label: string;
4744
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4744
4745
  capture: "at_action" | "historical_lookup" | "fixture";
4745
4746
  locator?: string | undefined;
4746
4747
  }[];
@@ -4752,9 +4753,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4752
4753
  agentId: string;
4753
4754
  sessionId: string;
4754
4755
  evidence: {
4755
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4756
- label: string;
4757
4756
  id: string;
4757
+ label: string;
4758
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4758
4759
  capture: "at_action" | "historical_lookup" | "fixture";
4759
4760
  locator?: string | undefined;
4760
4761
  }[];
@@ -4763,63 +4764,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4763
4764
  recallReceiptId: string;
4764
4765
  staleDecisionAbsent: boolean;
4765
4766
  } | {
4766
- kind: "mission_completed";
4767
4767
  summary: string;
4768
+ kind: "mission_completed";
4768
4769
  outcome: "failed" | "recovered" | "inconclusive";
4769
4770
  evidence: {
4770
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4771
- label: string;
4772
4771
  id: string;
4772
+ label: string;
4773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4773
4774
  capture: "at_action" | "historical_lookup" | "fixture";
4774
4775
  locator?: string | undefined;
4775
4776
  }[];
4776
4777
  };
4777
- namespace: string;
4778
4778
  eventId: string;
4779
4779
  occurredAt: string;
4780
4780
  missionId: string;
4781
4781
  idempotencyKey?: string | undefined;
4782
4782
  authenticatedPrincipal?: string | undefined;
4783
4783
  }, {
4784
- schemaVersion: "1";
4784
+ namespace: string;
4785
4785
  recordedAt: string;
4786
+ schemaVersion: "1";
4786
4787
  payload: {
4787
4788
  kind: "mission_started";
4788
4789
  title: string;
4789
4790
  objective: string;
4790
4791
  runMode: "replay" | "fixture" | "live";
4791
4792
  evidence?: {
4792
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4793
- label: string;
4794
4793
  id: string;
4794
+ label: string;
4795
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4795
4796
  capture: "at_action" | "historical_lookup" | "fixture";
4796
4797
  locator?: string | undefined;
4797
4798
  }[] | undefined;
4798
4799
  } | {
4799
- kind: "agent_status";
4800
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4801
4800
  label: string;
4801
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4802
+ kind: "agent_status";
4802
4803
  role: string;
4803
4804
  agentId: string;
4804
4805
  sessionId: string;
4805
4806
  detail?: string | undefined;
4806
4807
  evidence?: {
4807
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4808
- label: string;
4809
4808
  id: string;
4809
+ label: string;
4810
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4810
4811
  capture: "at_action" | "historical_lookup" | "fixture";
4811
4812
  locator?: string | undefined;
4812
4813
  }[] | undefined;
4813
4814
  } | {
4814
- kind: "agent_output";
4815
4815
  summary: string;
4816
+ kind: "agent_output";
4816
4817
  agentId: string;
4817
4818
  sessionId: string;
4818
4819
  outputId: string;
4819
4820
  evidence?: {
4820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4821
- label: string;
4822
4821
  id: string;
4822
+ label: string;
4823
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4823
4824
  capture: "at_action" | "historical_lookup" | "fixture";
4824
4825
  locator?: string | undefined;
4825
4826
  }[] | undefined;
@@ -4832,37 +4833,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4832
4833
  decisionId: string;
4833
4834
  confidence?: number | undefined;
4834
4835
  evidence?: {
4835
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4836
- label: string;
4837
4836
  id: string;
4837
+ label: string;
4838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4838
4839
  capture: "at_action" | "historical_lookup" | "fixture";
4839
4840
  locator?: string | undefined;
4840
4841
  }[] | undefined;
4841
4842
  } | {
4842
- kind: "conflict_detected";
4843
4843
  summary: string;
4844
+ kind: "conflict_detected";
4844
4845
  conflictId: string;
4845
4846
  decisionIds: string[];
4846
4847
  agentIds: string[];
4847
4848
  evidence?: {
4848
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4849
- label: string;
4850
4849
  id: string;
4850
+ label: string;
4851
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4851
4852
  capture: "at_action" | "historical_lookup" | "fixture";
4852
4853
  locator?: string | undefined;
4853
4854
  }[] | undefined;
4854
4855
  } | {
4855
- kind: "test_result";
4856
4856
  summary: string;
4857
4857
  status: "error" | "failed" | "passed";
4858
+ kind: "test_result";
4858
4859
  command: string;
4859
4860
  decisionId: string;
4860
4861
  testId: string;
4861
4862
  durationMs?: number | undefined;
4862
4863
  evidence?: {
4863
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4864
- label: string;
4865
4864
  id: string;
4865
+ label: string;
4866
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4866
4867
  capture: "at_action" | "historical_lookup" | "fixture";
4867
4868
  locator?: string | undefined;
4868
4869
  }[] | undefined;
@@ -4877,9 +4878,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4877
4878
  supersedesDecisionIds: string[];
4878
4879
  proposedBy: string;
4879
4880
  evidence?: {
4880
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4881
- label: string;
4882
4881
  id: string;
4882
+ label: string;
4883
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4883
4884
  capture: "at_action" | "historical_lookup" | "fixture";
4884
4885
  locator?: string | undefined;
4885
4886
  }[] | undefined;
@@ -4887,15 +4888,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4887
4888
  kind: "correction_approved";
4888
4889
  correctionId: string;
4889
4890
  approvedBy: {
4890
- kind: "agent" | "human";
4891
- label: string;
4892
4891
  id: string;
4892
+ label: string;
4893
+ kind: "agent" | "human";
4893
4894
  };
4894
4895
  note?: string | undefined;
4895
4896
  evidence?: {
4896
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4897
- label: string;
4898
4897
  id: string;
4898
+ label: string;
4899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4899
4900
  capture: "at_action" | "historical_lookup" | "fixture";
4900
4901
  locator?: string | undefined;
4901
4902
  }[] | undefined;
@@ -4905,9 +4906,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4905
4906
  correctionId: string;
4906
4907
  replacementDecisionId: string;
4907
4908
  evidence?: {
4908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4909
- label: string;
4910
4909
  id: string;
4910
+ label: string;
4911
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4911
4912
  capture: "at_action" | "historical_lookup" | "fixture";
4912
4913
  locator?: string | undefined;
4913
4914
  }[] | undefined;
@@ -4920,9 +4921,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4920
4921
  recallReceiptId: string;
4921
4922
  capturedAtAction: boolean;
4922
4923
  evidence?: {
4923
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4924
- label: string;
4925
4924
  id: string;
4925
+ label: string;
4926
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4926
4927
  capture: "at_action" | "historical_lookup" | "fixture";
4927
4928
  locator?: string | undefined;
4928
4929
  }[] | undefined;
@@ -4935,25 +4936,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4935
4936
  recallReceiptId: string;
4936
4937
  staleDecisionAbsent: boolean;
4937
4938
  evidence?: {
4938
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4939
- label: string;
4940
4939
  id: string;
4940
+ label: string;
4941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4941
4942
  capture: "at_action" | "historical_lookup" | "fixture";
4942
4943
  locator?: string | undefined;
4943
4944
  }[] | undefined;
4944
4945
  } | {
4945
- kind: "mission_completed";
4946
4946
  summary: string;
4947
+ kind: "mission_completed";
4947
4948
  outcome: "failed" | "recovered" | "inconclusive";
4948
4949
  evidence?: {
4949
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4950
- label: string;
4951
4950
  id: string;
4951
+ label: string;
4952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4952
4953
  capture: "at_action" | "historical_lookup" | "fixture";
4953
4954
  locator?: string | undefined;
4954
4955
  }[] | undefined;
4955
4956
  };
4956
- namespace: string;
4957
4957
  eventId: string;
4958
4958
  occurredAt: string;
4959
4959
  missionId: string;