@remnic/core 9.65.4 → 9.65.5

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 (91) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +1 -1
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +2 -2
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +1 -1
  7. package/dist/access-cli.js +13 -13
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +1 -1
  10. package/dist/access-http-lcm-compaction.d.ts +1 -1
  11. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  12. package/dist/access-http-offline-stream.d.ts +1 -1
  13. package/dist/access-http-query.js +1 -1
  14. package/dist/access-http.d.ts +2 -2
  15. package/dist/access-http.js +10 -10
  16. package/dist/access-identity-continuity-surface.js +1 -1
  17. package/dist/access-lcm-surface.d.ts +1 -1
  18. package/dist/access-lcm-surface.js +1 -1
  19. package/dist/access-mcp.d.ts +1 -1
  20. package/dist/access-mcp.js +6 -6
  21. package/dist/access-namespace-preflight.js +1 -1
  22. package/dist/access-observe-write-surface.d.ts +1 -1
  23. package/dist/access-observe-write-surface.js +1 -1
  24. package/dist/access-operations-batch.js +2 -2
  25. package/dist/access-operations.d.ts +6 -6
  26. package/dist/access-operations.js +5 -5
  27. package/dist/access-recall-concurrency.d.ts +1 -1
  28. package/dist/access-recall-concurrency.js +1 -1
  29. package/dist/access-recall-response.d.ts +1 -1
  30. package/dist/access-recall-response.js +1 -1
  31. package/dist/access-recall-surface.d.ts +1 -1
  32. package/dist/access-recall-surface.js +1 -1
  33. package/dist/access-schema.d.ts +83 -83
  34. package/dist/access-service-helpers.d.ts +1 -1
  35. package/dist/access-service.d.ts +1 -1
  36. package/dist/access-service.js +1 -1
  37. package/dist/access-surface-catalog.d.ts +1 -1
  38. package/dist/access-surface-catalog.js +3 -3
  39. package/dist/{chunk-YHGCT462.js → chunk-2EPOGPKO.js} +2 -2
  40. package/dist/{chunk-OU34IQXV.js → chunk-4JSF7UUP.js} +2 -2
  41. package/dist/{chunk-XGM3VQWG.js → chunk-BA2GLSIP.js} +7 -7
  42. package/dist/{chunk-I23ZHYSL.js → chunk-BW4GAF57.js} +2 -2
  43. package/dist/{chunk-AZLLH6YA.js → chunk-CV3GNPOE.js} +27 -32
  44. package/dist/chunk-CV3GNPOE.js.map +1 -0
  45. package/dist/{chunk-3JZBPTLD.js → chunk-DPGH6LHQ.js} +4 -4
  46. package/dist/{chunk-GHD2LLG4.js → chunk-FBR7PIL4.js} +2 -2
  47. package/dist/{chunk-PTZQYCJ4.js → chunk-IIRCHGWD.js} +2 -2
  48. package/dist/{chunk-SR5LNI6Q.js → chunk-KTPXXVDQ.js} +2 -2
  49. package/dist/{chunk-IWKGOCL6.js → chunk-N56GVOWR.js} +3 -3
  50. package/dist/{chunk-QJW4MZSW.js → chunk-NH6LC57D.js} +2 -2
  51. package/dist/{chunk-KPB2QHJZ.js → chunk-OWQNJJY2.js} +2 -2
  52. package/dist/{chunk-ZPOHEB5Z.js → chunk-YB4GBWBU.js} +4 -4
  53. package/dist/{cli-DO3i14pM.d.ts → cli-BqdqPdG_.d.ts} +1 -1
  54. package/dist/cli.d.ts +2 -2
  55. package/dist/cli.js +11 -11
  56. package/dist/external-wiki-access.d.ts +1 -1
  57. package/dist/external-wiki-access.js +2 -2
  58. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  59. package/dist/index.d.ts +680 -680
  60. package/dist/index.js +13 -13
  61. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  62. package/dist/memory-subject-cli.d.ts +1 -1
  63. package/dist/memory-subject.d.ts +1 -1
  64. package/dist/orchestrator.js +13 -13
  65. package/dist/{public-http-DhIXYBYI.d.ts → public-http-BP3VQDl5.d.ts} +1 -1
  66. package/dist/schemas.d.ts +124 -124
  67. package/dist/shared-context/manager.d.ts +6 -6
  68. package/dist/support-passport/index.d.ts +4 -4
  69. package/dist/support-passport/index.js +4 -4
  70. package/dist/transfer/types.d.ts +78 -78
  71. package/dist/who-knows-cli.d.ts +1 -1
  72. package/dist/who-knows.d.ts +1 -1
  73. package/package.json +2 -2
  74. package/src/review/frontmatter.test.ts +15 -0
  75. package/src/review/frontmatter.ts +20 -0
  76. package/src/review/review-deck-snapshot.ts +4 -20
  77. package/src/review/review-deck.ts +1 -12
  78. package/dist/chunk-AZLLH6YA.js.map +0 -1
  79. package/dist/{access-service-DqPa3hy4.d.ts → access-service-sbiNS5UB.d.ts} +64 -64
  80. /package/dist/{chunk-YHGCT462.js.map → chunk-2EPOGPKO.js.map} +0 -0
  81. /package/dist/{chunk-OU34IQXV.js.map → chunk-4JSF7UUP.js.map} +0 -0
  82. /package/dist/{chunk-XGM3VQWG.js.map → chunk-BA2GLSIP.js.map} +0 -0
  83. /package/dist/{chunk-I23ZHYSL.js.map → chunk-BW4GAF57.js.map} +0 -0
  84. /package/dist/{chunk-3JZBPTLD.js.map → chunk-DPGH6LHQ.js.map} +0 -0
  85. /package/dist/{chunk-GHD2LLG4.js.map → chunk-FBR7PIL4.js.map} +0 -0
  86. /package/dist/{chunk-PTZQYCJ4.js.map → chunk-IIRCHGWD.js.map} +0 -0
  87. /package/dist/{chunk-SR5LNI6Q.js.map → chunk-KTPXXVDQ.js.map} +0 -0
  88. /package/dist/{chunk-IWKGOCL6.js.map → chunk-N56GVOWR.js.map} +0 -0
  89. /package/dist/{chunk-QJW4MZSW.js.map → chunk-NH6LC57D.js.map} +0 -0
  90. /package/dist/{chunk-KPB2QHJZ.js.map → chunk-OWQNJJY2.js.map} +0 -0
  91. /package/dist/{chunk-ZPOHEB5Z.js.map → chunk-YB4GBWBU.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -32,8 +32,8 @@ export { bG as ACTION_GATE_DEFAULTS, bH as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
32
32
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
33
33
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
34
34
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
35
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DqPa3hy4.js';
36
- 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-DqPa3hy4.js';
35
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-sbiNS5UB.js';
36
+ 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-sbiNS5UB.js';
37
37
  import { LocalLlmClient } from './local-llm.js';
38
38
  import { FallbackLlmClient } from './fallback-llm.js';
39
39
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -56,10 +56,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
56
56
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
57
57
  export { storagePathHash } from './storage-paths.js';
58
58
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
59
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DO3i14pM.js';
59
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-BqdqPdG_.js';
60
60
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
61
61
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
62
- 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-DhIXYBYI.js';
62
+ 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-BP3VQDl5.js';
63
63
  import { z } from 'zod';
64
64
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
65
65
  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';
@@ -1225,15 +1225,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1225
1225
  locator: z.ZodOptional<z.ZodString>;
1226
1226
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1227
1227
  }, "strict", z.ZodTypeAny, {
1228
- id: string;
1228
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1229
1229
  label: string;
1230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1230
+ id: string;
1231
1231
  capture: "at_action" | "historical_lookup" | "fixture";
1232
1232
  locator?: string | undefined;
1233
1233
  }, {
1234
- id: string;
1234
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
1235
  label: string;
1236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1236
+ id: string;
1237
1237
  capture: "at_action" | "historical_lookup" | "fixture";
1238
1238
  locator?: string | undefined;
1239
1239
  }>;
@@ -1250,15 +1250,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1250
1250
  locator: z.ZodOptional<z.ZodString>;
1251
1251
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1252
1252
  }, "strict", z.ZodTypeAny, {
1253
- id: string;
1253
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1254
1254
  label: string;
1255
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
+ id: string;
1256
1256
  capture: "at_action" | "historical_lookup" | "fixture";
1257
1257
  locator?: string | undefined;
1258
1258
  }, {
1259
- id: string;
1259
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
1260
  label: string;
1261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1261
+ id: string;
1262
1262
  capture: "at_action" | "historical_lookup" | "fixture";
1263
1263
  locator?: string | undefined;
1264
1264
  }>, "many">>;
@@ -1266,9 +1266,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1266
1266
  kind: "mission_started";
1267
1267
  title: string;
1268
1268
  evidence: {
1269
- id: string;
1269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1270
1270
  label: string;
1271
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1271
+ id: string;
1272
1272
  capture: "at_action" | "historical_lookup" | "fixture";
1273
1273
  locator?: string | undefined;
1274
1274
  }[];
@@ -1280,9 +1280,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1280
1280
  objective: string;
1281
1281
  runMode: "replay" | "fixture" | "live";
1282
1282
  evidence?: {
1283
- id: string;
1283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
1284
  label: string;
1285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1285
+ id: string;
1286
1286
  capture: "at_action" | "historical_lookup" | "fixture";
1287
1287
  locator?: string | undefined;
1288
1288
  }[] | undefined;
@@ -1298,15 +1298,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1298
1298
  locator: z.ZodOptional<z.ZodString>;
1299
1299
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1300
1300
  }, "strict", z.ZodTypeAny, {
1301
- id: string;
1301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1302
1302
  label: string;
1303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1303
+ id: string;
1304
1304
  capture: "at_action" | "historical_lookup" | "fixture";
1305
1305
  locator?: string | undefined;
1306
1306
  }, {
1307
- id: string;
1307
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
1308
  label: string;
1309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1309
+ id: string;
1310
1310
  capture: "at_action" | "historical_lookup" | "fixture";
1311
1311
  locator?: string | undefined;
1312
1312
  }>, "many">>;
@@ -1314,32 +1314,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1314
1314
  sessionId: z.ZodString;
1315
1315
  kind: z.ZodLiteral<"agent_status">;
1316
1316
  }, "strict", z.ZodTypeAny, {
1317
- label: string;
1318
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1319
1317
  kind: "agent_status";
1318
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1319
+ label: string;
1320
1320
  role: string;
1321
1321
  agentId: string;
1322
1322
  sessionId: string;
1323
1323
  evidence: {
1324
- id: string;
1324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1325
1325
  label: string;
1326
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
+ id: string;
1327
1327
  capture: "at_action" | "historical_lookup" | "fixture";
1328
1328
  locator?: string | undefined;
1329
1329
  }[];
1330
1330
  detail?: string | undefined;
1331
1331
  }, {
1332
- label: string;
1333
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1334
1332
  kind: "agent_status";
1333
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1334
+ label: string;
1335
1335
  role: string;
1336
1336
  agentId: string;
1337
1337
  sessionId: string;
1338
1338
  detail?: string | undefined;
1339
1339
  evidence?: {
1340
- id: string;
1340
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1341
1341
  label: string;
1342
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1342
+ id: string;
1343
1343
  capture: "at_action" | "historical_lookup" | "fixture";
1344
1344
  locator?: string | undefined;
1345
1345
  }[] | undefined;
@@ -1353,15 +1353,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1353
1353
  locator: z.ZodOptional<z.ZodString>;
1354
1354
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1355
1355
  }, "strict", z.ZodTypeAny, {
1356
- id: string;
1356
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1357
1357
  label: string;
1358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1358
+ id: string;
1359
1359
  capture: "at_action" | "historical_lookup" | "fixture";
1360
1360
  locator?: string | undefined;
1361
1361
  }, {
1362
- id: string;
1362
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1363
  label: string;
1364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1364
+ id: string;
1365
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1366
  locator?: string | undefined;
1367
1367
  }>, "many">>;
@@ -1369,28 +1369,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1369
1369
  sessionId: z.ZodString;
1370
1370
  kind: z.ZodLiteral<"agent_output">;
1371
1371
  }, "strict", z.ZodTypeAny, {
1372
- summary: string;
1373
1372
  kind: "agent_output";
1373
+ summary: string;
1374
1374
  agentId: string;
1375
1375
  sessionId: string;
1376
1376
  evidence: {
1377
- id: string;
1377
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1378
1378
  label: string;
1379
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
+ id: string;
1380
1380
  capture: "at_action" | "historical_lookup" | "fixture";
1381
1381
  locator?: string | undefined;
1382
1382
  }[];
1383
1383
  outputId: string;
1384
1384
  }, {
1385
- summary: string;
1386
1385
  kind: "agent_output";
1386
+ summary: string;
1387
1387
  agentId: string;
1388
1388
  sessionId: string;
1389
1389
  outputId: string;
1390
1390
  evidence?: {
1391
- id: string;
1391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
1392
  label: string;
1393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
+ id: string;
1394
1394
  capture: "at_action" | "historical_lookup" | "fixture";
1395
1395
  locator?: string | undefined;
1396
1396
  }[] | undefined;
@@ -1406,15 +1406,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1406
1406
  locator: z.ZodOptional<z.ZodString>;
1407
1407
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1408
1408
  }, "strict", z.ZodTypeAny, {
1409
- id: string;
1409
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1410
1410
  label: string;
1411
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
+ id: string;
1412
1412
  capture: "at_action" | "historical_lookup" | "fixture";
1413
1413
  locator?: string | undefined;
1414
1414
  }, {
1415
- id: string;
1415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1416
  label: string;
1417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1417
+ id: string;
1418
1418
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1419
  locator?: string | undefined;
1420
1420
  }>, "many">>;
@@ -1427,9 +1427,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1427
1427
  statement: string;
1428
1428
  sessionId: string;
1429
1429
  evidence: {
1430
- id: string;
1430
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
1431
  label: string;
1432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1432
+ id: string;
1433
1433
  capture: "at_action" | "historical_lookup" | "fixture";
1434
1434
  locator?: string | undefined;
1435
1435
  }[];
@@ -1445,9 +1445,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1445
1445
  decisionId: string;
1446
1446
  confidence?: number | undefined;
1447
1447
  evidence?: {
1448
- id: string;
1448
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1449
1449
  label: string;
1450
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1450
+ id: string;
1451
1451
  capture: "at_action" | "historical_lookup" | "fixture";
1452
1452
  locator?: string | undefined;
1453
1453
  }[] | undefined;
@@ -1464,25 +1464,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1464
1464
  locator: z.ZodOptional<z.ZodString>;
1465
1465
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1466
1466
  }, "strict", z.ZodTypeAny, {
1467
- id: string;
1467
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1468
1468
  label: string;
1469
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1469
+ id: string;
1470
1470
  capture: "at_action" | "historical_lookup" | "fixture";
1471
1471
  locator?: string | undefined;
1472
1472
  }, {
1473
- id: string;
1473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1474
  label: string;
1475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1475
+ id: string;
1476
1476
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1477
  locator?: string | undefined;
1478
1478
  }>, "many">>;
1479
1479
  }, "strict", z.ZodTypeAny, {
1480
- summary: string;
1481
1480
  kind: "conflict_detected";
1481
+ summary: string;
1482
1482
  evidence: {
1483
- id: string;
1483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1484
  label: string;
1485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
+ id: string;
1486
1486
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1487
  locator?: string | undefined;
1488
1488
  }[];
@@ -1490,15 +1490,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1490
1490
  decisionIds: string[];
1491
1491
  agentIds: string[];
1492
1492
  }, {
1493
- summary: string;
1494
1493
  kind: "conflict_detected";
1494
+ summary: string;
1495
1495
  conflictId: string;
1496
1496
  decisionIds: string[];
1497
1497
  agentIds: string[];
1498
1498
  evidence?: {
1499
- id: string;
1499
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
1500
  label: string;
1501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
+ id: string;
1502
1502
  capture: "at_action" | "historical_lookup" | "fixture";
1503
1503
  locator?: string | undefined;
1504
1504
  }[] | undefined;
@@ -1518,27 +1518,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1518
1518
  locator: z.ZodOptional<z.ZodString>;
1519
1519
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1520
1520
  }, "strict", z.ZodTypeAny, {
1521
- id: string;
1521
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1522
1522
  label: string;
1523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1523
+ id: string;
1524
1524
  capture: "at_action" | "historical_lookup" | "fixture";
1525
1525
  locator?: string | undefined;
1526
1526
  }, {
1527
- id: string;
1527
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
1528
  label: string;
1529
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
+ id: string;
1530
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1531
1531
  locator?: string | undefined;
1532
1532
  }>, "many">>;
1533
1533
  }, "strict", z.ZodTypeAny, {
1534
+ kind: "test_result";
1534
1535
  summary: string;
1535
1536
  status: "error" | "failed" | "passed";
1536
- kind: "test_result";
1537
1537
  command: string;
1538
1538
  evidence: {
1539
- id: string;
1539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1540
  label: string;
1541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
+ id: string;
1542
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1543
  locator?: string | undefined;
1544
1544
  }[];
@@ -1547,17 +1547,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1547
1547
  durationMs?: number | undefined;
1548
1548
  correctionId?: string | undefined;
1549
1549
  }, {
1550
+ kind: "test_result";
1550
1551
  summary: string;
1551
1552
  status: "error" | "failed" | "passed";
1552
- kind: "test_result";
1553
1553
  command: string;
1554
1554
  decisionId: string;
1555
1555
  testId: string;
1556
1556
  durationMs?: number | undefined;
1557
1557
  evidence?: {
1558
- id: string;
1558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1559
1559
  label: string;
1560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1560
+ id: string;
1561
1561
  capture: "at_action" | "historical_lookup" | "fixture";
1562
1562
  locator?: string | undefined;
1563
1563
  }[] | undefined;
@@ -1578,15 +1578,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1578
1578
  locator: z.ZodOptional<z.ZodString>;
1579
1579
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1580
1580
  }, "strict", z.ZodTypeAny, {
1581
- id: string;
1581
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1582
1582
  label: string;
1583
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
+ id: string;
1584
1584
  capture: "at_action" | "historical_lookup" | "fixture";
1585
1585
  locator?: string | undefined;
1586
1586
  }, {
1587
- id: string;
1587
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1588
  label: string;
1589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1589
+ id: string;
1590
1590
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1591
  locator?: string | undefined;
1592
1592
  }>, "many">>;
@@ -1595,9 +1595,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1595
1595
  statement: string;
1596
1596
  rationale: string;
1597
1597
  evidence: {
1598
- id: string;
1598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1599
1599
  label: string;
1600
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
+ id: string;
1601
1601
  capture: "at_action" | "historical_lookup" | "fixture";
1602
1602
  locator?: string | undefined;
1603
1603
  }[];
@@ -1616,9 +1616,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1616
1616
  supersedesDecisionIds: string[];
1617
1617
  proposedBy: string;
1618
1618
  evidence?: {
1619
- id: string;
1619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
1620
  label: string;
1621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1621
+ id: string;
1622
1622
  capture: "at_action" | "historical_lookup" | "fixture";
1623
1623
  locator?: string | undefined;
1624
1624
  }[] | undefined;
@@ -1630,13 +1630,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1630
1630
  id: z.ZodString;
1631
1631
  label: z.ZodString;
1632
1632
  }, "strict", z.ZodTypeAny, {
1633
- id: string;
1634
- label: string;
1635
1633
  kind: "agent" | "human";
1636
- }, {
1637
- id: string;
1638
1634
  label: string;
1635
+ id: string;
1636
+ }, {
1639
1637
  kind: "agent" | "human";
1638
+ label: string;
1639
+ id: string;
1640
1640
  }>;
1641
1641
  note: z.ZodOptional<z.ZodString>;
1642
1642
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1646,47 +1646,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1646
1646
  locator: z.ZodOptional<z.ZodString>;
1647
1647
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1648
1648
  }, "strict", z.ZodTypeAny, {
1649
- id: string;
1649
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1650
1650
  label: string;
1651
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1651
+ id: string;
1652
1652
  capture: "at_action" | "historical_lookup" | "fixture";
1653
1653
  locator?: string | undefined;
1654
1654
  }, {
1655
- id: string;
1655
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1656
  label: string;
1657
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
+ id: string;
1658
1658
  capture: "at_action" | "historical_lookup" | "fixture";
1659
1659
  locator?: string | undefined;
1660
1660
  }>, "many">>;
1661
1661
  }, "strict", z.ZodTypeAny, {
1662
1662
  kind: "correction_approved";
1663
1663
  evidence: {
1664
- id: string;
1664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1665
1665
  label: string;
1666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
+ id: string;
1667
1667
  capture: "at_action" | "historical_lookup" | "fixture";
1668
1668
  locator?: string | undefined;
1669
1669
  }[];
1670
1670
  correctionId: string;
1671
1671
  approvedBy: {
1672
- id: string;
1673
- label: string;
1674
1672
  kind: "agent" | "human";
1673
+ label: string;
1674
+ id: string;
1675
1675
  };
1676
1676
  note?: string | undefined;
1677
1677
  }, {
1678
1678
  kind: "correction_approved";
1679
1679
  correctionId: string;
1680
1680
  approvedBy: {
1681
- id: string;
1682
- label: string;
1683
1681
  kind: "agent" | "human";
1682
+ label: string;
1683
+ id: string;
1684
1684
  };
1685
1685
  note?: string | undefined;
1686
1686
  evidence?: {
1687
- id: string;
1687
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1688
1688
  label: string;
1689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1689
+ id: string;
1690
1690
  capture: "at_action" | "historical_lookup" | "fixture";
1691
1691
  locator?: string | undefined;
1692
1692
  }[] | undefined;
@@ -1702,24 +1702,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1702
1702
  locator: z.ZodOptional<z.ZodString>;
1703
1703
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1704
1704
  }, "strict", z.ZodTypeAny, {
1705
- id: string;
1705
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1706
1706
  label: string;
1707
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1707
+ id: string;
1708
1708
  capture: "at_action" | "historical_lookup" | "fixture";
1709
1709
  locator?: string | undefined;
1710
1710
  }, {
1711
- id: string;
1711
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1712
  label: string;
1713
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
+ id: string;
1714
1714
  capture: "at_action" | "historical_lookup" | "fixture";
1715
1715
  locator?: string | undefined;
1716
1716
  }>, "many">>;
1717
1717
  }, "strict", z.ZodTypeAny, {
1718
1718
  kind: "decision_superseded";
1719
1719
  evidence: {
1720
- id: string;
1720
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1721
1721
  label: string;
1722
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
+ id: string;
1723
1723
  capture: "at_action" | "historical_lookup" | "fixture";
1724
1724
  locator?: string | undefined;
1725
1725
  }[];
@@ -1732,9 +1732,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1732
1732
  correctionId: string;
1733
1733
  replacementDecisionId: string;
1734
1734
  evidence?: {
1735
- id: string;
1735
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1736
1736
  label: string;
1737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1737
+ id: string;
1738
1738
  capture: "at_action" | "historical_lookup" | "fixture";
1739
1739
  locator?: string | undefined;
1740
1740
  }[] | undefined;
@@ -1750,15 +1750,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1750
1750
  locator: z.ZodOptional<z.ZodString>;
1751
1751
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1752
1752
  }, "strict", z.ZodTypeAny, {
1753
- id: string;
1753
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1754
1754
  label: string;
1755
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1755
+ id: string;
1756
1756
  capture: "at_action" | "historical_lookup" | "fixture";
1757
1757
  locator?: string | undefined;
1758
1758
  }, {
1759
- id: string;
1759
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1760
  label: string;
1761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
+ id: string;
1762
1762
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1763
  locator?: string | undefined;
1764
1764
  }>, "many">>;
@@ -1771,9 +1771,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1771
1771
  agentId: string;
1772
1772
  sessionId: string;
1773
1773
  evidence: {
1774
- id: string;
1774
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1775
1775
  label: string;
1776
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
+ id: string;
1777
1777
  capture: "at_action" | "historical_lookup" | "fixture";
1778
1778
  locator?: string | undefined;
1779
1779
  }[];
@@ -1789,9 +1789,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1789
1789
  recallReceiptId: string;
1790
1790
  capturedAtAction: boolean;
1791
1791
  evidence?: {
1792
- id: string;
1792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1793
1793
  label: string;
1794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1794
+ id: string;
1795
1795
  capture: "at_action" | "historical_lookup" | "fixture";
1796
1796
  locator?: string | undefined;
1797
1797
  }[] | undefined;
@@ -1807,15 +1807,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1807
1807
  locator: z.ZodOptional<z.ZodString>;
1808
1808
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1809
1809
  }, "strict", z.ZodTypeAny, {
1810
- id: string;
1810
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1811
1811
  label: string;
1812
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1812
+ id: string;
1813
1813
  capture: "at_action" | "historical_lookup" | "fixture";
1814
1814
  locator?: string | undefined;
1815
1815
  }, {
1816
- id: string;
1816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
1817
  label: string;
1818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
+ id: string;
1819
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1820
1820
  locator?: string | undefined;
1821
1821
  }>, "many">>;
@@ -1827,9 +1827,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1827
1827
  agentId: string;
1828
1828
  sessionId: string;
1829
1829
  evidence: {
1830
- id: string;
1830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1831
  label: string;
1832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
+ id: string;
1833
1833
  capture: "at_action" | "historical_lookup" | "fixture";
1834
1834
  locator?: string | undefined;
1835
1835
  }[];
@@ -1846,9 +1846,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1846
1846
  recallReceiptId: string;
1847
1847
  staleDecisionAbsent: boolean;
1848
1848
  evidence?: {
1849
- id: string;
1849
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1850
1850
  label: string;
1851
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1851
+ id: string;
1852
1852
  capture: "at_action" | "historical_lookup" | "fixture";
1853
1853
  locator?: string | undefined;
1854
1854
  }[] | undefined;
@@ -1863,37 +1863,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1863
1863
  locator: z.ZodOptional<z.ZodString>;
1864
1864
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1865
1865
  }, "strict", z.ZodTypeAny, {
1866
- id: string;
1866
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1867
1867
  label: string;
1868
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1868
+ id: string;
1869
1869
  capture: "at_action" | "historical_lookup" | "fixture";
1870
1870
  locator?: string | undefined;
1871
1871
  }, {
1872
- id: string;
1872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1873
  label: string;
1874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
+ id: string;
1875
1875
  capture: "at_action" | "historical_lookup" | "fixture";
1876
1876
  locator?: string | undefined;
1877
1877
  }>, "many">>;
1878
1878
  }, "strict", z.ZodTypeAny, {
1879
- summary: string;
1880
1879
  kind: "mission_completed";
1880
+ summary: string;
1881
1881
  outcome: "failed" | "recovered" | "inconclusive";
1882
1882
  evidence: {
1883
- id: string;
1883
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
1884
  label: string;
1885
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
+ id: string;
1886
1886
  capture: "at_action" | "historical_lookup" | "fixture";
1887
1887
  locator?: string | undefined;
1888
1888
  }[];
1889
1889
  }, {
1890
- summary: string;
1891
1890
  kind: "mission_completed";
1891
+ summary: string;
1892
1892
  outcome: "failed" | "recovered" | "inconclusive";
1893
1893
  evidence?: {
1894
- id: string;
1894
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1895
1895
  label: string;
1896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
+ id: string;
1897
1897
  capture: "at_action" | "historical_lookup" | "fixture";
1898
1898
  locator?: string | undefined;
1899
1899
  }[] | undefined;
@@ -1901,38 +1901,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1901
1901
  kind: "mission_started";
1902
1902
  title: string;
1903
1903
  evidence: {
1904
- id: string;
1904
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1905
  label: string;
1906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1906
+ id: string;
1907
1907
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1908
  locator?: string | undefined;
1909
1909
  }[];
1910
1910
  objective: string;
1911
1911
  runMode: "replay" | "fixture" | "live";
1912
1912
  } | {
1913
- label: string;
1914
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1915
1913
  kind: "agent_status";
1914
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1915
+ label: string;
1916
1916
  role: string;
1917
1917
  agentId: string;
1918
1918
  sessionId: string;
1919
1919
  evidence: {
1920
- id: string;
1920
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1921
1921
  label: string;
1922
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
+ id: string;
1923
1923
  capture: "at_action" | "historical_lookup" | "fixture";
1924
1924
  locator?: string | undefined;
1925
1925
  }[];
1926
1926
  detail?: string | undefined;
1927
1927
  } | {
1928
- summary: string;
1929
1928
  kind: "agent_output";
1929
+ summary: string;
1930
1930
  agentId: string;
1931
1931
  sessionId: string;
1932
1932
  evidence: {
1933
- id: string;
1933
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
1934
  label: string;
1935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
+ id: string;
1936
1936
  capture: "at_action" | "historical_lookup" | "fixture";
1937
1937
  locator?: string | undefined;
1938
1938
  }[];
@@ -1943,9 +1943,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1943
1943
  statement: string;
1944
1944
  sessionId: string;
1945
1945
  evidence: {
1946
- id: string;
1946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
1947
  label: string;
1948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
+ id: string;
1949
1949
  capture: "at_action" | "historical_lookup" | "fixture";
1950
1950
  locator?: string | undefined;
1951
1951
  }[];
@@ -1953,12 +1953,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1953
1953
  decisionId: string;
1954
1954
  confidence?: number | undefined;
1955
1955
  } | {
1956
- summary: string;
1957
1956
  kind: "conflict_detected";
1957
+ summary: string;
1958
1958
  evidence: {
1959
- id: string;
1959
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
1960
  label: string;
1961
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
+ id: string;
1962
1962
  capture: "at_action" | "historical_lookup" | "fixture";
1963
1963
  locator?: string | undefined;
1964
1964
  }[];
@@ -1966,14 +1966,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1966
1966
  decisionIds: string[];
1967
1967
  agentIds: string[];
1968
1968
  } | {
1969
+ kind: "test_result";
1969
1970
  summary: string;
1970
1971
  status: "error" | "failed" | "passed";
1971
- kind: "test_result";
1972
1972
  command: string;
1973
1973
  evidence: {
1974
- id: string;
1974
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1975
1975
  label: string;
1976
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
+ id: string;
1977
1977
  capture: "at_action" | "historical_lookup" | "fixture";
1978
1978
  locator?: string | undefined;
1979
1979
  }[];
@@ -1986,9 +1986,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1986
1986
  statement: string;
1987
1987
  rationale: string;
1988
1988
  evidence: {
1989
- id: string;
1989
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1990
1990
  label: string;
1991
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1991
+ id: string;
1992
1992
  capture: "at_action" | "historical_lookup" | "fixture";
1993
1993
  locator?: string | undefined;
1994
1994
  }[];
@@ -2000,25 +2000,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2000
2000
  } | {
2001
2001
  kind: "correction_approved";
2002
2002
  evidence: {
2003
- id: string;
2003
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2004
2004
  label: string;
2005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2005
+ id: string;
2006
2006
  capture: "at_action" | "historical_lookup" | "fixture";
2007
2007
  locator?: string | undefined;
2008
2008
  }[];
2009
2009
  correctionId: string;
2010
2010
  approvedBy: {
2011
- id: string;
2012
- label: string;
2013
2011
  kind: "agent" | "human";
2012
+ label: string;
2013
+ id: string;
2014
2014
  };
2015
2015
  note?: string | undefined;
2016
2016
  } | {
2017
2017
  kind: "decision_superseded";
2018
2018
  evidence: {
2019
- id: string;
2019
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2020
2020
  label: string;
2021
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
+ id: string;
2022
2022
  capture: "at_action" | "historical_lookup" | "fixture";
2023
2023
  locator?: string | undefined;
2024
2024
  }[];
@@ -2031,9 +2031,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2031
2031
  agentId: string;
2032
2032
  sessionId: string;
2033
2033
  evidence: {
2034
- id: string;
2034
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
2035
  label: string;
2036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2036
+ id: string;
2037
2037
  capture: "at_action" | "historical_lookup" | "fixture";
2038
2038
  locator?: string | undefined;
2039
2039
  }[];
@@ -2045,9 +2045,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2045
2045
  agentId: string;
2046
2046
  sessionId: string;
2047
2047
  evidence: {
2048
- id: string;
2048
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2049
2049
  label: string;
2050
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
+ id: string;
2051
2051
  capture: "at_action" | "historical_lookup" | "fixture";
2052
2052
  locator?: string | undefined;
2053
2053
  }[];
@@ -2056,13 +2056,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2056
2056
  recallReceiptId: string;
2057
2057
  staleDecisionAbsent: boolean;
2058
2058
  } | {
2059
- summary: string;
2060
2059
  kind: "mission_completed";
2060
+ summary: string;
2061
2061
  outcome: "failed" | "recovered" | "inconclusive";
2062
2062
  evidence: {
2063
- id: string;
2063
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2064
2064
  label: string;
2065
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2065
+ id: string;
2066
2066
  capture: "at_action" | "historical_lookup" | "fixture";
2067
2067
  locator?: string | undefined;
2068
2068
  }[];
@@ -2072,37 +2072,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2072
2072
  objective: string;
2073
2073
  runMode: "replay" | "fixture" | "live";
2074
2074
  evidence?: {
2075
- id: string;
2075
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
2076
  label: string;
2077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2077
+ id: string;
2078
2078
  capture: "at_action" | "historical_lookup" | "fixture";
2079
2079
  locator?: string | undefined;
2080
2080
  }[] | undefined;
2081
2081
  } | {
2082
- label: string;
2083
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2084
2082
  kind: "agent_status";
2083
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2084
+ label: string;
2085
2085
  role: string;
2086
2086
  agentId: string;
2087
2087
  sessionId: string;
2088
2088
  detail?: string | undefined;
2089
2089
  evidence?: {
2090
- id: string;
2090
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2091
2091
  label: string;
2092
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
+ id: string;
2093
2093
  capture: "at_action" | "historical_lookup" | "fixture";
2094
2094
  locator?: string | undefined;
2095
2095
  }[] | undefined;
2096
2096
  } | {
2097
- summary: string;
2098
2097
  kind: "agent_output";
2098
+ summary: string;
2099
2099
  agentId: string;
2100
2100
  sessionId: string;
2101
2101
  outputId: string;
2102
2102
  evidence?: {
2103
- id: string;
2103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2104
2104
  label: string;
2105
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
+ id: string;
2106
2106
  capture: "at_action" | "historical_lookup" | "fixture";
2107
2107
  locator?: string | undefined;
2108
2108
  }[] | undefined;
@@ -2115,37 +2115,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2115
2115
  decisionId: string;
2116
2116
  confidence?: number | undefined;
2117
2117
  evidence?: {
2118
- id: string;
2118
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
2119
  label: string;
2120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2120
+ id: string;
2121
2121
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2122
  locator?: string | undefined;
2123
2123
  }[] | undefined;
2124
2124
  } | {
2125
- summary: string;
2126
2125
  kind: "conflict_detected";
2126
+ summary: string;
2127
2127
  conflictId: string;
2128
2128
  decisionIds: string[];
2129
2129
  agentIds: string[];
2130
2130
  evidence?: {
2131
- id: string;
2131
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2132
2132
  label: string;
2133
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
+ id: string;
2134
2134
  capture: "at_action" | "historical_lookup" | "fixture";
2135
2135
  locator?: string | undefined;
2136
2136
  }[] | undefined;
2137
2137
  } | {
2138
+ kind: "test_result";
2138
2139
  summary: string;
2139
2140
  status: "error" | "failed" | "passed";
2140
- kind: "test_result";
2141
2141
  command: string;
2142
2142
  decisionId: string;
2143
2143
  testId: string;
2144
2144
  durationMs?: number | undefined;
2145
2145
  evidence?: {
2146
- id: string;
2146
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2147
2147
  label: string;
2148
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2148
+ id: string;
2149
2149
  capture: "at_action" | "historical_lookup" | "fixture";
2150
2150
  locator?: string | undefined;
2151
2151
  }[] | undefined;
@@ -2160,9 +2160,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2160
2160
  supersedesDecisionIds: string[];
2161
2161
  proposedBy: string;
2162
2162
  evidence?: {
2163
- id: string;
2163
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2164
2164
  label: string;
2165
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2165
+ id: string;
2166
2166
  capture: "at_action" | "historical_lookup" | "fixture";
2167
2167
  locator?: string | undefined;
2168
2168
  }[] | undefined;
@@ -2170,15 +2170,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2170
2170
  kind: "correction_approved";
2171
2171
  correctionId: string;
2172
2172
  approvedBy: {
2173
- id: string;
2174
- label: string;
2175
2173
  kind: "agent" | "human";
2174
+ label: string;
2175
+ id: string;
2176
2176
  };
2177
2177
  note?: string | undefined;
2178
2178
  evidence?: {
2179
- id: string;
2179
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2180
2180
  label: string;
2181
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2181
+ id: string;
2182
2182
  capture: "at_action" | "historical_lookup" | "fixture";
2183
2183
  locator?: string | undefined;
2184
2184
  }[] | undefined;
@@ -2188,9 +2188,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2188
2188
  correctionId: string;
2189
2189
  replacementDecisionId: string;
2190
2190
  evidence?: {
2191
- id: string;
2191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2192
  label: string;
2193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
+ id: string;
2194
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2195
2195
  locator?: string | undefined;
2196
2196
  }[] | undefined;
@@ -2203,9 +2203,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2203
2203
  recallReceiptId: string;
2204
2204
  capturedAtAction: boolean;
2205
2205
  evidence?: {
2206
- id: string;
2206
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2207
2207
  label: string;
2208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2208
+ id: string;
2209
2209
  capture: "at_action" | "historical_lookup" | "fixture";
2210
2210
  locator?: string | undefined;
2211
2211
  }[] | undefined;
@@ -2218,20 +2218,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2218
2218
  recallReceiptId: string;
2219
2219
  staleDecisionAbsent: boolean;
2220
2220
  evidence?: {
2221
- id: string;
2221
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2222
2222
  label: string;
2223
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2223
+ id: string;
2224
2224
  capture: "at_action" | "historical_lookup" | "fixture";
2225
2225
  locator?: string | undefined;
2226
2226
  }[] | undefined;
2227
2227
  } | {
2228
- summary: string;
2229
2228
  kind: "mission_completed";
2229
+ summary: string;
2230
2230
  outcome: "failed" | "recovered" | "inconclusive";
2231
2231
  evidence?: {
2232
- id: string;
2232
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
2233
  label: string;
2234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
+ id: string;
2235
2235
  capture: "at_action" | "historical_lookup" | "fixture";
2236
2236
  locator?: string | undefined;
2237
2237
  }[] | undefined;
@@ -2252,15 +2252,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2252
2252
  locator: z.ZodOptional<z.ZodString>;
2253
2253
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2254
2254
  }, "strict", z.ZodTypeAny, {
2255
- id: string;
2255
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2256
2256
  label: string;
2257
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
+ id: string;
2258
2258
  capture: "at_action" | "historical_lookup" | "fixture";
2259
2259
  locator?: string | undefined;
2260
2260
  }, {
2261
- id: string;
2261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2262
  label: string;
2263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
+ id: string;
2264
2264
  capture: "at_action" | "historical_lookup" | "fixture";
2265
2265
  locator?: string | undefined;
2266
2266
  }>, "many">>;
@@ -2268,9 +2268,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2268
2268
  kind: "mission_started";
2269
2269
  title: string;
2270
2270
  evidence: {
2271
- id: string;
2271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2272
2272
  label: string;
2273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
+ id: string;
2274
2274
  capture: "at_action" | "historical_lookup" | "fixture";
2275
2275
  locator?: string | undefined;
2276
2276
  }[];
@@ -2282,9 +2282,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2282
2282
  objective: string;
2283
2283
  runMode: "replay" | "fixture" | "live";
2284
2284
  evidence?: {
2285
- id: string;
2285
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
2286
  label: string;
2287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2287
+ id: string;
2288
2288
  capture: "at_action" | "historical_lookup" | "fixture";
2289
2289
  locator?: string | undefined;
2290
2290
  }[] | undefined;
@@ -2300,15 +2300,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2300
2300
  locator: z.ZodOptional<z.ZodString>;
2301
2301
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2302
2302
  }, "strict", z.ZodTypeAny, {
2303
- id: string;
2303
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2304
2304
  label: string;
2305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2305
+ id: string;
2306
2306
  capture: "at_action" | "historical_lookup" | "fixture";
2307
2307
  locator?: string | undefined;
2308
2308
  }, {
2309
- id: string;
2309
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
2310
  label: string;
2311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2311
+ id: string;
2312
2312
  capture: "at_action" | "historical_lookup" | "fixture";
2313
2313
  locator?: string | undefined;
2314
2314
  }>, "many">>;
@@ -2316,32 +2316,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2316
2316
  sessionId: z.ZodString;
2317
2317
  kind: z.ZodLiteral<"agent_status">;
2318
2318
  }, "strict", z.ZodTypeAny, {
2319
- label: string;
2320
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2321
2319
  kind: "agent_status";
2320
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2321
+ label: string;
2322
2322
  role: string;
2323
2323
  agentId: string;
2324
2324
  sessionId: string;
2325
2325
  evidence: {
2326
- id: string;
2326
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2327
2327
  label: string;
2328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2328
+ id: string;
2329
2329
  capture: "at_action" | "historical_lookup" | "fixture";
2330
2330
  locator?: string | undefined;
2331
2331
  }[];
2332
2332
  detail?: string | undefined;
2333
2333
  }, {
2334
- label: string;
2335
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2336
2334
  kind: "agent_status";
2335
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2336
+ label: string;
2337
2337
  role: string;
2338
2338
  agentId: string;
2339
2339
  sessionId: string;
2340
2340
  detail?: string | undefined;
2341
2341
  evidence?: {
2342
- id: string;
2342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2343
2343
  label: string;
2344
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2344
+ id: string;
2345
2345
  capture: "at_action" | "historical_lookup" | "fixture";
2346
2346
  locator?: string | undefined;
2347
2347
  }[] | undefined;
@@ -2355,15 +2355,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2355
2355
  locator: z.ZodOptional<z.ZodString>;
2356
2356
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2357
2357
  }, "strict", z.ZodTypeAny, {
2358
- id: string;
2358
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2359
2359
  label: string;
2360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2360
+ id: string;
2361
2361
  capture: "at_action" | "historical_lookup" | "fixture";
2362
2362
  locator?: string | undefined;
2363
2363
  }, {
2364
- id: string;
2364
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2365
  label: string;
2366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2366
+ id: string;
2367
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2368
  locator?: string | undefined;
2369
2369
  }>, "many">>;
@@ -2371,28 +2371,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2371
2371
  sessionId: z.ZodString;
2372
2372
  kind: z.ZodLiteral<"agent_output">;
2373
2373
  }, "strict", z.ZodTypeAny, {
2374
- summary: string;
2375
2374
  kind: "agent_output";
2375
+ summary: string;
2376
2376
  agentId: string;
2377
2377
  sessionId: string;
2378
2378
  evidence: {
2379
- id: string;
2379
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2380
2380
  label: string;
2381
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
+ id: string;
2382
2382
  capture: "at_action" | "historical_lookup" | "fixture";
2383
2383
  locator?: string | undefined;
2384
2384
  }[];
2385
2385
  outputId: string;
2386
2386
  }, {
2387
- summary: string;
2388
2387
  kind: "agent_output";
2388
+ summary: string;
2389
2389
  agentId: string;
2390
2390
  sessionId: string;
2391
2391
  outputId: string;
2392
2392
  evidence?: {
2393
- id: string;
2393
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
2394
  label: string;
2395
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
+ id: string;
2396
2396
  capture: "at_action" | "historical_lookup" | "fixture";
2397
2397
  locator?: string | undefined;
2398
2398
  }[] | undefined;
@@ -2408,15 +2408,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2408
2408
  locator: z.ZodOptional<z.ZodString>;
2409
2409
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2410
2410
  }, "strict", z.ZodTypeAny, {
2411
- id: string;
2411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2412
2412
  label: string;
2413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
+ id: string;
2414
2414
  capture: "at_action" | "historical_lookup" | "fixture";
2415
2415
  locator?: string | undefined;
2416
2416
  }, {
2417
- id: string;
2417
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2418
  label: string;
2419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2419
+ id: string;
2420
2420
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2421
  locator?: string | undefined;
2422
2422
  }>, "many">>;
@@ -2429,9 +2429,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2429
2429
  statement: string;
2430
2430
  sessionId: string;
2431
2431
  evidence: {
2432
- id: string;
2432
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
2433
  label: string;
2434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2434
+ id: string;
2435
2435
  capture: "at_action" | "historical_lookup" | "fixture";
2436
2436
  locator?: string | undefined;
2437
2437
  }[];
@@ -2447,9 +2447,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2447
2447
  decisionId: string;
2448
2448
  confidence?: number | undefined;
2449
2449
  evidence?: {
2450
- id: string;
2450
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2451
2451
  label: string;
2452
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2452
+ id: string;
2453
2453
  capture: "at_action" | "historical_lookup" | "fixture";
2454
2454
  locator?: string | undefined;
2455
2455
  }[] | undefined;
@@ -2466,25 +2466,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2466
2466
  locator: z.ZodOptional<z.ZodString>;
2467
2467
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2468
2468
  }, "strict", z.ZodTypeAny, {
2469
- id: string;
2469
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2470
2470
  label: string;
2471
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2471
+ id: string;
2472
2472
  capture: "at_action" | "historical_lookup" | "fixture";
2473
2473
  locator?: string | undefined;
2474
2474
  }, {
2475
- id: string;
2475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2476
  label: string;
2477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2477
+ id: string;
2478
2478
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2479
  locator?: string | undefined;
2480
2480
  }>, "many">>;
2481
2481
  }, "strict", z.ZodTypeAny, {
2482
- summary: string;
2483
2482
  kind: "conflict_detected";
2483
+ summary: string;
2484
2484
  evidence: {
2485
- id: string;
2485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2486
  label: string;
2487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
+ id: string;
2488
2488
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2489
  locator?: string | undefined;
2490
2490
  }[];
@@ -2492,15 +2492,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2492
2492
  decisionIds: string[];
2493
2493
  agentIds: string[];
2494
2494
  }, {
2495
- summary: string;
2496
2495
  kind: "conflict_detected";
2496
+ summary: string;
2497
2497
  conflictId: string;
2498
2498
  decisionIds: string[];
2499
2499
  agentIds: string[];
2500
2500
  evidence?: {
2501
- id: string;
2501
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
2502
  label: string;
2503
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
+ id: string;
2504
2504
  capture: "at_action" | "historical_lookup" | "fixture";
2505
2505
  locator?: string | undefined;
2506
2506
  }[] | undefined;
@@ -2520,27 +2520,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2520
2520
  locator: z.ZodOptional<z.ZodString>;
2521
2521
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2522
2522
  }, "strict", z.ZodTypeAny, {
2523
- id: string;
2523
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2524
2524
  label: string;
2525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2525
+ id: string;
2526
2526
  capture: "at_action" | "historical_lookup" | "fixture";
2527
2527
  locator?: string | undefined;
2528
2528
  }, {
2529
- id: string;
2529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
2530
  label: string;
2531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
+ id: string;
2532
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2533
2533
  locator?: string | undefined;
2534
2534
  }>, "many">>;
2535
2535
  }, "strict", z.ZodTypeAny, {
2536
+ kind: "test_result";
2536
2537
  summary: string;
2537
2538
  status: "error" | "failed" | "passed";
2538
- kind: "test_result";
2539
2539
  command: string;
2540
2540
  evidence: {
2541
- id: string;
2541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2542
  label: string;
2543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
+ id: string;
2544
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2545
  locator?: string | undefined;
2546
2546
  }[];
@@ -2549,17 +2549,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2549
2549
  durationMs?: number | undefined;
2550
2550
  correctionId?: string | undefined;
2551
2551
  }, {
2552
+ kind: "test_result";
2552
2553
  summary: string;
2553
2554
  status: "error" | "failed" | "passed";
2554
- kind: "test_result";
2555
2555
  command: string;
2556
2556
  decisionId: string;
2557
2557
  testId: string;
2558
2558
  durationMs?: number | undefined;
2559
2559
  evidence?: {
2560
- id: string;
2560
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2561
2561
  label: string;
2562
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2562
+ id: string;
2563
2563
  capture: "at_action" | "historical_lookup" | "fixture";
2564
2564
  locator?: string | undefined;
2565
2565
  }[] | undefined;
@@ -2580,15 +2580,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2580
2580
  locator: z.ZodOptional<z.ZodString>;
2581
2581
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2582
2582
  }, "strict", z.ZodTypeAny, {
2583
- id: string;
2583
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2584
2584
  label: string;
2585
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
+ id: string;
2586
2586
  capture: "at_action" | "historical_lookup" | "fixture";
2587
2587
  locator?: string | undefined;
2588
2588
  }, {
2589
- id: string;
2589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2590
  label: string;
2591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2591
+ id: string;
2592
2592
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2593
  locator?: string | undefined;
2594
2594
  }>, "many">>;
@@ -2597,9 +2597,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2597
2597
  statement: string;
2598
2598
  rationale: string;
2599
2599
  evidence: {
2600
- id: string;
2600
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2601
2601
  label: string;
2602
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
+ id: string;
2603
2603
  capture: "at_action" | "historical_lookup" | "fixture";
2604
2604
  locator?: string | undefined;
2605
2605
  }[];
@@ -2618,9 +2618,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2618
2618
  supersedesDecisionIds: string[];
2619
2619
  proposedBy: string;
2620
2620
  evidence?: {
2621
- id: string;
2621
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
2622
  label: string;
2623
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2623
+ id: string;
2624
2624
  capture: "at_action" | "historical_lookup" | "fixture";
2625
2625
  locator?: string | undefined;
2626
2626
  }[] | undefined;
@@ -2632,13 +2632,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2632
2632
  id: z.ZodString;
2633
2633
  label: z.ZodString;
2634
2634
  }, "strict", z.ZodTypeAny, {
2635
- id: string;
2636
- label: string;
2637
2635
  kind: "agent" | "human";
2638
- }, {
2639
- id: string;
2640
2636
  label: string;
2637
+ id: string;
2638
+ }, {
2641
2639
  kind: "agent" | "human";
2640
+ label: string;
2641
+ id: string;
2642
2642
  }>;
2643
2643
  note: z.ZodOptional<z.ZodString>;
2644
2644
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2648,47 +2648,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2648
2648
  locator: z.ZodOptional<z.ZodString>;
2649
2649
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2650
2650
  }, "strict", z.ZodTypeAny, {
2651
- id: string;
2651
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2652
2652
  label: string;
2653
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2653
+ id: string;
2654
2654
  capture: "at_action" | "historical_lookup" | "fixture";
2655
2655
  locator?: string | undefined;
2656
2656
  }, {
2657
- id: string;
2657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2658
  label: string;
2659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
+ id: string;
2660
2660
  capture: "at_action" | "historical_lookup" | "fixture";
2661
2661
  locator?: string | undefined;
2662
2662
  }>, "many">>;
2663
2663
  }, "strict", z.ZodTypeAny, {
2664
2664
  kind: "correction_approved";
2665
2665
  evidence: {
2666
- id: string;
2666
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2667
2667
  label: string;
2668
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
+ id: string;
2669
2669
  capture: "at_action" | "historical_lookup" | "fixture";
2670
2670
  locator?: string | undefined;
2671
2671
  }[];
2672
2672
  correctionId: string;
2673
2673
  approvedBy: {
2674
- id: string;
2675
- label: string;
2676
2674
  kind: "agent" | "human";
2675
+ label: string;
2676
+ id: string;
2677
2677
  };
2678
2678
  note?: string | undefined;
2679
2679
  }, {
2680
2680
  kind: "correction_approved";
2681
2681
  correctionId: string;
2682
2682
  approvedBy: {
2683
- id: string;
2684
- label: string;
2685
2683
  kind: "agent" | "human";
2684
+ label: string;
2685
+ id: string;
2686
2686
  };
2687
2687
  note?: string | undefined;
2688
2688
  evidence?: {
2689
- id: string;
2689
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2690
2690
  label: string;
2691
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2691
+ id: string;
2692
2692
  capture: "at_action" | "historical_lookup" | "fixture";
2693
2693
  locator?: string | undefined;
2694
2694
  }[] | undefined;
@@ -2704,24 +2704,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2704
2704
  locator: z.ZodOptional<z.ZodString>;
2705
2705
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2706
2706
  }, "strict", z.ZodTypeAny, {
2707
- id: string;
2707
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2708
2708
  label: string;
2709
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2709
+ id: string;
2710
2710
  capture: "at_action" | "historical_lookup" | "fixture";
2711
2711
  locator?: string | undefined;
2712
2712
  }, {
2713
- id: string;
2713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2714
  label: string;
2715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
+ id: string;
2716
2716
  capture: "at_action" | "historical_lookup" | "fixture";
2717
2717
  locator?: string | undefined;
2718
2718
  }>, "many">>;
2719
2719
  }, "strict", z.ZodTypeAny, {
2720
2720
  kind: "decision_superseded";
2721
2721
  evidence: {
2722
- id: string;
2722
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2723
2723
  label: string;
2724
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
+ id: string;
2725
2725
  capture: "at_action" | "historical_lookup" | "fixture";
2726
2726
  locator?: string | undefined;
2727
2727
  }[];
@@ -2734,9 +2734,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2734
2734
  correctionId: string;
2735
2735
  replacementDecisionId: string;
2736
2736
  evidence?: {
2737
- id: string;
2737
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2738
2738
  label: string;
2739
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2739
+ id: string;
2740
2740
  capture: "at_action" | "historical_lookup" | "fixture";
2741
2741
  locator?: string | undefined;
2742
2742
  }[] | undefined;
@@ -2752,15 +2752,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2752
2752
  locator: z.ZodOptional<z.ZodString>;
2753
2753
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2754
2754
  }, "strict", z.ZodTypeAny, {
2755
- id: string;
2755
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2756
2756
  label: string;
2757
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2757
+ id: string;
2758
2758
  capture: "at_action" | "historical_lookup" | "fixture";
2759
2759
  locator?: string | undefined;
2760
2760
  }, {
2761
- id: string;
2761
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2762
  label: string;
2763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
+ id: string;
2764
2764
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2765
  locator?: string | undefined;
2766
2766
  }>, "many">>;
@@ -2773,9 +2773,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2773
2773
  agentId: string;
2774
2774
  sessionId: string;
2775
2775
  evidence: {
2776
- id: string;
2776
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2777
2777
  label: string;
2778
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
+ id: string;
2779
2779
  capture: "at_action" | "historical_lookup" | "fixture";
2780
2780
  locator?: string | undefined;
2781
2781
  }[];
@@ -2791,9 +2791,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2791
2791
  recallReceiptId: string;
2792
2792
  capturedAtAction: boolean;
2793
2793
  evidence?: {
2794
- id: string;
2794
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2795
2795
  label: string;
2796
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2796
+ id: string;
2797
2797
  capture: "at_action" | "historical_lookup" | "fixture";
2798
2798
  locator?: string | undefined;
2799
2799
  }[] | undefined;
@@ -2809,15 +2809,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2809
2809
  locator: z.ZodOptional<z.ZodString>;
2810
2810
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2811
2811
  }, "strict", z.ZodTypeAny, {
2812
- id: string;
2812
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2813
2813
  label: string;
2814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2814
+ id: string;
2815
2815
  capture: "at_action" | "historical_lookup" | "fixture";
2816
2816
  locator?: string | undefined;
2817
2817
  }, {
2818
- id: string;
2818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
2819
  label: string;
2820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
+ id: string;
2821
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2822
2822
  locator?: string | undefined;
2823
2823
  }>, "many">>;
@@ -2829,9 +2829,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2829
2829
  agentId: string;
2830
2830
  sessionId: string;
2831
2831
  evidence: {
2832
- id: string;
2832
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2833
  label: string;
2834
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
+ id: string;
2835
2835
  capture: "at_action" | "historical_lookup" | "fixture";
2836
2836
  locator?: string | undefined;
2837
2837
  }[];
@@ -2848,9 +2848,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2848
2848
  recallReceiptId: string;
2849
2849
  staleDecisionAbsent: boolean;
2850
2850
  evidence?: {
2851
- id: string;
2851
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2852
2852
  label: string;
2853
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2853
+ id: string;
2854
2854
  capture: "at_action" | "historical_lookup" | "fixture";
2855
2855
  locator?: string | undefined;
2856
2856
  }[] | undefined;
@@ -2865,37 +2865,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2865
2865
  locator: z.ZodOptional<z.ZodString>;
2866
2866
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2867
2867
  }, "strict", z.ZodTypeAny, {
2868
- id: string;
2868
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2869
2869
  label: string;
2870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2870
+ id: string;
2871
2871
  capture: "at_action" | "historical_lookup" | "fixture";
2872
2872
  locator?: string | undefined;
2873
2873
  }, {
2874
- id: string;
2874
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2875
  label: string;
2876
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
+ id: string;
2877
2877
  capture: "at_action" | "historical_lookup" | "fixture";
2878
2878
  locator?: string | undefined;
2879
2879
  }>, "many">>;
2880
2880
  }, "strict", z.ZodTypeAny, {
2881
- summary: string;
2882
2881
  kind: "mission_completed";
2882
+ summary: string;
2883
2883
  outcome: "failed" | "recovered" | "inconclusive";
2884
2884
  evidence: {
2885
- id: string;
2885
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
2886
  label: string;
2887
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
+ id: string;
2888
2888
  capture: "at_action" | "historical_lookup" | "fixture";
2889
2889
  locator?: string | undefined;
2890
2890
  }[];
2891
2891
  }, {
2892
- summary: string;
2893
2892
  kind: "mission_completed";
2893
+ summary: string;
2894
2894
  outcome: "failed" | "recovered" | "inconclusive";
2895
2895
  evidence?: {
2896
- id: string;
2896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2897
2897
  label: string;
2898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
+ id: string;
2899
2899
  capture: "at_action" | "historical_lookup" | "fixture";
2900
2900
  locator?: string | undefined;
2901
2901
  }[] | undefined;
@@ -2903,38 +2903,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2903
2903
  kind: "mission_started";
2904
2904
  title: string;
2905
2905
  evidence: {
2906
- id: string;
2906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
2907
  label: string;
2908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2908
+ id: string;
2909
2909
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2910
  locator?: string | undefined;
2911
2911
  }[];
2912
2912
  objective: string;
2913
2913
  runMode: "replay" | "fixture" | "live";
2914
2914
  } | {
2915
- label: string;
2916
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2917
2915
  kind: "agent_status";
2916
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2917
+ label: string;
2918
2918
  role: string;
2919
2919
  agentId: string;
2920
2920
  sessionId: string;
2921
2921
  evidence: {
2922
- id: string;
2922
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2923
2923
  label: string;
2924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2924
+ id: string;
2925
2925
  capture: "at_action" | "historical_lookup" | "fixture";
2926
2926
  locator?: string | undefined;
2927
2927
  }[];
2928
2928
  detail?: string | undefined;
2929
2929
  } | {
2930
- summary: string;
2931
2930
  kind: "agent_output";
2931
+ summary: string;
2932
2932
  agentId: string;
2933
2933
  sessionId: string;
2934
2934
  evidence: {
2935
- id: string;
2935
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
2936
  label: string;
2937
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
+ id: string;
2938
2938
  capture: "at_action" | "historical_lookup" | "fixture";
2939
2939
  locator?: string | undefined;
2940
2940
  }[];
@@ -2945,9 +2945,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2945
2945
  statement: string;
2946
2946
  sessionId: string;
2947
2947
  evidence: {
2948
- id: string;
2948
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
2949
  label: string;
2950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
+ id: string;
2951
2951
  capture: "at_action" | "historical_lookup" | "fixture";
2952
2952
  locator?: string | undefined;
2953
2953
  }[];
@@ -2955,12 +2955,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2955
  decisionId: string;
2956
2956
  confidence?: number | undefined;
2957
2957
  } | {
2958
- summary: string;
2959
2958
  kind: "conflict_detected";
2959
+ summary: string;
2960
2960
  evidence: {
2961
- id: string;
2961
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
2962
  label: string;
2963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
+ id: string;
2964
2964
  capture: "at_action" | "historical_lookup" | "fixture";
2965
2965
  locator?: string | undefined;
2966
2966
  }[];
@@ -2968,14 +2968,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2968
2968
  decisionIds: string[];
2969
2969
  agentIds: string[];
2970
2970
  } | {
2971
+ kind: "test_result";
2971
2972
  summary: string;
2972
2973
  status: "error" | "failed" | "passed";
2973
- kind: "test_result";
2974
2974
  command: string;
2975
2975
  evidence: {
2976
- id: string;
2976
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2977
2977
  label: string;
2978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2978
+ id: string;
2979
2979
  capture: "at_action" | "historical_lookup" | "fixture";
2980
2980
  locator?: string | undefined;
2981
2981
  }[];
@@ -2988,9 +2988,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2988
2988
  statement: string;
2989
2989
  rationale: string;
2990
2990
  evidence: {
2991
- id: string;
2991
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2992
2992
  label: string;
2993
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2993
+ id: string;
2994
2994
  capture: "at_action" | "historical_lookup" | "fixture";
2995
2995
  locator?: string | undefined;
2996
2996
  }[];
@@ -3002,25 +3002,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3002
3002
  } | {
3003
3003
  kind: "correction_approved";
3004
3004
  evidence: {
3005
- id: string;
3005
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3006
  label: string;
3007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3007
+ id: string;
3008
3008
  capture: "at_action" | "historical_lookup" | "fixture";
3009
3009
  locator?: string | undefined;
3010
3010
  }[];
3011
3011
  correctionId: string;
3012
3012
  approvedBy: {
3013
- id: string;
3014
- label: string;
3015
3013
  kind: "agent" | "human";
3014
+ label: string;
3015
+ id: string;
3016
3016
  };
3017
3017
  note?: string | undefined;
3018
3018
  } | {
3019
3019
  kind: "decision_superseded";
3020
3020
  evidence: {
3021
- id: string;
3021
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3022
3022
  label: string;
3023
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3023
+ id: string;
3024
3024
  capture: "at_action" | "historical_lookup" | "fixture";
3025
3025
  locator?: string | undefined;
3026
3026
  }[];
@@ -3033,9 +3033,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3033
3033
  agentId: string;
3034
3034
  sessionId: string;
3035
3035
  evidence: {
3036
- id: string;
3036
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3037
3037
  label: string;
3038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3038
+ id: string;
3039
3039
  capture: "at_action" | "historical_lookup" | "fixture";
3040
3040
  locator?: string | undefined;
3041
3041
  }[];
@@ -3047,9 +3047,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3047
3047
  agentId: string;
3048
3048
  sessionId: string;
3049
3049
  evidence: {
3050
- id: string;
3050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
3051
  label: string;
3052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3052
+ id: string;
3053
3053
  capture: "at_action" | "historical_lookup" | "fixture";
3054
3054
  locator?: string | undefined;
3055
3055
  }[];
@@ -3058,13 +3058,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3058
3058
  recallReceiptId: string;
3059
3059
  staleDecisionAbsent: boolean;
3060
3060
  } | {
3061
- summary: string;
3062
3061
  kind: "mission_completed";
3062
+ summary: string;
3063
3063
  outcome: "failed" | "recovered" | "inconclusive";
3064
3064
  evidence: {
3065
- id: string;
3065
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3066
3066
  label: string;
3067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3067
+ id: string;
3068
3068
  capture: "at_action" | "historical_lookup" | "fixture";
3069
3069
  locator?: string | undefined;
3070
3070
  }[];
@@ -3074,37 +3074,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3074
3074
  objective: string;
3075
3075
  runMode: "replay" | "fixture" | "live";
3076
3076
  evidence?: {
3077
- id: string;
3077
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3078
  label: string;
3079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3079
+ id: string;
3080
3080
  capture: "at_action" | "historical_lookup" | "fixture";
3081
3081
  locator?: string | undefined;
3082
3082
  }[] | undefined;
3083
3083
  } | {
3084
- label: string;
3085
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3086
3084
  kind: "agent_status";
3085
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3086
+ label: string;
3087
3087
  role: string;
3088
3088
  agentId: string;
3089
3089
  sessionId: string;
3090
3090
  detail?: string | undefined;
3091
3091
  evidence?: {
3092
- id: string;
3092
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3093
3093
  label: string;
3094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3094
+ id: string;
3095
3095
  capture: "at_action" | "historical_lookup" | "fixture";
3096
3096
  locator?: string | undefined;
3097
3097
  }[] | undefined;
3098
3098
  } | {
3099
- summary: string;
3100
3099
  kind: "agent_output";
3100
+ summary: string;
3101
3101
  agentId: string;
3102
3102
  sessionId: string;
3103
3103
  outputId: string;
3104
3104
  evidence?: {
3105
- id: string;
3105
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3106
3106
  label: string;
3107
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3107
+ id: string;
3108
3108
  capture: "at_action" | "historical_lookup" | "fixture";
3109
3109
  locator?: string | undefined;
3110
3110
  }[] | undefined;
@@ -3117,37 +3117,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3117
3117
  decisionId: string;
3118
3118
  confidence?: number | undefined;
3119
3119
  evidence?: {
3120
- id: string;
3120
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3121
3121
  label: string;
3122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3122
+ id: string;
3123
3123
  capture: "at_action" | "historical_lookup" | "fixture";
3124
3124
  locator?: string | undefined;
3125
3125
  }[] | undefined;
3126
3126
  } | {
3127
- summary: string;
3128
3127
  kind: "conflict_detected";
3128
+ summary: string;
3129
3129
  conflictId: string;
3130
3130
  decisionIds: string[];
3131
3131
  agentIds: string[];
3132
3132
  evidence?: {
3133
- id: string;
3133
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3134
3134
  label: string;
3135
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3135
+ id: string;
3136
3136
  capture: "at_action" | "historical_lookup" | "fixture";
3137
3137
  locator?: string | undefined;
3138
3138
  }[] | undefined;
3139
3139
  } | {
3140
+ kind: "test_result";
3140
3141
  summary: string;
3141
3142
  status: "error" | "failed" | "passed";
3142
- kind: "test_result";
3143
3143
  command: string;
3144
3144
  decisionId: string;
3145
3145
  testId: string;
3146
3146
  durationMs?: number | undefined;
3147
3147
  evidence?: {
3148
- id: string;
3148
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
3149
  label: string;
3150
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3150
+ id: string;
3151
3151
  capture: "at_action" | "historical_lookup" | "fixture";
3152
3152
  locator?: string | undefined;
3153
3153
  }[] | undefined;
@@ -3162,9 +3162,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3162
3162
  supersedesDecisionIds: string[];
3163
3163
  proposedBy: string;
3164
3164
  evidence?: {
3165
- id: string;
3165
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3166
3166
  label: string;
3167
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
+ id: string;
3168
3168
  capture: "at_action" | "historical_lookup" | "fixture";
3169
3169
  locator?: string | undefined;
3170
3170
  }[] | undefined;
@@ -3172,15 +3172,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3172
3172
  kind: "correction_approved";
3173
3173
  correctionId: string;
3174
3174
  approvedBy: {
3175
- id: string;
3176
- label: string;
3177
3175
  kind: "agent" | "human";
3176
+ label: string;
3177
+ id: string;
3178
3178
  };
3179
3179
  note?: string | undefined;
3180
3180
  evidence?: {
3181
- id: string;
3181
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3182
3182
  label: string;
3183
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3183
+ id: string;
3184
3184
  capture: "at_action" | "historical_lookup" | "fixture";
3185
3185
  locator?: string | undefined;
3186
3186
  }[] | undefined;
@@ -3190,9 +3190,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3190
3190
  correctionId: string;
3191
3191
  replacementDecisionId: string;
3192
3192
  evidence?: {
3193
- id: string;
3193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3194
  label: string;
3195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3195
+ id: string;
3196
3196
  capture: "at_action" | "historical_lookup" | "fixture";
3197
3197
  locator?: string | undefined;
3198
3198
  }[] | undefined;
@@ -3205,9 +3205,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3205
3205
  recallReceiptId: string;
3206
3206
  capturedAtAction: boolean;
3207
3207
  evidence?: {
3208
- id: string;
3208
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3209
3209
  label: string;
3210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3210
+ id: string;
3211
3211
  capture: "at_action" | "historical_lookup" | "fixture";
3212
3212
  locator?: string | undefined;
3213
3213
  }[] | undefined;
@@ -3220,20 +3220,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3220
3220
  recallReceiptId: string;
3221
3221
  staleDecisionAbsent: boolean;
3222
3222
  evidence?: {
3223
- id: string;
3223
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3224
3224
  label: string;
3225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3225
+ id: string;
3226
3226
  capture: "at_action" | "historical_lookup" | "fixture";
3227
3227
  locator?: string | undefined;
3228
3228
  }[] | undefined;
3229
3229
  } | {
3230
- summary: string;
3231
3230
  kind: "mission_completed";
3231
+ summary: string;
3232
3232
  outcome: "failed" | "recovered" | "inconclusive";
3233
3233
  evidence?: {
3234
- id: string;
3234
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
3235
  label: string;
3236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
+ id: string;
3237
3237
  capture: "at_action" | "historical_lookup" | "fixture";
3238
3238
  locator?: string | undefined;
3239
3239
  }[] | undefined;
@@ -3243,38 +3243,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3243
3243
  kind: "mission_started";
3244
3244
  title: string;
3245
3245
  evidence: {
3246
- id: string;
3246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3247
  label: string;
3248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3248
+ id: string;
3249
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3250
3250
  locator?: string | undefined;
3251
3251
  }[];
3252
3252
  objective: string;
3253
3253
  runMode: "replay" | "fixture" | "live";
3254
3254
  } | {
3255
- label: string;
3256
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3257
3255
  kind: "agent_status";
3256
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3257
+ label: string;
3258
3258
  role: string;
3259
3259
  agentId: string;
3260
3260
  sessionId: string;
3261
3261
  evidence: {
3262
- id: string;
3262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
3263
  label: string;
3264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3264
+ id: string;
3265
3265
  capture: "at_action" | "historical_lookup" | "fixture";
3266
3266
  locator?: string | undefined;
3267
3267
  }[];
3268
3268
  detail?: string | undefined;
3269
3269
  } | {
3270
- summary: string;
3271
3270
  kind: "agent_output";
3271
+ summary: string;
3272
3272
  agentId: string;
3273
3273
  sessionId: string;
3274
3274
  evidence: {
3275
- id: string;
3275
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3276
  label: string;
3277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
+ id: string;
3278
3278
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3279
  locator?: string | undefined;
3280
3280
  }[];
@@ -3285,9 +3285,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3285
3285
  statement: string;
3286
3286
  sessionId: string;
3287
3287
  evidence: {
3288
- id: string;
3288
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3289
3289
  label: string;
3290
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
+ id: string;
3291
3291
  capture: "at_action" | "historical_lookup" | "fixture";
3292
3292
  locator?: string | undefined;
3293
3293
  }[];
@@ -3295,12 +3295,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3295
3295
  decisionId: string;
3296
3296
  confidence?: number | undefined;
3297
3297
  } | {
3298
- summary: string;
3299
3298
  kind: "conflict_detected";
3299
+ summary: string;
3300
3300
  evidence: {
3301
- id: string;
3301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3302
3302
  label: string;
3303
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
+ id: string;
3304
3304
  capture: "at_action" | "historical_lookup" | "fixture";
3305
3305
  locator?: string | undefined;
3306
3306
  }[];
@@ -3308,14 +3308,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3308
3308
  decisionIds: string[];
3309
3309
  agentIds: string[];
3310
3310
  } | {
3311
+ kind: "test_result";
3311
3312
  summary: string;
3312
3313
  status: "error" | "failed" | "passed";
3313
- kind: "test_result";
3314
3314
  command: string;
3315
3315
  evidence: {
3316
- id: string;
3316
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3317
3317
  label: string;
3318
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3318
+ id: string;
3319
3319
  capture: "at_action" | "historical_lookup" | "fixture";
3320
3320
  locator?: string | undefined;
3321
3321
  }[];
@@ -3328,9 +3328,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3328
3328
  statement: string;
3329
3329
  rationale: string;
3330
3330
  evidence: {
3331
- id: string;
3331
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3332
3332
  label: string;
3333
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
+ id: string;
3334
3334
  capture: "at_action" | "historical_lookup" | "fixture";
3335
3335
  locator?: string | undefined;
3336
3336
  }[];
@@ -3342,25 +3342,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3342
3342
  } | {
3343
3343
  kind: "correction_approved";
3344
3344
  evidence: {
3345
- id: string;
3345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3346
3346
  label: string;
3347
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3347
+ id: string;
3348
3348
  capture: "at_action" | "historical_lookup" | "fixture";
3349
3349
  locator?: string | undefined;
3350
3350
  }[];
3351
3351
  correctionId: string;
3352
3352
  approvedBy: {
3353
- id: string;
3354
- label: string;
3355
3353
  kind: "agent" | "human";
3354
+ label: string;
3355
+ id: string;
3356
3356
  };
3357
3357
  note?: string | undefined;
3358
3358
  } | {
3359
3359
  kind: "decision_superseded";
3360
3360
  evidence: {
3361
- id: string;
3361
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3362
3362
  label: string;
3363
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3363
+ id: string;
3364
3364
  capture: "at_action" | "historical_lookup" | "fixture";
3365
3365
  locator?: string | undefined;
3366
3366
  }[];
@@ -3373,9 +3373,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3373
3373
  agentId: string;
3374
3374
  sessionId: string;
3375
3375
  evidence: {
3376
- id: string;
3376
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3377
3377
  label: string;
3378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3378
+ id: string;
3379
3379
  capture: "at_action" | "historical_lookup" | "fixture";
3380
3380
  locator?: string | undefined;
3381
3381
  }[];
@@ -3387,9 +3387,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3387
3387
  agentId: string;
3388
3388
  sessionId: string;
3389
3389
  evidence: {
3390
- id: string;
3390
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3391
3391
  label: string;
3392
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
+ id: string;
3393
3393
  capture: "at_action" | "historical_lookup" | "fixture";
3394
3394
  locator?: string | undefined;
3395
3395
  }[];
@@ -3398,13 +3398,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3398
3398
  recallReceiptId: string;
3399
3399
  staleDecisionAbsent: boolean;
3400
3400
  } | {
3401
- summary: string;
3402
3401
  kind: "mission_completed";
3402
+ summary: string;
3403
3403
  outcome: "failed" | "recovered" | "inconclusive";
3404
3404
  evidence: {
3405
- id: string;
3405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3406
3406
  label: string;
3407
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
+ id: string;
3408
3408
  capture: "at_action" | "historical_lookup" | "fixture";
3409
3409
  locator?: string | undefined;
3410
3410
  }[];
@@ -3418,37 +3418,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3418
3418
  objective: string;
3419
3419
  runMode: "replay" | "fixture" | "live";
3420
3420
  evidence?: {
3421
- id: string;
3421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3422
3422
  label: string;
3423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
+ id: string;
3424
3424
  capture: "at_action" | "historical_lookup" | "fixture";
3425
3425
  locator?: string | undefined;
3426
3426
  }[] | undefined;
3427
3427
  } | {
3428
- label: string;
3429
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3430
3428
  kind: "agent_status";
3429
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3430
+ label: string;
3431
3431
  role: string;
3432
3432
  agentId: string;
3433
3433
  sessionId: string;
3434
3434
  detail?: string | undefined;
3435
3435
  evidence?: {
3436
- id: string;
3436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
3437
  label: string;
3438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3438
+ id: string;
3439
3439
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3440
  locator?: string | undefined;
3441
3441
  }[] | undefined;
3442
3442
  } | {
3443
- summary: string;
3444
3443
  kind: "agent_output";
3444
+ summary: string;
3445
3445
  agentId: string;
3446
3446
  sessionId: string;
3447
3447
  outputId: string;
3448
3448
  evidence?: {
3449
- id: string;
3449
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3450
3450
  label: string;
3451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3451
+ id: string;
3452
3452
  capture: "at_action" | "historical_lookup" | "fixture";
3453
3453
  locator?: string | undefined;
3454
3454
  }[] | undefined;
@@ -3461,37 +3461,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3461
3461
  decisionId: string;
3462
3462
  confidence?: number | undefined;
3463
3463
  evidence?: {
3464
- id: string;
3464
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3465
3465
  label: string;
3466
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3466
+ id: string;
3467
3467
  capture: "at_action" | "historical_lookup" | "fixture";
3468
3468
  locator?: string | undefined;
3469
3469
  }[] | undefined;
3470
3470
  } | {
3471
- summary: string;
3472
3471
  kind: "conflict_detected";
3472
+ summary: string;
3473
3473
  conflictId: string;
3474
3474
  decisionIds: string[];
3475
3475
  agentIds: string[];
3476
3476
  evidence?: {
3477
- id: string;
3477
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3478
3478
  label: string;
3479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
+ id: string;
3480
3480
  capture: "at_action" | "historical_lookup" | "fixture";
3481
3481
  locator?: string | undefined;
3482
3482
  }[] | undefined;
3483
3483
  } | {
3484
+ kind: "test_result";
3484
3485
  summary: string;
3485
3486
  status: "error" | "failed" | "passed";
3486
- kind: "test_result";
3487
3487
  command: string;
3488
3488
  decisionId: string;
3489
3489
  testId: string;
3490
3490
  durationMs?: number | undefined;
3491
3491
  evidence?: {
3492
- id: string;
3492
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3493
3493
  label: string;
3494
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
+ id: string;
3495
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3496
3496
  locator?: string | undefined;
3497
3497
  }[] | undefined;
@@ -3506,9 +3506,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3506
3506
  supersedesDecisionIds: string[];
3507
3507
  proposedBy: string;
3508
3508
  evidence?: {
3509
- id: string;
3509
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3510
3510
  label: string;
3511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3511
+ id: string;
3512
3512
  capture: "at_action" | "historical_lookup" | "fixture";
3513
3513
  locator?: string | undefined;
3514
3514
  }[] | undefined;
@@ -3516,15 +3516,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3516
3516
  kind: "correction_approved";
3517
3517
  correctionId: string;
3518
3518
  approvedBy: {
3519
- id: string;
3520
- label: string;
3521
3519
  kind: "agent" | "human";
3520
+ label: string;
3521
+ id: string;
3522
3522
  };
3523
3523
  note?: string | undefined;
3524
3524
  evidence?: {
3525
- id: string;
3525
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3526
3526
  label: string;
3527
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3527
+ id: string;
3528
3528
  capture: "at_action" | "historical_lookup" | "fixture";
3529
3529
  locator?: string | undefined;
3530
3530
  }[] | undefined;
@@ -3534,9 +3534,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3534
3534
  correctionId: string;
3535
3535
  replacementDecisionId: string;
3536
3536
  evidence?: {
3537
- id: string;
3537
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
3538
  label: string;
3539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3539
+ id: string;
3540
3540
  capture: "at_action" | "historical_lookup" | "fixture";
3541
3541
  locator?: string | undefined;
3542
3542
  }[] | undefined;
@@ -3549,9 +3549,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3549
3549
  recallReceiptId: string;
3550
3550
  capturedAtAction: boolean;
3551
3551
  evidence?: {
3552
- id: string;
3552
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3553
3553
  label: string;
3554
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
+ id: string;
3555
3555
  capture: "at_action" | "historical_lookup" | "fixture";
3556
3556
  locator?: string | undefined;
3557
3557
  }[] | undefined;
@@ -3564,20 +3564,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3564
3564
  recallReceiptId: string;
3565
3565
  staleDecisionAbsent: boolean;
3566
3566
  evidence?: {
3567
- id: string;
3567
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
3568
  label: string;
3569
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3569
+ id: string;
3570
3570
  capture: "at_action" | "historical_lookup" | "fixture";
3571
3571
  locator?: string | undefined;
3572
3572
  }[] | undefined;
3573
3573
  } | {
3574
- summary: string;
3575
3574
  kind: "mission_completed";
3575
+ summary: string;
3576
3576
  outcome: "failed" | "recovered" | "inconclusive";
3577
3577
  evidence?: {
3578
- id: string;
3578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3579
3579
  label: string;
3580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
+ id: string;
3581
3581
  capture: "at_action" | "historical_lookup" | "fixture";
3582
3582
  locator?: string | undefined;
3583
3583
  }[] | undefined;
@@ -3607,15 +3607,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3607
3607
  locator: z.ZodOptional<z.ZodString>;
3608
3608
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3609
3609
  }, "strict", z.ZodTypeAny, {
3610
- id: string;
3610
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3611
3611
  label: string;
3612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
+ id: string;
3613
3613
  capture: "at_action" | "historical_lookup" | "fixture";
3614
3614
  locator?: string | undefined;
3615
3615
  }, {
3616
- id: string;
3616
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
3617
  label: string;
3618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3618
+ id: string;
3619
3619
  capture: "at_action" | "historical_lookup" | "fixture";
3620
3620
  locator?: string | undefined;
3621
3621
  }>, "many">>;
@@ -3623,9 +3623,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3623
3623
  kind: "mission_started";
3624
3624
  title: string;
3625
3625
  evidence: {
3626
- id: string;
3626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3627
3627
  label: string;
3628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3628
+ id: string;
3629
3629
  capture: "at_action" | "historical_lookup" | "fixture";
3630
3630
  locator?: string | undefined;
3631
3631
  }[];
@@ -3637,9 +3637,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3637
3637
  objective: string;
3638
3638
  runMode: "replay" | "fixture" | "live";
3639
3639
  evidence?: {
3640
- id: string;
3640
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
3641
  label: string;
3642
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3642
+ id: string;
3643
3643
  capture: "at_action" | "historical_lookup" | "fixture";
3644
3644
  locator?: string | undefined;
3645
3645
  }[] | undefined;
@@ -3655,15 +3655,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3655
3655
  locator: z.ZodOptional<z.ZodString>;
3656
3656
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3657
3657
  }, "strict", z.ZodTypeAny, {
3658
- id: string;
3658
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3659
3659
  label: string;
3660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3660
+ id: string;
3661
3661
  capture: "at_action" | "historical_lookup" | "fixture";
3662
3662
  locator?: string | undefined;
3663
3663
  }, {
3664
- id: string;
3664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
3665
  label: string;
3666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
+ id: string;
3667
3667
  capture: "at_action" | "historical_lookup" | "fixture";
3668
3668
  locator?: string | undefined;
3669
3669
  }>, "many">>;
@@ -3671,32 +3671,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3671
3671
  sessionId: z.ZodString;
3672
3672
  kind: z.ZodLiteral<"agent_status">;
3673
3673
  }, "strict", z.ZodTypeAny, {
3674
- label: string;
3675
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3676
3674
  kind: "agent_status";
3675
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3676
+ label: string;
3677
3677
  role: string;
3678
3678
  agentId: string;
3679
3679
  sessionId: string;
3680
3680
  evidence: {
3681
- id: string;
3681
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3682
3682
  label: string;
3683
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3683
+ id: string;
3684
3684
  capture: "at_action" | "historical_lookup" | "fixture";
3685
3685
  locator?: string | undefined;
3686
3686
  }[];
3687
3687
  detail?: string | undefined;
3688
3688
  }, {
3689
- label: string;
3690
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3691
3689
  kind: "agent_status";
3690
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3691
+ label: string;
3692
3692
  role: string;
3693
3693
  agentId: string;
3694
3694
  sessionId: string;
3695
3695
  detail?: string | undefined;
3696
3696
  evidence?: {
3697
- id: string;
3697
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3698
3698
  label: string;
3699
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3699
+ id: string;
3700
3700
  capture: "at_action" | "historical_lookup" | "fixture";
3701
3701
  locator?: string | undefined;
3702
3702
  }[] | undefined;
@@ -3710,15 +3710,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3710
3710
  locator: z.ZodOptional<z.ZodString>;
3711
3711
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3712
3712
  }, "strict", z.ZodTypeAny, {
3713
- id: string;
3713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3714
3714
  label: string;
3715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3715
+ id: string;
3716
3716
  capture: "at_action" | "historical_lookup" | "fixture";
3717
3717
  locator?: string | undefined;
3718
3718
  }, {
3719
- id: string;
3719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3720
  label: string;
3721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3721
+ id: string;
3722
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3723
  locator?: string | undefined;
3724
3724
  }>, "many">>;
@@ -3726,28 +3726,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3726
3726
  sessionId: z.ZodString;
3727
3727
  kind: z.ZodLiteral<"agent_output">;
3728
3728
  }, "strict", z.ZodTypeAny, {
3729
- summary: string;
3730
3729
  kind: "agent_output";
3730
+ summary: string;
3731
3731
  agentId: string;
3732
3732
  sessionId: string;
3733
3733
  evidence: {
3734
- id: string;
3734
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3735
3735
  label: string;
3736
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
+ id: string;
3737
3737
  capture: "at_action" | "historical_lookup" | "fixture";
3738
3738
  locator?: string | undefined;
3739
3739
  }[];
3740
3740
  outputId: string;
3741
3741
  }, {
3742
- summary: string;
3743
3742
  kind: "agent_output";
3743
+ summary: string;
3744
3744
  agentId: string;
3745
3745
  sessionId: string;
3746
3746
  outputId: string;
3747
3747
  evidence?: {
3748
- id: string;
3748
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
3749
  label: string;
3750
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
+ id: string;
3751
3751
  capture: "at_action" | "historical_lookup" | "fixture";
3752
3752
  locator?: string | undefined;
3753
3753
  }[] | undefined;
@@ -3763,15 +3763,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3763
3763
  locator: z.ZodOptional<z.ZodString>;
3764
3764
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3765
3765
  }, "strict", z.ZodTypeAny, {
3766
- id: string;
3766
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3767
3767
  label: string;
3768
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
+ id: string;
3769
3769
  capture: "at_action" | "historical_lookup" | "fixture";
3770
3770
  locator?: string | undefined;
3771
3771
  }, {
3772
- id: string;
3772
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3773
  label: string;
3774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3774
+ id: string;
3775
3775
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3776
  locator?: string | undefined;
3777
3777
  }>, "many">>;
@@ -3784,9 +3784,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3784
3784
  statement: string;
3785
3785
  sessionId: string;
3786
3786
  evidence: {
3787
- id: string;
3787
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
3788
  label: string;
3789
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3789
+ id: string;
3790
3790
  capture: "at_action" | "historical_lookup" | "fixture";
3791
3791
  locator?: string | undefined;
3792
3792
  }[];
@@ -3802,9 +3802,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3802
3802
  decisionId: string;
3803
3803
  confidence?: number | undefined;
3804
3804
  evidence?: {
3805
- id: string;
3805
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3806
3806
  label: string;
3807
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3807
+ id: string;
3808
3808
  capture: "at_action" | "historical_lookup" | "fixture";
3809
3809
  locator?: string | undefined;
3810
3810
  }[] | undefined;
@@ -3821,25 +3821,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3821
3821
  locator: z.ZodOptional<z.ZodString>;
3822
3822
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3823
3823
  }, "strict", z.ZodTypeAny, {
3824
- id: string;
3824
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3825
3825
  label: string;
3826
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3826
+ id: string;
3827
3827
  capture: "at_action" | "historical_lookup" | "fixture";
3828
3828
  locator?: string | undefined;
3829
3829
  }, {
3830
- id: string;
3830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3831
  label: string;
3832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3832
+ id: string;
3833
3833
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3834
  locator?: string | undefined;
3835
3835
  }>, "many">>;
3836
3836
  }, "strict", z.ZodTypeAny, {
3837
- summary: string;
3838
3837
  kind: "conflict_detected";
3838
+ summary: string;
3839
3839
  evidence: {
3840
- id: string;
3840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3841
  label: string;
3842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
+ id: string;
3843
3843
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3844
  locator?: string | undefined;
3845
3845
  }[];
@@ -3847,15 +3847,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3847
3847
  decisionIds: string[];
3848
3848
  agentIds: string[];
3849
3849
  }, {
3850
- summary: string;
3851
3850
  kind: "conflict_detected";
3851
+ summary: string;
3852
3852
  conflictId: string;
3853
3853
  decisionIds: string[];
3854
3854
  agentIds: string[];
3855
3855
  evidence?: {
3856
- id: string;
3856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
3857
  label: string;
3858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
+ id: string;
3859
3859
  capture: "at_action" | "historical_lookup" | "fixture";
3860
3860
  locator?: string | undefined;
3861
3861
  }[] | undefined;
@@ -3875,27 +3875,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3875
3875
  locator: z.ZodOptional<z.ZodString>;
3876
3876
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3877
3877
  }, "strict", z.ZodTypeAny, {
3878
- id: string;
3878
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3879
3879
  label: string;
3880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3880
+ id: string;
3881
3881
  capture: "at_action" | "historical_lookup" | "fixture";
3882
3882
  locator?: string | undefined;
3883
3883
  }, {
3884
- id: string;
3884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
3885
  label: string;
3886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
+ id: string;
3887
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3888
3888
  locator?: string | undefined;
3889
3889
  }>, "many">>;
3890
3890
  }, "strict", z.ZodTypeAny, {
3891
+ kind: "test_result";
3891
3892
  summary: string;
3892
3893
  status: "error" | "failed" | "passed";
3893
- kind: "test_result";
3894
3894
  command: string;
3895
3895
  evidence: {
3896
- id: string;
3896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3897
  label: string;
3898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
+ id: string;
3899
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3900
  locator?: string | undefined;
3901
3901
  }[];
@@ -3904,17 +3904,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3904
3904
  durationMs?: number | undefined;
3905
3905
  correctionId?: string | undefined;
3906
3906
  }, {
3907
+ kind: "test_result";
3907
3908
  summary: string;
3908
3909
  status: "error" | "failed" | "passed";
3909
- kind: "test_result";
3910
3910
  command: string;
3911
3911
  decisionId: string;
3912
3912
  testId: string;
3913
3913
  durationMs?: number | undefined;
3914
3914
  evidence?: {
3915
- id: string;
3915
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3916
3916
  label: string;
3917
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3917
+ id: string;
3918
3918
  capture: "at_action" | "historical_lookup" | "fixture";
3919
3919
  locator?: string | undefined;
3920
3920
  }[] | undefined;
@@ -3935,15 +3935,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3935
3935
  locator: z.ZodOptional<z.ZodString>;
3936
3936
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3937
3937
  }, "strict", z.ZodTypeAny, {
3938
- id: string;
3938
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3939
3939
  label: string;
3940
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
+ id: string;
3941
3941
  capture: "at_action" | "historical_lookup" | "fixture";
3942
3942
  locator?: string | undefined;
3943
3943
  }, {
3944
- id: string;
3944
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3945
  label: string;
3946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3946
+ id: string;
3947
3947
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3948
  locator?: string | undefined;
3949
3949
  }>, "many">>;
@@ -3952,9 +3952,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3952
3952
  statement: string;
3953
3953
  rationale: string;
3954
3954
  evidence: {
3955
- id: string;
3955
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3956
3956
  label: string;
3957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
+ id: string;
3958
3958
  capture: "at_action" | "historical_lookup" | "fixture";
3959
3959
  locator?: string | undefined;
3960
3960
  }[];
@@ -3973,9 +3973,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3973
3973
  supersedesDecisionIds: string[];
3974
3974
  proposedBy: string;
3975
3975
  evidence?: {
3976
- id: string;
3976
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
3977
  label: string;
3978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3978
+ id: string;
3979
3979
  capture: "at_action" | "historical_lookup" | "fixture";
3980
3980
  locator?: string | undefined;
3981
3981
  }[] | undefined;
@@ -3987,13 +3987,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3987
3987
  id: z.ZodString;
3988
3988
  label: z.ZodString;
3989
3989
  }, "strict", z.ZodTypeAny, {
3990
- id: string;
3991
- label: string;
3992
3990
  kind: "agent" | "human";
3993
- }, {
3994
- id: string;
3995
3991
  label: string;
3992
+ id: string;
3993
+ }, {
3996
3994
  kind: "agent" | "human";
3995
+ label: string;
3996
+ id: string;
3997
3997
  }>;
3998
3998
  note: z.ZodOptional<z.ZodString>;
3999
3999
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4003,47 +4003,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4003
4003
  locator: z.ZodOptional<z.ZodString>;
4004
4004
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4005
4005
  }, "strict", z.ZodTypeAny, {
4006
- id: string;
4006
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4007
4007
  label: string;
4008
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4008
+ id: string;
4009
4009
  capture: "at_action" | "historical_lookup" | "fixture";
4010
4010
  locator?: string | undefined;
4011
4011
  }, {
4012
- id: string;
4012
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4013
  label: string;
4014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
+ id: string;
4015
4015
  capture: "at_action" | "historical_lookup" | "fixture";
4016
4016
  locator?: string | undefined;
4017
4017
  }>, "many">>;
4018
4018
  }, "strict", z.ZodTypeAny, {
4019
4019
  kind: "correction_approved";
4020
4020
  evidence: {
4021
- id: string;
4021
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4022
4022
  label: string;
4023
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
+ id: string;
4024
4024
  capture: "at_action" | "historical_lookup" | "fixture";
4025
4025
  locator?: string | undefined;
4026
4026
  }[];
4027
4027
  correctionId: string;
4028
4028
  approvedBy: {
4029
- id: string;
4030
- label: string;
4031
4029
  kind: "agent" | "human";
4030
+ label: string;
4031
+ id: string;
4032
4032
  };
4033
4033
  note?: string | undefined;
4034
4034
  }, {
4035
4035
  kind: "correction_approved";
4036
4036
  correctionId: string;
4037
4037
  approvedBy: {
4038
- id: string;
4039
- label: string;
4040
4038
  kind: "agent" | "human";
4039
+ label: string;
4040
+ id: string;
4041
4041
  };
4042
4042
  note?: string | undefined;
4043
4043
  evidence?: {
4044
- id: string;
4044
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4045
4045
  label: string;
4046
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4046
+ id: string;
4047
4047
  capture: "at_action" | "historical_lookup" | "fixture";
4048
4048
  locator?: string | undefined;
4049
4049
  }[] | undefined;
@@ -4059,24 +4059,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4059
4059
  locator: z.ZodOptional<z.ZodString>;
4060
4060
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4061
4061
  }, "strict", z.ZodTypeAny, {
4062
- id: string;
4062
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4063
4063
  label: string;
4064
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4064
+ id: string;
4065
4065
  capture: "at_action" | "historical_lookup" | "fixture";
4066
4066
  locator?: string | undefined;
4067
4067
  }, {
4068
- id: string;
4068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4069
  label: string;
4070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
+ id: string;
4071
4071
  capture: "at_action" | "historical_lookup" | "fixture";
4072
4072
  locator?: string | undefined;
4073
4073
  }>, "many">>;
4074
4074
  }, "strict", z.ZodTypeAny, {
4075
4075
  kind: "decision_superseded";
4076
4076
  evidence: {
4077
- id: string;
4077
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4078
4078
  label: string;
4079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
+ id: string;
4080
4080
  capture: "at_action" | "historical_lookup" | "fixture";
4081
4081
  locator?: string | undefined;
4082
4082
  }[];
@@ -4089,9 +4089,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4089
4089
  correctionId: string;
4090
4090
  replacementDecisionId: string;
4091
4091
  evidence?: {
4092
- id: string;
4092
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4093
4093
  label: string;
4094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4094
+ id: string;
4095
4095
  capture: "at_action" | "historical_lookup" | "fixture";
4096
4096
  locator?: string | undefined;
4097
4097
  }[] | undefined;
@@ -4107,15 +4107,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4107
4107
  locator: z.ZodOptional<z.ZodString>;
4108
4108
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4109
4109
  }, "strict", z.ZodTypeAny, {
4110
- id: string;
4110
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4111
4111
  label: string;
4112
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4112
+ id: string;
4113
4113
  capture: "at_action" | "historical_lookup" | "fixture";
4114
4114
  locator?: string | undefined;
4115
4115
  }, {
4116
- id: string;
4116
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4117
  label: string;
4118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
+ id: string;
4119
4119
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4120
  locator?: string | undefined;
4121
4121
  }>, "many">>;
@@ -4128,9 +4128,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4128
4128
  agentId: string;
4129
4129
  sessionId: string;
4130
4130
  evidence: {
4131
- id: string;
4131
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4132
4132
  label: string;
4133
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
+ id: string;
4134
4134
  capture: "at_action" | "historical_lookup" | "fixture";
4135
4135
  locator?: string | undefined;
4136
4136
  }[];
@@ -4146,9 +4146,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4146
4146
  recallReceiptId: string;
4147
4147
  capturedAtAction: boolean;
4148
4148
  evidence?: {
4149
- id: string;
4149
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4150
4150
  label: string;
4151
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4151
+ id: string;
4152
4152
  capture: "at_action" | "historical_lookup" | "fixture";
4153
4153
  locator?: string | undefined;
4154
4154
  }[] | undefined;
@@ -4164,15 +4164,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4164
4164
  locator: z.ZodOptional<z.ZodString>;
4165
4165
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4166
4166
  }, "strict", z.ZodTypeAny, {
4167
- id: string;
4167
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4168
4168
  label: string;
4169
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4169
+ id: string;
4170
4170
  capture: "at_action" | "historical_lookup" | "fixture";
4171
4171
  locator?: string | undefined;
4172
4172
  }, {
4173
- id: string;
4173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
4174
  label: string;
4175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
+ id: string;
4176
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4177
4177
  locator?: string | undefined;
4178
4178
  }>, "many">>;
@@ -4184,9 +4184,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4184
4184
  agentId: string;
4185
4185
  sessionId: string;
4186
4186
  evidence: {
4187
- id: string;
4187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4188
  label: string;
4189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
+ id: string;
4190
4190
  capture: "at_action" | "historical_lookup" | "fixture";
4191
4191
  locator?: string | undefined;
4192
4192
  }[];
@@ -4203,9 +4203,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4203
4203
  recallReceiptId: string;
4204
4204
  staleDecisionAbsent: boolean;
4205
4205
  evidence?: {
4206
- id: string;
4206
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4207
4207
  label: string;
4208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4208
+ id: string;
4209
4209
  capture: "at_action" | "historical_lookup" | "fixture";
4210
4210
  locator?: string | undefined;
4211
4211
  }[] | undefined;
@@ -4220,37 +4220,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4220
4220
  locator: z.ZodOptional<z.ZodString>;
4221
4221
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4222
4222
  }, "strict", z.ZodTypeAny, {
4223
- id: string;
4223
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4224
4224
  label: string;
4225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4225
+ id: string;
4226
4226
  capture: "at_action" | "historical_lookup" | "fixture";
4227
4227
  locator?: string | undefined;
4228
4228
  }, {
4229
- id: string;
4229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4230
  label: string;
4231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
+ id: string;
4232
4232
  capture: "at_action" | "historical_lookup" | "fixture";
4233
4233
  locator?: string | undefined;
4234
4234
  }>, "many">>;
4235
4235
  }, "strict", z.ZodTypeAny, {
4236
- summary: string;
4237
4236
  kind: "mission_completed";
4237
+ summary: string;
4238
4238
  outcome: "failed" | "recovered" | "inconclusive";
4239
4239
  evidence: {
4240
- id: string;
4240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
4241
  label: string;
4242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
+ id: string;
4243
4243
  capture: "at_action" | "historical_lookup" | "fixture";
4244
4244
  locator?: string | undefined;
4245
4245
  }[];
4246
4246
  }, {
4247
- summary: string;
4248
4247
  kind: "mission_completed";
4248
+ summary: string;
4249
4249
  outcome: "failed" | "recovered" | "inconclusive";
4250
4250
  evidence?: {
4251
- id: string;
4251
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4252
4252
  label: string;
4253
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
+ id: string;
4254
4254
  capture: "at_action" | "historical_lookup" | "fixture";
4255
4255
  locator?: string | undefined;
4256
4256
  }[] | undefined;
@@ -4258,38 +4258,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4258
4258
  kind: "mission_started";
4259
4259
  title: string;
4260
4260
  evidence: {
4261
- id: string;
4261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4262
  label: string;
4263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4263
+ id: string;
4264
4264
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4265
  locator?: string | undefined;
4266
4266
  }[];
4267
4267
  objective: string;
4268
4268
  runMode: "replay" | "fixture" | "live";
4269
4269
  } | {
4270
- label: string;
4271
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4272
4270
  kind: "agent_status";
4271
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4272
+ label: string;
4273
4273
  role: string;
4274
4274
  agentId: string;
4275
4275
  sessionId: string;
4276
4276
  evidence: {
4277
- id: string;
4277
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4278
4278
  label: string;
4279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
+ id: string;
4280
4280
  capture: "at_action" | "historical_lookup" | "fixture";
4281
4281
  locator?: string | undefined;
4282
4282
  }[];
4283
4283
  detail?: string | undefined;
4284
4284
  } | {
4285
- summary: string;
4286
4285
  kind: "agent_output";
4286
+ summary: string;
4287
4287
  agentId: string;
4288
4288
  sessionId: string;
4289
4289
  evidence: {
4290
- id: string;
4290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
4291
  label: string;
4292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4292
+ id: string;
4293
4293
  capture: "at_action" | "historical_lookup" | "fixture";
4294
4294
  locator?: string | undefined;
4295
4295
  }[];
@@ -4300,9 +4300,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4300
4300
  statement: string;
4301
4301
  sessionId: string;
4302
4302
  evidence: {
4303
- id: string;
4303
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
4304
  label: string;
4305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4305
+ id: string;
4306
4306
  capture: "at_action" | "historical_lookup" | "fixture";
4307
4307
  locator?: string | undefined;
4308
4308
  }[];
@@ -4310,12 +4310,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4310
  decisionId: string;
4311
4311
  confidence?: number | undefined;
4312
4312
  } | {
4313
- summary: string;
4314
4313
  kind: "conflict_detected";
4314
+ summary: string;
4315
4315
  evidence: {
4316
- id: string;
4316
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
4317
  label: string;
4318
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
+ id: string;
4319
4319
  capture: "at_action" | "historical_lookup" | "fixture";
4320
4320
  locator?: string | undefined;
4321
4321
  }[];
@@ -4323,14 +4323,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4323
4323
  decisionIds: string[];
4324
4324
  agentIds: string[];
4325
4325
  } | {
4326
+ kind: "test_result";
4326
4327
  summary: string;
4327
4328
  status: "error" | "failed" | "passed";
4328
- kind: "test_result";
4329
4329
  command: string;
4330
4330
  evidence: {
4331
- id: string;
4331
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
4332
  label: string;
4333
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4333
+ id: string;
4334
4334
  capture: "at_action" | "historical_lookup" | "fixture";
4335
4335
  locator?: string | undefined;
4336
4336
  }[];
@@ -4343,9 +4343,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4343
4343
  statement: string;
4344
4344
  rationale: string;
4345
4345
  evidence: {
4346
- id: string;
4346
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
4347
  label: string;
4348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
+ id: string;
4349
4349
  capture: "at_action" | "historical_lookup" | "fixture";
4350
4350
  locator?: string | undefined;
4351
4351
  }[];
@@ -4357,25 +4357,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4357
4357
  } | {
4358
4358
  kind: "correction_approved";
4359
4359
  evidence: {
4360
- id: string;
4360
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4361
  label: string;
4362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4362
+ id: string;
4363
4363
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4364
  locator?: string | undefined;
4365
4365
  }[];
4366
4366
  correctionId: string;
4367
4367
  approvedBy: {
4368
- id: string;
4369
- label: string;
4370
4368
  kind: "agent" | "human";
4369
+ label: string;
4370
+ id: string;
4371
4371
  };
4372
4372
  note?: string | undefined;
4373
4373
  } | {
4374
4374
  kind: "decision_superseded";
4375
4375
  evidence: {
4376
- id: string;
4376
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4377
4377
  label: string;
4378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4378
+ id: string;
4379
4379
  capture: "at_action" | "historical_lookup" | "fixture";
4380
4380
  locator?: string | undefined;
4381
4381
  }[];
@@ -4388,9 +4388,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4388
4388
  agentId: string;
4389
4389
  sessionId: string;
4390
4390
  evidence: {
4391
- id: string;
4391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4392
4392
  label: string;
4393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4393
+ id: string;
4394
4394
  capture: "at_action" | "historical_lookup" | "fixture";
4395
4395
  locator?: string | undefined;
4396
4396
  }[];
@@ -4402,9 +4402,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4402
4402
  agentId: string;
4403
4403
  sessionId: string;
4404
4404
  evidence: {
4405
- id: string;
4405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4406
4406
  label: string;
4407
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4407
+ id: string;
4408
4408
  capture: "at_action" | "historical_lookup" | "fixture";
4409
4409
  locator?: string | undefined;
4410
4410
  }[];
@@ -4413,13 +4413,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4413
4413
  recallReceiptId: string;
4414
4414
  staleDecisionAbsent: boolean;
4415
4415
  } | {
4416
- summary: string;
4417
4416
  kind: "mission_completed";
4417
+ summary: string;
4418
4418
  outcome: "failed" | "recovered" | "inconclusive";
4419
4419
  evidence: {
4420
- id: string;
4420
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4421
4421
  label: string;
4422
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4422
+ id: string;
4423
4423
  capture: "at_action" | "historical_lookup" | "fixture";
4424
4424
  locator?: string | undefined;
4425
4425
  }[];
@@ -4429,37 +4429,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4429
4429
  objective: string;
4430
4430
  runMode: "replay" | "fixture" | "live";
4431
4431
  evidence?: {
4432
- id: string;
4432
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4433
  label: string;
4434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4434
+ id: string;
4435
4435
  capture: "at_action" | "historical_lookup" | "fixture";
4436
4436
  locator?: string | undefined;
4437
4437
  }[] | undefined;
4438
4438
  } | {
4439
- label: string;
4440
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4441
4439
  kind: "agent_status";
4440
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4441
+ label: string;
4442
4442
  role: string;
4443
4443
  agentId: string;
4444
4444
  sessionId: string;
4445
4445
  detail?: string | undefined;
4446
4446
  evidence?: {
4447
- id: string;
4447
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4448
4448
  label: string;
4449
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4449
+ id: string;
4450
4450
  capture: "at_action" | "historical_lookup" | "fixture";
4451
4451
  locator?: string | undefined;
4452
4452
  }[] | undefined;
4453
4453
  } | {
4454
- summary: string;
4455
4454
  kind: "agent_output";
4455
+ summary: string;
4456
4456
  agentId: string;
4457
4457
  sessionId: string;
4458
4458
  outputId: string;
4459
4459
  evidence?: {
4460
- id: string;
4460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
4461
  label: string;
4462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
+ id: string;
4463
4463
  capture: "at_action" | "historical_lookup" | "fixture";
4464
4464
  locator?: string | undefined;
4465
4465
  }[] | undefined;
@@ -4472,37 +4472,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4472
4472
  decisionId: string;
4473
4473
  confidence?: number | undefined;
4474
4474
  evidence?: {
4475
- id: string;
4475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4476
4476
  label: string;
4477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4477
+ id: string;
4478
4478
  capture: "at_action" | "historical_lookup" | "fixture";
4479
4479
  locator?: string | undefined;
4480
4480
  }[] | undefined;
4481
4481
  } | {
4482
- summary: string;
4483
4482
  kind: "conflict_detected";
4483
+ summary: string;
4484
4484
  conflictId: string;
4485
4485
  decisionIds: string[];
4486
4486
  agentIds: string[];
4487
4487
  evidence?: {
4488
- id: string;
4488
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4489
4489
  label: string;
4490
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
+ id: string;
4491
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4492
4492
  locator?: string | undefined;
4493
4493
  }[] | undefined;
4494
4494
  } | {
4495
+ kind: "test_result";
4495
4496
  summary: string;
4496
4497
  status: "error" | "failed" | "passed";
4497
- kind: "test_result";
4498
4498
  command: string;
4499
4499
  decisionId: string;
4500
4500
  testId: string;
4501
4501
  durationMs?: number | undefined;
4502
4502
  evidence?: {
4503
- id: string;
4503
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4504
4504
  label: string;
4505
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4505
+ id: string;
4506
4506
  capture: "at_action" | "historical_lookup" | "fixture";
4507
4507
  locator?: string | undefined;
4508
4508
  }[] | undefined;
@@ -4517,9 +4517,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4517
4517
  supersedesDecisionIds: string[];
4518
4518
  proposedBy: string;
4519
4519
  evidence?: {
4520
- id: string;
4520
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4521
4521
  label: string;
4522
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4522
+ id: string;
4523
4523
  capture: "at_action" | "historical_lookup" | "fixture";
4524
4524
  locator?: string | undefined;
4525
4525
  }[] | undefined;
@@ -4527,15 +4527,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4527
4527
  kind: "correction_approved";
4528
4528
  correctionId: string;
4529
4529
  approvedBy: {
4530
- id: string;
4531
- label: string;
4532
4530
  kind: "agent" | "human";
4531
+ label: string;
4532
+ id: string;
4533
4533
  };
4534
4534
  note?: string | undefined;
4535
4535
  evidence?: {
4536
- id: string;
4536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4537
4537
  label: string;
4538
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
+ id: string;
4539
4539
  capture: "at_action" | "historical_lookup" | "fixture";
4540
4540
  locator?: string | undefined;
4541
4541
  }[] | undefined;
@@ -4545,9 +4545,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4545
4545
  correctionId: string;
4546
4546
  replacementDecisionId: string;
4547
4547
  evidence?: {
4548
- id: string;
4548
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
4549
  label: string;
4550
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4550
+ id: string;
4551
4551
  capture: "at_action" | "historical_lookup" | "fixture";
4552
4552
  locator?: string | undefined;
4553
4553
  }[] | undefined;
@@ -4560,9 +4560,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4560
4560
  recallReceiptId: string;
4561
4561
  capturedAtAction: boolean;
4562
4562
  evidence?: {
4563
- id: string;
4563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
4564
  label: string;
4565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
+ id: string;
4566
4566
  capture: "at_action" | "historical_lookup" | "fixture";
4567
4567
  locator?: string | undefined;
4568
4568
  }[] | undefined;
@@ -4575,64 +4575,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4575
4575
  recallReceiptId: string;
4576
4576
  staleDecisionAbsent: boolean;
4577
4577
  evidence?: {
4578
- id: string;
4578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4579
4579
  label: string;
4580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
+ id: string;
4581
4581
  capture: "at_action" | "historical_lookup" | "fixture";
4582
4582
  locator?: string | undefined;
4583
4583
  }[] | undefined;
4584
4584
  } | {
4585
- summary: string;
4586
4585
  kind: "mission_completed";
4586
+ summary: string;
4587
4587
  outcome: "failed" | "recovered" | "inconclusive";
4588
4588
  evidence?: {
4589
- id: string;
4589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4590
4590
  label: string;
4591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
+ id: string;
4592
4592
  capture: "at_action" | "historical_lookup" | "fixture";
4593
4593
  locator?: string | undefined;
4594
4594
  }[] | undefined;
4595
4595
  }>;
4596
4596
  }, "strict", z.ZodTypeAny, {
4597
- namespace: string;
4598
- recordedAt: string;
4599
4597
  schemaVersion: "1";
4598
+ recordedAt: string;
4600
4599
  payload: {
4601
4600
  kind: "mission_started";
4602
4601
  title: string;
4603
4602
  evidence: {
4604
- id: string;
4603
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4605
4604
  label: string;
4606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4605
+ id: string;
4607
4606
  capture: "at_action" | "historical_lookup" | "fixture";
4608
4607
  locator?: string | undefined;
4609
4608
  }[];
4610
4609
  objective: string;
4611
4610
  runMode: "replay" | "fixture" | "live";
4612
4611
  } | {
4613
- label: string;
4614
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4615
4612
  kind: "agent_status";
4613
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4614
+ label: string;
4616
4615
  role: string;
4617
4616
  agentId: string;
4618
4617
  sessionId: string;
4619
4618
  evidence: {
4620
- id: string;
4619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4621
4620
  label: string;
4622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4621
+ id: string;
4623
4622
  capture: "at_action" | "historical_lookup" | "fixture";
4624
4623
  locator?: string | undefined;
4625
4624
  }[];
4626
4625
  detail?: string | undefined;
4627
4626
  } | {
4628
- summary: string;
4629
4627
  kind: "agent_output";
4628
+ summary: string;
4630
4629
  agentId: string;
4631
4630
  sessionId: string;
4632
4631
  evidence: {
4633
- id: string;
4632
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
4633
  label: string;
4635
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
+ id: string;
4636
4635
  capture: "at_action" | "historical_lookup" | "fixture";
4637
4636
  locator?: string | undefined;
4638
4637
  }[];
@@ -4643,9 +4642,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4643
4642
  statement: string;
4644
4643
  sessionId: string;
4645
4644
  evidence: {
4646
- id: string;
4645
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
4646
  label: string;
4648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
+ id: string;
4649
4648
  capture: "at_action" | "historical_lookup" | "fixture";
4650
4649
  locator?: string | undefined;
4651
4650
  }[];
@@ -4653,12 +4652,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4653
4652
  decisionId: string;
4654
4653
  confidence?: number | undefined;
4655
4654
  } | {
4656
- summary: string;
4657
4655
  kind: "conflict_detected";
4656
+ summary: string;
4658
4657
  evidence: {
4659
- id: string;
4658
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
4659
  label: string;
4661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
+ id: string;
4662
4661
  capture: "at_action" | "historical_lookup" | "fixture";
4663
4662
  locator?: string | undefined;
4664
4663
  }[];
@@ -4666,14 +4665,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4666
4665
  decisionIds: string[];
4667
4666
  agentIds: string[];
4668
4667
  } | {
4668
+ kind: "test_result";
4669
4669
  summary: string;
4670
4670
  status: "error" | "failed" | "passed";
4671
- kind: "test_result";
4672
4671
  command: string;
4673
4672
  evidence: {
4674
- id: string;
4673
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
4674
  label: string;
4676
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
+ id: string;
4677
4676
  capture: "at_action" | "historical_lookup" | "fixture";
4678
4677
  locator?: string | undefined;
4679
4678
  }[];
@@ -4686,9 +4685,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4686
4685
  statement: string;
4687
4686
  rationale: string;
4688
4687
  evidence: {
4689
- id: string;
4688
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4690
4689
  label: string;
4691
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4690
+ id: string;
4692
4691
  capture: "at_action" | "historical_lookup" | "fixture";
4693
4692
  locator?: string | undefined;
4694
4693
  }[];
@@ -4700,25 +4699,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4700
4699
  } | {
4701
4700
  kind: "correction_approved";
4702
4701
  evidence: {
4703
- id: string;
4702
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4704
4703
  label: string;
4705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4704
+ id: string;
4706
4705
  capture: "at_action" | "historical_lookup" | "fixture";
4707
4706
  locator?: string | undefined;
4708
4707
  }[];
4709
4708
  correctionId: string;
4710
4709
  approvedBy: {
4711
- id: string;
4712
- label: string;
4713
4710
  kind: "agent" | "human";
4711
+ label: string;
4712
+ id: string;
4714
4713
  };
4715
4714
  note?: string | undefined;
4716
4715
  } | {
4717
4716
  kind: "decision_superseded";
4718
4717
  evidence: {
4719
- id: string;
4718
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4720
4719
  label: string;
4721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4720
+ id: string;
4722
4721
  capture: "at_action" | "historical_lookup" | "fixture";
4723
4722
  locator?: string | undefined;
4724
4723
  }[];
@@ -4731,9 +4730,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4731
4730
  agentId: string;
4732
4731
  sessionId: string;
4733
4732
  evidence: {
4734
- id: string;
4733
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4735
4734
  label: string;
4736
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4735
+ id: string;
4737
4736
  capture: "at_action" | "historical_lookup" | "fixture";
4738
4737
  locator?: string | undefined;
4739
4738
  }[];
@@ -4745,9 +4744,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4745
4744
  agentId: string;
4746
4745
  sessionId: string;
4747
4746
  evidence: {
4748
- id: string;
4747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4749
4748
  label: string;
4750
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4749
+ id: string;
4751
4750
  capture: "at_action" | "historical_lookup" | "fixture";
4752
4751
  locator?: string | undefined;
4753
4752
  }[];
@@ -4756,63 +4755,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4756
4755
  recallReceiptId: string;
4757
4756
  staleDecisionAbsent: boolean;
4758
4757
  } | {
4759
- summary: string;
4760
4758
  kind: "mission_completed";
4759
+ summary: string;
4761
4760
  outcome: "failed" | "recovered" | "inconclusive";
4762
4761
  evidence: {
4763
- id: string;
4762
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4764
4763
  label: string;
4765
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4764
+ id: string;
4766
4765
  capture: "at_action" | "historical_lookup" | "fixture";
4767
4766
  locator?: string | undefined;
4768
4767
  }[];
4769
4768
  };
4769
+ namespace: string;
4770
4770
  eventId: string;
4771
4771
  occurredAt: string;
4772
4772
  missionId: string;
4773
4773
  idempotencyKey?: string | undefined;
4774
4774
  authenticatedPrincipal?: string | undefined;
4775
4775
  }, {
4776
- namespace: string;
4777
- recordedAt: string;
4778
4776
  schemaVersion: "1";
4777
+ recordedAt: string;
4779
4778
  payload: {
4780
4779
  kind: "mission_started";
4781
4780
  title: string;
4782
4781
  objective: string;
4783
4782
  runMode: "replay" | "fixture" | "live";
4784
4783
  evidence?: {
4785
- id: string;
4784
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4786
4785
  label: string;
4787
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4786
+ id: string;
4788
4787
  capture: "at_action" | "historical_lookup" | "fixture";
4789
4788
  locator?: string | undefined;
4790
4789
  }[] | undefined;
4791
4790
  } | {
4792
- label: string;
4793
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4794
4791
  kind: "agent_status";
4792
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4793
+ label: string;
4795
4794
  role: string;
4796
4795
  agentId: string;
4797
4796
  sessionId: string;
4798
4797
  detail?: string | undefined;
4799
4798
  evidence?: {
4800
- id: string;
4799
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4801
4800
  label: string;
4802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4801
+ id: string;
4803
4802
  capture: "at_action" | "historical_lookup" | "fixture";
4804
4803
  locator?: string | undefined;
4805
4804
  }[] | undefined;
4806
4805
  } | {
4807
- summary: string;
4808
4806
  kind: "agent_output";
4807
+ summary: string;
4809
4808
  agentId: string;
4810
4809
  sessionId: string;
4811
4810
  outputId: string;
4812
4811
  evidence?: {
4813
- id: string;
4812
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4814
4813
  label: string;
4815
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4814
+ id: string;
4816
4815
  capture: "at_action" | "historical_lookup" | "fixture";
4817
4816
  locator?: string | undefined;
4818
4817
  }[] | undefined;
@@ -4825,37 +4824,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4825
4824
  decisionId: string;
4826
4825
  confidence?: number | undefined;
4827
4826
  evidence?: {
4828
- id: string;
4827
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4829
4828
  label: string;
4830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4829
+ id: string;
4831
4830
  capture: "at_action" | "historical_lookup" | "fixture";
4832
4831
  locator?: string | undefined;
4833
4832
  }[] | undefined;
4834
4833
  } | {
4835
- summary: string;
4836
4834
  kind: "conflict_detected";
4835
+ summary: string;
4837
4836
  conflictId: string;
4838
4837
  decisionIds: string[];
4839
4838
  agentIds: string[];
4840
4839
  evidence?: {
4841
- id: string;
4840
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4842
4841
  label: string;
4843
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4842
+ id: string;
4844
4843
  capture: "at_action" | "historical_lookup" | "fixture";
4845
4844
  locator?: string | undefined;
4846
4845
  }[] | undefined;
4847
4846
  } | {
4847
+ kind: "test_result";
4848
4848
  summary: string;
4849
4849
  status: "error" | "failed" | "passed";
4850
- kind: "test_result";
4851
4850
  command: string;
4852
4851
  decisionId: string;
4853
4852
  testId: string;
4854
4853
  durationMs?: number | undefined;
4855
4854
  evidence?: {
4856
- id: string;
4855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4857
4856
  label: string;
4858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4857
+ id: string;
4859
4858
  capture: "at_action" | "historical_lookup" | "fixture";
4860
4859
  locator?: string | undefined;
4861
4860
  }[] | undefined;
@@ -4870,9 +4869,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4870
4869
  supersedesDecisionIds: string[];
4871
4870
  proposedBy: string;
4872
4871
  evidence?: {
4873
- id: string;
4872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4874
4873
  label: string;
4875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4874
+ id: string;
4876
4875
  capture: "at_action" | "historical_lookup" | "fixture";
4877
4876
  locator?: string | undefined;
4878
4877
  }[] | undefined;
@@ -4880,15 +4879,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4880
4879
  kind: "correction_approved";
4881
4880
  correctionId: string;
4882
4881
  approvedBy: {
4883
- id: string;
4884
- label: string;
4885
4882
  kind: "agent" | "human";
4883
+ label: string;
4884
+ id: string;
4886
4885
  };
4887
4886
  note?: string | undefined;
4888
4887
  evidence?: {
4889
- id: string;
4888
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4890
4889
  label: string;
4891
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4890
+ id: string;
4892
4891
  capture: "at_action" | "historical_lookup" | "fixture";
4893
4892
  locator?: string | undefined;
4894
4893
  }[] | undefined;
@@ -4898,9 +4897,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4898
4897
  correctionId: string;
4899
4898
  replacementDecisionId: string;
4900
4899
  evidence?: {
4901
- id: string;
4900
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4902
4901
  label: string;
4903
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4902
+ id: string;
4904
4903
  capture: "at_action" | "historical_lookup" | "fixture";
4905
4904
  locator?: string | undefined;
4906
4905
  }[] | undefined;
@@ -4913,9 +4912,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4913
4912
  recallReceiptId: string;
4914
4913
  capturedAtAction: boolean;
4915
4914
  evidence?: {
4916
- id: string;
4915
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4917
4916
  label: string;
4918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4917
+ id: string;
4919
4918
  capture: "at_action" | "historical_lookup" | "fixture";
4920
4919
  locator?: string | undefined;
4921
4920
  }[] | undefined;
@@ -4928,24 +4927,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4928
4927
  recallReceiptId: string;
4929
4928
  staleDecisionAbsent: boolean;
4930
4929
  evidence?: {
4931
- id: string;
4930
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4932
4931
  label: string;
4933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4932
+ id: string;
4934
4933
  capture: "at_action" | "historical_lookup" | "fixture";
4935
4934
  locator?: string | undefined;
4936
4935
  }[] | undefined;
4937
4936
  } | {
4938
- summary: string;
4939
4937
  kind: "mission_completed";
4938
+ summary: string;
4940
4939
  outcome: "failed" | "recovered" | "inconclusive";
4941
4940
  evidence?: {
4942
- id: string;
4941
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
4942
  label: string;
4944
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
+ id: string;
4945
4944
  capture: "at_action" | "historical_lookup" | "fixture";
4946
4945
  locator?: string | undefined;
4947
4946
  }[] | undefined;
4948
4947
  };
4948
+ namespace: string;
4949
4949
  eventId: string;
4950
4950
  occurredAt: string;
4951
4951
  missionId: string;