@remnic/core 9.69.43 → 9.69.44

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 (131) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +3 -3
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +4 -4
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +3 -3
  7. package/dist/access-cli.js +22 -22
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +3 -3
  10. package/dist/access-http-briefing.d.ts +1 -1
  11. package/dist/access-http-briefing.js +4 -4
  12. package/dist/access-http-lcm-compaction.d.ts +1 -1
  13. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  14. package/dist/access-http-offline-stream.d.ts +1 -1
  15. package/dist/access-http-query.js +3 -3
  16. package/dist/access-http.d.ts +2 -2
  17. package/dist/access-http.js +15 -15
  18. package/dist/access-identity-continuity-surface.js +3 -3
  19. package/dist/access-lcm-surface.d.ts +1 -1
  20. package/dist/access-lcm-surface.js +3 -3
  21. package/dist/access-mcp-shared-context-tools.d.ts +1 -1
  22. package/dist/access-mcp.d.ts +1 -1
  23. package/dist/access-mcp.js +9 -9
  24. package/dist/access-namespace-preflight.js +3 -3
  25. package/dist/access-observe-write-category.d.ts +1 -0
  26. package/dist/access-observe-write-category.js +2 -2
  27. package/dist/access-observe-write-surface.d.ts +1 -1
  28. package/dist/access-observe-write-surface.js +3 -3
  29. package/dist/access-operations-batch.js +4 -4
  30. package/dist/access-operations.d.ts +1 -1
  31. package/dist/access-operations.js +8 -8
  32. package/dist/access-recall-concurrency.d.ts +1 -1
  33. package/dist/access-recall-concurrency.js +3 -3
  34. package/dist/access-recall-response.d.ts +1 -1
  35. package/dist/access-recall-response.js +3 -3
  36. package/dist/access-recall-surface.d.ts +1 -1
  37. package/dist/access-recall-surface.js +3 -3
  38. package/dist/access-schema.d.ts +121 -114
  39. package/dist/access-schema.js +3 -1
  40. package/dist/{access-service-DxTTTg9O.d.ts → access-service-Cww3xAAy.d.ts} +64 -64
  41. package/dist/access-service-helpers.d.ts +1 -1
  42. package/dist/access-service.d.ts +1 -1
  43. package/dist/access-service.js +3 -3
  44. package/dist/access-surface-catalog.d.ts +1 -1
  45. package/dist/access-surface-catalog.js +5 -5
  46. package/dist/active-recall.js +2 -2
  47. package/dist/chunk-2WMXZYMS.js +25 -0
  48. package/dist/chunk-2WMXZYMS.js.map +1 -0
  49. package/dist/{chunk-LXMZM7LM.js → chunk-3K64PLY3.js} +3 -3
  50. package/dist/{chunk-UCLWIMVW.js → chunk-EOXCOZ6L.js} +2 -2
  51. package/dist/{chunk-QUBPZQED.js → chunk-IAGEEVQL.js} +2 -2
  52. package/dist/{chunk-KOM36ILJ.js → chunk-IOTYIECA.js} +10 -10
  53. package/dist/{chunk-LUAQHDUI.js → chunk-JMBTNVMW.js} +2 -2
  54. package/dist/{chunk-CRK6F6N3.js → chunk-JUOJGZPV.js} +5 -1
  55. package/dist/chunk-JUOJGZPV.js.map +1 -0
  56. package/dist/{chunk-LT4H7SL5.js → chunk-K3IVJ5ML.js} +7 -7
  57. package/dist/{chunk-VNQRRUNS.js → chunk-O6ZSWHVR.js} +2 -3
  58. package/dist/chunk-O6ZSWHVR.js.map +1 -0
  59. package/dist/{chunk-2WFOVXVJ.js → chunk-OCX7OWOC.js} +2 -2
  60. package/dist/{chunk-JWBDHA4F.js → chunk-ROXDOKLM.js} +3 -3
  61. package/dist/{chunk-PPDZSJXB.js → chunk-SUS64JER.js} +2 -2
  62. package/dist/{chunk-YPB3Y57U.js → chunk-SZV2L2IG.js} +3 -3
  63. package/dist/{chunk-AKB44K3D.js → chunk-VDLNQVYW.js} +2 -2
  64. package/dist/{chunk-XIJHRQ4A.js → chunk-W6YDAIVB.js} +2 -2
  65. package/dist/{chunk-KY75VZKG.js → chunk-WJPR2XUN.js} +2 -2
  66. package/dist/{chunk-324HBGS4.js → chunk-WLHPCAVD.js} +4 -4
  67. package/dist/{chunk-VKDXYEA6.js → chunk-WNMVUWI7.js} +2 -2
  68. package/dist/{chunk-2PIC6CEN.js → chunk-XK76RJBN.js} +2 -2
  69. package/dist/{chunk-M7H56FOQ.js → chunk-XLPZN3A5.js} +2 -2
  70. package/dist/{chunk-NHFXGNGC.js → chunk-Y77UTH7F.js} +6 -6
  71. package/dist/{chunk-IB7FDRRC.js → chunk-ZVQ5HF77.js} +2 -2
  72. package/dist/{cli-BfCl5kWD.d.ts → cli-Cl7bKIWJ.d.ts} +1 -1
  73. package/dist/cli.d.ts +2 -2
  74. package/dist/cli.js +20 -20
  75. package/dist/config.js +2 -2
  76. package/dist/deep-recall-http-glue.d.ts +1 -1
  77. package/dist/deep-recall-http-glue.js +2 -2
  78. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  79. package/dist/external-wiki-access.d.ts +1 -1
  80. package/dist/external-wiki-access.js +4 -4
  81. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  82. package/dist/index.d.ts +681 -681
  83. package/dist/index.js +24 -22
  84. package/dist/local-llm-config.js +1 -1
  85. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  86. package/dist/memory-subject-cli.d.ts +1 -1
  87. package/dist/memory-subject.d.ts +1 -1
  88. package/dist/operator-toolkit.js +3 -3
  89. package/dist/orchestrator.js +22 -22
  90. package/dist/{public-http-B55s59aR.d.ts → public-http-DdmM4scJ.d.ts} +1 -1
  91. package/dist/recall-navigation-http-glue.d.ts +1 -1
  92. package/dist/recall-navigation-mcp-tools.d.ts +1 -1
  93. package/dist/recall-navigation-operations.js +4 -4
  94. package/dist/recall-navigation.js +3 -3
  95. package/dist/resume-bundles.js +3 -3
  96. package/dist/schemas.d.ts +160 -160
  97. package/dist/shared-context/manager.d.ts +6 -6
  98. package/dist/support-passport/index.d.ts +4 -4
  99. package/dist/support-passport/index.js +6 -6
  100. package/dist/transfer/types.d.ts +78 -78
  101. package/dist/who-knows-cli.d.ts +1 -1
  102. package/dist/who-knows.d.ts +1 -1
  103. package/package.json +2 -2
  104. package/src/access-category-alias.test.ts +57 -0
  105. package/src/access-observe-write-category.ts +20 -1
  106. package/src/access-schema.ts +10 -0
  107. package/src/local-llm-config.test.ts +21 -0
  108. package/src/local-llm-config.ts +1 -2
  109. package/dist/chunk-CRK6F6N3.js.map +0 -1
  110. package/dist/chunk-VNQRRUNS.js.map +0 -1
  111. package/dist/chunk-YTV6J4T6.js +0 -14
  112. package/dist/chunk-YTV6J4T6.js.map +0 -1
  113. /package/dist/{chunk-LXMZM7LM.js.map → chunk-3K64PLY3.js.map} +0 -0
  114. /package/dist/{chunk-UCLWIMVW.js.map → chunk-EOXCOZ6L.js.map} +0 -0
  115. /package/dist/{chunk-QUBPZQED.js.map → chunk-IAGEEVQL.js.map} +0 -0
  116. /package/dist/{chunk-KOM36ILJ.js.map → chunk-IOTYIECA.js.map} +0 -0
  117. /package/dist/{chunk-LUAQHDUI.js.map → chunk-JMBTNVMW.js.map} +0 -0
  118. /package/dist/{chunk-LT4H7SL5.js.map → chunk-K3IVJ5ML.js.map} +0 -0
  119. /package/dist/{chunk-2WFOVXVJ.js.map → chunk-OCX7OWOC.js.map} +0 -0
  120. /package/dist/{chunk-JWBDHA4F.js.map → chunk-ROXDOKLM.js.map} +0 -0
  121. /package/dist/{chunk-PPDZSJXB.js.map → chunk-SUS64JER.js.map} +0 -0
  122. /package/dist/{chunk-YPB3Y57U.js.map → chunk-SZV2L2IG.js.map} +0 -0
  123. /package/dist/{chunk-AKB44K3D.js.map → chunk-VDLNQVYW.js.map} +0 -0
  124. /package/dist/{chunk-XIJHRQ4A.js.map → chunk-W6YDAIVB.js.map} +0 -0
  125. /package/dist/{chunk-KY75VZKG.js.map → chunk-WJPR2XUN.js.map} +0 -0
  126. /package/dist/{chunk-324HBGS4.js.map → chunk-WLHPCAVD.js.map} +0 -0
  127. /package/dist/{chunk-VKDXYEA6.js.map → chunk-WNMVUWI7.js.map} +0 -0
  128. /package/dist/{chunk-2PIC6CEN.js.map → chunk-XK76RJBN.js.map} +0 -0
  129. /package/dist/{chunk-M7H56FOQ.js.map → chunk-XLPZN3A5.js.map} +0 -0
  130. /package/dist/{chunk-NHFXGNGC.js.map → chunk-Y77UTH7F.js.map} +0 -0
  131. /package/dist/{chunk-IB7FDRRC.js.map → chunk-ZVQ5HF77.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -38,8 +38,8 @@ export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportO
38
38
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
39
39
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
40
40
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
41
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DxTTTg9O.js';
42
- 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-DxTTTg9O.js';
41
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Cww3xAAy.js';
42
+ 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-Cww3xAAy.js';
43
43
  import { L as LocalLlmClient } from './local-llm-3-jtw52a.js';
44
44
  import { FallbackLlmClient } from './fallback-llm.js';
45
45
  export { FallbackLlmOptions, FallbackLlmResponse } from './fallback-llm.js';
@@ -62,10 +62,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
62
62
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
63
63
  export { storagePathHash } from './storage-paths.js';
64
64
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
65
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-BfCl5kWD.js';
65
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Cl7bKIWJ.js';
66
66
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
67
67
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, PersistedSupportPassportClassification, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createPersistedSupportPassportPrivateFileExclusion, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, supportPassportStatIdentity, syncDirectoryForDurability } from './support-passport/index.js';
68
- 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-B55s59aR.js';
68
+ 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-DdmM4scJ.js';
69
69
  import { z } from 'zod';
70
70
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
71
71
  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';
@@ -77,7 +77,7 @@ export { PromotionCandidatesCliOptions, SubjectsBackfillCliOptions, parsePromoti
77
77
  export { SubjectRuntimeConfig, parseSubjectRuntimeConfig } from './subject-config.js';
78
78
  export { REMNIC_CHATGPT_MEMORY_INSPECTOR_CANONICAL_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE, REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_HTML, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_URI, RemnicChatGptMemoryCard, RemnicChatGptMemoryInspectorInput, RemnicChatGptMemoryInspectorResult, buildChatGptMemoryInspectorActionRequest, buildChatGptMemoryInspectorResult } from './mcp-memory-inspector-app.js';
79
79
  export { ActionIdentity, ActionIntent, ActionStrategyId, CausalTrajectoryCodingContext, CausalTrajectoryRecord, CausalTrajectorySearchResult, CausalTrajectoryStoreStatus, CausalTrajectoryStrictReadResult, CommandIntent, EditIntent, EditKind, advanceCausalTrajectoryRevisionToken, filterTrajectoriesByLookbackDays, getCausalTrajectoryStoreStatus, readCausalTrajectoryRecords, readCausalTrajectoryRecordsStrict, readCausalTrajectoryRevisionToken, recordCausalTrajectory, resolveCausalTrajectoryStoreDir, searchCausalTrajectories, validateCausalTrajectoryRecord } from './causal-trajectory.js';
80
- export { ActionConfidenceRequest, CapsuleExportRequest, CapsuleImportRequest, CapsuleListRequest, CategoryAliasCoercion, DaySummaryRequest, ExtractionForceFlushRequest, LcmCompactionFlushRequest, LcmCompactionRecordRequest, LcmSearchRequest, MemoryCategoryAlias, MemoryStoreParsedRequest, MemoryStoreRequest, ObserveRequest, OfflineSyncApplyRequest, OfflineSyncFileContentRequest, OfflineSyncFilesRequest, OfflineSyncSnapshotRequest, RecallExplainRequest, RecallRequest, ReviewDispositionRequest, SchemaName, SchemaTypeFor, SchemaValidationError, SetCodingContextRequest, SuggestionSubmitRequest, TrustZoneDemoSeedRequest, TrustZonePromoteRequest, actionConfidenceRequestSchema, capsuleExportRequestSchema, capsuleImportRequestSchema, capsuleListRequestSchema, categoryAliasCoercion, codingContextSchema, daySummaryRequestSchema, deepRecallRequestSchema, extractionForceFlushRequestSchema, formatZodError, isMemoryCategoryAlias, lcmCompactionFlushRequestSchema, lcmCompactionRecordRequestSchema, lcmSearchRequestSchema, memoryStoreRequestSchema, observeRequestSchema, offlineSyncApplyRequestSchema, offlineSyncFileContentRequestSchema, offlineSyncFilesRequestSchema, offlineSyncSnapshotRequestSchema, reapplyCategoryCoercion, recallDisclosureSchema, recallExplainRequestSchema, recallRequestSchema, retainedCategoryAlias, reviewDispositionRequestSchema, setCodingContextRequestSchema, suggestionSubmitRequestSchema, tagMatchSchema, trustZoneDemoSeedRequestSchema, trustZonePromoteRequestSchema, validateRequest } from './access-schema.js';
80
+ export { ActionConfidenceRequest, CapsuleExportRequest, CapsuleImportRequest, CapsuleListRequest, CategoryAliasCoercion, DaySummaryRequest, ExtractionForceFlushRequest, LcmCompactionFlushRequest, LcmCompactionRecordRequest, LcmSearchRequest, MemoryCategoryAlias, MemoryStoreParsedRequest, MemoryStoreRequest, ObserveRequest, OfflineSyncApplyRequest, OfflineSyncFileContentRequest, OfflineSyncFilesRequest, OfflineSyncSnapshotRequest, RecallExplainRequest, RecallRequest, ReviewDispositionRequest, SchemaName, SchemaTypeFor, SchemaValidationError, SetCodingContextRequest, SuggestionSubmitRequest, TrustZoneDemoSeedRequest, TrustZonePromoteRequest, actionConfidenceRequestSchema, canonicalCategoryForAlias, capsuleExportRequestSchema, capsuleImportRequestSchema, capsuleListRequestSchema, categoryAliasCoercion, codingContextSchema, daySummaryRequestSchema, deepRecallRequestSchema, extractionForceFlushRequestSchema, formatZodError, isMemoryCategoryAlias, lcmCompactionFlushRequestSchema, lcmCompactionRecordRequestSchema, lcmSearchRequestSchema, memoryStoreRequestSchema, observeRequestSchema, offlineSyncApplyRequestSchema, offlineSyncFileContentRequestSchema, offlineSyncFilesRequestSchema, offlineSyncSnapshotRequestSchema, reapplyCategoryCoercion, recallDisclosureSchema, recallExplainRequestSchema, recallRequestSchema, retainedCategoryAlias, reviewDispositionRequestSchema, setCodingContextRequestSchema, suggestionSubmitRequestSchema, tagMatchSchema, trustZoneDemoSeedRequestSchema, trustZonePromoteRequestSchema, validateRequest } from './access-schema.js';
81
81
  export { buildExtensionsFooterForSummary, loadDaySummaryPrompt } from './day-summary.js';
82
82
  export { applyLcmSchema, ensureLcmStateDir, openLcmDatabase } from './lcm/schema.js';
83
83
  export { ActiveMemoryGetOutput, ActiveMemoryMetadata, ActiveMemoryRecallParams, ActiveMemorySearchOutput, ActiveMemorySearchResult, getMemoryForActiveMemory, recallForActiveMemory } from './active-memory-bridge.js';
@@ -1334,15 +1334,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1334
1334
  locator: z.ZodOptional<z.ZodString>;
1335
1335
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1336
1336
  }, "strict", z.ZodTypeAny, {
1337
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1338
- label: string;
1339
1337
  id: string;
1338
+ label: string;
1339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1340
1340
  capture: "at_action" | "historical_lookup" | "fixture";
1341
1341
  locator?: string | undefined;
1342
1342
  }, {
1343
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1344
- label: string;
1345
1343
  id: string;
1344
+ label: string;
1345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1346
1346
  capture: "at_action" | "historical_lookup" | "fixture";
1347
1347
  locator?: string | undefined;
1348
1348
  }>;
@@ -1359,15 +1359,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1359
  locator: z.ZodOptional<z.ZodString>;
1360
1360
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1361
1361
  }, "strict", z.ZodTypeAny, {
1362
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
- label: string;
1364
1362
  id: string;
1363
+ label: string;
1364
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1365
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1366
  locator?: string | undefined;
1367
1367
  }, {
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
  }>, "many">>;
@@ -1375,9 +1375,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1375
1375
  kind: "mission_started";
1376
1376
  title: string;
1377
1377
  evidence: {
1378
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
- label: string;
1380
1378
  id: string;
1379
+ label: string;
1380
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
1381
  capture: "at_action" | "historical_lookup" | "fixture";
1382
1382
  locator?: string | undefined;
1383
1383
  }[];
@@ -1389,9 +1389,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1389
1389
  objective: string;
1390
1390
  runMode: "replay" | "fixture" | "live";
1391
1391
  evidence?: {
1392
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
- label: string;
1394
1392
  id: string;
1393
+ label: string;
1394
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1395
1395
  capture: "at_action" | "historical_lookup" | "fixture";
1396
1396
  locator?: string | undefined;
1397
1397
  }[] | undefined;
@@ -1407,15 +1407,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1407
1407
  locator: z.ZodOptional<z.ZodString>;
1408
1408
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1409
1409
  }, "strict", z.ZodTypeAny, {
1410
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
- label: string;
1412
1410
  id: string;
1411
+ label: string;
1412
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
1413
  capture: "at_action" | "historical_lookup" | "fixture";
1414
1414
  locator?: string | undefined;
1415
1415
  }, {
1416
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1417
- label: string;
1418
1416
  id: string;
1417
+ label: string;
1418
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1419
1419
  capture: "at_action" | "historical_lookup" | "fixture";
1420
1420
  locator?: string | undefined;
1421
1421
  }>, "many">>;
@@ -1423,32 +1423,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1423
1423
  sessionId: z.ZodString;
1424
1424
  kind: z.ZodLiteral<"agent_status">;
1425
1425
  }, "strict", z.ZodTypeAny, {
1426
- kind: "agent_status";
1427
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1428
1426
  label: string;
1427
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1428
+ kind: "agent_status";
1429
1429
  role: string;
1430
1430
  agentId: string;
1431
1431
  sessionId: string;
1432
1432
  evidence: {
1433
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1434
- label: string;
1435
1433
  id: string;
1434
+ label: string;
1435
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1436
1436
  capture: "at_action" | "historical_lookup" | "fixture";
1437
1437
  locator?: string | undefined;
1438
1438
  }[];
1439
1439
  detail?: string | undefined;
1440
1440
  }, {
1441
- kind: "agent_status";
1442
- status: "failed" | "complete" | "blocked" | "idle" | "working";
1443
1441
  label: string;
1442
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1443
+ kind: "agent_status";
1444
1444
  role: string;
1445
1445
  agentId: string;
1446
1446
  sessionId: string;
1447
1447
  detail?: string | undefined;
1448
1448
  evidence?: {
1449
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1450
- label: string;
1451
1449
  id: string;
1450
+ label: string;
1451
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1452
1452
  capture: "at_action" | "historical_lookup" | "fixture";
1453
1453
  locator?: string | undefined;
1454
1454
  }[] | undefined;
@@ -1462,15 +1462,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1462
1462
  locator: z.ZodOptional<z.ZodString>;
1463
1463
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1464
1464
  }, "strict", z.ZodTypeAny, {
1465
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1466
- label: string;
1467
1465
  id: string;
1466
+ label: string;
1467
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1468
1468
  capture: "at_action" | "historical_lookup" | "fixture";
1469
1469
  locator?: string | undefined;
1470
1470
  }, {
1471
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1472
- label: string;
1473
1471
  id: string;
1472
+ label: string;
1473
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1474
  capture: "at_action" | "historical_lookup" | "fixture";
1475
1475
  locator?: string | undefined;
1476
1476
  }>, "many">>;
@@ -1478,28 +1478,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1478
1478
  sessionId: z.ZodString;
1479
1479
  kind: z.ZodLiteral<"agent_output">;
1480
1480
  }, "strict", z.ZodTypeAny, {
1481
- kind: "agent_output";
1482
1481
  summary: string;
1482
+ kind: "agent_output";
1483
1483
  agentId: string;
1484
1484
  sessionId: string;
1485
1485
  evidence: {
1486
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
- label: string;
1488
1486
  id: string;
1487
+ label: string;
1488
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1489
1489
  capture: "at_action" | "historical_lookup" | "fixture";
1490
1490
  locator?: string | undefined;
1491
1491
  }[];
1492
1492
  outputId: string;
1493
1493
  }, {
1494
- kind: "agent_output";
1495
1494
  summary: string;
1495
+ kind: "agent_output";
1496
1496
  agentId: string;
1497
1497
  sessionId: string;
1498
1498
  outputId: string;
1499
1499
  evidence?: {
1500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
- label: string;
1502
1500
  id: string;
1501
+ label: string;
1502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1503
1503
  capture: "at_action" | "historical_lookup" | "fixture";
1504
1504
  locator?: string | undefined;
1505
1505
  }[] | undefined;
@@ -1515,15 +1515,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1515
1515
  locator: z.ZodOptional<z.ZodString>;
1516
1516
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1517
1517
  }, "strict", z.ZodTypeAny, {
1518
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1519
- label: string;
1520
1518
  id: string;
1519
+ label: string;
1520
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1521
1521
  capture: "at_action" | "historical_lookup" | "fixture";
1522
1522
  locator?: string | undefined;
1523
1523
  }, {
1524
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1525
- label: string;
1526
1524
  id: string;
1525
+ label: string;
1526
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1527
1527
  capture: "at_action" | "historical_lookup" | "fixture";
1528
1528
  locator?: string | undefined;
1529
1529
  }>, "many">>;
@@ -1536,9 +1536,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1536
1536
  statement: string;
1537
1537
  sessionId: string;
1538
1538
  evidence: {
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
  }[];
@@ -1554,9 +1554,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1554
1554
  decisionId: string;
1555
1555
  confidence?: number | undefined;
1556
1556
  evidence?: {
1557
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
- label: string;
1559
1557
  id: string;
1558
+ label: string;
1559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1560
1560
  capture: "at_action" | "historical_lookup" | "fixture";
1561
1561
  locator?: string | undefined;
1562
1562
  }[] | undefined;
@@ -1573,25 +1573,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1573
1573
  locator: z.ZodOptional<z.ZodString>;
1574
1574
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1575
1575
  }, "strict", z.ZodTypeAny, {
1576
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
- label: string;
1578
1576
  id: string;
1577
+ label: string;
1578
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1579
1579
  capture: "at_action" | "historical_lookup" | "fixture";
1580
1580
  locator?: string | undefined;
1581
1581
  }, {
1582
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
- label: string;
1584
1582
  id: string;
1583
+ label: string;
1584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1585
1585
  capture: "at_action" | "historical_lookup" | "fixture";
1586
1586
  locator?: string | undefined;
1587
1587
  }>, "many">>;
1588
1588
  }, "strict", z.ZodTypeAny, {
1589
- kind: "conflict_detected";
1590
1589
  summary: string;
1590
+ kind: "conflict_detected";
1591
1591
  evidence: {
1592
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1593
- label: string;
1594
1592
  id: string;
1593
+ label: string;
1594
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
1595
  capture: "at_action" | "historical_lookup" | "fixture";
1596
1596
  locator?: string | undefined;
1597
1597
  }[];
@@ -1599,15 +1599,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1599
1599
  decisionIds: string[];
1600
1600
  agentIds: string[];
1601
1601
  }, {
1602
- kind: "conflict_detected";
1603
1602
  summary: string;
1603
+ kind: "conflict_detected";
1604
1604
  conflictId: string;
1605
1605
  decisionIds: string[];
1606
1606
  agentIds: string[];
1607
1607
  evidence?: {
1608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
- label: string;
1610
1608
  id: string;
1609
+ label: string;
1610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1611
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1612
  locator?: string | undefined;
1613
1613
  }[] | undefined;
@@ -1627,27 +1627,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1627
1627
  locator: z.ZodOptional<z.ZodString>;
1628
1628
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1629
1629
  }, "strict", z.ZodTypeAny, {
1630
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1631
- label: string;
1632
1630
  id: string;
1631
+ label: string;
1632
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
1633
  capture: "at_action" | "historical_lookup" | "fixture";
1634
1634
  locator?: string | undefined;
1635
1635
  }, {
1636
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1637
- label: string;
1638
1636
  id: string;
1637
+ label: string;
1638
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1639
1639
  capture: "at_action" | "historical_lookup" | "fixture";
1640
1640
  locator?: string | undefined;
1641
1641
  }>, "many">>;
1642
1642
  }, "strict", z.ZodTypeAny, {
1643
- kind: "test_result";
1644
1643
  summary: string;
1645
1644
  status: "error" | "failed" | "passed";
1645
+ kind: "test_result";
1646
1646
  command: string;
1647
1647
  evidence: {
1648
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
- label: string;
1650
1648
  id: string;
1649
+ label: string;
1650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1651
1651
  capture: "at_action" | "historical_lookup" | "fixture";
1652
1652
  locator?: string | undefined;
1653
1653
  }[];
@@ -1656,17 +1656,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1656
1656
  durationMs?: number | undefined;
1657
1657
  correctionId?: string | undefined;
1658
1658
  }, {
1659
- kind: "test_result";
1660
1659
  summary: string;
1661
1660
  status: "error" | "failed" | "passed";
1661
+ kind: "test_result";
1662
1662
  command: string;
1663
1663
  decisionId: string;
1664
1664
  testId: string;
1665
1665
  durationMs?: number | undefined;
1666
1666
  evidence?: {
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
  }[] | undefined;
@@ -1687,15 +1687,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1687
1687
  locator: z.ZodOptional<z.ZodString>;
1688
1688
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1689
1689
  }, "strict", z.ZodTypeAny, {
1690
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1691
- label: string;
1692
1690
  id: string;
1691
+ label: string;
1692
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1693
1693
  capture: "at_action" | "historical_lookup" | "fixture";
1694
1694
  locator?: string | undefined;
1695
1695
  }, {
1696
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1697
- label: string;
1698
1696
  id: string;
1697
+ label: string;
1698
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1699
1699
  capture: "at_action" | "historical_lookup" | "fixture";
1700
1700
  locator?: string | undefined;
1701
1701
  }>, "many">>;
@@ -1704,9 +1704,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1704
1704
  statement: string;
1705
1705
  rationale: string;
1706
1706
  evidence: {
1707
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1708
- label: string;
1709
1707
  id: string;
1708
+ label: string;
1709
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1710
1710
  capture: "at_action" | "historical_lookup" | "fixture";
1711
1711
  locator?: string | undefined;
1712
1712
  }[];
@@ -1725,9 +1725,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1725
1725
  supersedesDecisionIds: string[];
1726
1726
  proposedBy: string;
1727
1727
  evidence?: {
1728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
- label: string;
1730
1728
  id: string;
1729
+ label: string;
1730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1731
  capture: "at_action" | "historical_lookup" | "fixture";
1732
1732
  locator?: string | undefined;
1733
1733
  }[] | undefined;
@@ -1739,13 +1739,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1739
1739
  id: z.ZodString;
1740
1740
  label: z.ZodString;
1741
1741
  }, "strict", z.ZodTypeAny, {
1742
- kind: "agent" | "human";
1743
- label: string;
1744
1742
  id: string;
1745
- }, {
1746
- kind: "agent" | "human";
1747
1743
  label: string;
1744
+ kind: "agent" | "human";
1745
+ }, {
1748
1746
  id: string;
1747
+ label: string;
1748
+ kind: "agent" | "human";
1749
1749
  }>;
1750
1750
  note: z.ZodOptional<z.ZodString>;
1751
1751
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1755,47 +1755,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1755
1755
  locator: z.ZodOptional<z.ZodString>;
1756
1756
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1757
1757
  }, "strict", z.ZodTypeAny, {
1758
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1759
- label: string;
1760
1758
  id: string;
1759
+ label: string;
1760
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1762
1762
  locator?: string | undefined;
1763
1763
  }, {
1764
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1765
- label: string;
1766
1764
  id: string;
1765
+ label: string;
1766
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1767
1767
  capture: "at_action" | "historical_lookup" | "fixture";
1768
1768
  locator?: string | undefined;
1769
1769
  }>, "many">>;
1770
1770
  }, "strict", z.ZodTypeAny, {
1771
1771
  kind: "correction_approved";
1772
1772
  evidence: {
1773
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
- label: string;
1775
1773
  id: string;
1774
+ label: string;
1775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
1776
  capture: "at_action" | "historical_lookup" | "fixture";
1777
1777
  locator?: string | undefined;
1778
1778
  }[];
1779
1779
  correctionId: string;
1780
1780
  approvedBy: {
1781
- kind: "agent" | "human";
1782
- label: string;
1783
1781
  id: string;
1782
+ label: string;
1783
+ kind: "agent" | "human";
1784
1784
  };
1785
1785
  note?: string | undefined;
1786
1786
  }, {
1787
1787
  kind: "correction_approved";
1788
1788
  correctionId: string;
1789
1789
  approvedBy: {
1790
- kind: "agent" | "human";
1791
- label: string;
1792
1790
  id: string;
1791
+ label: string;
1792
+ kind: "agent" | "human";
1793
1793
  };
1794
1794
  note?: string | undefined;
1795
1795
  evidence?: {
1796
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1797
- label: string;
1798
1796
  id: string;
1797
+ label: string;
1798
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1799
  capture: "at_action" | "historical_lookup" | "fixture";
1800
1800
  locator?: string | undefined;
1801
1801
  }[] | undefined;
@@ -1811,24 +1811,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1811
1811
  locator: z.ZodOptional<z.ZodString>;
1812
1812
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1813
1813
  }, "strict", z.ZodTypeAny, {
1814
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
- label: string;
1816
1814
  id: string;
1815
+ label: string;
1816
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1818
1818
  locator?: string | undefined;
1819
1819
  }, {
1820
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
- label: string;
1822
1820
  id: string;
1821
+ label: string;
1822
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1823
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1824
  locator?: string | undefined;
1825
1825
  }>, "many">>;
1826
1826
  }, "strict", z.ZodTypeAny, {
1827
1827
  kind: "decision_superseded";
1828
1828
  evidence: {
1829
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1830
- label: string;
1831
1829
  id: string;
1830
+ label: string;
1831
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
1832
  capture: "at_action" | "historical_lookup" | "fixture";
1833
1833
  locator?: string | undefined;
1834
1834
  }[];
@@ -1841,9 +1841,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1841
1841
  correctionId: string;
1842
1842
  replacementDecisionId: string;
1843
1843
  evidence?: {
1844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1845
- label: string;
1846
1844
  id: string;
1845
+ label: string;
1846
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1847
1847
  capture: "at_action" | "historical_lookup" | "fixture";
1848
1848
  locator?: string | undefined;
1849
1849
  }[] | undefined;
@@ -1859,15 +1859,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1859
1859
  locator: z.ZodOptional<z.ZodString>;
1860
1860
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1861
1861
  }, "strict", z.ZodTypeAny, {
1862
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1863
- label: string;
1864
1862
  id: string;
1863
+ label: string;
1864
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1865
1865
  capture: "at_action" | "historical_lookup" | "fixture";
1866
1866
  locator?: string | undefined;
1867
1867
  }, {
1868
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1869
- label: string;
1870
1868
  id: string;
1869
+ label: string;
1870
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
1871
  capture: "at_action" | "historical_lookup" | "fixture";
1872
1872
  locator?: string | undefined;
1873
1873
  }>, "many">>;
@@ -1880,9 +1880,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1880
1880
  agentId: string;
1881
1881
  sessionId: string;
1882
1882
  evidence: {
1883
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
- label: string;
1885
1883
  id: string;
1884
+ label: string;
1885
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1886
1886
  capture: "at_action" | "historical_lookup" | "fixture";
1887
1887
  locator?: string | undefined;
1888
1888
  }[];
@@ -1898,9 +1898,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1898
1898
  recallReceiptId: string;
1899
1899
  capturedAtAction: boolean;
1900
1900
  evidence?: {
1901
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1902
- label: string;
1903
1901
  id: string;
1902
+ label: string;
1903
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1904
1904
  capture: "at_action" | "historical_lookup" | "fixture";
1905
1905
  locator?: string | undefined;
1906
1906
  }[] | undefined;
@@ -1916,15 +1916,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1916
1916
  locator: z.ZodOptional<z.ZodString>;
1917
1917
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1918
1918
  }, "strict", z.ZodTypeAny, {
1919
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1920
- label: string;
1921
1919
  id: string;
1920
+ label: string;
1921
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
1922
  capture: "at_action" | "historical_lookup" | "fixture";
1923
1923
  locator?: string | undefined;
1924
1924
  }, {
1925
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1926
- label: string;
1927
1925
  id: string;
1926
+ label: string;
1927
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1928
1928
  capture: "at_action" | "historical_lookup" | "fixture";
1929
1929
  locator?: string | undefined;
1930
1930
  }>, "many">>;
@@ -1936,9 +1936,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1936
1936
  agentId: string;
1937
1937
  sessionId: string;
1938
1938
  evidence: {
1939
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
- label: string;
1941
1939
  id: string;
1940
+ label: string;
1941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1942
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1943
1943
  locator?: string | undefined;
1944
1944
  }[];
@@ -1955,9 +1955,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1955
1955
  recallReceiptId: string;
1956
1956
  staleDecisionAbsent: boolean;
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
  }[] | undefined;
@@ -1972,37 +1972,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1972
1972
  locator: z.ZodOptional<z.ZodString>;
1973
1973
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1974
1974
  }, "strict", z.ZodTypeAny, {
1975
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
- label: string;
1977
1975
  id: string;
1976
+ label: string;
1977
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1978
1978
  capture: "at_action" | "historical_lookup" | "fixture";
1979
1979
  locator?: string | undefined;
1980
1980
  }, {
1981
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1982
- label: string;
1983
1981
  id: string;
1982
+ label: string;
1983
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1984
1984
  capture: "at_action" | "historical_lookup" | "fixture";
1985
1985
  locator?: string | undefined;
1986
1986
  }>, "many">>;
1987
1987
  }, "strict", z.ZodTypeAny, {
1988
- kind: "mission_completed";
1989
1988
  summary: string;
1989
+ kind: "mission_completed";
1990
1990
  outcome: "failed" | "recovered" | "inconclusive";
1991
1991
  evidence: {
1992
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1993
- label: string;
1994
1992
  id: string;
1993
+ label: string;
1994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1995
1995
  capture: "at_action" | "historical_lookup" | "fixture";
1996
1996
  locator?: string | undefined;
1997
1997
  }[];
1998
1998
  }, {
1999
- kind: "mission_completed";
2000
1999
  summary: string;
2000
+ kind: "mission_completed";
2001
2001
  outcome: "failed" | "recovered" | "inconclusive";
2002
2002
  evidence?: {
2003
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2004
- label: string;
2005
2003
  id: string;
2004
+ label: string;
2005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2006
2006
  capture: "at_action" | "historical_lookup" | "fixture";
2007
2007
  locator?: string | undefined;
2008
2008
  }[] | undefined;
@@ -2010,38 +2010,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2010
2010
  kind: "mission_started";
2011
2011
  title: string;
2012
2012
  evidence: {
2013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
- label: string;
2015
2013
  id: string;
2014
+ label: string;
2015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
2016
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2017
  locator?: string | undefined;
2018
2018
  }[];
2019
2019
  objective: string;
2020
2020
  runMode: "replay" | "fixture" | "live";
2021
2021
  } | {
2022
- kind: "agent_status";
2023
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2024
2022
  label: string;
2023
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2024
+ kind: "agent_status";
2025
2025
  role: string;
2026
2026
  agentId: string;
2027
2027
  sessionId: string;
2028
2028
  evidence: {
2029
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
- label: string;
2031
2029
  id: string;
2030
+ label: string;
2031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2033
  locator?: string | undefined;
2034
2034
  }[];
2035
2035
  detail?: string | undefined;
2036
2036
  } | {
2037
- kind: "agent_output";
2038
2037
  summary: string;
2038
+ kind: "agent_output";
2039
2039
  agentId: string;
2040
2040
  sessionId: string;
2041
2041
  evidence: {
2042
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2043
- label: string;
2044
2042
  id: string;
2043
+ label: string;
2044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2045
  capture: "at_action" | "historical_lookup" | "fixture";
2046
2046
  locator?: string | undefined;
2047
2047
  }[];
@@ -2052,9 +2052,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2052
2052
  statement: string;
2053
2053
  sessionId: string;
2054
2054
  evidence: {
2055
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2056
- label: string;
2057
2055
  id: string;
2056
+ label: string;
2057
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2058
2058
  capture: "at_action" | "historical_lookup" | "fixture";
2059
2059
  locator?: string | undefined;
2060
2060
  }[];
@@ -2062,12 +2062,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2062
2062
  decisionId: string;
2063
2063
  confidence?: number | undefined;
2064
2064
  } | {
2065
- kind: "conflict_detected";
2066
2065
  summary: string;
2066
+ kind: "conflict_detected";
2067
2067
  evidence: {
2068
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2069
- label: string;
2070
2068
  id: string;
2069
+ label: string;
2070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2071
2071
  capture: "at_action" | "historical_lookup" | "fixture";
2072
2072
  locator?: string | undefined;
2073
2073
  }[];
@@ -2075,14 +2075,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2075
2075
  decisionIds: string[];
2076
2076
  agentIds: string[];
2077
2077
  } | {
2078
- kind: "test_result";
2079
2078
  summary: string;
2080
2079
  status: "error" | "failed" | "passed";
2080
+ kind: "test_result";
2081
2081
  command: string;
2082
2082
  evidence: {
2083
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
- label: string;
2085
2083
  id: string;
2084
+ label: string;
2085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2086
  capture: "at_action" | "historical_lookup" | "fixture";
2087
2087
  locator?: string | undefined;
2088
2088
  }[];
@@ -2095,9 +2095,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2095
2095
  statement: string;
2096
2096
  rationale: string;
2097
2097
  evidence: {
2098
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2099
- label: string;
2100
2098
  id: string;
2099
+ label: string;
2100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
2101
  capture: "at_action" | "historical_lookup" | "fixture";
2102
2102
  locator?: string | undefined;
2103
2103
  }[];
@@ -2109,25 +2109,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2109
2109
  } | {
2110
2110
  kind: "correction_approved";
2111
2111
  evidence: {
2112
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2113
- label: string;
2114
2112
  id: string;
2113
+ label: string;
2114
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2115
2115
  capture: "at_action" | "historical_lookup" | "fixture";
2116
2116
  locator?: string | undefined;
2117
2117
  }[];
2118
2118
  correctionId: string;
2119
2119
  approvedBy: {
2120
- kind: "agent" | "human";
2121
- label: string;
2122
2120
  id: string;
2121
+ label: string;
2122
+ kind: "agent" | "human";
2123
2123
  };
2124
2124
  note?: string | undefined;
2125
2125
  } | {
2126
2126
  kind: "decision_superseded";
2127
2127
  evidence: {
2128
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
- label: string;
2130
2128
  id: string;
2129
+ label: string;
2130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
2131
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2132
  locator?: string | undefined;
2133
2133
  }[];
@@ -2140,9 +2140,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2140
2140
  agentId: string;
2141
2141
  sessionId: 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
  }[];
@@ -2154,9 +2154,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2154
2154
  agentId: string;
2155
2155
  sessionId: string;
2156
2156
  evidence: {
2157
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
- label: string;
2159
2157
  id: string;
2158
+ label: string;
2159
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
2160
  capture: "at_action" | "historical_lookup" | "fixture";
2161
2161
  locator?: string | undefined;
2162
2162
  }[];
@@ -2165,13 +2165,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2165
2165
  recallReceiptId: string;
2166
2166
  staleDecisionAbsent: boolean;
2167
2167
  } | {
2168
- kind: "mission_completed";
2169
2168
  summary: string;
2169
+ kind: "mission_completed";
2170
2170
  outcome: "failed" | "recovered" | "inconclusive";
2171
2171
  evidence: {
2172
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2173
- label: string;
2174
2172
  id: string;
2173
+ label: string;
2174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
2175
  capture: "at_action" | "historical_lookup" | "fixture";
2176
2176
  locator?: string | undefined;
2177
2177
  }[];
@@ -2181,37 +2181,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2181
2181
  objective: string;
2182
2182
  runMode: "replay" | "fixture" | "live";
2183
2183
  evidence?: {
2184
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2185
- label: string;
2186
2184
  id: string;
2185
+ label: string;
2186
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2187
2187
  capture: "at_action" | "historical_lookup" | "fixture";
2188
2188
  locator?: string | undefined;
2189
2189
  }[] | undefined;
2190
2190
  } | {
2191
- kind: "agent_status";
2192
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2193
2191
  label: string;
2192
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2193
+ kind: "agent_status";
2194
2194
  role: string;
2195
2195
  agentId: string;
2196
2196
  sessionId: string;
2197
2197
  detail?: string | undefined;
2198
2198
  evidence?: {
2199
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
- label: string;
2201
2199
  id: string;
2200
+ label: string;
2201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2203
2203
  locator?: string | undefined;
2204
2204
  }[] | undefined;
2205
2205
  } | {
2206
- kind: "agent_output";
2207
2206
  summary: string;
2207
+ kind: "agent_output";
2208
2208
  agentId: string;
2209
2209
  sessionId: string;
2210
2210
  outputId: string;
2211
2211
  evidence?: {
2212
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
- label: string;
2214
2212
  id: string;
2213
+ label: string;
2214
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2215
2215
  capture: "at_action" | "historical_lookup" | "fixture";
2216
2216
  locator?: string | undefined;
2217
2217
  }[] | undefined;
@@ -2224,37 +2224,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2224
2224
  decisionId: string;
2225
2225
  confidence?: number | undefined;
2226
2226
  evidence?: {
2227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
- label: string;
2229
2227
  id: string;
2228
+ label: string;
2229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2231
  locator?: string | undefined;
2232
2232
  }[] | undefined;
2233
2233
  } | {
2234
- kind: "conflict_detected";
2235
2234
  summary: string;
2235
+ kind: "conflict_detected";
2236
2236
  conflictId: string;
2237
2237
  decisionIds: string[];
2238
2238
  agentIds: string[];
2239
2239
  evidence?: {
2240
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2241
- label: string;
2242
2240
  id: string;
2241
+ label: string;
2242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2243
2243
  capture: "at_action" | "historical_lookup" | "fixture";
2244
2244
  locator?: string | undefined;
2245
2245
  }[] | undefined;
2246
2246
  } | {
2247
- kind: "test_result";
2248
2247
  summary: string;
2249
2248
  status: "error" | "failed" | "passed";
2249
+ kind: "test_result";
2250
2250
  command: string;
2251
2251
  decisionId: string;
2252
2252
  testId: string;
2253
2253
  durationMs?: number | undefined;
2254
2254
  evidence?: {
2255
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2256
- label: string;
2257
2255
  id: string;
2256
+ label: string;
2257
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2258
2258
  capture: "at_action" | "historical_lookup" | "fixture";
2259
2259
  locator?: string | undefined;
2260
2260
  }[] | undefined;
@@ -2269,9 +2269,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2269
2269
  supersedesDecisionIds: string[];
2270
2270
  proposedBy: string;
2271
2271
  evidence?: {
2272
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
- label: string;
2274
2272
  id: string;
2273
+ label: string;
2274
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2275
2275
  capture: "at_action" | "historical_lookup" | "fixture";
2276
2276
  locator?: string | undefined;
2277
2277
  }[] | undefined;
@@ -2279,15 +2279,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2279
2279
  kind: "correction_approved";
2280
2280
  correctionId: string;
2281
2281
  approvedBy: {
2282
- kind: "agent" | "human";
2283
- label: string;
2284
2282
  id: string;
2283
+ label: string;
2284
+ kind: "agent" | "human";
2285
2285
  };
2286
2286
  note?: string | undefined;
2287
2287
  evidence?: {
2288
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2289
- label: string;
2290
2288
  id: string;
2289
+ label: string;
2290
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2291
2291
  capture: "at_action" | "historical_lookup" | "fixture";
2292
2292
  locator?: string | undefined;
2293
2293
  }[] | undefined;
@@ -2297,9 +2297,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2297
2297
  correctionId: string;
2298
2298
  replacementDecisionId: string;
2299
2299
  evidence?: {
2300
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2301
- label: string;
2302
2300
  id: string;
2301
+ label: string;
2302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2303
2303
  capture: "at_action" | "historical_lookup" | "fixture";
2304
2304
  locator?: string | undefined;
2305
2305
  }[] | undefined;
@@ -2312,9 +2312,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2312
2312
  recallReceiptId: string;
2313
2313
  capturedAtAction: boolean;
2314
2314
  evidence?: {
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
  }[] | undefined;
@@ -2327,20 +2327,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2327
2327
  recallReceiptId: string;
2328
2328
  staleDecisionAbsent: boolean;
2329
2329
  evidence?: {
2330
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2331
- label: string;
2332
2330
  id: string;
2331
+ label: string;
2332
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
2333
  capture: "at_action" | "historical_lookup" | "fixture";
2334
2334
  locator?: string | undefined;
2335
2335
  }[] | undefined;
2336
2336
  } | {
2337
- kind: "mission_completed";
2338
2337
  summary: string;
2338
+ kind: "mission_completed";
2339
2339
  outcome: "failed" | "recovered" | "inconclusive";
2340
2340
  evidence?: {
2341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2342
- label: string;
2343
2341
  id: string;
2342
+ label: string;
2343
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2344
2344
  capture: "at_action" | "historical_lookup" | "fixture";
2345
2345
  locator?: string | undefined;
2346
2346
  }[] | undefined;
@@ -2361,15 +2361,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2361
  locator: z.ZodOptional<z.ZodString>;
2362
2362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2363
2363
  }, "strict", z.ZodTypeAny, {
2364
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
- label: string;
2366
2364
  id: string;
2365
+ label: string;
2366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2367
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2368
  locator?: string | undefined;
2369
2369
  }, {
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
  }>, "many">>;
@@ -2377,9 +2377,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2377
2377
  kind: "mission_started";
2378
2378
  title: string;
2379
2379
  evidence: {
2380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
- label: string;
2382
2380
  id: string;
2381
+ label: string;
2382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
2383
  capture: "at_action" | "historical_lookup" | "fixture";
2384
2384
  locator?: string | undefined;
2385
2385
  }[];
@@ -2391,9 +2391,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2391
2391
  objective: string;
2392
2392
  runMode: "replay" | "fixture" | "live";
2393
2393
  evidence?: {
2394
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
- label: string;
2396
2394
  id: string;
2395
+ label: string;
2396
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2397
2397
  capture: "at_action" | "historical_lookup" | "fixture";
2398
2398
  locator?: string | undefined;
2399
2399
  }[] | undefined;
@@ -2409,15 +2409,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2409
2409
  locator: z.ZodOptional<z.ZodString>;
2410
2410
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2411
2411
  }, "strict", z.ZodTypeAny, {
2412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
- label: string;
2414
2412
  id: string;
2413
+ label: string;
2414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
2415
  capture: "at_action" | "historical_lookup" | "fixture";
2416
2416
  locator?: string | undefined;
2417
2417
  }, {
2418
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2419
- label: string;
2420
2418
  id: string;
2419
+ label: string;
2420
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2421
2421
  capture: "at_action" | "historical_lookup" | "fixture";
2422
2422
  locator?: string | undefined;
2423
2423
  }>, "many">>;
@@ -2425,32 +2425,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2425
2425
  sessionId: z.ZodString;
2426
2426
  kind: z.ZodLiteral<"agent_status">;
2427
2427
  }, "strict", z.ZodTypeAny, {
2428
- kind: "agent_status";
2429
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2430
2428
  label: string;
2429
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2430
+ kind: "agent_status";
2431
2431
  role: string;
2432
2432
  agentId: string;
2433
2433
  sessionId: string;
2434
2434
  evidence: {
2435
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2436
- label: string;
2437
2435
  id: string;
2436
+ label: string;
2437
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2438
2438
  capture: "at_action" | "historical_lookup" | "fixture";
2439
2439
  locator?: string | undefined;
2440
2440
  }[];
2441
2441
  detail?: string | undefined;
2442
2442
  }, {
2443
- kind: "agent_status";
2444
- status: "failed" | "complete" | "blocked" | "idle" | "working";
2445
2443
  label: string;
2444
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2445
+ kind: "agent_status";
2446
2446
  role: string;
2447
2447
  agentId: string;
2448
2448
  sessionId: string;
2449
2449
  detail?: string | undefined;
2450
2450
  evidence?: {
2451
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2452
- label: string;
2453
2451
  id: string;
2452
+ label: string;
2453
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2454
2454
  capture: "at_action" | "historical_lookup" | "fixture";
2455
2455
  locator?: string | undefined;
2456
2456
  }[] | undefined;
@@ -2464,15 +2464,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2464
2464
  locator: z.ZodOptional<z.ZodString>;
2465
2465
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2466
2466
  }, "strict", z.ZodTypeAny, {
2467
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2468
- label: string;
2469
2467
  id: string;
2468
+ label: string;
2469
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2470
2470
  capture: "at_action" | "historical_lookup" | "fixture";
2471
2471
  locator?: string | undefined;
2472
2472
  }, {
2473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2474
- label: string;
2475
2473
  id: string;
2474
+ label: string;
2475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2476
  capture: "at_action" | "historical_lookup" | "fixture";
2477
2477
  locator?: string | undefined;
2478
2478
  }>, "many">>;
@@ -2480,28 +2480,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2480
2480
  sessionId: z.ZodString;
2481
2481
  kind: z.ZodLiteral<"agent_output">;
2482
2482
  }, "strict", z.ZodTypeAny, {
2483
- kind: "agent_output";
2484
2483
  summary: string;
2484
+ kind: "agent_output";
2485
2485
  agentId: string;
2486
2486
  sessionId: string;
2487
2487
  evidence: {
2488
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
- label: string;
2490
2488
  id: string;
2489
+ label: string;
2490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2491
2491
  capture: "at_action" | "historical_lookup" | "fixture";
2492
2492
  locator?: string | undefined;
2493
2493
  }[];
2494
2494
  outputId: string;
2495
2495
  }, {
2496
- kind: "agent_output";
2497
2496
  summary: string;
2497
+ kind: "agent_output";
2498
2498
  agentId: string;
2499
2499
  sessionId: string;
2500
2500
  outputId: string;
2501
2501
  evidence?: {
2502
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
- label: string;
2504
2502
  id: string;
2503
+ label: string;
2504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2505
2505
  capture: "at_action" | "historical_lookup" | "fixture";
2506
2506
  locator?: string | undefined;
2507
2507
  }[] | undefined;
@@ -2517,15 +2517,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2517
2517
  locator: z.ZodOptional<z.ZodString>;
2518
2518
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2519
2519
  }, "strict", z.ZodTypeAny, {
2520
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2521
- label: string;
2522
2520
  id: string;
2521
+ label: string;
2522
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2523
2523
  capture: "at_action" | "historical_lookup" | "fixture";
2524
2524
  locator?: string | undefined;
2525
2525
  }, {
2526
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2527
- label: string;
2528
2526
  id: string;
2527
+ label: string;
2528
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2529
2529
  capture: "at_action" | "historical_lookup" | "fixture";
2530
2530
  locator?: string | undefined;
2531
2531
  }>, "many">>;
@@ -2538,9 +2538,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2538
2538
  statement: string;
2539
2539
  sessionId: string;
2540
2540
  evidence: {
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
  }[];
@@ -2556,9 +2556,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2556
2556
  decisionId: string;
2557
2557
  confidence?: number | undefined;
2558
2558
  evidence?: {
2559
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
- label: string;
2561
2559
  id: string;
2560
+ label: string;
2561
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2562
2562
  capture: "at_action" | "historical_lookup" | "fixture";
2563
2563
  locator?: string | undefined;
2564
2564
  }[] | undefined;
@@ -2575,25 +2575,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2575
2575
  locator: z.ZodOptional<z.ZodString>;
2576
2576
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2577
2577
  }, "strict", z.ZodTypeAny, {
2578
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
- label: string;
2580
2578
  id: string;
2579
+ label: string;
2580
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2581
2581
  capture: "at_action" | "historical_lookup" | "fixture";
2582
2582
  locator?: string | undefined;
2583
2583
  }, {
2584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
- label: string;
2586
2584
  id: string;
2585
+ label: string;
2586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2587
2587
  capture: "at_action" | "historical_lookup" | "fixture";
2588
2588
  locator?: string | undefined;
2589
2589
  }>, "many">>;
2590
2590
  }, "strict", z.ZodTypeAny, {
2591
- kind: "conflict_detected";
2592
2591
  summary: string;
2592
+ kind: "conflict_detected";
2593
2593
  evidence: {
2594
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2595
- label: string;
2596
2594
  id: string;
2595
+ label: string;
2596
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
2597
  capture: "at_action" | "historical_lookup" | "fixture";
2598
2598
  locator?: string | undefined;
2599
2599
  }[];
@@ -2601,15 +2601,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2601
2601
  decisionIds: string[];
2602
2602
  agentIds: string[];
2603
2603
  }, {
2604
- kind: "conflict_detected";
2605
2604
  summary: string;
2605
+ kind: "conflict_detected";
2606
2606
  conflictId: string;
2607
2607
  decisionIds: string[];
2608
2608
  agentIds: string[];
2609
2609
  evidence?: {
2610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
- label: string;
2612
2610
  id: string;
2611
+ label: string;
2612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2613
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2614
  locator?: string | undefined;
2615
2615
  }[] | undefined;
@@ -2629,27 +2629,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2629
2629
  locator: z.ZodOptional<z.ZodString>;
2630
2630
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2631
2631
  }, "strict", z.ZodTypeAny, {
2632
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2633
- label: string;
2634
2632
  id: string;
2633
+ label: string;
2634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
2635
  capture: "at_action" | "historical_lookup" | "fixture";
2636
2636
  locator?: string | undefined;
2637
2637
  }, {
2638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2639
- label: string;
2640
2638
  id: string;
2639
+ label: string;
2640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2641
2641
  capture: "at_action" | "historical_lookup" | "fixture";
2642
2642
  locator?: string | undefined;
2643
2643
  }>, "many">>;
2644
2644
  }, "strict", z.ZodTypeAny, {
2645
- kind: "test_result";
2646
2645
  summary: string;
2647
2646
  status: "error" | "failed" | "passed";
2647
+ kind: "test_result";
2648
2648
  command: string;
2649
2649
  evidence: {
2650
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
- label: string;
2652
2650
  id: string;
2651
+ label: string;
2652
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2653
2653
  capture: "at_action" | "historical_lookup" | "fixture";
2654
2654
  locator?: string | undefined;
2655
2655
  }[];
@@ -2658,17 +2658,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2658
2658
  durationMs?: number | undefined;
2659
2659
  correctionId?: string | undefined;
2660
2660
  }, {
2661
- kind: "test_result";
2662
2661
  summary: string;
2663
2662
  status: "error" | "failed" | "passed";
2663
+ kind: "test_result";
2664
2664
  command: string;
2665
2665
  decisionId: string;
2666
2666
  testId: string;
2667
2667
  durationMs?: number | undefined;
2668
2668
  evidence?: {
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
  }[] | undefined;
@@ -2689,15 +2689,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2689
2689
  locator: z.ZodOptional<z.ZodString>;
2690
2690
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2691
2691
  }, "strict", z.ZodTypeAny, {
2692
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2693
- label: string;
2694
2692
  id: string;
2693
+ label: string;
2694
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2695
2695
  capture: "at_action" | "historical_lookup" | "fixture";
2696
2696
  locator?: string | undefined;
2697
2697
  }, {
2698
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2699
- label: string;
2700
2698
  id: string;
2699
+ label: string;
2700
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2701
2701
  capture: "at_action" | "historical_lookup" | "fixture";
2702
2702
  locator?: string | undefined;
2703
2703
  }>, "many">>;
@@ -2706,9 +2706,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2706
2706
  statement: string;
2707
2707
  rationale: string;
2708
2708
  evidence: {
2709
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2710
- label: string;
2711
2709
  id: string;
2710
+ label: string;
2711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2712
2712
  capture: "at_action" | "historical_lookup" | "fixture";
2713
2713
  locator?: string | undefined;
2714
2714
  }[];
@@ -2727,9 +2727,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2727
2727
  supersedesDecisionIds: string[];
2728
2728
  proposedBy: string;
2729
2729
  evidence?: {
2730
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
- label: string;
2732
2730
  id: string;
2731
+ label: string;
2732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2733
  capture: "at_action" | "historical_lookup" | "fixture";
2734
2734
  locator?: string | undefined;
2735
2735
  }[] | undefined;
@@ -2741,13 +2741,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2741
2741
  id: z.ZodString;
2742
2742
  label: z.ZodString;
2743
2743
  }, "strict", z.ZodTypeAny, {
2744
- kind: "agent" | "human";
2745
- label: string;
2746
2744
  id: string;
2747
- }, {
2748
- kind: "agent" | "human";
2749
2745
  label: string;
2746
+ kind: "agent" | "human";
2747
+ }, {
2750
2748
  id: string;
2749
+ label: string;
2750
+ kind: "agent" | "human";
2751
2751
  }>;
2752
2752
  note: z.ZodOptional<z.ZodString>;
2753
2753
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2757,47 +2757,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2757
2757
  locator: z.ZodOptional<z.ZodString>;
2758
2758
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2759
2759
  }, "strict", z.ZodTypeAny, {
2760
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2761
- label: string;
2762
2760
  id: string;
2761
+ label: string;
2762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2764
2764
  locator?: string | undefined;
2765
2765
  }, {
2766
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2767
- label: string;
2768
2766
  id: string;
2767
+ label: string;
2768
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2769
2769
  capture: "at_action" | "historical_lookup" | "fixture";
2770
2770
  locator?: string | undefined;
2771
2771
  }>, "many">>;
2772
2772
  }, "strict", z.ZodTypeAny, {
2773
2773
  kind: "correction_approved";
2774
2774
  evidence: {
2775
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
- label: string;
2777
2775
  id: string;
2776
+ label: string;
2777
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
2778
  capture: "at_action" | "historical_lookup" | "fixture";
2779
2779
  locator?: string | undefined;
2780
2780
  }[];
2781
2781
  correctionId: string;
2782
2782
  approvedBy: {
2783
- kind: "agent" | "human";
2784
- label: string;
2785
2783
  id: string;
2784
+ label: string;
2785
+ kind: "agent" | "human";
2786
2786
  };
2787
2787
  note?: string | undefined;
2788
2788
  }, {
2789
2789
  kind: "correction_approved";
2790
2790
  correctionId: string;
2791
2791
  approvedBy: {
2792
- kind: "agent" | "human";
2793
- label: string;
2794
2792
  id: string;
2793
+ label: string;
2794
+ kind: "agent" | "human";
2795
2795
  };
2796
2796
  note?: string | undefined;
2797
2797
  evidence?: {
2798
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2799
- label: string;
2800
2798
  id: string;
2799
+ label: string;
2800
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2801
  capture: "at_action" | "historical_lookup" | "fixture";
2802
2802
  locator?: string | undefined;
2803
2803
  }[] | undefined;
@@ -2813,24 +2813,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2813
2813
  locator: z.ZodOptional<z.ZodString>;
2814
2814
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2815
2815
  }, "strict", z.ZodTypeAny, {
2816
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
- label: string;
2818
2816
  id: string;
2817
+ label: string;
2818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2820
2820
  locator?: string | undefined;
2821
2821
  }, {
2822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
- label: string;
2824
2822
  id: string;
2823
+ label: string;
2824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2825
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2826
  locator?: string | undefined;
2827
2827
  }>, "many">>;
2828
2828
  }, "strict", z.ZodTypeAny, {
2829
2829
  kind: "decision_superseded";
2830
2830
  evidence: {
2831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2832
- label: string;
2833
2831
  id: string;
2832
+ label: string;
2833
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
2834
  capture: "at_action" | "historical_lookup" | "fixture";
2835
2835
  locator?: string | undefined;
2836
2836
  }[];
@@ -2843,9 +2843,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2843
2843
  correctionId: string;
2844
2844
  replacementDecisionId: string;
2845
2845
  evidence?: {
2846
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2847
- label: string;
2848
2846
  id: string;
2847
+ label: string;
2848
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2849
2849
  capture: "at_action" | "historical_lookup" | "fixture";
2850
2850
  locator?: string | undefined;
2851
2851
  }[] | undefined;
@@ -2861,15 +2861,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2861
2861
  locator: z.ZodOptional<z.ZodString>;
2862
2862
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2863
2863
  }, "strict", z.ZodTypeAny, {
2864
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2865
- label: string;
2866
2864
  id: string;
2865
+ label: string;
2866
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2867
2867
  capture: "at_action" | "historical_lookup" | "fixture";
2868
2868
  locator?: string | undefined;
2869
2869
  }, {
2870
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2871
- label: string;
2872
2870
  id: string;
2871
+ label: string;
2872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
2873
  capture: "at_action" | "historical_lookup" | "fixture";
2874
2874
  locator?: string | undefined;
2875
2875
  }>, "many">>;
@@ -2882,9 +2882,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2882
2882
  agentId: string;
2883
2883
  sessionId: string;
2884
2884
  evidence: {
2885
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
- label: string;
2887
2885
  id: string;
2886
+ label: string;
2887
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2888
2888
  capture: "at_action" | "historical_lookup" | "fixture";
2889
2889
  locator?: string | undefined;
2890
2890
  }[];
@@ -2900,9 +2900,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2900
2900
  recallReceiptId: string;
2901
2901
  capturedAtAction: boolean;
2902
2902
  evidence?: {
2903
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2904
- label: string;
2905
2903
  id: string;
2904
+ label: string;
2905
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2906
2906
  capture: "at_action" | "historical_lookup" | "fixture";
2907
2907
  locator?: string | undefined;
2908
2908
  }[] | undefined;
@@ -2918,15 +2918,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2918
2918
  locator: z.ZodOptional<z.ZodString>;
2919
2919
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2920
2920
  }, "strict", z.ZodTypeAny, {
2921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2922
- label: string;
2923
2921
  id: string;
2922
+ label: string;
2923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2924
2924
  capture: "at_action" | "historical_lookup" | "fixture";
2925
2925
  locator?: string | undefined;
2926
2926
  }, {
2927
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2928
- label: string;
2929
2927
  id: string;
2928
+ label: string;
2929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2930
2930
  capture: "at_action" | "historical_lookup" | "fixture";
2931
2931
  locator?: string | undefined;
2932
2932
  }>, "many">>;
@@ -2938,9 +2938,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2938
2938
  agentId: string;
2939
2939
  sessionId: string;
2940
2940
  evidence: {
2941
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
- label: string;
2943
2941
  id: string;
2942
+ label: string;
2943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2944
2944
  capture: "at_action" | "historical_lookup" | "fixture";
2945
2945
  locator?: string | undefined;
2946
2946
  }[];
@@ -2957,9 +2957,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2957
2957
  recallReceiptId: string;
2958
2958
  staleDecisionAbsent: boolean;
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
  }[] | undefined;
@@ -2974,37 +2974,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2974
2974
  locator: z.ZodOptional<z.ZodString>;
2975
2975
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2976
2976
  }, "strict", z.ZodTypeAny, {
2977
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2978
- label: string;
2979
2977
  id: string;
2978
+ label: string;
2979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2980
2980
  capture: "at_action" | "historical_lookup" | "fixture";
2981
2981
  locator?: string | undefined;
2982
2982
  }, {
2983
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2984
- label: string;
2985
2983
  id: string;
2984
+ label: string;
2985
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2986
2986
  capture: "at_action" | "historical_lookup" | "fixture";
2987
2987
  locator?: string | undefined;
2988
2988
  }>, "many">>;
2989
2989
  }, "strict", z.ZodTypeAny, {
2990
- kind: "mission_completed";
2991
2990
  summary: string;
2991
+ kind: "mission_completed";
2992
2992
  outcome: "failed" | "recovered" | "inconclusive";
2993
2993
  evidence: {
2994
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2995
- label: string;
2996
2994
  id: string;
2995
+ label: string;
2996
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2997
2997
  capture: "at_action" | "historical_lookup" | "fixture";
2998
2998
  locator?: string | undefined;
2999
2999
  }[];
3000
3000
  }, {
3001
- kind: "mission_completed";
3002
3001
  summary: string;
3002
+ kind: "mission_completed";
3003
3003
  outcome: "failed" | "recovered" | "inconclusive";
3004
3004
  evidence?: {
3005
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
- label: string;
3007
3005
  id: string;
3006
+ label: string;
3007
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3008
3008
  capture: "at_action" | "historical_lookup" | "fixture";
3009
3009
  locator?: string | undefined;
3010
3010
  }[] | undefined;
@@ -3012,38 +3012,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3012
3012
  kind: "mission_started";
3013
3013
  title: string;
3014
3014
  evidence: {
3015
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
- label: string;
3017
3015
  id: string;
3016
+ label: string;
3017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3018
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3019
  locator?: string | undefined;
3020
3020
  }[];
3021
3021
  objective: string;
3022
3022
  runMode: "replay" | "fixture" | "live";
3023
3023
  } | {
3024
- kind: "agent_status";
3025
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3026
3024
  label: string;
3025
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3026
+ kind: "agent_status";
3027
3027
  role: string;
3028
3028
  agentId: string;
3029
3029
  sessionId: string;
3030
3030
  evidence: {
3031
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
- label: string;
3033
3031
  id: string;
3032
+ label: string;
3033
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
3034
  capture: "at_action" | "historical_lookup" | "fixture";
3035
3035
  locator?: string | undefined;
3036
3036
  }[];
3037
3037
  detail?: string | undefined;
3038
3038
  } | {
3039
- kind: "agent_output";
3040
3039
  summary: string;
3040
+ kind: "agent_output";
3041
3041
  agentId: string;
3042
3042
  sessionId: string;
3043
3043
  evidence: {
3044
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3045
- label: string;
3046
3044
  id: string;
3045
+ label: string;
3046
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3048
  locator?: string | undefined;
3049
3049
  }[];
@@ -3054,9 +3054,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3054
3054
  statement: string;
3055
3055
  sessionId: string;
3056
3056
  evidence: {
3057
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3058
- label: string;
3059
3057
  id: string;
3058
+ label: string;
3059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3060
3060
  capture: "at_action" | "historical_lookup" | "fixture";
3061
3061
  locator?: string | undefined;
3062
3062
  }[];
@@ -3064,12 +3064,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3064
3064
  decisionId: string;
3065
3065
  confidence?: number | undefined;
3066
3066
  } | {
3067
- kind: "conflict_detected";
3068
3067
  summary: string;
3068
+ kind: "conflict_detected";
3069
3069
  evidence: {
3070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
- label: string;
3072
3070
  id: string;
3071
+ label: string;
3072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3073
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3074
  locator?: string | undefined;
3075
3075
  }[];
@@ -3077,14 +3077,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3077
3077
  decisionIds: string[];
3078
3078
  agentIds: string[];
3079
3079
  } | {
3080
- kind: "test_result";
3081
3080
  summary: string;
3082
3081
  status: "error" | "failed" | "passed";
3082
+ kind: "test_result";
3083
3083
  command: string;
3084
3084
  evidence: {
3085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
- label: string;
3087
3085
  id: string;
3086
+ label: string;
3087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3089
3089
  locator?: string | undefined;
3090
3090
  }[];
@@ -3097,9 +3097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3097
3097
  statement: string;
3098
3098
  rationale: string;
3099
3099
  evidence: {
3100
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
- label: string;
3102
3100
  id: string;
3101
+ label: string;
3102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3104
3104
  locator?: string | undefined;
3105
3105
  }[];
@@ -3111,25 +3111,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3111
3111
  } | {
3112
3112
  kind: "correction_approved";
3113
3113
  evidence: {
3114
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3115
- label: string;
3116
3114
  id: string;
3115
+ label: string;
3116
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3117
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3118
3118
  locator?: string | undefined;
3119
3119
  }[];
3120
3120
  correctionId: string;
3121
3121
  approvedBy: {
3122
- kind: "agent" | "human";
3123
- label: string;
3124
3122
  id: string;
3123
+ label: string;
3124
+ kind: "agent" | "human";
3125
3125
  };
3126
3126
  note?: string | undefined;
3127
3127
  } | {
3128
3128
  kind: "decision_superseded";
3129
3129
  evidence: {
3130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
- label: string;
3132
3130
  id: string;
3131
+ label: string;
3132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
3133
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3134
  locator?: string | undefined;
3135
3135
  }[];
@@ -3142,9 +3142,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3142
3142
  agentId: string;
3143
3143
  sessionId: 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
  }[];
@@ -3156,9 +3156,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3156
3156
  agentId: string;
3157
3157
  sessionId: string;
3158
3158
  evidence: {
3159
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3160
- label: string;
3161
3159
  id: string;
3160
+ label: string;
3161
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
3162
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3163
  locator?: string | undefined;
3164
3164
  }[];
@@ -3167,13 +3167,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3167
3167
  recallReceiptId: string;
3168
3168
  staleDecisionAbsent: boolean;
3169
3169
  } | {
3170
- kind: "mission_completed";
3171
3170
  summary: string;
3171
+ kind: "mission_completed";
3172
3172
  outcome: "failed" | "recovered" | "inconclusive";
3173
3173
  evidence: {
3174
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
- label: string;
3176
3174
  id: string;
3175
+ label: string;
3176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3177
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3178
  locator?: string | undefined;
3179
3179
  }[];
@@ -3183,37 +3183,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3183
3183
  objective: string;
3184
3184
  runMode: "replay" | "fixture" | "live";
3185
3185
  evidence?: {
3186
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3187
- label: string;
3188
3186
  id: string;
3187
+ label: string;
3188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
3189
  capture: "at_action" | "historical_lookup" | "fixture";
3190
3190
  locator?: string | undefined;
3191
3191
  }[] | undefined;
3192
3192
  } | {
3193
- kind: "agent_status";
3194
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3195
3193
  label: string;
3194
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3195
+ kind: "agent_status";
3196
3196
  role: string;
3197
3197
  agentId: string;
3198
3198
  sessionId: string;
3199
3199
  detail?: string | undefined;
3200
3200
  evidence?: {
3201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
- label: string;
3203
3201
  id: string;
3202
+ label: string;
3203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3205
3205
  locator?: string | undefined;
3206
3206
  }[] | undefined;
3207
3207
  } | {
3208
- kind: "agent_output";
3209
3208
  summary: string;
3209
+ kind: "agent_output";
3210
3210
  agentId: string;
3211
3211
  sessionId: string;
3212
3212
  outputId: string;
3213
3213
  evidence?: {
3214
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
- label: string;
3216
3214
  id: string;
3215
+ label: string;
3216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
3217
  capture: "at_action" | "historical_lookup" | "fixture";
3218
3218
  locator?: string | undefined;
3219
3219
  }[] | undefined;
@@ -3226,37 +3226,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3226
3226
  decisionId: string;
3227
3227
  confidence?: number | undefined;
3228
3228
  evidence?: {
3229
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
- label: string;
3231
3229
  id: string;
3230
+ label: string;
3231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3232
3232
  capture: "at_action" | "historical_lookup" | "fixture";
3233
3233
  locator?: string | undefined;
3234
3234
  }[] | undefined;
3235
3235
  } | {
3236
- kind: "conflict_detected";
3237
3236
  summary: string;
3237
+ kind: "conflict_detected";
3238
3238
  conflictId: string;
3239
3239
  decisionIds: string[];
3240
3240
  agentIds: string[];
3241
3241
  evidence?: {
3242
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3243
- label: string;
3244
3242
  id: string;
3243
+ label: string;
3244
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3245
3245
  capture: "at_action" | "historical_lookup" | "fixture";
3246
3246
  locator?: string | undefined;
3247
3247
  }[] | undefined;
3248
3248
  } | {
3249
- kind: "test_result";
3250
3249
  summary: string;
3251
3250
  status: "error" | "failed" | "passed";
3251
+ kind: "test_result";
3252
3252
  command: string;
3253
3253
  decisionId: string;
3254
3254
  testId: string;
3255
3255
  durationMs?: number | undefined;
3256
3256
  evidence?: {
3257
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3258
- label: string;
3259
3257
  id: string;
3258
+ label: string;
3259
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3260
3260
  capture: "at_action" | "historical_lookup" | "fixture";
3261
3261
  locator?: string | undefined;
3262
3262
  }[] | undefined;
@@ -3271,9 +3271,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3271
3271
  supersedesDecisionIds: string[];
3272
3272
  proposedBy: 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
  }[] | undefined;
@@ -3281,15 +3281,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3281
3281
  kind: "correction_approved";
3282
3282
  correctionId: string;
3283
3283
  approvedBy: {
3284
- kind: "agent" | "human";
3285
- label: string;
3286
3284
  id: string;
3285
+ label: string;
3286
+ kind: "agent" | "human";
3287
3287
  };
3288
3288
  note?: string | undefined;
3289
3289
  evidence?: {
3290
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
- label: string;
3292
3290
  id: string;
3291
+ label: string;
3292
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3294
  locator?: string | undefined;
3295
3295
  }[] | undefined;
@@ -3299,9 +3299,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3299
3299
  correctionId: string;
3300
3300
  replacementDecisionId: string;
3301
3301
  evidence?: {
3302
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
- label: string;
3304
3302
  id: string;
3303
+ label: string;
3304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3305
3305
  capture: "at_action" | "historical_lookup" | "fixture";
3306
3306
  locator?: string | undefined;
3307
3307
  }[] | undefined;
@@ -3314,9 +3314,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3314
3314
  recallReceiptId: string;
3315
3315
  capturedAtAction: boolean;
3316
3316
  evidence?: {
3317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3318
- label: string;
3319
3317
  id: string;
3318
+ label: string;
3319
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3320
3320
  capture: "at_action" | "historical_lookup" | "fixture";
3321
3321
  locator?: string | undefined;
3322
3322
  }[] | undefined;
@@ -3329,20 +3329,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3329
3329
  recallReceiptId: string;
3330
3330
  staleDecisionAbsent: boolean;
3331
3331
  evidence?: {
3332
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
- label: string;
3334
3332
  id: string;
3333
+ label: string;
3334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3335
3335
  capture: "at_action" | "historical_lookup" | "fixture";
3336
3336
  locator?: string | undefined;
3337
3337
  }[] | undefined;
3338
3338
  } | {
3339
- kind: "mission_completed";
3340
3339
  summary: string;
3340
+ kind: "mission_completed";
3341
3341
  outcome: "failed" | "recovered" | "inconclusive";
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
  }[] | undefined;
@@ -3352,38 +3352,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3352
3352
  kind: "mission_started";
3353
3353
  title: string;
3354
3354
  evidence: {
3355
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
- label: string;
3357
3355
  id: string;
3356
+ label: string;
3357
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
3358
  capture: "at_action" | "historical_lookup" | "fixture";
3359
3359
  locator?: string | undefined;
3360
3360
  }[];
3361
3361
  objective: string;
3362
3362
  runMode: "replay" | "fixture" | "live";
3363
3363
  } | {
3364
- kind: "agent_status";
3365
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3366
3364
  label: string;
3365
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3366
+ kind: "agent_status";
3367
3367
  role: string;
3368
3368
  agentId: string;
3369
3369
  sessionId: string;
3370
3370
  evidence: {
3371
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
- label: string;
3373
3371
  id: string;
3372
+ label: string;
3373
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
3374
  capture: "at_action" | "historical_lookup" | "fixture";
3375
3375
  locator?: string | undefined;
3376
3376
  }[];
3377
3377
  detail?: string | undefined;
3378
3378
  } | {
3379
- kind: "agent_output";
3380
3379
  summary: string;
3380
+ kind: "agent_output";
3381
3381
  agentId: string;
3382
3382
  sessionId: string;
3383
3383
  evidence: {
3384
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3385
- label: string;
3386
3384
  id: string;
3385
+ label: string;
3386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3388
  locator?: string | undefined;
3389
3389
  }[];
@@ -3394,9 +3394,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3394
3394
  statement: string;
3395
3395
  sessionId: string;
3396
3396
  evidence: {
3397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3398
- label: string;
3399
3397
  id: string;
3398
+ label: string;
3399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3400
  capture: "at_action" | "historical_lookup" | "fixture";
3401
3401
  locator?: string | undefined;
3402
3402
  }[];
@@ -3404,12 +3404,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3404
3404
  decisionId: string;
3405
3405
  confidence?: number | undefined;
3406
3406
  } | {
3407
- kind: "conflict_detected";
3408
3407
  summary: string;
3408
+ kind: "conflict_detected";
3409
3409
  evidence: {
3410
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3411
- label: string;
3412
3410
  id: string;
3411
+ label: string;
3412
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3413
3413
  capture: "at_action" | "historical_lookup" | "fixture";
3414
3414
  locator?: string | undefined;
3415
3415
  }[];
@@ -3417,14 +3417,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3417
3417
  decisionIds: string[];
3418
3418
  agentIds: string[];
3419
3419
  } | {
3420
- kind: "test_result";
3421
3420
  summary: string;
3422
3421
  status: "error" | "failed" | "passed";
3422
+ kind: "test_result";
3423
3423
  command: string;
3424
3424
  evidence: {
3425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3426
- label: string;
3427
3425
  id: string;
3426
+ label: string;
3427
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
3428
  capture: "at_action" | "historical_lookup" | "fixture";
3429
3429
  locator?: string | undefined;
3430
3430
  }[];
@@ -3437,9 +3437,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3437
3437
  statement: string;
3438
3438
  rationale: string;
3439
3439
  evidence: {
3440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
- label: string;
3442
3440
  id: string;
3441
+ label: string;
3442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3443
  capture: "at_action" | "historical_lookup" | "fixture";
3444
3444
  locator?: string | undefined;
3445
3445
  }[];
@@ -3451,25 +3451,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3451
3451
  } | {
3452
3452
  kind: "correction_approved";
3453
3453
  evidence: {
3454
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3455
- label: string;
3456
3454
  id: string;
3455
+ label: string;
3456
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3457
3457
  capture: "at_action" | "historical_lookup" | "fixture";
3458
3458
  locator?: string | undefined;
3459
3459
  }[];
3460
3460
  correctionId: string;
3461
3461
  approvedBy: {
3462
- kind: "agent" | "human";
3463
- label: string;
3464
3462
  id: string;
3463
+ label: string;
3464
+ kind: "agent" | "human";
3465
3465
  };
3466
3466
  note?: string | undefined;
3467
3467
  } | {
3468
3468
  kind: "decision_superseded";
3469
3469
  evidence: {
3470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
- label: string;
3472
3470
  id: string;
3471
+ label: string;
3472
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3474
  locator?: string | undefined;
3475
3475
  }[];
@@ -3482,9 +3482,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3482
3482
  agentId: string;
3483
3483
  sessionId: string;
3484
3484
  evidence: {
3485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3486
- label: string;
3487
3485
  id: string;
3486
+ label: string;
3487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
3488
  capture: "at_action" | "historical_lookup" | "fixture";
3489
3489
  locator?: string | undefined;
3490
3490
  }[];
@@ -3496,9 +3496,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3496
3496
  agentId: string;
3497
3497
  sessionId: string;
3498
3498
  evidence: {
3499
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
- label: string;
3501
3499
  id: string;
3500
+ label: string;
3501
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3502
3502
  capture: "at_action" | "historical_lookup" | "fixture";
3503
3503
  locator?: string | undefined;
3504
3504
  }[];
@@ -3507,13 +3507,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3507
3507
  recallReceiptId: string;
3508
3508
  staleDecisionAbsent: boolean;
3509
3509
  } | {
3510
- kind: "mission_completed";
3511
3510
  summary: string;
3511
+ kind: "mission_completed";
3512
3512
  outcome: "failed" | "recovered" | "inconclusive";
3513
3513
  evidence: {
3514
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3515
- label: string;
3516
3514
  id: string;
3515
+ label: string;
3516
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3517
3517
  capture: "at_action" | "historical_lookup" | "fixture";
3518
3518
  locator?: string | undefined;
3519
3519
  }[];
@@ -3527,37 +3527,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3527
3527
  objective: string;
3528
3528
  runMode: "replay" | "fixture" | "live";
3529
3529
  evidence?: {
3530
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
- label: string;
3532
3530
  id: string;
3531
+ label: string;
3532
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
3533
  capture: "at_action" | "historical_lookup" | "fixture";
3534
3534
  locator?: string | undefined;
3535
3535
  }[] | undefined;
3536
3536
  } | {
3537
- kind: "agent_status";
3538
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3539
3537
  label: string;
3538
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3539
+ kind: "agent_status";
3540
3540
  role: string;
3541
3541
  agentId: string;
3542
3542
  sessionId: string;
3543
3543
  detail?: string | undefined;
3544
3544
  evidence?: {
3545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3546
- label: string;
3547
3545
  id: string;
3546
+ label: string;
3547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3549
3549
  locator?: string | undefined;
3550
3550
  }[] | undefined;
3551
3551
  } | {
3552
- kind: "agent_output";
3553
3552
  summary: string;
3553
+ kind: "agent_output";
3554
3554
  agentId: string;
3555
3555
  sessionId: string;
3556
3556
  outputId: string;
3557
3557
  evidence?: {
3558
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
- label: string;
3560
3558
  id: string;
3559
+ label: string;
3560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3561
3561
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3562
  locator?: string | undefined;
3563
3563
  }[] | undefined;
@@ -3570,37 +3570,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3570
3570
  decisionId: string;
3571
3571
  confidence?: number | undefined;
3572
3572
  evidence?: {
3573
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
- label: string;
3575
3573
  id: string;
3574
+ label: string;
3575
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3576
3576
  capture: "at_action" | "historical_lookup" | "fixture";
3577
3577
  locator?: string | undefined;
3578
3578
  }[] | undefined;
3579
3579
  } | {
3580
- kind: "conflict_detected";
3581
3580
  summary: string;
3581
+ kind: "conflict_detected";
3582
3582
  conflictId: string;
3583
3583
  decisionIds: string[];
3584
3584
  agentIds: string[];
3585
3585
  evidence?: {
3586
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3587
- label: string;
3588
3586
  id: string;
3587
+ label: string;
3588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3589
3589
  capture: "at_action" | "historical_lookup" | "fixture";
3590
3590
  locator?: string | undefined;
3591
3591
  }[] | undefined;
3592
3592
  } | {
3593
- kind: "test_result";
3594
3593
  summary: string;
3595
3594
  status: "error" | "failed" | "passed";
3595
+ kind: "test_result";
3596
3596
  command: string;
3597
3597
  decisionId: string;
3598
3598
  testId: string;
3599
3599
  durationMs?: number | undefined;
3600
3600
  evidence?: {
3601
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3602
- label: string;
3603
3601
  id: string;
3602
+ label: string;
3603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3604
  capture: "at_action" | "historical_lookup" | "fixture";
3605
3605
  locator?: string | undefined;
3606
3606
  }[] | undefined;
@@ -3615,9 +3615,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3615
3615
  supersedesDecisionIds: string[];
3616
3616
  proposedBy: string;
3617
3617
  evidence?: {
3618
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3619
- label: string;
3620
3618
  id: string;
3619
+ label: string;
3620
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
3621
  capture: "at_action" | "historical_lookup" | "fixture";
3622
3622
  locator?: string | undefined;
3623
3623
  }[] | undefined;
@@ -3625,15 +3625,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3625
3625
  kind: "correction_approved";
3626
3626
  correctionId: string;
3627
3627
  approvedBy: {
3628
- kind: "agent" | "human";
3629
- label: string;
3630
3628
  id: string;
3629
+ label: string;
3630
+ kind: "agent" | "human";
3631
3631
  };
3632
3632
  note?: string | undefined;
3633
3633
  evidence?: {
3634
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3635
- label: string;
3636
3634
  id: string;
3635
+ label: string;
3636
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3637
3637
  capture: "at_action" | "historical_lookup" | "fixture";
3638
3638
  locator?: string | undefined;
3639
3639
  }[] | undefined;
@@ -3643,9 +3643,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3643
3643
  correctionId: string;
3644
3644
  replacementDecisionId: string;
3645
3645
  evidence?: {
3646
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
- label: string;
3648
3646
  id: string;
3647
+ label: string;
3648
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3649
3649
  capture: "at_action" | "historical_lookup" | "fixture";
3650
3650
  locator?: string | undefined;
3651
3651
  }[] | undefined;
@@ -3658,9 +3658,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3658
3658
  recallReceiptId: string;
3659
3659
  capturedAtAction: boolean;
3660
3660
  evidence?: {
3661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
- label: string;
3663
3661
  id: string;
3662
+ label: string;
3663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
3664
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3665
  locator?: string | undefined;
3666
3666
  }[] | undefined;
@@ -3673,20 +3673,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3673
3673
  recallReceiptId: string;
3674
3674
  staleDecisionAbsent: boolean;
3675
3675
  evidence?: {
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
  }[] | undefined;
3682
3682
  } | {
3683
- kind: "mission_completed";
3684
3683
  summary: string;
3684
+ kind: "mission_completed";
3685
3685
  outcome: "failed" | "recovered" | "inconclusive";
3686
3686
  evidence?: {
3687
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
- label: string;
3689
3687
  id: string;
3688
+ label: string;
3689
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3690
3690
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3691
  locator?: string | undefined;
3692
3692
  }[] | undefined;
@@ -3716,15 +3716,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3716
  locator: z.ZodOptional<z.ZodString>;
3717
3717
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3718
3718
  }, "strict", z.ZodTypeAny, {
3719
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
- label: string;
3721
3719
  id: string;
3720
+ label: string;
3721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3722
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3723
  locator?: string | undefined;
3724
3724
  }, {
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
  }>, "many">>;
@@ -3732,9 +3732,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3732
3732
  kind: "mission_started";
3733
3733
  title: string;
3734
3734
  evidence: {
3735
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
- label: string;
3737
3735
  id: string;
3736
+ label: string;
3737
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
3738
  capture: "at_action" | "historical_lookup" | "fixture";
3739
3739
  locator?: string | undefined;
3740
3740
  }[];
@@ -3746,9 +3746,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3746
3746
  objective: string;
3747
3747
  runMode: "replay" | "fixture" | "live";
3748
3748
  evidence?: {
3749
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
- label: string;
3751
3749
  id: string;
3750
+ label: string;
3751
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3752
3752
  capture: "at_action" | "historical_lookup" | "fixture";
3753
3753
  locator?: string | undefined;
3754
3754
  }[] | undefined;
@@ -3764,15 +3764,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3764
3764
  locator: z.ZodOptional<z.ZodString>;
3765
3765
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3766
3766
  }, "strict", z.ZodTypeAny, {
3767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
- label: string;
3769
3767
  id: string;
3768
+ label: string;
3769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
3770
  capture: "at_action" | "historical_lookup" | "fixture";
3771
3771
  locator?: string | undefined;
3772
3772
  }, {
3773
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3774
- label: string;
3775
3773
  id: string;
3774
+ label: string;
3775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3776
3776
  capture: "at_action" | "historical_lookup" | "fixture";
3777
3777
  locator?: string | undefined;
3778
3778
  }>, "many">>;
@@ -3780,32 +3780,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3780
3780
  sessionId: z.ZodString;
3781
3781
  kind: z.ZodLiteral<"agent_status">;
3782
3782
  }, "strict", z.ZodTypeAny, {
3783
- kind: "agent_status";
3784
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3785
3783
  label: string;
3784
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3785
+ kind: "agent_status";
3786
3786
  role: string;
3787
3787
  agentId: string;
3788
3788
  sessionId: string;
3789
3789
  evidence: {
3790
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3791
- label: string;
3792
3790
  id: string;
3791
+ label: string;
3792
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3793
3793
  capture: "at_action" | "historical_lookup" | "fixture";
3794
3794
  locator?: string | undefined;
3795
3795
  }[];
3796
3796
  detail?: string | undefined;
3797
3797
  }, {
3798
- kind: "agent_status";
3799
- status: "failed" | "complete" | "blocked" | "idle" | "working";
3800
3798
  label: string;
3799
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3800
+ kind: "agent_status";
3801
3801
  role: string;
3802
3802
  agentId: string;
3803
3803
  sessionId: string;
3804
3804
  detail?: string | undefined;
3805
3805
  evidence?: {
3806
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3807
- label: string;
3808
3806
  id: string;
3807
+ label: string;
3808
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3809
3809
  capture: "at_action" | "historical_lookup" | "fixture";
3810
3810
  locator?: string | undefined;
3811
3811
  }[] | undefined;
@@ -3819,15 +3819,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3819
3819
  locator: z.ZodOptional<z.ZodString>;
3820
3820
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3821
3821
  }, "strict", z.ZodTypeAny, {
3822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3823
- label: string;
3824
3822
  id: string;
3823
+ label: string;
3824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3825
3825
  capture: "at_action" | "historical_lookup" | "fixture";
3826
3826
  locator?: string | undefined;
3827
3827
  }, {
3828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3829
- label: string;
3830
3828
  id: string;
3829
+ label: string;
3830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3831
  capture: "at_action" | "historical_lookup" | "fixture";
3832
3832
  locator?: string | undefined;
3833
3833
  }>, "many">>;
@@ -3835,28 +3835,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3835
3835
  sessionId: z.ZodString;
3836
3836
  kind: z.ZodLiteral<"agent_output">;
3837
3837
  }, "strict", z.ZodTypeAny, {
3838
- kind: "agent_output";
3839
3838
  summary: string;
3839
+ kind: "agent_output";
3840
3840
  agentId: string;
3841
3841
  sessionId: string;
3842
3842
  evidence: {
3843
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
- label: string;
3845
3843
  id: string;
3844
+ label: string;
3845
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3846
3846
  capture: "at_action" | "historical_lookup" | "fixture";
3847
3847
  locator?: string | undefined;
3848
3848
  }[];
3849
3849
  outputId: string;
3850
3850
  }, {
3851
- kind: "agent_output";
3852
3851
  summary: string;
3852
+ kind: "agent_output";
3853
3853
  agentId: string;
3854
3854
  sessionId: string;
3855
3855
  outputId: string;
3856
3856
  evidence?: {
3857
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
- label: string;
3859
3857
  id: string;
3858
+ label: string;
3859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3860
3860
  capture: "at_action" | "historical_lookup" | "fixture";
3861
3861
  locator?: string | undefined;
3862
3862
  }[] | undefined;
@@ -3872,15 +3872,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3872
3872
  locator: z.ZodOptional<z.ZodString>;
3873
3873
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3874
3874
  }, "strict", z.ZodTypeAny, {
3875
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3876
- label: string;
3877
3875
  id: string;
3876
+ label: string;
3877
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3878
3878
  capture: "at_action" | "historical_lookup" | "fixture";
3879
3879
  locator?: string | undefined;
3880
3880
  }, {
3881
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3882
- label: string;
3883
3881
  id: string;
3882
+ label: string;
3883
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3884
3884
  capture: "at_action" | "historical_lookup" | "fixture";
3885
3885
  locator?: string | undefined;
3886
3886
  }>, "many">>;
@@ -3893,9 +3893,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3893
3893
  statement: string;
3894
3894
  sessionId: string;
3895
3895
  evidence: {
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
  }[];
@@ -3911,9 +3911,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3911
3911
  decisionId: string;
3912
3912
  confidence?: number | undefined;
3913
3913
  evidence?: {
3914
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
- label: string;
3916
3914
  id: string;
3915
+ label: string;
3916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3917
3917
  capture: "at_action" | "historical_lookup" | "fixture";
3918
3918
  locator?: string | undefined;
3919
3919
  }[] | undefined;
@@ -3930,25 +3930,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3930
3930
  locator: z.ZodOptional<z.ZodString>;
3931
3931
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3932
3932
  }, "strict", z.ZodTypeAny, {
3933
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
- label: string;
3935
3933
  id: string;
3934
+ label: string;
3935
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3936
3936
  capture: "at_action" | "historical_lookup" | "fixture";
3937
3937
  locator?: string | undefined;
3938
3938
  }, {
3939
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
- label: string;
3941
3939
  id: string;
3940
+ label: string;
3941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3942
3942
  capture: "at_action" | "historical_lookup" | "fixture";
3943
3943
  locator?: string | undefined;
3944
3944
  }>, "many">>;
3945
3945
  }, "strict", z.ZodTypeAny, {
3946
- kind: "conflict_detected";
3947
3946
  summary: string;
3947
+ kind: "conflict_detected";
3948
3948
  evidence: {
3949
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3950
- label: string;
3951
3949
  id: string;
3950
+ label: string;
3951
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
3952
  capture: "at_action" | "historical_lookup" | "fixture";
3953
3953
  locator?: string | undefined;
3954
3954
  }[];
@@ -3956,15 +3956,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3956
3956
  decisionIds: string[];
3957
3957
  agentIds: string[];
3958
3958
  }, {
3959
- kind: "conflict_detected";
3960
3959
  summary: string;
3960
+ kind: "conflict_detected";
3961
3961
  conflictId: string;
3962
3962
  decisionIds: string[];
3963
3963
  agentIds: string[];
3964
3964
  evidence?: {
3965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
- label: string;
3967
3965
  id: string;
3966
+ label: string;
3967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3968
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3969
  locator?: string | undefined;
3970
3970
  }[] | undefined;
@@ -3984,27 +3984,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3984
3984
  locator: z.ZodOptional<z.ZodString>;
3985
3985
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3986
3986
  }, "strict", z.ZodTypeAny, {
3987
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3988
- label: string;
3989
3987
  id: string;
3988
+ label: string;
3989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
3990
  capture: "at_action" | "historical_lookup" | "fixture";
3991
3991
  locator?: string | undefined;
3992
3992
  }, {
3993
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3994
- label: string;
3995
3993
  id: string;
3994
+ label: string;
3995
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3996
3996
  capture: "at_action" | "historical_lookup" | "fixture";
3997
3997
  locator?: string | undefined;
3998
3998
  }>, "many">>;
3999
3999
  }, "strict", z.ZodTypeAny, {
4000
- kind: "test_result";
4001
4000
  summary: string;
4002
4001
  status: "error" | "failed" | "passed";
4002
+ kind: "test_result";
4003
4003
  command: string;
4004
4004
  evidence: {
4005
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
- label: string;
4007
4005
  id: string;
4006
+ label: string;
4007
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4008
4008
  capture: "at_action" | "historical_lookup" | "fixture";
4009
4009
  locator?: string | undefined;
4010
4010
  }[];
@@ -4013,17 +4013,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4013
4013
  durationMs?: number | undefined;
4014
4014
  correctionId?: string | undefined;
4015
4015
  }, {
4016
- kind: "test_result";
4017
4016
  summary: string;
4018
4017
  status: "error" | "failed" | "passed";
4018
+ kind: "test_result";
4019
4019
  command: string;
4020
4020
  decisionId: string;
4021
4021
  testId: string;
4022
4022
  durationMs?: number | undefined;
4023
4023
  evidence?: {
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
  }[] | undefined;
@@ -4044,15 +4044,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4044
4044
  locator: z.ZodOptional<z.ZodString>;
4045
4045
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4046
4046
  }, "strict", z.ZodTypeAny, {
4047
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4048
- label: string;
4049
4047
  id: string;
4048
+ label: string;
4049
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4050
4050
  capture: "at_action" | "historical_lookup" | "fixture";
4051
4051
  locator?: string | undefined;
4052
4052
  }, {
4053
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4054
- label: string;
4055
4053
  id: string;
4054
+ label: string;
4055
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4056
4056
  capture: "at_action" | "historical_lookup" | "fixture";
4057
4057
  locator?: string | undefined;
4058
4058
  }>, "many">>;
@@ -4061,9 +4061,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4061
4061
  statement: string;
4062
4062
  rationale: string;
4063
4063
  evidence: {
4064
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4065
- label: string;
4066
4064
  id: string;
4065
+ label: string;
4066
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4067
4067
  capture: "at_action" | "historical_lookup" | "fixture";
4068
4068
  locator?: string | undefined;
4069
4069
  }[];
@@ -4082,9 +4082,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4082
4082
  supersedesDecisionIds: string[];
4083
4083
  proposedBy: string;
4084
4084
  evidence?: {
4085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
- label: string;
4087
4085
  id: string;
4086
+ label: string;
4087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4088
  capture: "at_action" | "historical_lookup" | "fixture";
4089
4089
  locator?: string | undefined;
4090
4090
  }[] | undefined;
@@ -4096,13 +4096,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4096
4096
  id: z.ZodString;
4097
4097
  label: z.ZodString;
4098
4098
  }, "strict", z.ZodTypeAny, {
4099
- kind: "agent" | "human";
4100
- label: string;
4101
4099
  id: string;
4102
- }, {
4103
- kind: "agent" | "human";
4104
4100
  label: string;
4101
+ kind: "agent" | "human";
4102
+ }, {
4105
4103
  id: string;
4104
+ label: string;
4105
+ kind: "agent" | "human";
4106
4106
  }>;
4107
4107
  note: z.ZodOptional<z.ZodString>;
4108
4108
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4112,47 +4112,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4112
4112
  locator: z.ZodOptional<z.ZodString>;
4113
4113
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4114
4114
  }, "strict", z.ZodTypeAny, {
4115
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4116
- label: string;
4117
4115
  id: string;
4116
+ label: string;
4117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4119
4119
  locator?: string | undefined;
4120
4120
  }, {
4121
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4122
- label: string;
4123
4121
  id: string;
4122
+ label: string;
4123
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4124
4124
  capture: "at_action" | "historical_lookup" | "fixture";
4125
4125
  locator?: string | undefined;
4126
4126
  }>, "many">>;
4127
4127
  }, "strict", z.ZodTypeAny, {
4128
4128
  kind: "correction_approved";
4129
4129
  evidence: {
4130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
- label: string;
4132
4130
  id: string;
4131
+ label: string;
4132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
4133
  capture: "at_action" | "historical_lookup" | "fixture";
4134
4134
  locator?: string | undefined;
4135
4135
  }[];
4136
4136
  correctionId: string;
4137
4137
  approvedBy: {
4138
- kind: "agent" | "human";
4139
- label: string;
4140
4138
  id: string;
4139
+ label: string;
4140
+ kind: "agent" | "human";
4141
4141
  };
4142
4142
  note?: string | undefined;
4143
4143
  }, {
4144
4144
  kind: "correction_approved";
4145
4145
  correctionId: string;
4146
4146
  approvedBy: {
4147
- kind: "agent" | "human";
4148
- label: string;
4149
4147
  id: string;
4148
+ label: string;
4149
+ kind: "agent" | "human";
4150
4150
  };
4151
4151
  note?: string | undefined;
4152
4152
  evidence?: {
4153
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4154
- label: string;
4155
4153
  id: string;
4154
+ label: string;
4155
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4156
  capture: "at_action" | "historical_lookup" | "fixture";
4157
4157
  locator?: string | undefined;
4158
4158
  }[] | undefined;
@@ -4168,24 +4168,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4168
4168
  locator: z.ZodOptional<z.ZodString>;
4169
4169
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4170
4170
  }, "strict", z.ZodTypeAny, {
4171
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
- label: string;
4173
4171
  id: string;
4172
+ label: string;
4173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4175
4175
  locator?: string | undefined;
4176
4176
  }, {
4177
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
- label: string;
4179
4177
  id: string;
4178
+ label: string;
4179
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4180
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4181
  locator?: string | undefined;
4182
4182
  }>, "many">>;
4183
4183
  }, "strict", z.ZodTypeAny, {
4184
4184
  kind: "decision_superseded";
4185
4185
  evidence: {
4186
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4187
- label: string;
4188
4186
  id: string;
4187
+ label: string;
4188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
4189
  capture: "at_action" | "historical_lookup" | "fixture";
4190
4190
  locator?: string | undefined;
4191
4191
  }[];
@@ -4198,9 +4198,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4198
4198
  correctionId: string;
4199
4199
  replacementDecisionId: string;
4200
4200
  evidence?: {
4201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4202
- label: string;
4203
4201
  id: string;
4202
+ label: string;
4203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4204
4204
  capture: "at_action" | "historical_lookup" | "fixture";
4205
4205
  locator?: string | undefined;
4206
4206
  }[] | undefined;
@@ -4216,15 +4216,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4216
4216
  locator: z.ZodOptional<z.ZodString>;
4217
4217
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4218
4218
  }, "strict", z.ZodTypeAny, {
4219
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4220
- label: string;
4221
4219
  id: string;
4220
+ label: string;
4221
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4222
4222
  capture: "at_action" | "historical_lookup" | "fixture";
4223
4223
  locator?: string | undefined;
4224
4224
  }, {
4225
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4226
- label: string;
4227
4225
  id: string;
4226
+ label: string;
4227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
4228
  capture: "at_action" | "historical_lookup" | "fixture";
4229
4229
  locator?: string | undefined;
4230
4230
  }>, "many">>;
@@ -4237,9 +4237,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4237
4237
  agentId: string;
4238
4238
  sessionId: string;
4239
4239
  evidence: {
4240
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
- label: string;
4242
4240
  id: string;
4241
+ label: string;
4242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4243
4243
  capture: "at_action" | "historical_lookup" | "fixture";
4244
4244
  locator?: string | undefined;
4245
4245
  }[];
@@ -4255,9 +4255,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4255
4255
  recallReceiptId: string;
4256
4256
  capturedAtAction: boolean;
4257
4257
  evidence?: {
4258
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4259
- label: string;
4260
4258
  id: string;
4259
+ label: string;
4260
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4261
4261
  capture: "at_action" | "historical_lookup" | "fixture";
4262
4262
  locator?: string | undefined;
4263
4263
  }[] | undefined;
@@ -4273,15 +4273,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4273
4273
  locator: z.ZodOptional<z.ZodString>;
4274
4274
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4275
4275
  }, "strict", z.ZodTypeAny, {
4276
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4277
- label: string;
4278
4276
  id: string;
4277
+ label: string;
4278
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
4279
  capture: "at_action" | "historical_lookup" | "fixture";
4280
4280
  locator?: string | undefined;
4281
4281
  }, {
4282
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4283
- label: string;
4284
4282
  id: string;
4283
+ label: string;
4284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
4285
  capture: "at_action" | "historical_lookup" | "fixture";
4286
4286
  locator?: string | undefined;
4287
4287
  }>, "many">>;
@@ -4293,9 +4293,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4293
4293
  agentId: string;
4294
4294
  sessionId: string;
4295
4295
  evidence: {
4296
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
- label: string;
4298
4296
  id: string;
4297
+ label: string;
4298
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4299
4299
  capture: "at_action" | "historical_lookup" | "fixture";
4300
4300
  locator?: string | undefined;
4301
4301
  }[];
@@ -4312,9 +4312,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4312
  recallReceiptId: string;
4313
4313
  staleDecisionAbsent: boolean;
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
  }[] | undefined;
@@ -4329,37 +4329,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4329
4329
  locator: z.ZodOptional<z.ZodString>;
4330
4330
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4331
4331
  }, "strict", z.ZodTypeAny, {
4332
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4333
- label: string;
4334
4332
  id: string;
4333
+ label: string;
4334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4335
4335
  capture: "at_action" | "historical_lookup" | "fixture";
4336
4336
  locator?: string | undefined;
4337
4337
  }, {
4338
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4339
- label: string;
4340
4338
  id: string;
4339
+ label: string;
4340
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4341
4341
  capture: "at_action" | "historical_lookup" | "fixture";
4342
4342
  locator?: string | undefined;
4343
4343
  }>, "many">>;
4344
4344
  }, "strict", z.ZodTypeAny, {
4345
- kind: "mission_completed";
4346
4345
  summary: string;
4346
+ kind: "mission_completed";
4347
4347
  outcome: "failed" | "recovered" | "inconclusive";
4348
4348
  evidence: {
4349
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4350
- label: string;
4351
4349
  id: string;
4350
+ label: string;
4351
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4352
4352
  capture: "at_action" | "historical_lookup" | "fixture";
4353
4353
  locator?: string | undefined;
4354
4354
  }[];
4355
4355
  }, {
4356
- kind: "mission_completed";
4357
4356
  summary: string;
4357
+ kind: "mission_completed";
4358
4358
  outcome: "failed" | "recovered" | "inconclusive";
4359
4359
  evidence?: {
4360
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
- label: string;
4362
4360
  id: string;
4361
+ label: string;
4362
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4363
4363
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4364
  locator?: string | undefined;
4365
4365
  }[] | undefined;
@@ -4367,38 +4367,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4367
  kind: "mission_started";
4368
4368
  title: string;
4369
4369
  evidence: {
4370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
- label: string;
4372
4370
  id: string;
4371
+ label: string;
4372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4374
  locator?: string | undefined;
4375
4375
  }[];
4376
4376
  objective: string;
4377
4377
  runMode: "replay" | "fixture" | "live";
4378
4378
  } | {
4379
- kind: "agent_status";
4380
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4381
4379
  label: string;
4380
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4381
+ kind: "agent_status";
4382
4382
  role: string;
4383
4383
  agentId: string;
4384
4384
  sessionId: string;
4385
4385
  evidence: {
4386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
- label: string;
4388
4386
  id: string;
4387
+ label: string;
4388
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4390
  locator?: string | undefined;
4391
4391
  }[];
4392
4392
  detail?: string | undefined;
4393
4393
  } | {
4394
- kind: "agent_output";
4395
4394
  summary: string;
4395
+ kind: "agent_output";
4396
4396
  agentId: string;
4397
4397
  sessionId: string;
4398
4398
  evidence: {
4399
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4400
- label: string;
4401
4399
  id: string;
4400
+ label: string;
4401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4403
4403
  locator?: string | undefined;
4404
4404
  }[];
@@ -4409,9 +4409,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4409
4409
  statement: string;
4410
4410
  sessionId: string;
4411
4411
  evidence: {
4412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
- label: string;
4414
4412
  id: string;
4413
+ label: string;
4414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4415
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4416
  locator?: string | undefined;
4417
4417
  }[];
@@ -4419,12 +4419,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4419
  decisionId: string;
4420
4420
  confidence?: number | undefined;
4421
4421
  } | {
4422
- kind: "conflict_detected";
4423
4422
  summary: string;
4423
+ kind: "conflict_detected";
4424
4424
  evidence: {
4425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4426
- label: string;
4427
4425
  id: string;
4426
+ label: string;
4427
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
4428
  capture: "at_action" | "historical_lookup" | "fixture";
4429
4429
  locator?: string | undefined;
4430
4430
  }[];
@@ -4432,14 +4432,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4432
4432
  decisionIds: string[];
4433
4433
  agentIds: string[];
4434
4434
  } | {
4435
- kind: "test_result";
4436
4435
  summary: string;
4437
4436
  status: "error" | "failed" | "passed";
4437
+ kind: "test_result";
4438
4438
  command: string;
4439
4439
  evidence: {
4440
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4441
- label: string;
4442
4440
  id: string;
4441
+ label: string;
4442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
4443
  capture: "at_action" | "historical_lookup" | "fixture";
4444
4444
  locator?: string | undefined;
4445
4445
  }[];
@@ -4452,9 +4452,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4452
4452
  statement: string;
4453
4453
  rationale: string;
4454
4454
  evidence: {
4455
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4456
- label: string;
4457
4455
  id: string;
4456
+ label: string;
4457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
4458
  capture: "at_action" | "historical_lookup" | "fixture";
4459
4459
  locator?: string | undefined;
4460
4460
  }[];
@@ -4466,25 +4466,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4466
4466
  } | {
4467
4467
  kind: "correction_approved";
4468
4468
  evidence: {
4469
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4470
- label: string;
4471
4469
  id: string;
4470
+ label: string;
4471
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4472
4472
  capture: "at_action" | "historical_lookup" | "fixture";
4473
4473
  locator?: string | undefined;
4474
4474
  }[];
4475
4475
  correctionId: string;
4476
4476
  approvedBy: {
4477
- kind: "agent" | "human";
4478
- label: string;
4479
4477
  id: string;
4478
+ label: string;
4479
+ kind: "agent" | "human";
4480
4480
  };
4481
4481
  note?: string | undefined;
4482
4482
  } | {
4483
4483
  kind: "decision_superseded";
4484
4484
  evidence: {
4485
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4486
- label: string;
4487
4485
  id: string;
4486
+ label: string;
4487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4488
  capture: "at_action" | "historical_lookup" | "fixture";
4489
4489
  locator?: string | undefined;
4490
4490
  }[];
@@ -4497,9 +4497,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4497
4497
  agentId: string;
4498
4498
  sessionId: 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
  }[];
@@ -4511,9 +4511,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4511
4511
  agentId: string;
4512
4512
  sessionId: string;
4513
4513
  evidence: {
4514
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4515
- label: string;
4516
4514
  id: string;
4515
+ label: string;
4516
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4517
4517
  capture: "at_action" | "historical_lookup" | "fixture";
4518
4518
  locator?: string | undefined;
4519
4519
  }[];
@@ -4522,13 +4522,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4522
4522
  recallReceiptId: string;
4523
4523
  staleDecisionAbsent: boolean;
4524
4524
  } | {
4525
- kind: "mission_completed";
4526
4525
  summary: string;
4526
+ kind: "mission_completed";
4527
4527
  outcome: "failed" | "recovered" | "inconclusive";
4528
4528
  evidence: {
4529
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4530
- label: string;
4531
4529
  id: string;
4530
+ label: string;
4531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4532
4532
  capture: "at_action" | "historical_lookup" | "fixture";
4533
4533
  locator?: string | undefined;
4534
4534
  }[];
@@ -4538,37 +4538,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4538
4538
  objective: string;
4539
4539
  runMode: "replay" | "fixture" | "live";
4540
4540
  evidence?: {
4541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4542
- label: string;
4543
4541
  id: string;
4542
+ label: string;
4543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4544
4544
  capture: "at_action" | "historical_lookup" | "fixture";
4545
4545
  locator?: string | undefined;
4546
4546
  }[] | undefined;
4547
4547
  } | {
4548
- kind: "agent_status";
4549
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4550
4548
  label: string;
4549
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4550
+ kind: "agent_status";
4551
4551
  role: string;
4552
4552
  agentId: string;
4553
4553
  sessionId: string;
4554
4554
  detail?: string | undefined;
4555
4555
  evidence?: {
4556
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4557
- label: string;
4558
4556
  id: string;
4557
+ label: string;
4558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4559
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4560
4560
  locator?: string | undefined;
4561
4561
  }[] | undefined;
4562
4562
  } | {
4563
- kind: "agent_output";
4564
4563
  summary: string;
4564
+ kind: "agent_output";
4565
4565
  agentId: string;
4566
4566
  sessionId: string;
4567
4567
  outputId: string;
4568
4568
  evidence?: {
4569
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
- label: string;
4571
4569
  id: string;
4570
+ label: string;
4571
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4572
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4573
4573
  locator?: string | undefined;
4574
4574
  }[] | undefined;
@@ -4581,37 +4581,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4581
4581
  decisionId: string;
4582
4582
  confidence?: number | undefined;
4583
4583
  evidence?: {
4584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
- label: string;
4586
4584
  id: string;
4585
+ label: string;
4586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4587
4587
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4588
  locator?: string | undefined;
4589
4589
  }[] | undefined;
4590
4590
  } | {
4591
- kind: "conflict_detected";
4592
4591
  summary: string;
4592
+ kind: "conflict_detected";
4593
4593
  conflictId: string;
4594
4594
  decisionIds: string[];
4595
4595
  agentIds: string[];
4596
4596
  evidence?: {
4597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
- label: string;
4599
4597
  id: string;
4598
+ label: string;
4599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4600
  capture: "at_action" | "historical_lookup" | "fixture";
4601
4601
  locator?: string | undefined;
4602
4602
  }[] | undefined;
4603
4603
  } | {
4604
- kind: "test_result";
4605
4604
  summary: string;
4606
4605
  status: "error" | "failed" | "passed";
4606
+ kind: "test_result";
4607
4607
  command: string;
4608
4608
  decisionId: string;
4609
4609
  testId: string;
4610
4610
  durationMs?: number | undefined;
4611
4611
  evidence?: {
4612
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
- label: string;
4614
4612
  id: string;
4613
+ label: string;
4614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4615
4615
  capture: "at_action" | "historical_lookup" | "fixture";
4616
4616
  locator?: string | undefined;
4617
4617
  }[] | undefined;
@@ -4626,9 +4626,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4626
4626
  supersedesDecisionIds: string[];
4627
4627
  proposedBy: string;
4628
4628
  evidence?: {
4629
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4630
- label: string;
4631
4629
  id: string;
4630
+ label: string;
4631
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4632
4632
  capture: "at_action" | "historical_lookup" | "fixture";
4633
4633
  locator?: string | undefined;
4634
4634
  }[] | undefined;
@@ -4636,15 +4636,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4636
4636
  kind: "correction_approved";
4637
4637
  correctionId: string;
4638
4638
  approvedBy: {
4639
- kind: "agent" | "human";
4640
- label: string;
4641
4639
  id: string;
4640
+ label: string;
4641
+ kind: "agent" | "human";
4642
4642
  };
4643
4643
  note?: string | undefined;
4644
4644
  evidence?: {
4645
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4646
- label: string;
4647
4645
  id: string;
4646
+ label: string;
4647
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4648
4648
  capture: "at_action" | "historical_lookup" | "fixture";
4649
4649
  locator?: string | undefined;
4650
4650
  }[] | undefined;
@@ -4654,9 +4654,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4654
4654
  correctionId: string;
4655
4655
  replacementDecisionId: string;
4656
4656
  evidence?: {
4657
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
- label: string;
4659
4657
  id: string;
4658
+ label: string;
4659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
4660
  capture: "at_action" | "historical_lookup" | "fixture";
4661
4661
  locator?: string | undefined;
4662
4662
  }[] | undefined;
@@ -4669,9 +4669,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4669
4669
  recallReceiptId: string;
4670
4670
  capturedAtAction: boolean;
4671
4671
  evidence?: {
4672
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4673
- label: string;
4674
4672
  id: string;
4673
+ label: string;
4674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
4675
  capture: "at_action" | "historical_lookup" | "fixture";
4676
4676
  locator?: string | undefined;
4677
4677
  }[] | undefined;
@@ -4684,63 +4684,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4684
4684
  recallReceiptId: string;
4685
4685
  staleDecisionAbsent: boolean;
4686
4686
  evidence?: {
4687
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4688
- label: string;
4689
4687
  id: string;
4688
+ label: string;
4689
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4690
4690
  capture: "at_action" | "historical_lookup" | "fixture";
4691
4691
  locator?: string | undefined;
4692
4692
  }[] | undefined;
4693
4693
  } | {
4694
- kind: "mission_completed";
4695
4694
  summary: string;
4695
+ kind: "mission_completed";
4696
4696
  outcome: "failed" | "recovered" | "inconclusive";
4697
4697
  evidence?: {
4698
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4699
- label: string;
4700
4698
  id: string;
4699
+ label: string;
4700
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4701
4701
  capture: "at_action" | "historical_lookup" | "fixture";
4702
4702
  locator?: string | undefined;
4703
4703
  }[] | undefined;
4704
4704
  }>;
4705
4705
  }, "strict", z.ZodTypeAny, {
4706
- schemaVersion: "1";
4706
+ namespace: string;
4707
4707
  recordedAt: string;
4708
+ schemaVersion: "1";
4708
4709
  payload: {
4709
4710
  kind: "mission_started";
4710
4711
  title: string;
4711
4712
  evidence: {
4712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4713
- label: string;
4714
4713
  id: string;
4714
+ label: string;
4715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4715
4716
  capture: "at_action" | "historical_lookup" | "fixture";
4716
4717
  locator?: string | undefined;
4717
4718
  }[];
4718
4719
  objective: string;
4719
4720
  runMode: "replay" | "fixture" | "live";
4720
4721
  } | {
4721
- kind: "agent_status";
4722
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4723
4722
  label: string;
4723
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4724
+ kind: "agent_status";
4724
4725
  role: string;
4725
4726
  agentId: string;
4726
4727
  sessionId: string;
4727
4728
  evidence: {
4728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4729
- label: string;
4730
4729
  id: string;
4730
+ label: string;
4731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4731
4732
  capture: "at_action" | "historical_lookup" | "fixture";
4732
4733
  locator?: string | undefined;
4733
4734
  }[];
4734
4735
  detail?: string | undefined;
4735
4736
  } | {
4736
- kind: "agent_output";
4737
4737
  summary: string;
4738
+ kind: "agent_output";
4738
4739
  agentId: string;
4739
4740
  sessionId: string;
4740
4741
  evidence: {
4741
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4742
- label: string;
4743
4742
  id: string;
4743
+ label: string;
4744
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4744
4745
  capture: "at_action" | "historical_lookup" | "fixture";
4745
4746
  locator?: string | undefined;
4746
4747
  }[];
@@ -4751,9 +4752,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4751
4752
  statement: string;
4752
4753
  sessionId: string;
4753
4754
  evidence: {
4754
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4755
- label: string;
4756
4755
  id: string;
4756
+ label: string;
4757
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4757
4758
  capture: "at_action" | "historical_lookup" | "fixture";
4758
4759
  locator?: string | undefined;
4759
4760
  }[];
@@ -4761,12 +4762,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4761
4762
  decisionId: string;
4762
4763
  confidence?: number | undefined;
4763
4764
  } | {
4764
- kind: "conflict_detected";
4765
4765
  summary: string;
4766
+ kind: "conflict_detected";
4766
4767
  evidence: {
4767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4768
- label: string;
4769
4768
  id: string;
4769
+ label: string;
4770
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4770
4771
  capture: "at_action" | "historical_lookup" | "fixture";
4771
4772
  locator?: string | undefined;
4772
4773
  }[];
@@ -4774,14 +4775,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4774
4775
  decisionIds: string[];
4775
4776
  agentIds: string[];
4776
4777
  } | {
4777
- kind: "test_result";
4778
4778
  summary: string;
4779
4779
  status: "error" | "failed" | "passed";
4780
+ kind: "test_result";
4780
4781
  command: string;
4781
4782
  evidence: {
4782
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4783
- label: string;
4784
4783
  id: string;
4784
+ label: string;
4785
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4785
4786
  capture: "at_action" | "historical_lookup" | "fixture";
4786
4787
  locator?: string | undefined;
4787
4788
  }[];
@@ -4794,9 +4795,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4794
4795
  statement: string;
4795
4796
  rationale: string;
4796
4797
  evidence: {
4797
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4798
- label: string;
4799
4798
  id: string;
4799
+ label: string;
4800
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4800
4801
  capture: "at_action" | "historical_lookup" | "fixture";
4801
4802
  locator?: string | undefined;
4802
4803
  }[];
@@ -4808,25 +4809,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4808
4809
  } | {
4809
4810
  kind: "correction_approved";
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
  }[];
4817
4818
  correctionId: string;
4818
4819
  approvedBy: {
4819
- kind: "agent" | "human";
4820
- label: string;
4821
4820
  id: string;
4821
+ label: string;
4822
+ kind: "agent" | "human";
4822
4823
  };
4823
4824
  note?: string | undefined;
4824
4825
  } | {
4825
4826
  kind: "decision_superseded";
4826
4827
  evidence: {
4827
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4828
- label: string;
4829
4828
  id: string;
4829
+ label: string;
4830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4830
4831
  capture: "at_action" | "historical_lookup" | "fixture";
4831
4832
  locator?: string | undefined;
4832
4833
  }[];
@@ -4839,9 +4840,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4839
4840
  agentId: string;
4840
4841
  sessionId: string;
4841
4842
  evidence: {
4842
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4843
- label: string;
4844
4843
  id: string;
4844
+ label: string;
4845
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4845
4846
  capture: "at_action" | "historical_lookup" | "fixture";
4846
4847
  locator?: string | undefined;
4847
4848
  }[];
@@ -4853,9 +4854,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4853
4854
  agentId: string;
4854
4855
  sessionId: string;
4855
4856
  evidence: {
4856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4857
- label: string;
4858
4857
  id: string;
4858
+ label: string;
4859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4859
4860
  capture: "at_action" | "historical_lookup" | "fixture";
4860
4861
  locator?: string | undefined;
4861
4862
  }[];
@@ -4864,63 +4865,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4864
4865
  recallReceiptId: string;
4865
4866
  staleDecisionAbsent: boolean;
4866
4867
  } | {
4867
- kind: "mission_completed";
4868
4868
  summary: string;
4869
+ kind: "mission_completed";
4869
4870
  outcome: "failed" | "recovered" | "inconclusive";
4870
4871
  evidence: {
4871
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4872
- label: string;
4873
4872
  id: string;
4873
+ label: string;
4874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4874
4875
  capture: "at_action" | "historical_lookup" | "fixture";
4875
4876
  locator?: string | undefined;
4876
4877
  }[];
4877
4878
  };
4878
- namespace: string;
4879
4879
  eventId: string;
4880
4880
  occurredAt: string;
4881
4881
  missionId: string;
4882
4882
  idempotencyKey?: string | undefined;
4883
4883
  authenticatedPrincipal?: string | undefined;
4884
4884
  }, {
4885
- schemaVersion: "1";
4885
+ namespace: string;
4886
4886
  recordedAt: string;
4887
+ schemaVersion: "1";
4887
4888
  payload: {
4888
4889
  kind: "mission_started";
4889
4890
  title: string;
4890
4891
  objective: string;
4891
4892
  runMode: "replay" | "fixture" | "live";
4892
4893
  evidence?: {
4893
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4894
- label: string;
4895
4894
  id: string;
4895
+ label: string;
4896
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
4897
  capture: "at_action" | "historical_lookup" | "fixture";
4897
4898
  locator?: string | undefined;
4898
4899
  }[] | undefined;
4899
4900
  } | {
4900
- kind: "agent_status";
4901
- status: "failed" | "complete" | "blocked" | "idle" | "working";
4902
4901
  label: string;
4902
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4903
+ kind: "agent_status";
4903
4904
  role: string;
4904
4905
  agentId: string;
4905
4906
  sessionId: string;
4906
4907
  detail?: string | undefined;
4907
4908
  evidence?: {
4908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4909
- label: string;
4910
4909
  id: string;
4910
+ label: string;
4911
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4911
4912
  capture: "at_action" | "historical_lookup" | "fixture";
4912
4913
  locator?: string | undefined;
4913
4914
  }[] | undefined;
4914
4915
  } | {
4915
- kind: "agent_output";
4916
4916
  summary: string;
4917
+ kind: "agent_output";
4917
4918
  agentId: string;
4918
4919
  sessionId: string;
4919
4920
  outputId: string;
4920
4921
  evidence?: {
4921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4922
- label: string;
4923
4922
  id: string;
4923
+ label: string;
4924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4924
4925
  capture: "at_action" | "historical_lookup" | "fixture";
4925
4926
  locator?: string | undefined;
4926
4927
  }[] | undefined;
@@ -4933,37 +4934,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4933
4934
  decisionId: string;
4934
4935
  confidence?: number | undefined;
4935
4936
  evidence?: {
4936
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4937
- label: string;
4938
4937
  id: string;
4938
+ label: string;
4939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4939
4940
  capture: "at_action" | "historical_lookup" | "fixture";
4940
4941
  locator?: string | undefined;
4941
4942
  }[] | undefined;
4942
4943
  } | {
4943
- kind: "conflict_detected";
4944
4944
  summary: string;
4945
+ kind: "conflict_detected";
4945
4946
  conflictId: string;
4946
4947
  decisionIds: string[];
4947
4948
  agentIds: string[];
4948
4949
  evidence?: {
4949
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4950
- label: string;
4951
4950
  id: string;
4951
+ label: string;
4952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4952
4953
  capture: "at_action" | "historical_lookup" | "fixture";
4953
4954
  locator?: string | undefined;
4954
4955
  }[] | undefined;
4955
4956
  } | {
4956
- kind: "test_result";
4957
4957
  summary: string;
4958
4958
  status: "error" | "failed" | "passed";
4959
+ kind: "test_result";
4959
4960
  command: string;
4960
4961
  decisionId: string;
4961
4962
  testId: string;
4962
4963
  durationMs?: number | undefined;
4963
4964
  evidence?: {
4964
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4965
- label: string;
4966
4965
  id: string;
4966
+ label: string;
4967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4967
4968
  capture: "at_action" | "historical_lookup" | "fixture";
4968
4969
  locator?: string | undefined;
4969
4970
  }[] | undefined;
@@ -4978,9 +4979,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4978
4979
  supersedesDecisionIds: string[];
4979
4980
  proposedBy: string;
4980
4981
  evidence?: {
4981
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4982
- label: string;
4983
4982
  id: string;
4983
+ label: string;
4984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4984
4985
  capture: "at_action" | "historical_lookup" | "fixture";
4985
4986
  locator?: string | undefined;
4986
4987
  }[] | undefined;
@@ -4988,15 +4989,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4988
4989
  kind: "correction_approved";
4989
4990
  correctionId: string;
4990
4991
  approvedBy: {
4991
- kind: "agent" | "human";
4992
- label: string;
4993
4992
  id: string;
4993
+ label: string;
4994
+ kind: "agent" | "human";
4994
4995
  };
4995
4996
  note?: string | undefined;
4996
4997
  evidence?: {
4997
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4998
- label: string;
4999
4998
  id: string;
4999
+ label: string;
5000
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5000
5001
  capture: "at_action" | "historical_lookup" | "fixture";
5001
5002
  locator?: string | undefined;
5002
5003
  }[] | undefined;
@@ -5006,9 +5007,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5006
5007
  correctionId: string;
5007
5008
  replacementDecisionId: string;
5008
5009
  evidence?: {
5009
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5010
- label: string;
5011
5010
  id: string;
5011
+ label: string;
5012
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5012
5013
  capture: "at_action" | "historical_lookup" | "fixture";
5013
5014
  locator?: string | undefined;
5014
5015
  }[] | undefined;
@@ -5021,9 +5022,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5021
5022
  recallReceiptId: string;
5022
5023
  capturedAtAction: boolean;
5023
5024
  evidence?: {
5024
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5025
- label: string;
5026
5025
  id: string;
5026
+ label: string;
5027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5027
5028
  capture: "at_action" | "historical_lookup" | "fixture";
5028
5029
  locator?: string | undefined;
5029
5030
  }[] | undefined;
@@ -5036,25 +5037,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
5036
5037
  recallReceiptId: string;
5037
5038
  staleDecisionAbsent: boolean;
5038
5039
  evidence?: {
5039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5040
- label: string;
5041
5040
  id: string;
5041
+ label: string;
5042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5042
5043
  capture: "at_action" | "historical_lookup" | "fixture";
5043
5044
  locator?: string | undefined;
5044
5045
  }[] | undefined;
5045
5046
  } | {
5046
- kind: "mission_completed";
5047
5047
  summary: string;
5048
+ kind: "mission_completed";
5048
5049
  outcome: "failed" | "recovered" | "inconclusive";
5049
5050
  evidence?: {
5050
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5051
- label: string;
5052
5051
  id: string;
5052
+ label: string;
5053
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5053
5054
  capture: "at_action" | "historical_lookup" | "fixture";
5054
5055
  locator?: string | undefined;
5055
5056
  }[] | undefined;
5056
5057
  };
5057
- namespace: string;
5058
5058
  eventId: string;
5059
5059
  occurredAt: string;
5060
5060
  missionId: string;