@remnic/core 9.69.24 → 9.69.26

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 (136) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +4 -4
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +5 -5
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +4 -4
  7. package/dist/access-cli.js +29 -29
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +4 -4
  10. package/dist/access-http-briefing.d.ts +1 -1
  11. package/dist/access-http-briefing.js +5 -5
  12. package/dist/access-http-lcm-compaction.d.ts +1 -1
  13. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  14. package/dist/access-http-offline-stream.d.ts +1 -1
  15. package/dist/access-http-query.js +4 -4
  16. package/dist/access-http.d.ts +2 -2
  17. package/dist/access-http.js +16 -16
  18. package/dist/access-identity-continuity-surface.js +4 -4
  19. package/dist/access-lcm-surface.d.ts +1 -1
  20. package/dist/access-lcm-surface.js +4 -4
  21. package/dist/access-mcp.d.ts +1 -1
  22. package/dist/access-mcp.js +11 -11
  23. package/dist/access-namespace-preflight.js +4 -4
  24. package/dist/access-observe-write-surface.d.ts +1 -1
  25. package/dist/access-observe-write-surface.js +4 -4
  26. package/dist/access-operations-batch.js +5 -5
  27. package/dist/access-operations.d.ts +6 -6
  28. package/dist/access-operations.js +10 -10
  29. package/dist/access-recall-concurrency.d.ts +1 -1
  30. package/dist/access-recall-concurrency.js +4 -4
  31. package/dist/access-recall-response.d.ts +1 -1
  32. package/dist/access-recall-response.js +4 -4
  33. package/dist/access-recall-surface.d.ts +1 -1
  34. package/dist/access-recall-surface.js +4 -4
  35. package/dist/access-schema.d.ts +91 -91
  36. package/dist/access-service-helpers.d.ts +1 -1
  37. package/dist/access-service.d.ts +1 -1
  38. package/dist/access-service.js +4 -4
  39. package/dist/access-surface-catalog.d.ts +1 -1
  40. package/dist/access-surface-catalog.js +6 -6
  41. package/dist/active-recall.js +4 -4
  42. package/dist/buffer.js +4 -4
  43. package/dist/{chunk-OGUKSLYZ.js → chunk-2OO6TPQG.js} +2 -2
  44. package/dist/{chunk-66OJSCI6.js → chunk-3GGUMRS4.js} +2 -2
  45. package/dist/{chunk-PX4UMA5Z.js → chunk-3NYTZE5G.js} +2 -2
  46. package/dist/{chunk-FVOP3NT7.js → chunk-5IEV3YBY.js} +2 -2
  47. package/dist/{chunk-2ITE4C2Z.js → chunk-6LLLREDJ.js} +2 -2
  48. package/dist/{chunk-K7724CH2.js → chunk-6VF3R3XQ.js} +2 -2
  49. package/dist/{chunk-56Y6EKZN.js → chunk-CGJV2YIY.js} +2 -2
  50. package/dist/{chunk-KB2G2I6Q.js → chunk-DDB3S53L.js} +2 -2
  51. package/dist/{chunk-KTWG7CNY.js → chunk-EWCNCQOU.js} +2 -2
  52. package/dist/{chunk-L7Z57SID.js → chunk-FHYVNJBN.js} +2 -2
  53. package/dist/{chunk-33JKYLPX.js → chunk-GGRD3JEH.js} +2 -2
  54. package/dist/{chunk-37KUQPX4.js → chunk-GNMELJGM.js} +2 -2
  55. package/dist/{chunk-2IOHTUP3.js → chunk-GRCREL6Q.js} +3 -3
  56. package/dist/{chunk-H54VWRPS.js → chunk-JJ4XK25O.js} +2 -2
  57. package/dist/{chunk-SVXJLDDC.js → chunk-KH6PK4EQ.js} +5 -5
  58. package/dist/{chunk-NLYVH66G.js → chunk-MT47LH5L.js} +2 -2
  59. package/dist/{chunk-SMWTZLHE.js → chunk-MZLV2OJE.js} +9 -9
  60. package/dist/{chunk-ICKJ52PE.js → chunk-OU4K7IFP.js} +3 -3
  61. package/dist/{chunk-27QVNSQ3.js → chunk-QBH7M7Q4.js} +2 -2
  62. package/dist/{chunk-O6ZNNVSP.js → chunk-RX3SC4C5.js} +2 -2
  63. package/dist/{chunk-RJYJ7KR7.js → chunk-SO4IYSGT.js} +12 -12
  64. package/dist/{chunk-C553ZTLF.js → chunk-THQTFTQS.js} +8 -8
  65. package/dist/{chunk-X5K5TAQZ.js → chunk-V4ZBR7CW.js} +2 -2
  66. package/dist/{chunk-P6FHFTZ7.js → chunk-XPFC6D45.js} +12 -7
  67. package/dist/chunk-XPFC6D45.js.map +1 -0
  68. package/dist/{chunk-ZIW5JVRM.js → chunk-XTJC7CVX.js} +2 -2
  69. package/dist/{chunk-Z6COGHHN.js → chunk-Y2MZGBOY.js} +2 -2
  70. package/dist/{chunk-H4SEGIZY.js → chunk-ZO2AZIRT.js} +2 -2
  71. package/dist/{chunk-UNNPNBR2.js → chunk-ZUNNRGJX.js} +4 -4
  72. package/dist/{chunk-BLJWYCNO.js → chunk-ZY4DSWZ5.js} +2 -2
  73. package/dist/{cli-DD0P-lu8.d.ts → cli-B_YwqoIr.d.ts} +1 -1
  74. package/dist/cli.d.ts +2 -2
  75. package/dist/cli.js +22 -22
  76. package/dist/config.js +4 -4
  77. package/dist/deep-recall-http-glue.d.ts +1 -1
  78. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  79. package/dist/external-wiki-access.d.ts +1 -1
  80. package/dist/external-wiki-access.js +5 -5
  81. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  82. package/dist/extraction.js +5 -5
  83. package/dist/index.d.ts +685 -681
  84. package/dist/index.js +29 -29
  85. package/dist/location/index.js +5 -5
  86. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  87. package/dist/memory-subject-cli.d.ts +1 -1
  88. package/dist/memory-subject.d.ts +1 -1
  89. package/dist/operator-toolkit.js +5 -5
  90. package/dist/orchestration/maintenance.js +6 -6
  91. package/dist/orchestrator.js +29 -29
  92. package/dist/{public-http-C4i8Opxc.d.ts → public-http-D6d4W8x-.d.ts} +1 -1
  93. package/dist/resume-bundles.js +5 -5
  94. package/dist/schemas.d.ts +176 -176
  95. package/dist/shared-context/manager.d.ts +6 -6
  96. package/dist/source-agent-qualifier.js +4 -4
  97. package/dist/standup/build.js +2 -2
  98. package/dist/support-passport/index.d.ts +4 -4
  99. package/dist/support-passport/index.js +7 -7
  100. package/dist/transfer/types.d.ts +78 -78
  101. package/dist/who-knows-cli.d.ts +1 -1
  102. package/dist/who-knows.d.ts +1 -1
  103. package/package.json +2 -2
  104. package/src/activity/digest.test.ts +34 -0
  105. package/src/activity/digest.ts +34 -8
  106. package/src/activity/timeline/weekly.test.ts +29 -0
  107. package/dist/chunk-P6FHFTZ7.js.map +0 -1
  108. package/dist/{access-service-DWdY9Mlk.d.ts → access-service-Cv8Rizo0.d.ts} +64 -64
  109. /package/dist/{chunk-OGUKSLYZ.js.map → chunk-2OO6TPQG.js.map} +0 -0
  110. /package/dist/{chunk-66OJSCI6.js.map → chunk-3GGUMRS4.js.map} +0 -0
  111. /package/dist/{chunk-PX4UMA5Z.js.map → chunk-3NYTZE5G.js.map} +0 -0
  112. /package/dist/{chunk-FVOP3NT7.js.map → chunk-5IEV3YBY.js.map} +0 -0
  113. /package/dist/{chunk-2ITE4C2Z.js.map → chunk-6LLLREDJ.js.map} +0 -0
  114. /package/dist/{chunk-K7724CH2.js.map → chunk-6VF3R3XQ.js.map} +0 -0
  115. /package/dist/{chunk-56Y6EKZN.js.map → chunk-CGJV2YIY.js.map} +0 -0
  116. /package/dist/{chunk-KB2G2I6Q.js.map → chunk-DDB3S53L.js.map} +0 -0
  117. /package/dist/{chunk-KTWG7CNY.js.map → chunk-EWCNCQOU.js.map} +0 -0
  118. /package/dist/{chunk-L7Z57SID.js.map → chunk-FHYVNJBN.js.map} +0 -0
  119. /package/dist/{chunk-33JKYLPX.js.map → chunk-GGRD3JEH.js.map} +0 -0
  120. /package/dist/{chunk-37KUQPX4.js.map → chunk-GNMELJGM.js.map} +0 -0
  121. /package/dist/{chunk-2IOHTUP3.js.map → chunk-GRCREL6Q.js.map} +0 -0
  122. /package/dist/{chunk-H54VWRPS.js.map → chunk-JJ4XK25O.js.map} +0 -0
  123. /package/dist/{chunk-SVXJLDDC.js.map → chunk-KH6PK4EQ.js.map} +0 -0
  124. /package/dist/{chunk-NLYVH66G.js.map → chunk-MT47LH5L.js.map} +0 -0
  125. /package/dist/{chunk-SMWTZLHE.js.map → chunk-MZLV2OJE.js.map} +0 -0
  126. /package/dist/{chunk-ICKJ52PE.js.map → chunk-OU4K7IFP.js.map} +0 -0
  127. /package/dist/{chunk-27QVNSQ3.js.map → chunk-QBH7M7Q4.js.map} +0 -0
  128. /package/dist/{chunk-O6ZNNVSP.js.map → chunk-RX3SC4C5.js.map} +0 -0
  129. /package/dist/{chunk-RJYJ7KR7.js.map → chunk-SO4IYSGT.js.map} +0 -0
  130. /package/dist/{chunk-C553ZTLF.js.map → chunk-THQTFTQS.js.map} +0 -0
  131. /package/dist/{chunk-X5K5TAQZ.js.map → chunk-V4ZBR7CW.js.map} +0 -0
  132. /package/dist/{chunk-ZIW5JVRM.js.map → chunk-XTJC7CVX.js.map} +0 -0
  133. /package/dist/{chunk-Z6COGHHN.js.map → chunk-Y2MZGBOY.js.map} +0 -0
  134. /package/dist/{chunk-H4SEGIZY.js.map → chunk-ZO2AZIRT.js.map} +0 -0
  135. /package/dist/{chunk-UNNPNBR2.js.map → chunk-ZUNNRGJX.js.map} +0 -0
  136. /package/dist/{chunk-BLJWYCNO.js.map → chunk-ZY4DSWZ5.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-DWdY9Mlk.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-DWdY9Mlk.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cv8Rizo0.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-Cv8Rizo0.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-DD0P-lu8.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_YwqoIr.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-C4i8Opxc.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-D6d4W8x-.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';
@@ -1235,15 +1235,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1235
1235
  locator: z.ZodOptional<z.ZodString>;
1236
1236
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1237
1237
  }, "strict", z.ZodTypeAny, {
1238
- id: string;
1238
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
1239
  label: string;
1240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1240
+ id: string;
1241
1241
  capture: "at_action" | "historical_lookup" | "fixture";
1242
1242
  locator?: string | undefined;
1243
1243
  }, {
1244
- id: string;
1244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
1245
  label: string;
1246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1246
+ id: string;
1247
1247
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1248
  locator?: string | undefined;
1249
1249
  }>;
@@ -1260,15 +1260,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1260
1260
  locator: z.ZodOptional<z.ZodString>;
1261
1261
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1262
1262
  }, "strict", z.ZodTypeAny, {
1263
- id: string;
1263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
1264
  label: string;
1265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1265
+ id: string;
1266
1266
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1267
  locator?: string | undefined;
1268
1268
  }, {
1269
- id: string;
1269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
1270
  label: string;
1271
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1271
+ id: string;
1272
1272
  capture: "at_action" | "historical_lookup" | "fixture";
1273
1273
  locator?: string | undefined;
1274
1274
  }>, "many">>;
@@ -1276,9 +1276,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1276
1276
  kind: "mission_started";
1277
1277
  title: string;
1278
1278
  evidence: {
1279
- id: string;
1279
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1280
1280
  label: string;
1281
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1281
+ id: string;
1282
1282
  capture: "at_action" | "historical_lookup" | "fixture";
1283
1283
  locator?: string | undefined;
1284
1284
  }[];
@@ -1290,9 +1290,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1290
1290
  objective: string;
1291
1291
  runMode: "replay" | "fixture" | "live";
1292
1292
  evidence?: {
1293
- id: string;
1293
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1294
  label: string;
1295
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1295
+ id: string;
1296
1296
  capture: "at_action" | "historical_lookup" | "fixture";
1297
1297
  locator?: string | undefined;
1298
1298
  }[] | undefined;
@@ -1308,15 +1308,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1308
1308
  locator: z.ZodOptional<z.ZodString>;
1309
1309
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1310
1310
  }, "strict", z.ZodTypeAny, {
1311
- id: string;
1311
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
1312
  label: string;
1313
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
+ id: string;
1314
1314
  capture: "at_action" | "historical_lookup" | "fixture";
1315
1315
  locator?: string | undefined;
1316
1316
  }, {
1317
- id: string;
1317
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1318
1318
  label: string;
1319
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1319
+ id: string;
1320
1320
  capture: "at_action" | "historical_lookup" | "fixture";
1321
1321
  locator?: string | undefined;
1322
1322
  }>, "many">>;
@@ -1324,32 +1324,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1324
1324
  sessionId: z.ZodString;
1325
1325
  kind: z.ZodLiteral<"agent_status">;
1326
1326
  }, "strict", z.ZodTypeAny, {
1327
- label: string;
1328
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1329
1327
  kind: "agent_status";
1328
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1329
+ label: string;
1330
1330
  role: string;
1331
1331
  agentId: string;
1332
1332
  sessionId: string;
1333
1333
  evidence: {
1334
- id: string;
1334
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
1335
  label: string;
1336
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1336
+ id: string;
1337
1337
  capture: "at_action" | "historical_lookup" | "fixture";
1338
1338
  locator?: string | undefined;
1339
1339
  }[];
1340
1340
  detail?: string | undefined;
1341
1341
  }, {
1342
- label: string;
1343
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1344
1342
  kind: "agent_status";
1343
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1344
+ label: string;
1345
1345
  role: string;
1346
1346
  agentId: string;
1347
1347
  sessionId: string;
1348
1348
  detail?: string | undefined;
1349
1349
  evidence?: {
1350
- id: string;
1350
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
1351
  label: string;
1352
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1352
+ id: string;
1353
1353
  capture: "at_action" | "historical_lookup" | "fixture";
1354
1354
  locator?: string | undefined;
1355
1355
  }[] | undefined;
@@ -1363,15 +1363,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1363
1363
  locator: z.ZodOptional<z.ZodString>;
1364
1364
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1365
1365
  }, "strict", z.ZodTypeAny, {
1366
- id: string;
1366
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
1367
  label: string;
1368
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1368
+ id: string;
1369
1369
  capture: "at_action" | "historical_lookup" | "fixture";
1370
1370
  locator?: string | undefined;
1371
1371
  }, {
1372
- id: string;
1372
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1373
  label: string;
1374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1374
+ id: string;
1375
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1376
  locator?: string | undefined;
1377
1377
  }>, "many">>;
@@ -1379,28 +1379,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1379
1379
  sessionId: z.ZodString;
1380
1380
  kind: z.ZodLiteral<"agent_output">;
1381
1381
  }, "strict", z.ZodTypeAny, {
1382
- summary: string;
1383
1382
  kind: "agent_output";
1383
+ summary: string;
1384
1384
  agentId: string;
1385
1385
  sessionId: string;
1386
1386
  evidence: {
1387
- id: string;
1387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1388
  label: string;
1389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1389
+ id: string;
1390
1390
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1391
  locator?: string | undefined;
1392
1392
  }[];
1393
1393
  outputId: string;
1394
1394
  }, {
1395
- summary: string;
1396
1395
  kind: "agent_output";
1396
+ summary: string;
1397
1397
  agentId: string;
1398
1398
  sessionId: string;
1399
1399
  outputId: string;
1400
1400
  evidence?: {
1401
- id: string;
1401
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
1402
  label: string;
1403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1403
+ id: string;
1404
1404
  capture: "at_action" | "historical_lookup" | "fixture";
1405
1405
  locator?: string | undefined;
1406
1406
  }[] | undefined;
@@ -1416,15 +1416,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1416
1416
  locator: z.ZodOptional<z.ZodString>;
1417
1417
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1418
1418
  }, "strict", z.ZodTypeAny, {
1419
- id: string;
1419
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
1420
  label: string;
1421
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1421
+ id: string;
1422
1422
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1423
  locator?: string | undefined;
1424
1424
  }, {
1425
- id: string;
1425
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
1426
  label: string;
1427
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1427
+ id: string;
1428
1428
  capture: "at_action" | "historical_lookup" | "fixture";
1429
1429
  locator?: string | undefined;
1430
1430
  }>, "many">>;
@@ -1437,9 +1437,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1437
1437
  statement: string;
1438
1438
  sessionId: string;
1439
1439
  evidence: {
1440
- id: string;
1440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1441
1441
  label: string;
1442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1442
+ id: string;
1443
1443
  capture: "at_action" | "historical_lookup" | "fixture";
1444
1444
  locator?: string | undefined;
1445
1445
  }[];
@@ -1455,9 +1455,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1455
1455
  decisionId: string;
1456
1456
  confidence?: number | undefined;
1457
1457
  evidence?: {
1458
- id: string;
1458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
1459
  label: string;
1460
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
+ id: string;
1461
1461
  capture: "at_action" | "historical_lookup" | "fixture";
1462
1462
  locator?: string | undefined;
1463
1463
  }[] | undefined;
@@ -1474,25 +1474,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1474
1474
  locator: z.ZodOptional<z.ZodString>;
1475
1475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1476
1476
  }, "strict", z.ZodTypeAny, {
1477
- id: string;
1477
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
1478
  label: string;
1479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
+ id: string;
1480
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1481
  locator?: string | undefined;
1482
1482
  }, {
1483
- id: string;
1483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1484
  label: string;
1485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
+ id: string;
1486
1486
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1487
  locator?: string | undefined;
1488
1488
  }>, "many">>;
1489
1489
  }, "strict", z.ZodTypeAny, {
1490
- summary: string;
1491
1490
  kind: "conflict_detected";
1491
+ summary: string;
1492
1492
  evidence: {
1493
- id: string;
1493
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
1494
  label: string;
1495
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1495
+ id: string;
1496
1496
  capture: "at_action" | "historical_lookup" | "fixture";
1497
1497
  locator?: string | undefined;
1498
1498
  }[];
@@ -1500,15 +1500,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1500
1500
  decisionIds: string[];
1501
1501
  agentIds: string[];
1502
1502
  }, {
1503
- summary: string;
1504
1503
  kind: "conflict_detected";
1504
+ summary: string;
1505
1505
  conflictId: string;
1506
1506
  decisionIds: string[];
1507
1507
  agentIds: string[];
1508
1508
  evidence?: {
1509
- id: string;
1509
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1510
1510
  label: string;
1511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1511
+ id: string;
1512
1512
  capture: "at_action" | "historical_lookup" | "fixture";
1513
1513
  locator?: string | undefined;
1514
1514
  }[] | undefined;
@@ -1528,27 +1528,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1528
1528
  locator: z.ZodOptional<z.ZodString>;
1529
1529
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1530
1530
  }, "strict", z.ZodTypeAny, {
1531
- id: string;
1531
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
1532
  label: string;
1533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1533
+ id: string;
1534
1534
  capture: "at_action" | "historical_lookup" | "fixture";
1535
1535
  locator?: string | undefined;
1536
1536
  }, {
1537
- id: string;
1537
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1538
  label: string;
1539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1539
+ id: string;
1540
1540
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1541
  locator?: string | undefined;
1542
1542
  }>, "many">>;
1543
1543
  }, "strict", z.ZodTypeAny, {
1544
+ kind: "test_result";
1544
1545
  summary: string;
1545
1546
  status: "error" | "failed" | "passed";
1546
- kind: "test_result";
1547
1547
  command: string;
1548
1548
  evidence: {
1549
- id: string;
1549
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
1550
  label: string;
1551
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1551
+ id: string;
1552
1552
  capture: "at_action" | "historical_lookup" | "fixture";
1553
1553
  locator?: string | undefined;
1554
1554
  }[];
@@ -1557,17 +1557,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1557
1557
  durationMs?: number | undefined;
1558
1558
  correctionId?: string | undefined;
1559
1559
  }, {
1560
+ kind: "test_result";
1560
1561
  summary: string;
1561
1562
  status: "error" | "failed" | "passed";
1562
- kind: "test_result";
1563
1563
  command: string;
1564
1564
  decisionId: string;
1565
1565
  testId: string;
1566
1566
  durationMs?: number | undefined;
1567
1567
  evidence?: {
1568
- id: string;
1568
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1569
1569
  label: string;
1570
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1570
+ id: string;
1571
1571
  capture: "at_action" | "historical_lookup" | "fixture";
1572
1572
  locator?: string | undefined;
1573
1573
  }[] | undefined;
@@ -1588,15 +1588,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1588
1588
  locator: z.ZodOptional<z.ZodString>;
1589
1589
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1590
1590
  }, "strict", z.ZodTypeAny, {
1591
- id: string;
1591
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
1592
  label: string;
1593
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1593
+ id: string;
1594
1594
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1595
  locator?: string | undefined;
1596
1596
  }, {
1597
- id: string;
1597
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1598
  label: string;
1599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1599
+ id: string;
1600
1600
  capture: "at_action" | "historical_lookup" | "fixture";
1601
1601
  locator?: string | undefined;
1602
1602
  }>, "many">>;
@@ -1605,9 +1605,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1605
1605
  statement: string;
1606
1606
  rationale: string;
1607
1607
  evidence: {
1608
- id: string;
1608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1609
  label: string;
1610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1610
+ id: string;
1611
1611
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1612
  locator?: string | undefined;
1613
1613
  }[];
@@ -1626,9 +1626,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1626
1626
  supersedesDecisionIds: string[];
1627
1627
  proposedBy: string;
1628
1628
  evidence?: {
1629
- id: string;
1629
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
1630
  label: string;
1631
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1631
+ id: string;
1632
1632
  capture: "at_action" | "historical_lookup" | "fixture";
1633
1633
  locator?: string | undefined;
1634
1634
  }[] | undefined;
@@ -1640,13 +1640,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1640
1640
  id: z.ZodString;
1641
1641
  label: z.ZodString;
1642
1642
  }, "strict", z.ZodTypeAny, {
1643
- id: string;
1644
- label: string;
1645
1643
  kind: "agent" | "human";
1646
- }, {
1647
- id: string;
1648
1644
  label: string;
1645
+ id: string;
1646
+ }, {
1649
1647
  kind: "agent" | "human";
1648
+ label: string;
1649
+ id: string;
1650
1650
  }>;
1651
1651
  note: z.ZodOptional<z.ZodString>;
1652
1652
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1656,47 +1656,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1656
1656
  locator: z.ZodOptional<z.ZodString>;
1657
1657
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1658
1658
  }, "strict", z.ZodTypeAny, {
1659
- id: string;
1659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1660
1660
  label: string;
1661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1661
+ id: string;
1662
1662
  capture: "at_action" | "historical_lookup" | "fixture";
1663
1663
  locator?: string | undefined;
1664
1664
  }, {
1665
- id: string;
1665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
1666
  label: string;
1667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1667
+ id: string;
1668
1668
  capture: "at_action" | "historical_lookup" | "fixture";
1669
1669
  locator?: string | undefined;
1670
1670
  }>, "many">>;
1671
1671
  }, "strict", z.ZodTypeAny, {
1672
1672
  kind: "correction_approved";
1673
1673
  evidence: {
1674
- id: string;
1674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
1675
  label: string;
1676
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1676
+ id: string;
1677
1677
  capture: "at_action" | "historical_lookup" | "fixture";
1678
1678
  locator?: string | undefined;
1679
1679
  }[];
1680
1680
  correctionId: string;
1681
1681
  approvedBy: {
1682
- id: string;
1683
- label: string;
1684
1682
  kind: "agent" | "human";
1683
+ label: string;
1684
+ id: string;
1685
1685
  };
1686
1686
  note?: string | undefined;
1687
1687
  }, {
1688
1688
  kind: "correction_approved";
1689
1689
  correctionId: string;
1690
1690
  approvedBy: {
1691
- id: string;
1692
- label: string;
1693
1691
  kind: "agent" | "human";
1692
+ label: string;
1693
+ id: string;
1694
1694
  };
1695
1695
  note?: string | undefined;
1696
1696
  evidence?: {
1697
- id: string;
1697
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1698
  label: string;
1699
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1699
+ id: string;
1700
1700
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1701
  locator?: string | undefined;
1702
1702
  }[] | undefined;
@@ -1712,24 +1712,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1712
1712
  locator: z.ZodOptional<z.ZodString>;
1713
1713
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1714
1714
  }, "strict", z.ZodTypeAny, {
1715
- id: string;
1715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
1716
  label: string;
1717
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1717
+ id: string;
1718
1718
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1719
  locator?: string | undefined;
1720
1720
  }, {
1721
- id: string;
1721
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
1722
  label: string;
1723
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1723
+ id: string;
1724
1724
  capture: "at_action" | "historical_lookup" | "fixture";
1725
1725
  locator?: string | undefined;
1726
1726
  }>, "many">>;
1727
1727
  }, "strict", z.ZodTypeAny, {
1728
1728
  kind: "decision_superseded";
1729
1729
  evidence: {
1730
- id: string;
1730
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1731
  label: string;
1732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1732
+ id: string;
1733
1733
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1734
  locator?: string | undefined;
1735
1735
  }[];
@@ -1742,9 +1742,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1742
1742
  correctionId: string;
1743
1743
  replacementDecisionId: string;
1744
1744
  evidence?: {
1745
- id: string;
1745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1746
  label: string;
1747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1747
+ id: string;
1748
1748
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1749
  locator?: string | undefined;
1750
1750
  }[] | undefined;
@@ -1760,15 +1760,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1760
1760
  locator: z.ZodOptional<z.ZodString>;
1761
1761
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1762
1762
  }, "strict", z.ZodTypeAny, {
1763
- id: string;
1763
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
1764
  label: string;
1765
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1765
+ id: string;
1766
1766
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1767
  locator?: string | undefined;
1768
1768
  }, {
1769
- id: string;
1769
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
1770
  label: string;
1771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1771
+ id: string;
1772
1772
  capture: "at_action" | "historical_lookup" | "fixture";
1773
1773
  locator?: string | undefined;
1774
1774
  }>, "many">>;
@@ -1781,9 +1781,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1781
1781
  agentId: string;
1782
1782
  sessionId: string;
1783
1783
  evidence: {
1784
- id: string;
1784
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1785
1785
  label: string;
1786
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1786
+ id: string;
1787
1787
  capture: "at_action" | "historical_lookup" | "fixture";
1788
1788
  locator?: string | undefined;
1789
1789
  }[];
@@ -1799,9 +1799,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1799
1799
  recallReceiptId: string;
1800
1800
  capturedAtAction: boolean;
1801
1801
  evidence?: {
1802
- id: string;
1802
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
1803
  label: string;
1804
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1804
+ id: string;
1805
1805
  capture: "at_action" | "historical_lookup" | "fixture";
1806
1806
  locator?: string | undefined;
1807
1807
  }[] | undefined;
@@ -1817,15 +1817,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1817
1817
  locator: z.ZodOptional<z.ZodString>;
1818
1818
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1819
1819
  }, "strict", z.ZodTypeAny, {
1820
- id: string;
1820
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1821
  label: string;
1822
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1822
+ id: string;
1823
1823
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1824
  locator?: string | undefined;
1825
1825
  }, {
1826
- id: string;
1826
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
1827
  label: string;
1828
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1828
+ id: string;
1829
1829
  capture: "at_action" | "historical_lookup" | "fixture";
1830
1830
  locator?: string | undefined;
1831
1831
  }>, "many">>;
@@ -1837,9 +1837,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1837
1837
  agentId: string;
1838
1838
  sessionId: string;
1839
1839
  evidence: {
1840
- id: string;
1840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1841
1841
  label: string;
1842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1842
+ id: string;
1843
1843
  capture: "at_action" | "historical_lookup" | "fixture";
1844
1844
  locator?: string | undefined;
1845
1845
  }[];
@@ -1856,9 +1856,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1856
1856
  recallReceiptId: string;
1857
1857
  staleDecisionAbsent: boolean;
1858
1858
  evidence?: {
1859
- id: string;
1859
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
1860
  label: string;
1861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1861
+ id: string;
1862
1862
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1863
  locator?: string | undefined;
1864
1864
  }[] | undefined;
@@ -1873,37 +1873,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1873
1873
  locator: z.ZodOptional<z.ZodString>;
1874
1874
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1875
1875
  }, "strict", z.ZodTypeAny, {
1876
- id: string;
1876
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1877
1877
  label: string;
1878
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1878
+ id: string;
1879
1879
  capture: "at_action" | "historical_lookup" | "fixture";
1880
1880
  locator?: string | undefined;
1881
1881
  }, {
1882
- id: string;
1882
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
1883
  label: string;
1884
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
+ id: string;
1885
1885
  capture: "at_action" | "historical_lookup" | "fixture";
1886
1886
  locator?: string | undefined;
1887
1887
  }>, "many">>;
1888
1888
  }, "strict", z.ZodTypeAny, {
1889
- summary: string;
1890
1889
  kind: "mission_completed";
1890
+ summary: string;
1891
1891
  outcome: "failed" | "recovered" | "inconclusive";
1892
1892
  evidence: {
1893
- id: string;
1893
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
1894
  label: string;
1895
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1895
+ id: string;
1896
1896
  capture: "at_action" | "historical_lookup" | "fixture";
1897
1897
  locator?: string | undefined;
1898
1898
  }[];
1899
1899
  }, {
1900
- summary: string;
1901
1900
  kind: "mission_completed";
1901
+ summary: string;
1902
1902
  outcome: "failed" | "recovered" | "inconclusive";
1903
1903
  evidence?: {
1904
- id: string;
1904
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1905
  label: string;
1906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1906
+ id: string;
1907
1907
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1908
  locator?: string | undefined;
1909
1909
  }[] | undefined;
@@ -1911,38 +1911,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1911
1911
  kind: "mission_started";
1912
1912
  title: string;
1913
1913
  evidence: {
1914
- id: string;
1914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1915
  label: string;
1916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1916
+ id: string;
1917
1917
  capture: "at_action" | "historical_lookup" | "fixture";
1918
1918
  locator?: string | undefined;
1919
1919
  }[];
1920
1920
  objective: string;
1921
1921
  runMode: "replay" | "fixture" | "live";
1922
1922
  } | {
1923
- label: string;
1924
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1925
1923
  kind: "agent_status";
1924
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1925
+ label: string;
1926
1926
  role: string;
1927
1927
  agentId: string;
1928
1928
  sessionId: string;
1929
1929
  evidence: {
1930
- id: string;
1930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
1931
  label: string;
1932
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1932
+ id: string;
1933
1933
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1934
  locator?: string | undefined;
1935
1935
  }[];
1936
1936
  detail?: string | undefined;
1937
1937
  } | {
1938
- summary: string;
1939
1938
  kind: "agent_output";
1939
+ summary: string;
1940
1940
  agentId: string;
1941
1941
  sessionId: string;
1942
1942
  evidence: {
1943
- id: string;
1943
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1944
1944
  label: string;
1945
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1945
+ id: string;
1946
1946
  capture: "at_action" | "historical_lookup" | "fixture";
1947
1947
  locator?: string | undefined;
1948
1948
  }[];
@@ -1953,9 +1953,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1953
1953
  statement: string;
1954
1954
  sessionId: string;
1955
1955
  evidence: {
1956
- id: string;
1956
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
1957
  label: string;
1958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
+ id: string;
1959
1959
  capture: "at_action" | "historical_lookup" | "fixture";
1960
1960
  locator?: string | undefined;
1961
1961
  }[];
@@ -1963,12 +1963,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1963
1963
  decisionId: string;
1964
1964
  confidence?: number | undefined;
1965
1965
  } | {
1966
- summary: string;
1967
1966
  kind: "conflict_detected";
1967
+ summary: string;
1968
1968
  evidence: {
1969
- id: string;
1969
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
1970
  label: string;
1971
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1971
+ id: string;
1972
1972
  capture: "at_action" | "historical_lookup" | "fixture";
1973
1973
  locator?: string | undefined;
1974
1974
  }[];
@@ -1976,14 +1976,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1976
1976
  decisionIds: string[];
1977
1977
  agentIds: string[];
1978
1978
  } | {
1979
+ kind: "test_result";
1979
1980
  summary: string;
1980
1981
  status: "error" | "failed" | "passed";
1981
- kind: "test_result";
1982
1982
  command: string;
1983
1983
  evidence: {
1984
- id: string;
1984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1985
1985
  label: string;
1986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
+ id: string;
1987
1987
  capture: "at_action" | "historical_lookup" | "fixture";
1988
1988
  locator?: string | undefined;
1989
1989
  }[];
@@ -1996,9 +1996,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1996
1996
  statement: string;
1997
1997
  rationale: string;
1998
1998
  evidence: {
1999
- id: string;
1999
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
2000
  label: string;
2001
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2001
+ id: string;
2002
2002
  capture: "at_action" | "historical_lookup" | "fixture";
2003
2003
  locator?: string | undefined;
2004
2004
  }[];
@@ -2010,25 +2010,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2010
2010
  } | {
2011
2011
  kind: "correction_approved";
2012
2012
  evidence: {
2013
- id: string;
2013
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
2014
  label: string;
2015
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2015
+ id: string;
2016
2016
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2017
  locator?: string | undefined;
2018
2018
  }[];
2019
2019
  correctionId: string;
2020
2020
  approvedBy: {
2021
- id: string;
2022
- label: string;
2023
2021
  kind: "agent" | "human";
2022
+ label: string;
2023
+ id: string;
2024
2024
  };
2025
2025
  note?: string | undefined;
2026
2026
  } | {
2027
2027
  kind: "decision_superseded";
2028
2028
  evidence: {
2029
- id: string;
2029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2030
  label: string;
2031
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
+ id: string;
2032
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2033
  locator?: string | undefined;
2034
2034
  }[];
@@ -2041,9 +2041,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2041
2041
  agentId: string;
2042
2042
  sessionId: string;
2043
2043
  evidence: {
2044
- id: string;
2044
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2045
  label: string;
2046
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2046
+ id: string;
2047
2047
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2048
  locator?: string | undefined;
2049
2049
  }[];
@@ -2055,9 +2055,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2055
2055
  agentId: string;
2056
2056
  sessionId: string;
2057
2057
  evidence: {
2058
- id: string;
2058
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2059
2059
  label: string;
2060
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2060
+ id: string;
2061
2061
  capture: "at_action" | "historical_lookup" | "fixture";
2062
2062
  locator?: string | undefined;
2063
2063
  }[];
@@ -2066,13 +2066,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2066
2066
  recallReceiptId: string;
2067
2067
  staleDecisionAbsent: boolean;
2068
2068
  } | {
2069
- summary: string;
2070
2069
  kind: "mission_completed";
2070
+ summary: string;
2071
2071
  outcome: "failed" | "recovered" | "inconclusive";
2072
2072
  evidence: {
2073
- id: string;
2073
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
2074
  label: string;
2075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2075
+ id: string;
2076
2076
  capture: "at_action" | "historical_lookup" | "fixture";
2077
2077
  locator?: string | undefined;
2078
2078
  }[];
@@ -2082,37 +2082,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2082
2082
  objective: string;
2083
2083
  runMode: "replay" | "fixture" | "live";
2084
2084
  evidence?: {
2085
- id: string;
2085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2086
  label: string;
2087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2087
+ id: string;
2088
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2089
  locator?: string | undefined;
2090
2090
  }[] | undefined;
2091
2091
  } | {
2092
- label: string;
2093
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2094
2092
  kind: "agent_status";
2093
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2094
+ label: string;
2095
2095
  role: string;
2096
2096
  agentId: string;
2097
2097
  sessionId: string;
2098
2098
  detail?: string | undefined;
2099
2099
  evidence?: {
2100
- id: string;
2100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
2101
  label: string;
2102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2102
+ id: string;
2103
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2104
  locator?: string | undefined;
2105
2105
  }[] | undefined;
2106
2106
  } | {
2107
- summary: string;
2108
2107
  kind: "agent_output";
2108
+ summary: string;
2109
2109
  agentId: string;
2110
2110
  sessionId: string;
2111
2111
  outputId: string;
2112
2112
  evidence?: {
2113
- id: string;
2113
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
2114
  label: string;
2115
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2115
+ id: string;
2116
2116
  capture: "at_action" | "historical_lookup" | "fixture";
2117
2117
  locator?: string | undefined;
2118
2118
  }[] | undefined;
@@ -2125,37 +2125,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2125
2125
  decisionId: string;
2126
2126
  confidence?: number | undefined;
2127
2127
  evidence?: {
2128
- id: string;
2128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
2129
  label: string;
2130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2130
+ id: string;
2131
2131
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2132
  locator?: string | undefined;
2133
2133
  }[] | undefined;
2134
2134
  } | {
2135
- summary: string;
2136
2135
  kind: "conflict_detected";
2136
+ summary: string;
2137
2137
  conflictId: string;
2138
2138
  decisionIds: string[];
2139
2139
  agentIds: string[];
2140
2140
  evidence?: {
2141
- id: string;
2141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
2142
  label: string;
2143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2143
+ id: string;
2144
2144
  capture: "at_action" | "historical_lookup" | "fixture";
2145
2145
  locator?: string | undefined;
2146
2146
  }[] | undefined;
2147
2147
  } | {
2148
+ kind: "test_result";
2148
2149
  summary: string;
2149
2150
  status: "error" | "failed" | "passed";
2150
- kind: "test_result";
2151
2151
  command: string;
2152
2152
  decisionId: string;
2153
2153
  testId: string;
2154
2154
  durationMs?: number | undefined;
2155
2155
  evidence?: {
2156
- id: string;
2156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
2157
  label: string;
2158
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
+ id: string;
2159
2159
  capture: "at_action" | "historical_lookup" | "fixture";
2160
2160
  locator?: string | undefined;
2161
2161
  }[] | undefined;
@@ -2170,9 +2170,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2170
2170
  supersedesDecisionIds: string[];
2171
2171
  proposedBy: string;
2172
2172
  evidence?: {
2173
- id: string;
2173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2174
2174
  label: string;
2175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
+ id: string;
2176
2176
  capture: "at_action" | "historical_lookup" | "fixture";
2177
2177
  locator?: string | undefined;
2178
2178
  }[] | undefined;
@@ -2180,15 +2180,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2180
2180
  kind: "correction_approved";
2181
2181
  correctionId: string;
2182
2182
  approvedBy: {
2183
- id: string;
2184
- label: string;
2185
2183
  kind: "agent" | "human";
2184
+ label: string;
2185
+ id: string;
2186
2186
  };
2187
2187
  note?: string | undefined;
2188
2188
  evidence?: {
2189
- id: string;
2189
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
2190
  label: string;
2191
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2191
+ id: string;
2192
2192
  capture: "at_action" | "historical_lookup" | "fixture";
2193
2193
  locator?: string | undefined;
2194
2194
  }[] | undefined;
@@ -2198,9 +2198,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2198
2198
  correctionId: string;
2199
2199
  replacementDecisionId: string;
2200
2200
  evidence?: {
2201
- id: string;
2201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2202
  label: string;
2203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2203
+ id: string;
2204
2204
  capture: "at_action" | "historical_lookup" | "fixture";
2205
2205
  locator?: string | undefined;
2206
2206
  }[] | undefined;
@@ -2213,9 +2213,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2213
2213
  recallReceiptId: string;
2214
2214
  capturedAtAction: boolean;
2215
2215
  evidence?: {
2216
- id: string;
2216
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
2217
  label: string;
2218
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2218
+ id: string;
2219
2219
  capture: "at_action" | "historical_lookup" | "fixture";
2220
2220
  locator?: string | undefined;
2221
2221
  }[] | undefined;
@@ -2228,20 +2228,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2228
2228
  recallReceiptId: string;
2229
2229
  staleDecisionAbsent: boolean;
2230
2230
  evidence?: {
2231
- id: string;
2231
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
2232
  label: string;
2233
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
+ id: string;
2234
2234
  capture: "at_action" | "historical_lookup" | "fixture";
2235
2235
  locator?: string | undefined;
2236
2236
  }[] | undefined;
2237
2237
  } | {
2238
- summary: string;
2239
2238
  kind: "mission_completed";
2239
+ summary: string;
2240
2240
  outcome: "failed" | "recovered" | "inconclusive";
2241
2241
  evidence?: {
2242
- id: string;
2242
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
2243
  label: string;
2244
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2244
+ id: string;
2245
2245
  capture: "at_action" | "historical_lookup" | "fixture";
2246
2246
  locator?: string | undefined;
2247
2247
  }[] | undefined;
@@ -2262,15 +2262,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2262
2262
  locator: z.ZodOptional<z.ZodString>;
2263
2263
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2264
2264
  }, "strict", z.ZodTypeAny, {
2265
- id: string;
2265
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
2266
  label: string;
2267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2267
+ id: string;
2268
2268
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2269
  locator?: string | undefined;
2270
2270
  }, {
2271
- id: string;
2271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
2272
  label: string;
2273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
+ id: string;
2274
2274
  capture: "at_action" | "historical_lookup" | "fixture";
2275
2275
  locator?: string | undefined;
2276
2276
  }>, "many">>;
@@ -2278,9 +2278,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2278
2278
  kind: "mission_started";
2279
2279
  title: string;
2280
2280
  evidence: {
2281
- id: string;
2281
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2282
2282
  label: string;
2283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2283
+ id: string;
2284
2284
  capture: "at_action" | "historical_lookup" | "fixture";
2285
2285
  locator?: string | undefined;
2286
2286
  }[];
@@ -2292,9 +2292,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2292
2292
  objective: string;
2293
2293
  runMode: "replay" | "fixture" | "live";
2294
2294
  evidence?: {
2295
- id: string;
2295
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2296
  label: string;
2297
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2297
+ id: string;
2298
2298
  capture: "at_action" | "historical_lookup" | "fixture";
2299
2299
  locator?: string | undefined;
2300
2300
  }[] | undefined;
@@ -2310,15 +2310,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2310
2310
  locator: z.ZodOptional<z.ZodString>;
2311
2311
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2312
2312
  }, "strict", z.ZodTypeAny, {
2313
- id: string;
2313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
2314
  label: string;
2315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
+ id: string;
2316
2316
  capture: "at_action" | "historical_lookup" | "fixture";
2317
2317
  locator?: string | undefined;
2318
2318
  }, {
2319
- id: string;
2319
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2320
2320
  label: string;
2321
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2321
+ id: string;
2322
2322
  capture: "at_action" | "historical_lookup" | "fixture";
2323
2323
  locator?: string | undefined;
2324
2324
  }>, "many">>;
@@ -2326,32 +2326,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2326
2326
  sessionId: z.ZodString;
2327
2327
  kind: z.ZodLiteral<"agent_status">;
2328
2328
  }, "strict", z.ZodTypeAny, {
2329
- label: string;
2330
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2331
2329
  kind: "agent_status";
2330
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2331
+ label: string;
2332
2332
  role: string;
2333
2333
  agentId: string;
2334
2334
  sessionId: string;
2335
2335
  evidence: {
2336
- id: string;
2336
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
2337
  label: string;
2338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2338
+ id: string;
2339
2339
  capture: "at_action" | "historical_lookup" | "fixture";
2340
2340
  locator?: string | undefined;
2341
2341
  }[];
2342
2342
  detail?: string | undefined;
2343
2343
  }, {
2344
- label: string;
2345
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2346
2344
  kind: "agent_status";
2345
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2346
+ label: string;
2347
2347
  role: string;
2348
2348
  agentId: string;
2349
2349
  sessionId: string;
2350
2350
  detail?: string | undefined;
2351
2351
  evidence?: {
2352
- id: string;
2352
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
2353
  label: string;
2354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2354
+ id: string;
2355
2355
  capture: "at_action" | "historical_lookup" | "fixture";
2356
2356
  locator?: string | undefined;
2357
2357
  }[] | undefined;
@@ -2365,15 +2365,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2365
2365
  locator: z.ZodOptional<z.ZodString>;
2366
2366
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2367
2367
  }, "strict", z.ZodTypeAny, {
2368
- id: string;
2368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
2369
  label: string;
2370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2370
+ id: string;
2371
2371
  capture: "at_action" | "historical_lookup" | "fixture";
2372
2372
  locator?: string | undefined;
2373
2373
  }, {
2374
- id: string;
2374
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2375
  label: string;
2376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2376
+ id: string;
2377
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2378
  locator?: string | undefined;
2379
2379
  }>, "many">>;
@@ -2381,28 +2381,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2381
2381
  sessionId: z.ZodString;
2382
2382
  kind: z.ZodLiteral<"agent_output">;
2383
2383
  }, "strict", z.ZodTypeAny, {
2384
- summary: string;
2385
2384
  kind: "agent_output";
2385
+ summary: string;
2386
2386
  agentId: string;
2387
2387
  sessionId: string;
2388
2388
  evidence: {
2389
- id: string;
2389
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2390
  label: string;
2391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2391
+ id: string;
2392
2392
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2393
  locator?: string | undefined;
2394
2394
  }[];
2395
2395
  outputId: string;
2396
2396
  }, {
2397
- summary: string;
2398
2397
  kind: "agent_output";
2398
+ summary: string;
2399
2399
  agentId: string;
2400
2400
  sessionId: string;
2401
2401
  outputId: string;
2402
2402
  evidence?: {
2403
- id: string;
2403
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
2404
  label: string;
2405
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2405
+ id: string;
2406
2406
  capture: "at_action" | "historical_lookup" | "fixture";
2407
2407
  locator?: string | undefined;
2408
2408
  }[] | undefined;
@@ -2418,15 +2418,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2418
2418
  locator: z.ZodOptional<z.ZodString>;
2419
2419
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2420
2420
  }, "strict", z.ZodTypeAny, {
2421
- id: string;
2421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
2422
  label: string;
2423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2423
+ id: string;
2424
2424
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2425
  locator?: string | undefined;
2426
2426
  }, {
2427
- id: string;
2427
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
2428
  label: string;
2429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2429
+ id: string;
2430
2430
  capture: "at_action" | "historical_lookup" | "fixture";
2431
2431
  locator?: string | undefined;
2432
2432
  }>, "many">>;
@@ -2439,9 +2439,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2439
2439
  statement: string;
2440
2440
  sessionId: string;
2441
2441
  evidence: {
2442
- id: string;
2442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2443
2443
  label: string;
2444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2444
+ id: string;
2445
2445
  capture: "at_action" | "historical_lookup" | "fixture";
2446
2446
  locator?: string | undefined;
2447
2447
  }[];
@@ -2457,9 +2457,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2457
2457
  decisionId: string;
2458
2458
  confidence?: number | undefined;
2459
2459
  evidence?: {
2460
- id: string;
2460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
2461
  label: string;
2462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
+ id: string;
2463
2463
  capture: "at_action" | "historical_lookup" | "fixture";
2464
2464
  locator?: string | undefined;
2465
2465
  }[] | undefined;
@@ -2476,25 +2476,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2476
2476
  locator: z.ZodOptional<z.ZodString>;
2477
2477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2478
2478
  }, "strict", z.ZodTypeAny, {
2479
- id: string;
2479
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
2480
  label: string;
2481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
+ id: string;
2482
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2483
  locator?: string | undefined;
2484
2484
  }, {
2485
- id: string;
2485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2486
  label: string;
2487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
+ id: string;
2488
2488
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2489
  locator?: string | undefined;
2490
2490
  }>, "many">>;
2491
2491
  }, "strict", z.ZodTypeAny, {
2492
- summary: string;
2493
2492
  kind: "conflict_detected";
2493
+ summary: string;
2494
2494
  evidence: {
2495
- id: string;
2495
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
2496
  label: string;
2497
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2497
+ id: string;
2498
2498
  capture: "at_action" | "historical_lookup" | "fixture";
2499
2499
  locator?: string | undefined;
2500
2500
  }[];
@@ -2502,15 +2502,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2502
2502
  decisionIds: string[];
2503
2503
  agentIds: string[];
2504
2504
  }, {
2505
- summary: string;
2506
2505
  kind: "conflict_detected";
2506
+ summary: string;
2507
2507
  conflictId: string;
2508
2508
  decisionIds: string[];
2509
2509
  agentIds: string[];
2510
2510
  evidence?: {
2511
- id: string;
2511
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2512
2512
  label: string;
2513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2513
+ id: string;
2514
2514
  capture: "at_action" | "historical_lookup" | "fixture";
2515
2515
  locator?: string | undefined;
2516
2516
  }[] | undefined;
@@ -2530,27 +2530,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2530
2530
  locator: z.ZodOptional<z.ZodString>;
2531
2531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2532
2532
  }, "strict", z.ZodTypeAny, {
2533
- id: string;
2533
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
2534
  label: string;
2535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2535
+ id: string;
2536
2536
  capture: "at_action" | "historical_lookup" | "fixture";
2537
2537
  locator?: string | undefined;
2538
2538
  }, {
2539
- id: string;
2539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2540
  label: string;
2541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2541
+ id: string;
2542
2542
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2543
  locator?: string | undefined;
2544
2544
  }>, "many">>;
2545
2545
  }, "strict", z.ZodTypeAny, {
2546
+ kind: "test_result";
2546
2547
  summary: string;
2547
2548
  status: "error" | "failed" | "passed";
2548
- kind: "test_result";
2549
2549
  command: string;
2550
2550
  evidence: {
2551
- id: string;
2551
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
2552
  label: string;
2553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2553
+ id: string;
2554
2554
  capture: "at_action" | "historical_lookup" | "fixture";
2555
2555
  locator?: string | undefined;
2556
2556
  }[];
@@ -2559,17 +2559,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2559
2559
  durationMs?: number | undefined;
2560
2560
  correctionId?: string | undefined;
2561
2561
  }, {
2562
+ kind: "test_result";
2562
2563
  summary: string;
2563
2564
  status: "error" | "failed" | "passed";
2564
- kind: "test_result";
2565
2565
  command: string;
2566
2566
  decisionId: string;
2567
2567
  testId: string;
2568
2568
  durationMs?: number | undefined;
2569
2569
  evidence?: {
2570
- id: string;
2570
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2571
2571
  label: string;
2572
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2572
+ id: string;
2573
2573
  capture: "at_action" | "historical_lookup" | "fixture";
2574
2574
  locator?: string | undefined;
2575
2575
  }[] | undefined;
@@ -2590,15 +2590,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2590
2590
  locator: z.ZodOptional<z.ZodString>;
2591
2591
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2592
2592
  }, "strict", z.ZodTypeAny, {
2593
- id: string;
2593
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
2594
  label: string;
2595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2595
+ id: string;
2596
2596
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2597
  locator?: string | undefined;
2598
2598
  }, {
2599
- id: string;
2599
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2600
  label: string;
2601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2601
+ id: string;
2602
2602
  capture: "at_action" | "historical_lookup" | "fixture";
2603
2603
  locator?: string | undefined;
2604
2604
  }>, "many">>;
@@ -2607,9 +2607,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2607
2607
  statement: string;
2608
2608
  rationale: string;
2609
2609
  evidence: {
2610
- id: string;
2610
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2611
  label: string;
2612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2612
+ id: string;
2613
2613
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2614
  locator?: string | undefined;
2615
2615
  }[];
@@ -2628,9 +2628,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2628
2628
  supersedesDecisionIds: string[];
2629
2629
  proposedBy: string;
2630
2630
  evidence?: {
2631
- id: string;
2631
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
2632
  label: string;
2633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2633
+ id: string;
2634
2634
  capture: "at_action" | "historical_lookup" | "fixture";
2635
2635
  locator?: string | undefined;
2636
2636
  }[] | undefined;
@@ -2642,13 +2642,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2642
2642
  id: z.ZodString;
2643
2643
  label: z.ZodString;
2644
2644
  }, "strict", z.ZodTypeAny, {
2645
- id: string;
2646
- label: string;
2647
2645
  kind: "agent" | "human";
2648
- }, {
2649
- id: string;
2650
2646
  label: string;
2647
+ id: string;
2648
+ }, {
2651
2649
  kind: "agent" | "human";
2650
+ label: string;
2651
+ id: string;
2652
2652
  }>;
2653
2653
  note: z.ZodOptional<z.ZodString>;
2654
2654
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2658,47 +2658,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2658
2658
  locator: z.ZodOptional<z.ZodString>;
2659
2659
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2660
2660
  }, "strict", z.ZodTypeAny, {
2661
- id: string;
2661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2662
2662
  label: string;
2663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2663
+ id: string;
2664
2664
  capture: "at_action" | "historical_lookup" | "fixture";
2665
2665
  locator?: string | undefined;
2666
2666
  }, {
2667
- id: string;
2667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
2668
  label: string;
2669
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2669
+ id: string;
2670
2670
  capture: "at_action" | "historical_lookup" | "fixture";
2671
2671
  locator?: string | undefined;
2672
2672
  }>, "many">>;
2673
2673
  }, "strict", z.ZodTypeAny, {
2674
2674
  kind: "correction_approved";
2675
2675
  evidence: {
2676
- id: string;
2676
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
2677
  label: string;
2678
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2678
+ id: string;
2679
2679
  capture: "at_action" | "historical_lookup" | "fixture";
2680
2680
  locator?: string | undefined;
2681
2681
  }[];
2682
2682
  correctionId: string;
2683
2683
  approvedBy: {
2684
- id: string;
2685
- label: string;
2686
2684
  kind: "agent" | "human";
2685
+ label: string;
2686
+ id: string;
2687
2687
  };
2688
2688
  note?: string | undefined;
2689
2689
  }, {
2690
2690
  kind: "correction_approved";
2691
2691
  correctionId: string;
2692
2692
  approvedBy: {
2693
- id: string;
2694
- label: string;
2695
2693
  kind: "agent" | "human";
2694
+ label: string;
2695
+ id: string;
2696
2696
  };
2697
2697
  note?: string | undefined;
2698
2698
  evidence?: {
2699
- id: string;
2699
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2700
  label: string;
2701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2701
+ id: string;
2702
2702
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2703
  locator?: string | undefined;
2704
2704
  }[] | undefined;
@@ -2714,24 +2714,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2714
2714
  locator: z.ZodOptional<z.ZodString>;
2715
2715
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2716
2716
  }, "strict", z.ZodTypeAny, {
2717
- id: string;
2717
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
2718
  label: string;
2719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2719
+ id: string;
2720
2720
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2721
  locator?: string | undefined;
2722
2722
  }, {
2723
- id: string;
2723
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
2724
  label: string;
2725
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2725
+ id: string;
2726
2726
  capture: "at_action" | "historical_lookup" | "fixture";
2727
2727
  locator?: string | undefined;
2728
2728
  }>, "many">>;
2729
2729
  }, "strict", z.ZodTypeAny, {
2730
2730
  kind: "decision_superseded";
2731
2731
  evidence: {
2732
- id: string;
2732
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2733
  label: string;
2734
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2734
+ id: string;
2735
2735
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2736
  locator?: string | undefined;
2737
2737
  }[];
@@ -2744,9 +2744,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2744
2744
  correctionId: string;
2745
2745
  replacementDecisionId: string;
2746
2746
  evidence?: {
2747
- id: string;
2747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2748
  label: string;
2749
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2749
+ id: string;
2750
2750
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2751
  locator?: string | undefined;
2752
2752
  }[] | undefined;
@@ -2762,15 +2762,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2762
2762
  locator: z.ZodOptional<z.ZodString>;
2763
2763
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2764
2764
  }, "strict", z.ZodTypeAny, {
2765
- id: string;
2765
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
2766
  label: string;
2767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2767
+ id: string;
2768
2768
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2769
  locator?: string | undefined;
2770
2770
  }, {
2771
- id: string;
2771
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
2772
  label: string;
2773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2773
+ id: string;
2774
2774
  capture: "at_action" | "historical_lookup" | "fixture";
2775
2775
  locator?: string | undefined;
2776
2776
  }>, "many">>;
@@ -2783,9 +2783,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2783
2783
  agentId: string;
2784
2784
  sessionId: string;
2785
2785
  evidence: {
2786
- id: string;
2786
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2787
2787
  label: string;
2788
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2788
+ id: string;
2789
2789
  capture: "at_action" | "historical_lookup" | "fixture";
2790
2790
  locator?: string | undefined;
2791
2791
  }[];
@@ -2801,9 +2801,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2801
2801
  recallReceiptId: string;
2802
2802
  capturedAtAction: boolean;
2803
2803
  evidence?: {
2804
- id: string;
2804
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
2805
  label: string;
2806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2806
+ id: string;
2807
2807
  capture: "at_action" | "historical_lookup" | "fixture";
2808
2808
  locator?: string | undefined;
2809
2809
  }[] | undefined;
@@ -2819,15 +2819,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2819
2819
  locator: z.ZodOptional<z.ZodString>;
2820
2820
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2821
2821
  }, "strict", z.ZodTypeAny, {
2822
- id: string;
2822
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2823
  label: string;
2824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2824
+ id: string;
2825
2825
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2826
  locator?: string | undefined;
2827
2827
  }, {
2828
- id: string;
2828
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
2829
  label: string;
2830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2830
+ id: string;
2831
2831
  capture: "at_action" | "historical_lookup" | "fixture";
2832
2832
  locator?: string | undefined;
2833
2833
  }>, "many">>;
@@ -2839,9 +2839,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2839
2839
  agentId: string;
2840
2840
  sessionId: string;
2841
2841
  evidence: {
2842
- id: string;
2842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2843
2843
  label: string;
2844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2844
+ id: string;
2845
2845
  capture: "at_action" | "historical_lookup" | "fixture";
2846
2846
  locator?: string | undefined;
2847
2847
  }[];
@@ -2858,9 +2858,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2858
2858
  recallReceiptId: string;
2859
2859
  staleDecisionAbsent: boolean;
2860
2860
  evidence?: {
2861
- id: string;
2861
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
2862
  label: string;
2863
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2863
+ id: string;
2864
2864
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2865
  locator?: string | undefined;
2866
2866
  }[] | undefined;
@@ -2875,37 +2875,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2875
2875
  locator: z.ZodOptional<z.ZodString>;
2876
2876
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2877
2877
  }, "strict", z.ZodTypeAny, {
2878
- id: string;
2878
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2879
2879
  label: string;
2880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2880
+ id: string;
2881
2881
  capture: "at_action" | "historical_lookup" | "fixture";
2882
2882
  locator?: string | undefined;
2883
2883
  }, {
2884
- id: string;
2884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2885
2885
  label: string;
2886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
+ id: string;
2887
2887
  capture: "at_action" | "historical_lookup" | "fixture";
2888
2888
  locator?: string | undefined;
2889
2889
  }>, "many">>;
2890
2890
  }, "strict", z.ZodTypeAny, {
2891
- summary: string;
2892
2891
  kind: "mission_completed";
2892
+ summary: string;
2893
2893
  outcome: "failed" | "recovered" | "inconclusive";
2894
2894
  evidence: {
2895
- id: string;
2895
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
2896
  label: string;
2897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2897
+ id: string;
2898
2898
  capture: "at_action" | "historical_lookup" | "fixture";
2899
2899
  locator?: string | undefined;
2900
2900
  }[];
2901
2901
  }, {
2902
- summary: string;
2903
2902
  kind: "mission_completed";
2903
+ summary: string;
2904
2904
  outcome: "failed" | "recovered" | "inconclusive";
2905
2905
  evidence?: {
2906
- id: string;
2906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
2907
  label: string;
2908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2908
+ id: string;
2909
2909
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2910
  locator?: string | undefined;
2911
2911
  }[] | undefined;
@@ -2913,38 +2913,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2913
2913
  kind: "mission_started";
2914
2914
  title: string;
2915
2915
  evidence: {
2916
- id: string;
2916
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2917
  label: string;
2918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2918
+ id: string;
2919
2919
  capture: "at_action" | "historical_lookup" | "fixture";
2920
2920
  locator?: string | undefined;
2921
2921
  }[];
2922
2922
  objective: string;
2923
2923
  runMode: "replay" | "fixture" | "live";
2924
2924
  } | {
2925
- label: string;
2926
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2927
2925
  kind: "agent_status";
2926
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2927
+ label: string;
2928
2928
  role: string;
2929
2929
  agentId: string;
2930
2930
  sessionId: string;
2931
2931
  evidence: {
2932
- id: string;
2932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
2933
  label: string;
2934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2934
+ id: string;
2935
2935
  capture: "at_action" | "historical_lookup" | "fixture";
2936
2936
  locator?: string | undefined;
2937
2937
  }[];
2938
2938
  detail?: string | undefined;
2939
2939
  } | {
2940
- summary: string;
2941
2940
  kind: "agent_output";
2941
+ summary: string;
2942
2942
  agentId: string;
2943
2943
  sessionId: string;
2944
2944
  evidence: {
2945
- id: string;
2945
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
2946
  label: string;
2947
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2947
+ id: string;
2948
2948
  capture: "at_action" | "historical_lookup" | "fixture";
2949
2949
  locator?: string | undefined;
2950
2950
  }[];
@@ -2955,9 +2955,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2955
  statement: string;
2956
2956
  sessionId: string;
2957
2957
  evidence: {
2958
- id: string;
2958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
2959
  label: string;
2960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2960
+ id: string;
2961
2961
  capture: "at_action" | "historical_lookup" | "fixture";
2962
2962
  locator?: string | undefined;
2963
2963
  }[];
@@ -2965,12 +2965,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2965
2965
  decisionId: string;
2966
2966
  confidence?: number | undefined;
2967
2967
  } | {
2968
- summary: string;
2969
2968
  kind: "conflict_detected";
2969
+ summary: string;
2970
2970
  evidence: {
2971
- id: string;
2971
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
2972
  label: string;
2973
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2973
+ id: string;
2974
2974
  capture: "at_action" | "historical_lookup" | "fixture";
2975
2975
  locator?: string | undefined;
2976
2976
  }[];
@@ -2978,14 +2978,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2978
2978
  decisionIds: string[];
2979
2979
  agentIds: string[];
2980
2980
  } | {
2981
+ kind: "test_result";
2981
2982
  summary: string;
2982
2983
  status: "error" | "failed" | "passed";
2983
- kind: "test_result";
2984
2984
  command: string;
2985
2985
  evidence: {
2986
- id: string;
2986
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
2987
  label: string;
2988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
+ id: string;
2989
2989
  capture: "at_action" | "historical_lookup" | "fixture";
2990
2990
  locator?: string | undefined;
2991
2991
  }[];
@@ -2998,9 +2998,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2998
2998
  statement: string;
2999
2999
  rationale: string;
3000
3000
  evidence: {
3001
- id: string;
3001
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3002
3002
  label: string;
3003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3003
+ id: string;
3004
3004
  capture: "at_action" | "historical_lookup" | "fixture";
3005
3005
  locator?: string | undefined;
3006
3006
  }[];
@@ -3012,25 +3012,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3012
3012
  } | {
3013
3013
  kind: "correction_approved";
3014
3014
  evidence: {
3015
- id: string;
3015
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
3016
  label: string;
3017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3017
+ id: string;
3018
3018
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3019
  locator?: string | undefined;
3020
3020
  }[];
3021
3021
  correctionId: string;
3022
3022
  approvedBy: {
3023
- id: string;
3024
- label: string;
3025
3023
  kind: "agent" | "human";
3024
+ label: string;
3025
+ id: string;
3026
3026
  };
3027
3027
  note?: string | undefined;
3028
3028
  } | {
3029
3029
  kind: "decision_superseded";
3030
3030
  evidence: {
3031
- id: string;
3031
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
3032
  label: string;
3033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3033
+ id: string;
3034
3034
  capture: "at_action" | "historical_lookup" | "fixture";
3035
3035
  locator?: string | undefined;
3036
3036
  }[];
@@ -3043,9 +3043,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3043
3043
  agentId: string;
3044
3044
  sessionId: string;
3045
3045
  evidence: {
3046
- id: string;
3046
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3047
  label: string;
3048
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3048
+ id: string;
3049
3049
  capture: "at_action" | "historical_lookup" | "fixture";
3050
3050
  locator?: string | undefined;
3051
3051
  }[];
@@ -3057,9 +3057,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3057
3057
  agentId: string;
3058
3058
  sessionId: string;
3059
3059
  evidence: {
3060
- id: string;
3060
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3061
3061
  label: string;
3062
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3062
+ id: string;
3063
3063
  capture: "at_action" | "historical_lookup" | "fixture";
3064
3064
  locator?: string | undefined;
3065
3065
  }[];
@@ -3068,13 +3068,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3068
3068
  recallReceiptId: string;
3069
3069
  staleDecisionAbsent: boolean;
3070
3070
  } | {
3071
- summary: string;
3072
3071
  kind: "mission_completed";
3072
+ summary: string;
3073
3073
  outcome: "failed" | "recovered" | "inconclusive";
3074
3074
  evidence: {
3075
- id: string;
3075
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3076
3076
  label: string;
3077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3077
+ id: string;
3078
3078
  capture: "at_action" | "historical_lookup" | "fixture";
3079
3079
  locator?: string | undefined;
3080
3080
  }[];
@@ -3084,37 +3084,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3084
3084
  objective: string;
3085
3085
  runMode: "replay" | "fixture" | "live";
3086
3086
  evidence?: {
3087
- id: string;
3087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3088
  label: string;
3089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3089
+ id: string;
3090
3090
  capture: "at_action" | "historical_lookup" | "fixture";
3091
3091
  locator?: string | undefined;
3092
3092
  }[] | undefined;
3093
3093
  } | {
3094
- label: string;
3095
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3096
3094
  kind: "agent_status";
3095
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3096
+ label: string;
3097
3097
  role: string;
3098
3098
  agentId: string;
3099
3099
  sessionId: string;
3100
3100
  detail?: string | undefined;
3101
3101
  evidence?: {
3102
- id: string;
3102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
3103
  label: string;
3104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3104
+ id: string;
3105
3105
  capture: "at_action" | "historical_lookup" | "fixture";
3106
3106
  locator?: string | undefined;
3107
3107
  }[] | undefined;
3108
3108
  } | {
3109
- summary: string;
3110
3109
  kind: "agent_output";
3110
+ summary: string;
3111
3111
  agentId: string;
3112
3112
  sessionId: string;
3113
3113
  outputId: string;
3114
3114
  evidence?: {
3115
- id: string;
3115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3116
  label: string;
3117
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3117
+ id: string;
3118
3118
  capture: "at_action" | "historical_lookup" | "fixture";
3119
3119
  locator?: string | undefined;
3120
3120
  }[] | undefined;
@@ -3127,37 +3127,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3127
3127
  decisionId: string;
3128
3128
  confidence?: number | undefined;
3129
3129
  evidence?: {
3130
- id: string;
3130
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
3131
  label: string;
3132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3132
+ id: string;
3133
3133
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3134
  locator?: string | undefined;
3135
3135
  }[] | undefined;
3136
3136
  } | {
3137
- summary: string;
3138
3137
  kind: "conflict_detected";
3138
+ summary: string;
3139
3139
  conflictId: string;
3140
3140
  decisionIds: string[];
3141
3141
  agentIds: string[];
3142
3142
  evidence?: {
3143
- id: string;
3143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3144
3144
  label: string;
3145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3145
+ id: string;
3146
3146
  capture: "at_action" | "historical_lookup" | "fixture";
3147
3147
  locator?: string | undefined;
3148
3148
  }[] | undefined;
3149
3149
  } | {
3150
+ kind: "test_result";
3150
3151
  summary: string;
3151
3152
  status: "error" | "failed" | "passed";
3152
- kind: "test_result";
3153
3153
  command: string;
3154
3154
  decisionId: string;
3155
3155
  testId: string;
3156
3156
  durationMs?: number | undefined;
3157
3157
  evidence?: {
3158
- id: string;
3158
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3159
3159
  label: string;
3160
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
+ id: string;
3161
3161
  capture: "at_action" | "historical_lookup" | "fixture";
3162
3162
  locator?: string | undefined;
3163
3163
  }[] | undefined;
@@ -3172,9 +3172,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3172
3172
  supersedesDecisionIds: string[];
3173
3173
  proposedBy: string;
3174
3174
  evidence?: {
3175
- id: string;
3175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
3176
  label: string;
3177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
+ id: string;
3178
3178
  capture: "at_action" | "historical_lookup" | "fixture";
3179
3179
  locator?: string | undefined;
3180
3180
  }[] | undefined;
@@ -3182,15 +3182,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3182
3182
  kind: "correction_approved";
3183
3183
  correctionId: string;
3184
3184
  approvedBy: {
3185
- id: string;
3186
- label: string;
3187
3185
  kind: "agent" | "human";
3186
+ label: string;
3187
+ id: string;
3188
3188
  };
3189
3189
  note?: string | undefined;
3190
3190
  evidence?: {
3191
- id: string;
3191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
3192
  label: string;
3193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3193
+ id: string;
3194
3194
  capture: "at_action" | "historical_lookup" | "fixture";
3195
3195
  locator?: string | undefined;
3196
3196
  }[] | undefined;
@@ -3200,9 +3200,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3200
3200
  correctionId: string;
3201
3201
  replacementDecisionId: string;
3202
3202
  evidence?: {
3203
- id: string;
3203
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3204
  label: string;
3205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3205
+ id: string;
3206
3206
  capture: "at_action" | "historical_lookup" | "fixture";
3207
3207
  locator?: string | undefined;
3208
3208
  }[] | undefined;
@@ -3215,9 +3215,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3215
3215
  recallReceiptId: string;
3216
3216
  capturedAtAction: boolean;
3217
3217
  evidence?: {
3218
- id: string;
3218
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3219
  label: string;
3220
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
+ id: string;
3221
3221
  capture: "at_action" | "historical_lookup" | "fixture";
3222
3222
  locator?: string | undefined;
3223
3223
  }[] | undefined;
@@ -3230,20 +3230,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3230
3230
  recallReceiptId: string;
3231
3231
  staleDecisionAbsent: boolean;
3232
3232
  evidence?: {
3233
- id: string;
3233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
3234
  label: string;
3235
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
+ id: string;
3236
3236
  capture: "at_action" | "historical_lookup" | "fixture";
3237
3237
  locator?: string | undefined;
3238
3238
  }[] | undefined;
3239
3239
  } | {
3240
- summary: string;
3241
3240
  kind: "mission_completed";
3241
+ summary: string;
3242
3242
  outcome: "failed" | "recovered" | "inconclusive";
3243
3243
  evidence?: {
3244
- id: string;
3244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
3245
  label: string;
3246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3246
+ id: string;
3247
3247
  capture: "at_action" | "historical_lookup" | "fixture";
3248
3248
  locator?: string | undefined;
3249
3249
  }[] | undefined;
@@ -3253,38 +3253,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3253
3253
  kind: "mission_started";
3254
3254
  title: string;
3255
3255
  evidence: {
3256
- id: string;
3256
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3257
3257
  label: string;
3258
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3258
+ id: string;
3259
3259
  capture: "at_action" | "historical_lookup" | "fixture";
3260
3260
  locator?: string | undefined;
3261
3261
  }[];
3262
3262
  objective: string;
3263
3263
  runMode: "replay" | "fixture" | "live";
3264
3264
  } | {
3265
- label: string;
3266
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3267
3265
  kind: "agent_status";
3266
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3267
+ label: string;
3268
3268
  role: string;
3269
3269
  agentId: string;
3270
3270
  sessionId: string;
3271
3271
  evidence: {
3272
- id: string;
3272
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3273
3273
  label: string;
3274
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3274
+ id: string;
3275
3275
  capture: "at_action" | "historical_lookup" | "fixture";
3276
3276
  locator?: string | undefined;
3277
3277
  }[];
3278
3278
  detail?: string | undefined;
3279
3279
  } | {
3280
- summary: string;
3281
3280
  kind: "agent_output";
3281
+ summary: string;
3282
3282
  agentId: string;
3283
3283
  sessionId: string;
3284
3284
  evidence: {
3285
- id: string;
3285
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
3286
  label: string;
3287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3287
+ id: string;
3288
3288
  capture: "at_action" | "historical_lookup" | "fixture";
3289
3289
  locator?: string | undefined;
3290
3290
  }[];
@@ -3295,9 +3295,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3295
3295
  statement: string;
3296
3296
  sessionId: string;
3297
3297
  evidence: {
3298
- id: string;
3298
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3299
3299
  label: string;
3300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3300
+ id: string;
3301
3301
  capture: "at_action" | "historical_lookup" | "fixture";
3302
3302
  locator?: string | undefined;
3303
3303
  }[];
@@ -3305,12 +3305,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3305
3305
  decisionId: string;
3306
3306
  confidence?: number | undefined;
3307
3307
  } | {
3308
- summary: string;
3309
3308
  kind: "conflict_detected";
3309
+ summary: string;
3310
3310
  evidence: {
3311
- id: string;
3311
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3312
3312
  label: string;
3313
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3313
+ id: string;
3314
3314
  capture: "at_action" | "historical_lookup" | "fixture";
3315
3315
  locator?: string | undefined;
3316
3316
  }[];
@@ -3318,14 +3318,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3318
3318
  decisionIds: string[];
3319
3319
  agentIds: string[];
3320
3320
  } | {
3321
+ kind: "test_result";
3321
3322
  summary: string;
3322
3323
  status: "error" | "failed" | "passed";
3323
- kind: "test_result";
3324
3324
  command: string;
3325
3325
  evidence: {
3326
- id: string;
3326
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3327
  label: string;
3328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3328
+ id: string;
3329
3329
  capture: "at_action" | "historical_lookup" | "fixture";
3330
3330
  locator?: string | undefined;
3331
3331
  }[];
@@ -3338,9 +3338,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3338
3338
  statement: string;
3339
3339
  rationale: string;
3340
3340
  evidence: {
3341
- id: string;
3341
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
3342
  label: string;
3343
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3343
+ id: string;
3344
3344
  capture: "at_action" | "historical_lookup" | "fixture";
3345
3345
  locator?: string | undefined;
3346
3346
  }[];
@@ -3352,25 +3352,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3352
3352
  } | {
3353
3353
  kind: "correction_approved";
3354
3354
  evidence: {
3355
- id: string;
3355
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
3356
  label: string;
3357
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3357
+ id: string;
3358
3358
  capture: "at_action" | "historical_lookup" | "fixture";
3359
3359
  locator?: string | undefined;
3360
3360
  }[];
3361
3361
  correctionId: string;
3362
3362
  approvedBy: {
3363
- id: string;
3364
- label: string;
3365
3363
  kind: "agent" | "human";
3364
+ label: string;
3365
+ id: string;
3366
3366
  };
3367
3367
  note?: string | undefined;
3368
3368
  } | {
3369
3369
  kind: "decision_superseded";
3370
3370
  evidence: {
3371
- id: string;
3371
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
3372
  label: string;
3373
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3373
+ id: string;
3374
3374
  capture: "at_action" | "historical_lookup" | "fixture";
3375
3375
  locator?: string | undefined;
3376
3376
  }[];
@@ -3383,9 +3383,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3383
3383
  agentId: string;
3384
3384
  sessionId: string;
3385
3385
  evidence: {
3386
- id: string;
3386
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3387
  label: string;
3388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3388
+ id: string;
3389
3389
  capture: "at_action" | "historical_lookup" | "fixture";
3390
3390
  locator?: string | undefined;
3391
3391
  }[];
@@ -3397,9 +3397,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3397
3397
  agentId: string;
3398
3398
  sessionId: string;
3399
3399
  evidence: {
3400
- id: string;
3400
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3401
3401
  label: string;
3402
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3402
+ id: string;
3403
3403
  capture: "at_action" | "historical_lookup" | "fixture";
3404
3404
  locator?: string | undefined;
3405
3405
  }[];
@@ -3408,13 +3408,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3408
3408
  recallReceiptId: string;
3409
3409
  staleDecisionAbsent: boolean;
3410
3410
  } | {
3411
- summary: string;
3412
3411
  kind: "mission_completed";
3412
+ summary: string;
3413
3413
  outcome: "failed" | "recovered" | "inconclusive";
3414
3414
  evidence: {
3415
- id: string;
3415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3416
  label: string;
3417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3417
+ id: string;
3418
3418
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3419
  locator?: string | undefined;
3420
3420
  }[];
@@ -3428,37 +3428,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3428
3428
  objective: string;
3429
3429
  runMode: "replay" | "fixture" | "live";
3430
3430
  evidence?: {
3431
- id: string;
3431
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3432
3432
  label: string;
3433
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3433
+ id: string;
3434
3434
  capture: "at_action" | "historical_lookup" | "fixture";
3435
3435
  locator?: string | undefined;
3436
3436
  }[] | undefined;
3437
3437
  } | {
3438
- label: string;
3439
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3440
3438
  kind: "agent_status";
3439
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3440
+ label: string;
3441
3441
  role: string;
3442
3442
  agentId: string;
3443
3443
  sessionId: string;
3444
3444
  detail?: string | undefined;
3445
3445
  evidence?: {
3446
- id: string;
3446
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
3447
  label: string;
3448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3448
+ id: string;
3449
3449
  capture: "at_action" | "historical_lookup" | "fixture";
3450
3450
  locator?: string | undefined;
3451
3451
  }[] | undefined;
3452
3452
  } | {
3453
- summary: string;
3454
3453
  kind: "agent_output";
3454
+ summary: string;
3455
3455
  agentId: string;
3456
3456
  sessionId: string;
3457
3457
  outputId: string;
3458
3458
  evidence?: {
3459
- id: string;
3459
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3460
  label: string;
3461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3461
+ id: string;
3462
3462
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3463
  locator?: string | undefined;
3464
3464
  }[] | undefined;
@@ -3471,37 +3471,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3471
3471
  decisionId: string;
3472
3472
  confidence?: number | undefined;
3473
3473
  evidence?: {
3474
- id: string;
3474
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
3475
  label: string;
3476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
+ id: string;
3477
3477
  capture: "at_action" | "historical_lookup" | "fixture";
3478
3478
  locator?: string | undefined;
3479
3479
  }[] | undefined;
3480
3480
  } | {
3481
- summary: string;
3482
3481
  kind: "conflict_detected";
3482
+ summary: string;
3483
3483
  conflictId: string;
3484
3484
  decisionIds: string[];
3485
3485
  agentIds: string[];
3486
3486
  evidence?: {
3487
- id: string;
3487
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
3488
  label: string;
3489
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3489
+ id: string;
3490
3490
  capture: "at_action" | "historical_lookup" | "fixture";
3491
3491
  locator?: string | undefined;
3492
3492
  }[] | undefined;
3493
3493
  } | {
3494
+ kind: "test_result";
3494
3495
  summary: string;
3495
3496
  status: "error" | "failed" | "passed";
3496
- kind: "test_result";
3497
3497
  command: string;
3498
3498
  decisionId: string;
3499
3499
  testId: string;
3500
3500
  durationMs?: number | undefined;
3501
3501
  evidence?: {
3502
- id: string;
3502
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
3503
  label: string;
3504
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3504
+ id: string;
3505
3505
  capture: "at_action" | "historical_lookup" | "fixture";
3506
3506
  locator?: string | undefined;
3507
3507
  }[] | undefined;
@@ -3516,9 +3516,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3516
3516
  supersedesDecisionIds: string[];
3517
3517
  proposedBy: string;
3518
3518
  evidence?: {
3519
- id: string;
3519
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
3520
  label: string;
3521
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3521
+ id: string;
3522
3522
  capture: "at_action" | "historical_lookup" | "fixture";
3523
3523
  locator?: string | undefined;
3524
3524
  }[] | undefined;
@@ -3526,15 +3526,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3526
3526
  kind: "correction_approved";
3527
3527
  correctionId: string;
3528
3528
  approvedBy: {
3529
- id: string;
3530
- label: string;
3531
3529
  kind: "agent" | "human";
3530
+ label: string;
3531
+ id: string;
3532
3532
  };
3533
3533
  note?: string | undefined;
3534
3534
  evidence?: {
3535
- id: string;
3535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
3536
  label: string;
3537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3537
+ id: string;
3538
3538
  capture: "at_action" | "historical_lookup" | "fixture";
3539
3539
  locator?: string | undefined;
3540
3540
  }[] | undefined;
@@ -3544,9 +3544,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3544
3544
  correctionId: string;
3545
3545
  replacementDecisionId: string;
3546
3546
  evidence?: {
3547
- id: string;
3547
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3548
  label: string;
3549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3549
+ id: string;
3550
3550
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3551
  locator?: string | undefined;
3552
3552
  }[] | undefined;
@@ -3559,9 +3559,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3559
3559
  recallReceiptId: string;
3560
3560
  capturedAtAction: boolean;
3561
3561
  evidence?: {
3562
- id: string;
3562
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
3563
  label: string;
3564
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
+ id: string;
3565
3565
  capture: "at_action" | "historical_lookup" | "fixture";
3566
3566
  locator?: string | undefined;
3567
3567
  }[] | undefined;
@@ -3574,20 +3574,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3574
3574
  recallReceiptId: string;
3575
3575
  staleDecisionAbsent: boolean;
3576
3576
  evidence?: {
3577
- id: string;
3577
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3578
3578
  label: string;
3579
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3579
+ id: string;
3580
3580
  capture: "at_action" | "historical_lookup" | "fixture";
3581
3581
  locator?: string | undefined;
3582
3582
  }[] | undefined;
3583
3583
  } | {
3584
- summary: string;
3585
3584
  kind: "mission_completed";
3585
+ summary: string;
3586
3586
  outcome: "failed" | "recovered" | "inconclusive";
3587
3587
  evidence?: {
3588
- id: string;
3588
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
3589
  label: string;
3590
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3590
+ id: string;
3591
3591
  capture: "at_action" | "historical_lookup" | "fixture";
3592
3592
  locator?: string | undefined;
3593
3593
  }[] | undefined;
@@ -3617,15 +3617,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3617
3617
  locator: z.ZodOptional<z.ZodString>;
3618
3618
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3619
3619
  }, "strict", z.ZodTypeAny, {
3620
- id: string;
3620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
3621
  label: string;
3622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
+ id: string;
3623
3623
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3624
  locator?: string | undefined;
3625
3625
  }, {
3626
- id: string;
3626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
3627
  label: string;
3628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3628
+ id: string;
3629
3629
  capture: "at_action" | "historical_lookup" | "fixture";
3630
3630
  locator?: string | undefined;
3631
3631
  }>, "many">>;
@@ -3633,9 +3633,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3633
3633
  kind: "mission_started";
3634
3634
  title: string;
3635
3635
  evidence: {
3636
- id: string;
3636
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
3637
  label: string;
3638
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3638
+ id: string;
3639
3639
  capture: "at_action" | "historical_lookup" | "fixture";
3640
3640
  locator?: string | undefined;
3641
3641
  }[];
@@ -3647,9 +3647,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3647
3647
  objective: string;
3648
3648
  runMode: "replay" | "fixture" | "live";
3649
3649
  evidence?: {
3650
- id: string;
3650
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3651
  label: string;
3652
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3652
+ id: string;
3653
3653
  capture: "at_action" | "historical_lookup" | "fixture";
3654
3654
  locator?: string | undefined;
3655
3655
  }[] | undefined;
@@ -3665,15 +3665,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3665
3665
  locator: z.ZodOptional<z.ZodString>;
3666
3666
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3667
3667
  }, "strict", z.ZodTypeAny, {
3668
- id: string;
3668
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3669
  label: string;
3670
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
+ id: string;
3671
3671
  capture: "at_action" | "historical_lookup" | "fixture";
3672
3672
  locator?: string | undefined;
3673
3673
  }, {
3674
- id: string;
3674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3675
3675
  label: string;
3676
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3676
+ id: string;
3677
3677
  capture: "at_action" | "historical_lookup" | "fixture";
3678
3678
  locator?: string | undefined;
3679
3679
  }>, "many">>;
@@ -3681,32 +3681,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3681
3681
  sessionId: z.ZodString;
3682
3682
  kind: z.ZodLiteral<"agent_status">;
3683
3683
  }, "strict", z.ZodTypeAny, {
3684
- label: string;
3685
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3686
3684
  kind: "agent_status";
3685
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3686
+ label: string;
3687
3687
  role: string;
3688
3688
  agentId: string;
3689
3689
  sessionId: string;
3690
3690
  evidence: {
3691
- id: string;
3691
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3692
  label: string;
3693
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3693
+ id: string;
3694
3694
  capture: "at_action" | "historical_lookup" | "fixture";
3695
3695
  locator?: string | undefined;
3696
3696
  }[];
3697
3697
  detail?: string | undefined;
3698
3698
  }, {
3699
- label: string;
3700
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3701
3699
  kind: "agent_status";
3700
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3701
+ label: string;
3702
3702
  role: string;
3703
3703
  agentId: string;
3704
3704
  sessionId: string;
3705
3705
  detail?: string | undefined;
3706
3706
  evidence?: {
3707
- id: string;
3707
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
3708
  label: string;
3709
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3709
+ id: string;
3710
3710
  capture: "at_action" | "historical_lookup" | "fixture";
3711
3711
  locator?: string | undefined;
3712
3712
  }[] | undefined;
@@ -3720,15 +3720,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3720
3720
  locator: z.ZodOptional<z.ZodString>;
3721
3721
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3722
3722
  }, "strict", z.ZodTypeAny, {
3723
- id: string;
3723
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
3724
  label: string;
3725
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3725
+ id: string;
3726
3726
  capture: "at_action" | "historical_lookup" | "fixture";
3727
3727
  locator?: string | undefined;
3728
3728
  }, {
3729
- id: string;
3729
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3730
  label: string;
3731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3731
+ id: string;
3732
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3733
  locator?: string | undefined;
3734
3734
  }>, "many">>;
@@ -3736,28 +3736,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3736
3736
  sessionId: z.ZodString;
3737
3737
  kind: z.ZodLiteral<"agent_output">;
3738
3738
  }, "strict", z.ZodTypeAny, {
3739
- summary: string;
3740
3739
  kind: "agent_output";
3740
+ summary: string;
3741
3741
  agentId: string;
3742
3742
  sessionId: string;
3743
3743
  evidence: {
3744
- id: string;
3744
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3745
  label: string;
3746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3746
+ id: string;
3747
3747
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3748
  locator?: string | undefined;
3749
3749
  }[];
3750
3750
  outputId: string;
3751
3751
  }, {
3752
- summary: string;
3753
3752
  kind: "agent_output";
3753
+ summary: string;
3754
3754
  agentId: string;
3755
3755
  sessionId: string;
3756
3756
  outputId: string;
3757
3757
  evidence?: {
3758
- id: string;
3758
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
3759
  label: string;
3760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3760
+ id: string;
3761
3761
  capture: "at_action" | "historical_lookup" | "fixture";
3762
3762
  locator?: string | undefined;
3763
3763
  }[] | undefined;
@@ -3773,15 +3773,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3773
3773
  locator: z.ZodOptional<z.ZodString>;
3774
3774
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3775
3775
  }, "strict", z.ZodTypeAny, {
3776
- id: string;
3776
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
3777
  label: string;
3778
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3778
+ id: string;
3779
3779
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3780
  locator?: string | undefined;
3781
3781
  }, {
3782
- id: string;
3782
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
3783
  label: string;
3784
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3784
+ id: string;
3785
3785
  capture: "at_action" | "historical_lookup" | "fixture";
3786
3786
  locator?: string | undefined;
3787
3787
  }>, "many">>;
@@ -3794,9 +3794,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3794
3794
  statement: string;
3795
3795
  sessionId: string;
3796
3796
  evidence: {
3797
- id: string;
3797
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3798
3798
  label: string;
3799
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3799
+ id: string;
3800
3800
  capture: "at_action" | "historical_lookup" | "fixture";
3801
3801
  locator?: string | undefined;
3802
3802
  }[];
@@ -3812,9 +3812,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3812
3812
  decisionId: string;
3813
3813
  confidence?: number | undefined;
3814
3814
  evidence?: {
3815
- id: string;
3815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
3816
  label: string;
3817
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
+ id: string;
3818
3818
  capture: "at_action" | "historical_lookup" | "fixture";
3819
3819
  locator?: string | undefined;
3820
3820
  }[] | undefined;
@@ -3831,25 +3831,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3831
3831
  locator: z.ZodOptional<z.ZodString>;
3832
3832
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3833
3833
  }, "strict", z.ZodTypeAny, {
3834
- id: string;
3834
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
3835
  label: string;
3836
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
+ id: string;
3837
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3838
  locator?: string | undefined;
3839
3839
  }, {
3840
- id: string;
3840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3841
  label: string;
3842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
+ id: string;
3843
3843
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3844
  locator?: string | undefined;
3845
3845
  }>, "many">>;
3846
3846
  }, "strict", z.ZodTypeAny, {
3847
- summary: string;
3848
3847
  kind: "conflict_detected";
3848
+ summary: string;
3849
3849
  evidence: {
3850
- id: string;
3850
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
3851
  label: string;
3852
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3852
+ id: string;
3853
3853
  capture: "at_action" | "historical_lookup" | "fixture";
3854
3854
  locator?: string | undefined;
3855
3855
  }[];
@@ -3857,15 +3857,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3857
3857
  decisionIds: string[];
3858
3858
  agentIds: string[];
3859
3859
  }, {
3860
- summary: string;
3861
3860
  kind: "conflict_detected";
3861
+ summary: string;
3862
3862
  conflictId: string;
3863
3863
  decisionIds: string[];
3864
3864
  agentIds: string[];
3865
3865
  evidence?: {
3866
- id: string;
3866
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3867
3867
  label: string;
3868
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3868
+ id: string;
3869
3869
  capture: "at_action" | "historical_lookup" | "fixture";
3870
3870
  locator?: string | undefined;
3871
3871
  }[] | undefined;
@@ -3885,27 +3885,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3885
3885
  locator: z.ZodOptional<z.ZodString>;
3886
3886
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3887
3887
  }, "strict", z.ZodTypeAny, {
3888
- id: string;
3888
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
3889
  label: string;
3890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3890
+ id: string;
3891
3891
  capture: "at_action" | "historical_lookup" | "fixture";
3892
3892
  locator?: string | undefined;
3893
3893
  }, {
3894
- id: string;
3894
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3895
  label: string;
3896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3896
+ id: string;
3897
3897
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3898
  locator?: string | undefined;
3899
3899
  }>, "many">>;
3900
3900
  }, "strict", z.ZodTypeAny, {
3901
+ kind: "test_result";
3901
3902
  summary: string;
3902
3903
  status: "error" | "failed" | "passed";
3903
- kind: "test_result";
3904
3904
  command: string;
3905
3905
  evidence: {
3906
- id: string;
3906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
3907
  label: string;
3908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3908
+ id: string;
3909
3909
  capture: "at_action" | "historical_lookup" | "fixture";
3910
3910
  locator?: string | undefined;
3911
3911
  }[];
@@ -3914,17 +3914,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3914
3914
  durationMs?: number | undefined;
3915
3915
  correctionId?: string | undefined;
3916
3916
  }, {
3917
+ kind: "test_result";
3917
3918
  summary: string;
3918
3919
  status: "error" | "failed" | "passed";
3919
- kind: "test_result";
3920
3920
  command: string;
3921
3921
  decisionId: string;
3922
3922
  testId: string;
3923
3923
  durationMs?: number | undefined;
3924
3924
  evidence?: {
3925
- id: string;
3925
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3926
3926
  label: string;
3927
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3927
+ id: string;
3928
3928
  capture: "at_action" | "historical_lookup" | "fixture";
3929
3929
  locator?: string | undefined;
3930
3930
  }[] | undefined;
@@ -3945,15 +3945,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3945
3945
  locator: z.ZodOptional<z.ZodString>;
3946
3946
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3947
3947
  }, "strict", z.ZodTypeAny, {
3948
- id: string;
3948
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
3949
  label: string;
3950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3950
+ id: string;
3951
3951
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3952
  locator?: string | undefined;
3953
3953
  }, {
3954
- id: string;
3954
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3955
  label: string;
3956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3956
+ id: string;
3957
3957
  capture: "at_action" | "historical_lookup" | "fixture";
3958
3958
  locator?: string | undefined;
3959
3959
  }>, "many">>;
@@ -3962,9 +3962,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3962
3962
  statement: string;
3963
3963
  rationale: string;
3964
3964
  evidence: {
3965
- id: string;
3965
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3966
  label: string;
3967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3967
+ id: string;
3968
3968
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3969
  locator?: string | undefined;
3970
3970
  }[];
@@ -3983,9 +3983,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3983
3983
  supersedesDecisionIds: string[];
3984
3984
  proposedBy: string;
3985
3985
  evidence?: {
3986
- id: string;
3986
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
3987
  label: string;
3988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3988
+ id: string;
3989
3989
  capture: "at_action" | "historical_lookup" | "fixture";
3990
3990
  locator?: string | undefined;
3991
3991
  }[] | undefined;
@@ -3997,13 +3997,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3997
3997
  id: z.ZodString;
3998
3998
  label: z.ZodString;
3999
3999
  }, "strict", z.ZodTypeAny, {
4000
- id: string;
4001
- label: string;
4002
4000
  kind: "agent" | "human";
4003
- }, {
4004
- id: string;
4005
4001
  label: string;
4002
+ id: string;
4003
+ }, {
4006
4004
  kind: "agent" | "human";
4005
+ label: string;
4006
+ id: string;
4007
4007
  }>;
4008
4008
  note: z.ZodOptional<z.ZodString>;
4009
4009
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4013,47 +4013,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4013
4013
  locator: z.ZodOptional<z.ZodString>;
4014
4014
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4015
4015
  }, "strict", z.ZodTypeAny, {
4016
- id: string;
4016
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4017
4017
  label: string;
4018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4018
+ id: string;
4019
4019
  capture: "at_action" | "historical_lookup" | "fixture";
4020
4020
  locator?: string | undefined;
4021
4021
  }, {
4022
- id: string;
4022
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
4023
  label: string;
4024
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4024
+ id: string;
4025
4025
  capture: "at_action" | "historical_lookup" | "fixture";
4026
4026
  locator?: string | undefined;
4027
4027
  }>, "many">>;
4028
4028
  }, "strict", z.ZodTypeAny, {
4029
4029
  kind: "correction_approved";
4030
4030
  evidence: {
4031
- id: string;
4031
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
4032
  label: string;
4033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4033
+ id: string;
4034
4034
  capture: "at_action" | "historical_lookup" | "fixture";
4035
4035
  locator?: string | undefined;
4036
4036
  }[];
4037
4037
  correctionId: string;
4038
4038
  approvedBy: {
4039
- id: string;
4040
- label: string;
4041
4039
  kind: "agent" | "human";
4040
+ label: string;
4041
+ id: string;
4042
4042
  };
4043
4043
  note?: string | undefined;
4044
4044
  }, {
4045
4045
  kind: "correction_approved";
4046
4046
  correctionId: string;
4047
4047
  approvedBy: {
4048
- id: string;
4049
- label: string;
4050
4048
  kind: "agent" | "human";
4049
+ label: string;
4050
+ id: string;
4051
4051
  };
4052
4052
  note?: string | undefined;
4053
4053
  evidence?: {
4054
- id: string;
4054
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4055
  label: string;
4056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4056
+ id: string;
4057
4057
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4058
  locator?: string | undefined;
4059
4059
  }[] | undefined;
@@ -4069,24 +4069,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4069
4069
  locator: z.ZodOptional<z.ZodString>;
4070
4070
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4071
4071
  }, "strict", z.ZodTypeAny, {
4072
- id: string;
4072
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
4073
  label: string;
4074
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4074
+ id: string;
4075
4075
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4076
  locator?: string | undefined;
4077
4077
  }, {
4078
- id: string;
4078
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
4079
  label: string;
4080
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4080
+ id: string;
4081
4081
  capture: "at_action" | "historical_lookup" | "fixture";
4082
4082
  locator?: string | undefined;
4083
4083
  }>, "many">>;
4084
4084
  }, "strict", z.ZodTypeAny, {
4085
4085
  kind: "decision_superseded";
4086
4086
  evidence: {
4087
- id: string;
4087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4088
  label: string;
4089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4089
+ id: string;
4090
4090
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4091
  locator?: string | undefined;
4092
4092
  }[];
@@ -4099,9 +4099,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4099
4099
  correctionId: string;
4100
4100
  replacementDecisionId: string;
4101
4101
  evidence?: {
4102
- id: string;
4102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4103
  label: string;
4104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4104
+ id: string;
4105
4105
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4106
  locator?: string | undefined;
4107
4107
  }[] | undefined;
@@ -4117,15 +4117,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4117
4117
  locator: z.ZodOptional<z.ZodString>;
4118
4118
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4119
4119
  }, "strict", z.ZodTypeAny, {
4120
- id: string;
4120
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
4121
  label: string;
4122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4122
+ id: string;
4123
4123
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4124
  locator?: string | undefined;
4125
4125
  }, {
4126
- id: string;
4126
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
4127
  label: string;
4128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4128
+ id: string;
4129
4129
  capture: "at_action" | "historical_lookup" | "fixture";
4130
4130
  locator?: string | undefined;
4131
4131
  }>, "many">>;
@@ -4138,9 +4138,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4138
4138
  agentId: string;
4139
4139
  sessionId: string;
4140
4140
  evidence: {
4141
- id: string;
4141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4142
4142
  label: string;
4143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4143
+ id: string;
4144
4144
  capture: "at_action" | "historical_lookup" | "fixture";
4145
4145
  locator?: string | undefined;
4146
4146
  }[];
@@ -4156,9 +4156,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4156
4156
  recallReceiptId: string;
4157
4157
  capturedAtAction: boolean;
4158
4158
  evidence?: {
4159
- id: string;
4159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
4160
  label: string;
4161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4161
+ id: string;
4162
4162
  capture: "at_action" | "historical_lookup" | "fixture";
4163
4163
  locator?: string | undefined;
4164
4164
  }[] | undefined;
@@ -4174,15 +4174,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4174
4174
  locator: z.ZodOptional<z.ZodString>;
4175
4175
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4176
4176
  }, "strict", z.ZodTypeAny, {
4177
- id: string;
4177
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4178
  label: string;
4179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4179
+ id: string;
4180
4180
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4181
  locator?: string | undefined;
4182
4182
  }, {
4183
- id: string;
4183
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
4184
  label: string;
4185
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4185
+ id: string;
4186
4186
  capture: "at_action" | "historical_lookup" | "fixture";
4187
4187
  locator?: string | undefined;
4188
4188
  }>, "many">>;
@@ -4194,9 +4194,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4194
4194
  agentId: string;
4195
4195
  sessionId: string;
4196
4196
  evidence: {
4197
- id: string;
4197
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4198
4198
  label: string;
4199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4199
+ id: string;
4200
4200
  capture: "at_action" | "historical_lookup" | "fixture";
4201
4201
  locator?: string | undefined;
4202
4202
  }[];
@@ -4213,9 +4213,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4213
4213
  recallReceiptId: string;
4214
4214
  staleDecisionAbsent: boolean;
4215
4215
  evidence?: {
4216
- id: string;
4216
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
4217
  label: string;
4218
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4218
+ id: string;
4219
4219
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4220
  locator?: string | undefined;
4221
4221
  }[] | undefined;
@@ -4230,37 +4230,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4230
4230
  locator: z.ZodOptional<z.ZodString>;
4231
4231
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4232
4232
  }, "strict", z.ZodTypeAny, {
4233
- id: string;
4233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4234
4234
  label: string;
4235
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4235
+ id: string;
4236
4236
  capture: "at_action" | "historical_lookup" | "fixture";
4237
4237
  locator?: string | undefined;
4238
4238
  }, {
4239
- id: string;
4239
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4240
4240
  label: string;
4241
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
+ id: string;
4242
4242
  capture: "at_action" | "historical_lookup" | "fixture";
4243
4243
  locator?: string | undefined;
4244
4244
  }>, "many">>;
4245
4245
  }, "strict", z.ZodTypeAny, {
4246
- summary: string;
4247
4246
  kind: "mission_completed";
4247
+ summary: string;
4248
4248
  outcome: "failed" | "recovered" | "inconclusive";
4249
4249
  evidence: {
4250
- id: string;
4250
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
4251
  label: string;
4252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4252
+ id: string;
4253
4253
  capture: "at_action" | "historical_lookup" | "fixture";
4254
4254
  locator?: string | undefined;
4255
4255
  }[];
4256
4256
  }, {
4257
- summary: string;
4258
4257
  kind: "mission_completed";
4258
+ summary: string;
4259
4259
  outcome: "failed" | "recovered" | "inconclusive";
4260
4260
  evidence?: {
4261
- id: string;
4261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4262
  label: string;
4263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4263
+ id: string;
4264
4264
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4265
  locator?: string | undefined;
4266
4266
  }[] | undefined;
@@ -4268,38 +4268,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4268
4268
  kind: "mission_started";
4269
4269
  title: string;
4270
4270
  evidence: {
4271
- id: string;
4271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4272
  label: string;
4273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4273
+ id: string;
4274
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4275
4275
  locator?: string | undefined;
4276
4276
  }[];
4277
4277
  objective: string;
4278
4278
  runMode: "replay" | "fixture" | "live";
4279
4279
  } | {
4280
- label: string;
4281
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4282
4280
  kind: "agent_status";
4281
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4282
+ label: string;
4283
4283
  role: string;
4284
4284
  agentId: string;
4285
4285
  sessionId: string;
4286
4286
  evidence: {
4287
- id: string;
4287
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4288
  label: string;
4289
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
+ id: string;
4290
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4291
  locator?: string | undefined;
4292
4292
  }[];
4293
4293
  detail?: string | undefined;
4294
4294
  } | {
4295
- summary: string;
4296
4295
  kind: "agent_output";
4296
+ summary: string;
4297
4297
  agentId: string;
4298
4298
  sessionId: string;
4299
4299
  evidence: {
4300
- id: string;
4300
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4301
  label: string;
4302
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4302
+ id: string;
4303
4303
  capture: "at_action" | "historical_lookup" | "fixture";
4304
4304
  locator?: string | undefined;
4305
4305
  }[];
@@ -4310,9 +4310,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4310
  statement: string;
4311
4311
  sessionId: string;
4312
4312
  evidence: {
4313
- id: string;
4313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
4314
  label: string;
4315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4315
+ id: string;
4316
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4317
  locator?: string | undefined;
4318
4318
  }[];
@@ -4320,12 +4320,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4320
4320
  decisionId: string;
4321
4321
  confidence?: number | undefined;
4322
4322
  } | {
4323
- summary: string;
4324
4323
  kind: "conflict_detected";
4324
+ summary: string;
4325
4325
  evidence: {
4326
- id: string;
4326
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
4327
  label: string;
4328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4328
+ id: string;
4329
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4330
4330
  locator?: string | undefined;
4331
4331
  }[];
@@ -4333,14 +4333,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4333
4333
  decisionIds: string[];
4334
4334
  agentIds: string[];
4335
4335
  } | {
4336
+ kind: "test_result";
4336
4337
  summary: string;
4337
4338
  status: "error" | "failed" | "passed";
4338
- kind: "test_result";
4339
4339
  command: string;
4340
4340
  evidence: {
4341
- id: string;
4341
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4342
4342
  label: string;
4343
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4343
+ id: string;
4344
4344
  capture: "at_action" | "historical_lookup" | "fixture";
4345
4345
  locator?: string | undefined;
4346
4346
  }[];
@@ -4353,9 +4353,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4353
4353
  statement: string;
4354
4354
  rationale: string;
4355
4355
  evidence: {
4356
- id: string;
4356
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
4357
  label: string;
4358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
+ id: string;
4359
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4360
4360
  locator?: string | undefined;
4361
4361
  }[];
@@ -4367,25 +4367,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4367
  } | {
4368
4368
  kind: "correction_approved";
4369
4369
  evidence: {
4370
- id: string;
4370
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4371
  label: string;
4372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4372
+ id: string;
4373
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4374
  locator?: string | undefined;
4375
4375
  }[];
4376
4376
  correctionId: string;
4377
4377
  approvedBy: {
4378
- id: string;
4379
- label: string;
4380
4378
  kind: "agent" | "human";
4379
+ label: string;
4380
+ id: string;
4381
4381
  };
4382
4382
  note?: string | undefined;
4383
4383
  } | {
4384
4384
  kind: "decision_superseded";
4385
4385
  evidence: {
4386
- id: string;
4386
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
4387
  label: string;
4388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4388
+ id: string;
4389
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4390
  locator?: string | undefined;
4391
4391
  }[];
@@ -4398,9 +4398,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4398
4398
  agentId: string;
4399
4399
  sessionId: string;
4400
4400
  evidence: {
4401
- id: string;
4401
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4402
  label: string;
4403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4403
+ id: string;
4404
4404
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4405
  locator?: string | undefined;
4406
4406
  }[];
@@ -4412,9 +4412,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4412
4412
  agentId: string;
4413
4413
  sessionId: string;
4414
4414
  evidence: {
4415
- id: string;
4415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
4416
  label: string;
4417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4417
+ id: string;
4418
4418
  capture: "at_action" | "historical_lookup" | "fixture";
4419
4419
  locator?: string | undefined;
4420
4420
  }[];
@@ -4423,13 +4423,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4423
4423
  recallReceiptId: string;
4424
4424
  staleDecisionAbsent: boolean;
4425
4425
  } | {
4426
- summary: string;
4427
4426
  kind: "mission_completed";
4427
+ summary: string;
4428
4428
  outcome: "failed" | "recovered" | "inconclusive";
4429
4429
  evidence: {
4430
- id: string;
4430
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
4431
  label: string;
4432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4432
+ id: string;
4433
4433
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4434
  locator?: string | undefined;
4435
4435
  }[];
@@ -4439,37 +4439,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4439
4439
  objective: string;
4440
4440
  runMode: "replay" | "fixture" | "live";
4441
4441
  evidence?: {
4442
- id: string;
4442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
4443
  label: string;
4444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
+ id: string;
4445
4445
  capture: "at_action" | "historical_lookup" | "fixture";
4446
4446
  locator?: string | undefined;
4447
4447
  }[] | undefined;
4448
4448
  } | {
4449
- label: string;
4450
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4451
4449
  kind: "agent_status";
4450
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4451
+ label: string;
4452
4452
  role: string;
4453
4453
  agentId: string;
4454
4454
  sessionId: string;
4455
4455
  detail?: string | undefined;
4456
4456
  evidence?: {
4457
- id: string;
4457
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4458
  label: string;
4459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
+ id: string;
4460
4460
  capture: "at_action" | "historical_lookup" | "fixture";
4461
4461
  locator?: string | undefined;
4462
4462
  }[] | undefined;
4463
4463
  } | {
4464
- summary: string;
4465
4464
  kind: "agent_output";
4465
+ summary: string;
4466
4466
  agentId: string;
4467
4467
  sessionId: string;
4468
4468
  outputId: string;
4469
4469
  evidence?: {
4470
- id: string;
4470
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4471
4471
  label: string;
4472
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4472
+ id: string;
4473
4473
  capture: "at_action" | "historical_lookup" | "fixture";
4474
4474
  locator?: string | undefined;
4475
4475
  }[] | undefined;
@@ -4482,37 +4482,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4482
4482
  decisionId: string;
4483
4483
  confidence?: number | undefined;
4484
4484
  evidence?: {
4485
- id: string;
4485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
4486
  label: string;
4487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4487
+ id: string;
4488
4488
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4489
  locator?: string | undefined;
4490
4490
  }[] | undefined;
4491
4491
  } | {
4492
- summary: string;
4493
4492
  kind: "conflict_detected";
4493
+ summary: string;
4494
4494
  conflictId: string;
4495
4495
  decisionIds: string[];
4496
4496
  agentIds: string[];
4497
4497
  evidence?: {
4498
- id: string;
4498
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4499
4499
  label: string;
4500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4500
+ id: string;
4501
4501
  capture: "at_action" | "historical_lookup" | "fixture";
4502
4502
  locator?: string | undefined;
4503
4503
  }[] | undefined;
4504
4504
  } | {
4505
+ kind: "test_result";
4505
4506
  summary: string;
4506
4507
  status: "error" | "failed" | "passed";
4507
- kind: "test_result";
4508
4508
  command: string;
4509
4509
  decisionId: string;
4510
4510
  testId: string;
4511
4511
  durationMs?: number | undefined;
4512
4512
  evidence?: {
4513
- id: string;
4513
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4514
4514
  label: string;
4515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4515
+ id: string;
4516
4516
  capture: "at_action" | "historical_lookup" | "fixture";
4517
4517
  locator?: string | undefined;
4518
4518
  }[] | undefined;
@@ -4527,9 +4527,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4527
4527
  supersedesDecisionIds: string[];
4528
4528
  proposedBy: string;
4529
4529
  evidence?: {
4530
- id: string;
4530
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
4531
  label: string;
4532
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4532
+ id: string;
4533
4533
  capture: "at_action" | "historical_lookup" | "fixture";
4534
4534
  locator?: string | undefined;
4535
4535
  }[] | undefined;
@@ -4537,15 +4537,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4537
4537
  kind: "correction_approved";
4538
4538
  correctionId: string;
4539
4539
  approvedBy: {
4540
- id: string;
4541
- label: string;
4542
4540
  kind: "agent" | "human";
4541
+ label: string;
4542
+ id: string;
4543
4543
  };
4544
4544
  note?: string | undefined;
4545
4545
  evidence?: {
4546
- id: string;
4546
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4547
4547
  label: string;
4548
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4548
+ id: string;
4549
4549
  capture: "at_action" | "historical_lookup" | "fixture";
4550
4550
  locator?: string | undefined;
4551
4551
  }[] | undefined;
@@ -4555,9 +4555,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4555
4555
  correctionId: string;
4556
4556
  replacementDecisionId: string;
4557
4557
  evidence?: {
4558
- id: string;
4558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
4559
  label: string;
4560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4560
+ id: string;
4561
4561
  capture: "at_action" | "historical_lookup" | "fixture";
4562
4562
  locator?: string | undefined;
4563
4563
  }[] | undefined;
@@ -4570,9 +4570,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4570
4570
  recallReceiptId: string;
4571
4571
  capturedAtAction: boolean;
4572
4572
  evidence?: {
4573
- id: string;
4573
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4574
4574
  label: string;
4575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4575
+ id: string;
4576
4576
  capture: "at_action" | "historical_lookup" | "fixture";
4577
4577
  locator?: string | undefined;
4578
4578
  }[] | undefined;
@@ -4585,64 +4585,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4585
4585
  recallReceiptId: string;
4586
4586
  staleDecisionAbsent: boolean;
4587
4587
  evidence?: {
4588
- id: string;
4588
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
4589
  label: string;
4590
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4590
+ id: string;
4591
4591
  capture: "at_action" | "historical_lookup" | "fixture";
4592
4592
  locator?: string | undefined;
4593
4593
  }[] | undefined;
4594
4594
  } | {
4595
- summary: string;
4596
4595
  kind: "mission_completed";
4596
+ summary: string;
4597
4597
  outcome: "failed" | "recovered" | "inconclusive";
4598
4598
  evidence?: {
4599
- id: string;
4599
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4600
  label: string;
4601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4601
+ id: string;
4602
4602
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4603
  locator?: string | undefined;
4604
4604
  }[] | undefined;
4605
4605
  }>;
4606
4606
  }, "strict", z.ZodTypeAny, {
4607
- namespace: string;
4608
- recordedAt: string;
4609
4607
  schemaVersion: "1";
4608
+ recordedAt: string;
4610
4609
  payload: {
4611
4610
  kind: "mission_started";
4612
4611
  title: string;
4613
4612
  evidence: {
4614
- id: string;
4613
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4615
4614
  label: string;
4616
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4615
+ id: string;
4617
4616
  capture: "at_action" | "historical_lookup" | "fixture";
4618
4617
  locator?: string | undefined;
4619
4618
  }[];
4620
4619
  objective: string;
4621
4620
  runMode: "replay" | "fixture" | "live";
4622
4621
  } | {
4623
- label: string;
4624
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4625
4622
  kind: "agent_status";
4623
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4624
+ label: string;
4626
4625
  role: string;
4627
4626
  agentId: string;
4628
4627
  sessionId: string;
4629
4628
  evidence: {
4630
- id: string;
4629
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4631
4630
  label: string;
4632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4631
+ id: string;
4633
4632
  capture: "at_action" | "historical_lookup" | "fixture";
4634
4633
  locator?: string | undefined;
4635
4634
  }[];
4636
4635
  detail?: string | undefined;
4637
4636
  } | {
4638
- summary: string;
4639
4637
  kind: "agent_output";
4638
+ summary: string;
4640
4639
  agentId: string;
4641
4640
  sessionId: string;
4642
4641
  evidence: {
4643
- id: string;
4642
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4644
4643
  label: string;
4645
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4644
+ id: string;
4646
4645
  capture: "at_action" | "historical_lookup" | "fixture";
4647
4646
  locator?: string | undefined;
4648
4647
  }[];
@@ -4653,9 +4652,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4653
4652
  statement: string;
4654
4653
  sessionId: string;
4655
4654
  evidence: {
4656
- id: string;
4655
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4657
4656
  label: string;
4658
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4657
+ id: string;
4659
4658
  capture: "at_action" | "historical_lookup" | "fixture";
4660
4659
  locator?: string | undefined;
4661
4660
  }[];
@@ -4663,12 +4662,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4663
4662
  decisionId: string;
4664
4663
  confidence?: number | undefined;
4665
4664
  } | {
4666
- summary: string;
4667
4665
  kind: "conflict_detected";
4666
+ summary: string;
4668
4667
  evidence: {
4669
- id: string;
4668
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4670
4669
  label: string;
4671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4670
+ id: string;
4672
4671
  capture: "at_action" | "historical_lookup" | "fixture";
4673
4672
  locator?: string | undefined;
4674
4673
  }[];
@@ -4676,14 +4675,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4676
4675
  decisionIds: string[];
4677
4676
  agentIds: string[];
4678
4677
  } | {
4678
+ kind: "test_result";
4679
4679
  summary: string;
4680
4680
  status: "error" | "failed" | "passed";
4681
- kind: "test_result";
4682
4681
  command: string;
4683
4682
  evidence: {
4684
- id: string;
4683
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4685
4684
  label: string;
4686
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4685
+ id: string;
4687
4686
  capture: "at_action" | "historical_lookup" | "fixture";
4688
4687
  locator?: string | undefined;
4689
4688
  }[];
@@ -4696,9 +4695,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4696
4695
  statement: string;
4697
4696
  rationale: string;
4698
4697
  evidence: {
4699
- id: string;
4698
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4700
4699
  label: string;
4701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4700
+ id: string;
4702
4701
  capture: "at_action" | "historical_lookup" | "fixture";
4703
4702
  locator?: string | undefined;
4704
4703
  }[];
@@ -4710,25 +4709,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4710
4709
  } | {
4711
4710
  kind: "correction_approved";
4712
4711
  evidence: {
4713
- id: string;
4712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4714
4713
  label: string;
4715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4714
+ id: string;
4716
4715
  capture: "at_action" | "historical_lookup" | "fixture";
4717
4716
  locator?: string | undefined;
4718
4717
  }[];
4719
4718
  correctionId: string;
4720
4719
  approvedBy: {
4721
- id: string;
4722
- label: string;
4723
4720
  kind: "agent" | "human";
4721
+ label: string;
4722
+ id: string;
4724
4723
  };
4725
4724
  note?: string | undefined;
4726
4725
  } | {
4727
4726
  kind: "decision_superseded";
4728
4727
  evidence: {
4729
- id: string;
4728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4730
4729
  label: string;
4731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4730
+ id: string;
4732
4731
  capture: "at_action" | "historical_lookup" | "fixture";
4733
4732
  locator?: string | undefined;
4734
4733
  }[];
@@ -4741,9 +4740,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4741
4740
  agentId: string;
4742
4741
  sessionId: string;
4743
4742
  evidence: {
4744
- id: string;
4743
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4745
4744
  label: string;
4746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4745
+ id: string;
4747
4746
  capture: "at_action" | "historical_lookup" | "fixture";
4748
4747
  locator?: string | undefined;
4749
4748
  }[];
@@ -4755,9 +4754,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4755
4754
  agentId: string;
4756
4755
  sessionId: string;
4757
4756
  evidence: {
4758
- id: string;
4757
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4759
4758
  label: string;
4760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4759
+ id: string;
4761
4760
  capture: "at_action" | "historical_lookup" | "fixture";
4762
4761
  locator?: string | undefined;
4763
4762
  }[];
@@ -4766,63 +4765,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4766
4765
  recallReceiptId: string;
4767
4766
  staleDecisionAbsent: boolean;
4768
4767
  } | {
4769
- summary: string;
4770
4768
  kind: "mission_completed";
4769
+ summary: string;
4771
4770
  outcome: "failed" | "recovered" | "inconclusive";
4772
4771
  evidence: {
4773
- id: string;
4772
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4774
4773
  label: string;
4775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4774
+ id: string;
4776
4775
  capture: "at_action" | "historical_lookup" | "fixture";
4777
4776
  locator?: string | undefined;
4778
4777
  }[];
4779
4778
  };
4779
+ namespace: string;
4780
4780
  eventId: string;
4781
4781
  occurredAt: string;
4782
4782
  missionId: string;
4783
4783
  idempotencyKey?: string | undefined;
4784
4784
  authenticatedPrincipal?: string | undefined;
4785
4785
  }, {
4786
- namespace: string;
4787
- recordedAt: string;
4788
4786
  schemaVersion: "1";
4787
+ recordedAt: string;
4789
4788
  payload: {
4790
4789
  kind: "mission_started";
4791
4790
  title: string;
4792
4791
  objective: string;
4793
4792
  runMode: "replay" | "fixture" | "live";
4794
4793
  evidence?: {
4795
- id: string;
4794
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4796
4795
  label: string;
4797
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4796
+ id: string;
4798
4797
  capture: "at_action" | "historical_lookup" | "fixture";
4799
4798
  locator?: string | undefined;
4800
4799
  }[] | undefined;
4801
4800
  } | {
4802
- label: string;
4803
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4804
4801
  kind: "agent_status";
4802
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4803
+ label: string;
4805
4804
  role: string;
4806
4805
  agentId: string;
4807
4806
  sessionId: string;
4808
4807
  detail?: string | undefined;
4809
4808
  evidence?: {
4810
- id: string;
4809
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4811
4810
  label: string;
4812
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4811
+ id: string;
4813
4812
  capture: "at_action" | "historical_lookup" | "fixture";
4814
4813
  locator?: string | undefined;
4815
4814
  }[] | undefined;
4816
4815
  } | {
4817
- summary: string;
4818
4816
  kind: "agent_output";
4817
+ summary: string;
4819
4818
  agentId: string;
4820
4819
  sessionId: string;
4821
4820
  outputId: string;
4822
4821
  evidence?: {
4823
- id: string;
4822
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4824
4823
  label: string;
4825
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4824
+ id: string;
4826
4825
  capture: "at_action" | "historical_lookup" | "fixture";
4827
4826
  locator?: string | undefined;
4828
4827
  }[] | undefined;
@@ -4835,37 +4834,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4835
4834
  decisionId: string;
4836
4835
  confidence?: number | undefined;
4837
4836
  evidence?: {
4838
- id: string;
4837
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4839
4838
  label: string;
4840
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4839
+ id: string;
4841
4840
  capture: "at_action" | "historical_lookup" | "fixture";
4842
4841
  locator?: string | undefined;
4843
4842
  }[] | undefined;
4844
4843
  } | {
4845
- summary: string;
4846
4844
  kind: "conflict_detected";
4845
+ summary: string;
4847
4846
  conflictId: string;
4848
4847
  decisionIds: string[];
4849
4848
  agentIds: string[];
4850
4849
  evidence?: {
4851
- id: string;
4850
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4852
4851
  label: string;
4853
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4852
+ id: string;
4854
4853
  capture: "at_action" | "historical_lookup" | "fixture";
4855
4854
  locator?: string | undefined;
4856
4855
  }[] | undefined;
4857
4856
  } | {
4857
+ kind: "test_result";
4858
4858
  summary: string;
4859
4859
  status: "error" | "failed" | "passed";
4860
- kind: "test_result";
4861
4860
  command: string;
4862
4861
  decisionId: string;
4863
4862
  testId: string;
4864
4863
  durationMs?: number | undefined;
4865
4864
  evidence?: {
4866
- id: string;
4865
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4867
4866
  label: string;
4868
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4867
+ id: string;
4869
4868
  capture: "at_action" | "historical_lookup" | "fixture";
4870
4869
  locator?: string | undefined;
4871
4870
  }[] | undefined;
@@ -4880,9 +4879,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4880
4879
  supersedesDecisionIds: string[];
4881
4880
  proposedBy: string;
4882
4881
  evidence?: {
4883
- id: string;
4882
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4884
4883
  label: string;
4885
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4884
+ id: string;
4886
4885
  capture: "at_action" | "historical_lookup" | "fixture";
4887
4886
  locator?: string | undefined;
4888
4887
  }[] | undefined;
@@ -4890,15 +4889,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4890
4889
  kind: "correction_approved";
4891
4890
  correctionId: string;
4892
4891
  approvedBy: {
4893
- id: string;
4894
- label: string;
4895
4892
  kind: "agent" | "human";
4893
+ label: string;
4894
+ id: string;
4896
4895
  };
4897
4896
  note?: string | undefined;
4898
4897
  evidence?: {
4899
- id: string;
4898
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4900
4899
  label: string;
4901
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4900
+ id: string;
4902
4901
  capture: "at_action" | "historical_lookup" | "fixture";
4903
4902
  locator?: string | undefined;
4904
4903
  }[] | undefined;
@@ -4908,9 +4907,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4908
4907
  correctionId: string;
4909
4908
  replacementDecisionId: string;
4910
4909
  evidence?: {
4911
- id: string;
4910
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4912
4911
  label: string;
4913
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4912
+ id: string;
4914
4913
  capture: "at_action" | "historical_lookup" | "fixture";
4915
4914
  locator?: string | undefined;
4916
4915
  }[] | undefined;
@@ -4923,9 +4922,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4923
4922
  recallReceiptId: string;
4924
4923
  capturedAtAction: boolean;
4925
4924
  evidence?: {
4926
- id: string;
4925
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4927
4926
  label: string;
4928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4927
+ id: string;
4929
4928
  capture: "at_action" | "historical_lookup" | "fixture";
4930
4929
  locator?: string | undefined;
4931
4930
  }[] | undefined;
@@ -4938,24 +4937,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4938
4937
  recallReceiptId: string;
4939
4938
  staleDecisionAbsent: boolean;
4940
4939
  evidence?: {
4941
- id: string;
4940
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4942
4941
  label: string;
4943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4942
+ id: string;
4944
4943
  capture: "at_action" | "historical_lookup" | "fixture";
4945
4944
  locator?: string | undefined;
4946
4945
  }[] | undefined;
4947
4946
  } | {
4948
- summary: string;
4949
4947
  kind: "mission_completed";
4948
+ summary: string;
4950
4949
  outcome: "failed" | "recovered" | "inconclusive";
4951
4950
  evidence?: {
4952
- id: string;
4951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4953
4952
  label: string;
4954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4953
+ id: string;
4955
4954
  capture: "at_action" | "historical_lookup" | "fixture";
4956
4955
  locator?: string | undefined;
4957
4956
  }[] | undefined;
4958
4957
  };
4958
+ namespace: string;
4959
4959
  eventId: string;
4960
4960
  occurredAt: string;
4961
4961
  missionId: string;
@@ -7318,7 +7318,11 @@ declare function isValidActivityDate(date: string): boolean;
7318
7318
  declare function activityDigestPath(memoryDir: string, date: string): string;
7319
7319
  declare function timezoneOffsetIso(instant: Date, timezone: string): string;
7320
7320
  declare function assertValidTimezone(timezone: string): void;
7321
- /** Half-open [start, end) UTC ISO bounds of a local day. */
7321
+ /**
7322
+ * Half-open [start, end) UTC ISO bounds of a local day. A civil date the
7323
+ * zone skipped entirely owns no interval: the window is zero-width
7324
+ * `[transition, transition)`.
7325
+ */
7322
7326
  declare function activityDayWindow(date: string, timezone: string): {
7323
7327
  startUtc: string;
7324
7328
  endUtc: string;