@remnic/core 9.69.54 → 9.69.56

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 (134) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +2 -2
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +3 -3
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +2 -2
  7. package/dist/access-cli.js +24 -24
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +2 -2
  10. package/dist/access-http-briefing.d.ts +1 -1
  11. package/dist/access-http-briefing.js +3 -3
  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 +2 -2
  16. package/dist/access-http.d.ts +2 -2
  17. package/dist/access-http.js +14 -14
  18. package/dist/access-identity-continuity-surface.js +2 -2
  19. package/dist/access-lcm-surface.d.ts +1 -1
  20. package/dist/access-lcm-surface.js +2 -2
  21. package/dist/access-mcp-shared-context-tools.d.ts +1 -1
  22. package/dist/access-mcp.d.ts +1 -1
  23. package/dist/access-mcp.js +9 -9
  24. package/dist/access-namespace-preflight.js +2 -2
  25. package/dist/access-observe-write-surface.d.ts +1 -1
  26. package/dist/access-observe-write-surface.js +2 -2
  27. package/dist/access-operations-batch.js +3 -3
  28. package/dist/access-operations.d.ts +1 -1
  29. package/dist/access-operations.js +8 -8
  30. package/dist/access-recall-concurrency.d.ts +1 -1
  31. package/dist/access-recall-concurrency.js +2 -2
  32. package/dist/access-recall-response.d.ts +1 -1
  33. package/dist/access-recall-response.js +2 -2
  34. package/dist/access-recall-surface.d.ts +1 -1
  35. package/dist/access-recall-surface.js +2 -2
  36. package/dist/access-schema.d.ts +113 -113
  37. package/dist/{access-service-H-qEdnSs.d.ts → access-service-CUNM5RfA.d.ts} +64 -64
  38. package/dist/access-service-helpers.d.ts +1 -1
  39. package/dist/access-service.d.ts +1 -1
  40. package/dist/access-service.js +2 -2
  41. package/dist/access-surface-catalog.d.ts +1 -1
  42. package/dist/access-surface-catalog.js +4 -4
  43. package/dist/active-recall.js +2 -2
  44. package/dist/{chunk-ZADYEZY4.js → chunk-2SIKTXWX.js} +2 -2
  45. package/dist/{chunk-ZHV6FGVF.js → chunk-3R23DDD3.js} +8 -8
  46. package/dist/{chunk-EQNZC3BH.js → chunk-3S6URXEH.js} +2 -2
  47. package/dist/{chunk-BCXZ4BDS.js → chunk-75YZ5VAI.js} +2 -2
  48. package/dist/{chunk-MXTCV3B5.js → chunk-AHVJ6GLL.js} +2 -2
  49. package/dist/{chunk-6UEM5EOB.js → chunk-AQ55YKEV.js} +2 -2
  50. package/dist/{chunk-VMKAA5SU.js → chunk-BSCNBIF4.js} +2 -2
  51. package/dist/{chunk-M7HFDWOS.js → chunk-FROKVQQY.js} +2 -2
  52. package/dist/{chunk-A4TQFNRX.js → chunk-GRDRVYXJ.js} +3 -3
  53. package/dist/{chunk-EYK3UHAP.js → chunk-H6WOFMOV.js} +2 -2
  54. package/dist/{chunk-SOOWBRMH.js → chunk-IYNCJKBM.js} +8 -8
  55. package/dist/{chunk-3KJTSCSX.js → chunk-J54B5DGD.js} +5 -4
  56. package/dist/chunk-J54B5DGD.js.map +1 -0
  57. package/dist/{chunk-KGY6F4VJ.js → chunk-KIGC55FQ.js} +2 -2
  58. package/dist/{chunk-KQQEZTH6.js → chunk-KQVBR7BC.js} +2 -2
  59. package/dist/{chunk-MTJUIIM4.js → chunk-MTWD4KMM.js} +2 -2
  60. package/dist/{chunk-WJ5KWJLK.js → chunk-NNEWBRUL.js} +2 -2
  61. package/dist/{chunk-5IKW2VP6.js → chunk-NPX6WMFJ.js} +2 -2
  62. package/dist/{chunk-Z22M4JCY.js → chunk-NZLFVLLJ.js} +165 -5
  63. package/dist/chunk-NZLFVLLJ.js.map +1 -0
  64. package/dist/{chunk-QKCXRS5A.js → chunk-OGXXGHW6.js} +11 -1
  65. package/dist/{chunk-QKCXRS5A.js.map → chunk-OGXXGHW6.js.map} +1 -1
  66. package/dist/{chunk-CO7KBRPF.js → chunk-TJNDFNCU.js} +2 -2
  67. package/dist/{chunk-OKOG5MXF.js → chunk-XZRZJHBW.js} +10 -10
  68. package/dist/{chunk-HUQMVI3A.js → chunk-ZBYVR5W4.js} +2 -2
  69. package/dist/{chunk-ZANEMAEV.js → chunk-ZP73EM2X.js} +2 -2
  70. package/dist/{chunk-IEOBAOA6.js → chunk-ZXQPAYCS.js} +2 -2
  71. package/dist/{cli-VGDSn2zY.d.ts → cli-CCc34xV7.d.ts} +1 -1
  72. package/dist/cli.d.ts +2 -2
  73. package/dist/cli.js +19 -19
  74. package/dist/compounding/engine.js +3 -3
  75. package/dist/config.js +2 -2
  76. package/dist/deep-recall-http-glue.d.ts +1 -1
  77. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  78. package/dist/external-wiki-access.d.ts +1 -1
  79. package/dist/external-wiki-access.js +3 -3
  80. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  81. package/dist/index.d.ts +680 -680
  82. package/dist/index.js +24 -24
  83. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  84. package/dist/memory-browse-http-glue.d.ts +1 -1
  85. package/dist/memory-browse-mcp-tools.d.ts +1 -1
  86. package/dist/memory-browse-operations.js +3 -3
  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 +3 -3
  90. package/dist/orchestration/maintenance.js +3 -2
  91. package/dist/orchestrator.js +24 -24
  92. package/dist/{public-http-P0cnHzYB.d.ts → public-http-UWVcqMcb.d.ts} +1 -1
  93. package/dist/recall-navigation-http-glue.d.ts +1 -1
  94. package/dist/recall-navigation-mcp-tools.d.ts +1 -1
  95. package/dist/recall-navigation-operations.js +3 -3
  96. package/dist/recall-navigation.js +2 -2
  97. package/dist/resume-bundles.js +3 -3
  98. package/dist/schemas.d.ts +160 -160
  99. package/dist/shared-context/manager.d.ts +24 -8
  100. package/dist/shared-context/manager.js +2 -2
  101. package/dist/support-passport/index.d.ts +4 -4
  102. package/dist/support-passport/index.js +5 -5
  103. package/dist/transfer/types.d.ts +78 -78
  104. package/dist/who-knows-cli.d.ts +1 -1
  105. package/dist/who-knows.d.ts +1 -1
  106. package/package.json +2 -2
  107. package/src/activity/config.test.ts +19 -0
  108. package/src/activity/config.ts +3 -4
  109. package/src/shared-context/governance-wiring.test.ts +153 -0
  110. package/src/shared-context/manager.ts +104 -3
  111. package/src/shared-context/staleness.ts +1 -1
  112. package/dist/chunk-3KJTSCSX.js.map +0 -1
  113. package/dist/chunk-Z22M4JCY.js.map +0 -1
  114. /package/dist/{chunk-ZADYEZY4.js.map → chunk-2SIKTXWX.js.map} +0 -0
  115. /package/dist/{chunk-ZHV6FGVF.js.map → chunk-3R23DDD3.js.map} +0 -0
  116. /package/dist/{chunk-EQNZC3BH.js.map → chunk-3S6URXEH.js.map} +0 -0
  117. /package/dist/{chunk-BCXZ4BDS.js.map → chunk-75YZ5VAI.js.map} +0 -0
  118. /package/dist/{chunk-MXTCV3B5.js.map → chunk-AHVJ6GLL.js.map} +0 -0
  119. /package/dist/{chunk-6UEM5EOB.js.map → chunk-AQ55YKEV.js.map} +0 -0
  120. /package/dist/{chunk-VMKAA5SU.js.map → chunk-BSCNBIF4.js.map} +0 -0
  121. /package/dist/{chunk-M7HFDWOS.js.map → chunk-FROKVQQY.js.map} +0 -0
  122. /package/dist/{chunk-A4TQFNRX.js.map → chunk-GRDRVYXJ.js.map} +0 -0
  123. /package/dist/{chunk-EYK3UHAP.js.map → chunk-H6WOFMOV.js.map} +0 -0
  124. /package/dist/{chunk-SOOWBRMH.js.map → chunk-IYNCJKBM.js.map} +0 -0
  125. /package/dist/{chunk-KGY6F4VJ.js.map → chunk-KIGC55FQ.js.map} +0 -0
  126. /package/dist/{chunk-KQQEZTH6.js.map → chunk-KQVBR7BC.js.map} +0 -0
  127. /package/dist/{chunk-MTJUIIM4.js.map → chunk-MTWD4KMM.js.map} +0 -0
  128. /package/dist/{chunk-WJ5KWJLK.js.map → chunk-NNEWBRUL.js.map} +0 -0
  129. /package/dist/{chunk-5IKW2VP6.js.map → chunk-NPX6WMFJ.js.map} +0 -0
  130. /package/dist/{chunk-CO7KBRPF.js.map → chunk-TJNDFNCU.js.map} +0 -0
  131. /package/dist/{chunk-OKOG5MXF.js.map → chunk-XZRZJHBW.js.map} +0 -0
  132. /package/dist/{chunk-HUQMVI3A.js.map → chunk-ZBYVR5W4.js.map} +0 -0
  133. /package/dist/{chunk-ZANEMAEV.js.map → chunk-ZP73EM2X.js.map} +0 -0
  134. /package/dist/{chunk-IEOBAOA6.js.map → chunk-ZXQPAYCS.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -40,8 +40,8 @@ export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportO
40
40
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
41
41
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
42
42
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
43
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-H-qEdnSs.js';
44
- 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-H-qEdnSs.js';
43
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-CUNM5RfA.js';
44
+ 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-CUNM5RfA.js';
45
45
  import { L as LocalLlmClient } from './local-llm-BkkEK9rn.js';
46
46
  import { FallbackLlmClient } from './fallback-llm.js';
47
47
  export { FallbackLlmOptions, FallbackLlmResponse } from './fallback-llm.js';
@@ -64,10 +64,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
64
64
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
65
65
  export { storagePathHash } from './storage-paths.js';
66
66
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
67
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-VGDSn2zY.js';
67
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-CCc34xV7.js';
68
68
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
69
69
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, PersistedSupportPassportClassification, 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, createPersistedSupportPassportPrivateFileExclusion, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, supportPassportStatIdentity, syncDirectoryForDurability } from './support-passport/index.js';
70
- 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-P0cnHzYB.js';
70
+ 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-UWVcqMcb.js';
71
71
  import { z } from 'zod';
72
72
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
73
73
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, MEMORY_CONTEXT_UNAVAILABLE_NOTE, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RecallContextDegradation, RecallDegradationReason, RecallDegradationState, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeMissingMemoryContext, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -1339,15 +1339,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1339
1339
  locator: z.ZodOptional<z.ZodString>;
1340
1340
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1341
1341
  }, "strict", z.ZodTypeAny, {
1342
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1343
- label: string;
1344
1342
  id: string;
1343
+ label: string;
1344
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
1345
  capture: "at_action" | "historical_lookup" | "fixture";
1346
1346
  locator?: string | undefined;
1347
1347
  }, {
1348
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1349
- label: string;
1350
1348
  id: string;
1349
+ label: string;
1350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
1351
  capture: "at_action" | "historical_lookup" | "fixture";
1352
1352
  locator?: string | undefined;
1353
1353
  }>;
@@ -1364,15 +1364,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1364
1364
  locator: z.ZodOptional<z.ZodString>;
1365
1365
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1366
1366
  }, "strict", z.ZodTypeAny, {
1367
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1368
- label: string;
1369
1367
  id: string;
1368
+ label: string;
1369
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1370
1370
  capture: "at_action" | "historical_lookup" | "fixture";
1371
1371
  locator?: string | undefined;
1372
1372
  }, {
1373
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1374
- label: string;
1375
1373
  id: string;
1374
+ label: string;
1375
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1376
1376
  capture: "at_action" | "historical_lookup" | "fixture";
1377
1377
  locator?: string | undefined;
1378
1378
  }>, "many">>;
@@ -1380,9 +1380,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1380
1380
  kind: "mission_started";
1381
1381
  title: string;
1382
1382
  evidence: {
1383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
- label: string;
1385
1383
  id: string;
1384
+ label: string;
1385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1386
1386
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1387
  locator?: string | undefined;
1388
1388
  }[];
@@ -1394,9 +1394,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1394
1394
  objective: string;
1395
1395
  runMode: "replay" | "fixture" | "live";
1396
1396
  evidence?: {
1397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
- label: string;
1399
1397
  id: string;
1398
+ label: string;
1399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1400
1400
  capture: "at_action" | "historical_lookup" | "fixture";
1401
1401
  locator?: string | undefined;
1402
1402
  }[] | undefined;
@@ -1412,15 +1412,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1412
1412
  locator: z.ZodOptional<z.ZodString>;
1413
1413
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1414
1414
  }, "strict", z.ZodTypeAny, {
1415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
- label: string;
1417
1415
  id: string;
1416
+ label: string;
1417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1418
1418
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1419
  locator?: string | undefined;
1420
1420
  }, {
1421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
- label: string;
1423
1421
  id: string;
1422
+ label: string;
1423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1424
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1425
  locator?: string | undefined;
1426
1426
  }>, "many">>;
@@ -1428,32 +1428,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1428
1428
  sessionId: z.ZodString;
1429
1429
  kind: z.ZodLiteral<"agent_status">;
1430
1430
  }, "strict", z.ZodTypeAny, {
1431
- kind: "agent_status";
1432
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1433
1431
  label: string;
1432
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1433
+ kind: "agent_status";
1434
1434
  role: string;
1435
1435
  agentId: string;
1436
1436
  sessionId: string;
1437
1437
  evidence: {
1438
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1439
- label: string;
1440
1438
  id: string;
1439
+ label: string;
1440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1441
1441
  capture: "at_action" | "historical_lookup" | "fixture";
1442
1442
  locator?: string | undefined;
1443
1443
  }[];
1444
1444
  detail?: string | undefined;
1445
1445
  }, {
1446
- kind: "agent_status";
1447
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1448
1446
  label: string;
1447
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1448
+ kind: "agent_status";
1449
1449
  role: string;
1450
1450
  agentId: string;
1451
1451
  sessionId: string;
1452
1452
  detail?: string | undefined;
1453
1453
  evidence?: {
1454
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
- label: string;
1456
1454
  id: string;
1455
+ label: string;
1456
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1457
1457
  capture: "at_action" | "historical_lookup" | "fixture";
1458
1458
  locator?: string | undefined;
1459
1459
  }[] | undefined;
@@ -1467,15 +1467,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1467
1467
  locator: z.ZodOptional<z.ZodString>;
1468
1468
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1469
1469
  }, "strict", z.ZodTypeAny, {
1470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1471
- label: string;
1472
1470
  id: string;
1471
+ label: string;
1472
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1473
1473
  capture: "at_action" | "historical_lookup" | "fixture";
1474
1474
  locator?: string | undefined;
1475
1475
  }, {
1476
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
- label: string;
1478
1476
  id: string;
1477
+ label: string;
1478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1479
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1480
  locator?: string | undefined;
1481
1481
  }>, "many">>;
@@ -1483,28 +1483,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1483
1483
  sessionId: z.ZodString;
1484
1484
  kind: z.ZodLiteral<"agent_output">;
1485
1485
  }, "strict", z.ZodTypeAny, {
1486
- kind: "agent_output";
1487
1486
  summary: string;
1487
+ kind: "agent_output";
1488
1488
  agentId: string;
1489
1489
  sessionId: string;
1490
1490
  evidence: {
1491
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1492
- label: string;
1493
1491
  id: string;
1492
+ label: string;
1493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
1494
  capture: "at_action" | "historical_lookup" | "fixture";
1495
1495
  locator?: string | undefined;
1496
1496
  }[];
1497
1497
  outputId: string;
1498
1498
  }, {
1499
- kind: "agent_output";
1500
1499
  summary: string;
1500
+ kind: "agent_output";
1501
1501
  agentId: string;
1502
1502
  sessionId: string;
1503
1503
  outputId: string;
1504
1504
  evidence?: {
1505
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
- label: string;
1507
1505
  id: string;
1506
+ label: string;
1507
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1508
1508
  capture: "at_action" | "historical_lookup" | "fixture";
1509
1509
  locator?: string | undefined;
1510
1510
  }[] | undefined;
@@ -1520,15 +1520,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1520
1520
  locator: z.ZodOptional<z.ZodString>;
1521
1521
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1522
1522
  }, "strict", z.ZodTypeAny, {
1523
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1524
- label: string;
1525
1523
  id: string;
1524
+ label: string;
1525
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1526
1526
  capture: "at_action" | "historical_lookup" | "fixture";
1527
1527
  locator?: string | undefined;
1528
1528
  }, {
1529
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1530
- label: string;
1531
1529
  id: string;
1530
+ label: string;
1531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
1532
  capture: "at_action" | "historical_lookup" | "fixture";
1533
1533
  locator?: string | undefined;
1534
1534
  }>, "many">>;
@@ -1541,9 +1541,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1541
1541
  statement: string;
1542
1542
  sessionId: string;
1543
1543
  evidence: {
1544
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1545
- label: string;
1546
1544
  id: string;
1545
+ label: string;
1546
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1547
1547
  capture: "at_action" | "historical_lookup" | "fixture";
1548
1548
  locator?: string | undefined;
1549
1549
  }[];
@@ -1559,9 +1559,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1559
1559
  decisionId: string;
1560
1560
  confidence?: number | undefined;
1561
1561
  evidence?: {
1562
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1563
- label: string;
1564
1562
  id: string;
1563
+ label: string;
1564
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
1565
  capture: "at_action" | "historical_lookup" | "fixture";
1566
1566
  locator?: string | undefined;
1567
1567
  }[] | undefined;
@@ -1578,25 +1578,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1578
1578
  locator: z.ZodOptional<z.ZodString>;
1579
1579
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1580
1580
  }, "strict", z.ZodTypeAny, {
1581
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1582
- label: string;
1583
1581
  id: string;
1582
+ label: string;
1583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1584
1584
  capture: "at_action" | "historical_lookup" | "fixture";
1585
1585
  locator?: string | undefined;
1586
1586
  }, {
1587
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
- label: string;
1589
1587
  id: string;
1588
+ label: string;
1589
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1590
1590
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1591
  locator?: string | undefined;
1592
1592
  }>, "many">>;
1593
1593
  }, "strict", z.ZodTypeAny, {
1594
- kind: "conflict_detected";
1595
1594
  summary: string;
1595
+ kind: "conflict_detected";
1596
1596
  evidence: {
1597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
- label: string;
1599
1597
  id: string;
1598
+ label: string;
1599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
1600
  capture: "at_action" | "historical_lookup" | "fixture";
1601
1601
  locator?: string | undefined;
1602
1602
  }[];
@@ -1604,15 +1604,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1604
1604
  decisionIds: string[];
1605
1605
  agentIds: string[];
1606
1606
  }, {
1607
- kind: "conflict_detected";
1608
1607
  summary: string;
1608
+ kind: "conflict_detected";
1609
1609
  conflictId: string;
1610
1610
  decisionIds: string[];
1611
1611
  agentIds: string[];
1612
1612
  evidence?: {
1613
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1614
- label: string;
1615
1613
  id: string;
1614
+ label: string;
1615
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1616
1616
  capture: "at_action" | "historical_lookup" | "fixture";
1617
1617
  locator?: string | undefined;
1618
1618
  }[] | undefined;
@@ -1632,27 +1632,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1632
1632
  locator: z.ZodOptional<z.ZodString>;
1633
1633
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1634
1634
  }, "strict", z.ZodTypeAny, {
1635
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1636
- label: string;
1637
1635
  id: string;
1636
+ label: string;
1637
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1638
1638
  capture: "at_action" | "historical_lookup" | "fixture";
1639
1639
  locator?: string | undefined;
1640
1640
  }, {
1641
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1642
- label: string;
1643
1641
  id: string;
1642
+ label: string;
1643
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1644
1644
  capture: "at_action" | "historical_lookup" | "fixture";
1645
1645
  locator?: string | undefined;
1646
1646
  }>, "many">>;
1647
1647
  }, "strict", z.ZodTypeAny, {
1648
- kind: "test_result";
1649
1648
  summary: string;
1650
1649
  status: "error" | "failed" | "passed";
1650
+ kind: "test_result";
1651
1651
  command: string;
1652
1652
  evidence: {
1653
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1654
- label: string;
1655
1653
  id: string;
1654
+ label: string;
1655
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1656
  capture: "at_action" | "historical_lookup" | "fixture";
1657
1657
  locator?: string | undefined;
1658
1658
  }[];
@@ -1661,17 +1661,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1661
1661
  durationMs?: number | undefined;
1662
1662
  correctionId?: string | undefined;
1663
1663
  }, {
1664
- kind: "test_result";
1665
1664
  summary: string;
1666
1665
  status: "error" | "failed" | "passed";
1666
+ kind: "test_result";
1667
1667
  command: string;
1668
1668
  decisionId: string;
1669
1669
  testId: string;
1670
1670
  durationMs?: number | undefined;
1671
1671
  evidence?: {
1672
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1673
- label: string;
1674
1672
  id: string;
1673
+ label: string;
1674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
1675
  capture: "at_action" | "historical_lookup" | "fixture";
1676
1676
  locator?: string | undefined;
1677
1677
  }[] | undefined;
@@ -1692,15 +1692,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1692
1692
  locator: z.ZodOptional<z.ZodString>;
1693
1693
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1694
1694
  }, "strict", z.ZodTypeAny, {
1695
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1696
- label: string;
1697
1695
  id: string;
1696
+ label: string;
1697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1698
  capture: "at_action" | "historical_lookup" | "fixture";
1699
1699
  locator?: string | undefined;
1700
1700
  }, {
1701
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1702
- label: string;
1703
1701
  id: string;
1702
+ label: string;
1703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1704
1704
  capture: "at_action" | "historical_lookup" | "fixture";
1705
1705
  locator?: string | undefined;
1706
1706
  }>, "many">>;
@@ -1709,9 +1709,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1709
1709
  statement: string;
1710
1710
  rationale: string;
1711
1711
  evidence: {
1712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
- label: string;
1714
1712
  id: string;
1713
+ label: string;
1714
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
1715
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1716
  locator?: string | undefined;
1717
1717
  }[];
@@ -1730,9 +1730,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1730
1730
  supersedesDecisionIds: string[];
1731
1731
  proposedBy: string;
1732
1732
  evidence?: {
1733
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1734
- label: string;
1735
1733
  id: string;
1734
+ label: string;
1735
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1736
1736
  capture: "at_action" | "historical_lookup" | "fixture";
1737
1737
  locator?: string | undefined;
1738
1738
  }[] | undefined;
@@ -1744,13 +1744,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1744
1744
  id: z.ZodString;
1745
1745
  label: z.ZodString;
1746
1746
  }, "strict", z.ZodTypeAny, {
1747
- kind: "agent" | "human";
1748
- label: string;
1749
1747
  id: string;
1750
- }, {
1751
- kind: "agent" | "human";
1752
1748
  label: string;
1749
+ kind: "agent" | "human";
1750
+ }, {
1753
1751
  id: string;
1752
+ label: string;
1753
+ kind: "agent" | "human";
1754
1754
  }>;
1755
1755
  note: z.ZodOptional<z.ZodString>;
1756
1756
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1760,47 +1760,47 @@ 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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1764
- label: string;
1765
1763
  id: string;
1764
+ label: string;
1765
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1766
  capture: "at_action" | "historical_lookup" | "fixture";
1767
1767
  locator?: string | undefined;
1768
1768
  }, {
1769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
- label: string;
1771
1769
  id: string;
1770
+ label: string;
1771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
1772
  capture: "at_action" | "historical_lookup" | "fixture";
1773
1773
  locator?: string | undefined;
1774
1774
  }>, "many">>;
1775
1775
  }, "strict", z.ZodTypeAny, {
1776
1776
  kind: "correction_approved";
1777
1777
  evidence: {
1778
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1779
- label: string;
1780
1778
  id: string;
1779
+ label: string;
1780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1781
  capture: "at_action" | "historical_lookup" | "fixture";
1782
1782
  locator?: string | undefined;
1783
1783
  }[];
1784
1784
  correctionId: string;
1785
1785
  approvedBy: {
1786
- kind: "agent" | "human";
1787
- label: string;
1788
1786
  id: string;
1787
+ label: string;
1788
+ kind: "agent" | "human";
1789
1789
  };
1790
1790
  note?: string | undefined;
1791
1791
  }, {
1792
1792
  kind: "correction_approved";
1793
1793
  correctionId: string;
1794
1794
  approvedBy: {
1795
- kind: "agent" | "human";
1796
- label: string;
1797
1795
  id: string;
1796
+ label: string;
1797
+ kind: "agent" | "human";
1798
1798
  };
1799
1799
  note?: string | undefined;
1800
1800
  evidence?: {
1801
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1802
- label: string;
1803
1801
  id: string;
1802
+ label: string;
1803
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1804
1804
  capture: "at_action" | "historical_lookup" | "fixture";
1805
1805
  locator?: string | undefined;
1806
1806
  }[] | undefined;
@@ -1816,24 +1816,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1816
1816
  locator: z.ZodOptional<z.ZodString>;
1817
1817
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1818
1818
  }, "strict", z.ZodTypeAny, {
1819
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1820
- label: string;
1821
1819
  id: string;
1820
+ label: string;
1821
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1822
1822
  capture: "at_action" | "historical_lookup" | "fixture";
1823
1823
  locator?: string | undefined;
1824
1824
  }, {
1825
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1826
- label: string;
1827
1825
  id: string;
1826
+ label: string;
1827
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1828
1828
  capture: "at_action" | "historical_lookup" | "fixture";
1829
1829
  locator?: string | undefined;
1830
1830
  }>, "many">>;
1831
1831
  }, "strict", z.ZodTypeAny, {
1832
1832
  kind: "decision_superseded";
1833
1833
  evidence: {
1834
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1835
- label: string;
1836
1834
  id: string;
1835
+ label: string;
1836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
1837
  capture: "at_action" | "historical_lookup" | "fixture";
1838
1838
  locator?: string | undefined;
1839
1839
  }[];
@@ -1846,9 +1846,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1846
1846
  correctionId: string;
1847
1847
  replacementDecisionId: string;
1848
1848
  evidence?: {
1849
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1850
- label: string;
1851
1849
  id: string;
1850
+ label: string;
1851
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1852
1852
  capture: "at_action" | "historical_lookup" | "fixture";
1853
1853
  locator?: string | undefined;
1854
1854
  }[] | undefined;
@@ -1864,15 +1864,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1864
1864
  locator: z.ZodOptional<z.ZodString>;
1865
1865
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1866
1866
  }, "strict", z.ZodTypeAny, {
1867
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1868
- label: string;
1869
1867
  id: string;
1868
+ label: string;
1869
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
1870
  capture: "at_action" | "historical_lookup" | "fixture";
1871
1871
  locator?: string | undefined;
1872
1872
  }, {
1873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
- label: string;
1875
1873
  id: string;
1874
+ label: string;
1875
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1876
1876
  capture: "at_action" | "historical_lookup" | "fixture";
1877
1877
  locator?: string | undefined;
1878
1878
  }>, "many">>;
@@ -1885,9 +1885,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1885
1885
  agentId: string;
1886
1886
  sessionId: string;
1887
1887
  evidence: {
1888
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
- label: string;
1890
1888
  id: string;
1889
+ label: string;
1890
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
1891
  capture: "at_action" | "historical_lookup" | "fixture";
1892
1892
  locator?: string | undefined;
1893
1893
  }[];
@@ -1903,9 +1903,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1903
1903
  recallReceiptId: string;
1904
1904
  capturedAtAction: boolean;
1905
1905
  evidence?: {
1906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
- label: string;
1908
1906
  id: string;
1907
+ label: string;
1908
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1909
1909
  capture: "at_action" | "historical_lookup" | "fixture";
1910
1910
  locator?: string | undefined;
1911
1911
  }[] | undefined;
@@ -1921,15 +1921,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1921
1921
  locator: z.ZodOptional<z.ZodString>;
1922
1922
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1923
1923
  }, "strict", z.ZodTypeAny, {
1924
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1925
- label: string;
1926
1924
  id: string;
1925
+ label: string;
1926
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1927
  capture: "at_action" | "historical_lookup" | "fixture";
1928
1928
  locator?: string | undefined;
1929
1929
  }, {
1930
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
- label: string;
1932
1930
  id: string;
1931
+ label: string;
1932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
1933
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1934
  locator?: string | undefined;
1935
1935
  }>, "many">>;
@@ -1941,9 +1941,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1941
1941
  agentId: string;
1942
1942
  sessionId: string;
1943
1943
  evidence: {
1944
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1945
- label: string;
1946
1944
  id: string;
1945
+ label: string;
1946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
1947
  capture: "at_action" | "historical_lookup" | "fixture";
1948
1948
  locator?: string | undefined;
1949
1949
  }[];
@@ -1960,9 +1960,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1960
1960
  recallReceiptId: string;
1961
1961
  staleDecisionAbsent: boolean;
1962
1962
  evidence?: {
1963
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1964
- label: string;
1965
1963
  id: string;
1964
+ label: string;
1965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
1966
  capture: "at_action" | "historical_lookup" | "fixture";
1967
1967
  locator?: string | undefined;
1968
1968
  }[] | undefined;
@@ -1977,37 +1977,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1977
1977
  locator: z.ZodOptional<z.ZodString>;
1978
1978
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1979
1979
  }, "strict", z.ZodTypeAny, {
1980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
- label: string;
1982
1980
  id: string;
1981
+ label: string;
1982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
1983
  capture: "at_action" | "historical_lookup" | "fixture";
1984
1984
  locator?: string | undefined;
1985
1985
  }, {
1986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
- label: string;
1988
1986
  id: string;
1987
+ label: string;
1988
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1989
1989
  capture: "at_action" | "historical_lookup" | "fixture";
1990
1990
  locator?: string | undefined;
1991
1991
  }>, "many">>;
1992
1992
  }, "strict", z.ZodTypeAny, {
1993
- kind: "mission_completed";
1994
1993
  summary: string;
1994
+ kind: "mission_completed";
1995
1995
  outcome: "failed" | "inconclusive" | "recovered";
1996
1996
  evidence: {
1997
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1998
- label: string;
1999
1997
  id: string;
1998
+ label: string;
1999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
2000
  capture: "at_action" | "historical_lookup" | "fixture";
2001
2001
  locator?: string | undefined;
2002
2002
  }[];
2003
2003
  }, {
2004
- kind: "mission_completed";
2005
2004
  summary: string;
2005
+ kind: "mission_completed";
2006
2006
  outcome: "failed" | "inconclusive" | "recovered";
2007
2007
  evidence?: {
2008
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
- label: string;
2010
2008
  id: string;
2009
+ label: string;
2010
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
2011
  capture: "at_action" | "historical_lookup" | "fixture";
2012
2012
  locator?: string | undefined;
2013
2013
  }[] | undefined;
@@ -2015,38 +2015,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2015
2015
  kind: "mission_started";
2016
2016
  title: string;
2017
2017
  evidence: {
2018
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2019
- label: string;
2020
2018
  id: string;
2019
+ label: string;
2020
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
2021
  capture: "at_action" | "historical_lookup" | "fixture";
2022
2022
  locator?: string | undefined;
2023
2023
  }[];
2024
2024
  objective: string;
2025
2025
  runMode: "replay" | "fixture" | "live";
2026
2026
  } | {
2027
- kind: "agent_status";
2028
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2029
2027
  label: string;
2028
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2029
+ kind: "agent_status";
2030
2030
  role: string;
2031
2031
  agentId: string;
2032
2032
  sessionId: string;
2033
2033
  evidence: {
2034
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
- label: string;
2036
2034
  id: string;
2035
+ label: string;
2036
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
2037
  capture: "at_action" | "historical_lookup" | "fixture";
2038
2038
  locator?: string | undefined;
2039
2039
  }[];
2040
2040
  detail?: string | undefined;
2041
2041
  } | {
2042
- kind: "agent_output";
2043
2042
  summary: string;
2043
+ kind: "agent_output";
2044
2044
  agentId: string;
2045
2045
  sessionId: string;
2046
2046
  evidence: {
2047
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2048
- label: string;
2049
2047
  id: string;
2048
+ label: string;
2049
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
2050
  capture: "at_action" | "historical_lookup" | "fixture";
2051
2051
  locator?: string | undefined;
2052
2052
  }[];
@@ -2057,9 +2057,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2057
2057
  statement: string;
2058
2058
  sessionId: string;
2059
2059
  evidence: {
2060
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2061
- label: string;
2062
2060
  id: string;
2061
+ label: string;
2062
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2063
2063
  capture: "at_action" | "historical_lookup" | "fixture";
2064
2064
  locator?: string | undefined;
2065
2065
  }[];
@@ -2067,12 +2067,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2067
2067
  decisionId: string;
2068
2068
  confidence?: number | undefined;
2069
2069
  } | {
2070
- kind: "conflict_detected";
2071
2070
  summary: string;
2071
+ kind: "conflict_detected";
2072
2072
  evidence: {
2073
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
- label: string;
2075
2073
  id: string;
2074
+ label: string;
2075
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
2076
  capture: "at_action" | "historical_lookup" | "fixture";
2077
2077
  locator?: string | undefined;
2078
2078
  }[];
@@ -2080,14 +2080,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2080
2080
  decisionIds: string[];
2081
2081
  agentIds: string[];
2082
2082
  } | {
2083
- kind: "test_result";
2084
2083
  summary: string;
2085
2084
  status: "error" | "failed" | "passed";
2085
+ kind: "test_result";
2086
2086
  command: string;
2087
2087
  evidence: {
2088
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2089
- label: string;
2090
2088
  id: string;
2089
+ label: string;
2090
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2091
2091
  capture: "at_action" | "historical_lookup" | "fixture";
2092
2092
  locator?: string | undefined;
2093
2093
  }[];
@@ -2100,9 +2100,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2100
2100
  statement: string;
2101
2101
  rationale: string;
2102
2102
  evidence: {
2103
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2104
- label: string;
2105
2103
  id: string;
2104
+ label: string;
2105
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2106
2106
  capture: "at_action" | "historical_lookup" | "fixture";
2107
2107
  locator?: string | undefined;
2108
2108
  }[];
@@ -2114,25 +2114,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2114
2114
  } | {
2115
2115
  kind: "correction_approved";
2116
2116
  evidence: {
2117
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2118
- label: string;
2119
2117
  id: string;
2118
+ label: string;
2119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2120
2120
  capture: "at_action" | "historical_lookup" | "fixture";
2121
2121
  locator?: string | undefined;
2122
2122
  }[];
2123
2123
  correctionId: string;
2124
2124
  approvedBy: {
2125
- kind: "agent" | "human";
2126
- label: string;
2127
2125
  id: string;
2126
+ label: string;
2127
+ kind: "agent" | "human";
2128
2128
  };
2129
2129
  note?: string | undefined;
2130
2130
  } | {
2131
2131
  kind: "decision_superseded";
2132
2132
  evidence: {
2133
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2134
- label: string;
2135
2133
  id: string;
2134
+ label: string;
2135
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2136
2136
  capture: "at_action" | "historical_lookup" | "fixture";
2137
2137
  locator?: string | undefined;
2138
2138
  }[];
@@ -2145,9 +2145,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2145
2145
  agentId: string;
2146
2146
  sessionId: string;
2147
2147
  evidence: {
2148
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2149
- label: string;
2150
2148
  id: string;
2149
+ label: string;
2150
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2151
2151
  capture: "at_action" | "historical_lookup" | "fixture";
2152
2152
  locator?: string | undefined;
2153
2153
  }[];
@@ -2159,9 +2159,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2159
2159
  agentId: string;
2160
2160
  sessionId: string;
2161
2161
  evidence: {
2162
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2163
- label: string;
2164
2162
  id: string;
2163
+ label: string;
2164
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2165
2165
  capture: "at_action" | "historical_lookup" | "fixture";
2166
2166
  locator?: string | undefined;
2167
2167
  }[];
@@ -2170,13 +2170,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2170
2170
  recallReceiptId: string;
2171
2171
  staleDecisionAbsent: boolean;
2172
2172
  } | {
2173
- kind: "mission_completed";
2174
2173
  summary: string;
2174
+ kind: "mission_completed";
2175
2175
  outcome: "failed" | "inconclusive" | "recovered";
2176
2176
  evidence: {
2177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2178
- label: string;
2179
2177
  id: string;
2178
+ label: string;
2179
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2180
2180
  capture: "at_action" | "historical_lookup" | "fixture";
2181
2181
  locator?: string | undefined;
2182
2182
  }[];
@@ -2186,37 +2186,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2186
2186
  objective: string;
2187
2187
  runMode: "replay" | "fixture" | "live";
2188
2188
  evidence?: {
2189
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
- label: string;
2191
2189
  id: string;
2190
+ label: string;
2191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2192
  capture: "at_action" | "historical_lookup" | "fixture";
2193
2193
  locator?: string | undefined;
2194
2194
  }[] | undefined;
2195
2195
  } | {
2196
- kind: "agent_status";
2197
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2198
2196
  label: string;
2197
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2198
+ kind: "agent_status";
2199
2199
  role: string;
2200
2200
  agentId: string;
2201
2201
  sessionId: string;
2202
2202
  detail?: string | undefined;
2203
2203
  evidence?: {
2204
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2205
- label: string;
2206
2204
  id: string;
2205
+ label: string;
2206
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2207
2207
  capture: "at_action" | "historical_lookup" | "fixture";
2208
2208
  locator?: string | undefined;
2209
2209
  }[] | undefined;
2210
2210
  } | {
2211
- kind: "agent_output";
2212
2211
  summary: string;
2212
+ kind: "agent_output";
2213
2213
  agentId: string;
2214
2214
  sessionId: string;
2215
2215
  outputId: string;
2216
2216
  evidence?: {
2217
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2218
- label: string;
2219
2217
  id: string;
2218
+ label: string;
2219
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2220
2220
  capture: "at_action" | "historical_lookup" | "fixture";
2221
2221
  locator?: string | undefined;
2222
2222
  }[] | undefined;
@@ -2229,37 +2229,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2229
2229
  decisionId: string;
2230
2230
  confidence?: number | undefined;
2231
2231
  evidence?: {
2232
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
- label: string;
2234
2232
  id: string;
2233
+ label: string;
2234
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2235
2235
  capture: "at_action" | "historical_lookup" | "fixture";
2236
2236
  locator?: string | undefined;
2237
2237
  }[] | undefined;
2238
2238
  } | {
2239
- kind: "conflict_detected";
2240
2239
  summary: string;
2240
+ kind: "conflict_detected";
2241
2241
  conflictId: string;
2242
2242
  decisionIds: string[];
2243
2243
  agentIds: string[];
2244
2244
  evidence?: {
2245
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2246
- label: string;
2247
2245
  id: string;
2246
+ label: string;
2247
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2248
2248
  capture: "at_action" | "historical_lookup" | "fixture";
2249
2249
  locator?: string | undefined;
2250
2250
  }[] | undefined;
2251
2251
  } | {
2252
- kind: "test_result";
2253
2252
  summary: string;
2254
2253
  status: "error" | "failed" | "passed";
2254
+ kind: "test_result";
2255
2255
  command: string;
2256
2256
  decisionId: string;
2257
2257
  testId: string;
2258
2258
  durationMs?: number | undefined;
2259
2259
  evidence?: {
2260
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2261
- label: string;
2262
2260
  id: string;
2261
+ label: string;
2262
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
2263
  capture: "at_action" | "historical_lookup" | "fixture";
2264
2264
  locator?: string | undefined;
2265
2265
  }[] | undefined;
@@ -2274,9 +2274,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2274
2274
  supersedesDecisionIds: string[];
2275
2275
  proposedBy: string;
2276
2276
  evidence?: {
2277
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
- label: string;
2279
2277
  id: string;
2278
+ label: string;
2279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2280
2280
  capture: "at_action" | "historical_lookup" | "fixture";
2281
2281
  locator?: string | undefined;
2282
2282
  }[] | undefined;
@@ -2284,15 +2284,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2284
2284
  kind: "correction_approved";
2285
2285
  correctionId: string;
2286
2286
  approvedBy: {
2287
- kind: "agent" | "human";
2288
- label: string;
2289
2287
  id: string;
2288
+ label: string;
2289
+ kind: "agent" | "human";
2290
2290
  };
2291
2291
  note?: string | undefined;
2292
2292
  evidence?: {
2293
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2294
- label: string;
2295
2293
  id: string;
2294
+ label: string;
2295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2296
  capture: "at_action" | "historical_lookup" | "fixture";
2297
2297
  locator?: string | undefined;
2298
2298
  }[] | undefined;
@@ -2302,9 +2302,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2302
2302
  correctionId: string;
2303
2303
  replacementDecisionId: string;
2304
2304
  evidence?: {
2305
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2306
- label: string;
2307
2305
  id: string;
2306
+ label: string;
2307
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2308
2308
  capture: "at_action" | "historical_lookup" | "fixture";
2309
2309
  locator?: string | undefined;
2310
2310
  }[] | undefined;
@@ -2317,9 +2317,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2317
2317
  recallReceiptId: string;
2318
2318
  capturedAtAction: boolean;
2319
2319
  evidence?: {
2320
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2321
- label: string;
2322
2320
  id: string;
2321
+ label: string;
2322
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2323
2323
  capture: "at_action" | "historical_lookup" | "fixture";
2324
2324
  locator?: string | undefined;
2325
2325
  }[] | undefined;
@@ -2332,20 +2332,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2332
2332
  recallReceiptId: string;
2333
2333
  staleDecisionAbsent: boolean;
2334
2334
  evidence?: {
2335
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2336
- label: string;
2337
2335
  id: string;
2336
+ label: string;
2337
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2338
2338
  capture: "at_action" | "historical_lookup" | "fixture";
2339
2339
  locator?: string | undefined;
2340
2340
  }[] | undefined;
2341
2341
  } | {
2342
- kind: "mission_completed";
2343
2342
  summary: string;
2343
+ kind: "mission_completed";
2344
2344
  outcome: "failed" | "inconclusive" | "recovered";
2345
2345
  evidence?: {
2346
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
- label: string;
2348
2346
  id: string;
2347
+ label: string;
2348
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2349
  capture: "at_action" | "historical_lookup" | "fixture";
2350
2350
  locator?: string | undefined;
2351
2351
  }[] | undefined;
@@ -2366,15 +2366,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2366
2366
  locator: z.ZodOptional<z.ZodString>;
2367
2367
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2368
2368
  }, "strict", z.ZodTypeAny, {
2369
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2370
- label: string;
2371
2369
  id: string;
2370
+ label: string;
2371
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2372
2372
  capture: "at_action" | "historical_lookup" | "fixture";
2373
2373
  locator?: string | undefined;
2374
2374
  }, {
2375
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2376
- label: string;
2377
2375
  id: string;
2376
+ label: string;
2377
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2378
2378
  capture: "at_action" | "historical_lookup" | "fixture";
2379
2379
  locator?: string | undefined;
2380
2380
  }>, "many">>;
@@ -2382,9 +2382,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2382
2382
  kind: "mission_started";
2383
2383
  title: string;
2384
2384
  evidence: {
2385
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
- label: string;
2387
2385
  id: string;
2386
+ label: string;
2387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2388
2388
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2389
  locator?: string | undefined;
2390
2390
  }[];
@@ -2396,9 +2396,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2396
2396
  objective: string;
2397
2397
  runMode: "replay" | "fixture" | "live";
2398
2398
  evidence?: {
2399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
- label: string;
2401
2399
  id: string;
2400
+ label: string;
2401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2402
2402
  capture: "at_action" | "historical_lookup" | "fixture";
2403
2403
  locator?: string | undefined;
2404
2404
  }[] | undefined;
@@ -2414,15 +2414,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2414
2414
  locator: z.ZodOptional<z.ZodString>;
2415
2415
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2416
2416
  }, "strict", z.ZodTypeAny, {
2417
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
- label: string;
2419
2417
  id: string;
2418
+ label: string;
2419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2420
2420
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2421
  locator?: string | undefined;
2422
2422
  }, {
2423
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
- label: string;
2425
2423
  id: string;
2424
+ label: string;
2425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2426
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2427
  locator?: string | undefined;
2428
2428
  }>, "many">>;
@@ -2430,32 +2430,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2430
2430
  sessionId: z.ZodString;
2431
2431
  kind: z.ZodLiteral<"agent_status">;
2432
2432
  }, "strict", z.ZodTypeAny, {
2433
- kind: "agent_status";
2434
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2435
2433
  label: string;
2434
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2435
+ kind: "agent_status";
2436
2436
  role: string;
2437
2437
  agentId: string;
2438
2438
  sessionId: string;
2439
2439
  evidence: {
2440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2441
- label: string;
2442
2440
  id: string;
2441
+ label: string;
2442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2443
2443
  capture: "at_action" | "historical_lookup" | "fixture";
2444
2444
  locator?: string | undefined;
2445
2445
  }[];
2446
2446
  detail?: string | undefined;
2447
2447
  }, {
2448
- kind: "agent_status";
2449
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2450
2448
  label: string;
2449
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2450
+ kind: "agent_status";
2451
2451
  role: string;
2452
2452
  agentId: string;
2453
2453
  sessionId: string;
2454
2454
  detail?: string | undefined;
2455
2455
  evidence?: {
2456
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
- label: string;
2458
2456
  id: string;
2457
+ label: string;
2458
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2459
2459
  capture: "at_action" | "historical_lookup" | "fixture";
2460
2460
  locator?: string | undefined;
2461
2461
  }[] | undefined;
@@ -2469,15 +2469,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2469
2469
  locator: z.ZodOptional<z.ZodString>;
2470
2470
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2471
2471
  }, "strict", z.ZodTypeAny, {
2472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2473
- label: string;
2474
2472
  id: string;
2473
+ label: string;
2474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2475
2475
  capture: "at_action" | "historical_lookup" | "fixture";
2476
2476
  locator?: string | undefined;
2477
2477
  }, {
2478
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
- label: string;
2480
2478
  id: string;
2479
+ label: string;
2480
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2481
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2482
  locator?: string | undefined;
2483
2483
  }>, "many">>;
@@ -2485,28 +2485,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2485
2485
  sessionId: z.ZodString;
2486
2486
  kind: z.ZodLiteral<"agent_output">;
2487
2487
  }, "strict", z.ZodTypeAny, {
2488
- kind: "agent_output";
2489
2488
  summary: string;
2489
+ kind: "agent_output";
2490
2490
  agentId: string;
2491
2491
  sessionId: string;
2492
2492
  evidence: {
2493
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2494
- label: string;
2495
2493
  id: string;
2494
+ label: string;
2495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
2496
  capture: "at_action" | "historical_lookup" | "fixture";
2497
2497
  locator?: string | undefined;
2498
2498
  }[];
2499
2499
  outputId: string;
2500
2500
  }, {
2501
- kind: "agent_output";
2502
2501
  summary: string;
2502
+ kind: "agent_output";
2503
2503
  agentId: string;
2504
2504
  sessionId: string;
2505
2505
  outputId: string;
2506
2506
  evidence?: {
2507
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
- label: string;
2509
2507
  id: string;
2508
+ label: string;
2509
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2510
2510
  capture: "at_action" | "historical_lookup" | "fixture";
2511
2511
  locator?: string | undefined;
2512
2512
  }[] | undefined;
@@ -2522,15 +2522,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2522
2522
  locator: z.ZodOptional<z.ZodString>;
2523
2523
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2524
2524
  }, "strict", z.ZodTypeAny, {
2525
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2526
- label: string;
2527
2525
  id: string;
2526
+ label: string;
2527
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2528
2528
  capture: "at_action" | "historical_lookup" | "fixture";
2529
2529
  locator?: string | undefined;
2530
2530
  }, {
2531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2532
- label: string;
2533
2531
  id: string;
2532
+ label: string;
2533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
2534
  capture: "at_action" | "historical_lookup" | "fixture";
2535
2535
  locator?: string | undefined;
2536
2536
  }>, "many">>;
@@ -2543,9 +2543,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2543
2543
  statement: string;
2544
2544
  sessionId: string;
2545
2545
  evidence: {
2546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2547
- label: string;
2548
2546
  id: string;
2547
+ label: string;
2548
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2549
2549
  capture: "at_action" | "historical_lookup" | "fixture";
2550
2550
  locator?: string | undefined;
2551
2551
  }[];
@@ -2561,9 +2561,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2561
2561
  decisionId: string;
2562
2562
  confidence?: number | undefined;
2563
2563
  evidence?: {
2564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2565
- label: string;
2566
2564
  id: string;
2565
+ label: string;
2566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
2567
  capture: "at_action" | "historical_lookup" | "fixture";
2568
2568
  locator?: string | undefined;
2569
2569
  }[] | undefined;
@@ -2580,25 +2580,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2580
2580
  locator: z.ZodOptional<z.ZodString>;
2581
2581
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2582
2582
  }, "strict", z.ZodTypeAny, {
2583
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2584
- label: string;
2585
2583
  id: string;
2584
+ label: string;
2585
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2586
2586
  capture: "at_action" | "historical_lookup" | "fixture";
2587
2587
  locator?: string | undefined;
2588
2588
  }, {
2589
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
- label: string;
2591
2589
  id: string;
2590
+ label: string;
2591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2592
2592
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2593
  locator?: string | undefined;
2594
2594
  }>, "many">>;
2595
2595
  }, "strict", z.ZodTypeAny, {
2596
- kind: "conflict_detected";
2597
2596
  summary: string;
2597
+ kind: "conflict_detected";
2598
2598
  evidence: {
2599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
- label: string;
2601
2599
  id: string;
2600
+ label: string;
2601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
2602
  capture: "at_action" | "historical_lookup" | "fixture";
2603
2603
  locator?: string | undefined;
2604
2604
  }[];
@@ -2606,15 +2606,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2606
2606
  decisionIds: string[];
2607
2607
  agentIds: string[];
2608
2608
  }, {
2609
- kind: "conflict_detected";
2610
2609
  summary: string;
2610
+ kind: "conflict_detected";
2611
2611
  conflictId: string;
2612
2612
  decisionIds: string[];
2613
2613
  agentIds: string[];
2614
2614
  evidence?: {
2615
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2616
- label: string;
2617
2615
  id: string;
2616
+ label: string;
2617
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2618
2618
  capture: "at_action" | "historical_lookup" | "fixture";
2619
2619
  locator?: string | undefined;
2620
2620
  }[] | undefined;
@@ -2634,27 +2634,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2634
2634
  locator: z.ZodOptional<z.ZodString>;
2635
2635
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2636
2636
  }, "strict", z.ZodTypeAny, {
2637
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2638
- label: string;
2639
2637
  id: string;
2638
+ label: string;
2639
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2640
2640
  capture: "at_action" | "historical_lookup" | "fixture";
2641
2641
  locator?: string | undefined;
2642
2642
  }, {
2643
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2644
- label: string;
2645
2643
  id: string;
2644
+ label: string;
2645
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2646
2646
  capture: "at_action" | "historical_lookup" | "fixture";
2647
2647
  locator?: string | undefined;
2648
2648
  }>, "many">>;
2649
2649
  }, "strict", z.ZodTypeAny, {
2650
- kind: "test_result";
2651
2650
  summary: string;
2652
2651
  status: "error" | "failed" | "passed";
2652
+ kind: "test_result";
2653
2653
  command: string;
2654
2654
  evidence: {
2655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2656
- label: string;
2657
2655
  id: string;
2656
+ label: string;
2657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2658
  capture: "at_action" | "historical_lookup" | "fixture";
2659
2659
  locator?: string | undefined;
2660
2660
  }[];
@@ -2663,17 +2663,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2663
2663
  durationMs?: number | undefined;
2664
2664
  correctionId?: string | undefined;
2665
2665
  }, {
2666
- kind: "test_result";
2667
2666
  summary: string;
2668
2667
  status: "error" | "failed" | "passed";
2668
+ kind: "test_result";
2669
2669
  command: string;
2670
2670
  decisionId: string;
2671
2671
  testId: string;
2672
2672
  durationMs?: number | undefined;
2673
2673
  evidence?: {
2674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2675
- label: string;
2676
2674
  id: string;
2675
+ label: string;
2676
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
2677
  capture: "at_action" | "historical_lookup" | "fixture";
2678
2678
  locator?: string | undefined;
2679
2679
  }[] | undefined;
@@ -2694,15 +2694,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2694
2694
  locator: z.ZodOptional<z.ZodString>;
2695
2695
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2696
2696
  }, "strict", z.ZodTypeAny, {
2697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2698
- label: string;
2699
2697
  id: string;
2698
+ label: string;
2699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2700
  capture: "at_action" | "historical_lookup" | "fixture";
2701
2701
  locator?: string | undefined;
2702
2702
  }, {
2703
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2704
- label: string;
2705
2703
  id: string;
2704
+ label: string;
2705
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2706
2706
  capture: "at_action" | "historical_lookup" | "fixture";
2707
2707
  locator?: string | undefined;
2708
2708
  }>, "many">>;
@@ -2711,9 +2711,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2711
2711
  statement: string;
2712
2712
  rationale: string;
2713
2713
  evidence: {
2714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
- label: string;
2716
2714
  id: string;
2715
+ label: string;
2716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
2717
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2718
  locator?: string | undefined;
2719
2719
  }[];
@@ -2732,9 +2732,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2732
2732
  supersedesDecisionIds: string[];
2733
2733
  proposedBy: string;
2734
2734
  evidence?: {
2735
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2736
- label: string;
2737
2735
  id: string;
2736
+ label: string;
2737
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2738
2738
  capture: "at_action" | "historical_lookup" | "fixture";
2739
2739
  locator?: string | undefined;
2740
2740
  }[] | undefined;
@@ -2746,13 +2746,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2746
2746
  id: z.ZodString;
2747
2747
  label: z.ZodString;
2748
2748
  }, "strict", z.ZodTypeAny, {
2749
- kind: "agent" | "human";
2750
- label: string;
2751
2749
  id: string;
2752
- }, {
2753
- kind: "agent" | "human";
2754
2750
  label: string;
2751
+ kind: "agent" | "human";
2752
+ }, {
2755
2753
  id: string;
2754
+ label: string;
2755
+ kind: "agent" | "human";
2756
2756
  }>;
2757
2757
  note: z.ZodOptional<z.ZodString>;
2758
2758
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2762,47 +2762,47 @@ 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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2766
- label: string;
2767
2765
  id: string;
2766
+ label: string;
2767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2768
  capture: "at_action" | "historical_lookup" | "fixture";
2769
2769
  locator?: string | undefined;
2770
2770
  }, {
2771
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
- label: string;
2773
2771
  id: string;
2772
+ label: string;
2773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
2774
  capture: "at_action" | "historical_lookup" | "fixture";
2775
2775
  locator?: string | undefined;
2776
2776
  }>, "many">>;
2777
2777
  }, "strict", z.ZodTypeAny, {
2778
2778
  kind: "correction_approved";
2779
2779
  evidence: {
2780
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2781
- label: string;
2782
2780
  id: string;
2781
+ label: string;
2782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2783
  capture: "at_action" | "historical_lookup" | "fixture";
2784
2784
  locator?: string | undefined;
2785
2785
  }[];
2786
2786
  correctionId: string;
2787
2787
  approvedBy: {
2788
- kind: "agent" | "human";
2789
- label: string;
2790
2788
  id: string;
2789
+ label: string;
2790
+ kind: "agent" | "human";
2791
2791
  };
2792
2792
  note?: string | undefined;
2793
2793
  }, {
2794
2794
  kind: "correction_approved";
2795
2795
  correctionId: string;
2796
2796
  approvedBy: {
2797
- kind: "agent" | "human";
2798
- label: string;
2799
2797
  id: string;
2798
+ label: string;
2799
+ kind: "agent" | "human";
2800
2800
  };
2801
2801
  note?: string | undefined;
2802
2802
  evidence?: {
2803
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2804
- label: string;
2805
2803
  id: string;
2804
+ label: string;
2805
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2806
2806
  capture: "at_action" | "historical_lookup" | "fixture";
2807
2807
  locator?: string | undefined;
2808
2808
  }[] | undefined;
@@ -2818,24 +2818,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2818
2818
  locator: z.ZodOptional<z.ZodString>;
2819
2819
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2820
2820
  }, "strict", z.ZodTypeAny, {
2821
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2822
- label: string;
2823
2821
  id: string;
2822
+ label: string;
2823
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2824
2824
  capture: "at_action" | "historical_lookup" | "fixture";
2825
2825
  locator?: string | undefined;
2826
2826
  }, {
2827
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2828
- label: string;
2829
2827
  id: string;
2828
+ label: string;
2829
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2830
2830
  capture: "at_action" | "historical_lookup" | "fixture";
2831
2831
  locator?: string | undefined;
2832
2832
  }>, "many">>;
2833
2833
  }, "strict", z.ZodTypeAny, {
2834
2834
  kind: "decision_superseded";
2835
2835
  evidence: {
2836
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2837
- label: string;
2838
2836
  id: string;
2837
+ label: string;
2838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
2839
  capture: "at_action" | "historical_lookup" | "fixture";
2840
2840
  locator?: string | undefined;
2841
2841
  }[];
@@ -2848,9 +2848,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2848
2848
  correctionId: string;
2849
2849
  replacementDecisionId: string;
2850
2850
  evidence?: {
2851
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2852
- label: string;
2853
2851
  id: string;
2852
+ label: string;
2853
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2854
2854
  capture: "at_action" | "historical_lookup" | "fixture";
2855
2855
  locator?: string | undefined;
2856
2856
  }[] | undefined;
@@ -2866,15 +2866,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2866
2866
  locator: z.ZodOptional<z.ZodString>;
2867
2867
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2868
2868
  }, "strict", z.ZodTypeAny, {
2869
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2870
- label: string;
2871
2869
  id: string;
2870
+ label: string;
2871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
2872
  capture: "at_action" | "historical_lookup" | "fixture";
2873
2873
  locator?: string | undefined;
2874
2874
  }, {
2875
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
- label: string;
2877
2875
  id: string;
2876
+ label: string;
2877
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2878
2878
  capture: "at_action" | "historical_lookup" | "fixture";
2879
2879
  locator?: string | undefined;
2880
2880
  }>, "many">>;
@@ -2887,9 +2887,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2887
2887
  agentId: string;
2888
2888
  sessionId: string;
2889
2889
  evidence: {
2890
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2891
- label: string;
2892
2890
  id: string;
2891
+ label: string;
2892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2893
2893
  capture: "at_action" | "historical_lookup" | "fixture";
2894
2894
  locator?: string | undefined;
2895
2895
  }[];
@@ -2905,9 +2905,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2905
2905
  recallReceiptId: string;
2906
2906
  capturedAtAction: boolean;
2907
2907
  evidence?: {
2908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
- label: string;
2910
2908
  id: string;
2909
+ label: string;
2910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2911
2911
  capture: "at_action" | "historical_lookup" | "fixture";
2912
2912
  locator?: string | undefined;
2913
2913
  }[] | undefined;
@@ -2923,15 +2923,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2923
2923
  locator: z.ZodOptional<z.ZodString>;
2924
2924
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2925
2925
  }, "strict", z.ZodTypeAny, {
2926
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2927
- label: string;
2928
2926
  id: string;
2927
+ label: string;
2928
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
2929
  capture: "at_action" | "historical_lookup" | "fixture";
2930
2930
  locator?: string | undefined;
2931
2931
  }, {
2932
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
- label: string;
2934
2932
  id: string;
2933
+ label: string;
2934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2935
2935
  capture: "at_action" | "historical_lookup" | "fixture";
2936
2936
  locator?: string | undefined;
2937
2937
  }>, "many">>;
@@ -2943,9 +2943,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2943
2943
  agentId: string;
2944
2944
  sessionId: string;
2945
2945
  evidence: {
2946
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2947
- label: string;
2948
2946
  id: string;
2947
+ label: string;
2948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
2949
  capture: "at_action" | "historical_lookup" | "fixture";
2950
2950
  locator?: string | undefined;
2951
2951
  }[];
@@ -2962,9 +2962,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2962
2962
  recallReceiptId: string;
2963
2963
  staleDecisionAbsent: boolean;
2964
2964
  evidence?: {
2965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2966
- label: string;
2967
2965
  id: string;
2966
+ label: string;
2967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
2968
  capture: "at_action" | "historical_lookup" | "fixture";
2969
2969
  locator?: string | undefined;
2970
2970
  }[] | undefined;
@@ -2979,37 +2979,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2979
2979
  locator: z.ZodOptional<z.ZodString>;
2980
2980
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2981
2981
  }, "strict", z.ZodTypeAny, {
2982
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
- label: string;
2984
2982
  id: string;
2983
+ label: string;
2984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2985
2985
  capture: "at_action" | "historical_lookup" | "fixture";
2986
2986
  locator?: string | undefined;
2987
2987
  }, {
2988
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
- label: string;
2990
2988
  id: string;
2989
+ label: string;
2990
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2991
2991
  capture: "at_action" | "historical_lookup" | "fixture";
2992
2992
  locator?: string | undefined;
2993
2993
  }>, "many">>;
2994
2994
  }, "strict", z.ZodTypeAny, {
2995
- kind: "mission_completed";
2996
2995
  summary: string;
2996
+ kind: "mission_completed";
2997
2997
  outcome: "failed" | "inconclusive" | "recovered";
2998
2998
  evidence: {
2999
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3000
- label: string;
3001
2999
  id: string;
3000
+ label: string;
3001
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3002
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3003
3003
  locator?: string | undefined;
3004
3004
  }[];
3005
3005
  }, {
3006
- kind: "mission_completed";
3007
3006
  summary: string;
3007
+ kind: "mission_completed";
3008
3008
  outcome: "failed" | "inconclusive" | "recovered";
3009
3009
  evidence?: {
3010
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3011
- label: string;
3012
3010
  id: string;
3011
+ label: string;
3012
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3013
3013
  capture: "at_action" | "historical_lookup" | "fixture";
3014
3014
  locator?: string | undefined;
3015
3015
  }[] | undefined;
@@ -3017,38 +3017,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3017
3017
  kind: "mission_started";
3018
3018
  title: string;
3019
3019
  evidence: {
3020
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3021
- label: string;
3022
3020
  id: string;
3021
+ label: string;
3022
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3023
3023
  capture: "at_action" | "historical_lookup" | "fixture";
3024
3024
  locator?: string | undefined;
3025
3025
  }[];
3026
3026
  objective: string;
3027
3027
  runMode: "replay" | "fixture" | "live";
3028
3028
  } | {
3029
- kind: "agent_status";
3030
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3031
3029
  label: string;
3030
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3031
+ kind: "agent_status";
3032
3032
  role: string;
3033
3033
  agentId: string;
3034
3034
  sessionId: string;
3035
3035
  evidence: {
3036
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3037
- label: string;
3038
3036
  id: string;
3037
+ label: string;
3038
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3039
3039
  capture: "at_action" | "historical_lookup" | "fixture";
3040
3040
  locator?: string | undefined;
3041
3041
  }[];
3042
3042
  detail?: string | undefined;
3043
3043
  } | {
3044
- kind: "agent_output";
3045
3044
  summary: string;
3045
+ kind: "agent_output";
3046
3046
  agentId: string;
3047
3047
  sessionId: string;
3048
3048
  evidence: {
3049
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3050
- label: string;
3051
3049
  id: string;
3050
+ label: string;
3051
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3052
3052
  capture: "at_action" | "historical_lookup" | "fixture";
3053
3053
  locator?: string | undefined;
3054
3054
  }[];
@@ -3059,9 +3059,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3059
3059
  statement: string;
3060
3060
  sessionId: string;
3061
3061
  evidence: {
3062
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3063
- label: string;
3064
3062
  id: string;
3063
+ label: string;
3064
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3065
3065
  capture: "at_action" | "historical_lookup" | "fixture";
3066
3066
  locator?: string | undefined;
3067
3067
  }[];
@@ -3069,12 +3069,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3069
3069
  decisionId: string;
3070
3070
  confidence?: number | undefined;
3071
3071
  } | {
3072
- kind: "conflict_detected";
3073
3072
  summary: string;
3073
+ kind: "conflict_detected";
3074
3074
  evidence: {
3075
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3076
- label: string;
3077
3075
  id: string;
3076
+ label: string;
3077
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3078
  capture: "at_action" | "historical_lookup" | "fixture";
3079
3079
  locator?: string | undefined;
3080
3080
  }[];
@@ -3082,14 +3082,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3082
3082
  decisionIds: string[];
3083
3083
  agentIds: string[];
3084
3084
  } | {
3085
- kind: "test_result";
3086
3085
  summary: string;
3087
3086
  status: "error" | "failed" | "passed";
3087
+ kind: "test_result";
3088
3088
  command: string;
3089
3089
  evidence: {
3090
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3091
- label: string;
3092
3090
  id: string;
3091
+ label: string;
3092
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3093
3093
  capture: "at_action" | "historical_lookup" | "fixture";
3094
3094
  locator?: string | undefined;
3095
3095
  }[];
@@ -3102,9 +3102,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3102
3102
  statement: string;
3103
3103
  rationale: string;
3104
3104
  evidence: {
3105
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3106
- label: string;
3107
3105
  id: string;
3106
+ label: string;
3107
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3108
3108
  capture: "at_action" | "historical_lookup" | "fixture";
3109
3109
  locator?: string | undefined;
3110
3110
  }[];
@@ -3116,25 +3116,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3116
3116
  } | {
3117
3117
  kind: "correction_approved";
3118
3118
  evidence: {
3119
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3120
- label: string;
3121
3119
  id: string;
3120
+ label: string;
3121
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3122
3122
  capture: "at_action" | "historical_lookup" | "fixture";
3123
3123
  locator?: string | undefined;
3124
3124
  }[];
3125
3125
  correctionId: string;
3126
3126
  approvedBy: {
3127
- kind: "agent" | "human";
3128
- label: string;
3129
3127
  id: string;
3128
+ label: string;
3129
+ kind: "agent" | "human";
3130
3130
  };
3131
3131
  note?: string | undefined;
3132
3132
  } | {
3133
3133
  kind: "decision_superseded";
3134
3134
  evidence: {
3135
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3136
- label: string;
3137
3135
  id: string;
3136
+ label: string;
3137
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3138
3138
  capture: "at_action" | "historical_lookup" | "fixture";
3139
3139
  locator?: string | undefined;
3140
3140
  }[];
@@ -3147,9 +3147,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3147
3147
  agentId: string;
3148
3148
  sessionId: string;
3149
3149
  evidence: {
3150
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3151
- label: string;
3152
3150
  id: string;
3151
+ label: string;
3152
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3153
3153
  capture: "at_action" | "historical_lookup" | "fixture";
3154
3154
  locator?: string | undefined;
3155
3155
  }[];
@@ -3161,9 +3161,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3161
3161
  agentId: string;
3162
3162
  sessionId: string;
3163
3163
  evidence: {
3164
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3165
- label: string;
3166
3164
  id: string;
3165
+ label: string;
3166
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
3167
  capture: "at_action" | "historical_lookup" | "fixture";
3168
3168
  locator?: string | undefined;
3169
3169
  }[];
@@ -3172,13 +3172,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3172
3172
  recallReceiptId: string;
3173
3173
  staleDecisionAbsent: boolean;
3174
3174
  } | {
3175
- kind: "mission_completed";
3176
3175
  summary: string;
3176
+ kind: "mission_completed";
3177
3177
  outcome: "failed" | "inconclusive" | "recovered";
3178
3178
  evidence: {
3179
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3180
- label: string;
3181
3179
  id: string;
3180
+ label: string;
3181
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3182
3182
  capture: "at_action" | "historical_lookup" | "fixture";
3183
3183
  locator?: string | undefined;
3184
3184
  }[];
@@ -3188,37 +3188,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3188
3188
  objective: string;
3189
3189
  runMode: "replay" | "fixture" | "live";
3190
3190
  evidence?: {
3191
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
- label: string;
3193
3191
  id: string;
3192
+ label: string;
3193
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3194
  capture: "at_action" | "historical_lookup" | "fixture";
3195
3195
  locator?: string | undefined;
3196
3196
  }[] | undefined;
3197
3197
  } | {
3198
- kind: "agent_status";
3199
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3200
3198
  label: string;
3199
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3200
+ kind: "agent_status";
3201
3201
  role: string;
3202
3202
  agentId: string;
3203
3203
  sessionId: string;
3204
3204
  detail?: string | undefined;
3205
3205
  evidence?: {
3206
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3207
- label: string;
3208
3206
  id: string;
3207
+ label: string;
3208
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3209
3209
  capture: "at_action" | "historical_lookup" | "fixture";
3210
3210
  locator?: string | undefined;
3211
3211
  }[] | undefined;
3212
3212
  } | {
3213
- kind: "agent_output";
3214
3213
  summary: string;
3214
+ kind: "agent_output";
3215
3215
  agentId: string;
3216
3216
  sessionId: string;
3217
3217
  outputId: string;
3218
3218
  evidence?: {
3219
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
- label: string;
3221
3219
  id: string;
3220
+ label: string;
3221
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3222
3222
  capture: "at_action" | "historical_lookup" | "fixture";
3223
3223
  locator?: string | undefined;
3224
3224
  }[] | undefined;
@@ -3231,37 +3231,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3231
3231
  decisionId: string;
3232
3232
  confidence?: number | undefined;
3233
3233
  evidence?: {
3234
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
- label: string;
3236
3234
  id: string;
3235
+ label: string;
3236
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3237
3237
  capture: "at_action" | "historical_lookup" | "fixture";
3238
3238
  locator?: string | undefined;
3239
3239
  }[] | undefined;
3240
3240
  } | {
3241
- kind: "conflict_detected";
3242
3241
  summary: string;
3242
+ kind: "conflict_detected";
3243
3243
  conflictId: string;
3244
3244
  decisionIds: string[];
3245
3245
  agentIds: string[];
3246
3246
  evidence?: {
3247
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3248
- label: string;
3249
3247
  id: string;
3248
+ label: string;
3249
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3250
3250
  capture: "at_action" | "historical_lookup" | "fixture";
3251
3251
  locator?: string | undefined;
3252
3252
  }[] | undefined;
3253
3253
  } | {
3254
- kind: "test_result";
3255
3254
  summary: string;
3256
3255
  status: "error" | "failed" | "passed";
3256
+ kind: "test_result";
3257
3257
  command: string;
3258
3258
  decisionId: string;
3259
3259
  testId: string;
3260
3260
  durationMs?: number | undefined;
3261
3261
  evidence?: {
3262
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
- label: string;
3264
3262
  id: string;
3263
+ label: string;
3264
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
3265
  capture: "at_action" | "historical_lookup" | "fixture";
3266
3266
  locator?: string | undefined;
3267
3267
  }[] | undefined;
@@ -3276,9 +3276,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3276
3276
  supersedesDecisionIds: string[];
3277
3277
  proposedBy: string;
3278
3278
  evidence?: {
3279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
- label: string;
3281
3279
  id: string;
3280
+ label: string;
3281
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3282
  capture: "at_action" | "historical_lookup" | "fixture";
3283
3283
  locator?: string | undefined;
3284
3284
  }[] | undefined;
@@ -3286,15 +3286,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3286
3286
  kind: "correction_approved";
3287
3287
  correctionId: string;
3288
3288
  approvedBy: {
3289
- kind: "agent" | "human";
3290
- label: string;
3291
3289
  id: string;
3290
+ label: string;
3291
+ kind: "agent" | "human";
3292
3292
  };
3293
3293
  note?: string | undefined;
3294
3294
  evidence?: {
3295
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3296
- label: string;
3297
3295
  id: string;
3296
+ label: string;
3297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3298
3298
  capture: "at_action" | "historical_lookup" | "fixture";
3299
3299
  locator?: string | undefined;
3300
3300
  }[] | undefined;
@@ -3304,9 +3304,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3304
3304
  correctionId: string;
3305
3305
  replacementDecisionId: string;
3306
3306
  evidence?: {
3307
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
- label: string;
3309
3307
  id: string;
3308
+ label: string;
3309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3310
3310
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3311
  locator?: string | undefined;
3312
3312
  }[] | undefined;
@@ -3319,9 +3319,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3319
3319
  recallReceiptId: string;
3320
3320
  capturedAtAction: boolean;
3321
3321
  evidence?: {
3322
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
- label: string;
3324
3322
  id: string;
3323
+ label: string;
3324
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3325
3325
  capture: "at_action" | "historical_lookup" | "fixture";
3326
3326
  locator?: string | undefined;
3327
3327
  }[] | undefined;
@@ -3334,20 +3334,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3334
3334
  recallReceiptId: string;
3335
3335
  staleDecisionAbsent: boolean;
3336
3336
  evidence?: {
3337
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
- label: string;
3339
3337
  id: string;
3338
+ label: string;
3339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3340
3340
  capture: "at_action" | "historical_lookup" | "fixture";
3341
3341
  locator?: string | undefined;
3342
3342
  }[] | undefined;
3343
3343
  } | {
3344
- kind: "mission_completed";
3345
3344
  summary: string;
3345
+ kind: "mission_completed";
3346
3346
  outcome: "failed" | "inconclusive" | "recovered";
3347
3347
  evidence?: {
3348
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3349
- label: string;
3350
3348
  id: string;
3349
+ label: string;
3350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3351
3351
  capture: "at_action" | "historical_lookup" | "fixture";
3352
3352
  locator?: string | undefined;
3353
3353
  }[] | undefined;
@@ -3357,38 +3357,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3357
3357
  kind: "mission_started";
3358
3358
  title: string;
3359
3359
  evidence: {
3360
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3361
- label: string;
3362
3360
  id: string;
3361
+ label: string;
3362
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3363
3363
  capture: "at_action" | "historical_lookup" | "fixture";
3364
3364
  locator?: string | undefined;
3365
3365
  }[];
3366
3366
  objective: string;
3367
3367
  runMode: "replay" | "fixture" | "live";
3368
3368
  } | {
3369
- kind: "agent_status";
3370
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3371
3369
  label: string;
3370
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3371
+ kind: "agent_status";
3372
3372
  role: string;
3373
3373
  agentId: string;
3374
3374
  sessionId: string;
3375
3375
  evidence: {
3376
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3377
- label: string;
3378
3376
  id: string;
3377
+ label: string;
3378
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3379
3379
  capture: "at_action" | "historical_lookup" | "fixture";
3380
3380
  locator?: string | undefined;
3381
3381
  }[];
3382
3382
  detail?: string | undefined;
3383
3383
  } | {
3384
- kind: "agent_output";
3385
3384
  summary: string;
3385
+ kind: "agent_output";
3386
3386
  agentId: string;
3387
3387
  sessionId: string;
3388
3388
  evidence: {
3389
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
- label: string;
3391
3389
  id: string;
3390
+ label: string;
3391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
3392
  capture: "at_action" | "historical_lookup" | "fixture";
3393
3393
  locator?: string | undefined;
3394
3394
  }[];
@@ -3399,9 +3399,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3399
3399
  statement: string;
3400
3400
  sessionId: string;
3401
3401
  evidence: {
3402
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3403
- label: string;
3404
3402
  id: string;
3403
+ label: string;
3404
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3405
3405
  capture: "at_action" | "historical_lookup" | "fixture";
3406
3406
  locator?: string | undefined;
3407
3407
  }[];
@@ -3409,12 +3409,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3409
3409
  decisionId: string;
3410
3410
  confidence?: number | undefined;
3411
3411
  } | {
3412
- kind: "conflict_detected";
3413
3412
  summary: string;
3413
+ kind: "conflict_detected";
3414
3414
  evidence: {
3415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
- label: string;
3417
3415
  id: string;
3416
+ label: string;
3417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3418
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3419
  locator?: string | undefined;
3420
3420
  }[];
@@ -3422,14 +3422,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3422
3422
  decisionIds: string[];
3423
3423
  agentIds: string[];
3424
3424
  } | {
3425
- kind: "test_result";
3426
3425
  summary: string;
3427
3426
  status: "error" | "failed" | "passed";
3427
+ kind: "test_result";
3428
3428
  command: string;
3429
3429
  evidence: {
3430
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3431
- label: string;
3432
3430
  id: string;
3431
+ label: string;
3432
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3433
3433
  capture: "at_action" | "historical_lookup" | "fixture";
3434
3434
  locator?: string | undefined;
3435
3435
  }[];
@@ -3442,9 +3442,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3442
3442
  statement: string;
3443
3443
  rationale: string;
3444
3444
  evidence: {
3445
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3446
- label: string;
3447
3445
  id: string;
3446
+ label: string;
3447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3448
3448
  capture: "at_action" | "historical_lookup" | "fixture";
3449
3449
  locator?: string | undefined;
3450
3450
  }[];
@@ -3456,25 +3456,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3456
3456
  } | {
3457
3457
  kind: "correction_approved";
3458
3458
  evidence: {
3459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
- label: string;
3461
3459
  id: string;
3460
+ label: string;
3461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3462
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3463
  locator?: string | undefined;
3464
3464
  }[];
3465
3465
  correctionId: string;
3466
3466
  approvedBy: {
3467
- kind: "agent" | "human";
3468
- label: string;
3469
3467
  id: string;
3468
+ label: string;
3469
+ kind: "agent" | "human";
3470
3470
  };
3471
3471
  note?: string | undefined;
3472
3472
  } | {
3473
3473
  kind: "decision_superseded";
3474
3474
  evidence: {
3475
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
- label: string;
3477
3475
  id: string;
3476
+ label: string;
3477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3478
3478
  capture: "at_action" | "historical_lookup" | "fixture";
3479
3479
  locator?: string | undefined;
3480
3480
  }[];
@@ -3487,9 +3487,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3487
3487
  agentId: string;
3488
3488
  sessionId: string;
3489
3489
  evidence: {
3490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
- label: string;
3492
3490
  id: string;
3491
+ label: string;
3492
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3493
3493
  capture: "at_action" | "historical_lookup" | "fixture";
3494
3494
  locator?: string | undefined;
3495
3495
  }[];
@@ -3501,9 +3501,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3501
3501
  agentId: string;
3502
3502
  sessionId: string;
3503
3503
  evidence: {
3504
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3505
- label: string;
3506
3504
  id: string;
3505
+ label: string;
3506
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3507
3507
  capture: "at_action" | "historical_lookup" | "fixture";
3508
3508
  locator?: string | undefined;
3509
3509
  }[];
@@ -3512,13 +3512,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3512
3512
  recallReceiptId: string;
3513
3513
  staleDecisionAbsent: boolean;
3514
3514
  } | {
3515
- kind: "mission_completed";
3516
3515
  summary: string;
3516
+ kind: "mission_completed";
3517
3517
  outcome: "failed" | "inconclusive" | "recovered";
3518
3518
  evidence: {
3519
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
- label: string;
3521
3519
  id: string;
3520
+ label: string;
3521
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3522
3522
  capture: "at_action" | "historical_lookup" | "fixture";
3523
3523
  locator?: string | undefined;
3524
3524
  }[];
@@ -3532,37 +3532,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3532
3532
  objective: string;
3533
3533
  runMode: "replay" | "fixture" | "live";
3534
3534
  evidence?: {
3535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
- label: string;
3537
3535
  id: string;
3536
+ label: string;
3537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
3538
  capture: "at_action" | "historical_lookup" | "fixture";
3539
3539
  locator?: string | undefined;
3540
3540
  }[] | undefined;
3541
3541
  } | {
3542
- kind: "agent_status";
3543
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3544
3542
  label: string;
3543
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3544
+ kind: "agent_status";
3545
3545
  role: string;
3546
3546
  agentId: string;
3547
3547
  sessionId: string;
3548
3548
  detail?: string | undefined;
3549
3549
  evidence?: {
3550
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3551
- label: string;
3552
3550
  id: string;
3551
+ label: string;
3552
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3553
3553
  capture: "at_action" | "historical_lookup" | "fixture";
3554
3554
  locator?: string | undefined;
3555
3555
  }[] | undefined;
3556
3556
  } | {
3557
- kind: "agent_output";
3558
3557
  summary: string;
3558
+ kind: "agent_output";
3559
3559
  agentId: string;
3560
3560
  sessionId: string;
3561
3561
  outputId: string;
3562
3562
  evidence?: {
3563
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
- label: string;
3565
3563
  id: string;
3564
+ label: string;
3565
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
3566
  capture: "at_action" | "historical_lookup" | "fixture";
3567
3567
  locator?: string | undefined;
3568
3568
  }[] | undefined;
@@ -3575,37 +3575,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3575
3575
  decisionId: string;
3576
3576
  confidence?: number | undefined;
3577
3577
  evidence?: {
3578
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3579
- label: string;
3580
3578
  id: string;
3579
+ label: string;
3580
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3581
3581
  capture: "at_action" | "historical_lookup" | "fixture";
3582
3582
  locator?: string | undefined;
3583
3583
  }[] | undefined;
3584
3584
  } | {
3585
- kind: "conflict_detected";
3586
3585
  summary: string;
3586
+ kind: "conflict_detected";
3587
3587
  conflictId: string;
3588
3588
  decisionIds: string[];
3589
3589
  agentIds: string[];
3590
3590
  evidence?: {
3591
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3592
- label: string;
3593
3591
  id: string;
3592
+ label: string;
3593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3594
3594
  capture: "at_action" | "historical_lookup" | "fixture";
3595
3595
  locator?: string | undefined;
3596
3596
  }[] | undefined;
3597
3597
  } | {
3598
- kind: "test_result";
3599
3598
  summary: string;
3600
3599
  status: "error" | "failed" | "passed";
3600
+ kind: "test_result";
3601
3601
  command: string;
3602
3602
  decisionId: string;
3603
3603
  testId: string;
3604
3604
  durationMs?: number | undefined;
3605
3605
  evidence?: {
3606
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3607
- label: string;
3608
3606
  id: string;
3607
+ label: string;
3608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3609
3609
  capture: "at_action" | "historical_lookup" | "fixture";
3610
3610
  locator?: string | undefined;
3611
3611
  }[] | undefined;
@@ -3620,9 +3620,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3620
3620
  supersedesDecisionIds: string[];
3621
3621
  proposedBy: string;
3622
3622
  evidence?: {
3623
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
- label: string;
3625
3623
  id: string;
3624
+ label: string;
3625
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3626
3626
  capture: "at_action" | "historical_lookup" | "fixture";
3627
3627
  locator?: string | undefined;
3628
3628
  }[] | undefined;
@@ -3630,15 +3630,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3630
3630
  kind: "correction_approved";
3631
3631
  correctionId: string;
3632
3632
  approvedBy: {
3633
- kind: "agent" | "human";
3634
- label: string;
3635
3633
  id: string;
3634
+ label: string;
3635
+ kind: "agent" | "human";
3636
3636
  };
3637
3637
  note?: string | undefined;
3638
3638
  evidence?: {
3639
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
- label: string;
3641
3639
  id: string;
3640
+ label: string;
3641
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3642
3642
  capture: "at_action" | "historical_lookup" | "fixture";
3643
3643
  locator?: string | undefined;
3644
3644
  }[] | undefined;
@@ -3648,9 +3648,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3648
3648
  correctionId: string;
3649
3649
  replacementDecisionId: string;
3650
3650
  evidence?: {
3651
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3652
- label: string;
3653
3651
  id: string;
3652
+ label: string;
3653
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3654
3654
  capture: "at_action" | "historical_lookup" | "fixture";
3655
3655
  locator?: string | undefined;
3656
3656
  }[] | undefined;
@@ -3663,9 +3663,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3663
3663
  recallReceiptId: string;
3664
3664
  capturedAtAction: boolean;
3665
3665
  evidence?: {
3666
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
- label: string;
3668
3666
  id: string;
3667
+ label: string;
3668
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3669
  capture: "at_action" | "historical_lookup" | "fixture";
3670
3670
  locator?: string | undefined;
3671
3671
  }[] | undefined;
@@ -3678,20 +3678,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3678
3678
  recallReceiptId: string;
3679
3679
  staleDecisionAbsent: boolean;
3680
3680
  evidence?: {
3681
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3682
- label: string;
3683
3681
  id: string;
3682
+ label: string;
3683
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3684
3684
  capture: "at_action" | "historical_lookup" | "fixture";
3685
3685
  locator?: string | undefined;
3686
3686
  }[] | undefined;
3687
3687
  } | {
3688
- kind: "mission_completed";
3689
3688
  summary: string;
3689
+ kind: "mission_completed";
3690
3690
  outcome: "failed" | "inconclusive" | "recovered";
3691
3691
  evidence?: {
3692
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3693
- label: string;
3694
3692
  id: string;
3693
+ label: string;
3694
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3695
3695
  capture: "at_action" | "historical_lookup" | "fixture";
3696
3696
  locator?: string | undefined;
3697
3697
  }[] | undefined;
@@ -3721,15 +3721,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3721
3721
  locator: z.ZodOptional<z.ZodString>;
3722
3722
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3723
3723
  }, "strict", z.ZodTypeAny, {
3724
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3725
- label: string;
3726
3724
  id: string;
3725
+ label: string;
3726
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3727
3727
  capture: "at_action" | "historical_lookup" | "fixture";
3728
3728
  locator?: string | undefined;
3729
3729
  }, {
3730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3731
- label: string;
3732
3730
  id: string;
3731
+ label: string;
3732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3733
3733
  capture: "at_action" | "historical_lookup" | "fixture";
3734
3734
  locator?: string | undefined;
3735
3735
  }>, "many">>;
@@ -3737,9 +3737,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3737
3737
  kind: "mission_started";
3738
3738
  title: string;
3739
3739
  evidence: {
3740
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
- label: string;
3742
3740
  id: string;
3741
+ label: string;
3742
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3743
3743
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3744
  locator?: string | undefined;
3745
3745
  }[];
@@ -3751,9 +3751,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3751
3751
  objective: string;
3752
3752
  runMode: "replay" | "fixture" | "live";
3753
3753
  evidence?: {
3754
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
- label: string;
3756
3754
  id: string;
3755
+ label: string;
3756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3757
3757
  capture: "at_action" | "historical_lookup" | "fixture";
3758
3758
  locator?: string | undefined;
3759
3759
  }[] | undefined;
@@ -3769,15 +3769,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3769
3769
  locator: z.ZodOptional<z.ZodString>;
3770
3770
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3771
3771
  }, "strict", z.ZodTypeAny, {
3772
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
- label: string;
3774
3772
  id: string;
3773
+ label: string;
3774
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3775
3775
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3776
  locator?: string | undefined;
3777
3777
  }, {
3778
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
- label: string;
3780
3778
  id: string;
3779
+ label: string;
3780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3781
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3782
  locator?: string | undefined;
3783
3783
  }>, "many">>;
@@ -3785,32 +3785,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3785
3785
  sessionId: z.ZodString;
3786
3786
  kind: z.ZodLiteral<"agent_status">;
3787
3787
  }, "strict", z.ZodTypeAny, {
3788
- kind: "agent_status";
3789
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3790
3788
  label: string;
3789
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3790
+ kind: "agent_status";
3791
3791
  role: string;
3792
3792
  agentId: string;
3793
3793
  sessionId: string;
3794
3794
  evidence: {
3795
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3796
- label: string;
3797
3795
  id: string;
3796
+ label: string;
3797
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3798
3798
  capture: "at_action" | "historical_lookup" | "fixture";
3799
3799
  locator?: string | undefined;
3800
3800
  }[];
3801
3801
  detail?: string | undefined;
3802
3802
  }, {
3803
- kind: "agent_status";
3804
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3805
3803
  label: string;
3804
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3805
+ kind: "agent_status";
3806
3806
  role: string;
3807
3807
  agentId: string;
3808
3808
  sessionId: string;
3809
3809
  detail?: string | undefined;
3810
3810
  evidence?: {
3811
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
- label: string;
3813
3811
  id: string;
3812
+ label: string;
3813
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3814
3814
  capture: "at_action" | "historical_lookup" | "fixture";
3815
3815
  locator?: string | undefined;
3816
3816
  }[] | undefined;
@@ -3824,15 +3824,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3824
3824
  locator: z.ZodOptional<z.ZodString>;
3825
3825
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3826
3826
  }, "strict", z.ZodTypeAny, {
3827
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3828
- label: string;
3829
3827
  id: string;
3828
+ label: string;
3829
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3830
3830
  capture: "at_action" | "historical_lookup" | "fixture";
3831
3831
  locator?: string | undefined;
3832
3832
  }, {
3833
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
- label: string;
3835
3833
  id: string;
3834
+ label: string;
3835
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3836
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3837
  locator?: string | undefined;
3838
3838
  }>, "many">>;
@@ -3840,28 +3840,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3840
3840
  sessionId: z.ZodString;
3841
3841
  kind: z.ZodLiteral<"agent_output">;
3842
3842
  }, "strict", z.ZodTypeAny, {
3843
- kind: "agent_output";
3844
3843
  summary: string;
3844
+ kind: "agent_output";
3845
3845
  agentId: string;
3846
3846
  sessionId: string;
3847
3847
  evidence: {
3848
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3849
- label: string;
3850
3848
  id: string;
3849
+ label: string;
3850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
3851
  capture: "at_action" | "historical_lookup" | "fixture";
3852
3852
  locator?: string | undefined;
3853
3853
  }[];
3854
3854
  outputId: string;
3855
3855
  }, {
3856
- kind: "agent_output";
3857
3856
  summary: string;
3857
+ kind: "agent_output";
3858
3858
  agentId: string;
3859
3859
  sessionId: string;
3860
3860
  outputId: string;
3861
3861
  evidence?: {
3862
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
- label: string;
3864
3862
  id: string;
3863
+ label: string;
3864
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3865
3865
  capture: "at_action" | "historical_lookup" | "fixture";
3866
3866
  locator?: string | undefined;
3867
3867
  }[] | undefined;
@@ -3877,15 +3877,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3877
3877
  locator: z.ZodOptional<z.ZodString>;
3878
3878
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3879
3879
  }, "strict", z.ZodTypeAny, {
3880
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3881
- label: string;
3882
3880
  id: string;
3881
+ label: string;
3882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3883
3883
  capture: "at_action" | "historical_lookup" | "fixture";
3884
3884
  locator?: string | undefined;
3885
3885
  }, {
3886
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3887
- label: string;
3888
3886
  id: string;
3887
+ label: string;
3888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
3889
  capture: "at_action" | "historical_lookup" | "fixture";
3890
3890
  locator?: string | undefined;
3891
3891
  }>, "many">>;
@@ -3898,9 +3898,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3898
3898
  statement: string;
3899
3899
  sessionId: string;
3900
3900
  evidence: {
3901
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3902
- label: string;
3903
3901
  id: string;
3902
+ label: string;
3903
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3904
3904
  capture: "at_action" | "historical_lookup" | "fixture";
3905
3905
  locator?: string | undefined;
3906
3906
  }[];
@@ -3916,9 +3916,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3916
3916
  decisionId: string;
3917
3917
  confidence?: number | undefined;
3918
3918
  evidence?: {
3919
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3920
- label: string;
3921
3919
  id: string;
3920
+ label: string;
3921
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
3922
  capture: "at_action" | "historical_lookup" | "fixture";
3923
3923
  locator?: string | undefined;
3924
3924
  }[] | undefined;
@@ -3935,25 +3935,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3935
3935
  locator: z.ZodOptional<z.ZodString>;
3936
3936
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3937
3937
  }, "strict", z.ZodTypeAny, {
3938
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3939
- label: string;
3940
3938
  id: string;
3939
+ label: string;
3940
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3941
3941
  capture: "at_action" | "historical_lookup" | "fixture";
3942
3942
  locator?: string | undefined;
3943
3943
  }, {
3944
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
- label: string;
3946
3944
  id: string;
3945
+ label: string;
3946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3947
3947
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3948
  locator?: string | undefined;
3949
3949
  }>, "many">>;
3950
3950
  }, "strict", z.ZodTypeAny, {
3951
- kind: "conflict_detected";
3952
3951
  summary: string;
3952
+ kind: "conflict_detected";
3953
3953
  evidence: {
3954
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
- label: string;
3956
3954
  id: string;
3955
+ label: string;
3956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
3957
  capture: "at_action" | "historical_lookup" | "fixture";
3958
3958
  locator?: string | undefined;
3959
3959
  }[];
@@ -3961,15 +3961,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3961
3961
  decisionIds: string[];
3962
3962
  agentIds: string[];
3963
3963
  }, {
3964
- kind: "conflict_detected";
3965
3964
  summary: string;
3965
+ kind: "conflict_detected";
3966
3966
  conflictId: string;
3967
3967
  decisionIds: string[];
3968
3968
  agentIds: string[];
3969
3969
  evidence?: {
3970
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3971
- label: string;
3972
3970
  id: string;
3971
+ label: string;
3972
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3973
3973
  capture: "at_action" | "historical_lookup" | "fixture";
3974
3974
  locator?: string | undefined;
3975
3975
  }[] | undefined;
@@ -3989,27 +3989,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3989
3989
  locator: z.ZodOptional<z.ZodString>;
3990
3990
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3991
3991
  }, "strict", z.ZodTypeAny, {
3992
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3993
- label: string;
3994
3992
  id: string;
3993
+ label: string;
3994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3995
3995
  capture: "at_action" | "historical_lookup" | "fixture";
3996
3996
  locator?: string | undefined;
3997
3997
  }, {
3998
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3999
- label: string;
4000
3998
  id: string;
3999
+ label: string;
4000
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4001
4001
  capture: "at_action" | "historical_lookup" | "fixture";
4002
4002
  locator?: string | undefined;
4003
4003
  }>, "many">>;
4004
4004
  }, "strict", z.ZodTypeAny, {
4005
- kind: "test_result";
4006
4005
  summary: string;
4007
4006
  status: "error" | "failed" | "passed";
4007
+ kind: "test_result";
4008
4008
  command: string;
4009
4009
  evidence: {
4010
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4011
- label: string;
4012
4010
  id: string;
4011
+ label: string;
4012
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4013
  capture: "at_action" | "historical_lookup" | "fixture";
4014
4014
  locator?: string | undefined;
4015
4015
  }[];
@@ -4018,17 +4018,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4018
4018
  durationMs?: number | undefined;
4019
4019
  correctionId?: string | undefined;
4020
4020
  }, {
4021
- kind: "test_result";
4022
4021
  summary: string;
4023
4022
  status: "error" | "failed" | "passed";
4023
+ kind: "test_result";
4024
4024
  command: string;
4025
4025
  decisionId: string;
4026
4026
  testId: string;
4027
4027
  durationMs?: number | undefined;
4028
4028
  evidence?: {
4029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4030
- label: string;
4031
4029
  id: string;
4030
+ label: string;
4031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
4032
  capture: "at_action" | "historical_lookup" | "fixture";
4033
4033
  locator?: string | undefined;
4034
4034
  }[] | undefined;
@@ -4049,15 +4049,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4049
4049
  locator: z.ZodOptional<z.ZodString>;
4050
4050
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4051
4051
  }, "strict", z.ZodTypeAny, {
4052
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4053
- label: string;
4054
4052
  id: string;
4053
+ label: string;
4054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4055
  capture: "at_action" | "historical_lookup" | "fixture";
4056
4056
  locator?: string | undefined;
4057
4057
  }, {
4058
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4059
- label: string;
4060
4058
  id: string;
4059
+ label: string;
4060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4061
4061
  capture: "at_action" | "historical_lookup" | "fixture";
4062
4062
  locator?: string | undefined;
4063
4063
  }>, "many">>;
@@ -4066,9 +4066,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4066
4066
  statement: string;
4067
4067
  rationale: string;
4068
4068
  evidence: {
4069
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
- label: string;
4071
4069
  id: string;
4070
+ label: string;
4071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
4072
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4073
  locator?: string | undefined;
4074
4074
  }[];
@@ -4087,9 +4087,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4087
4087
  supersedesDecisionIds: string[];
4088
4088
  proposedBy: string;
4089
4089
  evidence?: {
4090
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4091
- label: string;
4092
4090
  id: string;
4091
+ label: string;
4092
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4093
4093
  capture: "at_action" | "historical_lookup" | "fixture";
4094
4094
  locator?: string | undefined;
4095
4095
  }[] | undefined;
@@ -4101,13 +4101,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4101
4101
  id: z.ZodString;
4102
4102
  label: z.ZodString;
4103
4103
  }, "strict", z.ZodTypeAny, {
4104
- kind: "agent" | "human";
4105
- label: string;
4106
4104
  id: string;
4107
- }, {
4108
- kind: "agent" | "human";
4109
4105
  label: string;
4106
+ kind: "agent" | "human";
4107
+ }, {
4110
4108
  id: string;
4109
+ label: string;
4110
+ kind: "agent" | "human";
4111
4111
  }>;
4112
4112
  note: z.ZodOptional<z.ZodString>;
4113
4113
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4117,47 +4117,47 @@ 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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4121
- label: string;
4122
4120
  id: string;
4121
+ label: string;
4122
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4123
  capture: "at_action" | "historical_lookup" | "fixture";
4124
4124
  locator?: string | undefined;
4125
4125
  }, {
4126
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
- label: string;
4128
4126
  id: string;
4127
+ label: string;
4128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
4129
  capture: "at_action" | "historical_lookup" | "fixture";
4130
4130
  locator?: string | undefined;
4131
4131
  }>, "many">>;
4132
4132
  }, "strict", z.ZodTypeAny, {
4133
4133
  kind: "correction_approved";
4134
4134
  evidence: {
4135
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4136
- label: string;
4137
4135
  id: string;
4136
+ label: string;
4137
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4138
  capture: "at_action" | "historical_lookup" | "fixture";
4139
4139
  locator?: string | undefined;
4140
4140
  }[];
4141
4141
  correctionId: string;
4142
4142
  approvedBy: {
4143
- kind: "agent" | "human";
4144
- label: string;
4145
4143
  id: string;
4144
+ label: string;
4145
+ kind: "agent" | "human";
4146
4146
  };
4147
4147
  note?: string | undefined;
4148
4148
  }, {
4149
4149
  kind: "correction_approved";
4150
4150
  correctionId: string;
4151
4151
  approvedBy: {
4152
- kind: "agent" | "human";
4153
- label: string;
4154
4152
  id: string;
4153
+ label: string;
4154
+ kind: "agent" | "human";
4155
4155
  };
4156
4156
  note?: string | undefined;
4157
4157
  evidence?: {
4158
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4159
- label: string;
4160
4158
  id: string;
4159
+ label: string;
4160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4161
4161
  capture: "at_action" | "historical_lookup" | "fixture";
4162
4162
  locator?: string | undefined;
4163
4163
  }[] | undefined;
@@ -4173,24 +4173,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4173
4173
  locator: z.ZodOptional<z.ZodString>;
4174
4174
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4175
4175
  }, "strict", z.ZodTypeAny, {
4176
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4177
- label: string;
4178
4176
  id: string;
4177
+ label: string;
4178
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4179
4179
  capture: "at_action" | "historical_lookup" | "fixture";
4180
4180
  locator?: string | undefined;
4181
4181
  }, {
4182
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4183
- label: string;
4184
4182
  id: string;
4183
+ label: string;
4184
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4185
4185
  capture: "at_action" | "historical_lookup" | "fixture";
4186
4186
  locator?: string | undefined;
4187
4187
  }>, "many">>;
4188
4188
  }, "strict", z.ZodTypeAny, {
4189
4189
  kind: "decision_superseded";
4190
4190
  evidence: {
4191
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4192
- label: string;
4193
4191
  id: string;
4192
+ label: string;
4193
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
4194
  capture: "at_action" | "historical_lookup" | "fixture";
4195
4195
  locator?: string | undefined;
4196
4196
  }[];
@@ -4203,9 +4203,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4203
4203
  correctionId: string;
4204
4204
  replacementDecisionId: string;
4205
4205
  evidence?: {
4206
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4207
- label: string;
4208
4206
  id: string;
4207
+ label: string;
4208
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4209
4209
  capture: "at_action" | "historical_lookup" | "fixture";
4210
4210
  locator?: string | undefined;
4211
4211
  }[] | undefined;
@@ -4221,15 +4221,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4221
4221
  locator: z.ZodOptional<z.ZodString>;
4222
4222
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4223
4223
  }, "strict", z.ZodTypeAny, {
4224
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4225
- label: string;
4226
4224
  id: string;
4225
+ label: string;
4226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
4227
  capture: "at_action" | "historical_lookup" | "fixture";
4228
4228
  locator?: string | undefined;
4229
4229
  }, {
4230
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
- label: string;
4232
4230
  id: string;
4231
+ label: string;
4232
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4233
4233
  capture: "at_action" | "historical_lookup" | "fixture";
4234
4234
  locator?: string | undefined;
4235
4235
  }>, "many">>;
@@ -4242,9 +4242,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4242
4242
  agentId: string;
4243
4243
  sessionId: string;
4244
4244
  evidence: {
4245
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
- label: string;
4247
4245
  id: string;
4246
+ label: string;
4247
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4248
4248
  capture: "at_action" | "historical_lookup" | "fixture";
4249
4249
  locator?: string | undefined;
4250
4250
  }[];
@@ -4260,9 +4260,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4260
4260
  recallReceiptId: string;
4261
4261
  capturedAtAction: boolean;
4262
4262
  evidence?: {
4263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
- label: string;
4265
4263
  id: string;
4264
+ label: string;
4265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4266
4266
  capture: "at_action" | "historical_lookup" | "fixture";
4267
4267
  locator?: string | undefined;
4268
4268
  }[] | undefined;
@@ -4278,15 +4278,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4278
4278
  locator: z.ZodOptional<z.ZodString>;
4279
4279
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4280
4280
  }, "strict", z.ZodTypeAny, {
4281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4282
- label: string;
4283
4281
  id: string;
4282
+ label: string;
4283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
4284
  capture: "at_action" | "historical_lookup" | "fixture";
4285
4285
  locator?: string | undefined;
4286
4286
  }, {
4287
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
- label: string;
4289
4287
  id: string;
4288
+ label: string;
4289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4290
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4291
  locator?: string | undefined;
4292
4292
  }>, "many">>;
@@ -4298,9 +4298,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4298
4298
  agentId: string;
4299
4299
  sessionId: string;
4300
4300
  evidence: {
4301
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4302
- label: string;
4303
4301
  id: string;
4302
+ label: string;
4303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
4304
  capture: "at_action" | "historical_lookup" | "fixture";
4305
4305
  locator?: string | undefined;
4306
4306
  }[];
@@ -4317,9 +4317,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4317
4317
  recallReceiptId: string;
4318
4318
  staleDecisionAbsent: boolean;
4319
4319
  evidence?: {
4320
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4321
- label: string;
4322
4320
  id: string;
4321
+ label: string;
4322
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4323
  capture: "at_action" | "historical_lookup" | "fixture";
4324
4324
  locator?: string | undefined;
4325
4325
  }[] | undefined;
@@ -4334,37 +4334,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4334
4334
  locator: z.ZodOptional<z.ZodString>;
4335
4335
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4336
4336
  }, "strict", z.ZodTypeAny, {
4337
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
- label: string;
4339
4337
  id: string;
4338
+ label: string;
4339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4340
4340
  capture: "at_action" | "historical_lookup" | "fixture";
4341
4341
  locator?: string | undefined;
4342
4342
  }, {
4343
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
- label: string;
4345
4343
  id: string;
4344
+ label: string;
4345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4346
4346
  capture: "at_action" | "historical_lookup" | "fixture";
4347
4347
  locator?: string | undefined;
4348
4348
  }>, "many">>;
4349
4349
  }, "strict", z.ZodTypeAny, {
4350
- kind: "mission_completed";
4351
4350
  summary: string;
4351
+ kind: "mission_completed";
4352
4352
  outcome: "failed" | "inconclusive" | "recovered";
4353
4353
  evidence: {
4354
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4355
- label: string;
4356
4354
  id: string;
4355
+ label: string;
4356
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
4357
  capture: "at_action" | "historical_lookup" | "fixture";
4358
4358
  locator?: string | undefined;
4359
4359
  }[];
4360
4360
  }, {
4361
- kind: "mission_completed";
4362
4361
  summary: string;
4362
+ kind: "mission_completed";
4363
4363
  outcome: "failed" | "inconclusive" | "recovered";
4364
4364
  evidence?: {
4365
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4366
- label: string;
4367
4365
  id: string;
4366
+ label: string;
4367
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4368
4368
  capture: "at_action" | "historical_lookup" | "fixture";
4369
4369
  locator?: string | undefined;
4370
4370
  }[] | undefined;
@@ -4372,38 +4372,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4372
4372
  kind: "mission_started";
4373
4373
  title: string;
4374
4374
  evidence: {
4375
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4376
- label: string;
4377
4375
  id: string;
4376
+ label: string;
4377
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4378
4378
  capture: "at_action" | "historical_lookup" | "fixture";
4379
4379
  locator?: string | undefined;
4380
4380
  }[];
4381
4381
  objective: string;
4382
4382
  runMode: "replay" | "fixture" | "live";
4383
4383
  } | {
4384
- kind: "agent_status";
4385
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4386
4384
  label: string;
4385
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4386
+ kind: "agent_status";
4387
4387
  role: string;
4388
4388
  agentId: string;
4389
4389
  sessionId: string;
4390
4390
  evidence: {
4391
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4392
- label: string;
4393
4391
  id: string;
4392
+ label: string;
4393
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4394
4394
  capture: "at_action" | "historical_lookup" | "fixture";
4395
4395
  locator?: string | undefined;
4396
4396
  }[];
4397
4397
  detail?: string | undefined;
4398
4398
  } | {
4399
- kind: "agent_output";
4400
4399
  summary: string;
4400
+ kind: "agent_output";
4401
4401
  agentId: string;
4402
4402
  sessionId: string;
4403
4403
  evidence: {
4404
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4405
- label: string;
4406
4404
  id: string;
4405
+ label: string;
4406
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4407
4407
  capture: "at_action" | "historical_lookup" | "fixture";
4408
4408
  locator?: string | undefined;
4409
4409
  }[];
@@ -4414,9 +4414,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4414
4414
  statement: string;
4415
4415
  sessionId: string;
4416
4416
  evidence: {
4417
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4418
- label: string;
4419
4417
  id: string;
4418
+ label: string;
4419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4420
4420
  capture: "at_action" | "historical_lookup" | "fixture";
4421
4421
  locator?: string | undefined;
4422
4422
  }[];
@@ -4424,12 +4424,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4424
4424
  decisionId: string;
4425
4425
  confidence?: number | undefined;
4426
4426
  } | {
4427
- kind: "conflict_detected";
4428
4427
  summary: string;
4428
+ kind: "conflict_detected";
4429
4429
  evidence: {
4430
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
- label: string;
4432
4430
  id: string;
4431
+ label: string;
4432
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4433
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4434
  locator?: string | undefined;
4435
4435
  }[];
@@ -4437,14 +4437,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4437
4437
  decisionIds: string[];
4438
4438
  agentIds: string[];
4439
4439
  } | {
4440
- kind: "test_result";
4441
4440
  summary: string;
4442
4441
  status: "error" | "failed" | "passed";
4442
+ kind: "test_result";
4443
4443
  command: string;
4444
4444
  evidence: {
4445
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4446
- label: string;
4447
4445
  id: string;
4446
+ label: string;
4447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4448
4448
  capture: "at_action" | "historical_lookup" | "fixture";
4449
4449
  locator?: string | undefined;
4450
4450
  }[];
@@ -4457,9 +4457,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4457
4457
  statement: string;
4458
4458
  rationale: string;
4459
4459
  evidence: {
4460
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
- label: string;
4462
4460
  id: string;
4461
+ label: string;
4462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4463
4463
  capture: "at_action" | "historical_lookup" | "fixture";
4464
4464
  locator?: string | undefined;
4465
4465
  }[];
@@ -4471,25 +4471,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4471
4471
  } | {
4472
4472
  kind: "correction_approved";
4473
4473
  evidence: {
4474
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
- label: string;
4476
4474
  id: string;
4475
+ label: string;
4476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4477
4477
  capture: "at_action" | "historical_lookup" | "fixture";
4478
4478
  locator?: string | undefined;
4479
4479
  }[];
4480
4480
  correctionId: string;
4481
4481
  approvedBy: {
4482
- kind: "agent" | "human";
4483
- label: string;
4484
4482
  id: string;
4483
+ label: string;
4484
+ kind: "agent" | "human";
4485
4485
  };
4486
4486
  note?: string | undefined;
4487
4487
  } | {
4488
4488
  kind: "decision_superseded";
4489
4489
  evidence: {
4490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4491
- label: string;
4492
4490
  id: string;
4491
+ label: string;
4492
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4493
4493
  capture: "at_action" | "historical_lookup" | "fixture";
4494
4494
  locator?: string | undefined;
4495
4495
  }[];
@@ -4502,9 +4502,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4502
4502
  agentId: string;
4503
4503
  sessionId: string;
4504
4504
  evidence: {
4505
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4506
- label: string;
4507
4505
  id: string;
4506
+ label: string;
4507
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4508
4508
  capture: "at_action" | "historical_lookup" | "fixture";
4509
4509
  locator?: string | undefined;
4510
4510
  }[];
@@ -4516,9 +4516,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4516
4516
  agentId: string;
4517
4517
  sessionId: string;
4518
4518
  evidence: {
4519
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4520
- label: string;
4521
4519
  id: string;
4520
+ label: string;
4521
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4522
4522
  capture: "at_action" | "historical_lookup" | "fixture";
4523
4523
  locator?: string | undefined;
4524
4524
  }[];
@@ -4527,13 +4527,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4527
4527
  recallReceiptId: string;
4528
4528
  staleDecisionAbsent: boolean;
4529
4529
  } | {
4530
- kind: "mission_completed";
4531
4530
  summary: string;
4531
+ kind: "mission_completed";
4532
4532
  outcome: "failed" | "inconclusive" | "recovered";
4533
4533
  evidence: {
4534
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4535
- label: string;
4536
4534
  id: string;
4535
+ label: string;
4536
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4537
4537
  capture: "at_action" | "historical_lookup" | "fixture";
4538
4538
  locator?: string | undefined;
4539
4539
  }[];
@@ -4543,37 +4543,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4543
4543
  objective: string;
4544
4544
  runMode: "replay" | "fixture" | "live";
4545
4545
  evidence?: {
4546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4547
- label: string;
4548
4546
  id: string;
4547
+ label: string;
4548
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
4549
  capture: "at_action" | "historical_lookup" | "fixture";
4550
4550
  locator?: string | undefined;
4551
4551
  }[] | undefined;
4552
4552
  } | {
4553
- kind: "agent_status";
4554
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4555
4553
  label: string;
4554
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4555
+ kind: "agent_status";
4556
4556
  role: string;
4557
4557
  agentId: string;
4558
4558
  sessionId: string;
4559
4559
  detail?: string | undefined;
4560
4560
  evidence?: {
4561
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4562
- label: string;
4563
4561
  id: string;
4562
+ label: string;
4563
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
4564
  capture: "at_action" | "historical_lookup" | "fixture";
4565
4565
  locator?: string | undefined;
4566
4566
  }[] | undefined;
4567
4567
  } | {
4568
- kind: "agent_output";
4569
4568
  summary: string;
4569
+ kind: "agent_output";
4570
4570
  agentId: string;
4571
4571
  sessionId: string;
4572
4572
  outputId: string;
4573
4573
  evidence?: {
4574
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4575
- label: string;
4576
4574
  id: string;
4575
+ label: string;
4576
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4577
4577
  capture: "at_action" | "historical_lookup" | "fixture";
4578
4578
  locator?: string | undefined;
4579
4579
  }[] | undefined;
@@ -4586,37 +4586,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4586
4586
  decisionId: string;
4587
4587
  confidence?: number | undefined;
4588
4588
  evidence?: {
4589
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4590
- label: string;
4591
4589
  id: string;
4590
+ label: string;
4591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4592
4592
  capture: "at_action" | "historical_lookup" | "fixture";
4593
4593
  locator?: string | undefined;
4594
4594
  }[] | undefined;
4595
4595
  } | {
4596
- kind: "conflict_detected";
4597
4596
  summary: string;
4597
+ kind: "conflict_detected";
4598
4598
  conflictId: string;
4599
4599
  decisionIds: string[];
4600
4600
  agentIds: string[];
4601
4601
  evidence?: {
4602
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4603
- label: string;
4604
4602
  id: string;
4603
+ label: string;
4604
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4605
4605
  capture: "at_action" | "historical_lookup" | "fixture";
4606
4606
  locator?: string | undefined;
4607
4607
  }[] | undefined;
4608
4608
  } | {
4609
- kind: "test_result";
4610
4609
  summary: string;
4611
4610
  status: "error" | "failed" | "passed";
4611
+ kind: "test_result";
4612
4612
  command: string;
4613
4613
  decisionId: string;
4614
4614
  testId: string;
4615
4615
  durationMs?: number | undefined;
4616
4616
  evidence?: {
4617
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4618
- label: string;
4619
4617
  id: string;
4618
+ label: string;
4619
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4620
4620
  capture: "at_action" | "historical_lookup" | "fixture";
4621
4621
  locator?: string | undefined;
4622
4622
  }[] | undefined;
@@ -4631,9 +4631,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4631
4631
  supersedesDecisionIds: string[];
4632
4632
  proposedBy: string;
4633
4633
  evidence?: {
4634
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4635
- label: string;
4636
4634
  id: string;
4635
+ label: string;
4636
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4637
4637
  capture: "at_action" | "historical_lookup" | "fixture";
4638
4638
  locator?: string | undefined;
4639
4639
  }[] | undefined;
@@ -4641,15 +4641,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4641
4641
  kind: "correction_approved";
4642
4642
  correctionId: string;
4643
4643
  approvedBy: {
4644
- kind: "agent" | "human";
4645
- label: string;
4646
4644
  id: string;
4645
+ label: string;
4646
+ kind: "agent" | "human";
4647
4647
  };
4648
4648
  note?: string | undefined;
4649
4649
  evidence?: {
4650
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4651
- label: string;
4652
4650
  id: string;
4651
+ label: string;
4652
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4653
4653
  capture: "at_action" | "historical_lookup" | "fixture";
4654
4654
  locator?: string | undefined;
4655
4655
  }[] | undefined;
@@ -4659,9 +4659,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4659
4659
  correctionId: string;
4660
4660
  replacementDecisionId: string;
4661
4661
  evidence?: {
4662
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4663
- label: string;
4664
4662
  id: string;
4663
+ label: string;
4664
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4665
4665
  capture: "at_action" | "historical_lookup" | "fixture";
4666
4666
  locator?: string | undefined;
4667
4667
  }[] | undefined;
@@ -4674,9 +4674,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4674
4674
  recallReceiptId: string;
4675
4675
  capturedAtAction: boolean;
4676
4676
  evidence?: {
4677
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4678
- label: string;
4679
4677
  id: string;
4678
+ label: string;
4679
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4680
4680
  capture: "at_action" | "historical_lookup" | "fixture";
4681
4681
  locator?: string | undefined;
4682
4682
  }[] | undefined;
@@ -4689,63 +4689,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4689
4689
  recallReceiptId: string;
4690
4690
  staleDecisionAbsent: boolean;
4691
4691
  evidence?: {
4692
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4693
- label: string;
4694
4692
  id: string;
4693
+ label: string;
4694
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4695
4695
  capture: "at_action" | "historical_lookup" | "fixture";
4696
4696
  locator?: string | undefined;
4697
4697
  }[] | undefined;
4698
4698
  } | {
4699
- kind: "mission_completed";
4700
4699
  summary: string;
4700
+ kind: "mission_completed";
4701
4701
  outcome: "failed" | "inconclusive" | "recovered";
4702
4702
  evidence?: {
4703
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4704
- label: string;
4705
4703
  id: string;
4704
+ label: string;
4705
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4706
4706
  capture: "at_action" | "historical_lookup" | "fixture";
4707
4707
  locator?: string | undefined;
4708
4708
  }[] | undefined;
4709
4709
  }>;
4710
4710
  }, "strict", z.ZodTypeAny, {
4711
- schemaVersion: "1";
4711
+ namespace: string;
4712
4712
  recordedAt: string;
4713
+ schemaVersion: "1";
4713
4714
  payload: {
4714
4715
  kind: "mission_started";
4715
4716
  title: string;
4716
4717
  evidence: {
4717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4718
- label: string;
4719
4718
  id: string;
4719
+ label: string;
4720
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4720
4721
  capture: "at_action" | "historical_lookup" | "fixture";
4721
4722
  locator?: string | undefined;
4722
4723
  }[];
4723
4724
  objective: string;
4724
4725
  runMode: "replay" | "fixture" | "live";
4725
4726
  } | {
4726
- kind: "agent_status";
4727
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4728
4727
  label: string;
4728
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4729
+ kind: "agent_status";
4729
4730
  role: string;
4730
4731
  agentId: string;
4731
4732
  sessionId: string;
4732
4733
  evidence: {
4733
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4734
- label: string;
4735
4734
  id: string;
4735
+ label: string;
4736
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4736
4737
  capture: "at_action" | "historical_lookup" | "fixture";
4737
4738
  locator?: string | undefined;
4738
4739
  }[];
4739
4740
  detail?: string | undefined;
4740
4741
  } | {
4741
- kind: "agent_output";
4742
4742
  summary: string;
4743
+ kind: "agent_output";
4743
4744
  agentId: string;
4744
4745
  sessionId: string;
4745
4746
  evidence: {
4746
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4747
- label: string;
4748
4747
  id: string;
4748
+ label: string;
4749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4749
4750
  capture: "at_action" | "historical_lookup" | "fixture";
4750
4751
  locator?: string | undefined;
4751
4752
  }[];
@@ -4756,9 +4757,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4756
4757
  statement: string;
4757
4758
  sessionId: string;
4758
4759
  evidence: {
4759
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4760
- label: string;
4761
4760
  id: string;
4761
+ label: string;
4762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4762
4763
  capture: "at_action" | "historical_lookup" | "fixture";
4763
4764
  locator?: string | undefined;
4764
4765
  }[];
@@ -4766,12 +4767,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4766
4767
  decisionId: string;
4767
4768
  confidence?: number | undefined;
4768
4769
  } | {
4769
- kind: "conflict_detected";
4770
4770
  summary: string;
4771
+ kind: "conflict_detected";
4771
4772
  evidence: {
4772
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4773
- label: string;
4774
4773
  id: string;
4774
+ label: string;
4775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4775
4776
  capture: "at_action" | "historical_lookup" | "fixture";
4776
4777
  locator?: string | undefined;
4777
4778
  }[];
@@ -4779,14 +4780,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4779
4780
  decisionIds: string[];
4780
4781
  agentIds: string[];
4781
4782
  } | {
4782
- kind: "test_result";
4783
4783
  summary: string;
4784
4784
  status: "error" | "failed" | "passed";
4785
+ kind: "test_result";
4785
4786
  command: string;
4786
4787
  evidence: {
4787
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4788
- label: string;
4789
4788
  id: string;
4789
+ label: string;
4790
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4790
4791
  capture: "at_action" | "historical_lookup" | "fixture";
4791
4792
  locator?: string | undefined;
4792
4793
  }[];
@@ -4799,9 +4800,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4799
4800
  statement: string;
4800
4801
  rationale: string;
4801
4802
  evidence: {
4802
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4803
- label: string;
4804
4803
  id: string;
4804
+ label: string;
4805
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4805
4806
  capture: "at_action" | "historical_lookup" | "fixture";
4806
4807
  locator?: string | undefined;
4807
4808
  }[];
@@ -4813,25 +4814,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4813
4814
  } | {
4814
4815
  kind: "correction_approved";
4815
4816
  evidence: {
4816
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4817
- label: string;
4818
4817
  id: string;
4818
+ label: string;
4819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4819
4820
  capture: "at_action" | "historical_lookup" | "fixture";
4820
4821
  locator?: string | undefined;
4821
4822
  }[];
4822
4823
  correctionId: string;
4823
4824
  approvedBy: {
4824
- kind: "agent" | "human";
4825
- label: string;
4826
4825
  id: string;
4826
+ label: string;
4827
+ kind: "agent" | "human";
4827
4828
  };
4828
4829
  note?: string | undefined;
4829
4830
  } | {
4830
4831
  kind: "decision_superseded";
4831
4832
  evidence: {
4832
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4833
- label: string;
4834
4833
  id: string;
4834
+ label: string;
4835
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4835
4836
  capture: "at_action" | "historical_lookup" | "fixture";
4836
4837
  locator?: string | undefined;
4837
4838
  }[];
@@ -4844,9 +4845,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4844
4845
  agentId: string;
4845
4846
  sessionId: string;
4846
4847
  evidence: {
4847
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4848
- label: string;
4849
4848
  id: string;
4849
+ label: string;
4850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4850
4851
  capture: "at_action" | "historical_lookup" | "fixture";
4851
4852
  locator?: string | undefined;
4852
4853
  }[];
@@ -4858,9 +4859,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4858
4859
  agentId: string;
4859
4860
  sessionId: string;
4860
4861
  evidence: {
4861
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4862
- label: string;
4863
4862
  id: string;
4863
+ label: string;
4864
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4864
4865
  capture: "at_action" | "historical_lookup" | "fixture";
4865
4866
  locator?: string | undefined;
4866
4867
  }[];
@@ -4869,63 +4870,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4869
4870
  recallReceiptId: string;
4870
4871
  staleDecisionAbsent: boolean;
4871
4872
  } | {
4872
- kind: "mission_completed";
4873
4873
  summary: string;
4874
+ kind: "mission_completed";
4874
4875
  outcome: "failed" | "inconclusive" | "recovered";
4875
4876
  evidence: {
4876
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4877
- label: string;
4878
4877
  id: string;
4878
+ label: string;
4879
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4879
4880
  capture: "at_action" | "historical_lookup" | "fixture";
4880
4881
  locator?: string | undefined;
4881
4882
  }[];
4882
4883
  };
4883
- namespace: string;
4884
4884
  eventId: string;
4885
4885
  occurredAt: string;
4886
4886
  missionId: string;
4887
4887
  idempotencyKey?: string | undefined;
4888
4888
  authenticatedPrincipal?: string | undefined;
4889
4889
  }, {
4890
- schemaVersion: "1";
4890
+ namespace: string;
4891
4891
  recordedAt: string;
4892
+ schemaVersion: "1";
4892
4893
  payload: {
4893
4894
  kind: "mission_started";
4894
4895
  title: string;
4895
4896
  objective: string;
4896
4897
  runMode: "replay" | "fixture" | "live";
4897
4898
  evidence?: {
4898
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4899
- label: string;
4900
4899
  id: string;
4900
+ label: string;
4901
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4901
4902
  capture: "at_action" | "historical_lookup" | "fixture";
4902
4903
  locator?: string | undefined;
4903
4904
  }[] | undefined;
4904
4905
  } | {
4905
- kind: "agent_status";
4906
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4907
4906
  label: string;
4907
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4908
+ kind: "agent_status";
4908
4909
  role: string;
4909
4910
  agentId: string;
4910
4911
  sessionId: string;
4911
4912
  detail?: string | undefined;
4912
4913
  evidence?: {
4913
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4914
- label: string;
4915
4914
  id: string;
4915
+ label: string;
4916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4916
4917
  capture: "at_action" | "historical_lookup" | "fixture";
4917
4918
  locator?: string | undefined;
4918
4919
  }[] | undefined;
4919
4920
  } | {
4920
- kind: "agent_output";
4921
4921
  summary: string;
4922
+ kind: "agent_output";
4922
4923
  agentId: string;
4923
4924
  sessionId: string;
4924
4925
  outputId: string;
4925
4926
  evidence?: {
4926
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4927
- label: string;
4928
4927
  id: string;
4928
+ label: string;
4929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4929
4930
  capture: "at_action" | "historical_lookup" | "fixture";
4930
4931
  locator?: string | undefined;
4931
4932
  }[] | undefined;
@@ -4938,37 +4939,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4938
4939
  decisionId: string;
4939
4940
  confidence?: number | undefined;
4940
4941
  evidence?: {
4941
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4942
- label: string;
4943
4942
  id: string;
4943
+ label: string;
4944
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4944
4945
  capture: "at_action" | "historical_lookup" | "fixture";
4945
4946
  locator?: string | undefined;
4946
4947
  }[] | undefined;
4947
4948
  } | {
4948
- kind: "conflict_detected";
4949
4949
  summary: string;
4950
+ kind: "conflict_detected";
4950
4951
  conflictId: string;
4951
4952
  decisionIds: string[];
4952
4953
  agentIds: string[];
4953
4954
  evidence?: {
4954
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4955
- label: string;
4956
4955
  id: string;
4956
+ label: string;
4957
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4957
4958
  capture: "at_action" | "historical_lookup" | "fixture";
4958
4959
  locator?: string | undefined;
4959
4960
  }[] | undefined;
4960
4961
  } | {
4961
- kind: "test_result";
4962
4962
  summary: string;
4963
4963
  status: "error" | "failed" | "passed";
4964
+ kind: "test_result";
4964
4965
  command: string;
4965
4966
  decisionId: string;
4966
4967
  testId: string;
4967
4968
  durationMs?: number | undefined;
4968
4969
  evidence?: {
4969
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4970
- label: string;
4971
4970
  id: string;
4971
+ label: string;
4972
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4972
4973
  capture: "at_action" | "historical_lookup" | "fixture";
4973
4974
  locator?: string | undefined;
4974
4975
  }[] | undefined;
@@ -4983,9 +4984,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4983
4984
  supersedesDecisionIds: string[];
4984
4985
  proposedBy: string;
4985
4986
  evidence?: {
4986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4987
- label: string;
4988
4987
  id: string;
4988
+ label: string;
4989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4989
4990
  capture: "at_action" | "historical_lookup" | "fixture";
4990
4991
  locator?: string | undefined;
4991
4992
  }[] | undefined;
@@ -4993,15 +4994,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4993
4994
  kind: "correction_approved";
4994
4995
  correctionId: string;
4995
4996
  approvedBy: {
4996
- kind: "agent" | "human";
4997
- label: string;
4998
4997
  id: string;
4998
+ label: string;
4999
+ kind: "agent" | "human";
4999
5000
  };
5000
5001
  note?: string | undefined;
5001
5002
  evidence?: {
5002
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5003
- label: string;
5004
5003
  id: string;
5004
+ label: string;
5005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5005
5006
  capture: "at_action" | "historical_lookup" | "fixture";
5006
5007
  locator?: string | undefined;
5007
5008
  }[] | undefined;
@@ -5011,9 +5012,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5011
5012
  correctionId: string;
5012
5013
  replacementDecisionId: string;
5013
5014
  evidence?: {
5014
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5015
- label: string;
5016
5015
  id: string;
5016
+ label: string;
5017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5017
5018
  capture: "at_action" | "historical_lookup" | "fixture";
5018
5019
  locator?: string | undefined;
5019
5020
  }[] | undefined;
@@ -5026,9 +5027,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5026
5027
  recallReceiptId: string;
5027
5028
  capturedAtAction: boolean;
5028
5029
  evidence?: {
5029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5030
- label: string;
5031
5030
  id: string;
5031
+ label: string;
5032
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5032
5033
  capture: "at_action" | "historical_lookup" | "fixture";
5033
5034
  locator?: string | undefined;
5034
5035
  }[] | undefined;
@@ -5041,25 +5042,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5041
5042
  recallReceiptId: string;
5042
5043
  staleDecisionAbsent: boolean;
5043
5044
  evidence?: {
5044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5045
- label: string;
5046
5045
  id: string;
5046
+ label: string;
5047
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5047
5048
  capture: "at_action" | "historical_lookup" | "fixture";
5048
5049
  locator?: string | undefined;
5049
5050
  }[] | undefined;
5050
5051
  } | {
5051
- kind: "mission_completed";
5052
5052
  summary: string;
5053
+ kind: "mission_completed";
5053
5054
  outcome: "failed" | "inconclusive" | "recovered";
5054
5055
  evidence?: {
5055
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5056
- label: string;
5057
5056
  id: string;
5057
+ label: string;
5058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5058
5059
  capture: "at_action" | "historical_lookup" | "fixture";
5059
5060
  locator?: string | undefined;
5060
5061
  }[] | undefined;
5061
5062
  };
5062
- namespace: string;
5063
5063
  eventId: string;
5064
5064
  occurredAt: string;
5065
5065
  missionId: string;