@remnic/core 9.68.0 → 9.69.0

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 (45) 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-cli.js +1 -1
  5. package/dist/access-extraction-force-flush.d.ts +1 -1
  6. package/dist/access-http-lcm-compaction.d.ts +1 -1
  7. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  8. package/dist/access-http-offline-stream.d.ts +1 -1
  9. package/dist/access-http.d.ts +2 -2
  10. package/dist/access-lcm-surface.d.ts +1 -1
  11. package/dist/access-mcp.d.ts +1 -1
  12. package/dist/access-observe-write-surface.d.ts +1 -1
  13. package/dist/access-operations.d.ts +6 -6
  14. package/dist/access-recall-concurrency.d.ts +1 -1
  15. package/dist/access-recall-response.d.ts +1 -1
  16. package/dist/access-recall-surface.d.ts +1 -1
  17. package/dist/access-schema.d.ts +89 -89
  18. package/dist/access-service-helpers.d.ts +1 -1
  19. package/dist/access-service.d.ts +1 -1
  20. package/dist/access-surface-catalog.d.ts +1 -1
  21. package/dist/{chunk-WFFGUFFN.js → chunk-BZ26443Y.js} +60 -1
  22. package/dist/chunk-BZ26443Y.js.map +1 -0
  23. package/dist/{cli-Bvy4jdBu.d.ts → cli-CFpMhqz5.d.ts} +1 -1
  24. package/dist/cli.d.ts +2 -2
  25. package/dist/external-wiki-access.d.ts +1 -1
  26. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  27. package/dist/index.d.ts +713 -681
  28. package/dist/index.js +5 -1
  29. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  30. package/dist/memory-subject-cli.d.ts +1 -1
  31. package/dist/memory-subject.d.ts +1 -1
  32. package/dist/orchestrator.js +1 -1
  33. package/dist/{public-http-2MyshWxl.d.ts → public-http-C9-CHc40.d.ts} +1 -1
  34. package/dist/schemas.d.ts +176 -176
  35. package/dist/shared-context/manager.d.ts +6 -6
  36. package/dist/support-passport/index.d.ts +4 -4
  37. package/dist/transfer/types.d.ts +78 -78
  38. package/dist/who-knows-cli.d.ts +1 -1
  39. package/dist/who-knows.d.ts +1 -1
  40. package/package.json +2 -2
  41. package/src/activity/index.ts +1 -0
  42. package/src/activity/vault-status.test.ts +138 -0
  43. package/src/activity/vault-status.ts +96 -0
  44. package/dist/chunk-WFFGUFFN.js.map +0 -1
  45. package/dist/{access-service-LbwWl05g.d.ts → access-service-DcfM0Vf0.d.ts} +64 -64
package/dist/index.d.ts CHANGED
@@ -34,8 +34,8 @@ export { bS as ACTION_GATE_DEFAULTS, bT as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
34
34
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
35
35
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
36
36
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
37
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-LbwWl05g.js';
38
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-LbwWl05g.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-DcfM0Vf0.js';
38
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-DcfM0Vf0.js';
39
39
  import { LocalLlmClient } from './local-llm.js';
40
40
  import { FallbackLlmClient } from './fallback-llm.js';
41
41
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -58,10 +58,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
58
58
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
59
59
  export { storagePathHash } from './storage-paths.js';
60
60
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
61
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bvy4jdBu.js';
61
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-CFpMhqz5.js';
62
62
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
63
63
  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';
64
- 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-2MyshWxl.js';
64
+ 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-C9-CHc40.js';
65
65
  import { z } from 'zod';
66
66
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
67
67
  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';
@@ -1231,15 +1231,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1231
1231
  locator: z.ZodOptional<z.ZodString>;
1232
1232
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1233
1233
  }, "strict", z.ZodTypeAny, {
1234
- id: string;
1234
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
1235
  label: string;
1236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1236
+ id: string;
1237
1237
  capture: "at_action" | "historical_lookup" | "fixture";
1238
1238
  locator?: string | undefined;
1239
1239
  }, {
1240
- id: string;
1240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
1241
  label: string;
1242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1242
+ id: string;
1243
1243
  capture: "at_action" | "historical_lookup" | "fixture";
1244
1244
  locator?: string | undefined;
1245
1245
  }>;
@@ -1256,15 +1256,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1256
1256
  locator: z.ZodOptional<z.ZodString>;
1257
1257
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1258
1258
  }, "strict", z.ZodTypeAny, {
1259
- id: string;
1259
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
1260
  label: string;
1261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1261
+ id: string;
1262
1262
  capture: "at_action" | "historical_lookup" | "fixture";
1263
1263
  locator?: string | undefined;
1264
1264
  }, {
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
  }>, "many">>;
@@ -1272,9 +1272,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1272
1272
  kind: "mission_started";
1273
1273
  title: string;
1274
1274
  evidence: {
1275
- id: string;
1275
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1276
1276
  label: string;
1277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1277
+ id: string;
1278
1278
  capture: "at_action" | "historical_lookup" | "fixture";
1279
1279
  locator?: string | undefined;
1280
1280
  }[];
@@ -1286,9 +1286,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1286
1286
  objective: string;
1287
1287
  runMode: "replay" | "fixture" | "live";
1288
1288
  evidence?: {
1289
- id: string;
1289
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1290
1290
  label: string;
1291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1291
+ id: string;
1292
1292
  capture: "at_action" | "historical_lookup" | "fixture";
1293
1293
  locator?: string | undefined;
1294
1294
  }[] | 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">>;
@@ -1320,32 +1320,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1320
1320
  sessionId: z.ZodString;
1321
1321
  kind: z.ZodLiteral<"agent_status">;
1322
1322
  }, "strict", z.ZodTypeAny, {
1323
- label: string;
1324
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1325
1323
  kind: "agent_status";
1324
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1325
+ label: string;
1326
1326
  role: string;
1327
1327
  agentId: string;
1328
1328
  sessionId: string;
1329
1329
  evidence: {
1330
- id: string;
1330
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
1331
  label: string;
1332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1332
+ id: string;
1333
1333
  capture: "at_action" | "historical_lookup" | "fixture";
1334
1334
  locator?: string | undefined;
1335
1335
  }[];
1336
1336
  detail?: string | undefined;
1337
1337
  }, {
1338
- label: string;
1339
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1340
1338
  kind: "agent_status";
1339
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1340
+ label: string;
1341
1341
  role: string;
1342
1342
  agentId: string;
1343
1343
  sessionId: string;
1344
1344
  detail?: string | undefined;
1345
1345
  evidence?: {
1346
- id: string;
1346
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
1347
  label: string;
1348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1348
+ id: string;
1349
1349
  capture: "at_action" | "historical_lookup" | "fixture";
1350
1350
  locator?: string | undefined;
1351
1351
  }[] | undefined;
@@ -1359,15 +1359,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1359
  locator: z.ZodOptional<z.ZodString>;
1360
1360
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1361
1361
  }, "strict", z.ZodTypeAny, {
1362
- id: string;
1362
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1363
  label: string;
1364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1364
+ id: string;
1365
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1366
  locator?: string | undefined;
1367
1367
  }, {
1368
- id: string;
1368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1369
  label: string;
1370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1370
+ id: string;
1371
1371
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1372
  locator?: string | undefined;
1373
1373
  }>, "many">>;
@@ -1375,28 +1375,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1375
1375
  sessionId: z.ZodString;
1376
1376
  kind: z.ZodLiteral<"agent_output">;
1377
1377
  }, "strict", z.ZodTypeAny, {
1378
- summary: string;
1379
1378
  kind: "agent_output";
1379
+ summary: string;
1380
1380
  agentId: string;
1381
1381
  sessionId: string;
1382
1382
  evidence: {
1383
- id: string;
1383
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
1384
  label: string;
1385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1385
+ id: string;
1386
1386
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1387
  locator?: string | undefined;
1388
1388
  }[];
1389
1389
  outputId: string;
1390
1390
  }, {
1391
- summary: string;
1392
1391
  kind: "agent_output";
1392
+ summary: string;
1393
1393
  agentId: string;
1394
1394
  sessionId: string;
1395
1395
  outputId: string;
1396
1396
  evidence?: {
1397
- id: string;
1397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
1398
  label: string;
1399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1399
+ id: string;
1400
1400
  capture: "at_action" | "historical_lookup" | "fixture";
1401
1401
  locator?: string | undefined;
1402
1402
  }[] | undefined;
@@ -1412,15 +1412,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1412
1412
  locator: z.ZodOptional<z.ZodString>;
1413
1413
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1414
1414
  }, "strict", z.ZodTypeAny, {
1415
- id: string;
1415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1416
  label: string;
1417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1417
+ id: string;
1418
1418
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1419
  locator?: string | undefined;
1420
1420
  }, {
1421
- id: string;
1421
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1422
  label: string;
1423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1423
+ id: string;
1424
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1425
  locator?: string | undefined;
1426
1426
  }>, "many">>;
@@ -1433,9 +1433,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1433
1433
  statement: string;
1434
1434
  sessionId: string;
1435
1435
  evidence: {
1436
- id: string;
1436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
1437
  label: string;
1438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
+ id: string;
1439
1439
  capture: "at_action" | "historical_lookup" | "fixture";
1440
1440
  locator?: string | undefined;
1441
1441
  }[];
@@ -1451,9 +1451,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1451
1451
  decisionId: string;
1452
1452
  confidence?: number | undefined;
1453
1453
  evidence?: {
1454
- id: string;
1454
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
1455
  label: string;
1456
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1456
+ id: string;
1457
1457
  capture: "at_action" | "historical_lookup" | "fixture";
1458
1458
  locator?: string | undefined;
1459
1459
  }[] | undefined;
@@ -1470,25 +1470,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1470
1470
  locator: z.ZodOptional<z.ZodString>;
1471
1471
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1472
1472
  }, "strict", z.ZodTypeAny, {
1473
- id: string;
1473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1474
  label: string;
1475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1475
+ id: string;
1476
1476
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1477
  locator?: string | undefined;
1478
1478
  }, {
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
  }>, "many">>;
1485
1485
  }, "strict", z.ZodTypeAny, {
1486
- summary: string;
1487
1486
  kind: "conflict_detected";
1487
+ summary: string;
1488
1488
  evidence: {
1489
- id: string;
1489
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
1490
  label: string;
1491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1491
+ id: string;
1492
1492
  capture: "at_action" | "historical_lookup" | "fixture";
1493
1493
  locator?: string | undefined;
1494
1494
  }[];
@@ -1496,15 +1496,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1496
1496
  decisionIds: string[];
1497
1497
  agentIds: string[];
1498
1498
  }, {
1499
- summary: string;
1500
1499
  kind: "conflict_detected";
1500
+ summary: string;
1501
1501
  conflictId: string;
1502
1502
  decisionIds: string[];
1503
1503
  agentIds: string[];
1504
1504
  evidence?: {
1505
- id: string;
1505
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
1506
  label: string;
1507
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1507
+ id: string;
1508
1508
  capture: "at_action" | "historical_lookup" | "fixture";
1509
1509
  locator?: string | undefined;
1510
1510
  }[] | undefined;
@@ -1524,27 +1524,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1524
1524
  locator: z.ZodOptional<z.ZodString>;
1525
1525
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1526
1526
  }, "strict", z.ZodTypeAny, {
1527
- id: string;
1527
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
1528
  label: string;
1529
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
+ id: string;
1530
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1531
1531
  locator?: string | undefined;
1532
1532
  }, {
1533
- id: string;
1533
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1534
  label: string;
1535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
+ id: string;
1536
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1537
  locator?: string | undefined;
1538
1538
  }>, "many">>;
1539
1539
  }, "strict", z.ZodTypeAny, {
1540
+ kind: "test_result";
1540
1541
  summary: string;
1541
1542
  status: "error" | "failed" | "passed";
1542
- kind: "test_result";
1543
1543
  command: string;
1544
1544
  evidence: {
1545
- id: string;
1545
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1546
  label: string;
1547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1547
+ id: string;
1548
1548
  capture: "at_action" | "historical_lookup" | "fixture";
1549
1549
  locator?: string | undefined;
1550
1550
  }[];
@@ -1553,17 +1553,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1553
1553
  durationMs?: number | undefined;
1554
1554
  correctionId?: string | undefined;
1555
1555
  }, {
1556
+ kind: "test_result";
1556
1557
  summary: string;
1557
1558
  status: "error" | "failed" | "passed";
1558
- kind: "test_result";
1559
1559
  command: string;
1560
1560
  decisionId: string;
1561
1561
  testId: string;
1562
1562
  durationMs?: number | undefined;
1563
1563
  evidence?: {
1564
- id: string;
1564
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
1565
  label: string;
1566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1566
+ id: string;
1567
1567
  capture: "at_action" | "historical_lookup" | "fixture";
1568
1568
  locator?: string | undefined;
1569
1569
  }[] | undefined;
@@ -1584,15 +1584,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1584
1584
  locator: z.ZodOptional<z.ZodString>;
1585
1585
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1586
1586
  }, "strict", z.ZodTypeAny, {
1587
- id: string;
1587
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1588
  label: string;
1589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1589
+ id: string;
1590
1590
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1591
  locator?: string | undefined;
1592
1592
  }, {
1593
- id: string;
1593
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1594
  label: string;
1595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
+ id: string;
1596
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1597
  locator?: string | undefined;
1598
1598
  }>, "many">>;
@@ -1601,9 +1601,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1601
1601
  statement: string;
1602
1602
  rationale: string;
1603
1603
  evidence: {
1604
- id: string;
1604
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1605
1605
  label: string;
1606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1606
+ id: string;
1607
1607
  capture: "at_action" | "historical_lookup" | "fixture";
1608
1608
  locator?: string | undefined;
1609
1609
  }[];
@@ -1622,9 +1622,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1622
1622
  supersedesDecisionIds: string[];
1623
1623
  proposedBy: string;
1624
1624
  evidence?: {
1625
- id: string;
1625
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
1626
  label: string;
1627
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1627
+ id: string;
1628
1628
  capture: "at_action" | "historical_lookup" | "fixture";
1629
1629
  locator?: string | undefined;
1630
1630
  }[] | undefined;
@@ -1636,13 +1636,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1636
1636
  id: z.ZodString;
1637
1637
  label: z.ZodString;
1638
1638
  }, "strict", z.ZodTypeAny, {
1639
- id: string;
1640
- label: string;
1641
1639
  kind: "agent" | "human";
1642
- }, {
1643
- id: string;
1644
1640
  label: string;
1641
+ id: string;
1642
+ }, {
1645
1643
  kind: "agent" | "human";
1644
+ label: string;
1645
+ id: string;
1646
1646
  }>;
1647
1647
  note: z.ZodOptional<z.ZodString>;
1648
1648
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1652,47 +1652,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1652
1652
  locator: z.ZodOptional<z.ZodString>;
1653
1653
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1654
1654
  }, "strict", z.ZodTypeAny, {
1655
- id: string;
1655
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1656
  label: string;
1657
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
+ id: string;
1658
1658
  capture: "at_action" | "historical_lookup" | "fixture";
1659
1659
  locator?: string | undefined;
1660
1660
  }, {
1661
- id: string;
1661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1662
  label: string;
1663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1663
+ id: string;
1664
1664
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1665
  locator?: string | undefined;
1666
1666
  }>, "many">>;
1667
1667
  }, "strict", z.ZodTypeAny, {
1668
1668
  kind: "correction_approved";
1669
1669
  evidence: {
1670
- id: string;
1670
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1671
  label: string;
1672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
+ id: string;
1673
1673
  capture: "at_action" | "historical_lookup" | "fixture";
1674
1674
  locator?: string | undefined;
1675
1675
  }[];
1676
1676
  correctionId: string;
1677
1677
  approvedBy: {
1678
- id: string;
1679
- label: string;
1680
1678
  kind: "agent" | "human";
1679
+ label: string;
1680
+ id: string;
1681
1681
  };
1682
1682
  note?: string | undefined;
1683
1683
  }, {
1684
1684
  kind: "correction_approved";
1685
1685
  correctionId: string;
1686
1686
  approvedBy: {
1687
- id: string;
1688
- label: string;
1689
1687
  kind: "agent" | "human";
1688
+ label: string;
1689
+ id: string;
1690
1690
  };
1691
1691
  note?: string | undefined;
1692
1692
  evidence?: {
1693
- id: string;
1693
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
1694
  label: string;
1695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1695
+ id: string;
1696
1696
  capture: "at_action" | "historical_lookup" | "fixture";
1697
1697
  locator?: string | undefined;
1698
1698
  }[] | undefined;
@@ -1708,24 +1708,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1708
1708
  locator: z.ZodOptional<z.ZodString>;
1709
1709
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1710
1710
  }, "strict", z.ZodTypeAny, {
1711
- id: string;
1711
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1712
  label: string;
1713
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
+ id: string;
1714
1714
  capture: "at_action" | "historical_lookup" | "fixture";
1715
1715
  locator?: string | undefined;
1716
1716
  }, {
1717
- id: string;
1717
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1718
  label: string;
1719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1719
+ id: string;
1720
1720
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1721
  locator?: string | undefined;
1722
1722
  }>, "many">>;
1723
1723
  }, "strict", z.ZodTypeAny, {
1724
1724
  kind: "decision_superseded";
1725
1725
  evidence: {
1726
- id: string;
1726
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1727
  label: string;
1728
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1728
+ id: string;
1729
1729
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1730
  locator?: string | undefined;
1731
1731
  }[];
@@ -1738,9 +1738,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1738
1738
  correctionId: string;
1739
1739
  replacementDecisionId: string;
1740
1740
  evidence?: {
1741
- id: string;
1741
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
1742
  label: string;
1743
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1743
+ id: string;
1744
1744
  capture: "at_action" | "historical_lookup" | "fixture";
1745
1745
  locator?: string | undefined;
1746
1746
  }[] | undefined;
@@ -1756,15 +1756,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1756
1756
  locator: z.ZodOptional<z.ZodString>;
1757
1757
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1758
1758
  }, "strict", z.ZodTypeAny, {
1759
- id: string;
1759
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1760
  label: string;
1761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
+ id: string;
1762
1762
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1763
  locator?: string | undefined;
1764
1764
  }, {
1765
- id: string;
1765
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1766
  label: string;
1767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1767
+ id: string;
1768
1768
  capture: "at_action" | "historical_lookup" | "fixture";
1769
1769
  locator?: string | undefined;
1770
1770
  }>, "many">>;
@@ -1777,9 +1777,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1777
1777
  agentId: string;
1778
1778
  sessionId: string;
1779
1779
  evidence: {
1780
- id: string;
1780
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1781
  label: string;
1782
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1782
+ id: string;
1783
1783
  capture: "at_action" | "historical_lookup" | "fixture";
1784
1784
  locator?: string | undefined;
1785
1785
  }[];
@@ -1795,9 +1795,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1795
1795
  recallReceiptId: string;
1796
1796
  capturedAtAction: boolean;
1797
1797
  evidence?: {
1798
- id: string;
1798
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1799
  label: string;
1800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1800
+ id: string;
1801
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1802
  locator?: string | undefined;
1803
1803
  }[] | undefined;
@@ -1813,15 +1813,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1813
1813
  locator: z.ZodOptional<z.ZodString>;
1814
1814
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1815
1815
  }, "strict", z.ZodTypeAny, {
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
  }, {
1822
- id: string;
1822
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1823
  label: string;
1824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1824
+ id: string;
1825
1825
  capture: "at_action" | "historical_lookup" | "fixture";
1826
1826
  locator?: string | undefined;
1827
1827
  }>, "many">>;
@@ -1833,9 +1833,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1833
1833
  agentId: string;
1834
1834
  sessionId: string;
1835
1835
  evidence: {
1836
- id: string;
1836
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
1837
  label: string;
1838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1838
+ id: string;
1839
1839
  capture: "at_action" | "historical_lookup" | "fixture";
1840
1840
  locator?: string | undefined;
1841
1841
  }[];
@@ -1852,9 +1852,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1852
1852
  recallReceiptId: string;
1853
1853
  staleDecisionAbsent: boolean;
1854
1854
  evidence?: {
1855
- id: string;
1855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
1856
  label: string;
1857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
+ id: string;
1858
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1859
1859
  locator?: string | undefined;
1860
1860
  }[] | undefined;
@@ -1869,37 +1869,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1869
1869
  locator: z.ZodOptional<z.ZodString>;
1870
1870
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1871
1871
  }, "strict", z.ZodTypeAny, {
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
  }, {
1878
- id: string;
1878
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1879
  label: string;
1880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1880
+ id: string;
1881
1881
  capture: "at_action" | "historical_lookup" | "fixture";
1882
1882
  locator?: string | undefined;
1883
1883
  }>, "many">>;
1884
1884
  }, "strict", z.ZodTypeAny, {
1885
- summary: string;
1886
1885
  kind: "mission_completed";
1886
+ summary: string;
1887
1887
  outcome: "failed" | "recovered" | "inconclusive";
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
  }[];
1895
1895
  }, {
1896
- summary: string;
1897
1896
  kind: "mission_completed";
1897
+ summary: string;
1898
1898
  outcome: "failed" | "recovered" | "inconclusive";
1899
1899
  evidence?: {
1900
- id: string;
1900
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1901
  label: string;
1902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1902
+ id: string;
1903
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1904
  locator?: string | undefined;
1905
1905
  }[] | undefined;
@@ -1907,38 +1907,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1907
1907
  kind: "mission_started";
1908
1908
  title: string;
1909
1909
  evidence: {
1910
- id: string;
1910
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
1911
  label: string;
1912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1912
+ id: string;
1913
1913
  capture: "at_action" | "historical_lookup" | "fixture";
1914
1914
  locator?: string | undefined;
1915
1915
  }[];
1916
1916
  objective: string;
1917
1917
  runMode: "replay" | "fixture" | "live";
1918
1918
  } | {
1919
- label: string;
1920
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1921
1919
  kind: "agent_status";
1920
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1921
+ label: string;
1922
1922
  role: string;
1923
1923
  agentId: string;
1924
1924
  sessionId: string;
1925
1925
  evidence: {
1926
- id: string;
1926
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1927
  label: string;
1928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1928
+ id: string;
1929
1929
  capture: "at_action" | "historical_lookup" | "fixture";
1930
1930
  locator?: string | undefined;
1931
1931
  }[];
1932
1932
  detail?: string | undefined;
1933
1933
  } | {
1934
- summary: string;
1935
1934
  kind: "agent_output";
1935
+ summary: string;
1936
1936
  agentId: string;
1937
1937
  sessionId: string;
1938
1938
  evidence: {
1939
- id: string;
1939
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
1940
  label: string;
1941
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1941
+ id: string;
1942
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1943
1943
  locator?: string | undefined;
1944
1944
  }[];
@@ -1949,9 +1949,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1949
1949
  statement: string;
1950
1950
  sessionId: string;
1951
1951
  evidence: {
1952
- id: string;
1952
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1953
  label: string;
1954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1954
+ id: string;
1955
1955
  capture: "at_action" | "historical_lookup" | "fixture";
1956
1956
  locator?: string | undefined;
1957
1957
  }[];
@@ -1959,12 +1959,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1959
1959
  decisionId: string;
1960
1960
  confidence?: number | undefined;
1961
1961
  } | {
1962
- summary: string;
1963
1962
  kind: "conflict_detected";
1963
+ summary: string;
1964
1964
  evidence: {
1965
- id: string;
1965
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
1966
  label: string;
1967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1967
+ id: string;
1968
1968
  capture: "at_action" | "historical_lookup" | "fixture";
1969
1969
  locator?: string | undefined;
1970
1970
  }[];
@@ -1972,14 +1972,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1972
1972
  decisionIds: string[];
1973
1973
  agentIds: string[];
1974
1974
  } | {
1975
+ kind: "test_result";
1975
1976
  summary: string;
1976
1977
  status: "error" | "failed" | "passed";
1977
- kind: "test_result";
1978
1978
  command: string;
1979
1979
  evidence: {
1980
- id: string;
1980
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1981
  label: string;
1982
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1982
+ id: string;
1983
1983
  capture: "at_action" | "historical_lookup" | "fixture";
1984
1984
  locator?: string | undefined;
1985
1985
  }[];
@@ -1992,9 +1992,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1992
1992
  statement: string;
1993
1993
  rationale: string;
1994
1994
  evidence: {
1995
- id: string;
1995
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
1996
  label: string;
1997
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
+ id: string;
1998
1998
  capture: "at_action" | "historical_lookup" | "fixture";
1999
1999
  locator?: string | undefined;
2000
2000
  }[];
@@ -2006,25 +2006,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2006
2006
  } | {
2007
2007
  kind: "correction_approved";
2008
2008
  evidence: {
2009
- id: string;
2009
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2010
  label: string;
2011
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
+ id: string;
2012
2012
  capture: "at_action" | "historical_lookup" | "fixture";
2013
2013
  locator?: string | undefined;
2014
2014
  }[];
2015
2015
  correctionId: string;
2016
2016
  approvedBy: {
2017
- id: string;
2018
- label: string;
2019
2017
  kind: "agent" | "human";
2018
+ label: string;
2019
+ id: string;
2020
2020
  };
2021
2021
  note?: string | undefined;
2022
2022
  } | {
2023
2023
  kind: "decision_superseded";
2024
2024
  evidence: {
2025
- id: string;
2025
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2026
2026
  label: string;
2027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2027
+ id: string;
2028
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2029
2029
  locator?: string | undefined;
2030
2030
  }[];
@@ -2037,9 +2037,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2037
2037
  agentId: string;
2038
2038
  sessionId: string;
2039
2039
  evidence: {
2040
- id: string;
2040
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
2041
  label: string;
2042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2042
+ id: string;
2043
2043
  capture: "at_action" | "historical_lookup" | "fixture";
2044
2044
  locator?: string | undefined;
2045
2045
  }[];
@@ -2051,9 +2051,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2051
2051
  agentId: string;
2052
2052
  sessionId: string;
2053
2053
  evidence: {
2054
- id: string;
2054
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
2055
  label: string;
2056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2056
+ id: string;
2057
2057
  capture: "at_action" | "historical_lookup" | "fixture";
2058
2058
  locator?: string | undefined;
2059
2059
  }[];
@@ -2062,13 +2062,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2062
2062
  recallReceiptId: string;
2063
2063
  staleDecisionAbsent: boolean;
2064
2064
  } | {
2065
- summary: string;
2066
2065
  kind: "mission_completed";
2066
+ summary: string;
2067
2067
  outcome: "failed" | "recovered" | "inconclusive";
2068
2068
  evidence: {
2069
- id: string;
2069
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
2070
  label: string;
2071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2071
+ id: string;
2072
2072
  capture: "at_action" | "historical_lookup" | "fixture";
2073
2073
  locator?: string | undefined;
2074
2074
  }[];
@@ -2078,37 +2078,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2078
2078
  objective: string;
2079
2079
  runMode: "replay" | "fixture" | "live";
2080
2080
  evidence?: {
2081
- id: string;
2081
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2082
  label: string;
2083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2083
+ id: string;
2084
2084
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2085
  locator?: string | undefined;
2086
2086
  }[] | undefined;
2087
2087
  } | {
2088
- label: string;
2089
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2090
2088
  kind: "agent_status";
2089
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2090
+ label: string;
2091
2091
  role: string;
2092
2092
  agentId: string;
2093
2093
  sessionId: string;
2094
2094
  detail?: string | undefined;
2095
2095
  evidence?: {
2096
- id: string;
2096
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
2097
  label: string;
2098
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2098
+ id: string;
2099
2099
  capture: "at_action" | "historical_lookup" | "fixture";
2100
2100
  locator?: string | undefined;
2101
2101
  }[] | undefined;
2102
2102
  } | {
2103
- summary: string;
2104
2103
  kind: "agent_output";
2104
+ summary: string;
2105
2105
  agentId: string;
2106
2106
  sessionId: string;
2107
2107
  outputId: string;
2108
2108
  evidence?: {
2109
- id: string;
2109
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2110
2110
  label: string;
2111
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2111
+ id: string;
2112
2112
  capture: "at_action" | "historical_lookup" | "fixture";
2113
2113
  locator?: string | undefined;
2114
2114
  }[] | undefined;
@@ -2121,37 +2121,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2121
2121
  decisionId: string;
2122
2122
  confidence?: number | undefined;
2123
2123
  evidence?: {
2124
- id: string;
2124
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
2125
  label: string;
2126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2126
+ id: string;
2127
2127
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2128
  locator?: string | undefined;
2129
2129
  }[] | undefined;
2130
2130
  } | {
2131
- summary: string;
2132
2131
  kind: "conflict_detected";
2132
+ summary: string;
2133
2133
  conflictId: string;
2134
2134
  decisionIds: string[];
2135
2135
  agentIds: string[];
2136
2136
  evidence?: {
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
  }[] | undefined;
2143
2143
  } | {
2144
+ kind: "test_result";
2144
2145
  summary: string;
2145
2146
  status: "error" | "failed" | "passed";
2146
- kind: "test_result";
2147
2147
  command: string;
2148
2148
  decisionId: string;
2149
2149
  testId: string;
2150
2150
  durationMs?: number | undefined;
2151
2151
  evidence?: {
2152
- id: string;
2152
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2153
  label: string;
2154
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2154
+ id: string;
2155
2155
  capture: "at_action" | "historical_lookup" | "fixture";
2156
2156
  locator?: string | undefined;
2157
2157
  }[] | undefined;
@@ -2166,9 +2166,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2166
2166
  supersedesDecisionIds: string[];
2167
2167
  proposedBy: string;
2168
2168
  evidence?: {
2169
- id: string;
2169
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2170
2170
  label: string;
2171
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2171
+ id: string;
2172
2172
  capture: "at_action" | "historical_lookup" | "fixture";
2173
2173
  locator?: string | undefined;
2174
2174
  }[] | undefined;
@@ -2176,15 +2176,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2176
2176
  kind: "correction_approved";
2177
2177
  correctionId: string;
2178
2178
  approvedBy: {
2179
- id: string;
2180
- label: string;
2181
2179
  kind: "agent" | "human";
2180
+ label: string;
2181
+ id: string;
2182
2182
  };
2183
2183
  note?: string | undefined;
2184
2184
  evidence?: {
2185
- id: string;
2185
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
2186
  label: string;
2187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2187
+ id: string;
2188
2188
  capture: "at_action" | "historical_lookup" | "fixture";
2189
2189
  locator?: string | undefined;
2190
2190
  }[] | undefined;
@@ -2194,9 +2194,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2194
2194
  correctionId: string;
2195
2195
  replacementDecisionId: string;
2196
2196
  evidence?: {
2197
- id: string;
2197
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
2198
  label: string;
2199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2199
+ id: string;
2200
2200
  capture: "at_action" | "historical_lookup" | "fixture";
2201
2201
  locator?: string | undefined;
2202
2202
  }[] | undefined;
@@ -2209,9 +2209,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2209
2209
  recallReceiptId: string;
2210
2210
  capturedAtAction: boolean;
2211
2211
  evidence?: {
2212
- id: string;
2212
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2213
  label: string;
2214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2214
+ id: string;
2215
2215
  capture: "at_action" | "historical_lookup" | "fixture";
2216
2216
  locator?: string | undefined;
2217
2217
  }[] | undefined;
@@ -2224,20 +2224,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2224
2224
  recallReceiptId: string;
2225
2225
  staleDecisionAbsent: boolean;
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;
2233
2233
  } | {
2234
- summary: string;
2235
2234
  kind: "mission_completed";
2235
+ summary: string;
2236
2236
  outcome: "failed" | "recovered" | "inconclusive";
2237
2237
  evidence?: {
2238
- id: string;
2238
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2239
  label: string;
2240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2240
+ id: string;
2241
2241
  capture: "at_action" | "historical_lookup" | "fixture";
2242
2242
  locator?: string | undefined;
2243
2243
  }[] | undefined;
@@ -2258,15 +2258,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2258
2258
  locator: z.ZodOptional<z.ZodString>;
2259
2259
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2260
2260
  }, "strict", z.ZodTypeAny, {
2261
- id: string;
2261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2262
  label: string;
2263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
+ id: string;
2264
2264
  capture: "at_action" | "historical_lookup" | "fixture";
2265
2265
  locator?: string | undefined;
2266
2266
  }, {
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
  }>, "many">>;
@@ -2274,9 +2274,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2274
2274
  kind: "mission_started";
2275
2275
  title: string;
2276
2276
  evidence: {
2277
- id: string;
2277
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
2278
  label: string;
2279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2279
+ id: string;
2280
2280
  capture: "at_action" | "historical_lookup" | "fixture";
2281
2281
  locator?: string | undefined;
2282
2282
  }[];
@@ -2288,9 +2288,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2288
2288
  objective: string;
2289
2289
  runMode: "replay" | "fixture" | "live";
2290
2290
  evidence?: {
2291
- id: string;
2291
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2292
2292
  label: string;
2293
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2293
+ id: string;
2294
2294
  capture: "at_action" | "historical_lookup" | "fixture";
2295
2295
  locator?: string | undefined;
2296
2296
  }[] | 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">>;
@@ -2322,32 +2322,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2322
2322
  sessionId: z.ZodString;
2323
2323
  kind: z.ZodLiteral<"agent_status">;
2324
2324
  }, "strict", z.ZodTypeAny, {
2325
- label: string;
2326
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2327
2325
  kind: "agent_status";
2326
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2327
+ label: string;
2328
2328
  role: string;
2329
2329
  agentId: string;
2330
2330
  sessionId: string;
2331
2331
  evidence: {
2332
- id: string;
2332
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
2333
  label: string;
2334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2334
+ id: string;
2335
2335
  capture: "at_action" | "historical_lookup" | "fixture";
2336
2336
  locator?: string | undefined;
2337
2337
  }[];
2338
2338
  detail?: string | undefined;
2339
2339
  }, {
2340
- label: string;
2341
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2342
2340
  kind: "agent_status";
2341
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2342
+ label: string;
2343
2343
  role: string;
2344
2344
  agentId: string;
2345
2345
  sessionId: string;
2346
2346
  detail?: string | undefined;
2347
2347
  evidence?: {
2348
- id: string;
2348
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2349
  label: string;
2350
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2350
+ id: string;
2351
2351
  capture: "at_action" | "historical_lookup" | "fixture";
2352
2352
  locator?: string | undefined;
2353
2353
  }[] | undefined;
@@ -2361,15 +2361,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2361
  locator: z.ZodOptional<z.ZodString>;
2362
2362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2363
2363
  }, "strict", z.ZodTypeAny, {
2364
- id: string;
2364
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2365
  label: string;
2366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2366
+ id: string;
2367
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2368
  locator?: string | undefined;
2369
2369
  }, {
2370
- id: string;
2370
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2371
  label: string;
2372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2372
+ id: string;
2373
2373
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2374
  locator?: string | undefined;
2375
2375
  }>, "many">>;
@@ -2377,28 +2377,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2377
2377
  sessionId: z.ZodString;
2378
2378
  kind: z.ZodLiteral<"agent_output">;
2379
2379
  }, "strict", z.ZodTypeAny, {
2380
- summary: string;
2381
2380
  kind: "agent_output";
2381
+ summary: string;
2382
2382
  agentId: string;
2383
2383
  sessionId: string;
2384
2384
  evidence: {
2385
- id: string;
2385
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
2386
  label: string;
2387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2387
+ id: string;
2388
2388
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2389
  locator?: string | undefined;
2390
2390
  }[];
2391
2391
  outputId: string;
2392
2392
  }, {
2393
- summary: string;
2394
2393
  kind: "agent_output";
2394
+ summary: string;
2395
2395
  agentId: string;
2396
2396
  sessionId: string;
2397
2397
  outputId: string;
2398
2398
  evidence?: {
2399
- id: string;
2399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
2400
  label: string;
2401
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2401
+ id: string;
2402
2402
  capture: "at_action" | "historical_lookup" | "fixture";
2403
2403
  locator?: string | undefined;
2404
2404
  }[] | undefined;
@@ -2414,15 +2414,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2414
2414
  locator: z.ZodOptional<z.ZodString>;
2415
2415
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2416
2416
  }, "strict", z.ZodTypeAny, {
2417
- id: string;
2417
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2418
  label: string;
2419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2419
+ id: string;
2420
2420
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2421
  locator?: string | undefined;
2422
2422
  }, {
2423
- id: string;
2423
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2424
  label: string;
2425
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2425
+ id: string;
2426
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2427
  locator?: string | undefined;
2428
2428
  }>, "many">>;
@@ -2435,9 +2435,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2435
2435
  statement: string;
2436
2436
  sessionId: string;
2437
2437
  evidence: {
2438
- id: string;
2438
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
2439
  label: string;
2440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
+ id: string;
2441
2441
  capture: "at_action" | "historical_lookup" | "fixture";
2442
2442
  locator?: string | undefined;
2443
2443
  }[];
@@ -2453,9 +2453,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2453
2453
  decisionId: string;
2454
2454
  confidence?: number | undefined;
2455
2455
  evidence?: {
2456
- id: string;
2456
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
2457
  label: string;
2458
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2458
+ id: string;
2459
2459
  capture: "at_action" | "historical_lookup" | "fixture";
2460
2460
  locator?: string | undefined;
2461
2461
  }[] | undefined;
@@ -2472,25 +2472,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2472
2472
  locator: z.ZodOptional<z.ZodString>;
2473
2473
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2474
2474
  }, "strict", z.ZodTypeAny, {
2475
- id: string;
2475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2476
  label: string;
2477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2477
+ id: string;
2478
2478
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2479
  locator?: string | undefined;
2480
2480
  }, {
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
  }>, "many">>;
2487
2487
  }, "strict", z.ZodTypeAny, {
2488
- summary: string;
2489
2488
  kind: "conflict_detected";
2489
+ summary: string;
2490
2490
  evidence: {
2491
- id: string;
2491
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
2492
  label: string;
2493
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2493
+ id: string;
2494
2494
  capture: "at_action" | "historical_lookup" | "fixture";
2495
2495
  locator?: string | undefined;
2496
2496
  }[];
@@ -2498,15 +2498,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2498
2498
  decisionIds: string[];
2499
2499
  agentIds: string[];
2500
2500
  }, {
2501
- summary: string;
2502
2501
  kind: "conflict_detected";
2502
+ summary: string;
2503
2503
  conflictId: string;
2504
2504
  decisionIds: string[];
2505
2505
  agentIds: string[];
2506
2506
  evidence?: {
2507
- id: string;
2507
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
2508
  label: string;
2509
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2509
+ id: string;
2510
2510
  capture: "at_action" | "historical_lookup" | "fixture";
2511
2511
  locator?: string | undefined;
2512
2512
  }[] | undefined;
@@ -2526,27 +2526,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2526
2526
  locator: z.ZodOptional<z.ZodString>;
2527
2527
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2528
2528
  }, "strict", z.ZodTypeAny, {
2529
- id: string;
2529
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
2530
  label: string;
2531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
+ id: string;
2532
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2533
2533
  locator?: string | undefined;
2534
2534
  }, {
2535
- id: string;
2535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2536
  label: string;
2537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
+ id: string;
2538
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2539
  locator?: string | undefined;
2540
2540
  }>, "many">>;
2541
2541
  }, "strict", z.ZodTypeAny, {
2542
+ kind: "test_result";
2542
2543
  summary: string;
2543
2544
  status: "error" | "failed" | "passed";
2544
- kind: "test_result";
2545
2545
  command: string;
2546
2546
  evidence: {
2547
- id: string;
2547
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2548
  label: string;
2549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2549
+ id: string;
2550
2550
  capture: "at_action" | "historical_lookup" | "fixture";
2551
2551
  locator?: string | undefined;
2552
2552
  }[];
@@ -2555,17 +2555,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2555
2555
  durationMs?: number | undefined;
2556
2556
  correctionId?: string | undefined;
2557
2557
  }, {
2558
+ kind: "test_result";
2558
2559
  summary: string;
2559
2560
  status: "error" | "failed" | "passed";
2560
- kind: "test_result";
2561
2561
  command: string;
2562
2562
  decisionId: string;
2563
2563
  testId: string;
2564
2564
  durationMs?: number | undefined;
2565
2565
  evidence?: {
2566
- id: string;
2566
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
2567
  label: string;
2568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2568
+ id: string;
2569
2569
  capture: "at_action" | "historical_lookup" | "fixture";
2570
2570
  locator?: string | undefined;
2571
2571
  }[] | undefined;
@@ -2586,15 +2586,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2586
2586
  locator: z.ZodOptional<z.ZodString>;
2587
2587
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2588
2588
  }, "strict", z.ZodTypeAny, {
2589
- id: string;
2589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2590
  label: string;
2591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2591
+ id: string;
2592
2592
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2593
  locator?: string | undefined;
2594
2594
  }, {
2595
- id: string;
2595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2596
  label: string;
2597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
+ id: string;
2598
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2599
  locator?: string | undefined;
2600
2600
  }>, "many">>;
@@ -2603,9 +2603,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2603
2603
  statement: string;
2604
2604
  rationale: string;
2605
2605
  evidence: {
2606
- id: string;
2606
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2607
2607
  label: string;
2608
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2608
+ id: string;
2609
2609
  capture: "at_action" | "historical_lookup" | "fixture";
2610
2610
  locator?: string | undefined;
2611
2611
  }[];
@@ -2624,9 +2624,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2624
2624
  supersedesDecisionIds: string[];
2625
2625
  proposedBy: string;
2626
2626
  evidence?: {
2627
- id: string;
2627
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
2628
  label: string;
2629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2629
+ id: string;
2630
2630
  capture: "at_action" | "historical_lookup" | "fixture";
2631
2631
  locator?: string | undefined;
2632
2632
  }[] | undefined;
@@ -2638,13 +2638,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2638
2638
  id: z.ZodString;
2639
2639
  label: z.ZodString;
2640
2640
  }, "strict", z.ZodTypeAny, {
2641
- id: string;
2642
- label: string;
2643
2641
  kind: "agent" | "human";
2644
- }, {
2645
- id: string;
2646
2642
  label: string;
2643
+ id: string;
2644
+ }, {
2647
2645
  kind: "agent" | "human";
2646
+ label: string;
2647
+ id: string;
2648
2648
  }>;
2649
2649
  note: z.ZodOptional<z.ZodString>;
2650
2650
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2654,47 +2654,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2654
2654
  locator: z.ZodOptional<z.ZodString>;
2655
2655
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2656
2656
  }, "strict", z.ZodTypeAny, {
2657
- id: string;
2657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2658
  label: string;
2659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
+ id: string;
2660
2660
  capture: "at_action" | "historical_lookup" | "fixture";
2661
2661
  locator?: string | undefined;
2662
2662
  }, {
2663
- id: string;
2663
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2664
  label: string;
2665
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2665
+ id: string;
2666
2666
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2667
  locator?: string | undefined;
2668
2668
  }>, "many">>;
2669
2669
  }, "strict", z.ZodTypeAny, {
2670
2670
  kind: "correction_approved";
2671
2671
  evidence: {
2672
- id: string;
2672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2673
  label: string;
2674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
+ id: string;
2675
2675
  capture: "at_action" | "historical_lookup" | "fixture";
2676
2676
  locator?: string | undefined;
2677
2677
  }[];
2678
2678
  correctionId: string;
2679
2679
  approvedBy: {
2680
- id: string;
2681
- label: string;
2682
2680
  kind: "agent" | "human";
2681
+ label: string;
2682
+ id: string;
2683
2683
  };
2684
2684
  note?: string | undefined;
2685
2685
  }, {
2686
2686
  kind: "correction_approved";
2687
2687
  correctionId: string;
2688
2688
  approvedBy: {
2689
- id: string;
2690
- label: string;
2691
2689
  kind: "agent" | "human";
2690
+ label: string;
2691
+ id: string;
2692
2692
  };
2693
2693
  note?: string | undefined;
2694
2694
  evidence?: {
2695
- id: string;
2695
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
2696
  label: string;
2697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2697
+ id: string;
2698
2698
  capture: "at_action" | "historical_lookup" | "fixture";
2699
2699
  locator?: string | undefined;
2700
2700
  }[] | undefined;
@@ -2710,24 +2710,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2710
2710
  locator: z.ZodOptional<z.ZodString>;
2711
2711
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2712
2712
  }, "strict", z.ZodTypeAny, {
2713
- id: string;
2713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2714
  label: string;
2715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
+ id: string;
2716
2716
  capture: "at_action" | "historical_lookup" | "fixture";
2717
2717
  locator?: string | undefined;
2718
2718
  }, {
2719
- id: string;
2719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2720
  label: string;
2721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2721
+ id: string;
2722
2722
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2723
  locator?: string | undefined;
2724
2724
  }>, "many">>;
2725
2725
  }, "strict", z.ZodTypeAny, {
2726
2726
  kind: "decision_superseded";
2727
2727
  evidence: {
2728
- id: string;
2728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2729
  label: string;
2730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2730
+ id: string;
2731
2731
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2732
  locator?: string | undefined;
2733
2733
  }[];
@@ -2740,9 +2740,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2740
2740
  correctionId: string;
2741
2741
  replacementDecisionId: string;
2742
2742
  evidence?: {
2743
- id: string;
2743
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
2744
  label: string;
2745
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2745
+ id: string;
2746
2746
  capture: "at_action" | "historical_lookup" | "fixture";
2747
2747
  locator?: string | undefined;
2748
2748
  }[] | undefined;
@@ -2758,15 +2758,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2758
2758
  locator: z.ZodOptional<z.ZodString>;
2759
2759
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2760
2760
  }, "strict", z.ZodTypeAny, {
2761
- id: string;
2761
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2762
  label: string;
2763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
+ id: string;
2764
2764
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2765
  locator?: string | undefined;
2766
2766
  }, {
2767
- id: string;
2767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2768
  label: string;
2769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2769
+ id: string;
2770
2770
  capture: "at_action" | "historical_lookup" | "fixture";
2771
2771
  locator?: string | undefined;
2772
2772
  }>, "many">>;
@@ -2779,9 +2779,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2779
2779
  agentId: string;
2780
2780
  sessionId: string;
2781
2781
  evidence: {
2782
- id: string;
2782
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2783
  label: string;
2784
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2784
+ id: string;
2785
2785
  capture: "at_action" | "historical_lookup" | "fixture";
2786
2786
  locator?: string | undefined;
2787
2787
  }[];
@@ -2797,9 +2797,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2797
2797
  recallReceiptId: string;
2798
2798
  capturedAtAction: boolean;
2799
2799
  evidence?: {
2800
- id: string;
2800
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2801
  label: string;
2802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2802
+ id: string;
2803
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2804
  locator?: string | undefined;
2805
2805
  }[] | undefined;
@@ -2815,15 +2815,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2815
2815
  locator: z.ZodOptional<z.ZodString>;
2816
2816
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2817
2817
  }, "strict", z.ZodTypeAny, {
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
  }, {
2824
- id: string;
2824
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2825
  label: string;
2826
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2826
+ id: string;
2827
2827
  capture: "at_action" | "historical_lookup" | "fixture";
2828
2828
  locator?: string | undefined;
2829
2829
  }>, "many">>;
@@ -2835,9 +2835,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2835
2835
  agentId: string;
2836
2836
  sessionId: string;
2837
2837
  evidence: {
2838
- id: string;
2838
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
2839
  label: string;
2840
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2840
+ id: string;
2841
2841
  capture: "at_action" | "historical_lookup" | "fixture";
2842
2842
  locator?: string | undefined;
2843
2843
  }[];
@@ -2854,9 +2854,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2854
2854
  recallReceiptId: string;
2855
2855
  staleDecisionAbsent: boolean;
2856
2856
  evidence?: {
2857
- id: string;
2857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
2858
  label: string;
2859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
+ id: string;
2860
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2861
2861
  locator?: string | undefined;
2862
2862
  }[] | undefined;
@@ -2871,37 +2871,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2871
2871
  locator: z.ZodOptional<z.ZodString>;
2872
2872
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2873
2873
  }, "strict", z.ZodTypeAny, {
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
  }, {
2880
- id: string;
2880
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2881
  label: string;
2882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2882
+ id: string;
2883
2883
  capture: "at_action" | "historical_lookup" | "fixture";
2884
2884
  locator?: string | undefined;
2885
2885
  }>, "many">>;
2886
2886
  }, "strict", z.ZodTypeAny, {
2887
- summary: string;
2888
2887
  kind: "mission_completed";
2888
+ summary: string;
2889
2889
  outcome: "failed" | "recovered" | "inconclusive";
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
  }[];
2897
2897
  }, {
2898
- summary: string;
2899
2898
  kind: "mission_completed";
2899
+ summary: string;
2900
2900
  outcome: "failed" | "recovered" | "inconclusive";
2901
2901
  evidence?: {
2902
- id: string;
2902
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
2903
  label: string;
2904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2904
+ id: string;
2905
2905
  capture: "at_action" | "historical_lookup" | "fixture";
2906
2906
  locator?: string | undefined;
2907
2907
  }[] | undefined;
@@ -2909,38 +2909,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2909
2909
  kind: "mission_started";
2910
2910
  title: string;
2911
2911
  evidence: {
2912
- id: string;
2912
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2913
2913
  label: string;
2914
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2914
+ id: string;
2915
2915
  capture: "at_action" | "historical_lookup" | "fixture";
2916
2916
  locator?: string | undefined;
2917
2917
  }[];
2918
2918
  objective: string;
2919
2919
  runMode: "replay" | "fixture" | "live";
2920
2920
  } | {
2921
- label: string;
2922
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2923
2921
  kind: "agent_status";
2922
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2923
+ label: string;
2924
2924
  role: string;
2925
2925
  agentId: string;
2926
2926
  sessionId: string;
2927
2927
  evidence: {
2928
- id: string;
2928
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
2929
  label: string;
2930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2930
+ id: string;
2931
2931
  capture: "at_action" | "historical_lookup" | "fixture";
2932
2932
  locator?: string | undefined;
2933
2933
  }[];
2934
2934
  detail?: string | undefined;
2935
2935
  } | {
2936
- summary: string;
2937
2936
  kind: "agent_output";
2937
+ summary: string;
2938
2938
  agentId: string;
2939
2939
  sessionId: string;
2940
2940
  evidence: {
2941
- id: string;
2941
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
2942
  label: string;
2943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2943
+ id: string;
2944
2944
  capture: "at_action" | "historical_lookup" | "fixture";
2945
2945
  locator?: string | undefined;
2946
2946
  }[];
@@ -2951,9 +2951,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2951
2951
  statement: string;
2952
2952
  sessionId: string;
2953
2953
  evidence: {
2954
- id: string;
2954
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2955
2955
  label: string;
2956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2956
+ id: string;
2957
2957
  capture: "at_action" | "historical_lookup" | "fixture";
2958
2958
  locator?: string | undefined;
2959
2959
  }[];
@@ -2961,12 +2961,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2961
2961
  decisionId: string;
2962
2962
  confidence?: number | undefined;
2963
2963
  } | {
2964
- summary: string;
2965
2964
  kind: "conflict_detected";
2965
+ summary: string;
2966
2966
  evidence: {
2967
- id: string;
2967
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
2968
  label: string;
2969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2969
+ id: string;
2970
2970
  capture: "at_action" | "historical_lookup" | "fixture";
2971
2971
  locator?: string | undefined;
2972
2972
  }[];
@@ -2974,14 +2974,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2974
2974
  decisionIds: string[];
2975
2975
  agentIds: string[];
2976
2976
  } | {
2977
+ kind: "test_result";
2977
2978
  summary: string;
2978
2979
  status: "error" | "failed" | "passed";
2979
- kind: "test_result";
2980
2980
  command: string;
2981
2981
  evidence: {
2982
- id: string;
2982
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
2983
  label: string;
2984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2984
+ id: string;
2985
2985
  capture: "at_action" | "historical_lookup" | "fixture";
2986
2986
  locator?: string | undefined;
2987
2987
  }[];
@@ -2994,9 +2994,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2994
2994
  statement: string;
2995
2995
  rationale: string;
2996
2996
  evidence: {
2997
- id: string;
2997
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2998
2998
  label: string;
2999
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2999
+ id: string;
3000
3000
  capture: "at_action" | "historical_lookup" | "fixture";
3001
3001
  locator?: string | undefined;
3002
3002
  }[];
@@ -3008,25 +3008,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3008
3008
  } | {
3009
3009
  kind: "correction_approved";
3010
3010
  evidence: {
3011
- id: string;
3011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
3012
  label: string;
3013
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3013
+ id: string;
3014
3014
  capture: "at_action" | "historical_lookup" | "fixture";
3015
3015
  locator?: string | undefined;
3016
3016
  }[];
3017
3017
  correctionId: string;
3018
3018
  approvedBy: {
3019
- id: string;
3020
- label: string;
3021
3019
  kind: "agent" | "human";
3020
+ label: string;
3021
+ id: string;
3022
3022
  };
3023
3023
  note?: string | undefined;
3024
3024
  } | {
3025
3025
  kind: "decision_superseded";
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
  }[];
@@ -3039,9 +3039,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3039
3039
  agentId: string;
3040
3040
  sessionId: 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
  }[];
@@ -3053,9 +3053,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3053
3053
  agentId: string;
3054
3054
  sessionId: string;
3055
3055
  evidence: {
3056
- id: string;
3056
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3057
  label: string;
3058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3058
+ id: string;
3059
3059
  capture: "at_action" | "historical_lookup" | "fixture";
3060
3060
  locator?: string | undefined;
3061
3061
  }[];
@@ -3064,13 +3064,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3064
3064
  recallReceiptId: string;
3065
3065
  staleDecisionAbsent: boolean;
3066
3066
  } | {
3067
- summary: string;
3068
3067
  kind: "mission_completed";
3068
+ summary: string;
3069
3069
  outcome: "failed" | "recovered" | "inconclusive";
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
  }[];
@@ -3080,37 +3080,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3080
3080
  objective: string;
3081
3081
  runMode: "replay" | "fixture" | "live";
3082
3082
  evidence?: {
3083
- id: string;
3083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
3084
  label: string;
3085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3085
+ id: string;
3086
3086
  capture: "at_action" | "historical_lookup" | "fixture";
3087
3087
  locator?: string | undefined;
3088
3088
  }[] | undefined;
3089
3089
  } | {
3090
- label: string;
3091
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3092
3090
  kind: "agent_status";
3091
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3092
+ label: string;
3093
3093
  role: string;
3094
3094
  agentId: string;
3095
3095
  sessionId: string;
3096
3096
  detail?: string | undefined;
3097
3097
  evidence?: {
3098
- id: string;
3098
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
3099
  label: string;
3100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3100
+ id: string;
3101
3101
  capture: "at_action" | "historical_lookup" | "fixture";
3102
3102
  locator?: string | undefined;
3103
3103
  }[] | undefined;
3104
3104
  } | {
3105
- summary: string;
3106
3105
  kind: "agent_output";
3106
+ summary: string;
3107
3107
  agentId: string;
3108
3108
  sessionId: string;
3109
3109
  outputId: string;
3110
3110
  evidence?: {
3111
- id: string;
3111
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
3112
  label: string;
3113
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3113
+ id: string;
3114
3114
  capture: "at_action" | "historical_lookup" | "fixture";
3115
3115
  locator?: string | undefined;
3116
3116
  }[] | undefined;
@@ -3123,37 +3123,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3123
3123
  decisionId: string;
3124
3124
  confidence?: number | undefined;
3125
3125
  evidence?: {
3126
- id: string;
3126
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
3127
  label: string;
3128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3128
+ id: string;
3129
3129
  capture: "at_action" | "historical_lookup" | "fixture";
3130
3130
  locator?: string | undefined;
3131
3131
  }[] | undefined;
3132
3132
  } | {
3133
- summary: string;
3134
3133
  kind: "conflict_detected";
3134
+ summary: string;
3135
3135
  conflictId: string;
3136
3136
  decisionIds: string[];
3137
3137
  agentIds: string[];
3138
3138
  evidence?: {
3139
- id: string;
3139
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
3140
  label: string;
3141
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3141
+ id: string;
3142
3142
  capture: "at_action" | "historical_lookup" | "fixture";
3143
3143
  locator?: string | undefined;
3144
3144
  }[] | undefined;
3145
3145
  } | {
3146
+ kind: "test_result";
3146
3147
  summary: string;
3147
3148
  status: "error" | "failed" | "passed";
3148
- kind: "test_result";
3149
3149
  command: string;
3150
3150
  decisionId: string;
3151
3151
  testId: string;
3152
3152
  durationMs?: number | undefined;
3153
3153
  evidence?: {
3154
- id: string;
3154
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3155
  label: string;
3156
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3156
+ id: string;
3157
3157
  capture: "at_action" | "historical_lookup" | "fixture";
3158
3158
  locator?: string | undefined;
3159
3159
  }[] | undefined;
@@ -3168,9 +3168,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3168
3168
  supersedesDecisionIds: string[];
3169
3169
  proposedBy: string;
3170
3170
  evidence?: {
3171
- id: string;
3171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3172
3172
  label: string;
3173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3173
+ id: string;
3174
3174
  capture: "at_action" | "historical_lookup" | "fixture";
3175
3175
  locator?: string | undefined;
3176
3176
  }[] | undefined;
@@ -3178,15 +3178,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3178
3178
  kind: "correction_approved";
3179
3179
  correctionId: string;
3180
3180
  approvedBy: {
3181
- id: string;
3182
- label: string;
3183
3181
  kind: "agent" | "human";
3182
+ label: string;
3183
+ id: string;
3184
3184
  };
3185
3185
  note?: string | undefined;
3186
3186
  evidence?: {
3187
- id: string;
3187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3188
  label: string;
3189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
+ id: string;
3190
3190
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3191
  locator?: string | undefined;
3192
3192
  }[] | undefined;
@@ -3196,9 +3196,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3196
3196
  correctionId: string;
3197
3197
  replacementDecisionId: string;
3198
3198
  evidence?: {
3199
- id: string;
3199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3200
  label: string;
3201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
+ id: string;
3202
3202
  capture: "at_action" | "historical_lookup" | "fixture";
3203
3203
  locator?: string | undefined;
3204
3204
  }[] | undefined;
@@ -3211,9 +3211,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3211
3211
  recallReceiptId: string;
3212
3212
  capturedAtAction: boolean;
3213
3213
  evidence?: {
3214
- id: string;
3214
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
3215
  label: string;
3216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
+ id: string;
3217
3217
  capture: "at_action" | "historical_lookup" | "fixture";
3218
3218
  locator?: string | undefined;
3219
3219
  }[] | undefined;
@@ -3226,20 +3226,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3226
3226
  recallReceiptId: string;
3227
3227
  staleDecisionAbsent: boolean;
3228
3228
  evidence?: {
3229
- id: string;
3229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3230
  label: string;
3231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3231
+ id: string;
3232
3232
  capture: "at_action" | "historical_lookup" | "fixture";
3233
3233
  locator?: string | undefined;
3234
3234
  }[] | undefined;
3235
3235
  } | {
3236
- summary: string;
3237
3236
  kind: "mission_completed";
3237
+ summary: string;
3238
3238
  outcome: "failed" | "recovered" | "inconclusive";
3239
3239
  evidence?: {
3240
- id: string;
3240
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3241
3241
  label: string;
3242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3242
+ id: string;
3243
3243
  capture: "at_action" | "historical_lookup" | "fixture";
3244
3244
  locator?: string | undefined;
3245
3245
  }[] | undefined;
@@ -3249,38 +3249,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3249
3249
  kind: "mission_started";
3250
3250
  title: string;
3251
3251
  evidence: {
3252
- id: string;
3252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
3253
  label: string;
3254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3254
+ id: string;
3255
3255
  capture: "at_action" | "historical_lookup" | "fixture";
3256
3256
  locator?: string | undefined;
3257
3257
  }[];
3258
3258
  objective: string;
3259
3259
  runMode: "replay" | "fixture" | "live";
3260
3260
  } | {
3261
- label: string;
3262
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3263
3261
  kind: "agent_status";
3262
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3263
+ label: string;
3264
3264
  role: string;
3265
3265
  agentId: string;
3266
3266
  sessionId: string;
3267
3267
  evidence: {
3268
- id: string;
3268
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3269
3269
  label: string;
3270
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3270
+ id: string;
3271
3271
  capture: "at_action" | "historical_lookup" | "fixture";
3272
3272
  locator?: string | undefined;
3273
3273
  }[];
3274
3274
  detail?: string | undefined;
3275
3275
  } | {
3276
- summary: string;
3277
3276
  kind: "agent_output";
3277
+ summary: string;
3278
3278
  agentId: string;
3279
3279
  sessionId: string;
3280
3280
  evidence: {
3281
- id: string;
3281
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3282
  label: string;
3283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3283
+ id: string;
3284
3284
  capture: "at_action" | "historical_lookup" | "fixture";
3285
3285
  locator?: string | undefined;
3286
3286
  }[];
@@ -3291,9 +3291,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3291
3291
  statement: string;
3292
3292
  sessionId: string;
3293
3293
  evidence: {
3294
- id: string;
3294
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3295
  label: string;
3296
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3296
+ id: string;
3297
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3298
3298
  locator?: string | undefined;
3299
3299
  }[];
@@ -3301,12 +3301,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3301
3301
  decisionId: string;
3302
3302
  confidence?: number | undefined;
3303
3303
  } | {
3304
- summary: string;
3305
3304
  kind: "conflict_detected";
3305
+ summary: string;
3306
3306
  evidence: {
3307
- id: string;
3307
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3308
  label: string;
3309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3309
+ id: string;
3310
3310
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3311
  locator?: string | undefined;
3312
3312
  }[];
@@ -3314,14 +3314,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3314
3314
  decisionIds: string[];
3315
3315
  agentIds: string[];
3316
3316
  } | {
3317
+ kind: "test_result";
3317
3318
  summary: string;
3318
3319
  status: "error" | "failed" | "passed";
3319
- kind: "test_result";
3320
3320
  command: string;
3321
3321
  evidence: {
3322
- id: string;
3322
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
3323
  label: string;
3324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3324
+ id: string;
3325
3325
  capture: "at_action" | "historical_lookup" | "fixture";
3326
3326
  locator?: string | undefined;
3327
3327
  }[];
@@ -3334,9 +3334,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3334
3334
  statement: string;
3335
3335
  rationale: string;
3336
3336
  evidence: {
3337
- id: string;
3337
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
3338
  label: string;
3339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3339
+ id: string;
3340
3340
  capture: "at_action" | "historical_lookup" | "fixture";
3341
3341
  locator?: string | undefined;
3342
3342
  }[];
@@ -3348,25 +3348,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3348
3348
  } | {
3349
3349
  kind: "correction_approved";
3350
3350
  evidence: {
3351
- id: string;
3351
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
3352
  label: string;
3353
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3353
+ id: string;
3354
3354
  capture: "at_action" | "historical_lookup" | "fixture";
3355
3355
  locator?: string | undefined;
3356
3356
  }[];
3357
3357
  correctionId: string;
3358
3358
  approvedBy: {
3359
- id: string;
3360
- label: string;
3361
3359
  kind: "agent" | "human";
3360
+ label: string;
3361
+ id: string;
3362
3362
  };
3363
3363
  note?: string | undefined;
3364
3364
  } | {
3365
3365
  kind: "decision_superseded";
3366
3366
  evidence: {
3367
- id: string;
3367
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3368
  label: string;
3369
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3369
+ id: string;
3370
3370
  capture: "at_action" | "historical_lookup" | "fixture";
3371
3371
  locator?: string | undefined;
3372
3372
  }[];
@@ -3379,9 +3379,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3379
3379
  agentId: string;
3380
3380
  sessionId: string;
3381
3381
  evidence: {
3382
- id: string;
3382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
3383
  label: string;
3384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
+ id: string;
3385
3385
  capture: "at_action" | "historical_lookup" | "fixture";
3386
3386
  locator?: string | undefined;
3387
3387
  }[];
@@ -3393,9 +3393,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3393
3393
  agentId: string;
3394
3394
  sessionId: string;
3395
3395
  evidence: {
3396
- id: string;
3396
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
3397
  label: string;
3398
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3398
+ id: string;
3399
3399
  capture: "at_action" | "historical_lookup" | "fixture";
3400
3400
  locator?: string | undefined;
3401
3401
  }[];
@@ -3404,13 +3404,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3404
3404
  recallReceiptId: string;
3405
3405
  staleDecisionAbsent: boolean;
3406
3406
  } | {
3407
- summary: string;
3408
3407
  kind: "mission_completed";
3408
+ summary: string;
3409
3409
  outcome: "failed" | "recovered" | "inconclusive";
3410
3410
  evidence: {
3411
- id: string;
3411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
3412
  label: string;
3413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3413
+ id: string;
3414
3414
  capture: "at_action" | "historical_lookup" | "fixture";
3415
3415
  locator?: string | undefined;
3416
3416
  }[];
@@ -3424,37 +3424,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3424
3424
  objective: string;
3425
3425
  runMode: "replay" | "fixture" | "live";
3426
3426
  evidence?: {
3427
- id: string;
3427
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
3428
  label: string;
3429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3429
+ id: string;
3430
3430
  capture: "at_action" | "historical_lookup" | "fixture";
3431
3431
  locator?: string | undefined;
3432
3432
  }[] | undefined;
3433
3433
  } | {
3434
- label: string;
3435
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3436
3434
  kind: "agent_status";
3435
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3436
+ label: string;
3437
3437
  role: string;
3438
3438
  agentId: string;
3439
3439
  sessionId: string;
3440
3440
  detail?: string | undefined;
3441
3441
  evidence?: {
3442
- id: string;
3442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3443
  label: string;
3444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3444
+ id: string;
3445
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3446
  locator?: string | undefined;
3447
3447
  }[] | undefined;
3448
3448
  } | {
3449
- summary: string;
3450
3449
  kind: "agent_output";
3450
+ summary: string;
3451
3451
  agentId: string;
3452
3452
  sessionId: string;
3453
3453
  outputId: string;
3454
3454
  evidence?: {
3455
- id: string;
3455
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
3456
  label: string;
3457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3457
+ id: string;
3458
3458
  capture: "at_action" | "historical_lookup" | "fixture";
3459
3459
  locator?: string | undefined;
3460
3460
  }[] | undefined;
@@ -3467,37 +3467,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3467
3467
  decisionId: string;
3468
3468
  confidence?: number | undefined;
3469
3469
  evidence?: {
3470
- id: string;
3470
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
3471
  label: string;
3472
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
+ id: string;
3473
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3474
  locator?: string | undefined;
3475
3475
  }[] | undefined;
3476
3476
  } | {
3477
- summary: string;
3478
3477
  kind: "conflict_detected";
3478
+ summary: string;
3479
3479
  conflictId: string;
3480
3480
  decisionIds: string[];
3481
3481
  agentIds: string[];
3482
3482
  evidence?: {
3483
- id: string;
3483
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
3484
  label: string;
3485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3485
+ id: string;
3486
3486
  capture: "at_action" | "historical_lookup" | "fixture";
3487
3487
  locator?: string | undefined;
3488
3488
  }[] | undefined;
3489
3489
  } | {
3490
+ kind: "test_result";
3490
3491
  summary: string;
3491
3492
  status: "error" | "failed" | "passed";
3492
- kind: "test_result";
3493
3493
  command: string;
3494
3494
  decisionId: string;
3495
3495
  testId: string;
3496
3496
  durationMs?: number | undefined;
3497
3497
  evidence?: {
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
  }[] | undefined;
@@ -3512,9 +3512,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3512
3512
  supersedesDecisionIds: string[];
3513
3513
  proposedBy: string;
3514
3514
  evidence?: {
3515
- id: string;
3515
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
3516
  label: string;
3517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3517
+ id: string;
3518
3518
  capture: "at_action" | "historical_lookup" | "fixture";
3519
3519
  locator?: string | undefined;
3520
3520
  }[] | undefined;
@@ -3522,15 +3522,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3522
3522
  kind: "correction_approved";
3523
3523
  correctionId: string;
3524
3524
  approvedBy: {
3525
- id: string;
3526
- label: string;
3527
3525
  kind: "agent" | "human";
3526
+ label: string;
3527
+ id: string;
3528
3528
  };
3529
3529
  note?: string | 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;
@@ -3540,9 +3540,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3540
3540
  correctionId: string;
3541
3541
  replacementDecisionId: string;
3542
3542
  evidence?: {
3543
- id: string;
3543
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3544
3544
  label: string;
3545
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3545
+ id: string;
3546
3546
  capture: "at_action" | "historical_lookup" | "fixture";
3547
3547
  locator?: string | undefined;
3548
3548
  }[] | undefined;
@@ -3555,9 +3555,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3555
3555
  recallReceiptId: string;
3556
3556
  capturedAtAction: boolean;
3557
3557
  evidence?: {
3558
- id: string;
3558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3559
  label: string;
3560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3560
+ id: string;
3561
3561
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3562
  locator?: string | undefined;
3563
3563
  }[] | undefined;
@@ -3570,20 +3570,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3570
3570
  recallReceiptId: string;
3571
3571
  staleDecisionAbsent: boolean;
3572
3572
  evidence?: {
3573
- id: string;
3573
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
3574
  label: string;
3575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3575
+ id: string;
3576
3576
  capture: "at_action" | "historical_lookup" | "fixture";
3577
3577
  locator?: string | undefined;
3578
3578
  }[] | undefined;
3579
3579
  } | {
3580
- summary: string;
3581
3580
  kind: "mission_completed";
3581
+ summary: string;
3582
3582
  outcome: "failed" | "recovered" | "inconclusive";
3583
3583
  evidence?: {
3584
- id: string;
3584
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
3585
  label: string;
3586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3586
+ id: string;
3587
3587
  capture: "at_action" | "historical_lookup" | "fixture";
3588
3588
  locator?: string | undefined;
3589
3589
  }[] | undefined;
@@ -3613,15 +3613,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3613
3613
  locator: z.ZodOptional<z.ZodString>;
3614
3614
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3615
3615
  }, "strict", z.ZodTypeAny, {
3616
- id: string;
3616
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
3617
  label: string;
3618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3618
+ id: string;
3619
3619
  capture: "at_action" | "historical_lookup" | "fixture";
3620
3620
  locator?: string | undefined;
3621
3621
  }, {
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
  }>, "many">>;
@@ -3629,9 +3629,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3629
3629
  kind: "mission_started";
3630
3630
  title: string;
3631
3631
  evidence: {
3632
- id: string;
3632
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3633
3633
  label: string;
3634
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3634
+ id: string;
3635
3635
  capture: "at_action" | "historical_lookup" | "fixture";
3636
3636
  locator?: string | undefined;
3637
3637
  }[];
@@ -3643,9 +3643,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3643
3643
  objective: string;
3644
3644
  runMode: "replay" | "fixture" | "live";
3645
3645
  evidence?: {
3646
- id: string;
3646
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
3647
  label: string;
3648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3648
+ id: string;
3649
3649
  capture: "at_action" | "historical_lookup" | "fixture";
3650
3650
  locator?: string | undefined;
3651
3651
  }[] | 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">>;
@@ -3677,32 +3677,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3677
3677
  sessionId: z.ZodString;
3678
3678
  kind: z.ZodLiteral<"agent_status">;
3679
3679
  }, "strict", z.ZodTypeAny, {
3680
- label: string;
3681
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3682
3680
  kind: "agent_status";
3681
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3682
+ label: string;
3683
3683
  role: string;
3684
3684
  agentId: string;
3685
3685
  sessionId: string;
3686
3686
  evidence: {
3687
- id: string;
3687
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
3688
  label: string;
3689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3689
+ id: string;
3690
3690
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3691
  locator?: string | undefined;
3692
3692
  }[];
3693
3693
  detail?: string | undefined;
3694
3694
  }, {
3695
- label: string;
3696
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3697
3695
  kind: "agent_status";
3696
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3697
+ label: string;
3698
3698
  role: string;
3699
3699
  agentId: string;
3700
3700
  sessionId: string;
3701
3701
  detail?: string | undefined;
3702
3702
  evidence?: {
3703
- id: string;
3703
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
3704
  label: string;
3705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3705
+ id: string;
3706
3706
  capture: "at_action" | "historical_lookup" | "fixture";
3707
3707
  locator?: string | undefined;
3708
3708
  }[] | undefined;
@@ -3716,15 +3716,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3716
  locator: z.ZodOptional<z.ZodString>;
3717
3717
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3718
3718
  }, "strict", z.ZodTypeAny, {
3719
- id: string;
3719
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3720
  label: string;
3721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3721
+ id: string;
3722
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3723
  locator?: string | undefined;
3724
3724
  }, {
3725
- id: string;
3725
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3726
  label: string;
3727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3727
+ id: string;
3728
3728
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3729
  locator?: string | undefined;
3730
3730
  }>, "many">>;
@@ -3732,28 +3732,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3732
3732
  sessionId: z.ZodString;
3733
3733
  kind: z.ZodLiteral<"agent_output">;
3734
3734
  }, "strict", z.ZodTypeAny, {
3735
- summary: string;
3736
3735
  kind: "agent_output";
3736
+ summary: string;
3737
3737
  agentId: string;
3738
3738
  sessionId: string;
3739
3739
  evidence: {
3740
- id: string;
3740
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
3741
  label: string;
3742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3742
+ id: string;
3743
3743
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3744
  locator?: string | undefined;
3745
3745
  }[];
3746
3746
  outputId: string;
3747
3747
  }, {
3748
- summary: string;
3749
3748
  kind: "agent_output";
3749
+ summary: string;
3750
3750
  agentId: string;
3751
3751
  sessionId: string;
3752
3752
  outputId: string;
3753
3753
  evidence?: {
3754
- id: string;
3754
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
3755
  label: string;
3756
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3756
+ id: string;
3757
3757
  capture: "at_action" | "historical_lookup" | "fixture";
3758
3758
  locator?: string | undefined;
3759
3759
  }[] | undefined;
@@ -3769,15 +3769,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3769
3769
  locator: z.ZodOptional<z.ZodString>;
3770
3770
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3771
3771
  }, "strict", z.ZodTypeAny, {
3772
- id: string;
3772
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3773
  label: string;
3774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3774
+ id: string;
3775
3775
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3776
  locator?: string | undefined;
3777
3777
  }, {
3778
- id: string;
3778
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3779
  label: string;
3780
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3780
+ id: string;
3781
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3782
  locator?: string | undefined;
3783
3783
  }>, "many">>;
@@ -3790,9 +3790,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3790
3790
  statement: string;
3791
3791
  sessionId: string;
3792
3792
  evidence: {
3793
- id: string;
3793
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
3794
  label: string;
3795
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
+ id: string;
3796
3796
  capture: "at_action" | "historical_lookup" | "fixture";
3797
3797
  locator?: string | undefined;
3798
3798
  }[];
@@ -3808,9 +3808,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3808
3808
  decisionId: string;
3809
3809
  confidence?: number | undefined;
3810
3810
  evidence?: {
3811
- id: string;
3811
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
3812
  label: string;
3813
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3813
+ id: string;
3814
3814
  capture: "at_action" | "historical_lookup" | "fixture";
3815
3815
  locator?: string | undefined;
3816
3816
  }[] | undefined;
@@ -3827,25 +3827,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3827
3827
  locator: z.ZodOptional<z.ZodString>;
3828
3828
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3829
3829
  }, "strict", z.ZodTypeAny, {
3830
- id: string;
3830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3831
  label: string;
3832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3832
+ id: string;
3833
3833
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3834
  locator?: string | undefined;
3835
3835
  }, {
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
  }>, "many">>;
3842
3842
  }, "strict", z.ZodTypeAny, {
3843
- summary: string;
3844
3843
  kind: "conflict_detected";
3844
+ summary: string;
3845
3845
  evidence: {
3846
- id: string;
3846
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
3847
  label: string;
3848
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3848
+ id: string;
3849
3849
  capture: "at_action" | "historical_lookup" | "fixture";
3850
3850
  locator?: string | undefined;
3851
3851
  }[];
@@ -3853,15 +3853,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3853
3853
  decisionIds: string[];
3854
3854
  agentIds: string[];
3855
3855
  }, {
3856
- summary: string;
3857
3856
  kind: "conflict_detected";
3857
+ summary: string;
3858
3858
  conflictId: string;
3859
3859
  decisionIds: string[];
3860
3860
  agentIds: string[];
3861
3861
  evidence?: {
3862
- id: string;
3862
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
3863
  label: string;
3864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3864
+ id: string;
3865
3865
  capture: "at_action" | "historical_lookup" | "fixture";
3866
3866
  locator?: string | undefined;
3867
3867
  }[] | undefined;
@@ -3881,27 +3881,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3881
3881
  locator: z.ZodOptional<z.ZodString>;
3882
3882
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3883
3883
  }, "strict", z.ZodTypeAny, {
3884
- id: string;
3884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
3885
  label: string;
3886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
+ id: string;
3887
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3888
3888
  locator?: string | undefined;
3889
3889
  }, {
3890
- id: string;
3890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3891
  label: string;
3892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
+ id: string;
3893
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3894
  locator?: string | undefined;
3895
3895
  }>, "many">>;
3896
3896
  }, "strict", z.ZodTypeAny, {
3897
+ kind: "test_result";
3897
3898
  summary: string;
3898
3899
  status: "error" | "failed" | "passed";
3899
- kind: "test_result";
3900
3900
  command: string;
3901
3901
  evidence: {
3902
- id: string;
3902
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3903
  label: string;
3904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3904
+ id: string;
3905
3905
  capture: "at_action" | "historical_lookup" | "fixture";
3906
3906
  locator?: string | undefined;
3907
3907
  }[];
@@ -3910,17 +3910,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3910
3910
  durationMs?: number | undefined;
3911
3911
  correctionId?: string | undefined;
3912
3912
  }, {
3913
+ kind: "test_result";
3913
3914
  summary: string;
3914
3915
  status: "error" | "failed" | "passed";
3915
- kind: "test_result";
3916
3916
  command: string;
3917
3917
  decisionId: string;
3918
3918
  testId: string;
3919
3919
  durationMs?: number | undefined;
3920
3920
  evidence?: {
3921
- id: string;
3921
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
3922
  label: string;
3923
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3923
+ id: string;
3924
3924
  capture: "at_action" | "historical_lookup" | "fixture";
3925
3925
  locator?: string | undefined;
3926
3926
  }[] | undefined;
@@ -3941,15 +3941,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3941
3941
  locator: z.ZodOptional<z.ZodString>;
3942
3942
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3943
3943
  }, "strict", z.ZodTypeAny, {
3944
- id: string;
3944
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3945
  label: string;
3946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3946
+ id: string;
3947
3947
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3948
  locator?: string | undefined;
3949
3949
  }, {
3950
- id: string;
3950
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3951
  label: string;
3952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
+ id: string;
3953
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3954
3954
  locator?: string | undefined;
3955
3955
  }>, "many">>;
@@ -3958,9 +3958,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3958
3958
  statement: string;
3959
3959
  rationale: string;
3960
3960
  evidence: {
3961
- id: string;
3961
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3962
3962
  label: string;
3963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3963
+ id: string;
3964
3964
  capture: "at_action" | "historical_lookup" | "fixture";
3965
3965
  locator?: string | undefined;
3966
3966
  }[];
@@ -3979,9 +3979,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3979
3979
  supersedesDecisionIds: string[];
3980
3980
  proposedBy: string;
3981
3981
  evidence?: {
3982
- id: string;
3982
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
3983
  label: string;
3984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3984
+ id: string;
3985
3985
  capture: "at_action" | "historical_lookup" | "fixture";
3986
3986
  locator?: string | undefined;
3987
3987
  }[] | undefined;
@@ -3993,13 +3993,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3993
3993
  id: z.ZodString;
3994
3994
  label: z.ZodString;
3995
3995
  }, "strict", z.ZodTypeAny, {
3996
- id: string;
3997
- label: string;
3998
3996
  kind: "agent" | "human";
3999
- }, {
4000
- id: string;
4001
3997
  label: string;
3998
+ id: string;
3999
+ }, {
4002
4000
  kind: "agent" | "human";
4001
+ label: string;
4002
+ id: string;
4003
4003
  }>;
4004
4004
  note: z.ZodOptional<z.ZodString>;
4005
4005
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4009,47 +4009,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4009
4009
  locator: z.ZodOptional<z.ZodString>;
4010
4010
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4011
4011
  }, "strict", z.ZodTypeAny, {
4012
- id: string;
4012
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4013
  label: string;
4014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
+ id: string;
4015
4015
  capture: "at_action" | "historical_lookup" | "fixture";
4016
4016
  locator?: string | undefined;
4017
4017
  }, {
4018
- id: string;
4018
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4019
  label: string;
4020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4020
+ id: string;
4021
4021
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4022
  locator?: string | undefined;
4023
4023
  }>, "many">>;
4024
4024
  }, "strict", z.ZodTypeAny, {
4025
4025
  kind: "correction_approved";
4026
4026
  evidence: {
4027
- id: string;
4027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4028
  label: string;
4029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
+ id: string;
4030
4030
  capture: "at_action" | "historical_lookup" | "fixture";
4031
4031
  locator?: string | undefined;
4032
4032
  }[];
4033
4033
  correctionId: string;
4034
4034
  approvedBy: {
4035
- id: string;
4036
- label: string;
4037
4035
  kind: "agent" | "human";
4036
+ label: string;
4037
+ id: string;
4038
4038
  };
4039
4039
  note?: string | undefined;
4040
4040
  }, {
4041
4041
  kind: "correction_approved";
4042
4042
  correctionId: string;
4043
4043
  approvedBy: {
4044
- id: string;
4045
- label: string;
4046
4044
  kind: "agent" | "human";
4045
+ label: string;
4046
+ id: string;
4047
4047
  };
4048
4048
  note?: string | undefined;
4049
4049
  evidence?: {
4050
- id: string;
4050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
4051
  label: string;
4052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4052
+ id: string;
4053
4053
  capture: "at_action" | "historical_lookup" | "fixture";
4054
4054
  locator?: string | undefined;
4055
4055
  }[] | undefined;
@@ -4065,24 +4065,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4065
4065
  locator: z.ZodOptional<z.ZodString>;
4066
4066
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4067
4067
  }, "strict", z.ZodTypeAny, {
4068
- id: string;
4068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4069
  label: string;
4070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
+ id: string;
4071
4071
  capture: "at_action" | "historical_lookup" | "fixture";
4072
4072
  locator?: string | undefined;
4073
4073
  }, {
4074
- id: string;
4074
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4075
  label: string;
4076
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4076
+ id: string;
4077
4077
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4078
  locator?: string | undefined;
4079
4079
  }>, "many">>;
4080
4080
  }, "strict", z.ZodTypeAny, {
4081
4081
  kind: "decision_superseded";
4082
4082
  evidence: {
4083
- id: string;
4083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4084
  label: string;
4085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4085
+ id: string;
4086
4086
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4087
  locator?: string | undefined;
4088
4088
  }[];
@@ -4095,9 +4095,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4095
4095
  correctionId: string;
4096
4096
  replacementDecisionId: string;
4097
4097
  evidence?: {
4098
- id: string;
4098
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
4099
  label: string;
4100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4100
+ id: string;
4101
4101
  capture: "at_action" | "historical_lookup" | "fixture";
4102
4102
  locator?: string | undefined;
4103
4103
  }[] | undefined;
@@ -4113,15 +4113,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4113
4113
  locator: z.ZodOptional<z.ZodString>;
4114
4114
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4115
4115
  }, "strict", z.ZodTypeAny, {
4116
- id: string;
4116
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4117
  label: string;
4118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
+ id: string;
4119
4119
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4120
  locator?: string | undefined;
4121
4121
  }, {
4122
- id: string;
4122
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4123
  label: string;
4124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4124
+ id: string;
4125
4125
  capture: "at_action" | "historical_lookup" | "fixture";
4126
4126
  locator?: string | undefined;
4127
4127
  }>, "many">>;
@@ -4134,9 +4134,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4134
4134
  agentId: string;
4135
4135
  sessionId: string;
4136
4136
  evidence: {
4137
- id: string;
4137
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4138
  label: string;
4139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4139
+ id: string;
4140
4140
  capture: "at_action" | "historical_lookup" | "fixture";
4141
4141
  locator?: string | undefined;
4142
4142
  }[];
@@ -4152,9 +4152,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4152
4152
  recallReceiptId: string;
4153
4153
  capturedAtAction: boolean;
4154
4154
  evidence?: {
4155
- id: string;
4155
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4156
  label: string;
4157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4157
+ id: string;
4158
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4159
  locator?: string | undefined;
4160
4160
  }[] | undefined;
@@ -4170,15 +4170,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4170
4170
  locator: z.ZodOptional<z.ZodString>;
4171
4171
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4172
4172
  }, "strict", z.ZodTypeAny, {
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
  }, {
4179
- id: string;
4179
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4180
  label: string;
4181
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4181
+ id: string;
4182
4182
  capture: "at_action" | "historical_lookup" | "fixture";
4183
4183
  locator?: string | undefined;
4184
4184
  }>, "many">>;
@@ -4190,9 +4190,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4190
4190
  agentId: string;
4191
4191
  sessionId: string;
4192
4192
  evidence: {
4193
- id: string;
4193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
4194
  label: string;
4195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4195
+ id: string;
4196
4196
  capture: "at_action" | "historical_lookup" | "fixture";
4197
4197
  locator?: string | undefined;
4198
4198
  }[];
@@ -4209,9 +4209,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4209
4209
  recallReceiptId: string;
4210
4210
  staleDecisionAbsent: boolean;
4211
4211
  evidence?: {
4212
- id: string;
4212
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
4213
  label: string;
4214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
+ id: string;
4215
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4216
4216
  locator?: string | undefined;
4217
4217
  }[] | undefined;
@@ -4226,37 +4226,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4226
4226
  locator: z.ZodOptional<z.ZodString>;
4227
4227
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4228
4228
  }, "strict", z.ZodTypeAny, {
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
  }, {
4235
- id: string;
4235
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4236
  label: string;
4237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4237
+ id: string;
4238
4238
  capture: "at_action" | "historical_lookup" | "fixture";
4239
4239
  locator?: string | undefined;
4240
4240
  }>, "many">>;
4241
4241
  }, "strict", z.ZodTypeAny, {
4242
- summary: string;
4243
4242
  kind: "mission_completed";
4243
+ summary: string;
4244
4244
  outcome: "failed" | "recovered" | "inconclusive";
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
  }[];
4252
4252
  }, {
4253
- summary: string;
4254
4253
  kind: "mission_completed";
4254
+ summary: string;
4255
4255
  outcome: "failed" | "recovered" | "inconclusive";
4256
4256
  evidence?: {
4257
- id: string;
4257
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4258
4258
  label: string;
4259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4259
+ id: string;
4260
4260
  capture: "at_action" | "historical_lookup" | "fixture";
4261
4261
  locator?: string | undefined;
4262
4262
  }[] | undefined;
@@ -4264,38 +4264,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4264
4264
  kind: "mission_started";
4265
4265
  title: string;
4266
4266
  evidence: {
4267
- id: string;
4267
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4268
4268
  label: string;
4269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4269
+ id: string;
4270
4270
  capture: "at_action" | "historical_lookup" | "fixture";
4271
4271
  locator?: string | undefined;
4272
4272
  }[];
4273
4273
  objective: string;
4274
4274
  runMode: "replay" | "fixture" | "live";
4275
4275
  } | {
4276
- label: string;
4277
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4278
4276
  kind: "agent_status";
4277
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4278
+ label: string;
4279
4279
  role: string;
4280
4280
  agentId: string;
4281
4281
  sessionId: string;
4282
4282
  evidence: {
4283
- id: string;
4283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
4284
  label: string;
4285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
+ id: string;
4286
4286
  capture: "at_action" | "historical_lookup" | "fixture";
4287
4287
  locator?: string | undefined;
4288
4288
  }[];
4289
4289
  detail?: string | undefined;
4290
4290
  } | {
4291
- summary: string;
4292
4291
  kind: "agent_output";
4292
+ summary: string;
4293
4293
  agentId: string;
4294
4294
  sessionId: string;
4295
4295
  evidence: {
4296
- id: string;
4296
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
4297
  label: string;
4298
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4298
+ id: string;
4299
4299
  capture: "at_action" | "historical_lookup" | "fixture";
4300
4300
  locator?: string | undefined;
4301
4301
  }[];
@@ -4306,9 +4306,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4306
4306
  statement: string;
4307
4307
  sessionId: string;
4308
4308
  evidence: {
4309
- id: string;
4309
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4310
4310
  label: string;
4311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4311
+ id: string;
4312
4312
  capture: "at_action" | "historical_lookup" | "fixture";
4313
4313
  locator?: string | undefined;
4314
4314
  }[];
@@ -4316,12 +4316,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4316
4316
  decisionId: string;
4317
4317
  confidence?: number | undefined;
4318
4318
  } | {
4319
- summary: string;
4320
4319
  kind: "conflict_detected";
4320
+ summary: string;
4321
4321
  evidence: {
4322
- id: string;
4322
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4323
  label: string;
4324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4324
+ id: string;
4325
4325
  capture: "at_action" | "historical_lookup" | "fixture";
4326
4326
  locator?: string | undefined;
4327
4327
  }[];
@@ -4329,14 +4329,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4329
4329
  decisionIds: string[];
4330
4330
  agentIds: string[];
4331
4331
  } | {
4332
+ kind: "test_result";
4332
4333
  summary: string;
4333
4334
  status: "error" | "failed" | "passed";
4334
- kind: "test_result";
4335
4335
  command: string;
4336
4336
  evidence: {
4337
- id: string;
4337
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
4338
  label: string;
4339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4339
+ id: string;
4340
4340
  capture: "at_action" | "historical_lookup" | "fixture";
4341
4341
  locator?: string | undefined;
4342
4342
  }[];
@@ -4349,9 +4349,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4349
4349
  statement: string;
4350
4350
  rationale: string;
4351
4351
  evidence: {
4352
- id: string;
4352
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4353
4353
  label: string;
4354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4354
+ id: string;
4355
4355
  capture: "at_action" | "historical_lookup" | "fixture";
4356
4356
  locator?: string | undefined;
4357
4357
  }[];
@@ -4363,25 +4363,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4363
4363
  } | {
4364
4364
  kind: "correction_approved";
4365
4365
  evidence: {
4366
- id: string;
4366
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4367
4367
  label: string;
4368
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4368
+ id: string;
4369
4369
  capture: "at_action" | "historical_lookup" | "fixture";
4370
4370
  locator?: string | undefined;
4371
4371
  }[];
4372
4372
  correctionId: string;
4373
4373
  approvedBy: {
4374
- id: string;
4375
- label: string;
4376
4374
  kind: "agent" | "human";
4375
+ label: string;
4376
+ id: string;
4377
4377
  };
4378
4378
  note?: string | undefined;
4379
4379
  } | {
4380
4380
  kind: "decision_superseded";
4381
4381
  evidence: {
4382
- id: string;
4382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4383
  label: string;
4384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
+ id: string;
4385
4385
  capture: "at_action" | "historical_lookup" | "fixture";
4386
4386
  locator?: string | undefined;
4387
4387
  }[];
@@ -4394,9 +4394,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4394
4394
  agentId: string;
4395
4395
  sessionId: string;
4396
4396
  evidence: {
4397
- id: string;
4397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
4398
  label: string;
4399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
+ id: string;
4400
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4401
4401
  locator?: string | undefined;
4402
4402
  }[];
@@ -4408,9 +4408,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4408
4408
  agentId: string;
4409
4409
  sessionId: string;
4410
4410
  evidence: {
4411
- id: string;
4411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4412
  label: string;
4413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
+ id: string;
4414
4414
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4415
  locator?: string | undefined;
4416
4416
  }[];
@@ -4419,13 +4419,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4419
  recallReceiptId: string;
4420
4420
  staleDecisionAbsent: boolean;
4421
4421
  } | {
4422
- summary: string;
4423
4422
  kind: "mission_completed";
4423
+ summary: string;
4424
4424
  outcome: "failed" | "recovered" | "inconclusive";
4425
4425
  evidence: {
4426
- id: string;
4426
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4427
  label: string;
4428
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
+ id: string;
4429
4429
  capture: "at_action" | "historical_lookup" | "fixture";
4430
4430
  locator?: string | undefined;
4431
4431
  }[];
@@ -4435,37 +4435,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4435
4435
  objective: string;
4436
4436
  runMode: "replay" | "fixture" | "live";
4437
4437
  evidence?: {
4438
- id: string;
4438
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4439
4439
  label: string;
4440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4440
+ id: string;
4441
4441
  capture: "at_action" | "historical_lookup" | "fixture";
4442
4442
  locator?: string | undefined;
4443
4443
  }[] | undefined;
4444
4444
  } | {
4445
- label: string;
4446
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4447
4445
  kind: "agent_status";
4446
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4447
+ label: string;
4448
4448
  role: string;
4449
4449
  agentId: string;
4450
4450
  sessionId: string;
4451
4451
  detail?: string | undefined;
4452
4452
  evidence?: {
4453
- id: string;
4453
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4454
4454
  label: string;
4455
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4455
+ id: string;
4456
4456
  capture: "at_action" | "historical_lookup" | "fixture";
4457
4457
  locator?: string | undefined;
4458
4458
  }[] | undefined;
4459
4459
  } | {
4460
- summary: string;
4461
4460
  kind: "agent_output";
4461
+ summary: string;
4462
4462
  agentId: string;
4463
4463
  sessionId: string;
4464
4464
  outputId: string;
4465
4465
  evidence?: {
4466
- id: string;
4466
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4467
4467
  label: string;
4468
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4468
+ id: string;
4469
4469
  capture: "at_action" | "historical_lookup" | "fixture";
4470
4470
  locator?: string | undefined;
4471
4471
  }[] | undefined;
@@ -4478,37 +4478,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4478
4478
  decisionId: string;
4479
4479
  confidence?: number | undefined;
4480
4480
  evidence?: {
4481
- id: string;
4481
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4482
4482
  label: string;
4483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4483
+ id: string;
4484
4484
  capture: "at_action" | "historical_lookup" | "fixture";
4485
4485
  locator?: string | undefined;
4486
4486
  }[] | undefined;
4487
4487
  } | {
4488
- summary: string;
4489
4488
  kind: "conflict_detected";
4489
+ summary: string;
4490
4490
  conflictId: string;
4491
4491
  decisionIds: string[];
4492
4492
  agentIds: string[];
4493
4493
  evidence?: {
4494
- id: string;
4494
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4495
4495
  label: string;
4496
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4496
+ id: string;
4497
4497
  capture: "at_action" | "historical_lookup" | "fixture";
4498
4498
  locator?: string | undefined;
4499
4499
  }[] | undefined;
4500
4500
  } | {
4501
+ kind: "test_result";
4501
4502
  summary: string;
4502
4503
  status: "error" | "failed" | "passed";
4503
- kind: "test_result";
4504
4504
  command: string;
4505
4505
  decisionId: string;
4506
4506
  testId: string;
4507
4507
  durationMs?: number | undefined;
4508
4508
  evidence?: {
4509
- id: string;
4509
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4510
  label: string;
4511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4511
+ id: string;
4512
4512
  capture: "at_action" | "historical_lookup" | "fixture";
4513
4513
  locator?: string | undefined;
4514
4514
  }[] | undefined;
@@ -4523,9 +4523,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4523
4523
  supersedesDecisionIds: string[];
4524
4524
  proposedBy: string;
4525
4525
  evidence?: {
4526
- id: string;
4526
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
4527
  label: string;
4528
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4528
+ id: string;
4529
4529
  capture: "at_action" | "historical_lookup" | "fixture";
4530
4530
  locator?: string | undefined;
4531
4531
  }[] | undefined;
@@ -4533,15 +4533,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4533
4533
  kind: "correction_approved";
4534
4534
  correctionId: string;
4535
4535
  approvedBy: {
4536
- id: string;
4537
- label: string;
4538
4536
  kind: "agent" | "human";
4537
+ label: string;
4538
+ id: string;
4539
4539
  };
4540
4540
  note?: string | undefined;
4541
4541
  evidence?: {
4542
- id: string;
4542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4543
  label: string;
4544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4544
+ id: string;
4545
4545
  capture: "at_action" | "historical_lookup" | "fixture";
4546
4546
  locator?: string | undefined;
4547
4547
  }[] | undefined;
@@ -4551,9 +4551,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4551
4551
  correctionId: string;
4552
4552
  replacementDecisionId: string;
4553
4553
  evidence?: {
4554
- id: string;
4554
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4555
  label: string;
4556
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4556
+ id: string;
4557
4557
  capture: "at_action" | "historical_lookup" | "fixture";
4558
4558
  locator?: string | undefined;
4559
4559
  }[] | undefined;
@@ -4566,9 +4566,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4566
4566
  recallReceiptId: string;
4567
4567
  capturedAtAction: boolean;
4568
4568
  evidence?: {
4569
- id: string;
4569
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
4570
  label: string;
4571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4571
+ id: string;
4572
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4573
4573
  locator?: string | undefined;
4574
4574
  }[] | undefined;
@@ -4581,64 +4581,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4581
4581
  recallReceiptId: string;
4582
4582
  staleDecisionAbsent: boolean;
4583
4583
  evidence?: {
4584
- id: string;
4584
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
4585
  label: string;
4586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4586
+ id: string;
4587
4587
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4588
  locator?: string | undefined;
4589
4589
  }[] | undefined;
4590
4590
  } | {
4591
- summary: string;
4592
4591
  kind: "mission_completed";
4592
+ summary: string;
4593
4593
  outcome: "failed" | "recovered" | "inconclusive";
4594
4594
  evidence?: {
4595
- id: string;
4595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
4596
  label: string;
4597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4597
+ id: string;
4598
4598
  capture: "at_action" | "historical_lookup" | "fixture";
4599
4599
  locator?: string | undefined;
4600
4600
  }[] | undefined;
4601
4601
  }>;
4602
4602
  }, "strict", z.ZodTypeAny, {
4603
- namespace: string;
4604
- recordedAt: string;
4605
4603
  schemaVersion: "1";
4604
+ recordedAt: string;
4606
4605
  payload: {
4607
4606
  kind: "mission_started";
4608
4607
  title: string;
4609
4608
  evidence: {
4610
- id: string;
4609
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4611
4610
  label: string;
4612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4611
+ id: string;
4613
4612
  capture: "at_action" | "historical_lookup" | "fixture";
4614
4613
  locator?: string | undefined;
4615
4614
  }[];
4616
4615
  objective: string;
4617
4616
  runMode: "replay" | "fixture" | "live";
4618
4617
  } | {
4619
- label: string;
4620
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4621
4618
  kind: "agent_status";
4619
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4620
+ label: string;
4622
4621
  role: string;
4623
4622
  agentId: string;
4624
4623
  sessionId: string;
4625
4624
  evidence: {
4626
- id: string;
4625
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4627
4626
  label: string;
4628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4627
+ id: string;
4629
4628
  capture: "at_action" | "historical_lookup" | "fixture";
4630
4629
  locator?: string | undefined;
4631
4630
  }[];
4632
4631
  detail?: string | undefined;
4633
4632
  } | {
4634
- summary: string;
4635
4633
  kind: "agent_output";
4634
+ summary: string;
4636
4635
  agentId: string;
4637
4636
  sessionId: string;
4638
4637
  evidence: {
4639
- id: string;
4638
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
4639
  label: string;
4641
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
+ id: string;
4642
4641
  capture: "at_action" | "historical_lookup" | "fixture";
4643
4642
  locator?: string | undefined;
4644
4643
  }[];
@@ -4649,9 +4648,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4649
4648
  statement: string;
4650
4649
  sessionId: string;
4651
4650
  evidence: {
4652
- id: string;
4651
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4653
4652
  label: string;
4654
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4653
+ id: string;
4655
4654
  capture: "at_action" | "historical_lookup" | "fixture";
4656
4655
  locator?: string | undefined;
4657
4656
  }[];
@@ -4659,12 +4658,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4659
4658
  decisionId: string;
4660
4659
  confidence?: number | undefined;
4661
4660
  } | {
4662
- summary: string;
4663
4661
  kind: "conflict_detected";
4662
+ summary: string;
4664
4663
  evidence: {
4665
- id: string;
4664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
4665
  label: string;
4667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
+ id: string;
4668
4667
  capture: "at_action" | "historical_lookup" | "fixture";
4669
4668
  locator?: string | undefined;
4670
4669
  }[];
@@ -4672,14 +4671,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4672
4671
  decisionIds: string[];
4673
4672
  agentIds: string[];
4674
4673
  } | {
4674
+ kind: "test_result";
4675
4675
  summary: string;
4676
4676
  status: "error" | "failed" | "passed";
4677
- kind: "test_result";
4678
4677
  command: string;
4679
4678
  evidence: {
4680
- id: string;
4679
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4681
4680
  label: string;
4682
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4681
+ id: string;
4683
4682
  capture: "at_action" | "historical_lookup" | "fixture";
4684
4683
  locator?: string | undefined;
4685
4684
  }[];
@@ -4692,9 +4691,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4692
4691
  statement: string;
4693
4692
  rationale: string;
4694
4693
  evidence: {
4695
- id: string;
4694
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4696
4695
  label: string;
4697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4696
+ id: string;
4698
4697
  capture: "at_action" | "historical_lookup" | "fixture";
4699
4698
  locator?: string | undefined;
4700
4699
  }[];
@@ -4706,25 +4705,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4706
4705
  } | {
4707
4706
  kind: "correction_approved";
4708
4707
  evidence: {
4709
- id: string;
4708
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4710
4709
  label: string;
4711
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4710
+ id: string;
4712
4711
  capture: "at_action" | "historical_lookup" | "fixture";
4713
4712
  locator?: string | undefined;
4714
4713
  }[];
4715
4714
  correctionId: string;
4716
4715
  approvedBy: {
4717
- id: string;
4718
- label: string;
4719
4716
  kind: "agent" | "human";
4717
+ label: string;
4718
+ id: string;
4720
4719
  };
4721
4720
  note?: string | undefined;
4722
4721
  } | {
4723
4722
  kind: "decision_superseded";
4724
4723
  evidence: {
4725
- id: string;
4724
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4726
4725
  label: string;
4727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4726
+ id: string;
4728
4727
  capture: "at_action" | "historical_lookup" | "fixture";
4729
4728
  locator?: string | undefined;
4730
4729
  }[];
@@ -4737,9 +4736,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4737
4736
  agentId: string;
4738
4737
  sessionId: string;
4739
4738
  evidence: {
4740
- id: string;
4739
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4741
4740
  label: string;
4742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4741
+ id: string;
4743
4742
  capture: "at_action" | "historical_lookup" | "fixture";
4744
4743
  locator?: string | undefined;
4745
4744
  }[];
@@ -4751,9 +4750,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4751
4750
  agentId: string;
4752
4751
  sessionId: string;
4753
4752
  evidence: {
4754
- id: string;
4753
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4755
4754
  label: string;
4756
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4755
+ id: string;
4757
4756
  capture: "at_action" | "historical_lookup" | "fixture";
4758
4757
  locator?: string | undefined;
4759
4758
  }[];
@@ -4762,63 +4761,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4762
4761
  recallReceiptId: string;
4763
4762
  staleDecisionAbsent: boolean;
4764
4763
  } | {
4765
- summary: string;
4766
4764
  kind: "mission_completed";
4765
+ summary: string;
4767
4766
  outcome: "failed" | "recovered" | "inconclusive";
4768
4767
  evidence: {
4769
- id: string;
4768
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4770
4769
  label: string;
4771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4770
+ id: string;
4772
4771
  capture: "at_action" | "historical_lookup" | "fixture";
4773
4772
  locator?: string | undefined;
4774
4773
  }[];
4775
4774
  };
4775
+ namespace: string;
4776
4776
  eventId: string;
4777
4777
  occurredAt: string;
4778
4778
  missionId: string;
4779
4779
  idempotencyKey?: string | undefined;
4780
4780
  authenticatedPrincipal?: string | undefined;
4781
4781
  }, {
4782
- namespace: string;
4783
- recordedAt: string;
4784
4782
  schemaVersion: "1";
4783
+ recordedAt: string;
4785
4784
  payload: {
4786
4785
  kind: "mission_started";
4787
4786
  title: string;
4788
4787
  objective: string;
4789
4788
  runMode: "replay" | "fixture" | "live";
4790
4789
  evidence?: {
4791
- id: string;
4790
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4792
4791
  label: string;
4793
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4792
+ id: string;
4794
4793
  capture: "at_action" | "historical_lookup" | "fixture";
4795
4794
  locator?: string | undefined;
4796
4795
  }[] | undefined;
4797
4796
  } | {
4798
- label: string;
4799
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4800
4797
  kind: "agent_status";
4798
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4799
+ label: string;
4801
4800
  role: string;
4802
4801
  agentId: string;
4803
4802
  sessionId: string;
4804
4803
  detail?: string | undefined;
4805
4804
  evidence?: {
4806
- id: string;
4805
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4807
4806
  label: string;
4808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4807
+ id: string;
4809
4808
  capture: "at_action" | "historical_lookup" | "fixture";
4810
4809
  locator?: string | undefined;
4811
4810
  }[] | undefined;
4812
4811
  } | {
4813
- summary: string;
4814
4812
  kind: "agent_output";
4813
+ summary: string;
4815
4814
  agentId: string;
4816
4815
  sessionId: string;
4817
4816
  outputId: string;
4818
4817
  evidence?: {
4819
- id: string;
4818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4820
4819
  label: string;
4821
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4820
+ id: string;
4822
4821
  capture: "at_action" | "historical_lookup" | "fixture";
4823
4822
  locator?: string | undefined;
4824
4823
  }[] | undefined;
@@ -4831,37 +4830,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4831
4830
  decisionId: string;
4832
4831
  confidence?: number | undefined;
4833
4832
  evidence?: {
4834
- id: string;
4833
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4835
4834
  label: string;
4836
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4835
+ id: string;
4837
4836
  capture: "at_action" | "historical_lookup" | "fixture";
4838
4837
  locator?: string | undefined;
4839
4838
  }[] | undefined;
4840
4839
  } | {
4841
- summary: string;
4842
4840
  kind: "conflict_detected";
4841
+ summary: string;
4843
4842
  conflictId: string;
4844
4843
  decisionIds: string[];
4845
4844
  agentIds: string[];
4846
4845
  evidence?: {
4847
- id: string;
4846
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4848
4847
  label: string;
4849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4848
+ id: string;
4850
4849
  capture: "at_action" | "historical_lookup" | "fixture";
4851
4850
  locator?: string | undefined;
4852
4851
  }[] | undefined;
4853
4852
  } | {
4853
+ kind: "test_result";
4854
4854
  summary: string;
4855
4855
  status: "error" | "failed" | "passed";
4856
- kind: "test_result";
4857
4856
  command: string;
4858
4857
  decisionId: string;
4859
4858
  testId: string;
4860
4859
  durationMs?: number | undefined;
4861
4860
  evidence?: {
4862
- id: string;
4861
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4863
4862
  label: string;
4864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4863
+ id: string;
4865
4864
  capture: "at_action" | "historical_lookup" | "fixture";
4866
4865
  locator?: string | undefined;
4867
4866
  }[] | undefined;
@@ -4876,9 +4875,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4876
4875
  supersedesDecisionIds: string[];
4877
4876
  proposedBy: string;
4878
4877
  evidence?: {
4879
- id: string;
4878
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4880
4879
  label: string;
4881
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4880
+ id: string;
4882
4881
  capture: "at_action" | "historical_lookup" | "fixture";
4883
4882
  locator?: string | undefined;
4884
4883
  }[] | undefined;
@@ -4886,15 +4885,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4886
4885
  kind: "correction_approved";
4887
4886
  correctionId: string;
4888
4887
  approvedBy: {
4889
- id: string;
4890
- label: string;
4891
4888
  kind: "agent" | "human";
4889
+ label: string;
4890
+ id: string;
4892
4891
  };
4893
4892
  note?: string | undefined;
4894
4893
  evidence?: {
4895
- id: string;
4894
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
4895
  label: string;
4897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
+ id: string;
4898
4897
  capture: "at_action" | "historical_lookup" | "fixture";
4899
4898
  locator?: string | undefined;
4900
4899
  }[] | undefined;
@@ -4904,9 +4903,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4904
4903
  correctionId: string;
4905
4904
  replacementDecisionId: string;
4906
4905
  evidence?: {
4907
- id: string;
4906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4908
4907
  label: string;
4909
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4908
+ id: string;
4910
4909
  capture: "at_action" | "historical_lookup" | "fixture";
4911
4910
  locator?: string | undefined;
4912
4911
  }[] | undefined;
@@ -4919,9 +4918,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4919
4918
  recallReceiptId: string;
4920
4919
  capturedAtAction: boolean;
4921
4920
  evidence?: {
4922
- id: string;
4921
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4923
4922
  label: string;
4924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4923
+ id: string;
4925
4924
  capture: "at_action" | "historical_lookup" | "fixture";
4926
4925
  locator?: string | undefined;
4927
4926
  }[] | undefined;
@@ -4934,24 +4933,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4934
4933
  recallReceiptId: string;
4935
4934
  staleDecisionAbsent: boolean;
4936
4935
  evidence?: {
4937
- id: string;
4936
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4938
4937
  label: string;
4939
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4938
+ id: string;
4940
4939
  capture: "at_action" | "historical_lookup" | "fixture";
4941
4940
  locator?: string | undefined;
4942
4941
  }[] | undefined;
4943
4942
  } | {
4944
- summary: string;
4945
4943
  kind: "mission_completed";
4944
+ summary: string;
4946
4945
  outcome: "failed" | "recovered" | "inconclusive";
4947
4946
  evidence?: {
4948
- id: string;
4947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4949
4948
  label: string;
4950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4949
+ id: string;
4951
4950
  capture: "at_action" | "historical_lookup" | "fixture";
4952
4951
  locator?: string | undefined;
4953
4952
  }[] | undefined;
4954
4953
  };
4954
+ namespace: string;
4955
4955
  eventId: string;
4956
4956
  occurredAt: string;
4957
4957
  missionId: string;
@@ -8421,6 +8421,38 @@ declare function publishVaultRegion(input: {
8421
8421
  content: string;
8422
8422
  }): PublishVaultRegionResult;
8423
8423
 
8424
+ /**
8425
+ * Pure vault-publish outcome aggregator (issue #1985).
8426
+ *
8427
+ * `summarizeVaultPublish` folds per-file publish results into the status
8428
+ * shape the publish report and the dry-run print: sorted per-file outcomes
8429
+ * plus zero-filled counts. It performs no I/O and never mutates its input.
8430
+ *
8431
+ * Fail-closed contract: an unrecognized outcome is refused, never coerced
8432
+ * into `skipped` or `error`, and `skipped`/`error` must carry a non-blank
8433
+ * reason so every un-actionable row says why.
8434
+ */
8435
+ declare const VAULT_PUBLISH_OUTCOMES: readonly ["updated", "unchanged", "skipped", "error"];
8436
+ type VaultPublishOutcome = (typeof VAULT_PUBLISH_OUTCOMES)[number];
8437
+ interface VaultPublishResult {
8438
+ /** Vault-relative note path. */
8439
+ path: string;
8440
+ outcome: string;
8441
+ /** Required for skipped and error, e.g. "no_marker". */
8442
+ reason?: string;
8443
+ }
8444
+ interface VaultPublishStatus {
8445
+ results: Array<{
8446
+ path: string;
8447
+ outcome: VaultPublishOutcome;
8448
+ reason?: string;
8449
+ }>;
8450
+ counts: Record<VaultPublishOutcome, number>;
8451
+ /** True when at least one entry is an error. */
8452
+ hasError: boolean;
8453
+ }
8454
+ declare function summarizeVaultPublish(results: readonly VaultPublishResult[]): VaultPublishStatus;
8455
+
8424
8456
  /**
8425
8457
  * Managed-region marker insertion (issue #1985).
8426
8458
  *
@@ -9207,4 +9239,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
9207
9239
  */
9208
9240
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
9209
9241
 
9210
- export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ANALYSIS_FAILURE_KINDS, type ActivityAnalysisStatus, ActivityConfig, ActivityDayDigest, ActivityDayMeta, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineQaConfig, ActivityWearablesMeetingsDaySource, type AnalysisFailure, type AnalysisFailureKind, type AnalysisPromptObservation, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalSeedCard, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MS_PER_DAY, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultRegionResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapMarkdownOptions, type RecapSection, type RecapWindowCard, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TIMELINE_ANALYSIS_BATCH_OVERLAP, TIMELINE_ANALYSIS_BATCH_SIZE, TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, TIMELINE_ANALYSIS_PROMPT_VERSION, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, type TimelineAnalysisComplete, type TimelineAnalysisCompleteInput, TimelineAnalysisConfigError, type TimelineAnalysisInput, type TimelineAnalysisResult, type TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, type ValidateRegionNameResult, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, activityDayWindow, activityDigestPath, analyzeTimelineCards, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertValidTimezone, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAudioWindows, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineAnalysisPrompt, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, classifyAnalysisFailure, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, filterPrivacyWindow, findContradictions, findDuplicates, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isAnalysisFailureKind, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, joinVaultSegments, journalPath, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseActivityPrivacy, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultRegion, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, watchForChanges, weeklySnapshotPath, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory };
9242
+ export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ANALYSIS_FAILURE_KINDS, type ActivityAnalysisStatus, ActivityConfig, ActivityDayDigest, ActivityDayMeta, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineQaConfig, ActivityWearablesMeetingsDaySource, type AnalysisFailure, type AnalysisFailureKind, type AnalysisPromptObservation, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalSeedCard, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MS_PER_DAY, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultRegionResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapMarkdownOptions, type RecapSection, type RecapWindowCard, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TIMELINE_ANALYSIS_BATCH_OVERLAP, TIMELINE_ANALYSIS_BATCH_SIZE, TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, TIMELINE_ANALYSIS_PROMPT_VERSION, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, type TimelineAnalysisComplete, type TimelineAnalysisCompleteInput, TimelineAnalysisConfigError, type TimelineAnalysisInput, type TimelineAnalysisResult, type TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_PUBLISH_OUTCOMES, type ValidateRegionNameResult, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, activityDayWindow, activityDigestPath, analyzeTimelineCards, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertValidTimezone, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAudioWindows, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineAnalysisPrompt, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, classifyAnalysisFailure, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, filterPrivacyWindow, findContradictions, findDuplicates, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isAnalysisFailureKind, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, joinVaultSegments, journalPath, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseActivityPrivacy, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultRegion, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, watchForChanges, weeklySnapshotPath, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory };