@remnic/core 9.63.2 → 9.63.3

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 (32) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-authorization-probe.d.ts +1 -1
  3. package/dist/access-boundary.d.ts +1 -1
  4. package/dist/access-extraction-force-flush.d.ts +1 -1
  5. package/dist/access-http-lcm-compaction.d.ts +1 -1
  6. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  7. package/dist/access-http-offline-stream.d.ts +1 -1
  8. package/dist/access-http.d.ts +2 -2
  9. package/dist/access-lcm-surface.d.ts +1 -1
  10. package/dist/access-mcp.d.ts +1 -1
  11. package/dist/access-observe-write-surface.d.ts +1 -1
  12. package/dist/access-operations.d.ts +4 -4
  13. package/dist/access-recall-concurrency.d.ts +1 -1
  14. package/dist/access-recall-response.d.ts +1 -1
  15. package/dist/access-recall-surface.d.ts +1 -1
  16. package/dist/access-schema.d.ts +88 -88
  17. package/dist/access-service-helpers.d.ts +1 -1
  18. package/dist/access-service.d.ts +1 -1
  19. package/dist/access-surface-catalog.d.ts +1 -1
  20. package/dist/{cli-DJwNNDL1.d.ts → cli-Bw9z-KqX.d.ts} +1 -1
  21. package/dist/cli.d.ts +2 -2
  22. package/dist/external-wiki-access.d.ts +1 -1
  23. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  24. package/dist/index.d.ts +680 -680
  25. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  26. package/dist/{public-http-43z1YT-k.d.ts → public-http-DK-QwaBu.d.ts} +1 -1
  27. package/dist/schemas.d.ts +108 -108
  28. package/dist/shared-context/manager.d.ts +8 -8
  29. package/dist/support-passport/index.d.ts +4 -4
  30. package/dist/transfer/types.d.ts +66 -66
  31. package/package.json +2 -2
  32. package/dist/{access-service-DBpEnlzA.d.ts → access-service-M4LgO141.d.ts} +64 -64
package/dist/index.d.ts CHANGED
@@ -31,8 +31,8 @@ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAcc
31
31
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
32
32
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
33
33
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
34
- import { f as EngramAccessService } from './access-service-DBpEnlzA.js';
35
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-DBpEnlzA.js';
34
+ import { f as EngramAccessService } from './access-service-M4LgO141.js';
35
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-M4LgO141.js';
36
36
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
37
37
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
38
38
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -50,13 +50,13 @@ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
50
50
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
51
51
  export { storagePathHash } from './storage-paths.js';
52
52
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
53
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DJwNNDL1.js';
53
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bw9z-KqX.js';
54
54
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
55
55
  export { EngramMcpServer } from './access-mcp.js';
56
56
  import { BoundOperation } from './access-boundary.js';
57
57
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
58
58
  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';
59
- 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-43z1YT-k.js';
59
+ 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-DK-QwaBu.js';
60
60
  import { z } from 'zod';
61
61
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
62
62
  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';
@@ -951,15 +951,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
951
951
  locator: z.ZodOptional<z.ZodString>;
952
952
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
953
953
  }, "strict", z.ZodTypeAny, {
954
- id: string;
954
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
955
955
  label: string;
956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
956
+ id: string;
957
957
  capture: "at_action" | "historical_lookup" | "fixture";
958
958
  locator?: string | undefined;
959
959
  }, {
960
- id: string;
960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
961
961
  label: string;
962
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
962
+ id: string;
963
963
  capture: "at_action" | "historical_lookup" | "fixture";
964
964
  locator?: string | undefined;
965
965
  }>;
@@ -976,15 +976,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
976
976
  locator: z.ZodOptional<z.ZodString>;
977
977
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
978
978
  }, "strict", z.ZodTypeAny, {
979
- id: string;
979
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
980
980
  label: string;
981
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
981
+ id: string;
982
982
  capture: "at_action" | "historical_lookup" | "fixture";
983
983
  locator?: string | undefined;
984
984
  }, {
985
- id: string;
985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
986
986
  label: string;
987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
987
+ id: string;
988
988
  capture: "at_action" | "historical_lookup" | "fixture";
989
989
  locator?: string | undefined;
990
990
  }>, "many">>;
@@ -992,9 +992,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
992
992
  kind: "mission_started";
993
993
  title: string;
994
994
  evidence: {
995
- id: string;
995
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
996
996
  label: string;
997
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
997
+ id: string;
998
998
  capture: "at_action" | "historical_lookup" | "fixture";
999
999
  locator?: string | undefined;
1000
1000
  }[];
@@ -1006,9 +1006,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1006
1006
  objective: string;
1007
1007
  runMode: "replay" | "fixture" | "live";
1008
1008
  evidence?: {
1009
- id: string;
1009
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1010
1010
  label: string;
1011
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1011
+ id: string;
1012
1012
  capture: "at_action" | "historical_lookup" | "fixture";
1013
1013
  locator?: string | undefined;
1014
1014
  }[] | undefined;
@@ -1024,15 +1024,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1024
1024
  locator: z.ZodOptional<z.ZodString>;
1025
1025
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1026
1026
  }, "strict", z.ZodTypeAny, {
1027
- id: string;
1027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1028
1028
  label: string;
1029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
+ id: string;
1030
1030
  capture: "at_action" | "historical_lookup" | "fixture";
1031
1031
  locator?: string | undefined;
1032
1032
  }, {
1033
- id: string;
1033
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1034
1034
  label: string;
1035
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1035
+ id: string;
1036
1036
  capture: "at_action" | "historical_lookup" | "fixture";
1037
1037
  locator?: string | undefined;
1038
1038
  }>, "many">>;
@@ -1040,32 +1040,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1040
1040
  sessionId: z.ZodString;
1041
1041
  kind: z.ZodLiteral<"agent_status">;
1042
1042
  }, "strict", z.ZodTypeAny, {
1043
- label: string;
1044
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1045
1043
  kind: "agent_status";
1044
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1045
+ label: string;
1046
1046
  role: string;
1047
1047
  agentId: string;
1048
1048
  sessionId: string;
1049
1049
  evidence: {
1050
- id: string;
1050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1051
1051
  label: string;
1052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1052
+ id: string;
1053
1053
  capture: "at_action" | "historical_lookup" | "fixture";
1054
1054
  locator?: string | undefined;
1055
1055
  }[];
1056
1056
  detail?: string | undefined;
1057
1057
  }, {
1058
- label: string;
1059
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1060
1058
  kind: "agent_status";
1059
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1060
+ label: string;
1061
1061
  role: string;
1062
1062
  agentId: string;
1063
1063
  sessionId: string;
1064
1064
  detail?: string | undefined;
1065
1065
  evidence?: {
1066
- id: string;
1066
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1067
1067
  label: string;
1068
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1068
+ id: string;
1069
1069
  capture: "at_action" | "historical_lookup" | "fixture";
1070
1070
  locator?: string | undefined;
1071
1071
  }[] | undefined;
@@ -1079,15 +1079,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1079
1079
  locator: z.ZodOptional<z.ZodString>;
1080
1080
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1081
1081
  }, "strict", z.ZodTypeAny, {
1082
- id: string;
1082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1083
1083
  label: string;
1084
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1084
+ id: string;
1085
1085
  capture: "at_action" | "historical_lookup" | "fixture";
1086
1086
  locator?: string | undefined;
1087
1087
  }, {
1088
- id: string;
1088
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1089
1089
  label: string;
1090
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1090
+ id: string;
1091
1091
  capture: "at_action" | "historical_lookup" | "fixture";
1092
1092
  locator?: string | undefined;
1093
1093
  }>, "many">>;
@@ -1095,28 +1095,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1095
1095
  sessionId: z.ZodString;
1096
1096
  kind: z.ZodLiteral<"agent_output">;
1097
1097
  }, "strict", z.ZodTypeAny, {
1098
- summary: string;
1099
1098
  kind: "agent_output";
1099
+ summary: string;
1100
1100
  agentId: string;
1101
1101
  sessionId: string;
1102
1102
  evidence: {
1103
- id: string;
1103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1104
1104
  label: string;
1105
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1105
+ id: string;
1106
1106
  capture: "at_action" | "historical_lookup" | "fixture";
1107
1107
  locator?: string | undefined;
1108
1108
  }[];
1109
1109
  outputId: string;
1110
1110
  }, {
1111
- summary: string;
1112
1111
  kind: "agent_output";
1112
+ summary: string;
1113
1113
  agentId: string;
1114
1114
  sessionId: string;
1115
1115
  outputId: string;
1116
1116
  evidence?: {
1117
- id: string;
1117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1118
1118
  label: string;
1119
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1119
+ id: string;
1120
1120
  capture: "at_action" | "historical_lookup" | "fixture";
1121
1121
  locator?: string | undefined;
1122
1122
  }[] | undefined;
@@ -1132,15 +1132,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1132
1132
  locator: z.ZodOptional<z.ZodString>;
1133
1133
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1134
1134
  }, "strict", z.ZodTypeAny, {
1135
- id: string;
1135
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1136
1136
  label: string;
1137
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1137
+ id: string;
1138
1138
  capture: "at_action" | "historical_lookup" | "fixture";
1139
1139
  locator?: string | undefined;
1140
1140
  }, {
1141
- id: string;
1141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1142
1142
  label: string;
1143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1143
+ id: string;
1144
1144
  capture: "at_action" | "historical_lookup" | "fixture";
1145
1145
  locator?: string | undefined;
1146
1146
  }>, "many">>;
@@ -1153,9 +1153,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1153
1153
  statement: string;
1154
1154
  sessionId: string;
1155
1155
  evidence: {
1156
- id: string;
1156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1157
1157
  label: string;
1158
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1158
+ id: string;
1159
1159
  capture: "at_action" | "historical_lookup" | "fixture";
1160
1160
  locator?: string | undefined;
1161
1161
  }[];
@@ -1171,9 +1171,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1171
1171
  decisionId: string;
1172
1172
  confidence?: number | undefined;
1173
1173
  evidence?: {
1174
- id: string;
1174
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1175
1175
  label: string;
1176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1176
+ id: string;
1177
1177
  capture: "at_action" | "historical_lookup" | "fixture";
1178
1178
  locator?: string | undefined;
1179
1179
  }[] | undefined;
@@ -1190,25 +1190,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1190
1190
  locator: z.ZodOptional<z.ZodString>;
1191
1191
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1192
1192
  }, "strict", z.ZodTypeAny, {
1193
- id: string;
1193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1194
1194
  label: string;
1195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1195
+ id: string;
1196
1196
  capture: "at_action" | "historical_lookup" | "fixture";
1197
1197
  locator?: string | undefined;
1198
1198
  }, {
1199
- id: string;
1199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1200
1200
  label: string;
1201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1201
+ id: string;
1202
1202
  capture: "at_action" | "historical_lookup" | "fixture";
1203
1203
  locator?: string | undefined;
1204
1204
  }>, "many">>;
1205
1205
  }, "strict", z.ZodTypeAny, {
1206
- summary: string;
1207
1206
  kind: "conflict_detected";
1207
+ summary: string;
1208
1208
  evidence: {
1209
- id: string;
1209
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1210
1210
  label: string;
1211
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1211
+ id: string;
1212
1212
  capture: "at_action" | "historical_lookup" | "fixture";
1213
1213
  locator?: string | undefined;
1214
1214
  }[];
@@ -1216,15 +1216,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1216
1216
  decisionIds: string[];
1217
1217
  agentIds: string[];
1218
1218
  }, {
1219
- summary: string;
1220
1219
  kind: "conflict_detected";
1220
+ summary: string;
1221
1221
  conflictId: string;
1222
1222
  decisionIds: string[];
1223
1223
  agentIds: string[];
1224
1224
  evidence?: {
1225
- id: string;
1225
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1226
1226
  label: string;
1227
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1227
+ id: string;
1228
1228
  capture: "at_action" | "historical_lookup" | "fixture";
1229
1229
  locator?: string | undefined;
1230
1230
  }[] | undefined;
@@ -1244,27 +1244,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1244
1244
  locator: z.ZodOptional<z.ZodString>;
1245
1245
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1246
1246
  }, "strict", z.ZodTypeAny, {
1247
- id: string;
1247
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1248
1248
  label: string;
1249
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
+ id: string;
1250
1250
  capture: "at_action" | "historical_lookup" | "fixture";
1251
1251
  locator?: string | undefined;
1252
1252
  }, {
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
  }>, "many">>;
1259
1259
  }, "strict", z.ZodTypeAny, {
1260
+ kind: "test_result";
1260
1261
  summary: string;
1261
1262
  status: "error" | "failed" | "passed";
1262
- kind: "test_result";
1263
1263
  command: string;
1264
1264
  evidence: {
1265
- id: string;
1265
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1266
  label: string;
1267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1267
+ id: string;
1268
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1269
1269
  locator?: string | undefined;
1270
1270
  }[];
@@ -1273,17 +1273,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1273
1273
  durationMs?: number | undefined;
1274
1274
  correctionId?: string | undefined;
1275
1275
  }, {
1276
+ kind: "test_result";
1276
1277
  summary: string;
1277
1278
  status: "error" | "failed" | "passed";
1278
- kind: "test_result";
1279
1279
  command: string;
1280
1280
  decisionId: string;
1281
1281
  testId: string;
1282
1282
  durationMs?: number | undefined;
1283
1283
  evidence?: {
1284
- id: string;
1284
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1285
1285
  label: string;
1286
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1286
+ id: string;
1287
1287
  capture: "at_action" | "historical_lookup" | "fixture";
1288
1288
  locator?: string | undefined;
1289
1289
  }[] | undefined;
@@ -1304,15 +1304,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1304
1304
  locator: z.ZodOptional<z.ZodString>;
1305
1305
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1306
1306
  }, "strict", z.ZodTypeAny, {
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
  }, {
1313
- id: string;
1313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1314
  label: string;
1315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
+ id: string;
1316
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1317
1317
  locator?: string | undefined;
1318
1318
  }>, "many">>;
@@ -1321,9 +1321,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1321
1321
  statement: string;
1322
1322
  rationale: 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
  }[];
@@ -1342,9 +1342,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1342
1342
  supersedesDecisionIds: string[];
1343
1343
  proposedBy: string;
1344
1344
  evidence?: {
1345
- id: string;
1345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1346
1346
  label: string;
1347
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
+ id: string;
1348
1348
  capture: "at_action" | "historical_lookup" | "fixture";
1349
1349
  locator?: string | undefined;
1350
1350
  }[] | undefined;
@@ -1356,13 +1356,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1356
1356
  id: z.ZodString;
1357
1357
  label: z.ZodString;
1358
1358
  }, "strict", z.ZodTypeAny, {
1359
- id: string;
1360
- label: string;
1361
1359
  kind: "agent" | "human";
1362
- }, {
1363
- id: string;
1364
1360
  label: string;
1361
+ id: string;
1362
+ }, {
1365
1363
  kind: "agent" | "human";
1364
+ label: string;
1365
+ id: string;
1366
1366
  }>;
1367
1367
  note: z.ZodOptional<z.ZodString>;
1368
1368
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1372,47 +1372,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1372
1372
  locator: z.ZodOptional<z.ZodString>;
1373
1373
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1374
1374
  }, "strict", z.ZodTypeAny, {
1375
- id: string;
1375
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1376
1376
  label: string;
1377
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1377
+ id: string;
1378
1378
  capture: "at_action" | "historical_lookup" | "fixture";
1379
1379
  locator?: string | undefined;
1380
1380
  }, {
1381
- id: string;
1381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1382
1382
  label: string;
1383
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
+ id: string;
1384
1384
  capture: "at_action" | "historical_lookup" | "fixture";
1385
1385
  locator?: string | undefined;
1386
1386
  }>, "many">>;
1387
1387
  }, "strict", z.ZodTypeAny, {
1388
1388
  kind: "correction_approved";
1389
1389
  evidence: {
1390
- id: string;
1390
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1391
1391
  label: string;
1392
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
+ id: string;
1393
1393
  capture: "at_action" | "historical_lookup" | "fixture";
1394
1394
  locator?: string | undefined;
1395
1395
  }[];
1396
1396
  correctionId: string;
1397
1397
  approvedBy: {
1398
- id: string;
1399
- label: string;
1400
1398
  kind: "agent" | "human";
1399
+ label: string;
1400
+ id: string;
1401
1401
  };
1402
1402
  note?: string | undefined;
1403
1403
  }, {
1404
1404
  kind: "correction_approved";
1405
1405
  correctionId: string;
1406
1406
  approvedBy: {
1407
- id: string;
1408
- label: string;
1409
1407
  kind: "agent" | "human";
1408
+ label: string;
1409
+ id: string;
1410
1410
  };
1411
1411
  note?: string | undefined;
1412
1412
  evidence?: {
1413
- id: string;
1413
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1414
1414
  label: string;
1415
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1415
+ id: string;
1416
1416
  capture: "at_action" | "historical_lookup" | "fixture";
1417
1417
  locator?: string | undefined;
1418
1418
  }[] | undefined;
@@ -1428,24 +1428,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1428
1428
  locator: z.ZodOptional<z.ZodString>;
1429
1429
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1430
1430
  }, "strict", z.ZodTypeAny, {
1431
- id: string;
1431
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1432
1432
  label: string;
1433
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1433
+ id: string;
1434
1434
  capture: "at_action" | "historical_lookup" | "fixture";
1435
1435
  locator?: string | undefined;
1436
1436
  }, {
1437
- id: string;
1437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
1438
  label: string;
1439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1439
+ id: string;
1440
1440
  capture: "at_action" | "historical_lookup" | "fixture";
1441
1441
  locator?: string | undefined;
1442
1442
  }>, "many">>;
1443
1443
  }, "strict", z.ZodTypeAny, {
1444
1444
  kind: "decision_superseded";
1445
1445
  evidence: {
1446
- id: string;
1446
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1447
1447
  label: string;
1448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1448
+ id: string;
1449
1449
  capture: "at_action" | "historical_lookup" | "fixture";
1450
1450
  locator?: string | undefined;
1451
1451
  }[];
@@ -1458,9 +1458,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1458
1458
  correctionId: string;
1459
1459
  replacementDecisionId: string;
1460
1460
  evidence?: {
1461
- id: string;
1461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1462
1462
  label: string;
1463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1463
+ id: string;
1464
1464
  capture: "at_action" | "historical_lookup" | "fixture";
1465
1465
  locator?: string | undefined;
1466
1466
  }[] | undefined;
@@ -1476,15 +1476,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1476
1476
  locator: z.ZodOptional<z.ZodString>;
1477
1477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1478
1478
  }, "strict", z.ZodTypeAny, {
1479
- id: string;
1479
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1480
  label: string;
1481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
+ id: string;
1482
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1483
  locator?: string | undefined;
1484
1484
  }, {
1485
- id: string;
1485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1486
1486
  label: string;
1487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
+ id: string;
1488
1488
  capture: "at_action" | "historical_lookup" | "fixture";
1489
1489
  locator?: string | undefined;
1490
1490
  }>, "many">>;
@@ -1497,9 +1497,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1497
1497
  agentId: string;
1498
1498
  sessionId: string;
1499
1499
  evidence: {
1500
- id: string;
1500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
1501
  label: string;
1502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
+ id: string;
1503
1503
  capture: "at_action" | "historical_lookup" | "fixture";
1504
1504
  locator?: string | undefined;
1505
1505
  }[];
@@ -1515,9 +1515,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1515
1515
  recallReceiptId: string;
1516
1516
  capturedAtAction: boolean;
1517
1517
  evidence?: {
1518
- id: string;
1518
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1519
1519
  label: string;
1520
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1520
+ id: string;
1521
1521
  capture: "at_action" | "historical_lookup" | "fixture";
1522
1522
  locator?: string | undefined;
1523
1523
  }[] | undefined;
@@ -1533,15 +1533,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1533
1533
  locator: z.ZodOptional<z.ZodString>;
1534
1534
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1535
1535
  }, "strict", z.ZodTypeAny, {
1536
- id: string;
1536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1537
1537
  label: string;
1538
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
+ id: string;
1539
1539
  capture: "at_action" | "historical_lookup" | "fixture";
1540
1540
  locator?: string | undefined;
1541
1541
  }, {
1542
- id: string;
1542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1543
1543
  label: string;
1544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
+ id: string;
1545
1545
  capture: "at_action" | "historical_lookup" | "fixture";
1546
1546
  locator?: string | undefined;
1547
1547
  }>, "many">>;
@@ -1553,9 +1553,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1553
1553
  agentId: string;
1554
1554
  sessionId: string;
1555
1555
  evidence: {
1556
- id: string;
1556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1557
1557
  label: string;
1558
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
+ id: string;
1559
1559
  capture: "at_action" | "historical_lookup" | "fixture";
1560
1560
  locator?: string | undefined;
1561
1561
  }[];
@@ -1572,9 +1572,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1572
1572
  recallReceiptId: string;
1573
1573
  staleDecisionAbsent: boolean;
1574
1574
  evidence?: {
1575
- id: string;
1575
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1576
1576
  label: string;
1577
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
+ id: string;
1578
1578
  capture: "at_action" | "historical_lookup" | "fixture";
1579
1579
  locator?: string | undefined;
1580
1580
  }[] | undefined;
@@ -1589,37 +1589,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1589
1589
  locator: z.ZodOptional<z.ZodString>;
1590
1590
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1591
1591
  }, "strict", z.ZodTypeAny, {
1592
- id: string;
1592
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1593
1593
  label: string;
1594
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
+ id: string;
1595
1595
  capture: "at_action" | "historical_lookup" | "fixture";
1596
1596
  locator?: string | undefined;
1597
1597
  }, {
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
  }>, "many">>;
1604
1604
  }, "strict", z.ZodTypeAny, {
1605
- summary: string;
1606
1605
  kind: "mission_completed";
1606
+ summary: string;
1607
1607
  outcome: "failed" | "recovered" | "inconclusive";
1608
1608
  evidence: {
1609
- id: string;
1609
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1610
1610
  label: string;
1611
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
+ id: string;
1612
1612
  capture: "at_action" | "historical_lookup" | "fixture";
1613
1613
  locator?: string | undefined;
1614
1614
  }[];
1615
1615
  }, {
1616
- summary: string;
1617
1616
  kind: "mission_completed";
1617
+ summary: string;
1618
1618
  outcome: "failed" | "recovered" | "inconclusive";
1619
1619
  evidence?: {
1620
- id: string;
1620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1621
1621
  label: string;
1622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
+ id: string;
1623
1623
  capture: "at_action" | "historical_lookup" | "fixture";
1624
1624
  locator?: string | undefined;
1625
1625
  }[] | undefined;
@@ -1627,38 +1627,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1627
1627
  kind: "mission_started";
1628
1628
  title: string;
1629
1629
  evidence: {
1630
- id: string;
1630
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1631
1631
  label: string;
1632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
+ id: string;
1633
1633
  capture: "at_action" | "historical_lookup" | "fixture";
1634
1634
  locator?: string | undefined;
1635
1635
  }[];
1636
1636
  objective: string;
1637
1637
  runMode: "replay" | "fixture" | "live";
1638
1638
  } | {
1639
- label: string;
1640
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1641
1639
  kind: "agent_status";
1640
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1641
+ label: string;
1642
1642
  role: string;
1643
1643
  agentId: string;
1644
1644
  sessionId: string;
1645
1645
  evidence: {
1646
- id: string;
1646
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1647
1647
  label: string;
1648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1648
+ id: string;
1649
1649
  capture: "at_action" | "historical_lookup" | "fixture";
1650
1650
  locator?: string | undefined;
1651
1651
  }[];
1652
1652
  detail?: string | undefined;
1653
1653
  } | {
1654
- summary: string;
1655
1654
  kind: "agent_output";
1655
+ summary: string;
1656
1656
  agentId: string;
1657
1657
  sessionId: string;
1658
1658
  evidence: {
1659
- id: string;
1659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1660
1660
  label: string;
1661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1661
+ id: string;
1662
1662
  capture: "at_action" | "historical_lookup" | "fixture";
1663
1663
  locator?: string | undefined;
1664
1664
  }[];
@@ -1669,9 +1669,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1669
1669
  statement: string;
1670
1670
  sessionId: string;
1671
1671
  evidence: {
1672
- id: string;
1672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1673
1673
  label: string;
1674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1674
+ id: string;
1675
1675
  capture: "at_action" | "historical_lookup" | "fixture";
1676
1676
  locator?: string | undefined;
1677
1677
  }[];
@@ -1679,12 +1679,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1679
1679
  decisionId: string;
1680
1680
  confidence?: number | undefined;
1681
1681
  } | {
1682
- summary: string;
1683
1682
  kind: "conflict_detected";
1683
+ summary: string;
1684
1684
  evidence: {
1685
- id: string;
1685
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1686
1686
  label: string;
1687
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1687
+ id: string;
1688
1688
  capture: "at_action" | "historical_lookup" | "fixture";
1689
1689
  locator?: string | undefined;
1690
1690
  }[];
@@ -1692,14 +1692,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1692
1692
  decisionIds: string[];
1693
1693
  agentIds: string[];
1694
1694
  } | {
1695
+ kind: "test_result";
1695
1696
  summary: string;
1696
1697
  status: "error" | "failed" | "passed";
1697
- kind: "test_result";
1698
1698
  command: string;
1699
1699
  evidence: {
1700
- id: string;
1700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1701
1701
  label: string;
1702
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1702
+ id: string;
1703
1703
  capture: "at_action" | "historical_lookup" | "fixture";
1704
1704
  locator?: string | undefined;
1705
1705
  }[];
@@ -1712,9 +1712,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1712
1712
  statement: string;
1713
1713
  rationale: string;
1714
1714
  evidence: {
1715
- id: string;
1715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1716
1716
  label: string;
1717
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1717
+ id: string;
1718
1718
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1719
  locator?: string | undefined;
1720
1720
  }[];
@@ -1726,25 +1726,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1726
1726
  } | {
1727
1727
  kind: "correction_approved";
1728
1728
  evidence: {
1729
- id: string;
1729
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1730
1730
  label: string;
1731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
+ id: string;
1732
1732
  capture: "at_action" | "historical_lookup" | "fixture";
1733
1733
  locator?: string | undefined;
1734
1734
  }[];
1735
1735
  correctionId: string;
1736
1736
  approvedBy: {
1737
- id: string;
1738
- label: string;
1739
1737
  kind: "agent" | "human";
1738
+ label: string;
1739
+ id: string;
1740
1740
  };
1741
1741
  note?: string | undefined;
1742
1742
  } | {
1743
1743
  kind: "decision_superseded";
1744
1744
  evidence: {
1745
- id: string;
1745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1746
  label: string;
1747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1747
+ id: string;
1748
1748
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1749
  locator?: string | undefined;
1750
1750
  }[];
@@ -1757,9 +1757,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1757
1757
  agentId: string;
1758
1758
  sessionId: string;
1759
1759
  evidence: {
1760
- id: string;
1760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
1761
  label: string;
1762
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
+ id: string;
1763
1763
  capture: "at_action" | "historical_lookup" | "fixture";
1764
1764
  locator?: string | undefined;
1765
1765
  }[];
@@ -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
  }[];
@@ -1782,13 +1782,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1782
1782
  recallReceiptId: string;
1783
1783
  staleDecisionAbsent: boolean;
1784
1784
  } | {
1785
- summary: string;
1786
1785
  kind: "mission_completed";
1786
+ summary: string;
1787
1787
  outcome: "failed" | "recovered" | "inconclusive";
1788
1788
  evidence: {
1789
- id: string;
1789
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1790
1790
  label: string;
1791
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1791
+ id: string;
1792
1792
  capture: "at_action" | "historical_lookup" | "fixture";
1793
1793
  locator?: string | undefined;
1794
1794
  }[];
@@ -1798,37 +1798,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1798
1798
  objective: string;
1799
1799
  runMode: "replay" | "fixture" | "live";
1800
1800
  evidence?: {
1801
- id: string;
1801
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1802
1802
  label: string;
1803
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
+ id: string;
1804
1804
  capture: "at_action" | "historical_lookup" | "fixture";
1805
1805
  locator?: string | undefined;
1806
1806
  }[] | undefined;
1807
1807
  } | {
1808
- label: string;
1809
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1810
1808
  kind: "agent_status";
1809
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1810
+ label: string;
1811
1811
  role: string;
1812
1812
  agentId: string;
1813
1813
  sessionId: string;
1814
1814
  detail?: string | undefined;
1815
1815
  evidence?: {
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
  }[] | undefined;
1822
1822
  } | {
1823
- summary: string;
1824
1823
  kind: "agent_output";
1824
+ summary: string;
1825
1825
  agentId: string;
1826
1826
  sessionId: string;
1827
1827
  outputId: string;
1828
1828
  evidence?: {
1829
- id: string;
1829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1830
1830
  label: string;
1831
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
+ id: string;
1832
1832
  capture: "at_action" | "historical_lookup" | "fixture";
1833
1833
  locator?: string | undefined;
1834
1834
  }[] | undefined;
@@ -1841,37 +1841,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1841
1841
  decisionId: string;
1842
1842
  confidence?: number | undefined;
1843
1843
  evidence?: {
1844
- id: string;
1844
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1845
1845
  label: string;
1846
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1846
+ id: string;
1847
1847
  capture: "at_action" | "historical_lookup" | "fixture";
1848
1848
  locator?: string | undefined;
1849
1849
  }[] | undefined;
1850
1850
  } | {
1851
- summary: string;
1852
1851
  kind: "conflict_detected";
1852
+ summary: string;
1853
1853
  conflictId: string;
1854
1854
  decisionIds: string[];
1855
1855
  agentIds: string[];
1856
1856
  evidence?: {
1857
- id: string;
1857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1858
1858
  label: string;
1859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1859
+ id: string;
1860
1860
  capture: "at_action" | "historical_lookup" | "fixture";
1861
1861
  locator?: string | undefined;
1862
1862
  }[] | undefined;
1863
1863
  } | {
1864
+ kind: "test_result";
1864
1865
  summary: string;
1865
1866
  status: "error" | "failed" | "passed";
1866
- kind: "test_result";
1867
1867
  command: string;
1868
1868
  decisionId: string;
1869
1869
  testId: string;
1870
1870
  durationMs?: number | undefined;
1871
1871
  evidence?: {
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
  }[] | undefined;
@@ -1886,9 +1886,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1886
1886
  supersedesDecisionIds: string[];
1887
1887
  proposedBy: string;
1888
1888
  evidence?: {
1889
- id: string;
1889
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1890
1890
  label: string;
1891
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
+ id: string;
1892
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1893
1893
  locator?: string | undefined;
1894
1894
  }[] | undefined;
@@ -1896,15 +1896,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1896
1896
  kind: "correction_approved";
1897
1897
  correctionId: string;
1898
1898
  approvedBy: {
1899
- id: string;
1900
- label: string;
1901
1899
  kind: "agent" | "human";
1900
+ label: string;
1901
+ id: string;
1902
1902
  };
1903
1903
  note?: string | undefined;
1904
1904
  evidence?: {
1905
- id: string;
1905
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1906
1906
  label: string;
1907
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
+ id: string;
1908
1908
  capture: "at_action" | "historical_lookup" | "fixture";
1909
1909
  locator?: string | undefined;
1910
1910
  }[] | undefined;
@@ -1914,9 +1914,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1914
1914
  correctionId: string;
1915
1915
  replacementDecisionId: string;
1916
1916
  evidence?: {
1917
- id: string;
1917
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1918
1918
  label: string;
1919
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1919
+ id: string;
1920
1920
  capture: "at_action" | "historical_lookup" | "fixture";
1921
1921
  locator?: string | undefined;
1922
1922
  }[] | undefined;
@@ -1929,9 +1929,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1929
1929
  recallReceiptId: string;
1930
1930
  capturedAtAction: boolean;
1931
1931
  evidence?: {
1932
- id: string;
1932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
1933
  label: string;
1934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
+ id: string;
1935
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1936
1936
  locator?: string | undefined;
1937
1937
  }[] | undefined;
@@ -1944,20 +1944,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1944
1944
  recallReceiptId: string;
1945
1945
  staleDecisionAbsent: boolean;
1946
1946
  evidence?: {
1947
- id: string;
1947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
1948
  label: string;
1949
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
+ id: string;
1950
1950
  capture: "at_action" | "historical_lookup" | "fixture";
1951
1951
  locator?: string | undefined;
1952
1952
  }[] | undefined;
1953
1953
  } | {
1954
- summary: string;
1955
1954
  kind: "mission_completed";
1955
+ summary: string;
1956
1956
  outcome: "failed" | "recovered" | "inconclusive";
1957
1957
  evidence?: {
1958
- id: string;
1958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
1959
  label: string;
1960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
+ id: string;
1961
1961
  capture: "at_action" | "historical_lookup" | "fixture";
1962
1962
  locator?: string | undefined;
1963
1963
  }[] | undefined;
@@ -1978,15 +1978,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1978
1978
  locator: z.ZodOptional<z.ZodString>;
1979
1979
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1980
1980
  }, "strict", z.ZodTypeAny, {
1981
- id: string;
1981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1982
1982
  label: string;
1983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
+ id: string;
1984
1984
  capture: "at_action" | "historical_lookup" | "fixture";
1985
1985
  locator?: string | undefined;
1986
1986
  }, {
1987
- id: string;
1987
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1988
1988
  label: string;
1989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1989
+ id: string;
1990
1990
  capture: "at_action" | "historical_lookup" | "fixture";
1991
1991
  locator?: string | undefined;
1992
1992
  }>, "many">>;
@@ -1994,9 +1994,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1994
1994
  kind: "mission_started";
1995
1995
  title: string;
1996
1996
  evidence: {
1997
- id: string;
1997
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1998
1998
  label: string;
1999
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1999
+ id: string;
2000
2000
  capture: "at_action" | "historical_lookup" | "fixture";
2001
2001
  locator?: string | undefined;
2002
2002
  }[];
@@ -2008,9 +2008,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2008
2008
  objective: string;
2009
2009
  runMode: "replay" | "fixture" | "live";
2010
2010
  evidence?: {
2011
- id: string;
2011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2012
2012
  label: string;
2013
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2013
+ id: string;
2014
2014
  capture: "at_action" | "historical_lookup" | "fixture";
2015
2015
  locator?: string | undefined;
2016
2016
  }[] | undefined;
@@ -2026,15 +2026,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2026
2026
  locator: z.ZodOptional<z.ZodString>;
2027
2027
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2028
2028
  }, "strict", z.ZodTypeAny, {
2029
- id: string;
2029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2030
  label: string;
2031
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
+ id: string;
2032
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2033
  locator?: string | undefined;
2034
2034
  }, {
2035
- id: string;
2035
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2036
2036
  label: string;
2037
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
+ id: string;
2038
2038
  capture: "at_action" | "historical_lookup" | "fixture";
2039
2039
  locator?: string | undefined;
2040
2040
  }>, "many">>;
@@ -2042,32 +2042,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2042
2042
  sessionId: z.ZodString;
2043
2043
  kind: z.ZodLiteral<"agent_status">;
2044
2044
  }, "strict", z.ZodTypeAny, {
2045
- label: string;
2046
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2047
2045
  kind: "agent_status";
2046
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2047
+ label: string;
2048
2048
  role: string;
2049
2049
  agentId: string;
2050
2050
  sessionId: string;
2051
2051
  evidence: {
2052
- id: string;
2052
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2053
2053
  label: string;
2054
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2054
+ id: string;
2055
2055
  capture: "at_action" | "historical_lookup" | "fixture";
2056
2056
  locator?: string | undefined;
2057
2057
  }[];
2058
2058
  detail?: string | undefined;
2059
2059
  }, {
2060
- label: string;
2061
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2062
2060
  kind: "agent_status";
2061
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2062
+ label: string;
2063
2063
  role: string;
2064
2064
  agentId: string;
2065
2065
  sessionId: string;
2066
2066
  detail?: string | undefined;
2067
2067
  evidence?: {
2068
- id: string;
2068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2069
2069
  label: string;
2070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
+ id: string;
2071
2071
  capture: "at_action" | "historical_lookup" | "fixture";
2072
2072
  locator?: string | undefined;
2073
2073
  }[] | undefined;
@@ -2081,15 +2081,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2081
2081
  locator: z.ZodOptional<z.ZodString>;
2082
2082
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2083
2083
  }, "strict", z.ZodTypeAny, {
2084
- id: string;
2084
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2085
2085
  label: string;
2086
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
+ id: string;
2087
2087
  capture: "at_action" | "historical_lookup" | "fixture";
2088
2088
  locator?: string | undefined;
2089
2089
  }, {
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
  }>, "many">>;
@@ -2097,28 +2097,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2097
2097
  sessionId: z.ZodString;
2098
2098
  kind: z.ZodLiteral<"agent_output">;
2099
2099
  }, "strict", z.ZodTypeAny, {
2100
- summary: string;
2101
2100
  kind: "agent_output";
2101
+ summary: string;
2102
2102
  agentId: string;
2103
2103
  sessionId: string;
2104
2104
  evidence: {
2105
- id: string;
2105
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2106
2106
  label: string;
2107
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2107
+ id: string;
2108
2108
  capture: "at_action" | "historical_lookup" | "fixture";
2109
2109
  locator?: string | undefined;
2110
2110
  }[];
2111
2111
  outputId: string;
2112
2112
  }, {
2113
- summary: string;
2114
2113
  kind: "agent_output";
2114
+ summary: string;
2115
2115
  agentId: string;
2116
2116
  sessionId: string;
2117
2117
  outputId: string;
2118
2118
  evidence?: {
2119
- id: string;
2119
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2120
2120
  label: string;
2121
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
+ id: string;
2122
2122
  capture: "at_action" | "historical_lookup" | "fixture";
2123
2123
  locator?: string | undefined;
2124
2124
  }[] | undefined;
@@ -2134,15 +2134,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2134
2134
  locator: z.ZodOptional<z.ZodString>;
2135
2135
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2136
2136
  }, "strict", z.ZodTypeAny, {
2137
- id: string;
2137
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
2138
  label: string;
2139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2139
+ id: string;
2140
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2141
2141
  locator?: string | undefined;
2142
2142
  }, {
2143
- id: string;
2143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2144
2144
  label: string;
2145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
+ id: string;
2146
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2147
2147
  locator?: string | undefined;
2148
2148
  }>, "many">>;
@@ -2155,9 +2155,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2155
2155
  statement: string;
2156
2156
  sessionId: string;
2157
2157
  evidence: {
2158
- id: string;
2158
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
2159
  label: string;
2160
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
+ id: string;
2161
2161
  capture: "at_action" | "historical_lookup" | "fixture";
2162
2162
  locator?: string | undefined;
2163
2163
  }[];
@@ -2173,9 +2173,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2173
2173
  decisionId: string;
2174
2174
  confidence?: number | undefined;
2175
2175
  evidence?: {
2176
- id: string;
2176
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2177
2177
  label: string;
2178
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2178
+ id: string;
2179
2179
  capture: "at_action" | "historical_lookup" | "fixture";
2180
2180
  locator?: string | undefined;
2181
2181
  }[] | undefined;
@@ -2192,25 +2192,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2192
2192
  locator: z.ZodOptional<z.ZodString>;
2193
2193
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2194
2194
  }, "strict", z.ZodTypeAny, {
2195
- id: string;
2195
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2196
2196
  label: string;
2197
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2197
+ id: string;
2198
2198
  capture: "at_action" | "historical_lookup" | "fixture";
2199
2199
  locator?: string | undefined;
2200
2200
  }, {
2201
- id: string;
2201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2202
  label: string;
2203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2203
+ id: string;
2204
2204
  capture: "at_action" | "historical_lookup" | "fixture";
2205
2205
  locator?: string | undefined;
2206
2206
  }>, "many">>;
2207
2207
  }, "strict", z.ZodTypeAny, {
2208
- summary: string;
2209
2208
  kind: "conflict_detected";
2209
+ summary: string;
2210
2210
  evidence: {
2211
- id: string;
2211
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2212
2212
  label: string;
2213
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
+ id: string;
2214
2214
  capture: "at_action" | "historical_lookup" | "fixture";
2215
2215
  locator?: string | undefined;
2216
2216
  }[];
@@ -2218,15 +2218,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2218
2218
  decisionIds: string[];
2219
2219
  agentIds: string[];
2220
2220
  }, {
2221
- summary: string;
2222
2221
  kind: "conflict_detected";
2222
+ summary: string;
2223
2223
  conflictId: string;
2224
2224
  decisionIds: string[];
2225
2225
  agentIds: string[];
2226
2226
  evidence?: {
2227
- id: string;
2227
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2228
  label: string;
2229
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2229
+ id: string;
2230
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2231
  locator?: string | undefined;
2232
2232
  }[] | undefined;
@@ -2246,27 +2246,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2246
2246
  locator: z.ZodOptional<z.ZodString>;
2247
2247
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2248
2248
  }, "strict", z.ZodTypeAny, {
2249
- id: string;
2249
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2250
2250
  label: string;
2251
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
+ id: string;
2252
2252
  capture: "at_action" | "historical_lookup" | "fixture";
2253
2253
  locator?: string | undefined;
2254
2254
  }, {
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
  }>, "many">>;
2261
2261
  }, "strict", z.ZodTypeAny, {
2262
+ kind: "test_result";
2262
2263
  summary: string;
2263
2264
  status: "error" | "failed" | "passed";
2264
- kind: "test_result";
2265
2265
  command: string;
2266
2266
  evidence: {
2267
- id: string;
2267
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2268
  label: string;
2269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2269
+ id: string;
2270
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2271
2271
  locator?: string | undefined;
2272
2272
  }[];
@@ -2275,17 +2275,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2275
2275
  durationMs?: number | undefined;
2276
2276
  correctionId?: string | undefined;
2277
2277
  }, {
2278
+ kind: "test_result";
2278
2279
  summary: string;
2279
2280
  status: "error" | "failed" | "passed";
2280
- kind: "test_result";
2281
2281
  command: string;
2282
2282
  decisionId: string;
2283
2283
  testId: string;
2284
2284
  durationMs?: number | undefined;
2285
2285
  evidence?: {
2286
- id: string;
2286
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2287
2287
  label: string;
2288
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2288
+ id: string;
2289
2289
  capture: "at_action" | "historical_lookup" | "fixture";
2290
2290
  locator?: string | undefined;
2291
2291
  }[] | undefined;
@@ -2306,15 +2306,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2306
2306
  locator: z.ZodOptional<z.ZodString>;
2307
2307
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2308
2308
  }, "strict", z.ZodTypeAny, {
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
  }, {
2315
- id: string;
2315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2316
  label: string;
2317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
+ id: string;
2318
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2319
  locator?: string | undefined;
2320
2320
  }>, "many">>;
@@ -2323,9 +2323,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2323
2323
  statement: string;
2324
2324
  rationale: 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
  }[];
@@ -2344,9 +2344,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2344
2344
  supersedesDecisionIds: string[];
2345
2345
  proposedBy: string;
2346
2346
  evidence?: {
2347
- id: string;
2347
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2348
2348
  label: string;
2349
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
+ id: string;
2350
2350
  capture: "at_action" | "historical_lookup" | "fixture";
2351
2351
  locator?: string | undefined;
2352
2352
  }[] | undefined;
@@ -2358,13 +2358,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2358
2358
  id: z.ZodString;
2359
2359
  label: z.ZodString;
2360
2360
  }, "strict", z.ZodTypeAny, {
2361
- id: string;
2362
- label: string;
2363
2361
  kind: "agent" | "human";
2364
- }, {
2365
- id: string;
2366
2362
  label: string;
2363
+ id: string;
2364
+ }, {
2367
2365
  kind: "agent" | "human";
2366
+ label: string;
2367
+ id: string;
2368
2368
  }>;
2369
2369
  note: z.ZodOptional<z.ZodString>;
2370
2370
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2374,47 +2374,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2374
2374
  locator: z.ZodOptional<z.ZodString>;
2375
2375
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2376
2376
  }, "strict", z.ZodTypeAny, {
2377
- id: string;
2377
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2378
2378
  label: string;
2379
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2379
+ id: string;
2380
2380
  capture: "at_action" | "historical_lookup" | "fixture";
2381
2381
  locator?: string | undefined;
2382
2382
  }, {
2383
- id: string;
2383
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2384
2384
  label: string;
2385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
+ id: string;
2386
2386
  capture: "at_action" | "historical_lookup" | "fixture";
2387
2387
  locator?: string | undefined;
2388
2388
  }>, "many">>;
2389
2389
  }, "strict", z.ZodTypeAny, {
2390
2390
  kind: "correction_approved";
2391
2391
  evidence: {
2392
- id: string;
2392
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2393
2393
  label: string;
2394
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
+ id: string;
2395
2395
  capture: "at_action" | "historical_lookup" | "fixture";
2396
2396
  locator?: string | undefined;
2397
2397
  }[];
2398
2398
  correctionId: string;
2399
2399
  approvedBy: {
2400
- id: string;
2401
- label: string;
2402
2400
  kind: "agent" | "human";
2401
+ label: string;
2402
+ id: string;
2403
2403
  };
2404
2404
  note?: string | undefined;
2405
2405
  }, {
2406
2406
  kind: "correction_approved";
2407
2407
  correctionId: string;
2408
2408
  approvedBy: {
2409
- id: string;
2410
- label: string;
2411
2409
  kind: "agent" | "human";
2410
+ label: string;
2411
+ id: string;
2412
2412
  };
2413
2413
  note?: string | undefined;
2414
2414
  evidence?: {
2415
- id: string;
2415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2416
2416
  label: string;
2417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2417
+ id: string;
2418
2418
  capture: "at_action" | "historical_lookup" | "fixture";
2419
2419
  locator?: string | undefined;
2420
2420
  }[] | undefined;
@@ -2430,24 +2430,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2430
2430
  locator: z.ZodOptional<z.ZodString>;
2431
2431
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2432
2432
  }, "strict", z.ZodTypeAny, {
2433
- id: string;
2433
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2434
2434
  label: string;
2435
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2435
+ id: string;
2436
2436
  capture: "at_action" | "historical_lookup" | "fixture";
2437
2437
  locator?: string | undefined;
2438
2438
  }, {
2439
- id: string;
2439
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
2440
  label: string;
2441
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2441
+ id: string;
2442
2442
  capture: "at_action" | "historical_lookup" | "fixture";
2443
2443
  locator?: string | undefined;
2444
2444
  }>, "many">>;
2445
2445
  }, "strict", z.ZodTypeAny, {
2446
2446
  kind: "decision_superseded";
2447
2447
  evidence: {
2448
- id: string;
2448
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2449
2449
  label: string;
2450
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2450
+ id: string;
2451
2451
  capture: "at_action" | "historical_lookup" | "fixture";
2452
2452
  locator?: string | undefined;
2453
2453
  }[];
@@ -2460,9 +2460,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2460
2460
  correctionId: string;
2461
2461
  replacementDecisionId: string;
2462
2462
  evidence?: {
2463
- id: string;
2463
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2464
2464
  label: string;
2465
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2465
+ id: string;
2466
2466
  capture: "at_action" | "historical_lookup" | "fixture";
2467
2467
  locator?: string | undefined;
2468
2468
  }[] | undefined;
@@ -2478,15 +2478,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2478
2478
  locator: z.ZodOptional<z.ZodString>;
2479
2479
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2480
2480
  }, "strict", z.ZodTypeAny, {
2481
- id: string;
2481
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2482
  label: string;
2483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
+ id: string;
2484
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2485
  locator?: string | undefined;
2486
2486
  }, {
2487
- id: string;
2487
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2488
2488
  label: string;
2489
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
+ id: string;
2490
2490
  capture: "at_action" | "historical_lookup" | "fixture";
2491
2491
  locator?: string | undefined;
2492
2492
  }>, "many">>;
@@ -2499,9 +2499,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2499
2499
  agentId: string;
2500
2500
  sessionId: string;
2501
2501
  evidence: {
2502
- id: string;
2502
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
2503
  label: string;
2504
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
+ id: string;
2505
2505
  capture: "at_action" | "historical_lookup" | "fixture";
2506
2506
  locator?: string | undefined;
2507
2507
  }[];
@@ -2517,9 +2517,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2517
2517
  recallReceiptId: string;
2518
2518
  capturedAtAction: boolean;
2519
2519
  evidence?: {
2520
- id: string;
2520
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2521
2521
  label: string;
2522
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2522
+ id: string;
2523
2523
  capture: "at_action" | "historical_lookup" | "fixture";
2524
2524
  locator?: string | undefined;
2525
2525
  }[] | undefined;
@@ -2535,15 +2535,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2535
2535
  locator: z.ZodOptional<z.ZodString>;
2536
2536
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2537
2537
  }, "strict", z.ZodTypeAny, {
2538
- id: string;
2538
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2539
2539
  label: string;
2540
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
+ id: string;
2541
2541
  capture: "at_action" | "historical_lookup" | "fixture";
2542
2542
  locator?: string | undefined;
2543
2543
  }, {
2544
- id: string;
2544
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2545
2545
  label: string;
2546
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
+ id: string;
2547
2547
  capture: "at_action" | "historical_lookup" | "fixture";
2548
2548
  locator?: string | undefined;
2549
2549
  }>, "many">>;
@@ -2555,9 +2555,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2555
2555
  agentId: string;
2556
2556
  sessionId: string;
2557
2557
  evidence: {
2558
- id: string;
2558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2559
2559
  label: string;
2560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
+ id: string;
2561
2561
  capture: "at_action" | "historical_lookup" | "fixture";
2562
2562
  locator?: string | undefined;
2563
2563
  }[];
@@ -2574,9 +2574,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2574
2574
  recallReceiptId: string;
2575
2575
  staleDecisionAbsent: boolean;
2576
2576
  evidence?: {
2577
- id: string;
2577
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2578
2578
  label: string;
2579
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
+ id: string;
2580
2580
  capture: "at_action" | "historical_lookup" | "fixture";
2581
2581
  locator?: string | undefined;
2582
2582
  }[] | undefined;
@@ -2591,37 +2591,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2591
2591
  locator: z.ZodOptional<z.ZodString>;
2592
2592
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2593
2593
  }, "strict", z.ZodTypeAny, {
2594
- id: string;
2594
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2595
2595
  label: string;
2596
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
+ id: string;
2597
2597
  capture: "at_action" | "historical_lookup" | "fixture";
2598
2598
  locator?: string | undefined;
2599
2599
  }, {
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
  }>, "many">>;
2606
2606
  }, "strict", z.ZodTypeAny, {
2607
- summary: string;
2608
2607
  kind: "mission_completed";
2608
+ summary: string;
2609
2609
  outcome: "failed" | "recovered" | "inconclusive";
2610
2610
  evidence: {
2611
- id: string;
2611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2612
2612
  label: string;
2613
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
+ id: string;
2614
2614
  capture: "at_action" | "historical_lookup" | "fixture";
2615
2615
  locator?: string | undefined;
2616
2616
  }[];
2617
2617
  }, {
2618
- summary: string;
2619
2618
  kind: "mission_completed";
2619
+ summary: string;
2620
2620
  outcome: "failed" | "recovered" | "inconclusive";
2621
2621
  evidence?: {
2622
- id: string;
2622
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2623
2623
  label: string;
2624
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
+ id: string;
2625
2625
  capture: "at_action" | "historical_lookup" | "fixture";
2626
2626
  locator?: string | undefined;
2627
2627
  }[] | undefined;
@@ -2629,38 +2629,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2629
2629
  kind: "mission_started";
2630
2630
  title: string;
2631
2631
  evidence: {
2632
- id: string;
2632
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2633
2633
  label: string;
2634
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
+ id: string;
2635
2635
  capture: "at_action" | "historical_lookup" | "fixture";
2636
2636
  locator?: string | undefined;
2637
2637
  }[];
2638
2638
  objective: string;
2639
2639
  runMode: "replay" | "fixture" | "live";
2640
2640
  } | {
2641
- label: string;
2642
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2643
2641
  kind: "agent_status";
2642
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2643
+ label: string;
2644
2644
  role: string;
2645
2645
  agentId: string;
2646
2646
  sessionId: string;
2647
2647
  evidence: {
2648
- id: string;
2648
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2649
2649
  label: string;
2650
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2650
+ id: string;
2651
2651
  capture: "at_action" | "historical_lookup" | "fixture";
2652
2652
  locator?: string | undefined;
2653
2653
  }[];
2654
2654
  detail?: string | undefined;
2655
2655
  } | {
2656
- summary: string;
2657
2656
  kind: "agent_output";
2657
+ summary: string;
2658
2658
  agentId: string;
2659
2659
  sessionId: string;
2660
2660
  evidence: {
2661
- id: string;
2661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2662
2662
  label: string;
2663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2663
+ id: string;
2664
2664
  capture: "at_action" | "historical_lookup" | "fixture";
2665
2665
  locator?: string | undefined;
2666
2666
  }[];
@@ -2671,9 +2671,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2671
2671
  statement: string;
2672
2672
  sessionId: string;
2673
2673
  evidence: {
2674
- id: string;
2674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2675
2675
  label: string;
2676
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2676
+ id: string;
2677
2677
  capture: "at_action" | "historical_lookup" | "fixture";
2678
2678
  locator?: string | undefined;
2679
2679
  }[];
@@ -2681,12 +2681,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2681
2681
  decisionId: string;
2682
2682
  confidence?: number | undefined;
2683
2683
  } | {
2684
- summary: string;
2685
2684
  kind: "conflict_detected";
2685
+ summary: string;
2686
2686
  evidence: {
2687
- id: string;
2687
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2688
2688
  label: string;
2689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2689
+ id: string;
2690
2690
  capture: "at_action" | "historical_lookup" | "fixture";
2691
2691
  locator?: string | undefined;
2692
2692
  }[];
@@ -2694,14 +2694,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2694
2694
  decisionIds: string[];
2695
2695
  agentIds: string[];
2696
2696
  } | {
2697
+ kind: "test_result";
2697
2698
  summary: string;
2698
2699
  status: "error" | "failed" | "passed";
2699
- kind: "test_result";
2700
2700
  command: string;
2701
2701
  evidence: {
2702
- id: string;
2702
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2703
2703
  label: string;
2704
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2704
+ id: string;
2705
2705
  capture: "at_action" | "historical_lookup" | "fixture";
2706
2706
  locator?: string | undefined;
2707
2707
  }[];
@@ -2714,9 +2714,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2714
2714
  statement: string;
2715
2715
  rationale: string;
2716
2716
  evidence: {
2717
- id: string;
2717
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2718
2718
  label: string;
2719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2719
+ id: string;
2720
2720
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2721
  locator?: string | undefined;
2722
2722
  }[];
@@ -2728,25 +2728,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2728
2728
  } | {
2729
2729
  kind: "correction_approved";
2730
2730
  evidence: {
2731
- id: string;
2731
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2732
2732
  label: string;
2733
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
+ id: string;
2734
2734
  capture: "at_action" | "historical_lookup" | "fixture";
2735
2735
  locator?: string | undefined;
2736
2736
  }[];
2737
2737
  correctionId: string;
2738
2738
  approvedBy: {
2739
- id: string;
2740
- label: string;
2741
2739
  kind: "agent" | "human";
2740
+ label: string;
2741
+ id: string;
2742
2742
  };
2743
2743
  note?: string | undefined;
2744
2744
  } | {
2745
2745
  kind: "decision_superseded";
2746
2746
  evidence: {
2747
- id: string;
2747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2748
  label: string;
2749
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2749
+ id: string;
2750
2750
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2751
  locator?: string | undefined;
2752
2752
  }[];
@@ -2759,9 +2759,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2759
2759
  agentId: string;
2760
2760
  sessionId: string;
2761
2761
  evidence: {
2762
- id: string;
2762
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
2763
  label: string;
2764
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
+ id: string;
2765
2765
  capture: "at_action" | "historical_lookup" | "fixture";
2766
2766
  locator?: string | undefined;
2767
2767
  }[];
@@ -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
  }[];
@@ -2784,13 +2784,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2784
2784
  recallReceiptId: string;
2785
2785
  staleDecisionAbsent: boolean;
2786
2786
  } | {
2787
- summary: string;
2788
2787
  kind: "mission_completed";
2788
+ summary: string;
2789
2789
  outcome: "failed" | "recovered" | "inconclusive";
2790
2790
  evidence: {
2791
- id: string;
2791
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2792
2792
  label: string;
2793
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2793
+ id: string;
2794
2794
  capture: "at_action" | "historical_lookup" | "fixture";
2795
2795
  locator?: string | undefined;
2796
2796
  }[];
@@ -2800,37 +2800,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2800
2800
  objective: string;
2801
2801
  runMode: "replay" | "fixture" | "live";
2802
2802
  evidence?: {
2803
- id: string;
2803
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2804
2804
  label: string;
2805
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
+ id: string;
2806
2806
  capture: "at_action" | "historical_lookup" | "fixture";
2807
2807
  locator?: string | undefined;
2808
2808
  }[] | undefined;
2809
2809
  } | {
2810
- label: string;
2811
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2812
2810
  kind: "agent_status";
2811
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2812
+ label: string;
2813
2813
  role: string;
2814
2814
  agentId: string;
2815
2815
  sessionId: string;
2816
2816
  detail?: string | undefined;
2817
2817
  evidence?: {
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
  }[] | undefined;
2824
2824
  } | {
2825
- summary: string;
2826
2825
  kind: "agent_output";
2826
+ summary: string;
2827
2827
  agentId: string;
2828
2828
  sessionId: string;
2829
2829
  outputId: string;
2830
2830
  evidence?: {
2831
- id: string;
2831
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2832
2832
  label: string;
2833
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
+ id: string;
2834
2834
  capture: "at_action" | "historical_lookup" | "fixture";
2835
2835
  locator?: string | undefined;
2836
2836
  }[] | undefined;
@@ -2843,37 +2843,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2843
2843
  decisionId: string;
2844
2844
  confidence?: number | undefined;
2845
2845
  evidence?: {
2846
- id: string;
2846
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2847
2847
  label: string;
2848
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2848
+ id: string;
2849
2849
  capture: "at_action" | "historical_lookup" | "fixture";
2850
2850
  locator?: string | undefined;
2851
2851
  }[] | undefined;
2852
2852
  } | {
2853
- summary: string;
2854
2853
  kind: "conflict_detected";
2854
+ summary: string;
2855
2855
  conflictId: string;
2856
2856
  decisionIds: string[];
2857
2857
  agentIds: string[];
2858
2858
  evidence?: {
2859
- id: string;
2859
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2860
2860
  label: string;
2861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2861
+ id: string;
2862
2862
  capture: "at_action" | "historical_lookup" | "fixture";
2863
2863
  locator?: string | undefined;
2864
2864
  }[] | undefined;
2865
2865
  } | {
2866
+ kind: "test_result";
2866
2867
  summary: string;
2867
2868
  status: "error" | "failed" | "passed";
2868
- kind: "test_result";
2869
2869
  command: string;
2870
2870
  decisionId: string;
2871
2871
  testId: string;
2872
2872
  durationMs?: number | undefined;
2873
2873
  evidence?: {
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
  }[] | undefined;
@@ -2888,9 +2888,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2888
2888
  supersedesDecisionIds: string[];
2889
2889
  proposedBy: string;
2890
2890
  evidence?: {
2891
- id: string;
2891
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2892
  label: string;
2893
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2893
+ id: string;
2894
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2895
2895
  locator?: string | undefined;
2896
2896
  }[] | undefined;
@@ -2898,15 +2898,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2898
2898
  kind: "correction_approved";
2899
2899
  correctionId: string;
2900
2900
  approvedBy: {
2901
- id: string;
2902
- label: string;
2903
2901
  kind: "agent" | "human";
2902
+ label: string;
2903
+ id: string;
2904
2904
  };
2905
2905
  note?: string | undefined;
2906
2906
  evidence?: {
2907
- id: string;
2907
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2908
2908
  label: string;
2909
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
+ id: string;
2910
2910
  capture: "at_action" | "historical_lookup" | "fixture";
2911
2911
  locator?: string | undefined;
2912
2912
  }[] | undefined;
@@ -2916,9 +2916,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2916
2916
  correctionId: string;
2917
2917
  replacementDecisionId: string;
2918
2918
  evidence?: {
2919
- id: string;
2919
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2920
2920
  label: string;
2921
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2921
+ id: string;
2922
2922
  capture: "at_action" | "historical_lookup" | "fixture";
2923
2923
  locator?: string | undefined;
2924
2924
  }[] | undefined;
@@ -2931,9 +2931,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2931
2931
  recallReceiptId: string;
2932
2932
  capturedAtAction: boolean;
2933
2933
  evidence?: {
2934
- id: string;
2934
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2935
2935
  label: string;
2936
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
+ id: string;
2937
2937
  capture: "at_action" | "historical_lookup" | "fixture";
2938
2938
  locator?: string | undefined;
2939
2939
  }[] | undefined;
@@ -2946,20 +2946,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2946
2946
  recallReceiptId: string;
2947
2947
  staleDecisionAbsent: boolean;
2948
2948
  evidence?: {
2949
- id: string;
2949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
2950
  label: string;
2951
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
+ id: string;
2952
2952
  capture: "at_action" | "historical_lookup" | "fixture";
2953
2953
  locator?: string | undefined;
2954
2954
  }[] | undefined;
2955
2955
  } | {
2956
- summary: string;
2957
2956
  kind: "mission_completed";
2957
+ summary: string;
2958
2958
  outcome: "failed" | "recovered" | "inconclusive";
2959
2959
  evidence?: {
2960
- id: string;
2960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
2961
  label: string;
2962
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
+ id: string;
2963
2963
  capture: "at_action" | "historical_lookup" | "fixture";
2964
2964
  locator?: string | undefined;
2965
2965
  }[] | undefined;
@@ -2969,38 +2969,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2969
2969
  kind: "mission_started";
2970
2970
  title: string;
2971
2971
  evidence: {
2972
- id: string;
2972
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2973
2973
  label: string;
2974
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
+ id: string;
2975
2975
  capture: "at_action" | "historical_lookup" | "fixture";
2976
2976
  locator?: string | undefined;
2977
2977
  }[];
2978
2978
  objective: string;
2979
2979
  runMode: "replay" | "fixture" | "live";
2980
2980
  } | {
2981
- label: string;
2982
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2983
2981
  kind: "agent_status";
2982
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2983
+ label: string;
2984
2984
  role: string;
2985
2985
  agentId: string;
2986
2986
  sessionId: string;
2987
2987
  evidence: {
2988
- id: string;
2988
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
2989
  label: string;
2990
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2990
+ id: string;
2991
2991
  capture: "at_action" | "historical_lookup" | "fixture";
2992
2992
  locator?: string | undefined;
2993
2993
  }[];
2994
2994
  detail?: string | undefined;
2995
2995
  } | {
2996
- summary: string;
2997
2996
  kind: "agent_output";
2997
+ summary: string;
2998
2998
  agentId: string;
2999
2999
  sessionId: string;
3000
3000
  evidence: {
3001
- id: string;
3001
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3002
3002
  label: string;
3003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3003
+ id: string;
3004
3004
  capture: "at_action" | "historical_lookup" | "fixture";
3005
3005
  locator?: string | undefined;
3006
3006
  }[];
@@ -3011,9 +3011,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3011
3011
  statement: string;
3012
3012
  sessionId: string;
3013
3013
  evidence: {
3014
- id: string;
3014
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3015
3015
  label: string;
3016
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
+ id: string;
3017
3017
  capture: "at_action" | "historical_lookup" | "fixture";
3018
3018
  locator?: string | undefined;
3019
3019
  }[];
@@ -3021,12 +3021,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3021
3021
  decisionId: string;
3022
3022
  confidence?: number | undefined;
3023
3023
  } | {
3024
- summary: string;
3025
3024
  kind: "conflict_detected";
3025
+ summary: string;
3026
3026
  evidence: {
3027
- id: string;
3027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
3028
  label: string;
3029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3029
+ id: string;
3030
3030
  capture: "at_action" | "historical_lookup" | "fixture";
3031
3031
  locator?: string | undefined;
3032
3032
  }[];
@@ -3034,14 +3034,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3034
3034
  decisionIds: string[];
3035
3035
  agentIds: string[];
3036
3036
  } | {
3037
+ kind: "test_result";
3037
3038
  summary: string;
3038
3039
  status: "error" | "failed" | "passed";
3039
- kind: "test_result";
3040
3040
  command: string;
3041
3041
  evidence: {
3042
- id: string;
3042
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3043
3043
  label: string;
3044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3044
+ id: string;
3045
3045
  capture: "at_action" | "historical_lookup" | "fixture";
3046
3046
  locator?: string | undefined;
3047
3047
  }[];
@@ -3054,9 +3054,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3054
3054
  statement: string;
3055
3055
  rationale: string;
3056
3056
  evidence: {
3057
- id: string;
3057
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3058
3058
  label: string;
3059
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
+ id: string;
3060
3060
  capture: "at_action" | "historical_lookup" | "fixture";
3061
3061
  locator?: string | undefined;
3062
3062
  }[];
@@ -3068,25 +3068,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3068
3068
  } | {
3069
3069
  kind: "correction_approved";
3070
3070
  evidence: {
3071
- id: string;
3071
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
3072
  label: string;
3073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
+ id: string;
3074
3074
  capture: "at_action" | "historical_lookup" | "fixture";
3075
3075
  locator?: string | undefined;
3076
3076
  }[];
3077
3077
  correctionId: string;
3078
3078
  approvedBy: {
3079
- id: string;
3080
- label: string;
3081
3079
  kind: "agent" | "human";
3080
+ label: string;
3081
+ id: string;
3082
3082
  };
3083
3083
  note?: string | undefined;
3084
3084
  } | {
3085
3085
  kind: "decision_superseded";
3086
3086
  evidence: {
3087
- id: string;
3087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3088
  label: string;
3089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3089
+ id: string;
3090
3090
  capture: "at_action" | "historical_lookup" | "fixture";
3091
3091
  locator?: string | undefined;
3092
3092
  }[];
@@ -3099,9 +3099,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3099
3099
  agentId: string;
3100
3100
  sessionId: string;
3101
3101
  evidence: {
3102
- id: string;
3102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
3103
  label: string;
3104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3104
+ id: string;
3105
3105
  capture: "at_action" | "historical_lookup" | "fixture";
3106
3106
  locator?: string | undefined;
3107
3107
  }[];
@@ -3113,9 +3113,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3113
3113
  agentId: string;
3114
3114
  sessionId: string;
3115
3115
  evidence: {
3116
- id: string;
3116
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3117
3117
  label: string;
3118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
+ id: string;
3119
3119
  capture: "at_action" | "historical_lookup" | "fixture";
3120
3120
  locator?: string | undefined;
3121
3121
  }[];
@@ -3124,13 +3124,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3124
3124
  recallReceiptId: string;
3125
3125
  staleDecisionAbsent: boolean;
3126
3126
  } | {
3127
- summary: string;
3128
3127
  kind: "mission_completed";
3128
+ summary: string;
3129
3129
  outcome: "failed" | "recovered" | "inconclusive";
3130
3130
  evidence: {
3131
- id: string;
3131
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3132
3132
  label: string;
3133
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
+ id: string;
3134
3134
  capture: "at_action" | "historical_lookup" | "fixture";
3135
3135
  locator?: string | undefined;
3136
3136
  }[];
@@ -3144,37 +3144,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3144
3144
  objective: string;
3145
3145
  runMode: "replay" | "fixture" | "live";
3146
3146
  evidence?: {
3147
- id: string;
3147
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3148
3148
  label: string;
3149
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
+ id: string;
3150
3150
  capture: "at_action" | "historical_lookup" | "fixture";
3151
3151
  locator?: string | undefined;
3152
3152
  }[] | undefined;
3153
3153
  } | {
3154
- label: string;
3155
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3156
3154
  kind: "agent_status";
3155
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3156
+ label: string;
3157
3157
  role: string;
3158
3158
  agentId: string;
3159
3159
  sessionId: string;
3160
3160
  detail?: string | undefined;
3161
3161
  evidence?: {
3162
- id: string;
3162
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3163
3163
  label: string;
3164
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
+ id: string;
3165
3165
  capture: "at_action" | "historical_lookup" | "fixture";
3166
3166
  locator?: string | undefined;
3167
3167
  }[] | undefined;
3168
3168
  } | {
3169
- summary: string;
3170
3169
  kind: "agent_output";
3170
+ summary: string;
3171
3171
  agentId: string;
3172
3172
  sessionId: string;
3173
3173
  outputId: string;
3174
3174
  evidence?: {
3175
- id: string;
3175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
3176
  label: string;
3177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
+ id: string;
3178
3178
  capture: "at_action" | "historical_lookup" | "fixture";
3179
3179
  locator?: string | undefined;
3180
3180
  }[] | undefined;
@@ -3187,37 +3187,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3187
3187
  decisionId: string;
3188
3188
  confidence?: number | undefined;
3189
3189
  evidence?: {
3190
- id: string;
3190
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3191
3191
  label: string;
3192
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
+ id: string;
3193
3193
  capture: "at_action" | "historical_lookup" | "fixture";
3194
3194
  locator?: string | undefined;
3195
3195
  }[] | undefined;
3196
3196
  } | {
3197
- summary: string;
3198
3197
  kind: "conflict_detected";
3198
+ summary: string;
3199
3199
  conflictId: string;
3200
3200
  decisionIds: string[];
3201
3201
  agentIds: string[];
3202
3202
  evidence?: {
3203
- id: string;
3203
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3204
  label: string;
3205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3205
+ id: string;
3206
3206
  capture: "at_action" | "historical_lookup" | "fixture";
3207
3207
  locator?: string | undefined;
3208
3208
  }[] | undefined;
3209
3209
  } | {
3210
+ kind: "test_result";
3210
3211
  summary: string;
3211
3212
  status: "error" | "failed" | "passed";
3212
- kind: "test_result";
3213
3213
  command: string;
3214
3214
  decisionId: string;
3215
3215
  testId: string;
3216
3216
  durationMs?: number | undefined;
3217
3217
  evidence?: {
3218
- id: string;
3218
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3219
  label: string;
3220
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
+ id: string;
3221
3221
  capture: "at_action" | "historical_lookup" | "fixture";
3222
3222
  locator?: string | undefined;
3223
3223
  }[] | undefined;
@@ -3232,9 +3232,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3232
3232
  supersedesDecisionIds: string[];
3233
3233
  proposedBy: string;
3234
3234
  evidence?: {
3235
- id: string;
3235
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
3236
  label: string;
3237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3237
+ id: string;
3238
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3239
3239
  locator?: string | undefined;
3240
3240
  }[] | undefined;
@@ -3242,15 +3242,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3242
3242
  kind: "correction_approved";
3243
3243
  correctionId: string;
3244
3244
  approvedBy: {
3245
- id: string;
3246
- label: string;
3247
3245
  kind: "agent" | "human";
3246
+ label: string;
3247
+ id: string;
3248
3248
  };
3249
3249
  note?: string | undefined;
3250
3250
  evidence?: {
3251
- id: string;
3251
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3252
3252
  label: string;
3253
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
+ id: string;
3254
3254
  capture: "at_action" | "historical_lookup" | "fixture";
3255
3255
  locator?: string | undefined;
3256
3256
  }[] | undefined;
@@ -3260,9 +3260,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3260
3260
  correctionId: string;
3261
3261
  replacementDecisionId: string;
3262
3262
  evidence?: {
3263
- id: string;
3263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3264
3264
  label: string;
3265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
+ id: string;
3266
3266
  capture: "at_action" | "historical_lookup" | "fixture";
3267
3267
  locator?: string | undefined;
3268
3268
  }[] | undefined;
@@ -3275,9 +3275,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3275
3275
  recallReceiptId: string;
3276
3276
  capturedAtAction: boolean;
3277
3277
  evidence?: {
3278
- id: string;
3278
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3279
3279
  label: string;
3280
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
+ id: string;
3281
3281
  capture: "at_action" | "historical_lookup" | "fixture";
3282
3282
  locator?: string | undefined;
3283
3283
  }[] | undefined;
@@ -3290,20 +3290,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3290
3290
  recallReceiptId: string;
3291
3291
  staleDecisionAbsent: boolean;
3292
3292
  evidence?: {
3293
- id: string;
3293
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3294
3294
  label: string;
3295
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
+ id: string;
3296
3296
  capture: "at_action" | "historical_lookup" | "fixture";
3297
3297
  locator?: string | undefined;
3298
3298
  }[] | undefined;
3299
3299
  } | {
3300
- summary: string;
3301
3300
  kind: "mission_completed";
3301
+ summary: string;
3302
3302
  outcome: "failed" | "recovered" | "inconclusive";
3303
3303
  evidence?: {
3304
- id: string;
3304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3305
3305
  label: string;
3306
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
+ id: string;
3307
3307
  capture: "at_action" | "historical_lookup" | "fixture";
3308
3308
  locator?: string | undefined;
3309
3309
  }[] | undefined;
@@ -3333,15 +3333,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3333
3333
  locator: z.ZodOptional<z.ZodString>;
3334
3334
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3335
3335
  }, "strict", z.ZodTypeAny, {
3336
- id: string;
3336
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3337
3337
  label: string;
3338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
+ id: string;
3339
3339
  capture: "at_action" | "historical_lookup" | "fixture";
3340
3340
  locator?: string | undefined;
3341
3341
  }, {
3342
- id: string;
3342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3343
3343
  label: string;
3344
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
+ id: string;
3345
3345
  capture: "at_action" | "historical_lookup" | "fixture";
3346
3346
  locator?: string | undefined;
3347
3347
  }>, "many">>;
@@ -3349,9 +3349,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3349
3349
  kind: "mission_started";
3350
3350
  title: string;
3351
3351
  evidence: {
3352
- id: string;
3352
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3353
3353
  label: string;
3354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3354
+ id: string;
3355
3355
  capture: "at_action" | "historical_lookup" | "fixture";
3356
3356
  locator?: string | undefined;
3357
3357
  }[];
@@ -3363,9 +3363,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3363
3363
  objective: string;
3364
3364
  runMode: "replay" | "fixture" | "live";
3365
3365
  evidence?: {
3366
- id: string;
3366
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3367
3367
  label: string;
3368
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
+ id: string;
3369
3369
  capture: "at_action" | "historical_lookup" | "fixture";
3370
3370
  locator?: string | undefined;
3371
3371
  }[] | undefined;
@@ -3381,15 +3381,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3381
3381
  locator: z.ZodOptional<z.ZodString>;
3382
3382
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3383
3383
  }, "strict", z.ZodTypeAny, {
3384
- id: string;
3384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3385
3385
  label: string;
3386
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
+ id: string;
3387
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3388
  locator?: string | undefined;
3389
3389
  }, {
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
  }>, "many">>;
@@ -3397,32 +3397,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3397
3397
  sessionId: z.ZodString;
3398
3398
  kind: z.ZodLiteral<"agent_status">;
3399
3399
  }, "strict", z.ZodTypeAny, {
3400
- label: string;
3401
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3402
3400
  kind: "agent_status";
3401
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3402
+ label: string;
3403
3403
  role: string;
3404
3404
  agentId: string;
3405
3405
  sessionId: string;
3406
3406
  evidence: {
3407
- id: string;
3407
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3408
3408
  label: string;
3409
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
+ id: string;
3410
3410
  capture: "at_action" | "historical_lookup" | "fixture";
3411
3411
  locator?: string | undefined;
3412
3412
  }[];
3413
3413
  detail?: string | undefined;
3414
3414
  }, {
3415
- label: string;
3416
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3417
3415
  kind: "agent_status";
3416
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3417
+ label: string;
3418
3418
  role: string;
3419
3419
  agentId: string;
3420
3420
  sessionId: string;
3421
3421
  detail?: string | undefined;
3422
3422
  evidence?: {
3423
- id: string;
3423
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3424
3424
  label: string;
3425
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3425
+ id: string;
3426
3426
  capture: "at_action" | "historical_lookup" | "fixture";
3427
3427
  locator?: string | undefined;
3428
3428
  }[] | undefined;
@@ -3436,15 +3436,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3436
3436
  locator: z.ZodOptional<z.ZodString>;
3437
3437
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3438
3438
  }, "strict", z.ZodTypeAny, {
3439
- id: string;
3439
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3440
3440
  label: string;
3441
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
+ id: string;
3442
3442
  capture: "at_action" | "historical_lookup" | "fixture";
3443
3443
  locator?: string | undefined;
3444
3444
  }, {
3445
- id: string;
3445
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3446
3446
  label: string;
3447
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
+ id: string;
3448
3448
  capture: "at_action" | "historical_lookup" | "fixture";
3449
3449
  locator?: string | undefined;
3450
3450
  }>, "many">>;
@@ -3452,28 +3452,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3452
3452
  sessionId: z.ZodString;
3453
3453
  kind: z.ZodLiteral<"agent_output">;
3454
3454
  }, "strict", z.ZodTypeAny, {
3455
- summary: string;
3456
3455
  kind: "agent_output";
3456
+ summary: string;
3457
3457
  agentId: string;
3458
3458
  sessionId: string;
3459
3459
  evidence: {
3460
- id: string;
3460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3461
3461
  label: string;
3462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
+ id: string;
3463
3463
  capture: "at_action" | "historical_lookup" | "fixture";
3464
3464
  locator?: string | undefined;
3465
3465
  }[];
3466
3466
  outputId: string;
3467
3467
  }, {
3468
- summary: string;
3469
3468
  kind: "agent_output";
3469
+ summary: string;
3470
3470
  agentId: string;
3471
3471
  sessionId: string;
3472
3472
  outputId: string;
3473
3473
  evidence?: {
3474
- id: string;
3474
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3475
3475
  label: string;
3476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
+ id: string;
3477
3477
  capture: "at_action" | "historical_lookup" | "fixture";
3478
3478
  locator?: string | undefined;
3479
3479
  }[] | undefined;
@@ -3489,15 +3489,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3489
3489
  locator: z.ZodOptional<z.ZodString>;
3490
3490
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3491
3491
  }, "strict", z.ZodTypeAny, {
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
  }, {
3498
- id: string;
3498
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3499
3499
  label: string;
3500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
+ id: string;
3501
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3502
3502
  locator?: string | undefined;
3503
3503
  }>, "many">>;
@@ -3510,9 +3510,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3510
3510
  statement: string;
3511
3511
  sessionId: string;
3512
3512
  evidence: {
3513
- id: string;
3513
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3514
3514
  label: string;
3515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3515
+ id: string;
3516
3516
  capture: "at_action" | "historical_lookup" | "fixture";
3517
3517
  locator?: string | undefined;
3518
3518
  }[];
@@ -3528,9 +3528,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3528
3528
  decisionId: string;
3529
3529
  confidence?: number | undefined;
3530
3530
  evidence?: {
3531
- id: string;
3531
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
3532
  label: string;
3533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
+ id: string;
3534
3534
  capture: "at_action" | "historical_lookup" | "fixture";
3535
3535
  locator?: string | undefined;
3536
3536
  }[] | undefined;
@@ -3547,25 +3547,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3547
3547
  locator: z.ZodOptional<z.ZodString>;
3548
3548
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3549
3549
  }, "strict", z.ZodTypeAny, {
3550
- id: string;
3550
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3551
3551
  label: string;
3552
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3552
+ id: string;
3553
3553
  capture: "at_action" | "historical_lookup" | "fixture";
3554
3554
  locator?: string | undefined;
3555
3555
  }, {
3556
- id: string;
3556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3557
3557
  label: string;
3558
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3558
+ id: string;
3559
3559
  capture: "at_action" | "historical_lookup" | "fixture";
3560
3560
  locator?: string | undefined;
3561
3561
  }>, "many">>;
3562
3562
  }, "strict", z.ZodTypeAny, {
3563
- summary: string;
3564
3563
  kind: "conflict_detected";
3564
+ summary: string;
3565
3565
  evidence: {
3566
- id: string;
3566
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3567
3567
  label: string;
3568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
+ id: string;
3569
3569
  capture: "at_action" | "historical_lookup" | "fixture";
3570
3570
  locator?: string | undefined;
3571
3571
  }[];
@@ -3573,15 +3573,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3573
3573
  decisionIds: string[];
3574
3574
  agentIds: string[];
3575
3575
  }, {
3576
- summary: string;
3577
3576
  kind: "conflict_detected";
3577
+ summary: string;
3578
3578
  conflictId: string;
3579
3579
  decisionIds: string[];
3580
3580
  agentIds: string[];
3581
3581
  evidence?: {
3582
- id: string;
3582
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3583
3583
  label: string;
3584
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3584
+ id: string;
3585
3585
  capture: "at_action" | "historical_lookup" | "fixture";
3586
3586
  locator?: string | undefined;
3587
3587
  }[] | undefined;
@@ -3601,27 +3601,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3601
3601
  locator: z.ZodOptional<z.ZodString>;
3602
3602
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3603
3603
  }, "strict", z.ZodTypeAny, {
3604
- id: string;
3604
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3605
3605
  label: string;
3606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
+ id: string;
3607
3607
  capture: "at_action" | "historical_lookup" | "fixture";
3608
3608
  locator?: string | undefined;
3609
3609
  }, {
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
  }>, "many">>;
3616
3616
  }, "strict", z.ZodTypeAny, {
3617
+ kind: "test_result";
3617
3618
  summary: string;
3618
3619
  status: "error" | "failed" | "passed";
3619
- kind: "test_result";
3620
3620
  command: string;
3621
3621
  evidence: {
3622
- id: string;
3622
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3623
  label: string;
3624
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
+ id: string;
3625
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3626
3626
  locator?: string | undefined;
3627
3627
  }[];
@@ -3630,17 +3630,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3630
3630
  durationMs?: number | undefined;
3631
3631
  correctionId?: string | undefined;
3632
3632
  }, {
3633
+ kind: "test_result";
3633
3634
  summary: string;
3634
3635
  status: "error" | "failed" | "passed";
3635
- kind: "test_result";
3636
3636
  command: string;
3637
3637
  decisionId: string;
3638
3638
  testId: string;
3639
3639
  durationMs?: number | undefined;
3640
3640
  evidence?: {
3641
- id: string;
3641
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3642
3642
  label: string;
3643
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3643
+ id: string;
3644
3644
  capture: "at_action" | "historical_lookup" | "fixture";
3645
3645
  locator?: string | undefined;
3646
3646
  }[] | undefined;
@@ -3661,15 +3661,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3661
3661
  locator: z.ZodOptional<z.ZodString>;
3662
3662
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3663
3663
  }, "strict", z.ZodTypeAny, {
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
  }, {
3670
- id: string;
3670
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3671
  label: string;
3672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
+ id: string;
3673
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3674
3674
  locator?: string | undefined;
3675
3675
  }>, "many">>;
@@ -3678,9 +3678,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3678
3678
  statement: string;
3679
3679
  rationale: 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
  }[];
@@ -3699,9 +3699,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3699
3699
  supersedesDecisionIds: string[];
3700
3700
  proposedBy: string;
3701
3701
  evidence?: {
3702
- id: string;
3702
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3703
3703
  label: string;
3704
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
+ id: string;
3705
3705
  capture: "at_action" | "historical_lookup" | "fixture";
3706
3706
  locator?: string | undefined;
3707
3707
  }[] | undefined;
@@ -3713,13 +3713,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3713
3713
  id: z.ZodString;
3714
3714
  label: z.ZodString;
3715
3715
  }, "strict", z.ZodTypeAny, {
3716
- id: string;
3717
- label: string;
3718
3716
  kind: "agent" | "human";
3719
- }, {
3720
- id: string;
3721
3717
  label: string;
3718
+ id: string;
3719
+ }, {
3722
3720
  kind: "agent" | "human";
3721
+ label: string;
3722
+ id: string;
3723
3723
  }>;
3724
3724
  note: z.ZodOptional<z.ZodString>;
3725
3725
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3729,47 +3729,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3729
3729
  locator: z.ZodOptional<z.ZodString>;
3730
3730
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3731
3731
  }, "strict", z.ZodTypeAny, {
3732
- id: string;
3732
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3733
3733
  label: string;
3734
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3734
+ id: string;
3735
3735
  capture: "at_action" | "historical_lookup" | "fixture";
3736
3736
  locator?: string | undefined;
3737
3737
  }, {
3738
- id: string;
3738
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3739
3739
  label: string;
3740
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
+ id: string;
3741
3741
  capture: "at_action" | "historical_lookup" | "fixture";
3742
3742
  locator?: string | undefined;
3743
3743
  }>, "many">>;
3744
3744
  }, "strict", z.ZodTypeAny, {
3745
3745
  kind: "correction_approved";
3746
3746
  evidence: {
3747
- id: string;
3747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3748
3748
  label: string;
3749
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
+ id: string;
3750
3750
  capture: "at_action" | "historical_lookup" | "fixture";
3751
3751
  locator?: string | undefined;
3752
3752
  }[];
3753
3753
  correctionId: string;
3754
3754
  approvedBy: {
3755
- id: string;
3756
- label: string;
3757
3755
  kind: "agent" | "human";
3756
+ label: string;
3757
+ id: string;
3758
3758
  };
3759
3759
  note?: string | undefined;
3760
3760
  }, {
3761
3761
  kind: "correction_approved";
3762
3762
  correctionId: string;
3763
3763
  approvedBy: {
3764
- id: string;
3765
- label: string;
3766
3764
  kind: "agent" | "human";
3765
+ label: string;
3766
+ id: string;
3767
3767
  };
3768
3768
  note?: string | undefined;
3769
3769
  evidence?: {
3770
- id: string;
3770
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3771
3771
  label: string;
3772
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3772
+ id: string;
3773
3773
  capture: "at_action" | "historical_lookup" | "fixture";
3774
3774
  locator?: string | undefined;
3775
3775
  }[] | undefined;
@@ -3785,24 +3785,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3785
3785
  locator: z.ZodOptional<z.ZodString>;
3786
3786
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3787
3787
  }, "strict", z.ZodTypeAny, {
3788
- id: string;
3788
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3789
3789
  label: string;
3790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3790
+ id: string;
3791
3791
  capture: "at_action" | "historical_lookup" | "fixture";
3792
3792
  locator?: string | undefined;
3793
3793
  }, {
3794
- id: string;
3794
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
3795
  label: string;
3796
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3796
+ id: string;
3797
3797
  capture: "at_action" | "historical_lookup" | "fixture";
3798
3798
  locator?: string | undefined;
3799
3799
  }>, "many">>;
3800
3800
  }, "strict", z.ZodTypeAny, {
3801
3801
  kind: "decision_superseded";
3802
3802
  evidence: {
3803
- id: string;
3803
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3804
3804
  label: string;
3805
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3805
+ id: string;
3806
3806
  capture: "at_action" | "historical_lookup" | "fixture";
3807
3807
  locator?: string | undefined;
3808
3808
  }[];
@@ -3815,9 +3815,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3815
3815
  correctionId: string;
3816
3816
  replacementDecisionId: string;
3817
3817
  evidence?: {
3818
- id: string;
3818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3819
3819
  label: string;
3820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3820
+ id: string;
3821
3821
  capture: "at_action" | "historical_lookup" | "fixture";
3822
3822
  locator?: string | undefined;
3823
3823
  }[] | undefined;
@@ -3833,15 +3833,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3833
3833
  locator: z.ZodOptional<z.ZodString>;
3834
3834
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3835
3835
  }, "strict", z.ZodTypeAny, {
3836
- id: string;
3836
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3837
  label: string;
3838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
+ id: string;
3839
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3840
  locator?: string | undefined;
3841
3841
  }, {
3842
- id: string;
3842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3843
3843
  label: string;
3844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
+ id: string;
3845
3845
  capture: "at_action" | "historical_lookup" | "fixture";
3846
3846
  locator?: string | undefined;
3847
3847
  }>, "many">>;
@@ -3854,9 +3854,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3854
3854
  agentId: string;
3855
3855
  sessionId: string;
3856
3856
  evidence: {
3857
- id: string;
3857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
3858
  label: string;
3859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
+ id: string;
3860
3860
  capture: "at_action" | "historical_lookup" | "fixture";
3861
3861
  locator?: string | undefined;
3862
3862
  }[];
@@ -3872,9 +3872,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3872
3872
  recallReceiptId: string;
3873
3873
  capturedAtAction: boolean;
3874
3874
  evidence?: {
3875
- id: string;
3875
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3876
3876
  label: string;
3877
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3877
+ id: string;
3878
3878
  capture: "at_action" | "historical_lookup" | "fixture";
3879
3879
  locator?: string | undefined;
3880
3880
  }[] | undefined;
@@ -3890,15 +3890,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3890
3890
  locator: z.ZodOptional<z.ZodString>;
3891
3891
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3892
3892
  }, "strict", z.ZodTypeAny, {
3893
- id: string;
3893
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3894
3894
  label: string;
3895
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
+ id: string;
3896
3896
  capture: "at_action" | "historical_lookup" | "fixture";
3897
3897
  locator?: string | undefined;
3898
3898
  }, {
3899
- id: string;
3899
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3900
3900
  label: string;
3901
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
+ id: string;
3902
3902
  capture: "at_action" | "historical_lookup" | "fixture";
3903
3903
  locator?: string | undefined;
3904
3904
  }>, "many">>;
@@ -3910,9 +3910,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3910
3910
  agentId: string;
3911
3911
  sessionId: string;
3912
3912
  evidence: {
3913
- id: string;
3913
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3914
3914
  label: string;
3915
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
+ id: string;
3916
3916
  capture: "at_action" | "historical_lookup" | "fixture";
3917
3917
  locator?: string | undefined;
3918
3918
  }[];
@@ -3929,9 +3929,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3929
3929
  recallReceiptId: string;
3930
3930
  staleDecisionAbsent: boolean;
3931
3931
  evidence?: {
3932
- id: string;
3932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3933
3933
  label: string;
3934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
+ id: string;
3935
3935
  capture: "at_action" | "historical_lookup" | "fixture";
3936
3936
  locator?: string | undefined;
3937
3937
  }[] | undefined;
@@ -3946,37 +3946,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3946
3946
  locator: z.ZodOptional<z.ZodString>;
3947
3947
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3948
3948
  }, "strict", z.ZodTypeAny, {
3949
- id: string;
3949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3950
3950
  label: string;
3951
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
+ id: string;
3952
3952
  capture: "at_action" | "historical_lookup" | "fixture";
3953
3953
  locator?: string | undefined;
3954
3954
  }, {
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
  }>, "many">>;
3961
3961
  }, "strict", z.ZodTypeAny, {
3962
- summary: string;
3963
3962
  kind: "mission_completed";
3963
+ summary: string;
3964
3964
  outcome: "failed" | "recovered" | "inconclusive";
3965
3965
  evidence: {
3966
- id: string;
3966
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3967
3967
  label: string;
3968
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
+ id: string;
3969
3969
  capture: "at_action" | "historical_lookup" | "fixture";
3970
3970
  locator?: string | undefined;
3971
3971
  }[];
3972
3972
  }, {
3973
- summary: string;
3974
3973
  kind: "mission_completed";
3974
+ summary: string;
3975
3975
  outcome: "failed" | "recovered" | "inconclusive";
3976
3976
  evidence?: {
3977
- id: string;
3977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3978
3978
  label: string;
3979
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
+ id: string;
3980
3980
  capture: "at_action" | "historical_lookup" | "fixture";
3981
3981
  locator?: string | undefined;
3982
3982
  }[] | undefined;
@@ -3984,38 +3984,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3984
3984
  kind: "mission_started";
3985
3985
  title: string;
3986
3986
  evidence: {
3987
- id: string;
3987
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3988
3988
  label: string;
3989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
+ id: string;
3990
3990
  capture: "at_action" | "historical_lookup" | "fixture";
3991
3991
  locator?: string | undefined;
3992
3992
  }[];
3993
3993
  objective: string;
3994
3994
  runMode: "replay" | "fixture" | "live";
3995
3995
  } | {
3996
- label: string;
3997
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3998
3996
  kind: "agent_status";
3997
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3998
+ label: string;
3999
3999
  role: string;
4000
4000
  agentId: string;
4001
4001
  sessionId: string;
4002
4002
  evidence: {
4003
- id: string;
4003
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4004
4004
  label: string;
4005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4005
+ id: string;
4006
4006
  capture: "at_action" | "historical_lookup" | "fixture";
4007
4007
  locator?: string | undefined;
4008
4008
  }[];
4009
4009
  detail?: string | undefined;
4010
4010
  } | {
4011
- summary: string;
4012
4011
  kind: "agent_output";
4012
+ summary: string;
4013
4013
  agentId: string;
4014
4014
  sessionId: string;
4015
4015
  evidence: {
4016
- id: string;
4016
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4017
4017
  label: string;
4018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4018
+ id: string;
4019
4019
  capture: "at_action" | "historical_lookup" | "fixture";
4020
4020
  locator?: string | undefined;
4021
4021
  }[];
@@ -4026,9 +4026,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4026
4026
  statement: string;
4027
4027
  sessionId: string;
4028
4028
  evidence: {
4029
- id: string;
4029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4030
4030
  label: string;
4031
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4031
+ id: string;
4032
4032
  capture: "at_action" | "historical_lookup" | "fixture";
4033
4033
  locator?: string | undefined;
4034
4034
  }[];
@@ -4036,12 +4036,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4036
4036
  decisionId: string;
4037
4037
  confidence?: number | undefined;
4038
4038
  } | {
4039
- summary: string;
4040
4039
  kind: "conflict_detected";
4040
+ summary: string;
4041
4041
  evidence: {
4042
- id: string;
4042
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4043
4043
  label: string;
4044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4044
+ id: string;
4045
4045
  capture: "at_action" | "historical_lookup" | "fixture";
4046
4046
  locator?: string | undefined;
4047
4047
  }[];
@@ -4049,14 +4049,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4049
4049
  decisionIds: string[];
4050
4050
  agentIds: string[];
4051
4051
  } | {
4052
+ kind: "test_result";
4052
4053
  summary: string;
4053
4054
  status: "error" | "failed" | "passed";
4054
- kind: "test_result";
4055
4055
  command: string;
4056
4056
  evidence: {
4057
- id: string;
4057
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4058
4058
  label: string;
4059
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4059
+ id: string;
4060
4060
  capture: "at_action" | "historical_lookup" | "fixture";
4061
4061
  locator?: string | undefined;
4062
4062
  }[];
@@ -4069,9 +4069,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4069
4069
  statement: string;
4070
4070
  rationale: string;
4071
4071
  evidence: {
4072
- id: string;
4072
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4073
4073
  label: string;
4074
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4074
+ id: string;
4075
4075
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4076
  locator?: string | undefined;
4077
4077
  }[];
@@ -4083,25 +4083,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4083
4083
  } | {
4084
4084
  kind: "correction_approved";
4085
4085
  evidence: {
4086
- id: string;
4086
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4087
4087
  label: string;
4088
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
+ id: string;
4089
4089
  capture: "at_action" | "historical_lookup" | "fixture";
4090
4090
  locator?: string | undefined;
4091
4091
  }[];
4092
4092
  correctionId: string;
4093
4093
  approvedBy: {
4094
- id: string;
4095
- label: string;
4096
4094
  kind: "agent" | "human";
4095
+ label: string;
4096
+ id: string;
4097
4097
  };
4098
4098
  note?: string | undefined;
4099
4099
  } | {
4100
4100
  kind: "decision_superseded";
4101
4101
  evidence: {
4102
- id: string;
4102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4103
  label: string;
4104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4104
+ id: string;
4105
4105
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4106
  locator?: string | undefined;
4107
4107
  }[];
@@ -4114,9 +4114,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4114
4114
  agentId: string;
4115
4115
  sessionId: string;
4116
4116
  evidence: {
4117
- id: string;
4117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
4118
  label: string;
4119
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
+ id: string;
4120
4120
  capture: "at_action" | "historical_lookup" | "fixture";
4121
4121
  locator?: string | undefined;
4122
4122
  }[];
@@ -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
  }[];
@@ -4139,13 +4139,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4139
4139
  recallReceiptId: string;
4140
4140
  staleDecisionAbsent: boolean;
4141
4141
  } | {
4142
- summary: string;
4143
4142
  kind: "mission_completed";
4143
+ summary: string;
4144
4144
  outcome: "failed" | "recovered" | "inconclusive";
4145
4145
  evidence: {
4146
- id: string;
4146
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4147
4147
  label: string;
4148
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4148
+ id: string;
4149
4149
  capture: "at_action" | "historical_lookup" | "fixture";
4150
4150
  locator?: string | undefined;
4151
4151
  }[];
@@ -4155,37 +4155,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4155
4155
  objective: string;
4156
4156
  runMode: "replay" | "fixture" | "live";
4157
4157
  evidence?: {
4158
- id: string;
4158
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4159
4159
  label: string;
4160
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
+ id: string;
4161
4161
  capture: "at_action" | "historical_lookup" | "fixture";
4162
4162
  locator?: string | undefined;
4163
4163
  }[] | undefined;
4164
4164
  } | {
4165
- label: string;
4166
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4167
4165
  kind: "agent_status";
4166
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4167
+ label: string;
4168
4168
  role: string;
4169
4169
  agentId: string;
4170
4170
  sessionId: string;
4171
4171
  detail?: string | undefined;
4172
4172
  evidence?: {
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
  }[] | undefined;
4179
4179
  } | {
4180
- summary: string;
4181
4180
  kind: "agent_output";
4181
+ summary: string;
4182
4182
  agentId: string;
4183
4183
  sessionId: string;
4184
4184
  outputId: string;
4185
4185
  evidence?: {
4186
- id: string;
4186
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4187
4187
  label: string;
4188
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
+ id: string;
4189
4189
  capture: "at_action" | "historical_lookup" | "fixture";
4190
4190
  locator?: string | undefined;
4191
4191
  }[] | undefined;
@@ -4198,37 +4198,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4198
4198
  decisionId: string;
4199
4199
  confidence?: number | undefined;
4200
4200
  evidence?: {
4201
- id: string;
4201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4202
4202
  label: string;
4203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4203
+ id: string;
4204
4204
  capture: "at_action" | "historical_lookup" | "fixture";
4205
4205
  locator?: string | undefined;
4206
4206
  }[] | undefined;
4207
4207
  } | {
4208
- summary: string;
4209
4208
  kind: "conflict_detected";
4209
+ summary: string;
4210
4210
  conflictId: string;
4211
4211
  decisionIds: string[];
4212
4212
  agentIds: string[];
4213
4213
  evidence?: {
4214
- id: string;
4214
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4215
4215
  label: string;
4216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4216
+ id: string;
4217
4217
  capture: "at_action" | "historical_lookup" | "fixture";
4218
4218
  locator?: string | undefined;
4219
4219
  }[] | undefined;
4220
4220
  } | {
4221
+ kind: "test_result";
4221
4222
  summary: string;
4222
4223
  status: "error" | "failed" | "passed";
4223
- kind: "test_result";
4224
4224
  command: string;
4225
4225
  decisionId: string;
4226
4226
  testId: string;
4227
4227
  durationMs?: number | undefined;
4228
4228
  evidence?: {
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
  }[] | undefined;
@@ -4243,9 +4243,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4243
4243
  supersedesDecisionIds: string[];
4244
4244
  proposedBy: string;
4245
4245
  evidence?: {
4246
- id: string;
4246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4247
  label: string;
4248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4248
+ id: string;
4249
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4250
  locator?: string | undefined;
4251
4251
  }[] | undefined;
@@ -4253,15 +4253,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4253
4253
  kind: "correction_approved";
4254
4254
  correctionId: string;
4255
4255
  approvedBy: {
4256
- id: string;
4257
- label: string;
4258
4256
  kind: "agent" | "human";
4257
+ label: string;
4258
+ id: string;
4259
4259
  };
4260
4260
  note?: string | undefined;
4261
4261
  evidence?: {
4262
- id: string;
4262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4263
4263
  label: string;
4264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
+ id: string;
4265
4265
  capture: "at_action" | "historical_lookup" | "fixture";
4266
4266
  locator?: string | undefined;
4267
4267
  }[] | undefined;
@@ -4271,9 +4271,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4271
4271
  correctionId: string;
4272
4272
  replacementDecisionId: string;
4273
4273
  evidence?: {
4274
- id: string;
4274
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4275
4275
  label: string;
4276
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4276
+ id: string;
4277
4277
  capture: "at_action" | "historical_lookup" | "fixture";
4278
4278
  locator?: string | undefined;
4279
4279
  }[] | undefined;
@@ -4286,9 +4286,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4286
4286
  recallReceiptId: string;
4287
4287
  capturedAtAction: boolean;
4288
4288
  evidence?: {
4289
- id: string;
4289
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4290
4290
  label: string;
4291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
+ id: string;
4292
4292
  capture: "at_action" | "historical_lookup" | "fixture";
4293
4293
  locator?: string | undefined;
4294
4294
  }[] | undefined;
@@ -4301,64 +4301,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4301
4301
  recallReceiptId: string;
4302
4302
  staleDecisionAbsent: boolean;
4303
4303
  evidence?: {
4304
- id: string;
4304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4305
4305
  label: string;
4306
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
+ id: string;
4307
4307
  capture: "at_action" | "historical_lookup" | "fixture";
4308
4308
  locator?: string | undefined;
4309
4309
  }[] | undefined;
4310
4310
  } | {
4311
- summary: string;
4312
4311
  kind: "mission_completed";
4312
+ summary: string;
4313
4313
  outcome: "failed" | "recovered" | "inconclusive";
4314
4314
  evidence?: {
4315
- id: string;
4315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4316
  label: string;
4317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
+ id: string;
4318
4318
  capture: "at_action" | "historical_lookup" | "fixture";
4319
4319
  locator?: string | undefined;
4320
4320
  }[] | undefined;
4321
4321
  }>;
4322
4322
  }, "strict", z.ZodTypeAny, {
4323
- namespace: string;
4324
- recordedAt: string;
4325
4323
  schemaVersion: "1";
4324
+ recordedAt: string;
4326
4325
  payload: {
4327
4326
  kind: "mission_started";
4328
4327
  title: string;
4329
4328
  evidence: {
4330
- id: string;
4329
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4331
4330
  label: string;
4332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4331
+ id: string;
4333
4332
  capture: "at_action" | "historical_lookup" | "fixture";
4334
4333
  locator?: string | undefined;
4335
4334
  }[];
4336
4335
  objective: string;
4337
4336
  runMode: "replay" | "fixture" | "live";
4338
4337
  } | {
4339
- label: string;
4340
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4341
4338
  kind: "agent_status";
4339
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4340
+ label: string;
4342
4341
  role: string;
4343
4342
  agentId: string;
4344
4343
  sessionId: string;
4345
4344
  evidence: {
4346
- id: string;
4345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
4346
  label: string;
4348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
+ id: string;
4349
4348
  capture: "at_action" | "historical_lookup" | "fixture";
4350
4349
  locator?: string | undefined;
4351
4350
  }[];
4352
4351
  detail?: string | undefined;
4353
4352
  } | {
4354
- summary: string;
4355
4353
  kind: "agent_output";
4354
+ summary: string;
4356
4355
  agentId: string;
4357
4356
  sessionId: string;
4358
4357
  evidence: {
4359
- id: string;
4358
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4360
4359
  label: string;
4361
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4360
+ id: string;
4362
4361
  capture: "at_action" | "historical_lookup" | "fixture";
4363
4362
  locator?: string | undefined;
4364
4363
  }[];
@@ -4369,9 +4368,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4369
4368
  statement: string;
4370
4369
  sessionId: string;
4371
4370
  evidence: {
4372
- id: string;
4371
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4372
  label: string;
4374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
+ id: string;
4375
4374
  capture: "at_action" | "historical_lookup" | "fixture";
4376
4375
  locator?: string | undefined;
4377
4376
  }[];
@@ -4379,12 +4378,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4379
4378
  decisionId: string;
4380
4379
  confidence?: number | undefined;
4381
4380
  } | {
4382
- summary: string;
4383
4381
  kind: "conflict_detected";
4382
+ summary: string;
4384
4383
  evidence: {
4385
- id: string;
4384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
4385
  label: string;
4387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
+ id: string;
4388
4387
  capture: "at_action" | "historical_lookup" | "fixture";
4389
4388
  locator?: string | undefined;
4390
4389
  }[];
@@ -4392,14 +4391,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4392
4391
  decisionIds: string[];
4393
4392
  agentIds: string[];
4394
4393
  } | {
4394
+ kind: "test_result";
4395
4395
  summary: string;
4396
4396
  status: "error" | "failed" | "passed";
4397
- kind: "test_result";
4398
4397
  command: string;
4399
4398
  evidence: {
4400
- id: string;
4399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
4400
  label: string;
4402
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
+ id: string;
4403
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4404
4403
  locator?: string | undefined;
4405
4404
  }[];
@@ -4412,9 +4411,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4412
4411
  statement: string;
4413
4412
  rationale: string;
4414
4413
  evidence: {
4415
- id: string;
4414
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
4415
  label: string;
4417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
+ id: string;
4418
4417
  capture: "at_action" | "historical_lookup" | "fixture";
4419
4418
  locator?: string | undefined;
4420
4419
  }[];
@@ -4426,25 +4425,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4426
4425
  } | {
4427
4426
  kind: "correction_approved";
4428
4427
  evidence: {
4429
- id: string;
4428
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
4429
  label: string;
4431
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
+ id: string;
4432
4431
  capture: "at_action" | "historical_lookup" | "fixture";
4433
4432
  locator?: string | undefined;
4434
4433
  }[];
4435
4434
  correctionId: string;
4436
4435
  approvedBy: {
4437
- id: string;
4438
- label: string;
4439
4436
  kind: "agent" | "human";
4437
+ label: string;
4438
+ id: string;
4440
4439
  };
4441
4440
  note?: string | undefined;
4442
4441
  } | {
4443
4442
  kind: "decision_superseded";
4444
4443
  evidence: {
4445
- id: string;
4444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4446
4445
  label: string;
4447
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4446
+ id: string;
4448
4447
  capture: "at_action" | "historical_lookup" | "fixture";
4449
4448
  locator?: string | undefined;
4450
4449
  }[];
@@ -4457,9 +4456,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4457
4456
  agentId: string;
4458
4457
  sessionId: string;
4459
4458
  evidence: {
4460
- id: string;
4459
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
4460
  label: string;
4462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
+ id: string;
4463
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4464
4463
  locator?: string | undefined;
4465
4464
  }[];
@@ -4471,9 +4470,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4471
4470
  agentId: string;
4472
4471
  sessionId: string;
4473
4472
  evidence: {
4474
- id: string;
4473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4474
  label: string;
4476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
+ id: string;
4477
4476
  capture: "at_action" | "historical_lookup" | "fixture";
4478
4477
  locator?: string | undefined;
4479
4478
  }[];
@@ -4482,63 +4481,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4482
4481
  recallReceiptId: string;
4483
4482
  staleDecisionAbsent: boolean;
4484
4483
  } | {
4485
- summary: string;
4486
4484
  kind: "mission_completed";
4485
+ summary: string;
4487
4486
  outcome: "failed" | "recovered" | "inconclusive";
4488
4487
  evidence: {
4489
- id: string;
4488
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4489
  label: string;
4491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
+ id: string;
4492
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4493
4492
  locator?: string | undefined;
4494
4493
  }[];
4495
4494
  };
4495
+ namespace: string;
4496
4496
  eventId: string;
4497
4497
  occurredAt: string;
4498
4498
  missionId: string;
4499
4499
  authenticatedPrincipal?: string | undefined;
4500
4500
  idempotencyKey?: string | undefined;
4501
4501
  }, {
4502
- namespace: string;
4503
- recordedAt: string;
4504
4502
  schemaVersion: "1";
4503
+ recordedAt: string;
4505
4504
  payload: {
4506
4505
  kind: "mission_started";
4507
4506
  title: string;
4508
4507
  objective: string;
4509
4508
  runMode: "replay" | "fixture" | "live";
4510
4509
  evidence?: {
4511
- id: string;
4510
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4512
4511
  label: string;
4513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4512
+ id: string;
4514
4513
  capture: "at_action" | "historical_lookup" | "fixture";
4515
4514
  locator?: string | undefined;
4516
4515
  }[] | undefined;
4517
4516
  } | {
4518
- label: string;
4519
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4520
4517
  kind: "agent_status";
4518
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4519
+ label: string;
4521
4520
  role: string;
4522
4521
  agentId: string;
4523
4522
  sessionId: string;
4524
4523
  detail?: string | undefined;
4525
4524
  evidence?: {
4526
- id: string;
4525
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
4526
  label: string;
4528
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
+ id: string;
4529
4528
  capture: "at_action" | "historical_lookup" | "fixture";
4530
4529
  locator?: string | undefined;
4531
4530
  }[] | undefined;
4532
4531
  } | {
4533
- summary: string;
4534
4532
  kind: "agent_output";
4533
+ summary: string;
4535
4534
  agentId: string;
4536
4535
  sessionId: string;
4537
4536
  outputId: string;
4538
4537
  evidence?: {
4539
- id: string;
4538
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
4539
  label: string;
4541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
+ id: string;
4542
4541
  capture: "at_action" | "historical_lookup" | "fixture";
4543
4542
  locator?: string | undefined;
4544
4543
  }[] | undefined;
@@ -4551,37 +4550,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4551
4550
  decisionId: string;
4552
4551
  confidence?: number | undefined;
4553
4552
  evidence?: {
4554
- id: string;
4553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4554
  label: string;
4556
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
+ id: string;
4557
4556
  capture: "at_action" | "historical_lookup" | "fixture";
4558
4557
  locator?: string | undefined;
4559
4558
  }[] | undefined;
4560
4559
  } | {
4561
- summary: string;
4562
4560
  kind: "conflict_detected";
4561
+ summary: string;
4563
4562
  conflictId: string;
4564
4563
  decisionIds: string[];
4565
4564
  agentIds: string[];
4566
4565
  evidence?: {
4567
- id: string;
4566
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
4567
  label: string;
4569
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
+ id: string;
4570
4569
  capture: "at_action" | "historical_lookup" | "fixture";
4571
4570
  locator?: string | undefined;
4572
4571
  }[] | undefined;
4573
4572
  } | {
4573
+ kind: "test_result";
4574
4574
  summary: string;
4575
4575
  status: "error" | "failed" | "passed";
4576
- kind: "test_result";
4577
4576
  command: string;
4578
4577
  decisionId: string;
4579
4578
  testId: string;
4580
4579
  durationMs?: number | undefined;
4581
4580
  evidence?: {
4582
- id: string;
4581
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
4582
  label: string;
4584
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
+ id: string;
4585
4584
  capture: "at_action" | "historical_lookup" | "fixture";
4586
4585
  locator?: string | undefined;
4587
4586
  }[] | undefined;
@@ -4596,9 +4595,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4596
4595
  supersedesDecisionIds: string[];
4597
4596
  proposedBy: string;
4598
4597
  evidence?: {
4599
- id: string;
4598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4599
  label: string;
4601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
+ id: string;
4602
4601
  capture: "at_action" | "historical_lookup" | "fixture";
4603
4602
  locator?: string | undefined;
4604
4603
  }[] | undefined;
@@ -4606,15 +4605,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4606
4605
  kind: "correction_approved";
4607
4606
  correctionId: string;
4608
4607
  approvedBy: {
4609
- id: string;
4610
- label: string;
4611
4608
  kind: "agent" | "human";
4609
+ label: string;
4610
+ id: string;
4612
4611
  };
4613
4612
  note?: string | undefined;
4614
4613
  evidence?: {
4615
- id: string;
4614
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
4615
  label: string;
4617
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
+ id: string;
4618
4617
  capture: "at_action" | "historical_lookup" | "fixture";
4619
4618
  locator?: string | undefined;
4620
4619
  }[] | undefined;
@@ -4624,9 +4623,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4624
4623
  correctionId: string;
4625
4624
  replacementDecisionId: string;
4626
4625
  evidence?: {
4627
- id: string;
4626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
4627
  label: string;
4629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
+ id: string;
4630
4629
  capture: "at_action" | "historical_lookup" | "fixture";
4631
4630
  locator?: string | undefined;
4632
4631
  }[] | undefined;
@@ -4639,9 +4638,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4639
4638
  recallReceiptId: string;
4640
4639
  capturedAtAction: boolean;
4641
4640
  evidence?: {
4642
- id: string;
4641
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
4642
  label: string;
4644
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
+ id: string;
4645
4644
  capture: "at_action" | "historical_lookup" | "fixture";
4646
4645
  locator?: string | undefined;
4647
4646
  }[] | undefined;
@@ -4654,24 +4653,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4654
4653
  recallReceiptId: string;
4655
4654
  staleDecisionAbsent: boolean;
4656
4655
  evidence?: {
4657
- id: string;
4656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
4657
  label: string;
4659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
+ id: string;
4660
4659
  capture: "at_action" | "historical_lookup" | "fixture";
4661
4660
  locator?: string | undefined;
4662
4661
  }[] | undefined;
4663
4662
  } | {
4664
- summary: string;
4665
4663
  kind: "mission_completed";
4664
+ summary: string;
4666
4665
  outcome: "failed" | "recovered" | "inconclusive";
4667
4666
  evidence?: {
4668
- id: string;
4667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4669
4668
  label: string;
4670
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4669
+ id: string;
4671
4670
  capture: "at_action" | "historical_lookup" | "fixture";
4672
4671
  locator?: string | undefined;
4673
4672
  }[] | undefined;
4674
4673
  };
4674
+ namespace: string;
4675
4675
  eventId: string;
4676
4676
  occurredAt: string;
4677
4677
  missionId: string;