@remnic/core 9.69.31 → 9.69.32

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 (132) hide show
  1. package/dist/access-admin-ops-surface.d.ts +2 -2
  2. package/dist/access-admin-ops-surface.js +4 -4
  3. package/dist/access-authorization-probe.d.ts +2 -2
  4. package/dist/access-authorization-probe.js +5 -5
  5. package/dist/access-boundary.d.ts +2 -2
  6. package/dist/access-boundary.js +4 -4
  7. package/dist/access-cli.js +20 -20
  8. package/dist/access-extraction-force-flush.d.ts +2 -2
  9. package/dist/access-extraction-force-flush.js +4 -4
  10. package/dist/access-http-briefing.d.ts +2 -2
  11. package/dist/access-http-briefing.js +5 -5
  12. package/dist/access-http-lcm-compaction.d.ts +2 -2
  13. package/dist/access-http-lifecycle-flush.d.ts +2 -2
  14. package/dist/access-http-offline-stream.d.ts +2 -2
  15. package/dist/access-http-query.js +4 -4
  16. package/dist/access-http.d.ts +3 -3
  17. package/dist/access-http.js +14 -14
  18. package/dist/access-identity-continuity-surface.d.ts +1 -1
  19. package/dist/access-identity-continuity-surface.js +4 -4
  20. package/dist/access-lcm-surface.d.ts +2 -2
  21. package/dist/access-lcm-surface.js +4 -4
  22. package/dist/access-mcp.d.ts +2 -2
  23. package/dist/access-mcp.js +9 -9
  24. package/dist/access-namespace-preflight.js +4 -4
  25. package/dist/access-observe-transcript.d.ts +1 -1
  26. package/dist/access-observe-write-surface.d.ts +2 -2
  27. package/dist/access-observe-write-surface.js +4 -4
  28. package/dist/access-offline-manifest.d.ts +1 -1
  29. package/dist/access-operations-batch.js +5 -5
  30. package/dist/access-operations.d.ts +7 -7
  31. package/dist/access-operations.js +8 -8
  32. package/dist/access-recall-concurrency.d.ts +2 -2
  33. package/dist/access-recall-concurrency.js +4 -4
  34. package/dist/access-recall-response.d.ts +2 -2
  35. package/dist/access-recall-response.js +4 -4
  36. package/dist/access-recall-surface.d.ts +2 -2
  37. package/dist/access-recall-surface.js +4 -4
  38. package/dist/access-schema.d.ts +91 -91
  39. package/dist/{access-service-Cv8Rizo0.d.ts → access-service-CCpOuS46.d.ts} +65 -65
  40. package/dist/access-service-helpers.d.ts +2 -2
  41. package/dist/access-service.d.ts +2 -2
  42. package/dist/access-service.js +4 -4
  43. package/dist/access-surface-catalog.d.ts +2 -2
  44. package/dist/access-surface-catalog.js +6 -6
  45. package/dist/bootstrap.d.ts +1 -1
  46. package/dist/briefing-window.d.ts +25 -5
  47. package/dist/briefing-window.js +4 -1
  48. package/dist/briefing.js +2 -2
  49. package/dist/buffer.js +2 -2
  50. package/dist/{chunk-SMOFBBPU.js → chunk-2GPE5UCR.js} +2 -2
  51. package/dist/{chunk-IA2YSHTX.js → chunk-42SDNZCU.js} +8 -8
  52. package/dist/{chunk-W64HKJJM.js → chunk-5N53UBH2.js} +2 -2
  53. package/dist/{chunk-T7CJQVRZ.js → chunk-6H5JYDOM.js} +2 -2
  54. package/dist/chunk-6JMQR72P.js +134 -0
  55. package/dist/chunk-6JMQR72P.js.map +1 -0
  56. package/dist/{chunk-X74UAWSI.js → chunk-C4OTC6WY.js} +2 -2
  57. package/dist/{chunk-PLBW64UM.js → chunk-CZYYJZB6.js} +10 -11
  58. package/dist/chunk-CZYYJZB6.js.map +1 -0
  59. package/dist/{chunk-JDDXXZWW.js → chunk-GQOMZ3MK.js} +2 -2
  60. package/dist/{chunk-SH2ZWEWB.js → chunk-HG6HXVHQ.js} +3 -3
  61. package/dist/{chunk-OGELWNYC.js → chunk-ITPS5DDH.js} +3 -3
  62. package/dist/{chunk-EYMOJ3J6.js → chunk-LPECRQO4.js} +2 -2
  63. package/dist/{chunk-666OOKB7.js → chunk-M75RYSHS.js} +2 -2
  64. package/dist/{chunk-5ABN4WVL.js → chunk-MYMNC6O5.js} +4 -4
  65. package/dist/{chunk-KLMESRPV.js → chunk-NAXDPKVM.js} +2 -2
  66. package/dist/{chunk-OXNU333D.js → chunk-Q3O3VKRB.js} +2 -2
  67. package/dist/{chunk-ENMTJRXA.js → chunk-QMGXMJ2O.js} +2 -2
  68. package/dist/{chunk-PEOTOFH5.js → chunk-TIT2C6WX.js} +2 -2
  69. package/dist/{chunk-U34EHBPL.js → chunk-VED2YHUD.js} +2 -2
  70. package/dist/{chunk-RAVRDTP7.js → chunk-XQ2Q43XD.js} +3 -1
  71. package/dist/chunk-XQ2Q43XD.js.map +1 -0
  72. package/dist/{chunk-7DUFJAOE.js → chunk-Z4PCVRTN.js} +3 -3
  73. package/dist/{cli-B_YwqoIr.d.ts → cli-NEEdq5Rt.d.ts} +2 -2
  74. package/dist/cli.d.ts +3 -3
  75. package/dist/cli.js +15 -15
  76. package/dist/deep-recall-http-glue.d.ts +2 -2
  77. package/dist/deep-recall-mcp-tools.d.ts +2 -2
  78. package/dist/explicit-capture.d.ts +1 -1
  79. package/dist/external-wiki-access.d.ts +2 -2
  80. package/dist/external-wiki-access.js +5 -5
  81. package/dist/external-wiki-mcp-tools.d.ts +2 -2
  82. package/dist/extraction.js +3 -3
  83. package/dist/index.d.ts +681 -681
  84. package/dist/index.js +20 -20
  85. package/dist/mcp-memory-inspector-app.d.ts +2 -2
  86. package/dist/memory-subject-cli.d.ts +2 -2
  87. package/dist/memory-subject.d.ts +2 -2
  88. package/dist/{orchestrator-DgyvFfPR.d.ts → orchestrator-kqSzGv7e.d.ts} +48 -64
  89. package/dist/orchestrator.d.ts +1 -1
  90. package/dist/orchestrator.js +20 -20
  91. package/dist/{public-http-D6d4W8x-.d.ts → public-http-CW3l0g3P.d.ts} +1 -1
  92. package/dist/schemas.d.ts +176 -176
  93. package/dist/shared-context/manager.d.ts +6 -6
  94. package/dist/source-agent-qualifier.js +2 -2
  95. package/dist/support-passport/index.d.ts +5 -5
  96. package/dist/support-passport/index.js +7 -7
  97. package/dist/transfer/types.d.ts +78 -78
  98. package/dist/who-knows-cli.d.ts +2 -2
  99. package/dist/who-knows.d.ts +2 -2
  100. package/package.json +2 -2
  101. package/src/briefing-window.test.ts +554 -0
  102. package/src/briefing-window.ts +201 -12
  103. package/src/briefing.test.ts +2 -1
  104. package/src/orchestration/extraction-shutdown.ts +2 -10
  105. package/src/orchestration/graph-recall-coordinator.ts +19 -16
  106. package/src/orchestration/namespace-read-fanout.ts +2 -5
  107. package/src/orchestration/orchestrator-helpers.ts +2 -0
  108. package/src/orchestration/recall-internal-deps.ts +1 -5
  109. package/src/orchestration/recall-search-pipeline.ts +1 -4
  110. package/src/orchestrator.ts +1 -3
  111. package/dist/chunk-PLBW64UM.js.map +0 -1
  112. package/dist/chunk-RAVRDTP7.js.map +0 -1
  113. package/dist/chunk-UBCBDJOB.js +0 -22
  114. package/dist/chunk-UBCBDJOB.js.map +0 -1
  115. package/src/orchestration/graph-recall-seam.ts +0 -19
  116. /package/dist/{chunk-SMOFBBPU.js.map → chunk-2GPE5UCR.js.map} +0 -0
  117. /package/dist/{chunk-IA2YSHTX.js.map → chunk-42SDNZCU.js.map} +0 -0
  118. /package/dist/{chunk-W64HKJJM.js.map → chunk-5N53UBH2.js.map} +0 -0
  119. /package/dist/{chunk-T7CJQVRZ.js.map → chunk-6H5JYDOM.js.map} +0 -0
  120. /package/dist/{chunk-X74UAWSI.js.map → chunk-C4OTC6WY.js.map} +0 -0
  121. /package/dist/{chunk-JDDXXZWW.js.map → chunk-GQOMZ3MK.js.map} +0 -0
  122. /package/dist/{chunk-SH2ZWEWB.js.map → chunk-HG6HXVHQ.js.map} +0 -0
  123. /package/dist/{chunk-OGELWNYC.js.map → chunk-ITPS5DDH.js.map} +0 -0
  124. /package/dist/{chunk-EYMOJ3J6.js.map → chunk-LPECRQO4.js.map} +0 -0
  125. /package/dist/{chunk-666OOKB7.js.map → chunk-M75RYSHS.js.map} +0 -0
  126. /package/dist/{chunk-5ABN4WVL.js.map → chunk-MYMNC6O5.js.map} +0 -0
  127. /package/dist/{chunk-KLMESRPV.js.map → chunk-NAXDPKVM.js.map} +0 -0
  128. /package/dist/{chunk-OXNU333D.js.map → chunk-Q3O3VKRB.js.map} +0 -0
  129. /package/dist/{chunk-ENMTJRXA.js.map → chunk-QMGXMJ2O.js.map} +0 -0
  130. /package/dist/{chunk-PEOTOFH5.js.map → chunk-TIT2C6WX.js.map} +0 -0
  131. /package/dist/{chunk-U34EHBPL.js.map → chunk-VED2YHUD.js.map} +0 -0
  132. /package/dist/{chunk-7DUFJAOE.js.map → chunk-Z4PCVRTN.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export { DiscoveredConfigPath, configPathCandidates, discoverConfigPath } from '
9
9
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
10
10
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
11
11
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
12
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DgyvFfPR.js';
12
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-kqSzGv7e.js';
13
13
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
14
14
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
15
15
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
@@ -36,8 +36,8 @@ export { bT as ACTION_GATE_DEFAULTS, bU as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
36
36
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
37
37
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
38
38
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
39
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cv8Rizo0.js';
40
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-Cv8Rizo0.js';
39
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-CCpOuS46.js';
40
+ 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-CCpOuS46.js';
41
41
  import { LocalLlmClient } from './local-llm.js';
42
42
  import { FallbackLlmClient } from './fallback-llm.js';
43
43
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -60,10 +60,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
60
60
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
61
61
  export { storagePathHash } from './storage-paths.js';
62
62
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
63
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-B_YwqoIr.js';
63
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-NEEdq5Rt.js';
64
64
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
65
65
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
66
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-D6d4W8x-.js';
66
+ 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-CW3l0g3P.js';
67
67
  import { z } from 'zod';
68
68
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
69
69
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -1237,15 +1237,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1237
1237
  locator: z.ZodOptional<z.ZodString>;
1238
1238
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1239
1239
  }, "strict", z.ZodTypeAny, {
1240
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
- label: string;
1242
1240
  id: string;
1241
+ label: string;
1242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1243
1243
  capture: "at_action" | "historical_lookup" | "fixture";
1244
1244
  locator?: string | undefined;
1245
1245
  }, {
1246
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
- label: string;
1248
1246
  id: string;
1247
+ label: string;
1248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1249
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1250
  locator?: string | undefined;
1251
1251
  }>;
@@ -1262,15 +1262,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1262
1262
  locator: z.ZodOptional<z.ZodString>;
1263
1263
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1264
1264
  }, "strict", z.ZodTypeAny, {
1265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
- label: string;
1267
1265
  id: string;
1266
+ label: string;
1267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1268
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1269
1269
  locator?: string | undefined;
1270
1270
  }, {
1271
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1272
- label: string;
1273
1271
  id: string;
1272
+ label: string;
1273
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1274
1274
  capture: "at_action" | "historical_lookup" | "fixture";
1275
1275
  locator?: string | undefined;
1276
1276
  }>, "many">>;
@@ -1278,9 +1278,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1278
1278
  kind: "mission_started";
1279
1279
  title: string;
1280
1280
  evidence: {
1281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
- label: string;
1283
1281
  id: string;
1282
+ label: string;
1283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
1284
  capture: "at_action" | "historical_lookup" | "fixture";
1285
1285
  locator?: string | undefined;
1286
1286
  }[];
@@ -1292,9 +1292,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1292
1292
  objective: string;
1293
1293
  runMode: "replay" | "fixture" | "live";
1294
1294
  evidence?: {
1295
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1296
- label: string;
1297
1295
  id: string;
1296
+ label: string;
1297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1298
1298
  capture: "at_action" | "historical_lookup" | "fixture";
1299
1299
  locator?: string | undefined;
1300
1300
  }[] | undefined;
@@ -1310,15 +1310,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1310
1310
  locator: z.ZodOptional<z.ZodString>;
1311
1311
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1312
1312
  }, "strict", z.ZodTypeAny, {
1313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
- label: string;
1315
1313
  id: string;
1314
+ label: string;
1315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1317
1317
  locator?: string | undefined;
1318
1318
  }, {
1319
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1320
- label: string;
1321
1319
  id: string;
1320
+ label: string;
1321
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1322
1322
  capture: "at_action" | "historical_lookup" | "fixture";
1323
1323
  locator?: string | undefined;
1324
1324
  }>, "many">>;
@@ -1326,32 +1326,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1326
1326
  sessionId: z.ZodString;
1327
1327
  kind: z.ZodLiteral<"agent_status">;
1328
1328
  }, "strict", z.ZodTypeAny, {
1329
- kind: "agent_status";
1330
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1331
1329
  label: string;
1330
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1331
+ kind: "agent_status";
1332
1332
  role: string;
1333
1333
  agentId: string;
1334
1334
  sessionId: string;
1335
1335
  evidence: {
1336
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1337
- label: string;
1338
1336
  id: string;
1337
+ label: string;
1338
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1339
1339
  capture: "at_action" | "historical_lookup" | "fixture";
1340
1340
  locator?: string | undefined;
1341
1341
  }[];
1342
1342
  detail?: string | undefined;
1343
1343
  }, {
1344
- kind: "agent_status";
1345
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1346
1344
  label: string;
1345
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1346
+ kind: "agent_status";
1347
1347
  role: string;
1348
1348
  agentId: string;
1349
1349
  sessionId: string;
1350
1350
  detail?: string | undefined;
1351
1351
  evidence?: {
1352
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1353
- label: string;
1354
1352
  id: string;
1353
+ label: string;
1354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1355
1355
  capture: "at_action" | "historical_lookup" | "fixture";
1356
1356
  locator?: string | undefined;
1357
1357
  }[] | undefined;
@@ -1365,15 +1365,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1365
1365
  locator: z.ZodOptional<z.ZodString>;
1366
1366
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1367
1367
  }, "strict", z.ZodTypeAny, {
1368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
- label: string;
1370
1368
  id: string;
1369
+ label: string;
1370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1371
1371
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1372
  locator?: string | undefined;
1373
1373
  }, {
1374
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
- label: string;
1376
1374
  id: string;
1375
+ label: string;
1376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1377
1377
  capture: "at_action" | "historical_lookup" | "fixture";
1378
1378
  locator?: string | undefined;
1379
1379
  }>, "many">>;
@@ -1381,28 +1381,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1381
1381
  sessionId: z.ZodString;
1382
1382
  kind: z.ZodLiteral<"agent_output">;
1383
1383
  }, "strict", z.ZodTypeAny, {
1384
- kind: "agent_output";
1385
1384
  summary: string;
1385
+ kind: "agent_output";
1386
1386
  agentId: string;
1387
1387
  sessionId: string;
1388
1388
  evidence: {
1389
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
- label: string;
1391
1389
  id: string;
1390
+ label: string;
1391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
1392
  capture: "at_action" | "historical_lookup" | "fixture";
1393
1393
  locator?: string | undefined;
1394
1394
  }[];
1395
1395
  outputId: string;
1396
1396
  }, {
1397
- kind: "agent_output";
1398
1397
  summary: string;
1398
+ kind: "agent_output";
1399
1399
  agentId: string;
1400
1400
  sessionId: string;
1401
1401
  outputId: string;
1402
1402
  evidence?: {
1403
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
- label: string;
1405
1403
  id: string;
1404
+ label: string;
1405
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1406
1406
  capture: "at_action" | "historical_lookup" | "fixture";
1407
1407
  locator?: string | undefined;
1408
1408
  }[] | undefined;
@@ -1418,15 +1418,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1418
1418
  locator: z.ZodOptional<z.ZodString>;
1419
1419
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1420
1420
  }, "strict", z.ZodTypeAny, {
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
  }, {
1427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1428
- label: string;
1429
1427
  id: string;
1428
+ label: string;
1429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1430
1430
  capture: "at_action" | "historical_lookup" | "fixture";
1431
1431
  locator?: string | undefined;
1432
1432
  }>, "many">>;
@@ -1439,9 +1439,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1439
1439
  statement: string;
1440
1440
  sessionId: string;
1441
1441
  evidence: {
1442
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1443
- label: string;
1444
1442
  id: string;
1443
+ label: string;
1444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1445
1445
  capture: "at_action" | "historical_lookup" | "fixture";
1446
1446
  locator?: string | undefined;
1447
1447
  }[];
@@ -1457,9 +1457,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1457
1457
  decisionId: string;
1458
1458
  confidence?: number | undefined;
1459
1459
  evidence?: {
1460
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
- label: string;
1462
1460
  id: string;
1461
+ label: string;
1462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1463
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1464
1464
  locator?: string | undefined;
1465
1465
  }[] | undefined;
@@ -1476,25 +1476,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1476
1476
  locator: z.ZodOptional<z.ZodString>;
1477
1477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1478
1478
  }, "strict", z.ZodTypeAny, {
1479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
- label: string;
1481
1479
  id: string;
1480
+ label: string;
1481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1482
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1483
  locator?: string | undefined;
1484
1484
  }, {
1485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1486
- label: string;
1487
1485
  id: string;
1486
+ label: string;
1487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1488
1488
  capture: "at_action" | "historical_lookup" | "fixture";
1489
1489
  locator?: string | undefined;
1490
1490
  }>, "many">>;
1491
1491
  }, "strict", z.ZodTypeAny, {
1492
- kind: "conflict_detected";
1493
1492
  summary: string;
1493
+ kind: "conflict_detected";
1494
1494
  evidence: {
1495
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1496
- label: string;
1497
1495
  id: string;
1496
+ label: string;
1497
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1498
1498
  capture: "at_action" | "historical_lookup" | "fixture";
1499
1499
  locator?: string | undefined;
1500
1500
  }[];
@@ -1502,15 +1502,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1502
1502
  decisionIds: string[];
1503
1503
  agentIds: string[];
1504
1504
  }, {
1505
- kind: "conflict_detected";
1506
1505
  summary: string;
1506
+ kind: "conflict_detected";
1507
1507
  conflictId: string;
1508
1508
  decisionIds: string[];
1509
1509
  agentIds: string[];
1510
1510
  evidence?: {
1511
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
- label: string;
1513
1511
  id: string;
1512
+ label: string;
1513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1514
1514
  capture: "at_action" | "historical_lookup" | "fixture";
1515
1515
  locator?: string | undefined;
1516
1516
  }[] | undefined;
@@ -1530,27 +1530,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1530
1530
  locator: z.ZodOptional<z.ZodString>;
1531
1531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1532
1532
  }, "strict", z.ZodTypeAny, {
1533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
- label: string;
1535
1533
  id: string;
1534
+ label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1537
  locator?: string | undefined;
1538
1538
  }, {
1539
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
- label: string;
1541
1539
  id: string;
1540
+ label: string;
1541
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1543
  locator?: string | undefined;
1544
1544
  }>, "many">>;
1545
1545
  }, "strict", z.ZodTypeAny, {
1546
- kind: "test_result";
1547
1546
  summary: string;
1548
1547
  status: "error" | "failed" | "passed";
1548
+ kind: "test_result";
1549
1549
  command: string;
1550
1550
  evidence: {
1551
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1552
- label: string;
1553
1551
  id: string;
1552
+ label: string;
1553
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1554
1554
  capture: "at_action" | "historical_lookup" | "fixture";
1555
1555
  locator?: string | undefined;
1556
1556
  }[];
@@ -1559,17 +1559,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1559
1559
  durationMs?: number | undefined;
1560
1560
  correctionId?: string | undefined;
1561
1561
  }, {
1562
- kind: "test_result";
1563
1562
  summary: string;
1564
1563
  status: "error" | "failed" | "passed";
1564
+ kind: "test_result";
1565
1565
  command: string;
1566
1566
  decisionId: string;
1567
1567
  testId: string;
1568
1568
  durationMs?: number | undefined;
1569
1569
  evidence?: {
1570
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1571
- label: string;
1572
1570
  id: string;
1571
+ label: string;
1572
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1573
1573
  capture: "at_action" | "historical_lookup" | "fixture";
1574
1574
  locator?: string | undefined;
1575
1575
  }[] | undefined;
@@ -1590,15 +1590,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1590
1590
  locator: z.ZodOptional<z.ZodString>;
1591
1591
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1592
1592
  }, "strict", z.ZodTypeAny, {
1593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
- label: string;
1595
1593
  id: string;
1594
+ label: string;
1595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1597
  locator?: string | undefined;
1598
1598
  }, {
1599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
- label: string;
1601
1599
  id: string;
1600
+ label: string;
1601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1602
1602
  capture: "at_action" | "historical_lookup" | "fixture";
1603
1603
  locator?: string | undefined;
1604
1604
  }>, "many">>;
@@ -1607,9 +1607,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1607
1607
  statement: string;
1608
1608
  rationale: string;
1609
1609
  evidence: {
1610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
- label: string;
1612
1610
  id: string;
1611
+ label: string;
1612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1613
1613
  capture: "at_action" | "historical_lookup" | "fixture";
1614
1614
  locator?: string | undefined;
1615
1615
  }[];
@@ -1628,9 +1628,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1628
1628
  supersedesDecisionIds: string[];
1629
1629
  proposedBy: string;
1630
1630
  evidence?: {
1631
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
- label: string;
1633
1631
  id: string;
1632
+ label: string;
1633
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1634
1634
  capture: "at_action" | "historical_lookup" | "fixture";
1635
1635
  locator?: string | undefined;
1636
1636
  }[] | undefined;
@@ -1642,13 +1642,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1642
1642
  id: z.ZodString;
1643
1643
  label: z.ZodString;
1644
1644
  }, "strict", z.ZodTypeAny, {
1645
- kind: "agent" | "human";
1646
- label: string;
1647
1645
  id: string;
1648
- }, {
1649
- kind: "agent" | "human";
1650
1646
  label: string;
1647
+ kind: "agent" | "human";
1648
+ }, {
1651
1649
  id: string;
1650
+ label: string;
1651
+ kind: "agent" | "human";
1652
1652
  }>;
1653
1653
  note: z.ZodOptional<z.ZodString>;
1654
1654
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1658,47 +1658,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1658
1658
  locator: z.ZodOptional<z.ZodString>;
1659
1659
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1660
1660
  }, "strict", z.ZodTypeAny, {
1661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
- label: string;
1663
1661
  id: string;
1662
+ label: string;
1663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1664
1664
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1665
  locator?: string | undefined;
1666
1666
  }, {
1667
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1668
- label: string;
1669
1667
  id: string;
1668
+ label: string;
1669
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1670
1670
  capture: "at_action" | "historical_lookup" | "fixture";
1671
1671
  locator?: string | undefined;
1672
1672
  }>, "many">>;
1673
1673
  }, "strict", z.ZodTypeAny, {
1674
1674
  kind: "correction_approved";
1675
1675
  evidence: {
1676
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1677
- label: string;
1678
1676
  id: string;
1677
+ label: string;
1678
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1679
1679
  capture: "at_action" | "historical_lookup" | "fixture";
1680
1680
  locator?: string | undefined;
1681
1681
  }[];
1682
1682
  correctionId: string;
1683
1683
  approvedBy: {
1684
- kind: "agent" | "human";
1685
- label: string;
1686
1684
  id: string;
1685
+ label: string;
1686
+ kind: "agent" | "human";
1687
1687
  };
1688
1688
  note?: string | undefined;
1689
1689
  }, {
1690
1690
  kind: "correction_approved";
1691
1691
  correctionId: string;
1692
1692
  approvedBy: {
1693
- kind: "agent" | "human";
1694
- label: string;
1695
1693
  id: string;
1694
+ label: string;
1695
+ kind: "agent" | "human";
1696
1696
  };
1697
1697
  note?: string | undefined;
1698
1698
  evidence?: {
1699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
- label: string;
1701
1699
  id: string;
1700
+ label: string;
1701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1702
1702
  capture: "at_action" | "historical_lookup" | "fixture";
1703
1703
  locator?: string | undefined;
1704
1704
  }[] | undefined;
@@ -1714,24 +1714,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1714
1714
  locator: z.ZodOptional<z.ZodString>;
1715
1715
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1716
1716
  }, "strict", z.ZodTypeAny, {
1717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
- label: string;
1719
1717
  id: string;
1718
+ label: string;
1719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1720
1720
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1721
  locator?: string | undefined;
1722
1722
  }, {
1723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
- label: string;
1725
1723
  id: string;
1724
+ label: string;
1725
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1726
1726
  capture: "at_action" | "historical_lookup" | "fixture";
1727
1727
  locator?: string | undefined;
1728
1728
  }>, "many">>;
1729
1729
  }, "strict", z.ZodTypeAny, {
1730
1730
  kind: "decision_superseded";
1731
1731
  evidence: {
1732
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1733
- label: string;
1734
1732
  id: string;
1733
+ label: string;
1734
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1735
1735
  capture: "at_action" | "historical_lookup" | "fixture";
1736
1736
  locator?: string | undefined;
1737
1737
  }[];
@@ -1744,9 +1744,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1744
1744
  correctionId: string;
1745
1745
  replacementDecisionId: string;
1746
1746
  evidence?: {
1747
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
- label: string;
1749
1747
  id: string;
1748
+ label: string;
1749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1750
1750
  capture: "at_action" | "historical_lookup" | "fixture";
1751
1751
  locator?: string | undefined;
1752
1752
  }[] | undefined;
@@ -1762,15 +1762,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1762
1762
  locator: z.ZodOptional<z.ZodString>;
1763
1763
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1764
1764
  }, "strict", z.ZodTypeAny, {
1765
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
- label: string;
1767
1765
  id: string;
1766
+ label: string;
1767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1768
1768
  capture: "at_action" | "historical_lookup" | "fixture";
1769
1769
  locator?: string | undefined;
1770
1770
  }, {
1771
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
- label: string;
1773
1771
  id: string;
1772
+ label: string;
1773
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
1774
  capture: "at_action" | "historical_lookup" | "fixture";
1775
1775
  locator?: string | undefined;
1776
1776
  }>, "many">>;
@@ -1783,9 +1783,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1783
1783
  agentId: string;
1784
1784
  sessionId: string;
1785
1785
  evidence: {
1786
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
- label: string;
1788
1786
  id: string;
1787
+ label: string;
1788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1789
1789
  capture: "at_action" | "historical_lookup" | "fixture";
1790
1790
  locator?: string | undefined;
1791
1791
  }[];
@@ -1801,9 +1801,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1801
1801
  recallReceiptId: string;
1802
1802
  capturedAtAction: boolean;
1803
1803
  evidence?: {
1804
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1805
- label: string;
1806
1804
  id: string;
1805
+ label: string;
1806
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1807
1807
  capture: "at_action" | "historical_lookup" | "fixture";
1808
1808
  locator?: string | undefined;
1809
1809
  }[] | undefined;
@@ -1819,15 +1819,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1819
1819
  locator: z.ZodOptional<z.ZodString>;
1820
1820
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1821
1821
  }, "strict", z.ZodTypeAny, {
1822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
- label: string;
1824
1822
  id: string;
1823
+ label: string;
1824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1825
1825
  capture: "at_action" | "historical_lookup" | "fixture";
1826
1826
  locator?: string | undefined;
1827
1827
  }, {
1828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
- label: string;
1830
1828
  id: string;
1829
+ label: string;
1830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1831
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1832
  locator?: string | undefined;
1833
1833
  }>, "many">>;
@@ -1839,9 +1839,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1839
1839
  agentId: string;
1840
1840
  sessionId: string;
1841
1841
  evidence: {
1842
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
- label: string;
1844
1842
  id: string;
1843
+ label: string;
1844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1845
1845
  capture: "at_action" | "historical_lookup" | "fixture";
1846
1846
  locator?: string | undefined;
1847
1847
  }[];
@@ -1858,9 +1858,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1858
1858
  recallReceiptId: string;
1859
1859
  staleDecisionAbsent: boolean;
1860
1860
  evidence?: {
1861
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1862
- label: string;
1863
1861
  id: string;
1862
+ label: string;
1863
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1864
1864
  capture: "at_action" | "historical_lookup" | "fixture";
1865
1865
  locator?: string | undefined;
1866
1866
  }[] | undefined;
@@ -1875,37 +1875,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1875
1875
  locator: z.ZodOptional<z.ZodString>;
1876
1876
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1877
1877
  }, "strict", z.ZodTypeAny, {
1878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
- label: string;
1880
1878
  id: string;
1879
+ label: string;
1880
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1881
1881
  capture: "at_action" | "historical_lookup" | "fixture";
1882
1882
  locator?: string | undefined;
1883
1883
  }, {
1884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
- label: string;
1886
1884
  id: string;
1885
+ label: string;
1886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1887
1887
  capture: "at_action" | "historical_lookup" | "fixture";
1888
1888
  locator?: string | undefined;
1889
1889
  }>, "many">>;
1890
1890
  }, "strict", z.ZodTypeAny, {
1891
- kind: "mission_completed";
1892
1891
  summary: string;
1892
+ kind: "mission_completed";
1893
1893
  outcome: "failed" | "recovered" | "inconclusive";
1894
1894
  evidence: {
1895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
- label: string;
1897
1895
  id: string;
1896
+ label: string;
1897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1898
1898
  capture: "at_action" | "historical_lookup" | "fixture";
1899
1899
  locator?: string | undefined;
1900
1900
  }[];
1901
1901
  }, {
1902
- kind: "mission_completed";
1903
1902
  summary: string;
1903
+ kind: "mission_completed";
1904
1904
  outcome: "failed" | "recovered" | "inconclusive";
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;
@@ -1913,38 +1913,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1913
1913
  kind: "mission_started";
1914
1914
  title: string;
1915
1915
  evidence: {
1916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
- label: string;
1918
1916
  id: string;
1917
+ label: string;
1918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1919
1919
  capture: "at_action" | "historical_lookup" | "fixture";
1920
1920
  locator?: string | undefined;
1921
1921
  }[];
1922
1922
  objective: string;
1923
1923
  runMode: "replay" | "fixture" | "live";
1924
1924
  } | {
1925
- kind: "agent_status";
1926
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1927
1925
  label: string;
1926
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1927
+ kind: "agent_status";
1928
1928
  role: string;
1929
1929
  agentId: string;
1930
1930
  sessionId: string;
1931
1931
  evidence: {
1932
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
- label: string;
1934
1932
  id: string;
1933
+ label: string;
1934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1936
1936
  locator?: string | undefined;
1937
1937
  }[];
1938
1938
  detail?: string | undefined;
1939
1939
  } | {
1940
- kind: "agent_output";
1941
1940
  summary: string;
1941
+ kind: "agent_output";
1942
1942
  agentId: string;
1943
1943
  sessionId: string;
1944
1944
  evidence: {
1945
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
- label: string;
1947
1945
  id: string;
1946
+ label: string;
1947
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1949
1949
  locator?: string | undefined;
1950
1950
  }[];
@@ -1955,9 +1955,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1955
1955
  statement: string;
1956
1956
  sessionId: string;
1957
1957
  evidence: {
1958
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
- label: string;
1960
1958
  id: string;
1959
+ label: string;
1960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
1961
  capture: "at_action" | "historical_lookup" | "fixture";
1962
1962
  locator?: string | undefined;
1963
1963
  }[];
@@ -1965,12 +1965,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1965
1965
  decisionId: string;
1966
1966
  confidence?: number | undefined;
1967
1967
  } | {
1968
- kind: "conflict_detected";
1969
1968
  summary: string;
1969
+ kind: "conflict_detected";
1970
1970
  evidence: {
1971
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
- label: string;
1973
1971
  id: string;
1972
+ label: string;
1973
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1974
1974
  capture: "at_action" | "historical_lookup" | "fixture";
1975
1975
  locator?: string | undefined;
1976
1976
  }[];
@@ -1978,14 +1978,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1978
1978
  decisionIds: string[];
1979
1979
  agentIds: string[];
1980
1980
  } | {
1981
- kind: "test_result";
1982
1981
  summary: string;
1983
1982
  status: "error" | "failed" | "passed";
1983
+ kind: "test_result";
1984
1984
  command: string;
1985
1985
  evidence: {
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
  }[];
@@ -1998,9 +1998,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1998
1998
  statement: string;
1999
1999
  rationale: string;
2000
2000
  evidence: {
2001
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
- label: string;
2003
2001
  id: string;
2002
+ label: string;
2003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2004
2004
  capture: "at_action" | "historical_lookup" | "fixture";
2005
2005
  locator?: string | undefined;
2006
2006
  }[];
@@ -2012,25 +2012,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2012
2012
  } | {
2013
2013
  kind: "correction_approved";
2014
2014
  evidence: {
2015
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
- label: string;
2017
2015
  id: string;
2016
+ label: string;
2017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2018
2018
  capture: "at_action" | "historical_lookup" | "fixture";
2019
2019
  locator?: string | undefined;
2020
2020
  }[];
2021
2021
  correctionId: string;
2022
2022
  approvedBy: {
2023
- kind: "agent" | "human";
2024
- label: string;
2025
2023
  id: string;
2024
+ label: string;
2025
+ kind: "agent" | "human";
2026
2026
  };
2027
2027
  note?: string | undefined;
2028
2028
  } | {
2029
2029
  kind: "decision_superseded";
2030
2030
  evidence: {
2031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
- label: string;
2033
2031
  id: string;
2032
+ label: string;
2033
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2034
2034
  capture: "at_action" | "historical_lookup" | "fixture";
2035
2035
  locator?: string | undefined;
2036
2036
  }[];
@@ -2043,9 +2043,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2043
2043
  agentId: string;
2044
2044
  sessionId: string;
2045
2045
  evidence: {
2046
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2047
- label: string;
2048
2046
  id: string;
2047
+ label: string;
2048
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2049
2049
  capture: "at_action" | "historical_lookup" | "fixture";
2050
2050
  locator?: string | undefined;
2051
2051
  }[];
@@ -2057,9 +2057,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2057
2057
  agentId: 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
  }[];
@@ -2068,13 +2068,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2068
2068
  recallReceiptId: string;
2069
2069
  staleDecisionAbsent: boolean;
2070
2070
  } | {
2071
- kind: "mission_completed";
2072
2071
  summary: string;
2072
+ kind: "mission_completed";
2073
2073
  outcome: "failed" | "recovered" | "inconclusive";
2074
2074
  evidence: {
2075
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
- label: string;
2077
2075
  id: string;
2076
+ label: string;
2077
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2078
2078
  capture: "at_action" | "historical_lookup" | "fixture";
2079
2079
  locator?: string | undefined;
2080
2080
  }[];
@@ -2084,37 +2084,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2084
2084
  objective: string;
2085
2085
  runMode: "replay" | "fixture" | "live";
2086
2086
  evidence?: {
2087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
- label: string;
2089
2087
  id: string;
2088
+ label: string;
2089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2090
2090
  capture: "at_action" | "historical_lookup" | "fixture";
2091
2091
  locator?: string | undefined;
2092
2092
  }[] | undefined;
2093
2093
  } | {
2094
- kind: "agent_status";
2095
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2096
2094
  label: string;
2095
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2096
+ kind: "agent_status";
2097
2097
  role: string;
2098
2098
  agentId: string;
2099
2099
  sessionId: string;
2100
2100
  detail?: string | undefined;
2101
2101
  evidence?: {
2102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
- label: string;
2104
2102
  id: string;
2103
+ label: string;
2104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
2105
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2106
  locator?: string | undefined;
2107
2107
  }[] | undefined;
2108
2108
  } | {
2109
- kind: "agent_output";
2110
2109
  summary: string;
2110
+ kind: "agent_output";
2111
2111
  agentId: string;
2112
2112
  sessionId: string;
2113
2113
  outputId: string;
2114
2114
  evidence?: {
2115
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2116
- label: string;
2117
2115
  id: string;
2116
+ label: string;
2117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2118
2118
  capture: "at_action" | "historical_lookup" | "fixture";
2119
2119
  locator?: string | undefined;
2120
2120
  }[] | undefined;
@@ -2127,37 +2127,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2127
2127
  decisionId: string;
2128
2128
  confidence?: number | undefined;
2129
2129
  evidence?: {
2130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
- label: string;
2132
2130
  id: string;
2131
+ label: string;
2132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
2133
  capture: "at_action" | "historical_lookup" | "fixture";
2134
2134
  locator?: string | undefined;
2135
2135
  }[] | undefined;
2136
2136
  } | {
2137
- kind: "conflict_detected";
2138
2137
  summary: string;
2138
+ kind: "conflict_detected";
2139
2139
  conflictId: string;
2140
2140
  decisionIds: string[];
2141
2141
  agentIds: string[];
2142
2142
  evidence?: {
2143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2144
- label: string;
2145
2143
  id: string;
2144
+ label: string;
2145
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2146
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2147
2147
  locator?: string | undefined;
2148
2148
  }[] | undefined;
2149
2149
  } | {
2150
- kind: "test_result";
2151
2150
  summary: string;
2152
2151
  status: "error" | "failed" | "passed";
2152
+ kind: "test_result";
2153
2153
  command: string;
2154
2154
  decisionId: string;
2155
2155
  testId: string;
2156
2156
  durationMs?: number | undefined;
2157
2157
  evidence?: {
2158
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
- label: string;
2160
2158
  id: string;
2159
+ label: string;
2160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2161
2161
  capture: "at_action" | "historical_lookup" | "fixture";
2162
2162
  locator?: string | undefined;
2163
2163
  }[] | undefined;
@@ -2172,9 +2172,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2172
2172
  supersedesDecisionIds: string[];
2173
2173
  proposedBy: string;
2174
2174
  evidence?: {
2175
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
- label: string;
2177
2175
  id: string;
2176
+ label: string;
2177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2178
2178
  capture: "at_action" | "historical_lookup" | "fixture";
2179
2179
  locator?: string | undefined;
2180
2180
  }[] | undefined;
@@ -2182,15 +2182,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2182
2182
  kind: "correction_approved";
2183
2183
  correctionId: string;
2184
2184
  approvedBy: {
2185
- kind: "agent" | "human";
2186
- label: string;
2187
2185
  id: string;
2186
+ label: string;
2187
+ kind: "agent" | "human";
2188
2188
  };
2189
2189
  note?: string | undefined;
2190
2190
  evidence?: {
2191
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
- label: string;
2193
2191
  id: string;
2192
+ label: string;
2193
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2194
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2195
2195
  locator?: string | undefined;
2196
2196
  }[] | undefined;
@@ -2200,9 +2200,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2200
2200
  correctionId: string;
2201
2201
  replacementDecisionId: string;
2202
2202
  evidence?: {
2203
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
- label: string;
2205
2203
  id: string;
2204
+ label: string;
2205
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2206
2206
  capture: "at_action" | "historical_lookup" | "fixture";
2207
2207
  locator?: string | undefined;
2208
2208
  }[] | undefined;
@@ -2215,9 +2215,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2215
2215
  recallReceiptId: string;
2216
2216
  capturedAtAction: boolean;
2217
2217
  evidence?: {
2218
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2219
- label: string;
2220
2218
  id: string;
2219
+ label: string;
2220
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2221
2221
  capture: "at_action" | "historical_lookup" | "fixture";
2222
2222
  locator?: string | undefined;
2223
2223
  }[] | undefined;
@@ -2230,20 +2230,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2230
2230
  recallReceiptId: string;
2231
2231
  staleDecisionAbsent: boolean;
2232
2232
  evidence?: {
2233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
- label: string;
2235
2233
  id: string;
2234
+ label: string;
2235
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2236
2236
  capture: "at_action" | "historical_lookup" | "fixture";
2237
2237
  locator?: string | undefined;
2238
2238
  }[] | undefined;
2239
2239
  } | {
2240
- kind: "mission_completed";
2241
2240
  summary: string;
2241
+ kind: "mission_completed";
2242
2242
  outcome: "failed" | "recovered" | "inconclusive";
2243
2243
  evidence?: {
2244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2245
- label: string;
2246
2244
  id: string;
2245
+ label: string;
2246
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2247
2247
  capture: "at_action" | "historical_lookup" | "fixture";
2248
2248
  locator?: string | undefined;
2249
2249
  }[] | undefined;
@@ -2264,15 +2264,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2264
2264
  locator: z.ZodOptional<z.ZodString>;
2265
2265
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2266
2266
  }, "strict", z.ZodTypeAny, {
2267
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
- label: string;
2269
2267
  id: string;
2268
+ label: string;
2269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2270
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2271
2271
  locator?: string | undefined;
2272
2272
  }, {
2273
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2274
- label: string;
2275
2273
  id: string;
2274
+ label: string;
2275
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2276
2276
  capture: "at_action" | "historical_lookup" | "fixture";
2277
2277
  locator?: string | undefined;
2278
2278
  }>, "many">>;
@@ -2280,9 +2280,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2280
2280
  kind: "mission_started";
2281
2281
  title: string;
2282
2282
  evidence: {
2283
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
- label: string;
2285
2283
  id: string;
2284
+ label: string;
2285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
2286
  capture: "at_action" | "historical_lookup" | "fixture";
2287
2287
  locator?: string | undefined;
2288
2288
  }[];
@@ -2294,9 +2294,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2294
2294
  objective: string;
2295
2295
  runMode: "replay" | "fixture" | "live";
2296
2296
  evidence?: {
2297
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2298
- label: string;
2299
2297
  id: string;
2298
+ label: string;
2299
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2300
2300
  capture: "at_action" | "historical_lookup" | "fixture";
2301
2301
  locator?: string | undefined;
2302
2302
  }[] | undefined;
@@ -2312,15 +2312,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2312
2312
  locator: z.ZodOptional<z.ZodString>;
2313
2313
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2314
2314
  }, "strict", z.ZodTypeAny, {
2315
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
- label: string;
2317
2315
  id: string;
2316
+ label: string;
2317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2319
  locator?: string | undefined;
2320
2320
  }, {
2321
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2322
- label: string;
2323
2321
  id: string;
2322
+ label: string;
2323
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2324
2324
  capture: "at_action" | "historical_lookup" | "fixture";
2325
2325
  locator?: string | undefined;
2326
2326
  }>, "many">>;
@@ -2328,32 +2328,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2328
2328
  sessionId: z.ZodString;
2329
2329
  kind: z.ZodLiteral<"agent_status">;
2330
2330
  }, "strict", z.ZodTypeAny, {
2331
- kind: "agent_status";
2332
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2333
2331
  label: string;
2332
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2333
+ kind: "agent_status";
2334
2334
  role: string;
2335
2335
  agentId: string;
2336
2336
  sessionId: string;
2337
2337
  evidence: {
2338
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2339
- label: string;
2340
2338
  id: string;
2339
+ label: string;
2340
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2341
2341
  capture: "at_action" | "historical_lookup" | "fixture";
2342
2342
  locator?: string | undefined;
2343
2343
  }[];
2344
2344
  detail?: string | undefined;
2345
2345
  }, {
2346
- kind: "agent_status";
2347
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2348
2346
  label: string;
2347
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2348
+ kind: "agent_status";
2349
2349
  role: string;
2350
2350
  agentId: string;
2351
2351
  sessionId: string;
2352
2352
  detail?: string | undefined;
2353
2353
  evidence?: {
2354
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2355
- label: string;
2356
2354
  id: string;
2355
+ label: string;
2356
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2357
2357
  capture: "at_action" | "historical_lookup" | "fixture";
2358
2358
  locator?: string | undefined;
2359
2359
  }[] | undefined;
@@ -2367,15 +2367,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2367
2367
  locator: z.ZodOptional<z.ZodString>;
2368
2368
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2369
2369
  }, "strict", z.ZodTypeAny, {
2370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
- label: string;
2372
2370
  id: string;
2371
+ label: string;
2372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2373
2373
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2374
  locator?: string | undefined;
2375
2375
  }, {
2376
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
- label: string;
2378
2376
  id: string;
2377
+ label: string;
2378
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2379
2379
  capture: "at_action" | "historical_lookup" | "fixture";
2380
2380
  locator?: string | undefined;
2381
2381
  }>, "many">>;
@@ -2383,28 +2383,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2383
2383
  sessionId: z.ZodString;
2384
2384
  kind: z.ZodLiteral<"agent_output">;
2385
2385
  }, "strict", z.ZodTypeAny, {
2386
- kind: "agent_output";
2387
2386
  summary: string;
2387
+ kind: "agent_output";
2388
2388
  agentId: string;
2389
2389
  sessionId: string;
2390
2390
  evidence: {
2391
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
- label: string;
2393
2391
  id: string;
2392
+ label: string;
2393
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
2394
  capture: "at_action" | "historical_lookup" | "fixture";
2395
2395
  locator?: string | undefined;
2396
2396
  }[];
2397
2397
  outputId: string;
2398
2398
  }, {
2399
- kind: "agent_output";
2400
2399
  summary: string;
2400
+ kind: "agent_output";
2401
2401
  agentId: string;
2402
2402
  sessionId: string;
2403
2403
  outputId: string;
2404
2404
  evidence?: {
2405
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
- label: string;
2407
2405
  id: string;
2406
+ label: string;
2407
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2408
2408
  capture: "at_action" | "historical_lookup" | "fixture";
2409
2409
  locator?: string | undefined;
2410
2410
  }[] | undefined;
@@ -2420,15 +2420,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2420
2420
  locator: z.ZodOptional<z.ZodString>;
2421
2421
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2422
2422
  }, "strict", z.ZodTypeAny, {
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
  }, {
2429
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2430
- label: string;
2431
2429
  id: string;
2430
+ label: string;
2431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2432
2432
  capture: "at_action" | "historical_lookup" | "fixture";
2433
2433
  locator?: string | undefined;
2434
2434
  }>, "many">>;
@@ -2441,9 +2441,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2441
2441
  statement: string;
2442
2442
  sessionId: string;
2443
2443
  evidence: {
2444
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2445
- label: string;
2446
2444
  id: string;
2445
+ label: string;
2446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2447
2447
  capture: "at_action" | "historical_lookup" | "fixture";
2448
2448
  locator?: string | undefined;
2449
2449
  }[];
@@ -2459,9 +2459,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2459
2459
  decisionId: string;
2460
2460
  confidence?: number | undefined;
2461
2461
  evidence?: {
2462
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
- label: string;
2464
2462
  id: string;
2463
+ label: string;
2464
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2465
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2466
2466
  locator?: string | undefined;
2467
2467
  }[] | undefined;
@@ -2478,25 +2478,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2478
2478
  locator: z.ZodOptional<z.ZodString>;
2479
2479
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2480
2480
  }, "strict", z.ZodTypeAny, {
2481
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
- label: string;
2483
2481
  id: string;
2482
+ label: string;
2483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2484
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2485
  locator?: string | undefined;
2486
2486
  }, {
2487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2488
- label: string;
2489
2487
  id: string;
2488
+ label: string;
2489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2490
2490
  capture: "at_action" | "historical_lookup" | "fixture";
2491
2491
  locator?: string | undefined;
2492
2492
  }>, "many">>;
2493
2493
  }, "strict", z.ZodTypeAny, {
2494
- kind: "conflict_detected";
2495
2494
  summary: string;
2495
+ kind: "conflict_detected";
2496
2496
  evidence: {
2497
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2498
- label: string;
2499
2497
  id: string;
2498
+ label: string;
2499
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2500
2500
  capture: "at_action" | "historical_lookup" | "fixture";
2501
2501
  locator?: string | undefined;
2502
2502
  }[];
@@ -2504,15 +2504,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2504
2504
  decisionIds: string[];
2505
2505
  agentIds: string[];
2506
2506
  }, {
2507
- kind: "conflict_detected";
2508
2507
  summary: string;
2508
+ kind: "conflict_detected";
2509
2509
  conflictId: string;
2510
2510
  decisionIds: string[];
2511
2511
  agentIds: string[];
2512
2512
  evidence?: {
2513
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
- label: string;
2515
2513
  id: string;
2514
+ label: string;
2515
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2516
2516
  capture: "at_action" | "historical_lookup" | "fixture";
2517
2517
  locator?: string | undefined;
2518
2518
  }[] | undefined;
@@ -2532,27 +2532,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2532
2532
  locator: z.ZodOptional<z.ZodString>;
2533
2533
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2534
2534
  }, "strict", z.ZodTypeAny, {
2535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
- label: string;
2537
2535
  id: string;
2536
+ label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2539
  locator?: string | undefined;
2540
2540
  }, {
2541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
- label: string;
2543
2541
  id: string;
2542
+ label: string;
2543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2545
  locator?: string | undefined;
2546
2546
  }>, "many">>;
2547
2547
  }, "strict", z.ZodTypeAny, {
2548
- kind: "test_result";
2549
2548
  summary: string;
2550
2549
  status: "error" | "failed" | "passed";
2550
+ kind: "test_result";
2551
2551
  command: string;
2552
2552
  evidence: {
2553
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2554
- label: string;
2555
2553
  id: string;
2554
+ label: string;
2555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2556
2556
  capture: "at_action" | "historical_lookup" | "fixture";
2557
2557
  locator?: string | undefined;
2558
2558
  }[];
@@ -2561,17 +2561,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2561
2561
  durationMs?: number | undefined;
2562
2562
  correctionId?: string | undefined;
2563
2563
  }, {
2564
- kind: "test_result";
2565
2564
  summary: string;
2566
2565
  status: "error" | "failed" | "passed";
2566
+ kind: "test_result";
2567
2567
  command: string;
2568
2568
  decisionId: string;
2569
2569
  testId: string;
2570
2570
  durationMs?: number | undefined;
2571
2571
  evidence?: {
2572
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2573
- label: string;
2574
2572
  id: string;
2573
+ label: string;
2574
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2575
2575
  capture: "at_action" | "historical_lookup" | "fixture";
2576
2576
  locator?: string | undefined;
2577
2577
  }[] | undefined;
@@ -2592,15 +2592,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2592
2592
  locator: z.ZodOptional<z.ZodString>;
2593
2593
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2594
2594
  }, "strict", z.ZodTypeAny, {
2595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
- label: string;
2597
2595
  id: string;
2596
+ label: string;
2597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2599
  locator?: string | undefined;
2600
2600
  }, {
2601
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
- label: string;
2603
2601
  id: string;
2602
+ label: string;
2603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2604
2604
  capture: "at_action" | "historical_lookup" | "fixture";
2605
2605
  locator?: string | undefined;
2606
2606
  }>, "many">>;
@@ -2609,9 +2609,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2609
2609
  statement: string;
2610
2610
  rationale: string;
2611
2611
  evidence: {
2612
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
- label: string;
2614
2612
  id: string;
2613
+ label: string;
2614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2615
2615
  capture: "at_action" | "historical_lookup" | "fixture";
2616
2616
  locator?: string | undefined;
2617
2617
  }[];
@@ -2630,9 +2630,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2630
2630
  supersedesDecisionIds: string[];
2631
2631
  proposedBy: string;
2632
2632
  evidence?: {
2633
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
- label: string;
2635
2633
  id: string;
2634
+ label: string;
2635
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2636
2636
  capture: "at_action" | "historical_lookup" | "fixture";
2637
2637
  locator?: string | undefined;
2638
2638
  }[] | undefined;
@@ -2644,13 +2644,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2644
2644
  id: z.ZodString;
2645
2645
  label: z.ZodString;
2646
2646
  }, "strict", z.ZodTypeAny, {
2647
- kind: "agent" | "human";
2648
- label: string;
2649
2647
  id: string;
2650
- }, {
2651
- kind: "agent" | "human";
2652
2648
  label: string;
2649
+ kind: "agent" | "human";
2650
+ }, {
2653
2651
  id: string;
2652
+ label: string;
2653
+ kind: "agent" | "human";
2654
2654
  }>;
2655
2655
  note: z.ZodOptional<z.ZodString>;
2656
2656
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2660,47 +2660,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2660
2660
  locator: z.ZodOptional<z.ZodString>;
2661
2661
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2662
2662
  }, "strict", z.ZodTypeAny, {
2663
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
- label: string;
2665
2663
  id: string;
2664
+ label: string;
2665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2666
2666
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2667
  locator?: string | undefined;
2668
2668
  }, {
2669
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2670
- label: string;
2671
2669
  id: string;
2670
+ label: string;
2671
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2672
2672
  capture: "at_action" | "historical_lookup" | "fixture";
2673
2673
  locator?: string | undefined;
2674
2674
  }>, "many">>;
2675
2675
  }, "strict", z.ZodTypeAny, {
2676
2676
  kind: "correction_approved";
2677
2677
  evidence: {
2678
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2679
- label: string;
2680
2678
  id: string;
2679
+ label: string;
2680
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2681
2681
  capture: "at_action" | "historical_lookup" | "fixture";
2682
2682
  locator?: string | undefined;
2683
2683
  }[];
2684
2684
  correctionId: string;
2685
2685
  approvedBy: {
2686
- kind: "agent" | "human";
2687
- label: string;
2688
2686
  id: string;
2687
+ label: string;
2688
+ kind: "agent" | "human";
2689
2689
  };
2690
2690
  note?: string | undefined;
2691
2691
  }, {
2692
2692
  kind: "correction_approved";
2693
2693
  correctionId: string;
2694
2694
  approvedBy: {
2695
- kind: "agent" | "human";
2696
- label: string;
2697
2695
  id: string;
2696
+ label: string;
2697
+ kind: "agent" | "human";
2698
2698
  };
2699
2699
  note?: string | undefined;
2700
2700
  evidence?: {
2701
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
- label: string;
2703
2701
  id: string;
2702
+ label: string;
2703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2704
2704
  capture: "at_action" | "historical_lookup" | "fixture";
2705
2705
  locator?: string | undefined;
2706
2706
  }[] | undefined;
@@ -2716,24 +2716,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2716
2716
  locator: z.ZodOptional<z.ZodString>;
2717
2717
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2718
2718
  }, "strict", z.ZodTypeAny, {
2719
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
- label: string;
2721
2719
  id: string;
2720
+ label: string;
2721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2722
2722
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2723
  locator?: string | undefined;
2724
2724
  }, {
2725
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
- label: string;
2727
2725
  id: string;
2726
+ label: string;
2727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2728
2728
  capture: "at_action" | "historical_lookup" | "fixture";
2729
2729
  locator?: string | undefined;
2730
2730
  }>, "many">>;
2731
2731
  }, "strict", z.ZodTypeAny, {
2732
2732
  kind: "decision_superseded";
2733
2733
  evidence: {
2734
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2735
- label: string;
2736
2734
  id: string;
2735
+ label: string;
2736
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2737
2737
  capture: "at_action" | "historical_lookup" | "fixture";
2738
2738
  locator?: string | undefined;
2739
2739
  }[];
@@ -2746,9 +2746,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2746
2746
  correctionId: string;
2747
2747
  replacementDecisionId: string;
2748
2748
  evidence?: {
2749
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
- label: string;
2751
2749
  id: string;
2750
+ label: string;
2751
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2752
2752
  capture: "at_action" | "historical_lookup" | "fixture";
2753
2753
  locator?: string | undefined;
2754
2754
  }[] | undefined;
@@ -2764,15 +2764,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2764
2764
  locator: z.ZodOptional<z.ZodString>;
2765
2765
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2766
2766
  }, "strict", z.ZodTypeAny, {
2767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
- label: string;
2769
2767
  id: string;
2768
+ label: string;
2769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2770
2770
  capture: "at_action" | "historical_lookup" | "fixture";
2771
2771
  locator?: string | undefined;
2772
2772
  }, {
2773
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
- label: string;
2775
2773
  id: string;
2774
+ label: string;
2775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
2776
  capture: "at_action" | "historical_lookup" | "fixture";
2777
2777
  locator?: string | undefined;
2778
2778
  }>, "many">>;
@@ -2785,9 +2785,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2785
2785
  agentId: string;
2786
2786
  sessionId: string;
2787
2787
  evidence: {
2788
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
- label: string;
2790
2788
  id: string;
2789
+ label: string;
2790
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2791
2791
  capture: "at_action" | "historical_lookup" | "fixture";
2792
2792
  locator?: string | undefined;
2793
2793
  }[];
@@ -2803,9 +2803,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2803
2803
  recallReceiptId: string;
2804
2804
  capturedAtAction: boolean;
2805
2805
  evidence?: {
2806
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2807
- label: string;
2808
2806
  id: string;
2807
+ label: string;
2808
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2809
2809
  capture: "at_action" | "historical_lookup" | "fixture";
2810
2810
  locator?: string | undefined;
2811
2811
  }[] | undefined;
@@ -2821,15 +2821,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2821
2821
  locator: z.ZodOptional<z.ZodString>;
2822
2822
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2823
2823
  }, "strict", z.ZodTypeAny, {
2824
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
- label: string;
2826
2824
  id: string;
2825
+ label: string;
2826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2827
2827
  capture: "at_action" | "historical_lookup" | "fixture";
2828
2828
  locator?: string | undefined;
2829
2829
  }, {
2830
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
- label: string;
2832
2830
  id: string;
2831
+ label: string;
2832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2833
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2834
  locator?: string | undefined;
2835
2835
  }>, "many">>;
@@ -2841,9 +2841,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2841
2841
  agentId: string;
2842
2842
  sessionId: string;
2843
2843
  evidence: {
2844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
- label: string;
2846
2844
  id: string;
2845
+ label: string;
2846
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2847
2847
  capture: "at_action" | "historical_lookup" | "fixture";
2848
2848
  locator?: string | undefined;
2849
2849
  }[];
@@ -2860,9 +2860,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2860
2860
  recallReceiptId: string;
2861
2861
  staleDecisionAbsent: boolean;
2862
2862
  evidence?: {
2863
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2864
- label: string;
2865
2863
  id: string;
2864
+ label: string;
2865
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2866
2866
  capture: "at_action" | "historical_lookup" | "fixture";
2867
2867
  locator?: string | undefined;
2868
2868
  }[] | undefined;
@@ -2877,37 +2877,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2877
2877
  locator: z.ZodOptional<z.ZodString>;
2878
2878
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2879
2879
  }, "strict", z.ZodTypeAny, {
2880
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
- label: string;
2882
2880
  id: string;
2881
+ label: string;
2882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2883
2883
  capture: "at_action" | "historical_lookup" | "fixture";
2884
2884
  locator?: string | undefined;
2885
2885
  }, {
2886
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
- label: string;
2888
2886
  id: string;
2887
+ label: string;
2888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2889
2889
  capture: "at_action" | "historical_lookup" | "fixture";
2890
2890
  locator?: string | undefined;
2891
2891
  }>, "many">>;
2892
2892
  }, "strict", z.ZodTypeAny, {
2893
- kind: "mission_completed";
2894
2893
  summary: string;
2894
+ kind: "mission_completed";
2895
2895
  outcome: "failed" | "recovered" | "inconclusive";
2896
2896
  evidence: {
2897
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
- label: string;
2899
2897
  id: string;
2898
+ label: string;
2899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2900
2900
  capture: "at_action" | "historical_lookup" | "fixture";
2901
2901
  locator?: string | undefined;
2902
2902
  }[];
2903
2903
  }, {
2904
- kind: "mission_completed";
2905
2904
  summary: string;
2905
+ kind: "mission_completed";
2906
2906
  outcome: "failed" | "recovered" | "inconclusive";
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;
@@ -2915,38 +2915,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2915
2915
  kind: "mission_started";
2916
2916
  title: string;
2917
2917
  evidence: {
2918
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
- label: string;
2920
2918
  id: string;
2919
+ label: string;
2920
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2921
2921
  capture: "at_action" | "historical_lookup" | "fixture";
2922
2922
  locator?: string | undefined;
2923
2923
  }[];
2924
2924
  objective: string;
2925
2925
  runMode: "replay" | "fixture" | "live";
2926
2926
  } | {
2927
- kind: "agent_status";
2928
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2929
2927
  label: string;
2928
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2929
+ kind: "agent_status";
2930
2930
  role: string;
2931
2931
  agentId: string;
2932
2932
  sessionId: string;
2933
2933
  evidence: {
2934
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2935
- label: string;
2936
2934
  id: string;
2935
+ label: string;
2936
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
2937
  capture: "at_action" | "historical_lookup" | "fixture";
2938
2938
  locator?: string | undefined;
2939
2939
  }[];
2940
2940
  detail?: string | undefined;
2941
2941
  } | {
2942
- kind: "agent_output";
2943
2942
  summary: string;
2943
+ kind: "agent_output";
2944
2944
  agentId: string;
2945
2945
  sessionId: string;
2946
2946
  evidence: {
2947
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
- label: string;
2949
2947
  id: string;
2948
+ label: string;
2949
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
2950
  capture: "at_action" | "historical_lookup" | "fixture";
2951
2951
  locator?: string | undefined;
2952
2952
  }[];
@@ -2957,9 +2957,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2957
2957
  statement: string;
2958
2958
  sessionId: string;
2959
2959
  evidence: {
2960
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
- label: string;
2962
2960
  id: string;
2961
+ label: string;
2962
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
2963
  capture: "at_action" | "historical_lookup" | "fixture";
2964
2964
  locator?: string | undefined;
2965
2965
  }[];
@@ -2967,12 +2967,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2967
2967
  decisionId: string;
2968
2968
  confidence?: number | undefined;
2969
2969
  } | {
2970
- kind: "conflict_detected";
2971
2970
  summary: string;
2971
+ kind: "conflict_detected";
2972
2972
  evidence: {
2973
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
- label: string;
2975
2973
  id: string;
2974
+ label: string;
2975
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2976
2976
  capture: "at_action" | "historical_lookup" | "fixture";
2977
2977
  locator?: string | undefined;
2978
2978
  }[];
@@ -2980,14 +2980,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2980
2980
  decisionIds: string[];
2981
2981
  agentIds: string[];
2982
2982
  } | {
2983
- kind: "test_result";
2984
2983
  summary: string;
2985
2984
  status: "error" | "failed" | "passed";
2985
+ kind: "test_result";
2986
2986
  command: string;
2987
2987
  evidence: {
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
  }[];
@@ -3000,9 +3000,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3000
3000
  statement: string;
3001
3001
  rationale: string;
3002
3002
  evidence: {
3003
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
- label: string;
3005
3003
  id: string;
3004
+ label: string;
3005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3006
  capture: "at_action" | "historical_lookup" | "fixture";
3007
3007
  locator?: string | undefined;
3008
3008
  }[];
@@ -3014,25 +3014,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3014
3014
  } | {
3015
3015
  kind: "correction_approved";
3016
3016
  evidence: {
3017
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
- label: string;
3019
3017
  id: string;
3018
+ label: string;
3019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3020
3020
  capture: "at_action" | "historical_lookup" | "fixture";
3021
3021
  locator?: string | undefined;
3022
3022
  }[];
3023
3023
  correctionId: string;
3024
3024
  approvedBy: {
3025
- kind: "agent" | "human";
3026
- label: string;
3027
3025
  id: string;
3026
+ label: string;
3027
+ kind: "agent" | "human";
3028
3028
  };
3029
3029
  note?: string | undefined;
3030
3030
  } | {
3031
3031
  kind: "decision_superseded";
3032
3032
  evidence: {
3033
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
- label: string;
3035
3033
  id: string;
3034
+ label: string;
3035
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3036
3036
  capture: "at_action" | "historical_lookup" | "fixture";
3037
3037
  locator?: string | undefined;
3038
3038
  }[];
@@ -3045,9 +3045,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3045
3045
  agentId: string;
3046
3046
  sessionId: string;
3047
3047
  evidence: {
3048
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
- label: string;
3050
3048
  id: string;
3049
+ label: string;
3050
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
3051
  capture: "at_action" | "historical_lookup" | "fixture";
3052
3052
  locator?: string | undefined;
3053
3053
  }[];
@@ -3059,9 +3059,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3059
3059
  agentId: 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
  }[];
@@ -3070,13 +3070,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3070
3070
  recallReceiptId: string;
3071
3071
  staleDecisionAbsent: boolean;
3072
3072
  } | {
3073
- kind: "mission_completed";
3074
3073
  summary: string;
3074
+ kind: "mission_completed";
3075
3075
  outcome: "failed" | "recovered" | "inconclusive";
3076
3076
  evidence: {
3077
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
- label: string;
3079
3077
  id: string;
3078
+ label: string;
3079
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3080
3080
  capture: "at_action" | "historical_lookup" | "fixture";
3081
3081
  locator?: string | undefined;
3082
3082
  }[];
@@ -3086,37 +3086,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3086
3086
  objective: string;
3087
3087
  runMode: "replay" | "fixture" | "live";
3088
3088
  evidence?: {
3089
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
- label: string;
3091
3089
  id: string;
3090
+ label: string;
3091
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3092
3092
  capture: "at_action" | "historical_lookup" | "fixture";
3093
3093
  locator?: string | undefined;
3094
3094
  }[] | undefined;
3095
3095
  } | {
3096
- kind: "agent_status";
3097
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3098
3096
  label: string;
3097
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3098
+ kind: "agent_status";
3099
3099
  role: string;
3100
3100
  agentId: string;
3101
3101
  sessionId: string;
3102
3102
  detail?: string | undefined;
3103
3103
  evidence?: {
3104
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
- label: string;
3106
3104
  id: string;
3105
+ label: string;
3106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3107
3107
  capture: "at_action" | "historical_lookup" | "fixture";
3108
3108
  locator?: string | undefined;
3109
3109
  }[] | undefined;
3110
3110
  } | {
3111
- kind: "agent_output";
3112
3111
  summary: string;
3112
+ kind: "agent_output";
3113
3113
  agentId: string;
3114
3114
  sessionId: string;
3115
3115
  outputId: string;
3116
3116
  evidence?: {
3117
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
- label: string;
3119
3117
  id: string;
3118
+ label: string;
3119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3120
3120
  capture: "at_action" | "historical_lookup" | "fixture";
3121
3121
  locator?: string | undefined;
3122
3122
  }[] | undefined;
@@ -3129,37 +3129,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3129
3129
  decisionId: string;
3130
3130
  confidence?: number | undefined;
3131
3131
  evidence?: {
3132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
- label: string;
3134
3132
  id: string;
3133
+ label: string;
3134
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3135
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3136
3136
  locator?: string | undefined;
3137
3137
  }[] | undefined;
3138
3138
  } | {
3139
- kind: "conflict_detected";
3140
3139
  summary: string;
3140
+ kind: "conflict_detected";
3141
3141
  conflictId: string;
3142
3142
  decisionIds: string[];
3143
3143
  agentIds: string[];
3144
3144
  evidence?: {
3145
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
- label: string;
3147
3145
  id: string;
3146
+ label: string;
3147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3148
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3149
3149
  locator?: string | undefined;
3150
3150
  }[] | undefined;
3151
3151
  } | {
3152
- kind: "test_result";
3153
3152
  summary: string;
3154
3153
  status: "error" | "failed" | "passed";
3154
+ kind: "test_result";
3155
3155
  command: string;
3156
3156
  decisionId: string;
3157
3157
  testId: string;
3158
3158
  durationMs?: number | undefined;
3159
3159
  evidence?: {
3160
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
- label: string;
3162
3160
  id: string;
3161
+ label: string;
3162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3163
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3164
3164
  locator?: string | undefined;
3165
3165
  }[] | undefined;
@@ -3174,9 +3174,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3174
3174
  supersedesDecisionIds: string[];
3175
3175
  proposedBy: string;
3176
3176
  evidence?: {
3177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3178
- label: string;
3179
3177
  id: string;
3178
+ label: string;
3179
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3180
3180
  capture: "at_action" | "historical_lookup" | "fixture";
3181
3181
  locator?: string | undefined;
3182
3182
  }[] | undefined;
@@ -3184,15 +3184,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3184
3184
  kind: "correction_approved";
3185
3185
  correctionId: string;
3186
3186
  approvedBy: {
3187
- kind: "agent" | "human";
3188
- label: string;
3189
3187
  id: string;
3188
+ label: string;
3189
+ kind: "agent" | "human";
3190
3190
  };
3191
3191
  note?: string | undefined;
3192
3192
  evidence?: {
3193
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
- label: string;
3195
3193
  id: string;
3194
+ label: string;
3195
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3196
3196
  capture: "at_action" | "historical_lookup" | "fixture";
3197
3197
  locator?: string | undefined;
3198
3198
  }[] | undefined;
@@ -3202,9 +3202,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3202
3202
  correctionId: string;
3203
3203
  replacementDecisionId: string;
3204
3204
  evidence?: {
3205
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
- label: string;
3207
3205
  id: string;
3206
+ label: string;
3207
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3208
3208
  capture: "at_action" | "historical_lookup" | "fixture";
3209
3209
  locator?: string | undefined;
3210
3210
  }[] | undefined;
@@ -3217,9 +3217,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3217
3217
  recallReceiptId: string;
3218
3218
  capturedAtAction: boolean;
3219
3219
  evidence?: {
3220
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3221
- label: string;
3222
3220
  id: string;
3221
+ label: string;
3222
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3223
3223
  capture: "at_action" | "historical_lookup" | "fixture";
3224
3224
  locator?: string | undefined;
3225
3225
  }[] | undefined;
@@ -3232,20 +3232,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3232
3232
  recallReceiptId: string;
3233
3233
  staleDecisionAbsent: boolean;
3234
3234
  evidence?: {
3235
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
- label: string;
3237
3235
  id: string;
3236
+ label: string;
3237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3238
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3239
3239
  locator?: string | undefined;
3240
3240
  }[] | undefined;
3241
3241
  } | {
3242
- kind: "mission_completed";
3243
3242
  summary: string;
3243
+ kind: "mission_completed";
3244
3244
  outcome: "failed" | "recovered" | "inconclusive";
3245
3245
  evidence?: {
3246
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
- label: string;
3248
3246
  id: string;
3247
+ label: string;
3248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3249
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3250
3250
  locator?: string | undefined;
3251
3251
  }[] | undefined;
@@ -3255,38 +3255,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3255
3255
  kind: "mission_started";
3256
3256
  title: string;
3257
3257
  evidence: {
3258
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3259
- label: string;
3260
3258
  id: string;
3259
+ label: string;
3260
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3261
3261
  capture: "at_action" | "historical_lookup" | "fixture";
3262
3262
  locator?: string | undefined;
3263
3263
  }[];
3264
3264
  objective: string;
3265
3265
  runMode: "replay" | "fixture" | "live";
3266
3266
  } | {
3267
- kind: "agent_status";
3268
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3269
3267
  label: string;
3268
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3269
+ kind: "agent_status";
3270
3270
  role: string;
3271
3271
  agentId: string;
3272
3272
  sessionId: string;
3273
3273
  evidence: {
3274
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3275
- label: string;
3276
3274
  id: string;
3275
+ label: string;
3276
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
3277
  capture: "at_action" | "historical_lookup" | "fixture";
3278
3278
  locator?: string | undefined;
3279
3279
  }[];
3280
3280
  detail?: string | undefined;
3281
3281
  } | {
3282
- kind: "agent_output";
3283
3282
  summary: string;
3283
+ kind: "agent_output";
3284
3284
  agentId: string;
3285
3285
  sessionId: string;
3286
3286
  evidence: {
3287
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3288
- label: string;
3289
3287
  id: string;
3288
+ label: string;
3289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
3290
  capture: "at_action" | "historical_lookup" | "fixture";
3291
3291
  locator?: string | undefined;
3292
3292
  }[];
@@ -3297,9 +3297,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3297
3297
  statement: string;
3298
3298
  sessionId: string;
3299
3299
  evidence: {
3300
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3301
- label: string;
3302
3300
  id: string;
3301
+ label: string;
3302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
3303
  capture: "at_action" | "historical_lookup" | "fixture";
3304
3304
  locator?: string | undefined;
3305
3305
  }[];
@@ -3307,12 +3307,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3307
3307
  decisionId: string;
3308
3308
  confidence?: number | undefined;
3309
3309
  } | {
3310
- kind: "conflict_detected";
3311
3310
  summary: string;
3311
+ kind: "conflict_detected";
3312
3312
  evidence: {
3313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3314
- label: string;
3315
3313
  id: string;
3314
+ label: string;
3315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3316
3316
  capture: "at_action" | "historical_lookup" | "fixture";
3317
3317
  locator?: string | undefined;
3318
3318
  }[];
@@ -3320,14 +3320,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3320
3320
  decisionIds: string[];
3321
3321
  agentIds: string[];
3322
3322
  } | {
3323
- kind: "test_result";
3324
3323
  summary: string;
3325
3324
  status: "error" | "failed" | "passed";
3325
+ kind: "test_result";
3326
3326
  command: string;
3327
3327
  evidence: {
3328
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3329
- label: string;
3330
3328
  id: string;
3329
+ label: string;
3330
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3331
3331
  capture: "at_action" | "historical_lookup" | "fixture";
3332
3332
  locator?: string | undefined;
3333
3333
  }[];
@@ -3340,9 +3340,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3340
3340
  statement: string;
3341
3341
  rationale: string;
3342
3342
  evidence: {
3343
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
- label: string;
3345
3343
  id: string;
3344
+ label: string;
3345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3346
3346
  capture: "at_action" | "historical_lookup" | "fixture";
3347
3347
  locator?: string | undefined;
3348
3348
  }[];
@@ -3354,25 +3354,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3354
3354
  } | {
3355
3355
  kind: "correction_approved";
3356
3356
  evidence: {
3357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
- label: string;
3359
3357
  id: string;
3358
+ label: string;
3359
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3360
3360
  capture: "at_action" | "historical_lookup" | "fixture";
3361
3361
  locator?: string | undefined;
3362
3362
  }[];
3363
3363
  correctionId: string;
3364
3364
  approvedBy: {
3365
- kind: "agent" | "human";
3366
- label: string;
3367
3365
  id: string;
3366
+ label: string;
3367
+ kind: "agent" | "human";
3368
3368
  };
3369
3369
  note?: string | undefined;
3370
3370
  } | {
3371
3371
  kind: "decision_superseded";
3372
3372
  evidence: {
3373
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
- label: string;
3375
3373
  id: string;
3374
+ label: string;
3375
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3376
3376
  capture: "at_action" | "historical_lookup" | "fixture";
3377
3377
  locator?: string | undefined;
3378
3378
  }[];
@@ -3385,9 +3385,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3385
3385
  agentId: string;
3386
3386
  sessionId: string;
3387
3387
  evidence: {
3388
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
- label: string;
3390
3388
  id: string;
3389
+ label: string;
3390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3391
3391
  capture: "at_action" | "historical_lookup" | "fixture";
3392
3392
  locator?: string | undefined;
3393
3393
  }[];
@@ -3399,9 +3399,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3399
3399
  agentId: 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
  }[];
@@ -3410,13 +3410,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3410
3410
  recallReceiptId: string;
3411
3411
  staleDecisionAbsent: boolean;
3412
3412
  } | {
3413
- kind: "mission_completed";
3414
3413
  summary: string;
3414
+ kind: "mission_completed";
3415
3415
  outcome: "failed" | "recovered" | "inconclusive";
3416
3416
  evidence: {
3417
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
- label: string;
3419
3417
  id: string;
3418
+ label: string;
3419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3420
3420
  capture: "at_action" | "historical_lookup" | "fixture";
3421
3421
  locator?: string | undefined;
3422
3422
  }[];
@@ -3430,37 +3430,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3430
3430
  objective: string;
3431
3431
  runMode: "replay" | "fixture" | "live";
3432
3432
  evidence?: {
3433
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3434
- label: string;
3435
3433
  id: string;
3434
+ label: string;
3435
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3436
3436
  capture: "at_action" | "historical_lookup" | "fixture";
3437
3437
  locator?: string | undefined;
3438
3438
  }[] | undefined;
3439
3439
  } | {
3440
- kind: "agent_status";
3441
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3442
3440
  label: string;
3441
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3442
+ kind: "agent_status";
3443
3443
  role: string;
3444
3444
  agentId: string;
3445
3445
  sessionId: string;
3446
3446
  detail?: string | undefined;
3447
3447
  evidence?: {
3448
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3449
- label: string;
3450
3448
  id: string;
3449
+ label: string;
3450
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3451
3451
  capture: "at_action" | "historical_lookup" | "fixture";
3452
3452
  locator?: string | undefined;
3453
3453
  }[] | undefined;
3454
3454
  } | {
3455
- kind: "agent_output";
3456
3455
  summary: string;
3456
+ kind: "agent_output";
3457
3457
  agentId: string;
3458
3458
  sessionId: string;
3459
3459
  outputId: string;
3460
3460
  evidence?: {
3461
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
- label: string;
3463
3461
  id: string;
3462
+ label: string;
3463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3464
3464
  capture: "at_action" | "historical_lookup" | "fixture";
3465
3465
  locator?: string | undefined;
3466
3466
  }[] | undefined;
@@ -3473,37 +3473,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3473
3473
  decisionId: string;
3474
3474
  confidence?: number | undefined;
3475
3475
  evidence?: {
3476
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3477
- label: string;
3478
3476
  id: string;
3477
+ label: string;
3478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
3479
  capture: "at_action" | "historical_lookup" | "fixture";
3480
3480
  locator?: string | undefined;
3481
3481
  }[] | undefined;
3482
3482
  } | {
3483
- kind: "conflict_detected";
3484
3483
  summary: string;
3484
+ kind: "conflict_detected";
3485
3485
  conflictId: string;
3486
3486
  decisionIds: string[];
3487
3487
  agentIds: string[];
3488
3488
  evidence?: {
3489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
- label: string;
3491
3489
  id: string;
3490
+ label: string;
3491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3493
  locator?: string | undefined;
3494
3494
  }[] | undefined;
3495
3495
  } | {
3496
- kind: "test_result";
3497
3496
  summary: string;
3498
3497
  status: "error" | "failed" | "passed";
3498
+ kind: "test_result";
3499
3499
  command: string;
3500
3500
  decisionId: string;
3501
3501
  testId: string;
3502
3502
  durationMs?: number | undefined;
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
  }[] | undefined;
@@ -3518,9 +3518,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3518
3518
  supersedesDecisionIds: string[];
3519
3519
  proposedBy: string;
3520
3520
  evidence?: {
3521
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3522
- label: string;
3523
3521
  id: string;
3522
+ label: string;
3523
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3524
3524
  capture: "at_action" | "historical_lookup" | "fixture";
3525
3525
  locator?: string | undefined;
3526
3526
  }[] | undefined;
@@ -3528,15 +3528,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3528
3528
  kind: "correction_approved";
3529
3529
  correctionId: string;
3530
3530
  approvedBy: {
3531
- kind: "agent" | "human";
3532
- label: string;
3533
3531
  id: string;
3532
+ label: string;
3533
+ kind: "agent" | "human";
3534
3534
  };
3535
3535
  note?: string | undefined;
3536
3536
  evidence?: {
3537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
- label: string;
3539
3537
  id: string;
3538
+ label: string;
3539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3540
3540
  capture: "at_action" | "historical_lookup" | "fixture";
3541
3541
  locator?: string | undefined;
3542
3542
  }[] | undefined;
@@ -3546,9 +3546,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3546
3546
  correctionId: string;
3547
3547
  replacementDecisionId: string;
3548
3548
  evidence?: {
3549
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
- label: string;
3551
3549
  id: string;
3550
+ label: string;
3551
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3552
3552
  capture: "at_action" | "historical_lookup" | "fixture";
3553
3553
  locator?: string | undefined;
3554
3554
  }[] | undefined;
@@ -3561,9 +3561,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3561
3561
  recallReceiptId: string;
3562
3562
  capturedAtAction: boolean;
3563
3563
  evidence?: {
3564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
- label: string;
3566
3564
  id: string;
3565
+ label: string;
3566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3567
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3568
3568
  locator?: string | undefined;
3569
3569
  }[] | undefined;
@@ -3576,20 +3576,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3576
3576
  recallReceiptId: string;
3577
3577
  staleDecisionAbsent: boolean;
3578
3578
  evidence?: {
3579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
- label: string;
3581
3579
  id: string;
3580
+ label: string;
3581
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
3582
  capture: "at_action" | "historical_lookup" | "fixture";
3583
3583
  locator?: string | undefined;
3584
3584
  }[] | undefined;
3585
3585
  } | {
3586
- kind: "mission_completed";
3587
3586
  summary: string;
3587
+ kind: "mission_completed";
3588
3588
  outcome: "failed" | "recovered" | "inconclusive";
3589
3589
  evidence?: {
3590
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
- label: string;
3592
3590
  id: string;
3591
+ label: string;
3592
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3593
3593
  capture: "at_action" | "historical_lookup" | "fixture";
3594
3594
  locator?: string | undefined;
3595
3595
  }[] | undefined;
@@ -3619,15 +3619,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3619
3619
  locator: z.ZodOptional<z.ZodString>;
3620
3620
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3621
3621
  }, "strict", z.ZodTypeAny, {
3622
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
- label: string;
3624
3622
  id: string;
3623
+ label: string;
3624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3625
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3626
3626
  locator?: string | undefined;
3627
3627
  }, {
3628
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3629
- label: string;
3630
3628
  id: string;
3629
+ label: string;
3630
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3631
3631
  capture: "at_action" | "historical_lookup" | "fixture";
3632
3632
  locator?: string | undefined;
3633
3633
  }>, "many">>;
@@ -3635,9 +3635,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3635
3635
  kind: "mission_started";
3636
3636
  title: string;
3637
3637
  evidence: {
3638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
- label: string;
3640
3638
  id: string;
3639
+ label: string;
3640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
3641
  capture: "at_action" | "historical_lookup" | "fixture";
3642
3642
  locator?: string | undefined;
3643
3643
  }[];
@@ -3649,9 +3649,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3649
3649
  objective: string;
3650
3650
  runMode: "replay" | "fixture" | "live";
3651
3651
  evidence?: {
3652
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3653
- label: string;
3654
3652
  id: string;
3653
+ label: string;
3654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3655
3655
  capture: "at_action" | "historical_lookup" | "fixture";
3656
3656
  locator?: string | undefined;
3657
3657
  }[] | undefined;
@@ -3667,15 +3667,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3667
3667
  locator: z.ZodOptional<z.ZodString>;
3668
3668
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3669
3669
  }, "strict", z.ZodTypeAny, {
3670
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
- label: string;
3672
3670
  id: string;
3671
+ label: string;
3672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3674
3674
  locator?: string | undefined;
3675
3675
  }, {
3676
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3677
- label: string;
3678
3676
  id: string;
3677
+ label: string;
3678
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3679
3679
  capture: "at_action" | "historical_lookup" | "fixture";
3680
3680
  locator?: string | undefined;
3681
3681
  }>, "many">>;
@@ -3683,32 +3683,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3683
3683
  sessionId: z.ZodString;
3684
3684
  kind: z.ZodLiteral<"agent_status">;
3685
3685
  }, "strict", z.ZodTypeAny, {
3686
- kind: "agent_status";
3687
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3688
3686
  label: string;
3687
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3688
+ kind: "agent_status";
3689
3689
  role: string;
3690
3690
  agentId: string;
3691
3691
  sessionId: string;
3692
3692
  evidence: {
3693
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3694
- label: string;
3695
3693
  id: string;
3694
+ label: string;
3695
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3696
3696
  capture: "at_action" | "historical_lookup" | "fixture";
3697
3697
  locator?: string | undefined;
3698
3698
  }[];
3699
3699
  detail?: string | undefined;
3700
3700
  }, {
3701
- kind: "agent_status";
3702
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3703
3701
  label: string;
3702
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3703
+ kind: "agent_status";
3704
3704
  role: string;
3705
3705
  agentId: string;
3706
3706
  sessionId: string;
3707
3707
  detail?: string | undefined;
3708
3708
  evidence?: {
3709
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3710
- label: string;
3711
3709
  id: string;
3710
+ label: string;
3711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3712
3712
  capture: "at_action" | "historical_lookup" | "fixture";
3713
3713
  locator?: string | undefined;
3714
3714
  }[] | undefined;
@@ -3722,15 +3722,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3722
3722
  locator: z.ZodOptional<z.ZodString>;
3723
3723
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3724
3724
  }, "strict", z.ZodTypeAny, {
3725
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
- label: string;
3727
3725
  id: string;
3726
+ label: string;
3727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3728
3728
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3729
  locator?: string | undefined;
3730
3730
  }, {
3731
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
- label: string;
3733
3731
  id: string;
3732
+ label: string;
3733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3734
3734
  capture: "at_action" | "historical_lookup" | "fixture";
3735
3735
  locator?: string | undefined;
3736
3736
  }>, "many">>;
@@ -3738,28 +3738,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3738
3738
  sessionId: z.ZodString;
3739
3739
  kind: z.ZodLiteral<"agent_output">;
3740
3740
  }, "strict", z.ZodTypeAny, {
3741
- kind: "agent_output";
3742
3741
  summary: string;
3742
+ kind: "agent_output";
3743
3743
  agentId: string;
3744
3744
  sessionId: string;
3745
3745
  evidence: {
3746
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
- label: string;
3748
3746
  id: string;
3747
+ label: string;
3748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
3749
  capture: "at_action" | "historical_lookup" | "fixture";
3750
3750
  locator?: string | undefined;
3751
3751
  }[];
3752
3752
  outputId: string;
3753
3753
  }, {
3754
- kind: "agent_output";
3755
3754
  summary: string;
3755
+ kind: "agent_output";
3756
3756
  agentId: string;
3757
3757
  sessionId: string;
3758
3758
  outputId: string;
3759
3759
  evidence?: {
3760
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
- label: string;
3762
3760
  id: string;
3761
+ label: string;
3762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3763
3763
  capture: "at_action" | "historical_lookup" | "fixture";
3764
3764
  locator?: string | undefined;
3765
3765
  }[] | undefined;
@@ -3775,15 +3775,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3775
3775
  locator: z.ZodOptional<z.ZodString>;
3776
3776
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3777
3777
  }, "strict", z.ZodTypeAny, {
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
  }, {
3784
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3785
- label: string;
3786
3784
  id: string;
3785
+ label: string;
3786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3787
3787
  capture: "at_action" | "historical_lookup" | "fixture";
3788
3788
  locator?: string | undefined;
3789
3789
  }>, "many">>;
@@ -3796,9 +3796,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3796
3796
  statement: string;
3797
3797
  sessionId: string;
3798
3798
  evidence: {
3799
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3800
- label: string;
3801
3799
  id: string;
3800
+ label: string;
3801
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3802
3802
  capture: "at_action" | "historical_lookup" | "fixture";
3803
3803
  locator?: string | undefined;
3804
3804
  }[];
@@ -3814,9 +3814,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3814
3814
  decisionId: string;
3815
3815
  confidence?: number | undefined;
3816
3816
  evidence?: {
3817
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
- label: string;
3819
3817
  id: string;
3818
+ label: string;
3819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3820
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3821
3821
  locator?: string | undefined;
3822
3822
  }[] | undefined;
@@ -3833,25 +3833,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3833
3833
  locator: z.ZodOptional<z.ZodString>;
3834
3834
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3835
3835
  }, "strict", z.ZodTypeAny, {
3836
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
- label: string;
3838
3836
  id: string;
3837
+ label: string;
3838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3839
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3840
  locator?: string | undefined;
3841
3841
  }, {
3842
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3843
- label: string;
3844
3842
  id: string;
3843
+ label: string;
3844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3845
3845
  capture: "at_action" | "historical_lookup" | "fixture";
3846
3846
  locator?: string | undefined;
3847
3847
  }>, "many">>;
3848
3848
  }, "strict", z.ZodTypeAny, {
3849
- kind: "conflict_detected";
3850
3849
  summary: string;
3850
+ kind: "conflict_detected";
3851
3851
  evidence: {
3852
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3853
- label: string;
3854
3852
  id: string;
3853
+ label: string;
3854
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3855
3855
  capture: "at_action" | "historical_lookup" | "fixture";
3856
3856
  locator?: string | undefined;
3857
3857
  }[];
@@ -3859,15 +3859,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3859
3859
  decisionIds: string[];
3860
3860
  agentIds: string[];
3861
3861
  }, {
3862
- kind: "conflict_detected";
3863
3862
  summary: string;
3863
+ kind: "conflict_detected";
3864
3864
  conflictId: string;
3865
3865
  decisionIds: string[];
3866
3866
  agentIds: string[];
3867
3867
  evidence?: {
3868
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
- label: string;
3870
3868
  id: string;
3869
+ label: string;
3870
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3871
3871
  capture: "at_action" | "historical_lookup" | "fixture";
3872
3872
  locator?: string | undefined;
3873
3873
  }[] | undefined;
@@ -3887,27 +3887,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3887
3887
  locator: z.ZodOptional<z.ZodString>;
3888
3888
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3889
3889
  }, "strict", z.ZodTypeAny, {
3890
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
- label: string;
3892
3890
  id: string;
3891
+ label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3894
  locator?: string | undefined;
3895
3895
  }, {
3896
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
- label: string;
3898
3896
  id: string;
3897
+ label: string;
3898
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3900
  locator?: string | undefined;
3901
3901
  }>, "many">>;
3902
3902
  }, "strict", z.ZodTypeAny, {
3903
- kind: "test_result";
3904
3903
  summary: string;
3905
3904
  status: "error" | "failed" | "passed";
3905
+ kind: "test_result";
3906
3906
  command: string;
3907
3907
  evidence: {
3908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3909
- label: string;
3910
3908
  id: string;
3909
+ label: string;
3910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3911
3911
  capture: "at_action" | "historical_lookup" | "fixture";
3912
3912
  locator?: string | undefined;
3913
3913
  }[];
@@ -3916,17 +3916,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3916
3916
  durationMs?: number | undefined;
3917
3917
  correctionId?: string | undefined;
3918
3918
  }, {
3919
- kind: "test_result";
3920
3919
  summary: string;
3921
3920
  status: "error" | "failed" | "passed";
3921
+ kind: "test_result";
3922
3922
  command: string;
3923
3923
  decisionId: string;
3924
3924
  testId: string;
3925
3925
  durationMs?: number | undefined;
3926
3926
  evidence?: {
3927
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3928
- label: string;
3929
3927
  id: string;
3928
+ label: string;
3929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3930
3930
  capture: "at_action" | "historical_lookup" | "fixture";
3931
3931
  locator?: string | undefined;
3932
3932
  }[] | undefined;
@@ -3947,15 +3947,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3947
3947
  locator: z.ZodOptional<z.ZodString>;
3948
3948
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3949
3949
  }, "strict", z.ZodTypeAny, {
3950
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
- label: string;
3952
3950
  id: string;
3951
+ label: string;
3952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3954
3954
  locator?: string | undefined;
3955
3955
  }, {
3956
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
- label: string;
3958
3956
  id: string;
3957
+ label: string;
3958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3959
3959
  capture: "at_action" | "historical_lookup" | "fixture";
3960
3960
  locator?: string | undefined;
3961
3961
  }>, "many">>;
@@ -3964,9 +3964,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3964
3964
  statement: string;
3965
3965
  rationale: string;
3966
3966
  evidence: {
3967
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
- label: string;
3969
3967
  id: string;
3968
+ label: string;
3969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3970
3970
  capture: "at_action" | "historical_lookup" | "fixture";
3971
3971
  locator?: string | undefined;
3972
3972
  }[];
@@ -3985,9 +3985,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3985
3985
  supersedesDecisionIds: string[];
3986
3986
  proposedBy: string;
3987
3987
  evidence?: {
3988
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
- label: string;
3990
3988
  id: string;
3989
+ label: string;
3990
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3991
3991
  capture: "at_action" | "historical_lookup" | "fixture";
3992
3992
  locator?: string | undefined;
3993
3993
  }[] | undefined;
@@ -3999,13 +3999,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3999
3999
  id: z.ZodString;
4000
4000
  label: z.ZodString;
4001
4001
  }, "strict", z.ZodTypeAny, {
4002
- kind: "agent" | "human";
4003
- label: string;
4004
4002
  id: string;
4005
- }, {
4006
- kind: "agent" | "human";
4007
4003
  label: string;
4004
+ kind: "agent" | "human";
4005
+ }, {
4008
4006
  id: string;
4007
+ label: string;
4008
+ kind: "agent" | "human";
4009
4009
  }>;
4010
4010
  note: z.ZodOptional<z.ZodString>;
4011
4011
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4015,47 +4015,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4015
4015
  locator: z.ZodOptional<z.ZodString>;
4016
4016
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4017
4017
  }, "strict", z.ZodTypeAny, {
4018
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
- label: string;
4020
4018
  id: string;
4019
+ label: string;
4020
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4021
4021
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4022
  locator?: string | undefined;
4023
4023
  }, {
4024
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4025
- label: string;
4026
4024
  id: string;
4025
+ label: string;
4026
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4027
4027
  capture: "at_action" | "historical_lookup" | "fixture";
4028
4028
  locator?: string | undefined;
4029
4029
  }>, "many">>;
4030
4030
  }, "strict", z.ZodTypeAny, {
4031
4031
  kind: "correction_approved";
4032
4032
  evidence: {
4033
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4034
- label: string;
4035
4033
  id: string;
4034
+ label: string;
4035
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4036
4036
  capture: "at_action" | "historical_lookup" | "fixture";
4037
4037
  locator?: string | undefined;
4038
4038
  }[];
4039
4039
  correctionId: string;
4040
4040
  approvedBy: {
4041
- kind: "agent" | "human";
4042
- label: string;
4043
4041
  id: string;
4042
+ label: string;
4043
+ kind: "agent" | "human";
4044
4044
  };
4045
4045
  note?: string | undefined;
4046
4046
  }, {
4047
4047
  kind: "correction_approved";
4048
4048
  correctionId: string;
4049
4049
  approvedBy: {
4050
- kind: "agent" | "human";
4051
- label: string;
4052
4050
  id: string;
4051
+ label: string;
4052
+ kind: "agent" | "human";
4053
4053
  };
4054
4054
  note?: string | undefined;
4055
4055
  evidence?: {
4056
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
- label: string;
4058
4056
  id: string;
4057
+ label: string;
4058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4059
4059
  capture: "at_action" | "historical_lookup" | "fixture";
4060
4060
  locator?: string | undefined;
4061
4061
  }[] | undefined;
@@ -4071,24 +4071,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4071
4071
  locator: z.ZodOptional<z.ZodString>;
4072
4072
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4073
4073
  }, "strict", z.ZodTypeAny, {
4074
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
- label: string;
4076
4074
  id: string;
4075
+ label: string;
4076
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4077
4077
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4078
  locator?: string | undefined;
4079
4079
  }, {
4080
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
- label: string;
4082
4080
  id: string;
4081
+ label: string;
4082
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4083
4083
  capture: "at_action" | "historical_lookup" | "fixture";
4084
4084
  locator?: string | undefined;
4085
4085
  }>, "many">>;
4086
4086
  }, "strict", z.ZodTypeAny, {
4087
4087
  kind: "decision_superseded";
4088
4088
  evidence: {
4089
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4090
- label: string;
4091
4089
  id: string;
4090
+ label: string;
4091
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4092
4092
  capture: "at_action" | "historical_lookup" | "fixture";
4093
4093
  locator?: string | undefined;
4094
4094
  }[];
@@ -4101,9 +4101,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4101
4101
  correctionId: string;
4102
4102
  replacementDecisionId: string;
4103
4103
  evidence?: {
4104
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
- label: string;
4106
4104
  id: string;
4105
+ label: string;
4106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4107
4107
  capture: "at_action" | "historical_lookup" | "fixture";
4108
4108
  locator?: string | undefined;
4109
4109
  }[] | undefined;
@@ -4119,15 +4119,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4119
4119
  locator: z.ZodOptional<z.ZodString>;
4120
4120
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4121
4121
  }, "strict", z.ZodTypeAny, {
4122
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
- label: string;
4124
4122
  id: string;
4123
+ label: string;
4124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4125
4125
  capture: "at_action" | "historical_lookup" | "fixture";
4126
4126
  locator?: string | undefined;
4127
4127
  }, {
4128
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
- label: string;
4130
4128
  id: string;
4129
+ label: string;
4130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
4131
  capture: "at_action" | "historical_lookup" | "fixture";
4132
4132
  locator?: string | undefined;
4133
4133
  }>, "many">>;
@@ -4140,9 +4140,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4140
4140
  agentId: string;
4141
4141
  sessionId: string;
4142
4142
  evidence: {
4143
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
- label: string;
4145
4143
  id: string;
4144
+ label: string;
4145
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4146
4146
  capture: "at_action" | "historical_lookup" | "fixture";
4147
4147
  locator?: string | undefined;
4148
4148
  }[];
@@ -4158,9 +4158,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4158
4158
  recallReceiptId: string;
4159
4159
  capturedAtAction: boolean;
4160
4160
  evidence?: {
4161
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4162
- label: string;
4163
4161
  id: string;
4162
+ label: string;
4163
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4164
4164
  capture: "at_action" | "historical_lookup" | "fixture";
4165
4165
  locator?: string | undefined;
4166
4166
  }[] | undefined;
@@ -4176,15 +4176,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4176
4176
  locator: z.ZodOptional<z.ZodString>;
4177
4177
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4178
4178
  }, "strict", z.ZodTypeAny, {
4179
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
- label: string;
4181
4179
  id: string;
4180
+ label: string;
4181
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4182
4182
  capture: "at_action" | "historical_lookup" | "fixture";
4183
4183
  locator?: string | undefined;
4184
4184
  }, {
4185
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
- label: string;
4187
4185
  id: string;
4186
+ label: string;
4187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4188
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4189
  locator?: string | undefined;
4190
4190
  }>, "many">>;
@@ -4196,9 +4196,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4196
4196
  agentId: string;
4197
4197
  sessionId: string;
4198
4198
  evidence: {
4199
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
- label: string;
4201
4199
  id: string;
4200
+ label: string;
4201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4202
4202
  capture: "at_action" | "historical_lookup" | "fixture";
4203
4203
  locator?: string | undefined;
4204
4204
  }[];
@@ -4215,9 +4215,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4215
4215
  recallReceiptId: string;
4216
4216
  staleDecisionAbsent: boolean;
4217
4217
  evidence?: {
4218
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4219
- label: string;
4220
4218
  id: string;
4219
+ label: string;
4220
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4221
4221
  capture: "at_action" | "historical_lookup" | "fixture";
4222
4222
  locator?: string | undefined;
4223
4223
  }[] | undefined;
@@ -4232,37 +4232,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4232
4232
  locator: z.ZodOptional<z.ZodString>;
4233
4233
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4234
4234
  }, "strict", z.ZodTypeAny, {
4235
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
- label: string;
4237
4235
  id: string;
4236
+ label: string;
4237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4238
4238
  capture: "at_action" | "historical_lookup" | "fixture";
4239
4239
  locator?: string | undefined;
4240
4240
  }, {
4241
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
- label: string;
4243
4241
  id: string;
4242
+ label: string;
4243
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4244
4244
  capture: "at_action" | "historical_lookup" | "fixture";
4245
4245
  locator?: string | undefined;
4246
4246
  }>, "many">>;
4247
4247
  }, "strict", z.ZodTypeAny, {
4248
- kind: "mission_completed";
4249
4248
  summary: string;
4249
+ kind: "mission_completed";
4250
4250
  outcome: "failed" | "recovered" | "inconclusive";
4251
4251
  evidence: {
4252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
- label: string;
4254
4252
  id: string;
4253
+ label: string;
4254
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4255
4255
  capture: "at_action" | "historical_lookup" | "fixture";
4256
4256
  locator?: string | undefined;
4257
4257
  }[];
4258
4258
  }, {
4259
- kind: "mission_completed";
4260
4259
  summary: string;
4260
+ kind: "mission_completed";
4261
4261
  outcome: "failed" | "recovered" | "inconclusive";
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;
@@ -4270,38 +4270,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4270
4270
  kind: "mission_started";
4271
4271
  title: string;
4272
4272
  evidence: {
4273
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
- label: string;
4275
4273
  id: string;
4274
+ label: string;
4275
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4276
4276
  capture: "at_action" | "historical_lookup" | "fixture";
4277
4277
  locator?: string | undefined;
4278
4278
  }[];
4279
4279
  objective: string;
4280
4280
  runMode: "replay" | "fixture" | "live";
4281
4281
  } | {
4282
- kind: "agent_status";
4283
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4284
4282
  label: string;
4283
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4284
+ kind: "agent_status";
4285
4285
  role: string;
4286
4286
  agentId: string;
4287
4287
  sessionId: string;
4288
4288
  evidence: {
4289
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4290
- label: string;
4291
4289
  id: string;
4290
+ label: string;
4291
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4292
4292
  capture: "at_action" | "historical_lookup" | "fixture";
4293
4293
  locator?: string | undefined;
4294
4294
  }[];
4295
4295
  detail?: string | undefined;
4296
4296
  } | {
4297
- kind: "agent_output";
4298
4297
  summary: string;
4298
+ kind: "agent_output";
4299
4299
  agentId: string;
4300
4300
  sessionId: string;
4301
4301
  evidence: {
4302
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
- label: string;
4304
4302
  id: string;
4303
+ label: string;
4304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4305
4305
  capture: "at_action" | "historical_lookup" | "fixture";
4306
4306
  locator?: string | undefined;
4307
4307
  }[];
@@ -4312,9 +4312,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4312
  statement: string;
4313
4313
  sessionId: string;
4314
4314
  evidence: {
4315
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
- label: string;
4317
4315
  id: string;
4316
+ label: string;
4317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
4318
  capture: "at_action" | "historical_lookup" | "fixture";
4319
4319
  locator?: string | undefined;
4320
4320
  }[];
@@ -4322,12 +4322,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4322
4322
  decisionId: string;
4323
4323
  confidence?: number | undefined;
4324
4324
  } | {
4325
- kind: "conflict_detected";
4326
4325
  summary: string;
4326
+ kind: "conflict_detected";
4327
4327
  evidence: {
4328
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
- label: string;
4330
4328
  id: string;
4329
+ label: string;
4330
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4331
4331
  capture: "at_action" | "historical_lookup" | "fixture";
4332
4332
  locator?: string | undefined;
4333
4333
  }[];
@@ -4335,14 +4335,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4335
4335
  decisionIds: string[];
4336
4336
  agentIds: string[];
4337
4337
  } | {
4338
- kind: "test_result";
4339
4338
  summary: string;
4340
4339
  status: "error" | "failed" | "passed";
4340
+ kind: "test_result";
4341
4341
  command: string;
4342
4342
  evidence: {
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
  }[];
@@ -4355,9 +4355,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4355
4355
  statement: string;
4356
4356
  rationale: string;
4357
4357
  evidence: {
4358
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4359
- label: string;
4360
4358
  id: string;
4359
+ label: string;
4360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4361
  capture: "at_action" | "historical_lookup" | "fixture";
4362
4362
  locator?: string | undefined;
4363
4363
  }[];
@@ -4369,25 +4369,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4369
4369
  } | {
4370
4370
  kind: "correction_approved";
4371
4371
  evidence: {
4372
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
- label: string;
4374
4372
  id: string;
4373
+ label: string;
4374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4375
4375
  capture: "at_action" | "historical_lookup" | "fixture";
4376
4376
  locator?: string | undefined;
4377
4377
  }[];
4378
4378
  correctionId: string;
4379
4379
  approvedBy: {
4380
- kind: "agent" | "human";
4381
- label: string;
4382
4380
  id: string;
4381
+ label: string;
4382
+ kind: "agent" | "human";
4383
4383
  };
4384
4384
  note?: string | undefined;
4385
4385
  } | {
4386
4386
  kind: "decision_superseded";
4387
4387
  evidence: {
4388
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
- label: string;
4390
4388
  id: string;
4389
+ label: string;
4390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4391
4391
  capture: "at_action" | "historical_lookup" | "fixture";
4392
4392
  locator?: string | undefined;
4393
4393
  }[];
@@ -4400,9 +4400,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4400
4400
  agentId: string;
4401
4401
  sessionId: string;
4402
4402
  evidence: {
4403
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4404
- label: string;
4405
4403
  id: string;
4404
+ label: string;
4405
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4406
4406
  capture: "at_action" | "historical_lookup" | "fixture";
4407
4407
  locator?: string | undefined;
4408
4408
  }[];
@@ -4414,9 +4414,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4414
4414
  agentId: 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
  }[];
@@ -4425,13 +4425,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4425
4425
  recallReceiptId: string;
4426
4426
  staleDecisionAbsent: boolean;
4427
4427
  } | {
4428
- kind: "mission_completed";
4429
4428
  summary: string;
4429
+ kind: "mission_completed";
4430
4430
  outcome: "failed" | "recovered" | "inconclusive";
4431
4431
  evidence: {
4432
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
- label: string;
4434
4432
  id: string;
4433
+ label: string;
4434
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4435
4435
  capture: "at_action" | "historical_lookup" | "fixture";
4436
4436
  locator?: string | undefined;
4437
4437
  }[];
@@ -4441,37 +4441,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4441
4441
  objective: string;
4442
4442
  runMode: "replay" | "fixture" | "live";
4443
4443
  evidence?: {
4444
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
- label: string;
4446
4444
  id: string;
4445
+ label: string;
4446
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4447
4447
  capture: "at_action" | "historical_lookup" | "fixture";
4448
4448
  locator?: string | undefined;
4449
4449
  }[] | undefined;
4450
4450
  } | {
4451
- kind: "agent_status";
4452
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4453
4451
  label: string;
4452
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4453
+ kind: "agent_status";
4454
4454
  role: string;
4455
4455
  agentId: string;
4456
4456
  sessionId: string;
4457
4457
  detail?: string | undefined;
4458
4458
  evidence?: {
4459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
- label: string;
4461
4459
  id: string;
4460
+ label: string;
4461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4463
4463
  locator?: string | undefined;
4464
4464
  }[] | undefined;
4465
4465
  } | {
4466
- kind: "agent_output";
4467
4466
  summary: string;
4467
+ kind: "agent_output";
4468
4468
  agentId: string;
4469
4469
  sessionId: string;
4470
4470
  outputId: string;
4471
4471
  evidence?: {
4472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
- label: string;
4474
4472
  id: string;
4473
+ label: string;
4474
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4475
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4476
  locator?: string | undefined;
4477
4477
  }[] | undefined;
@@ -4484,37 +4484,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4484
4484
  decisionId: string;
4485
4485
  confidence?: number | undefined;
4486
4486
  evidence?: {
4487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
- label: string;
4489
4487
  id: string;
4488
+ label: string;
4489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4490
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4491
  locator?: string | undefined;
4492
4492
  }[] | undefined;
4493
4493
  } | {
4494
- kind: "conflict_detected";
4495
4494
  summary: string;
4495
+ kind: "conflict_detected";
4496
4496
  conflictId: string;
4497
4497
  decisionIds: string[];
4498
4498
  agentIds: string[];
4499
4499
  evidence?: {
4500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
- label: string;
4502
4500
  id: string;
4501
+ label: string;
4502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4503
4503
  capture: "at_action" | "historical_lookup" | "fixture";
4504
4504
  locator?: string | undefined;
4505
4505
  }[] | undefined;
4506
4506
  } | {
4507
- kind: "test_result";
4508
4507
  summary: string;
4509
4508
  status: "error" | "failed" | "passed";
4509
+ kind: "test_result";
4510
4510
  command: string;
4511
4511
  decisionId: string;
4512
4512
  testId: string;
4513
4513
  durationMs?: number | undefined;
4514
4514
  evidence?: {
4515
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
- label: string;
4517
4515
  id: string;
4516
+ label: string;
4517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4518
4518
  capture: "at_action" | "historical_lookup" | "fixture";
4519
4519
  locator?: string | undefined;
4520
4520
  }[] | undefined;
@@ -4529,9 +4529,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4529
4529
  supersedesDecisionIds: string[];
4530
4530
  proposedBy: string;
4531
4531
  evidence?: {
4532
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4533
- label: string;
4534
4532
  id: string;
4533
+ label: string;
4534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4535
4535
  capture: "at_action" | "historical_lookup" | "fixture";
4536
4536
  locator?: string | undefined;
4537
4537
  }[] | undefined;
@@ -4539,15 +4539,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4539
4539
  kind: "correction_approved";
4540
4540
  correctionId: string;
4541
4541
  approvedBy: {
4542
- kind: "agent" | "human";
4543
- label: string;
4544
4542
  id: string;
4543
+ label: string;
4544
+ kind: "agent" | "human";
4545
4545
  };
4546
4546
  note?: string | undefined;
4547
4547
  evidence?: {
4548
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
- label: string;
4550
4548
  id: string;
4549
+ label: string;
4550
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4551
4551
  capture: "at_action" | "historical_lookup" | "fixture";
4552
4552
  locator?: string | undefined;
4553
4553
  }[] | undefined;
@@ -4557,9 +4557,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4557
4557
  correctionId: string;
4558
4558
  replacementDecisionId: string;
4559
4559
  evidence?: {
4560
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4561
- label: string;
4562
4560
  id: string;
4561
+ label: string;
4562
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4563
4563
  capture: "at_action" | "historical_lookup" | "fixture";
4564
4564
  locator?: string | undefined;
4565
4565
  }[] | undefined;
@@ -4572,9 +4572,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4572
4572
  recallReceiptId: string;
4573
4573
  capturedAtAction: boolean;
4574
4574
  evidence?: {
4575
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
- label: string;
4577
4575
  id: string;
4576
+ label: string;
4577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4578
4578
  capture: "at_action" | "historical_lookup" | "fixture";
4579
4579
  locator?: string | undefined;
4580
4580
  }[] | undefined;
@@ -4587,63 +4587,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4587
4587
  recallReceiptId: string;
4588
4588
  staleDecisionAbsent: boolean;
4589
4589
  evidence?: {
4590
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
- label: string;
4592
4590
  id: string;
4591
+ label: string;
4592
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4593
4593
  capture: "at_action" | "historical_lookup" | "fixture";
4594
4594
  locator?: string | undefined;
4595
4595
  }[] | undefined;
4596
4596
  } | {
4597
- kind: "mission_completed";
4598
4597
  summary: string;
4598
+ kind: "mission_completed";
4599
4599
  outcome: "failed" | "recovered" | "inconclusive";
4600
4600
  evidence?: {
4601
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4602
- label: string;
4603
4601
  id: string;
4602
+ label: string;
4603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4604
4604
  capture: "at_action" | "historical_lookup" | "fixture";
4605
4605
  locator?: string | undefined;
4606
4606
  }[] | undefined;
4607
4607
  }>;
4608
4608
  }, "strict", z.ZodTypeAny, {
4609
- schemaVersion: "1";
4609
+ namespace: string;
4610
4610
  recordedAt: string;
4611
+ schemaVersion: "1";
4611
4612
  payload: {
4612
4613
  kind: "mission_started";
4613
4614
  title: string;
4614
4615
  evidence: {
4615
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
- label: string;
4617
4616
  id: string;
4617
+ label: string;
4618
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4618
4619
  capture: "at_action" | "historical_lookup" | "fixture";
4619
4620
  locator?: string | undefined;
4620
4621
  }[];
4621
4622
  objective: string;
4622
4623
  runMode: "replay" | "fixture" | "live";
4623
4624
  } | {
4624
- kind: "agent_status";
4625
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4626
4625
  label: string;
4626
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4627
+ kind: "agent_status";
4627
4628
  role: string;
4628
4629
  agentId: string;
4629
4630
  sessionId: string;
4630
4631
  evidence: {
4631
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4632
- label: string;
4633
4632
  id: string;
4633
+ label: string;
4634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
4635
  capture: "at_action" | "historical_lookup" | "fixture";
4635
4636
  locator?: string | undefined;
4636
4637
  }[];
4637
4638
  detail?: string | undefined;
4638
4639
  } | {
4639
- kind: "agent_output";
4640
4640
  summary: string;
4641
+ kind: "agent_output";
4641
4642
  agentId: string;
4642
4643
  sessionId: string;
4643
4644
  evidence: {
4644
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4645
- label: string;
4646
4645
  id: string;
4646
+ label: string;
4647
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
4648
  capture: "at_action" | "historical_lookup" | "fixture";
4648
4649
  locator?: string | undefined;
4649
4650
  }[];
@@ -4654,9 +4655,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4654
4655
  statement: string;
4655
4656
  sessionId: string;
4656
4657
  evidence: {
4657
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
- label: string;
4659
4658
  id: string;
4659
+ label: string;
4660
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
4661
  capture: "at_action" | "historical_lookup" | "fixture";
4661
4662
  locator?: string | undefined;
4662
4663
  }[];
@@ -4664,12 +4665,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4664
4665
  decisionId: string;
4665
4666
  confidence?: number | undefined;
4666
4667
  } | {
4667
- kind: "conflict_detected";
4668
4668
  summary: string;
4669
+ kind: "conflict_detected";
4669
4670
  evidence: {
4670
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4671
- label: string;
4672
4671
  id: string;
4672
+ label: string;
4673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4673
4674
  capture: "at_action" | "historical_lookup" | "fixture";
4674
4675
  locator?: string | undefined;
4675
4676
  }[];
@@ -4677,14 +4678,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4677
4678
  decisionIds: string[];
4678
4679
  agentIds: string[];
4679
4680
  } | {
4680
- kind: "test_result";
4681
4681
  summary: string;
4682
4682
  status: "error" | "failed" | "passed";
4683
+ kind: "test_result";
4683
4684
  command: string;
4684
4685
  evidence: {
4685
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4686
- label: string;
4687
4686
  id: string;
4687
+ label: string;
4688
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4688
4689
  capture: "at_action" | "historical_lookup" | "fixture";
4689
4690
  locator?: string | undefined;
4690
4691
  }[];
@@ -4697,9 +4698,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4697
4698
  statement: string;
4698
4699
  rationale: string;
4699
4700
  evidence: {
4700
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4701
- label: string;
4702
4701
  id: string;
4702
+ label: string;
4703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4703
4704
  capture: "at_action" | "historical_lookup" | "fixture";
4704
4705
  locator?: string | undefined;
4705
4706
  }[];
@@ -4711,25 +4712,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4711
4712
  } | {
4712
4713
  kind: "correction_approved";
4713
4714
  evidence: {
4714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4715
- label: string;
4716
4715
  id: string;
4716
+ label: string;
4717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4717
4718
  capture: "at_action" | "historical_lookup" | "fixture";
4718
4719
  locator?: string | undefined;
4719
4720
  }[];
4720
4721
  correctionId: string;
4721
4722
  approvedBy: {
4722
- kind: "agent" | "human";
4723
- label: string;
4724
4723
  id: string;
4724
+ label: string;
4725
+ kind: "agent" | "human";
4725
4726
  };
4726
4727
  note?: string | undefined;
4727
4728
  } | {
4728
4729
  kind: "decision_superseded";
4729
4730
  evidence: {
4730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4731
- label: string;
4732
4731
  id: string;
4732
+ label: string;
4733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4733
4734
  capture: "at_action" | "historical_lookup" | "fixture";
4734
4735
  locator?: string | undefined;
4735
4736
  }[];
@@ -4742,9 +4743,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4742
4743
  agentId: string;
4743
4744
  sessionId: string;
4744
4745
  evidence: {
4745
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4746
- label: string;
4747
4746
  id: string;
4747
+ label: string;
4748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4748
4749
  capture: "at_action" | "historical_lookup" | "fixture";
4749
4750
  locator?: string | undefined;
4750
4751
  }[];
@@ -4756,9 +4757,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4756
4757
  agentId: 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
  }[];
@@ -4767,63 +4768,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4767
4768
  recallReceiptId: string;
4768
4769
  staleDecisionAbsent: boolean;
4769
4770
  } | {
4770
- kind: "mission_completed";
4771
4771
  summary: string;
4772
+ kind: "mission_completed";
4772
4773
  outcome: "failed" | "recovered" | "inconclusive";
4773
4774
  evidence: {
4774
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4775
- label: string;
4776
4775
  id: string;
4776
+ label: string;
4777
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4777
4778
  capture: "at_action" | "historical_lookup" | "fixture";
4778
4779
  locator?: string | undefined;
4779
4780
  }[];
4780
4781
  };
4781
- namespace: string;
4782
4782
  eventId: string;
4783
4783
  occurredAt: string;
4784
4784
  missionId: string;
4785
4785
  idempotencyKey?: string | undefined;
4786
4786
  authenticatedPrincipal?: string | undefined;
4787
4787
  }, {
4788
- schemaVersion: "1";
4788
+ namespace: string;
4789
4789
  recordedAt: string;
4790
+ schemaVersion: "1";
4790
4791
  payload: {
4791
4792
  kind: "mission_started";
4792
4793
  title: string;
4793
4794
  objective: string;
4794
4795
  runMode: "replay" | "fixture" | "live";
4795
4796
  evidence?: {
4796
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4797
- label: string;
4798
4797
  id: string;
4798
+ label: string;
4799
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4799
4800
  capture: "at_action" | "historical_lookup" | "fixture";
4800
4801
  locator?: string | undefined;
4801
4802
  }[] | undefined;
4802
4803
  } | {
4803
- kind: "agent_status";
4804
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4805
4804
  label: string;
4805
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4806
+ kind: "agent_status";
4806
4807
  role: string;
4807
4808
  agentId: string;
4808
4809
  sessionId: string;
4809
4810
  detail?: string | undefined;
4810
4811
  evidence?: {
4811
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4812
- label: string;
4813
4812
  id: string;
4813
+ label: string;
4814
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4814
4815
  capture: "at_action" | "historical_lookup" | "fixture";
4815
4816
  locator?: string | undefined;
4816
4817
  }[] | undefined;
4817
4818
  } | {
4818
- kind: "agent_output";
4819
4819
  summary: string;
4820
+ kind: "agent_output";
4820
4821
  agentId: string;
4821
4822
  sessionId: string;
4822
4823
  outputId: string;
4823
4824
  evidence?: {
4824
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4825
- label: string;
4826
4825
  id: string;
4826
+ label: string;
4827
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4827
4828
  capture: "at_action" | "historical_lookup" | "fixture";
4828
4829
  locator?: string | undefined;
4829
4830
  }[] | undefined;
@@ -4836,37 +4837,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4836
4837
  decisionId: string;
4837
4838
  confidence?: number | undefined;
4838
4839
  evidence?: {
4839
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4840
- label: string;
4841
4840
  id: string;
4841
+ label: string;
4842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4842
4843
  capture: "at_action" | "historical_lookup" | "fixture";
4843
4844
  locator?: string | undefined;
4844
4845
  }[] | undefined;
4845
4846
  } | {
4846
- kind: "conflict_detected";
4847
4847
  summary: string;
4848
+ kind: "conflict_detected";
4848
4849
  conflictId: string;
4849
4850
  decisionIds: string[];
4850
4851
  agentIds: string[];
4851
4852
  evidence?: {
4852
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4853
- label: string;
4854
4853
  id: string;
4854
+ label: string;
4855
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4855
4856
  capture: "at_action" | "historical_lookup" | "fixture";
4856
4857
  locator?: string | undefined;
4857
4858
  }[] | undefined;
4858
4859
  } | {
4859
- kind: "test_result";
4860
4860
  summary: string;
4861
4861
  status: "error" | "failed" | "passed";
4862
+ kind: "test_result";
4862
4863
  command: string;
4863
4864
  decisionId: string;
4864
4865
  testId: string;
4865
4866
  durationMs?: number | undefined;
4866
4867
  evidence?: {
4867
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4868
- label: string;
4869
4868
  id: string;
4869
+ label: string;
4870
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4870
4871
  capture: "at_action" | "historical_lookup" | "fixture";
4871
4872
  locator?: string | undefined;
4872
4873
  }[] | undefined;
@@ -4881,9 +4882,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4881
4882
  supersedesDecisionIds: string[];
4882
4883
  proposedBy: string;
4883
4884
  evidence?: {
4884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4885
- label: string;
4886
4885
  id: string;
4886
+ label: string;
4887
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4887
4888
  capture: "at_action" | "historical_lookup" | "fixture";
4888
4889
  locator?: string | undefined;
4889
4890
  }[] | undefined;
@@ -4891,15 +4892,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4891
4892
  kind: "correction_approved";
4892
4893
  correctionId: string;
4893
4894
  approvedBy: {
4894
- kind: "agent" | "human";
4895
- label: string;
4896
4895
  id: string;
4896
+ label: string;
4897
+ kind: "agent" | "human";
4897
4898
  };
4898
4899
  note?: string | undefined;
4899
4900
  evidence?: {
4900
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4901
- label: string;
4902
4901
  id: string;
4902
+ label: string;
4903
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4903
4904
  capture: "at_action" | "historical_lookup" | "fixture";
4904
4905
  locator?: string | undefined;
4905
4906
  }[] | undefined;
@@ -4909,9 +4910,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4909
4910
  correctionId: string;
4910
4911
  replacementDecisionId: string;
4911
4912
  evidence?: {
4912
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4913
- label: string;
4914
4913
  id: string;
4914
+ label: string;
4915
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4915
4916
  capture: "at_action" | "historical_lookup" | "fixture";
4916
4917
  locator?: string | undefined;
4917
4918
  }[] | undefined;
@@ -4924,9 +4925,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4924
4925
  recallReceiptId: string;
4925
4926
  capturedAtAction: boolean;
4926
4927
  evidence?: {
4927
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4928
- label: string;
4929
4928
  id: string;
4929
+ label: string;
4930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4930
4931
  capture: "at_action" | "historical_lookup" | "fixture";
4931
4932
  locator?: string | undefined;
4932
4933
  }[] | undefined;
@@ -4939,25 +4940,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4939
4940
  recallReceiptId: string;
4940
4941
  staleDecisionAbsent: boolean;
4941
4942
  evidence?: {
4942
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
- label: string;
4944
4943
  id: string;
4944
+ label: string;
4945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4945
4946
  capture: "at_action" | "historical_lookup" | "fixture";
4946
4947
  locator?: string | undefined;
4947
4948
  }[] | undefined;
4948
4949
  } | {
4949
- kind: "mission_completed";
4950
4950
  summary: string;
4951
+ kind: "mission_completed";
4951
4952
  outcome: "failed" | "recovered" | "inconclusive";
4952
4953
  evidence?: {
4953
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4954
- label: string;
4955
4954
  id: string;
4955
+ label: string;
4956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4956
4957
  capture: "at_action" | "historical_lookup" | "fixture";
4957
4958
  locator?: string | undefined;
4958
4959
  }[] | undefined;
4959
4960
  };
4960
- namespace: string;
4961
4961
  eventId: string;
4962
4962
  occurredAt: string;
4963
4963
  missionId: string;