@remnic/core 9.60.0 → 9.60.1
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.
- package/dist/access-admin-ops-surface.d.ts +1 -1
- package/dist/access-authorization-probe.d.ts +1 -1
- package/dist/access-boundary.d.ts +1 -1
- package/dist/access-cli.js +9 -9
- package/dist/access-extraction-force-flush.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +1 -1
- package/dist/access-http-lifecycle-flush.d.ts +1 -1
- package/dist/access-http-offline-stream.d.ts +1 -1
- package/dist/access-http.d.ts +2 -2
- package/dist/access-lcm-surface.d.ts +1 -1
- package/dist/access-mcp.d.ts +1 -1
- package/dist/access-observe-write-surface.d.ts +1 -1
- package/dist/access-operations.d.ts +4 -4
- package/dist/access-recall-concurrency.d.ts +1 -1
- package/dist/access-recall-response.d.ts +1 -1
- package/dist/access-recall-surface.d.ts +1 -1
- package/dist/access-schema.d.ts +88 -88
- package/dist/access-service-helpers.d.ts +1 -1
- package/dist/access-service.d.ts +1 -1
- package/dist/access-surface-catalog.d.ts +1 -1
- package/dist/active-recall.js +2 -2
- package/dist/{auto-sync-5HVRCMGZ.js → auto-sync-FMWQQB3J.js} +3 -3
- package/dist/{chunk-EWL5DICB.js → chunk-2HGV44MM.js} +2 -2
- package/dist/{chunk-4IIKJOYM.js → chunk-DSA47WBN.js} +2 -2
- package/dist/{chunk-RXN7Z2V5.js → chunk-FQSDU634.js} +2 -2
- package/dist/{chunk-PFPNUFKZ.js → chunk-GKHMV2KK.js} +12 -12
- package/dist/chunk-GKHMV2KK.js.map +1 -0
- package/dist/{chunk-RL3EGL7A.js → chunk-JGW2EUCQ.js} +2 -2
- package/dist/{chunk-ER4BLWI6.js → chunk-VI637ILW.js} +24 -7
- package/dist/chunk-VI637ILW.js.map +1 -0
- package/dist/{chunk-B4CSPFYN.js → chunk-VUJN44CT.js} +2 -2
- package/dist/{chunk-CZGOLAEW.js → chunk-XU4OLEYW.js} +4 -4
- package/dist/{chunk-HVP33QVW.js → chunk-ZKOPY4WW.js} +60 -4
- package/dist/chunk-ZKOPY4WW.js.map +1 -0
- package/dist/{cli-DsyVvOFP.d.ts → cli-CTgFjmDs.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +5 -5
- package/dist/compounding/engine.js +2 -2
- package/dist/config.js +2 -2
- package/dist/external-wiki-access.d.ts +1 -1
- package/dist/external-wiki-mcp-tools.d.ts +1 -1
- package/dist/index.d.ts +682 -682
- package/dist/index.js +9 -9
- package/dist/mcp-memory-inspector-app.d.ts +1 -1
- package/dist/operator-toolkit.js +3 -3
- package/dist/orchestrator.js +9 -9
- package/dist/{public-http-m9x1Qyzn.d.ts → public-http-CEwDOGO7.d.ts} +1 -1
- package/dist/resume-bundles.js +3 -3
- package/dist/schemas.d.ts +138 -138
- package/dist/shared-context/manager.d.ts +11 -11
- package/dist/shared-context/manager.js +2 -1
- package/dist/support-passport/index.d.ts +4 -4
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/orchestration/recall-internal.ts +3 -3
- package/src/shared-context/manager.ts +21 -6
- package/src/wearables/redaction.test.ts +44 -0
- package/src/wearables/text-language.ts +91 -23
- package/dist/chunk-ER4BLWI6.js.map +0 -1
- package/dist/chunk-HVP33QVW.js.map +0 -1
- package/dist/chunk-PFPNUFKZ.js.map +0 -1
- package/dist/{access-service-BQkRul4d.d.ts → access-service-BogiG4Dy.d.ts} +64 -64
- /package/dist/{auto-sync-5HVRCMGZ.js.map → auto-sync-FMWQQB3J.js.map} +0 -0
- /package/dist/{chunk-EWL5DICB.js.map → chunk-2HGV44MM.js.map} +0 -0
- /package/dist/{chunk-4IIKJOYM.js.map → chunk-DSA47WBN.js.map} +0 -0
- /package/dist/{chunk-RXN7Z2V5.js.map → chunk-FQSDU634.js.map} +0 -0
- /package/dist/{chunk-RL3EGL7A.js.map → chunk-JGW2EUCQ.js.map} +0 -0
- /package/dist/{chunk-B4CSPFYN.js.map → chunk-VUJN44CT.js.map} +0 -0
- /package/dist/{chunk-CZGOLAEW.js.map → chunk-XU4OLEYW.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -30,8 +30,8 @@ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAcc
|
|
|
30
30
|
import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
|
|
31
31
|
export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
32
32
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
33
|
-
import { f as EngramAccessService } from './access-service-
|
|
34
|
-
export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-
|
|
33
|
+
import { f as EngramAccessService } from './access-service-BogiG4Dy.js';
|
|
34
|
+
export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-BogiG4Dy.js';
|
|
35
35
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
36
36
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
37
37
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -49,13 +49,13 @@ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
|
|
|
49
49
|
export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
|
|
50
50
|
export { storagePathHash } from './storage-paths.js';
|
|
51
51
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
52
|
-
export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-
|
|
52
|
+
export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-CTgFjmDs.js';
|
|
53
53
|
export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
|
|
54
54
|
export { EngramMcpServer } from './access-mcp.js';
|
|
55
55
|
import { BoundOperation } from './access-boundary.js';
|
|
56
56
|
export { OPERATION_NAMES, OperationName } from './access-boundary.js';
|
|
57
57
|
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';
|
|
58
|
-
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-
|
|
58
|
+
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-CEwDOGO7.js';
|
|
59
59
|
import { z } from 'zod';
|
|
60
60
|
export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
|
|
61
61
|
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';
|
|
@@ -949,15 +949,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
949
949
|
locator: z.ZodOptional<z.ZodString>;
|
|
950
950
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
951
951
|
}, "strict", z.ZodTypeAny, {
|
|
952
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
953
|
-
label: string;
|
|
954
952
|
id: string;
|
|
953
|
+
label: string;
|
|
954
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
955
955
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
956
956
|
locator?: string | undefined;
|
|
957
957
|
}, {
|
|
958
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
959
|
-
label: string;
|
|
960
958
|
id: string;
|
|
959
|
+
label: string;
|
|
960
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
961
961
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
962
962
|
locator?: string | undefined;
|
|
963
963
|
}>;
|
|
@@ -974,15 +974,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
974
974
|
locator: z.ZodOptional<z.ZodString>;
|
|
975
975
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
976
976
|
}, "strict", z.ZodTypeAny, {
|
|
977
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
978
|
-
label: string;
|
|
979
977
|
id: string;
|
|
978
|
+
label: string;
|
|
979
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
980
980
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
981
981
|
locator?: string | undefined;
|
|
982
982
|
}, {
|
|
983
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
984
|
-
label: string;
|
|
985
983
|
id: string;
|
|
984
|
+
label: string;
|
|
985
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
986
986
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
987
987
|
locator?: string | undefined;
|
|
988
988
|
}>, "many">>;
|
|
@@ -990,9 +990,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
990
990
|
kind: "mission_started";
|
|
991
991
|
title: string;
|
|
992
992
|
evidence: {
|
|
993
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
994
|
-
label: string;
|
|
995
993
|
id: string;
|
|
994
|
+
label: string;
|
|
995
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
996
996
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
997
997
|
locator?: string | undefined;
|
|
998
998
|
}[];
|
|
@@ -1004,9 +1004,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1004
1004
|
objective: string;
|
|
1005
1005
|
runMode: "replay" | "fixture" | "live";
|
|
1006
1006
|
evidence?: {
|
|
1007
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1008
|
-
label: string;
|
|
1009
1007
|
id: string;
|
|
1008
|
+
label: string;
|
|
1009
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1010
1010
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1011
1011
|
locator?: string | undefined;
|
|
1012
1012
|
}[] | undefined;
|
|
@@ -1022,15 +1022,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1022
1022
|
locator: z.ZodOptional<z.ZodString>;
|
|
1023
1023
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1024
1024
|
}, "strict", z.ZodTypeAny, {
|
|
1025
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1026
|
-
label: string;
|
|
1027
1025
|
id: string;
|
|
1026
|
+
label: string;
|
|
1027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1028
1028
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1029
1029
|
locator?: string | undefined;
|
|
1030
1030
|
}, {
|
|
1031
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1032
|
-
label: string;
|
|
1033
1031
|
id: string;
|
|
1032
|
+
label: string;
|
|
1033
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1034
1034
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1035
1035
|
locator?: string | undefined;
|
|
1036
1036
|
}>, "many">>;
|
|
@@ -1038,32 +1038,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1038
1038
|
sessionId: z.ZodString;
|
|
1039
1039
|
kind: z.ZodLiteral<"agent_status">;
|
|
1040
1040
|
}, "strict", z.ZodTypeAny, {
|
|
1041
|
-
kind: "agent_status";
|
|
1042
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1043
1041
|
label: string;
|
|
1042
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1043
|
+
kind: "agent_status";
|
|
1044
1044
|
role: string;
|
|
1045
1045
|
agentId: string;
|
|
1046
1046
|
sessionId: string;
|
|
1047
1047
|
evidence: {
|
|
1048
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1049
|
-
label: string;
|
|
1050
1048
|
id: string;
|
|
1049
|
+
label: string;
|
|
1050
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1051
1051
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1052
1052
|
locator?: string | undefined;
|
|
1053
1053
|
}[];
|
|
1054
1054
|
detail?: string | undefined;
|
|
1055
1055
|
}, {
|
|
1056
|
-
kind: "agent_status";
|
|
1057
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1058
1056
|
label: string;
|
|
1057
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1058
|
+
kind: "agent_status";
|
|
1059
1059
|
role: string;
|
|
1060
1060
|
agentId: string;
|
|
1061
1061
|
sessionId: string;
|
|
1062
1062
|
detail?: string | undefined;
|
|
1063
1063
|
evidence?: {
|
|
1064
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1065
|
-
label: string;
|
|
1066
1064
|
id: string;
|
|
1065
|
+
label: string;
|
|
1066
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1067
1067
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1068
1068
|
locator?: string | undefined;
|
|
1069
1069
|
}[] | undefined;
|
|
@@ -1077,15 +1077,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1077
1077
|
locator: z.ZodOptional<z.ZodString>;
|
|
1078
1078
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1079
1079
|
}, "strict", z.ZodTypeAny, {
|
|
1080
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1081
|
-
label: string;
|
|
1082
1080
|
id: string;
|
|
1081
|
+
label: string;
|
|
1082
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1083
1083
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1084
1084
|
locator?: string | undefined;
|
|
1085
1085
|
}, {
|
|
1086
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1087
|
-
label: string;
|
|
1088
1086
|
id: string;
|
|
1087
|
+
label: string;
|
|
1088
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1089
1089
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1090
1090
|
locator?: string | undefined;
|
|
1091
1091
|
}>, "many">>;
|
|
@@ -1093,28 +1093,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1093
1093
|
sessionId: z.ZodString;
|
|
1094
1094
|
kind: z.ZodLiteral<"agent_output">;
|
|
1095
1095
|
}, "strict", z.ZodTypeAny, {
|
|
1096
|
-
kind: "agent_output";
|
|
1097
1096
|
summary: string;
|
|
1097
|
+
kind: "agent_output";
|
|
1098
1098
|
agentId: string;
|
|
1099
1099
|
sessionId: string;
|
|
1100
1100
|
evidence: {
|
|
1101
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1102
|
-
label: string;
|
|
1103
1101
|
id: string;
|
|
1102
|
+
label: string;
|
|
1103
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1104
1104
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1105
1105
|
locator?: string | undefined;
|
|
1106
1106
|
}[];
|
|
1107
1107
|
outputId: string;
|
|
1108
1108
|
}, {
|
|
1109
|
-
kind: "agent_output";
|
|
1110
1109
|
summary: string;
|
|
1110
|
+
kind: "agent_output";
|
|
1111
1111
|
agentId: string;
|
|
1112
1112
|
sessionId: string;
|
|
1113
1113
|
outputId: string;
|
|
1114
1114
|
evidence?: {
|
|
1115
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1116
|
-
label: string;
|
|
1117
1115
|
id: string;
|
|
1116
|
+
label: string;
|
|
1117
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1118
1118
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1119
1119
|
locator?: string | undefined;
|
|
1120
1120
|
}[] | undefined;
|
|
@@ -1130,15 +1130,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1130
1130
|
locator: z.ZodOptional<z.ZodString>;
|
|
1131
1131
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1132
1132
|
}, "strict", z.ZodTypeAny, {
|
|
1133
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1134
|
-
label: string;
|
|
1135
1133
|
id: string;
|
|
1134
|
+
label: string;
|
|
1135
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1136
1136
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1137
1137
|
locator?: string | undefined;
|
|
1138
1138
|
}, {
|
|
1139
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1140
|
-
label: string;
|
|
1141
1139
|
id: string;
|
|
1140
|
+
label: string;
|
|
1141
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1142
1142
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1143
1143
|
locator?: string | undefined;
|
|
1144
1144
|
}>, "many">>;
|
|
@@ -1151,9 +1151,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1151
1151
|
statement: string;
|
|
1152
1152
|
sessionId: string;
|
|
1153
1153
|
evidence: {
|
|
1154
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1155
|
-
label: string;
|
|
1156
1154
|
id: string;
|
|
1155
|
+
label: string;
|
|
1156
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1157
1157
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1158
1158
|
locator?: string | undefined;
|
|
1159
1159
|
}[];
|
|
@@ -1169,9 +1169,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1169
1169
|
decisionId: string;
|
|
1170
1170
|
confidence?: number | undefined;
|
|
1171
1171
|
evidence?: {
|
|
1172
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1173
|
-
label: string;
|
|
1174
1172
|
id: string;
|
|
1173
|
+
label: string;
|
|
1174
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1175
1175
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1176
1176
|
locator?: string | undefined;
|
|
1177
1177
|
}[] | undefined;
|
|
@@ -1188,25 +1188,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1188
1188
|
locator: z.ZodOptional<z.ZodString>;
|
|
1189
1189
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1190
1190
|
}, "strict", z.ZodTypeAny, {
|
|
1191
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1192
|
-
label: string;
|
|
1193
1191
|
id: string;
|
|
1192
|
+
label: string;
|
|
1193
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1194
1194
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1195
1195
|
locator?: string | undefined;
|
|
1196
1196
|
}, {
|
|
1197
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1198
|
-
label: string;
|
|
1199
1197
|
id: string;
|
|
1198
|
+
label: string;
|
|
1199
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1200
1200
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1201
1201
|
locator?: string | undefined;
|
|
1202
1202
|
}>, "many">>;
|
|
1203
1203
|
}, "strict", z.ZodTypeAny, {
|
|
1204
|
-
kind: "conflict_detected";
|
|
1205
1204
|
summary: string;
|
|
1205
|
+
kind: "conflict_detected";
|
|
1206
1206
|
evidence: {
|
|
1207
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1208
|
-
label: string;
|
|
1209
1207
|
id: string;
|
|
1208
|
+
label: string;
|
|
1209
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1210
1210
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1211
1211
|
locator?: string | undefined;
|
|
1212
1212
|
}[];
|
|
@@ -1214,15 +1214,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1214
1214
|
decisionIds: string[];
|
|
1215
1215
|
agentIds: string[];
|
|
1216
1216
|
}, {
|
|
1217
|
-
kind: "conflict_detected";
|
|
1218
1217
|
summary: string;
|
|
1218
|
+
kind: "conflict_detected";
|
|
1219
1219
|
conflictId: string;
|
|
1220
1220
|
decisionIds: string[];
|
|
1221
1221
|
agentIds: string[];
|
|
1222
1222
|
evidence?: {
|
|
1223
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1224
|
-
label: string;
|
|
1225
1223
|
id: string;
|
|
1224
|
+
label: string;
|
|
1225
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1226
1226
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1227
1227
|
locator?: string | undefined;
|
|
1228
1228
|
}[] | undefined;
|
|
@@ -1242,27 +1242,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1242
1242
|
locator: z.ZodOptional<z.ZodString>;
|
|
1243
1243
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1244
1244
|
}, "strict", z.ZodTypeAny, {
|
|
1245
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1246
|
-
label: string;
|
|
1247
1245
|
id: string;
|
|
1246
|
+
label: string;
|
|
1247
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1248
1248
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1249
1249
|
locator?: string | undefined;
|
|
1250
1250
|
}, {
|
|
1251
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1252
|
-
label: string;
|
|
1253
1251
|
id: string;
|
|
1252
|
+
label: string;
|
|
1253
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1254
1254
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1255
1255
|
locator?: string | undefined;
|
|
1256
1256
|
}>, "many">>;
|
|
1257
1257
|
}, "strict", z.ZodTypeAny, {
|
|
1258
|
-
kind: "test_result";
|
|
1259
1258
|
summary: string;
|
|
1260
1259
|
status: "error" | "failed" | "passed";
|
|
1260
|
+
kind: "test_result";
|
|
1261
1261
|
command: string;
|
|
1262
1262
|
evidence: {
|
|
1263
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1264
|
-
label: string;
|
|
1265
1263
|
id: string;
|
|
1264
|
+
label: string;
|
|
1265
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1266
1266
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1267
1267
|
locator?: string | undefined;
|
|
1268
1268
|
}[];
|
|
@@ -1271,17 +1271,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1271
1271
|
durationMs?: number | undefined;
|
|
1272
1272
|
correctionId?: string | undefined;
|
|
1273
1273
|
}, {
|
|
1274
|
-
kind: "test_result";
|
|
1275
1274
|
summary: string;
|
|
1276
1275
|
status: "error" | "failed" | "passed";
|
|
1276
|
+
kind: "test_result";
|
|
1277
1277
|
command: string;
|
|
1278
1278
|
decisionId: string;
|
|
1279
1279
|
testId: string;
|
|
1280
1280
|
durationMs?: number | undefined;
|
|
1281
1281
|
evidence?: {
|
|
1282
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1283
|
-
label: string;
|
|
1284
1282
|
id: string;
|
|
1283
|
+
label: string;
|
|
1284
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1285
1285
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1286
1286
|
locator?: string | undefined;
|
|
1287
1287
|
}[] | undefined;
|
|
@@ -1302,15 +1302,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1302
1302
|
locator: z.ZodOptional<z.ZodString>;
|
|
1303
1303
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1304
1304
|
}, "strict", z.ZodTypeAny, {
|
|
1305
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1306
|
-
label: string;
|
|
1307
1305
|
id: string;
|
|
1306
|
+
label: string;
|
|
1307
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1308
1308
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1309
1309
|
locator?: string | undefined;
|
|
1310
1310
|
}, {
|
|
1311
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1312
|
-
label: string;
|
|
1313
1311
|
id: string;
|
|
1312
|
+
label: string;
|
|
1313
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1314
1314
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1315
1315
|
locator?: string | undefined;
|
|
1316
1316
|
}>, "many">>;
|
|
@@ -1319,9 +1319,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1319
1319
|
statement: string;
|
|
1320
1320
|
rationale: string;
|
|
1321
1321
|
evidence: {
|
|
1322
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1323
|
-
label: string;
|
|
1324
1322
|
id: string;
|
|
1323
|
+
label: string;
|
|
1324
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1325
1325
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1326
1326
|
locator?: string | undefined;
|
|
1327
1327
|
}[];
|
|
@@ -1340,9 +1340,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1340
1340
|
supersedesDecisionIds: string[];
|
|
1341
1341
|
proposedBy: string;
|
|
1342
1342
|
evidence?: {
|
|
1343
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1344
|
-
label: string;
|
|
1345
1343
|
id: string;
|
|
1344
|
+
label: string;
|
|
1345
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1346
1346
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1347
1347
|
locator?: string | undefined;
|
|
1348
1348
|
}[] | undefined;
|
|
@@ -1354,13 +1354,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1354
1354
|
id: z.ZodString;
|
|
1355
1355
|
label: z.ZodString;
|
|
1356
1356
|
}, "strict", z.ZodTypeAny, {
|
|
1357
|
-
kind: "agent" | "human";
|
|
1358
|
-
label: string;
|
|
1359
1357
|
id: string;
|
|
1360
|
-
}, {
|
|
1361
|
-
kind: "agent" | "human";
|
|
1362
1358
|
label: string;
|
|
1359
|
+
kind: "agent" | "human";
|
|
1360
|
+
}, {
|
|
1363
1361
|
id: string;
|
|
1362
|
+
label: string;
|
|
1363
|
+
kind: "agent" | "human";
|
|
1364
1364
|
}>;
|
|
1365
1365
|
note: z.ZodOptional<z.ZodString>;
|
|
1366
1366
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1370,47 +1370,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1370
1370
|
locator: z.ZodOptional<z.ZodString>;
|
|
1371
1371
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1372
1372
|
}, "strict", z.ZodTypeAny, {
|
|
1373
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1374
|
-
label: string;
|
|
1375
1373
|
id: string;
|
|
1374
|
+
label: string;
|
|
1375
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1376
1376
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1377
1377
|
locator?: string | undefined;
|
|
1378
1378
|
}, {
|
|
1379
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1380
|
-
label: string;
|
|
1381
1379
|
id: string;
|
|
1380
|
+
label: string;
|
|
1381
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1382
1382
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1383
1383
|
locator?: string | undefined;
|
|
1384
1384
|
}>, "many">>;
|
|
1385
1385
|
}, "strict", z.ZodTypeAny, {
|
|
1386
1386
|
kind: "correction_approved";
|
|
1387
1387
|
evidence: {
|
|
1388
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1389
|
-
label: string;
|
|
1390
1388
|
id: string;
|
|
1389
|
+
label: string;
|
|
1390
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1391
1391
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1392
1392
|
locator?: string | undefined;
|
|
1393
1393
|
}[];
|
|
1394
1394
|
correctionId: string;
|
|
1395
1395
|
approvedBy: {
|
|
1396
|
-
kind: "agent" | "human";
|
|
1397
|
-
label: string;
|
|
1398
1396
|
id: string;
|
|
1397
|
+
label: string;
|
|
1398
|
+
kind: "agent" | "human";
|
|
1399
1399
|
};
|
|
1400
1400
|
note?: string | undefined;
|
|
1401
1401
|
}, {
|
|
1402
1402
|
kind: "correction_approved";
|
|
1403
1403
|
correctionId: string;
|
|
1404
1404
|
approvedBy: {
|
|
1405
|
-
kind: "agent" | "human";
|
|
1406
|
-
label: string;
|
|
1407
1405
|
id: string;
|
|
1406
|
+
label: string;
|
|
1407
|
+
kind: "agent" | "human";
|
|
1408
1408
|
};
|
|
1409
1409
|
note?: string | undefined;
|
|
1410
1410
|
evidence?: {
|
|
1411
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1412
|
-
label: string;
|
|
1413
1411
|
id: string;
|
|
1412
|
+
label: string;
|
|
1413
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1414
1414
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1415
1415
|
locator?: string | undefined;
|
|
1416
1416
|
}[] | undefined;
|
|
@@ -1426,24 +1426,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1426
1426
|
locator: z.ZodOptional<z.ZodString>;
|
|
1427
1427
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1428
1428
|
}, "strict", z.ZodTypeAny, {
|
|
1429
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1430
|
-
label: string;
|
|
1431
1429
|
id: string;
|
|
1430
|
+
label: string;
|
|
1431
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1432
1432
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1433
1433
|
locator?: string | undefined;
|
|
1434
1434
|
}, {
|
|
1435
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1436
|
-
label: string;
|
|
1437
1435
|
id: string;
|
|
1436
|
+
label: string;
|
|
1437
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1438
1438
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1439
1439
|
locator?: string | undefined;
|
|
1440
1440
|
}>, "many">>;
|
|
1441
1441
|
}, "strict", z.ZodTypeAny, {
|
|
1442
1442
|
kind: "decision_superseded";
|
|
1443
1443
|
evidence: {
|
|
1444
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1445
|
-
label: string;
|
|
1446
1444
|
id: string;
|
|
1445
|
+
label: string;
|
|
1446
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1447
1447
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1448
1448
|
locator?: string | undefined;
|
|
1449
1449
|
}[];
|
|
@@ -1456,9 +1456,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1456
1456
|
correctionId: string;
|
|
1457
1457
|
replacementDecisionId: string;
|
|
1458
1458
|
evidence?: {
|
|
1459
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1460
|
-
label: string;
|
|
1461
1459
|
id: string;
|
|
1460
|
+
label: string;
|
|
1461
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1462
1462
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1463
1463
|
locator?: string | undefined;
|
|
1464
1464
|
}[] | undefined;
|
|
@@ -1474,15 +1474,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1474
1474
|
locator: z.ZodOptional<z.ZodString>;
|
|
1475
1475
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1476
1476
|
}, "strict", z.ZodTypeAny, {
|
|
1477
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1478
|
-
label: string;
|
|
1479
1477
|
id: string;
|
|
1478
|
+
label: string;
|
|
1479
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1480
1480
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1481
1481
|
locator?: string | undefined;
|
|
1482
1482
|
}, {
|
|
1483
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1484
|
-
label: string;
|
|
1485
1483
|
id: string;
|
|
1484
|
+
label: string;
|
|
1485
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1486
1486
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1487
1487
|
locator?: string | undefined;
|
|
1488
1488
|
}>, "many">>;
|
|
@@ -1495,9 +1495,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1495
1495
|
agentId: string;
|
|
1496
1496
|
sessionId: string;
|
|
1497
1497
|
evidence: {
|
|
1498
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1499
|
-
label: string;
|
|
1500
1498
|
id: string;
|
|
1499
|
+
label: string;
|
|
1500
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1501
1501
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1502
1502
|
locator?: string | undefined;
|
|
1503
1503
|
}[];
|
|
@@ -1513,9 +1513,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1513
1513
|
recallReceiptId: string;
|
|
1514
1514
|
capturedAtAction: boolean;
|
|
1515
1515
|
evidence?: {
|
|
1516
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1517
|
-
label: string;
|
|
1518
1516
|
id: string;
|
|
1517
|
+
label: string;
|
|
1518
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1519
1519
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1520
1520
|
locator?: string | undefined;
|
|
1521
1521
|
}[] | undefined;
|
|
@@ -1531,15 +1531,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1531
1531
|
locator: z.ZodOptional<z.ZodString>;
|
|
1532
1532
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1533
1533
|
}, "strict", z.ZodTypeAny, {
|
|
1534
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1535
|
-
label: string;
|
|
1536
1534
|
id: string;
|
|
1535
|
+
label: string;
|
|
1536
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1537
1537
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1538
1538
|
locator?: string | undefined;
|
|
1539
1539
|
}, {
|
|
1540
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1541
|
-
label: string;
|
|
1542
1540
|
id: string;
|
|
1541
|
+
label: string;
|
|
1542
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1543
1543
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1544
1544
|
locator?: string | undefined;
|
|
1545
1545
|
}>, "many">>;
|
|
@@ -1551,9 +1551,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1551
1551
|
agentId: string;
|
|
1552
1552
|
sessionId: string;
|
|
1553
1553
|
evidence: {
|
|
1554
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1555
|
-
label: string;
|
|
1556
1554
|
id: string;
|
|
1555
|
+
label: string;
|
|
1556
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1557
1557
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1558
1558
|
locator?: string | undefined;
|
|
1559
1559
|
}[];
|
|
@@ -1570,9 +1570,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1570
1570
|
recallReceiptId: string;
|
|
1571
1571
|
staleDecisionAbsent: boolean;
|
|
1572
1572
|
evidence?: {
|
|
1573
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1574
|
-
label: string;
|
|
1575
1573
|
id: string;
|
|
1574
|
+
label: string;
|
|
1575
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1576
1576
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1577
1577
|
locator?: string | undefined;
|
|
1578
1578
|
}[] | undefined;
|
|
@@ -1587,37 +1587,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1587
1587
|
locator: z.ZodOptional<z.ZodString>;
|
|
1588
1588
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1589
1589
|
}, "strict", z.ZodTypeAny, {
|
|
1590
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1591
|
-
label: string;
|
|
1592
1590
|
id: string;
|
|
1591
|
+
label: string;
|
|
1592
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1593
1593
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1594
1594
|
locator?: string | undefined;
|
|
1595
1595
|
}, {
|
|
1596
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1597
|
-
label: string;
|
|
1598
1596
|
id: string;
|
|
1597
|
+
label: string;
|
|
1598
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1599
1599
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1600
1600
|
locator?: string | undefined;
|
|
1601
1601
|
}>, "many">>;
|
|
1602
1602
|
}, "strict", z.ZodTypeAny, {
|
|
1603
|
-
kind: "mission_completed";
|
|
1604
1603
|
summary: string;
|
|
1604
|
+
kind: "mission_completed";
|
|
1605
1605
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1606
1606
|
evidence: {
|
|
1607
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1608
|
-
label: string;
|
|
1609
1607
|
id: string;
|
|
1608
|
+
label: string;
|
|
1609
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1610
1610
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1611
1611
|
locator?: string | undefined;
|
|
1612
1612
|
}[];
|
|
1613
1613
|
}, {
|
|
1614
|
-
kind: "mission_completed";
|
|
1615
1614
|
summary: string;
|
|
1615
|
+
kind: "mission_completed";
|
|
1616
1616
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1617
1617
|
evidence?: {
|
|
1618
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1619
|
-
label: string;
|
|
1620
1618
|
id: string;
|
|
1619
|
+
label: string;
|
|
1620
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1621
1621
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1622
1622
|
locator?: string | undefined;
|
|
1623
1623
|
}[] | undefined;
|
|
@@ -1625,38 +1625,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1625
1625
|
kind: "mission_started";
|
|
1626
1626
|
title: string;
|
|
1627
1627
|
evidence: {
|
|
1628
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1629
|
-
label: string;
|
|
1630
1628
|
id: string;
|
|
1629
|
+
label: string;
|
|
1630
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1631
1631
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1632
1632
|
locator?: string | undefined;
|
|
1633
1633
|
}[];
|
|
1634
1634
|
objective: string;
|
|
1635
1635
|
runMode: "replay" | "fixture" | "live";
|
|
1636
1636
|
} | {
|
|
1637
|
-
kind: "agent_status";
|
|
1638
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1639
1637
|
label: string;
|
|
1638
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1639
|
+
kind: "agent_status";
|
|
1640
1640
|
role: string;
|
|
1641
1641
|
agentId: string;
|
|
1642
1642
|
sessionId: string;
|
|
1643
1643
|
evidence: {
|
|
1644
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1645
|
-
label: string;
|
|
1646
1644
|
id: string;
|
|
1645
|
+
label: string;
|
|
1646
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1647
1647
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1648
1648
|
locator?: string | undefined;
|
|
1649
1649
|
}[];
|
|
1650
1650
|
detail?: string | undefined;
|
|
1651
1651
|
} | {
|
|
1652
|
-
kind: "agent_output";
|
|
1653
1652
|
summary: string;
|
|
1653
|
+
kind: "agent_output";
|
|
1654
1654
|
agentId: string;
|
|
1655
1655
|
sessionId: string;
|
|
1656
1656
|
evidence: {
|
|
1657
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1658
|
-
label: string;
|
|
1659
1657
|
id: string;
|
|
1658
|
+
label: string;
|
|
1659
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1660
1660
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1661
1661
|
locator?: string | undefined;
|
|
1662
1662
|
}[];
|
|
@@ -1667,9 +1667,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1667
1667
|
statement: string;
|
|
1668
1668
|
sessionId: string;
|
|
1669
1669
|
evidence: {
|
|
1670
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1671
|
-
label: string;
|
|
1672
1670
|
id: string;
|
|
1671
|
+
label: string;
|
|
1672
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1673
1673
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1674
1674
|
locator?: string | undefined;
|
|
1675
1675
|
}[];
|
|
@@ -1677,12 +1677,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1677
1677
|
decisionId: string;
|
|
1678
1678
|
confidence?: number | undefined;
|
|
1679
1679
|
} | {
|
|
1680
|
-
kind: "conflict_detected";
|
|
1681
1680
|
summary: string;
|
|
1681
|
+
kind: "conflict_detected";
|
|
1682
1682
|
evidence: {
|
|
1683
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1684
|
-
label: string;
|
|
1685
1683
|
id: string;
|
|
1684
|
+
label: string;
|
|
1685
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1686
1686
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1687
1687
|
locator?: string | undefined;
|
|
1688
1688
|
}[];
|
|
@@ -1690,14 +1690,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1690
1690
|
decisionIds: string[];
|
|
1691
1691
|
agentIds: string[];
|
|
1692
1692
|
} | {
|
|
1693
|
-
kind: "test_result";
|
|
1694
1693
|
summary: string;
|
|
1695
1694
|
status: "error" | "failed" | "passed";
|
|
1695
|
+
kind: "test_result";
|
|
1696
1696
|
command: string;
|
|
1697
1697
|
evidence: {
|
|
1698
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1699
|
-
label: string;
|
|
1700
1698
|
id: string;
|
|
1699
|
+
label: string;
|
|
1700
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1701
1701
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1702
1702
|
locator?: string | undefined;
|
|
1703
1703
|
}[];
|
|
@@ -1710,9 +1710,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1710
1710
|
statement: string;
|
|
1711
1711
|
rationale: string;
|
|
1712
1712
|
evidence: {
|
|
1713
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1714
|
-
label: string;
|
|
1715
1713
|
id: string;
|
|
1714
|
+
label: string;
|
|
1715
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1716
1716
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1717
1717
|
locator?: string | undefined;
|
|
1718
1718
|
}[];
|
|
@@ -1724,25 +1724,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1724
1724
|
} | {
|
|
1725
1725
|
kind: "correction_approved";
|
|
1726
1726
|
evidence: {
|
|
1727
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1728
|
-
label: string;
|
|
1729
1727
|
id: string;
|
|
1728
|
+
label: string;
|
|
1729
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1730
1730
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1731
1731
|
locator?: string | undefined;
|
|
1732
1732
|
}[];
|
|
1733
1733
|
correctionId: string;
|
|
1734
1734
|
approvedBy: {
|
|
1735
|
-
kind: "agent" | "human";
|
|
1736
|
-
label: string;
|
|
1737
1735
|
id: string;
|
|
1736
|
+
label: string;
|
|
1737
|
+
kind: "agent" | "human";
|
|
1738
1738
|
};
|
|
1739
1739
|
note?: string | undefined;
|
|
1740
1740
|
} | {
|
|
1741
1741
|
kind: "decision_superseded";
|
|
1742
1742
|
evidence: {
|
|
1743
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1744
|
-
label: string;
|
|
1745
1743
|
id: string;
|
|
1744
|
+
label: string;
|
|
1745
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1746
1746
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1747
1747
|
locator?: string | undefined;
|
|
1748
1748
|
}[];
|
|
@@ -1755,9 +1755,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1755
1755
|
agentId: string;
|
|
1756
1756
|
sessionId: string;
|
|
1757
1757
|
evidence: {
|
|
1758
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1759
|
-
label: string;
|
|
1760
1758
|
id: string;
|
|
1759
|
+
label: string;
|
|
1760
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1761
1761
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1762
1762
|
locator?: string | undefined;
|
|
1763
1763
|
}[];
|
|
@@ -1769,9 +1769,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1769
1769
|
agentId: string;
|
|
1770
1770
|
sessionId: string;
|
|
1771
1771
|
evidence: {
|
|
1772
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1773
|
-
label: string;
|
|
1774
1772
|
id: string;
|
|
1773
|
+
label: string;
|
|
1774
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1775
1775
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1776
1776
|
locator?: string | undefined;
|
|
1777
1777
|
}[];
|
|
@@ -1780,13 +1780,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1780
1780
|
recallReceiptId: string;
|
|
1781
1781
|
staleDecisionAbsent: boolean;
|
|
1782
1782
|
} | {
|
|
1783
|
-
kind: "mission_completed";
|
|
1784
1783
|
summary: string;
|
|
1784
|
+
kind: "mission_completed";
|
|
1785
1785
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1786
1786
|
evidence: {
|
|
1787
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1788
|
-
label: string;
|
|
1789
1787
|
id: string;
|
|
1788
|
+
label: string;
|
|
1789
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1790
1790
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1791
1791
|
locator?: string | undefined;
|
|
1792
1792
|
}[];
|
|
@@ -1796,37 +1796,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1796
1796
|
objective: string;
|
|
1797
1797
|
runMode: "replay" | "fixture" | "live";
|
|
1798
1798
|
evidence?: {
|
|
1799
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1800
|
-
label: string;
|
|
1801
1799
|
id: string;
|
|
1800
|
+
label: string;
|
|
1801
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1802
1802
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1803
1803
|
locator?: string | undefined;
|
|
1804
1804
|
}[] | undefined;
|
|
1805
1805
|
} | {
|
|
1806
|
-
kind: "agent_status";
|
|
1807
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1808
1806
|
label: string;
|
|
1807
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1808
|
+
kind: "agent_status";
|
|
1809
1809
|
role: string;
|
|
1810
1810
|
agentId: string;
|
|
1811
1811
|
sessionId: string;
|
|
1812
1812
|
detail?: string | undefined;
|
|
1813
1813
|
evidence?: {
|
|
1814
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1815
|
-
label: string;
|
|
1816
1814
|
id: string;
|
|
1815
|
+
label: string;
|
|
1816
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1817
1817
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1818
1818
|
locator?: string | undefined;
|
|
1819
1819
|
}[] | undefined;
|
|
1820
1820
|
} | {
|
|
1821
|
-
kind: "agent_output";
|
|
1822
1821
|
summary: string;
|
|
1822
|
+
kind: "agent_output";
|
|
1823
1823
|
agentId: string;
|
|
1824
1824
|
sessionId: string;
|
|
1825
1825
|
outputId: string;
|
|
1826
1826
|
evidence?: {
|
|
1827
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1828
|
-
label: string;
|
|
1829
1827
|
id: string;
|
|
1828
|
+
label: string;
|
|
1829
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1830
1830
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1831
1831
|
locator?: string | undefined;
|
|
1832
1832
|
}[] | undefined;
|
|
@@ -1839,37 +1839,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1839
1839
|
decisionId: string;
|
|
1840
1840
|
confidence?: number | undefined;
|
|
1841
1841
|
evidence?: {
|
|
1842
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1843
|
-
label: string;
|
|
1844
1842
|
id: string;
|
|
1843
|
+
label: string;
|
|
1844
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1845
1845
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1846
1846
|
locator?: string | undefined;
|
|
1847
1847
|
}[] | undefined;
|
|
1848
1848
|
} | {
|
|
1849
|
-
kind: "conflict_detected";
|
|
1850
1849
|
summary: string;
|
|
1850
|
+
kind: "conflict_detected";
|
|
1851
1851
|
conflictId: string;
|
|
1852
1852
|
decisionIds: string[];
|
|
1853
1853
|
agentIds: string[];
|
|
1854
1854
|
evidence?: {
|
|
1855
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1856
|
-
label: string;
|
|
1857
1855
|
id: string;
|
|
1856
|
+
label: string;
|
|
1857
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1858
1858
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1859
1859
|
locator?: string | undefined;
|
|
1860
1860
|
}[] | undefined;
|
|
1861
1861
|
} | {
|
|
1862
|
-
kind: "test_result";
|
|
1863
1862
|
summary: string;
|
|
1864
1863
|
status: "error" | "failed" | "passed";
|
|
1864
|
+
kind: "test_result";
|
|
1865
1865
|
command: string;
|
|
1866
1866
|
decisionId: string;
|
|
1867
1867
|
testId: string;
|
|
1868
1868
|
durationMs?: number | undefined;
|
|
1869
1869
|
evidence?: {
|
|
1870
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1871
|
-
label: string;
|
|
1872
1870
|
id: string;
|
|
1871
|
+
label: string;
|
|
1872
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1873
1873
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1874
1874
|
locator?: string | undefined;
|
|
1875
1875
|
}[] | undefined;
|
|
@@ -1884,9 +1884,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1884
1884
|
supersedesDecisionIds: string[];
|
|
1885
1885
|
proposedBy: string;
|
|
1886
1886
|
evidence?: {
|
|
1887
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1888
|
-
label: string;
|
|
1889
1887
|
id: string;
|
|
1888
|
+
label: string;
|
|
1889
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1890
1890
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1891
1891
|
locator?: string | undefined;
|
|
1892
1892
|
}[] | undefined;
|
|
@@ -1894,15 +1894,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1894
1894
|
kind: "correction_approved";
|
|
1895
1895
|
correctionId: string;
|
|
1896
1896
|
approvedBy: {
|
|
1897
|
-
kind: "agent" | "human";
|
|
1898
|
-
label: string;
|
|
1899
1897
|
id: string;
|
|
1898
|
+
label: string;
|
|
1899
|
+
kind: "agent" | "human";
|
|
1900
1900
|
};
|
|
1901
1901
|
note?: string | undefined;
|
|
1902
1902
|
evidence?: {
|
|
1903
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1904
|
-
label: string;
|
|
1905
1903
|
id: string;
|
|
1904
|
+
label: string;
|
|
1905
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1906
1906
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1907
1907
|
locator?: string | undefined;
|
|
1908
1908
|
}[] | undefined;
|
|
@@ -1912,9 +1912,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1912
1912
|
correctionId: string;
|
|
1913
1913
|
replacementDecisionId: string;
|
|
1914
1914
|
evidence?: {
|
|
1915
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1916
|
-
label: string;
|
|
1917
1915
|
id: string;
|
|
1916
|
+
label: string;
|
|
1917
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1918
1918
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1919
1919
|
locator?: string | undefined;
|
|
1920
1920
|
}[] | undefined;
|
|
@@ -1927,9 +1927,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1927
1927
|
recallReceiptId: string;
|
|
1928
1928
|
capturedAtAction: boolean;
|
|
1929
1929
|
evidence?: {
|
|
1930
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1931
|
-
label: string;
|
|
1932
1930
|
id: string;
|
|
1931
|
+
label: string;
|
|
1932
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1933
1933
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1934
1934
|
locator?: string | undefined;
|
|
1935
1935
|
}[] | undefined;
|
|
@@ -1942,20 +1942,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1942
1942
|
recallReceiptId: string;
|
|
1943
1943
|
staleDecisionAbsent: boolean;
|
|
1944
1944
|
evidence?: {
|
|
1945
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1946
|
-
label: string;
|
|
1947
1945
|
id: string;
|
|
1946
|
+
label: string;
|
|
1947
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1948
1948
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1949
1949
|
locator?: string | undefined;
|
|
1950
1950
|
}[] | undefined;
|
|
1951
1951
|
} | {
|
|
1952
|
-
kind: "mission_completed";
|
|
1953
1952
|
summary: string;
|
|
1953
|
+
kind: "mission_completed";
|
|
1954
1954
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1955
1955
|
evidence?: {
|
|
1956
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1957
|
-
label: string;
|
|
1958
1956
|
id: string;
|
|
1957
|
+
label: string;
|
|
1958
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1959
1959
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1960
1960
|
locator?: string | undefined;
|
|
1961
1961
|
}[] | undefined;
|
|
@@ -1976,15 +1976,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1976
1976
|
locator: z.ZodOptional<z.ZodString>;
|
|
1977
1977
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1978
1978
|
}, "strict", z.ZodTypeAny, {
|
|
1979
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1980
|
-
label: string;
|
|
1981
1979
|
id: string;
|
|
1980
|
+
label: string;
|
|
1981
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1982
1982
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1983
1983
|
locator?: string | undefined;
|
|
1984
1984
|
}, {
|
|
1985
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1986
|
-
label: string;
|
|
1987
1985
|
id: string;
|
|
1986
|
+
label: string;
|
|
1987
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1988
1988
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1989
1989
|
locator?: string | undefined;
|
|
1990
1990
|
}>, "many">>;
|
|
@@ -1992,9 +1992,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1992
1992
|
kind: "mission_started";
|
|
1993
1993
|
title: string;
|
|
1994
1994
|
evidence: {
|
|
1995
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1996
|
-
label: string;
|
|
1997
1995
|
id: string;
|
|
1996
|
+
label: string;
|
|
1997
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1998
1998
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1999
1999
|
locator?: string | undefined;
|
|
2000
2000
|
}[];
|
|
@@ -2006,9 +2006,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2006
2006
|
objective: string;
|
|
2007
2007
|
runMode: "replay" | "fixture" | "live";
|
|
2008
2008
|
evidence?: {
|
|
2009
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2010
|
-
label: string;
|
|
2011
2009
|
id: string;
|
|
2010
|
+
label: string;
|
|
2011
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2012
2012
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2013
2013
|
locator?: string | undefined;
|
|
2014
2014
|
}[] | undefined;
|
|
@@ -2024,15 +2024,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2024
2024
|
locator: z.ZodOptional<z.ZodString>;
|
|
2025
2025
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2026
2026
|
}, "strict", z.ZodTypeAny, {
|
|
2027
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2028
|
-
label: string;
|
|
2029
2027
|
id: string;
|
|
2028
|
+
label: string;
|
|
2029
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2030
2030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2031
2031
|
locator?: string | undefined;
|
|
2032
2032
|
}, {
|
|
2033
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2034
|
-
label: string;
|
|
2035
2033
|
id: string;
|
|
2034
|
+
label: string;
|
|
2035
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2036
2036
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2037
2037
|
locator?: string | undefined;
|
|
2038
2038
|
}>, "many">>;
|
|
@@ -2040,32 +2040,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2040
2040
|
sessionId: z.ZodString;
|
|
2041
2041
|
kind: z.ZodLiteral<"agent_status">;
|
|
2042
2042
|
}, "strict", z.ZodTypeAny, {
|
|
2043
|
-
kind: "agent_status";
|
|
2044
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2045
2043
|
label: string;
|
|
2044
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2045
|
+
kind: "agent_status";
|
|
2046
2046
|
role: string;
|
|
2047
2047
|
agentId: string;
|
|
2048
2048
|
sessionId: string;
|
|
2049
2049
|
evidence: {
|
|
2050
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2051
|
-
label: string;
|
|
2052
2050
|
id: string;
|
|
2051
|
+
label: string;
|
|
2052
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2053
2053
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2054
2054
|
locator?: string | undefined;
|
|
2055
2055
|
}[];
|
|
2056
2056
|
detail?: string | undefined;
|
|
2057
2057
|
}, {
|
|
2058
|
-
kind: "agent_status";
|
|
2059
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2060
2058
|
label: string;
|
|
2059
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2060
|
+
kind: "agent_status";
|
|
2061
2061
|
role: string;
|
|
2062
2062
|
agentId: string;
|
|
2063
2063
|
sessionId: string;
|
|
2064
2064
|
detail?: string | undefined;
|
|
2065
2065
|
evidence?: {
|
|
2066
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2067
|
-
label: string;
|
|
2068
2066
|
id: string;
|
|
2067
|
+
label: string;
|
|
2068
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2069
2069
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2070
2070
|
locator?: string | undefined;
|
|
2071
2071
|
}[] | undefined;
|
|
@@ -2079,15 +2079,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2079
2079
|
locator: z.ZodOptional<z.ZodString>;
|
|
2080
2080
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2081
2081
|
}, "strict", z.ZodTypeAny, {
|
|
2082
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2083
|
-
label: string;
|
|
2084
2082
|
id: string;
|
|
2083
|
+
label: string;
|
|
2084
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2085
2085
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2086
2086
|
locator?: string | undefined;
|
|
2087
2087
|
}, {
|
|
2088
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2089
|
-
label: string;
|
|
2090
2088
|
id: string;
|
|
2089
|
+
label: string;
|
|
2090
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2091
2091
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2092
2092
|
locator?: string | undefined;
|
|
2093
2093
|
}>, "many">>;
|
|
@@ -2095,28 +2095,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2095
2095
|
sessionId: z.ZodString;
|
|
2096
2096
|
kind: z.ZodLiteral<"agent_output">;
|
|
2097
2097
|
}, "strict", z.ZodTypeAny, {
|
|
2098
|
-
kind: "agent_output";
|
|
2099
2098
|
summary: string;
|
|
2099
|
+
kind: "agent_output";
|
|
2100
2100
|
agentId: string;
|
|
2101
2101
|
sessionId: string;
|
|
2102
2102
|
evidence: {
|
|
2103
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2104
|
-
label: string;
|
|
2105
2103
|
id: string;
|
|
2104
|
+
label: string;
|
|
2105
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2106
2106
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2107
2107
|
locator?: string | undefined;
|
|
2108
2108
|
}[];
|
|
2109
2109
|
outputId: string;
|
|
2110
2110
|
}, {
|
|
2111
|
-
kind: "agent_output";
|
|
2112
2111
|
summary: string;
|
|
2112
|
+
kind: "agent_output";
|
|
2113
2113
|
agentId: string;
|
|
2114
2114
|
sessionId: string;
|
|
2115
2115
|
outputId: string;
|
|
2116
2116
|
evidence?: {
|
|
2117
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2118
|
-
label: string;
|
|
2119
2117
|
id: string;
|
|
2118
|
+
label: string;
|
|
2119
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2120
2120
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2121
2121
|
locator?: string | undefined;
|
|
2122
2122
|
}[] | undefined;
|
|
@@ -2132,15 +2132,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2132
2132
|
locator: z.ZodOptional<z.ZodString>;
|
|
2133
2133
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2134
2134
|
}, "strict", z.ZodTypeAny, {
|
|
2135
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2136
|
-
label: string;
|
|
2137
2135
|
id: string;
|
|
2136
|
+
label: string;
|
|
2137
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2138
2138
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2139
2139
|
locator?: string | undefined;
|
|
2140
2140
|
}, {
|
|
2141
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2142
|
-
label: string;
|
|
2143
2141
|
id: string;
|
|
2142
|
+
label: string;
|
|
2143
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2144
2144
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2145
2145
|
locator?: string | undefined;
|
|
2146
2146
|
}>, "many">>;
|
|
@@ -2153,9 +2153,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2153
2153
|
statement: string;
|
|
2154
2154
|
sessionId: string;
|
|
2155
2155
|
evidence: {
|
|
2156
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2157
|
-
label: string;
|
|
2158
2156
|
id: string;
|
|
2157
|
+
label: string;
|
|
2158
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2159
2159
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2160
2160
|
locator?: string | undefined;
|
|
2161
2161
|
}[];
|
|
@@ -2171,9 +2171,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2171
2171
|
decisionId: string;
|
|
2172
2172
|
confidence?: number | undefined;
|
|
2173
2173
|
evidence?: {
|
|
2174
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2175
|
-
label: string;
|
|
2176
2174
|
id: string;
|
|
2175
|
+
label: string;
|
|
2176
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2177
2177
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2178
2178
|
locator?: string | undefined;
|
|
2179
2179
|
}[] | undefined;
|
|
@@ -2190,25 +2190,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2190
2190
|
locator: z.ZodOptional<z.ZodString>;
|
|
2191
2191
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2192
2192
|
}, "strict", z.ZodTypeAny, {
|
|
2193
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2194
|
-
label: string;
|
|
2195
2193
|
id: string;
|
|
2194
|
+
label: string;
|
|
2195
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2196
2196
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2197
2197
|
locator?: string | undefined;
|
|
2198
2198
|
}, {
|
|
2199
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2200
|
-
label: string;
|
|
2201
2199
|
id: string;
|
|
2200
|
+
label: string;
|
|
2201
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2202
2202
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2203
2203
|
locator?: string | undefined;
|
|
2204
2204
|
}>, "many">>;
|
|
2205
2205
|
}, "strict", z.ZodTypeAny, {
|
|
2206
|
-
kind: "conflict_detected";
|
|
2207
2206
|
summary: string;
|
|
2207
|
+
kind: "conflict_detected";
|
|
2208
2208
|
evidence: {
|
|
2209
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2210
|
-
label: string;
|
|
2211
2209
|
id: string;
|
|
2210
|
+
label: string;
|
|
2211
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2212
2212
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2213
2213
|
locator?: string | undefined;
|
|
2214
2214
|
}[];
|
|
@@ -2216,15 +2216,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2216
2216
|
decisionIds: string[];
|
|
2217
2217
|
agentIds: string[];
|
|
2218
2218
|
}, {
|
|
2219
|
-
kind: "conflict_detected";
|
|
2220
2219
|
summary: string;
|
|
2220
|
+
kind: "conflict_detected";
|
|
2221
2221
|
conflictId: string;
|
|
2222
2222
|
decisionIds: string[];
|
|
2223
2223
|
agentIds: string[];
|
|
2224
2224
|
evidence?: {
|
|
2225
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2226
|
-
label: string;
|
|
2227
2225
|
id: string;
|
|
2226
|
+
label: string;
|
|
2227
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2228
2228
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2229
2229
|
locator?: string | undefined;
|
|
2230
2230
|
}[] | undefined;
|
|
@@ -2244,27 +2244,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2244
2244
|
locator: z.ZodOptional<z.ZodString>;
|
|
2245
2245
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2246
2246
|
}, "strict", z.ZodTypeAny, {
|
|
2247
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2248
|
-
label: string;
|
|
2249
2247
|
id: string;
|
|
2248
|
+
label: string;
|
|
2249
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2250
2250
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2251
2251
|
locator?: string | undefined;
|
|
2252
2252
|
}, {
|
|
2253
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2254
|
-
label: string;
|
|
2255
2253
|
id: string;
|
|
2254
|
+
label: string;
|
|
2255
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2256
2256
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2257
2257
|
locator?: string | undefined;
|
|
2258
2258
|
}>, "many">>;
|
|
2259
2259
|
}, "strict", z.ZodTypeAny, {
|
|
2260
|
-
kind: "test_result";
|
|
2261
2260
|
summary: string;
|
|
2262
2261
|
status: "error" | "failed" | "passed";
|
|
2262
|
+
kind: "test_result";
|
|
2263
2263
|
command: string;
|
|
2264
2264
|
evidence: {
|
|
2265
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2266
|
-
label: string;
|
|
2267
2265
|
id: string;
|
|
2266
|
+
label: string;
|
|
2267
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2268
2268
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2269
2269
|
locator?: string | undefined;
|
|
2270
2270
|
}[];
|
|
@@ -2273,17 +2273,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2273
2273
|
durationMs?: number | undefined;
|
|
2274
2274
|
correctionId?: string | undefined;
|
|
2275
2275
|
}, {
|
|
2276
|
-
kind: "test_result";
|
|
2277
2276
|
summary: string;
|
|
2278
2277
|
status: "error" | "failed" | "passed";
|
|
2278
|
+
kind: "test_result";
|
|
2279
2279
|
command: string;
|
|
2280
2280
|
decisionId: string;
|
|
2281
2281
|
testId: string;
|
|
2282
2282
|
durationMs?: number | undefined;
|
|
2283
2283
|
evidence?: {
|
|
2284
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2285
|
-
label: string;
|
|
2286
2284
|
id: string;
|
|
2285
|
+
label: string;
|
|
2286
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2287
2287
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2288
2288
|
locator?: string | undefined;
|
|
2289
2289
|
}[] | undefined;
|
|
@@ -2304,15 +2304,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2304
2304
|
locator: z.ZodOptional<z.ZodString>;
|
|
2305
2305
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2306
2306
|
}, "strict", z.ZodTypeAny, {
|
|
2307
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2308
|
-
label: string;
|
|
2309
2307
|
id: string;
|
|
2308
|
+
label: string;
|
|
2309
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2310
2310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2311
2311
|
locator?: string | undefined;
|
|
2312
2312
|
}, {
|
|
2313
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2314
|
-
label: string;
|
|
2315
2313
|
id: string;
|
|
2314
|
+
label: string;
|
|
2315
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2316
2316
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2317
2317
|
locator?: string | undefined;
|
|
2318
2318
|
}>, "many">>;
|
|
@@ -2321,9 +2321,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2321
2321
|
statement: string;
|
|
2322
2322
|
rationale: string;
|
|
2323
2323
|
evidence: {
|
|
2324
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2325
|
-
label: string;
|
|
2326
2324
|
id: string;
|
|
2325
|
+
label: string;
|
|
2326
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2327
2327
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2328
2328
|
locator?: string | undefined;
|
|
2329
2329
|
}[];
|
|
@@ -2342,9 +2342,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2342
2342
|
supersedesDecisionIds: string[];
|
|
2343
2343
|
proposedBy: string;
|
|
2344
2344
|
evidence?: {
|
|
2345
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2346
|
-
label: string;
|
|
2347
2345
|
id: string;
|
|
2346
|
+
label: string;
|
|
2347
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2348
2348
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2349
2349
|
locator?: string | undefined;
|
|
2350
2350
|
}[] | undefined;
|
|
@@ -2356,13 +2356,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2356
2356
|
id: z.ZodString;
|
|
2357
2357
|
label: z.ZodString;
|
|
2358
2358
|
}, "strict", z.ZodTypeAny, {
|
|
2359
|
-
kind: "agent" | "human";
|
|
2360
|
-
label: string;
|
|
2361
2359
|
id: string;
|
|
2362
|
-
}, {
|
|
2363
|
-
kind: "agent" | "human";
|
|
2364
2360
|
label: string;
|
|
2361
|
+
kind: "agent" | "human";
|
|
2362
|
+
}, {
|
|
2365
2363
|
id: string;
|
|
2364
|
+
label: string;
|
|
2365
|
+
kind: "agent" | "human";
|
|
2366
2366
|
}>;
|
|
2367
2367
|
note: z.ZodOptional<z.ZodString>;
|
|
2368
2368
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2372,47 +2372,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2372
2372
|
locator: z.ZodOptional<z.ZodString>;
|
|
2373
2373
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2374
2374
|
}, "strict", z.ZodTypeAny, {
|
|
2375
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2376
|
-
label: string;
|
|
2377
2375
|
id: string;
|
|
2376
|
+
label: string;
|
|
2377
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2378
2378
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2379
2379
|
locator?: string | undefined;
|
|
2380
2380
|
}, {
|
|
2381
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2382
|
-
label: string;
|
|
2383
2381
|
id: string;
|
|
2382
|
+
label: string;
|
|
2383
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2384
2384
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2385
2385
|
locator?: string | undefined;
|
|
2386
2386
|
}>, "many">>;
|
|
2387
2387
|
}, "strict", z.ZodTypeAny, {
|
|
2388
2388
|
kind: "correction_approved";
|
|
2389
2389
|
evidence: {
|
|
2390
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2391
|
-
label: string;
|
|
2392
2390
|
id: string;
|
|
2391
|
+
label: string;
|
|
2392
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2393
2393
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2394
2394
|
locator?: string | undefined;
|
|
2395
2395
|
}[];
|
|
2396
2396
|
correctionId: string;
|
|
2397
2397
|
approvedBy: {
|
|
2398
|
-
kind: "agent" | "human";
|
|
2399
|
-
label: string;
|
|
2400
2398
|
id: string;
|
|
2399
|
+
label: string;
|
|
2400
|
+
kind: "agent" | "human";
|
|
2401
2401
|
};
|
|
2402
2402
|
note?: string | undefined;
|
|
2403
2403
|
}, {
|
|
2404
2404
|
kind: "correction_approved";
|
|
2405
2405
|
correctionId: string;
|
|
2406
2406
|
approvedBy: {
|
|
2407
|
-
kind: "agent" | "human";
|
|
2408
|
-
label: string;
|
|
2409
2407
|
id: string;
|
|
2408
|
+
label: string;
|
|
2409
|
+
kind: "agent" | "human";
|
|
2410
2410
|
};
|
|
2411
2411
|
note?: string | undefined;
|
|
2412
2412
|
evidence?: {
|
|
2413
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2414
|
-
label: string;
|
|
2415
2413
|
id: string;
|
|
2414
|
+
label: string;
|
|
2415
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2416
2416
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2417
2417
|
locator?: string | undefined;
|
|
2418
2418
|
}[] | undefined;
|
|
@@ -2428,24 +2428,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2428
2428
|
locator: z.ZodOptional<z.ZodString>;
|
|
2429
2429
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2430
2430
|
}, "strict", z.ZodTypeAny, {
|
|
2431
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2432
|
-
label: string;
|
|
2433
2431
|
id: string;
|
|
2432
|
+
label: string;
|
|
2433
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2434
2434
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2435
2435
|
locator?: string | undefined;
|
|
2436
2436
|
}, {
|
|
2437
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2438
|
-
label: string;
|
|
2439
2437
|
id: string;
|
|
2438
|
+
label: string;
|
|
2439
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2440
2440
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2441
2441
|
locator?: string | undefined;
|
|
2442
2442
|
}>, "many">>;
|
|
2443
2443
|
}, "strict", z.ZodTypeAny, {
|
|
2444
2444
|
kind: "decision_superseded";
|
|
2445
2445
|
evidence: {
|
|
2446
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2447
|
-
label: string;
|
|
2448
2446
|
id: string;
|
|
2447
|
+
label: string;
|
|
2448
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2449
2449
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2450
2450
|
locator?: string | undefined;
|
|
2451
2451
|
}[];
|
|
@@ -2458,9 +2458,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2458
2458
|
correctionId: string;
|
|
2459
2459
|
replacementDecisionId: string;
|
|
2460
2460
|
evidence?: {
|
|
2461
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2462
|
-
label: string;
|
|
2463
2461
|
id: string;
|
|
2462
|
+
label: string;
|
|
2463
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2464
2464
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2465
2465
|
locator?: string | undefined;
|
|
2466
2466
|
}[] | undefined;
|
|
@@ -2476,15 +2476,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2476
2476
|
locator: z.ZodOptional<z.ZodString>;
|
|
2477
2477
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2478
2478
|
}, "strict", z.ZodTypeAny, {
|
|
2479
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2480
|
-
label: string;
|
|
2481
2479
|
id: string;
|
|
2480
|
+
label: string;
|
|
2481
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2482
2482
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2483
2483
|
locator?: string | undefined;
|
|
2484
2484
|
}, {
|
|
2485
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2486
|
-
label: string;
|
|
2487
2485
|
id: string;
|
|
2486
|
+
label: string;
|
|
2487
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2488
2488
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2489
2489
|
locator?: string | undefined;
|
|
2490
2490
|
}>, "many">>;
|
|
@@ -2497,9 +2497,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2497
2497
|
agentId: string;
|
|
2498
2498
|
sessionId: string;
|
|
2499
2499
|
evidence: {
|
|
2500
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2501
|
-
label: string;
|
|
2502
2500
|
id: string;
|
|
2501
|
+
label: string;
|
|
2502
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2503
2503
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2504
2504
|
locator?: string | undefined;
|
|
2505
2505
|
}[];
|
|
@@ -2515,9 +2515,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2515
2515
|
recallReceiptId: string;
|
|
2516
2516
|
capturedAtAction: boolean;
|
|
2517
2517
|
evidence?: {
|
|
2518
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2519
|
-
label: string;
|
|
2520
2518
|
id: string;
|
|
2519
|
+
label: string;
|
|
2520
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2521
2521
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2522
2522
|
locator?: string | undefined;
|
|
2523
2523
|
}[] | undefined;
|
|
@@ -2533,15 +2533,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2533
2533
|
locator: z.ZodOptional<z.ZodString>;
|
|
2534
2534
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2535
2535
|
}, "strict", z.ZodTypeAny, {
|
|
2536
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2537
|
-
label: string;
|
|
2538
2536
|
id: string;
|
|
2537
|
+
label: string;
|
|
2538
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2539
2539
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2540
2540
|
locator?: string | undefined;
|
|
2541
2541
|
}, {
|
|
2542
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2543
|
-
label: string;
|
|
2544
2542
|
id: string;
|
|
2543
|
+
label: string;
|
|
2544
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2545
2545
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2546
2546
|
locator?: string | undefined;
|
|
2547
2547
|
}>, "many">>;
|
|
@@ -2553,9 +2553,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2553
2553
|
agentId: string;
|
|
2554
2554
|
sessionId: string;
|
|
2555
2555
|
evidence: {
|
|
2556
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2557
|
-
label: string;
|
|
2558
2556
|
id: string;
|
|
2557
|
+
label: string;
|
|
2558
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2559
2559
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2560
2560
|
locator?: string | undefined;
|
|
2561
2561
|
}[];
|
|
@@ -2572,9 +2572,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2572
2572
|
recallReceiptId: string;
|
|
2573
2573
|
staleDecisionAbsent: boolean;
|
|
2574
2574
|
evidence?: {
|
|
2575
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2576
|
-
label: string;
|
|
2577
2575
|
id: string;
|
|
2576
|
+
label: string;
|
|
2577
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2578
2578
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2579
2579
|
locator?: string | undefined;
|
|
2580
2580
|
}[] | undefined;
|
|
@@ -2589,37 +2589,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2589
2589
|
locator: z.ZodOptional<z.ZodString>;
|
|
2590
2590
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2591
2591
|
}, "strict", z.ZodTypeAny, {
|
|
2592
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2593
|
-
label: string;
|
|
2594
2592
|
id: string;
|
|
2593
|
+
label: string;
|
|
2594
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2595
2595
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2596
2596
|
locator?: string | undefined;
|
|
2597
2597
|
}, {
|
|
2598
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2599
|
-
label: string;
|
|
2600
2598
|
id: string;
|
|
2599
|
+
label: string;
|
|
2600
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2601
2601
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2602
2602
|
locator?: string | undefined;
|
|
2603
2603
|
}>, "many">>;
|
|
2604
2604
|
}, "strict", z.ZodTypeAny, {
|
|
2605
|
-
kind: "mission_completed";
|
|
2606
2605
|
summary: string;
|
|
2606
|
+
kind: "mission_completed";
|
|
2607
2607
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2608
2608
|
evidence: {
|
|
2609
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2610
|
-
label: string;
|
|
2611
2609
|
id: string;
|
|
2610
|
+
label: string;
|
|
2611
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2612
2612
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2613
2613
|
locator?: string | undefined;
|
|
2614
2614
|
}[];
|
|
2615
2615
|
}, {
|
|
2616
|
-
kind: "mission_completed";
|
|
2617
2616
|
summary: string;
|
|
2617
|
+
kind: "mission_completed";
|
|
2618
2618
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2619
2619
|
evidence?: {
|
|
2620
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2621
|
-
label: string;
|
|
2622
2620
|
id: string;
|
|
2621
|
+
label: string;
|
|
2622
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2623
2623
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2624
2624
|
locator?: string | undefined;
|
|
2625
2625
|
}[] | undefined;
|
|
@@ -2627,38 +2627,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2627
2627
|
kind: "mission_started";
|
|
2628
2628
|
title: string;
|
|
2629
2629
|
evidence: {
|
|
2630
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2631
|
-
label: string;
|
|
2632
2630
|
id: string;
|
|
2631
|
+
label: string;
|
|
2632
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2633
2633
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2634
2634
|
locator?: string | undefined;
|
|
2635
2635
|
}[];
|
|
2636
2636
|
objective: string;
|
|
2637
2637
|
runMode: "replay" | "fixture" | "live";
|
|
2638
2638
|
} | {
|
|
2639
|
-
kind: "agent_status";
|
|
2640
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2641
2639
|
label: string;
|
|
2640
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2641
|
+
kind: "agent_status";
|
|
2642
2642
|
role: string;
|
|
2643
2643
|
agentId: string;
|
|
2644
2644
|
sessionId: string;
|
|
2645
2645
|
evidence: {
|
|
2646
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2647
|
-
label: string;
|
|
2648
2646
|
id: string;
|
|
2647
|
+
label: string;
|
|
2648
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2649
2649
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2650
2650
|
locator?: string | undefined;
|
|
2651
2651
|
}[];
|
|
2652
2652
|
detail?: string | undefined;
|
|
2653
2653
|
} | {
|
|
2654
|
-
kind: "agent_output";
|
|
2655
2654
|
summary: string;
|
|
2655
|
+
kind: "agent_output";
|
|
2656
2656
|
agentId: string;
|
|
2657
2657
|
sessionId: string;
|
|
2658
2658
|
evidence: {
|
|
2659
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2660
|
-
label: string;
|
|
2661
2659
|
id: string;
|
|
2660
|
+
label: string;
|
|
2661
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2662
2662
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2663
2663
|
locator?: string | undefined;
|
|
2664
2664
|
}[];
|
|
@@ -2669,9 +2669,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2669
2669
|
statement: string;
|
|
2670
2670
|
sessionId: string;
|
|
2671
2671
|
evidence: {
|
|
2672
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2673
|
-
label: string;
|
|
2674
2672
|
id: string;
|
|
2673
|
+
label: string;
|
|
2674
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2675
2675
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2676
2676
|
locator?: string | undefined;
|
|
2677
2677
|
}[];
|
|
@@ -2679,12 +2679,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2679
2679
|
decisionId: string;
|
|
2680
2680
|
confidence?: number | undefined;
|
|
2681
2681
|
} | {
|
|
2682
|
-
kind: "conflict_detected";
|
|
2683
2682
|
summary: string;
|
|
2683
|
+
kind: "conflict_detected";
|
|
2684
2684
|
evidence: {
|
|
2685
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2686
|
-
label: string;
|
|
2687
2685
|
id: string;
|
|
2686
|
+
label: string;
|
|
2687
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2688
2688
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2689
2689
|
locator?: string | undefined;
|
|
2690
2690
|
}[];
|
|
@@ -2692,14 +2692,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2692
2692
|
decisionIds: string[];
|
|
2693
2693
|
agentIds: string[];
|
|
2694
2694
|
} | {
|
|
2695
|
-
kind: "test_result";
|
|
2696
2695
|
summary: string;
|
|
2697
2696
|
status: "error" | "failed" | "passed";
|
|
2697
|
+
kind: "test_result";
|
|
2698
2698
|
command: string;
|
|
2699
2699
|
evidence: {
|
|
2700
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2701
|
-
label: string;
|
|
2702
2700
|
id: string;
|
|
2701
|
+
label: string;
|
|
2702
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2703
2703
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2704
2704
|
locator?: string | undefined;
|
|
2705
2705
|
}[];
|
|
@@ -2712,9 +2712,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2712
2712
|
statement: string;
|
|
2713
2713
|
rationale: string;
|
|
2714
2714
|
evidence: {
|
|
2715
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2716
|
-
label: string;
|
|
2717
2715
|
id: string;
|
|
2716
|
+
label: string;
|
|
2717
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2718
2718
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2719
2719
|
locator?: string | undefined;
|
|
2720
2720
|
}[];
|
|
@@ -2726,25 +2726,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2726
2726
|
} | {
|
|
2727
2727
|
kind: "correction_approved";
|
|
2728
2728
|
evidence: {
|
|
2729
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2730
|
-
label: string;
|
|
2731
2729
|
id: string;
|
|
2730
|
+
label: string;
|
|
2731
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2732
2732
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2733
2733
|
locator?: string | undefined;
|
|
2734
2734
|
}[];
|
|
2735
2735
|
correctionId: string;
|
|
2736
2736
|
approvedBy: {
|
|
2737
|
-
kind: "agent" | "human";
|
|
2738
|
-
label: string;
|
|
2739
2737
|
id: string;
|
|
2738
|
+
label: string;
|
|
2739
|
+
kind: "agent" | "human";
|
|
2740
2740
|
};
|
|
2741
2741
|
note?: string | undefined;
|
|
2742
2742
|
} | {
|
|
2743
2743
|
kind: "decision_superseded";
|
|
2744
2744
|
evidence: {
|
|
2745
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2746
|
-
label: string;
|
|
2747
2745
|
id: string;
|
|
2746
|
+
label: string;
|
|
2747
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2748
2748
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2749
2749
|
locator?: string | undefined;
|
|
2750
2750
|
}[];
|
|
@@ -2757,9 +2757,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2757
2757
|
agentId: string;
|
|
2758
2758
|
sessionId: string;
|
|
2759
2759
|
evidence: {
|
|
2760
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2761
|
-
label: string;
|
|
2762
2760
|
id: string;
|
|
2761
|
+
label: string;
|
|
2762
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2763
2763
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2764
2764
|
locator?: string | undefined;
|
|
2765
2765
|
}[];
|
|
@@ -2771,9 +2771,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2771
2771
|
agentId: string;
|
|
2772
2772
|
sessionId: string;
|
|
2773
2773
|
evidence: {
|
|
2774
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2775
|
-
label: string;
|
|
2776
2774
|
id: string;
|
|
2775
|
+
label: string;
|
|
2776
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2777
2777
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2778
2778
|
locator?: string | undefined;
|
|
2779
2779
|
}[];
|
|
@@ -2782,13 +2782,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2782
2782
|
recallReceiptId: string;
|
|
2783
2783
|
staleDecisionAbsent: boolean;
|
|
2784
2784
|
} | {
|
|
2785
|
-
kind: "mission_completed";
|
|
2786
2785
|
summary: string;
|
|
2786
|
+
kind: "mission_completed";
|
|
2787
2787
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2788
2788
|
evidence: {
|
|
2789
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2790
|
-
label: string;
|
|
2791
2789
|
id: string;
|
|
2790
|
+
label: string;
|
|
2791
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2792
2792
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2793
2793
|
locator?: string | undefined;
|
|
2794
2794
|
}[];
|
|
@@ -2798,37 +2798,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2798
2798
|
objective: string;
|
|
2799
2799
|
runMode: "replay" | "fixture" | "live";
|
|
2800
2800
|
evidence?: {
|
|
2801
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2802
|
-
label: string;
|
|
2803
2801
|
id: string;
|
|
2802
|
+
label: string;
|
|
2803
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2804
2804
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2805
2805
|
locator?: string | undefined;
|
|
2806
2806
|
}[] | undefined;
|
|
2807
2807
|
} | {
|
|
2808
|
-
kind: "agent_status";
|
|
2809
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2810
2808
|
label: string;
|
|
2809
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2810
|
+
kind: "agent_status";
|
|
2811
2811
|
role: string;
|
|
2812
2812
|
agentId: string;
|
|
2813
2813
|
sessionId: string;
|
|
2814
2814
|
detail?: string | undefined;
|
|
2815
2815
|
evidence?: {
|
|
2816
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2817
|
-
label: string;
|
|
2818
2816
|
id: string;
|
|
2817
|
+
label: string;
|
|
2818
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2819
2819
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2820
2820
|
locator?: string | undefined;
|
|
2821
2821
|
}[] | undefined;
|
|
2822
2822
|
} | {
|
|
2823
|
-
kind: "agent_output";
|
|
2824
2823
|
summary: string;
|
|
2824
|
+
kind: "agent_output";
|
|
2825
2825
|
agentId: string;
|
|
2826
2826
|
sessionId: string;
|
|
2827
2827
|
outputId: string;
|
|
2828
2828
|
evidence?: {
|
|
2829
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2830
|
-
label: string;
|
|
2831
2829
|
id: string;
|
|
2830
|
+
label: string;
|
|
2831
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2832
2832
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2833
2833
|
locator?: string | undefined;
|
|
2834
2834
|
}[] | undefined;
|
|
@@ -2841,37 +2841,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2841
2841
|
decisionId: string;
|
|
2842
2842
|
confidence?: number | undefined;
|
|
2843
2843
|
evidence?: {
|
|
2844
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2845
|
-
label: string;
|
|
2846
2844
|
id: string;
|
|
2845
|
+
label: string;
|
|
2846
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2847
2847
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2848
2848
|
locator?: string | undefined;
|
|
2849
2849
|
}[] | undefined;
|
|
2850
2850
|
} | {
|
|
2851
|
-
kind: "conflict_detected";
|
|
2852
2851
|
summary: string;
|
|
2852
|
+
kind: "conflict_detected";
|
|
2853
2853
|
conflictId: string;
|
|
2854
2854
|
decisionIds: string[];
|
|
2855
2855
|
agentIds: string[];
|
|
2856
2856
|
evidence?: {
|
|
2857
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2858
|
-
label: string;
|
|
2859
2857
|
id: string;
|
|
2858
|
+
label: string;
|
|
2859
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2860
2860
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2861
2861
|
locator?: string | undefined;
|
|
2862
2862
|
}[] | undefined;
|
|
2863
2863
|
} | {
|
|
2864
|
-
kind: "test_result";
|
|
2865
2864
|
summary: string;
|
|
2866
2865
|
status: "error" | "failed" | "passed";
|
|
2866
|
+
kind: "test_result";
|
|
2867
2867
|
command: string;
|
|
2868
2868
|
decisionId: string;
|
|
2869
2869
|
testId: string;
|
|
2870
2870
|
durationMs?: number | undefined;
|
|
2871
2871
|
evidence?: {
|
|
2872
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2873
|
-
label: string;
|
|
2874
2872
|
id: string;
|
|
2873
|
+
label: string;
|
|
2874
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2875
2875
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2876
2876
|
locator?: string | undefined;
|
|
2877
2877
|
}[] | undefined;
|
|
@@ -2886,9 +2886,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2886
2886
|
supersedesDecisionIds: string[];
|
|
2887
2887
|
proposedBy: string;
|
|
2888
2888
|
evidence?: {
|
|
2889
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2890
|
-
label: string;
|
|
2891
2889
|
id: string;
|
|
2890
|
+
label: string;
|
|
2891
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2892
2892
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2893
2893
|
locator?: string | undefined;
|
|
2894
2894
|
}[] | undefined;
|
|
@@ -2896,15 +2896,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2896
2896
|
kind: "correction_approved";
|
|
2897
2897
|
correctionId: string;
|
|
2898
2898
|
approvedBy: {
|
|
2899
|
-
kind: "agent" | "human";
|
|
2900
|
-
label: string;
|
|
2901
2899
|
id: string;
|
|
2900
|
+
label: string;
|
|
2901
|
+
kind: "agent" | "human";
|
|
2902
2902
|
};
|
|
2903
2903
|
note?: string | undefined;
|
|
2904
2904
|
evidence?: {
|
|
2905
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2906
|
-
label: string;
|
|
2907
2905
|
id: string;
|
|
2906
|
+
label: string;
|
|
2907
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2908
2908
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2909
2909
|
locator?: string | undefined;
|
|
2910
2910
|
}[] | undefined;
|
|
@@ -2914,9 +2914,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2914
2914
|
correctionId: string;
|
|
2915
2915
|
replacementDecisionId: string;
|
|
2916
2916
|
evidence?: {
|
|
2917
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2918
|
-
label: string;
|
|
2919
2917
|
id: string;
|
|
2918
|
+
label: string;
|
|
2919
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2920
2920
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2921
2921
|
locator?: string | undefined;
|
|
2922
2922
|
}[] | undefined;
|
|
@@ -2929,9 +2929,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2929
2929
|
recallReceiptId: string;
|
|
2930
2930
|
capturedAtAction: boolean;
|
|
2931
2931
|
evidence?: {
|
|
2932
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2933
|
-
label: string;
|
|
2934
2932
|
id: string;
|
|
2933
|
+
label: string;
|
|
2934
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2935
2935
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2936
2936
|
locator?: string | undefined;
|
|
2937
2937
|
}[] | undefined;
|
|
@@ -2944,20 +2944,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2944
2944
|
recallReceiptId: string;
|
|
2945
2945
|
staleDecisionAbsent: boolean;
|
|
2946
2946
|
evidence?: {
|
|
2947
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2948
|
-
label: string;
|
|
2949
2947
|
id: string;
|
|
2948
|
+
label: string;
|
|
2949
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2950
2950
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2951
2951
|
locator?: string | undefined;
|
|
2952
2952
|
}[] | undefined;
|
|
2953
2953
|
} | {
|
|
2954
|
-
kind: "mission_completed";
|
|
2955
2954
|
summary: string;
|
|
2955
|
+
kind: "mission_completed";
|
|
2956
2956
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2957
2957
|
evidence?: {
|
|
2958
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2959
|
-
label: string;
|
|
2960
2958
|
id: string;
|
|
2959
|
+
label: string;
|
|
2960
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2961
2961
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2962
2962
|
locator?: string | undefined;
|
|
2963
2963
|
}[] | undefined;
|
|
@@ -2967,38 +2967,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2967
2967
|
kind: "mission_started";
|
|
2968
2968
|
title: string;
|
|
2969
2969
|
evidence: {
|
|
2970
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2971
|
-
label: string;
|
|
2972
2970
|
id: string;
|
|
2971
|
+
label: string;
|
|
2972
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2973
2973
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2974
2974
|
locator?: string | undefined;
|
|
2975
2975
|
}[];
|
|
2976
2976
|
objective: string;
|
|
2977
2977
|
runMode: "replay" | "fixture" | "live";
|
|
2978
2978
|
} | {
|
|
2979
|
-
kind: "agent_status";
|
|
2980
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2981
2979
|
label: string;
|
|
2980
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2981
|
+
kind: "agent_status";
|
|
2982
2982
|
role: string;
|
|
2983
2983
|
agentId: string;
|
|
2984
2984
|
sessionId: string;
|
|
2985
2985
|
evidence: {
|
|
2986
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2987
|
-
label: string;
|
|
2988
2986
|
id: string;
|
|
2987
|
+
label: string;
|
|
2988
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2989
2989
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2990
2990
|
locator?: string | undefined;
|
|
2991
2991
|
}[];
|
|
2992
2992
|
detail?: string | undefined;
|
|
2993
2993
|
} | {
|
|
2994
|
-
kind: "agent_output";
|
|
2995
2994
|
summary: string;
|
|
2995
|
+
kind: "agent_output";
|
|
2996
2996
|
agentId: string;
|
|
2997
2997
|
sessionId: string;
|
|
2998
2998
|
evidence: {
|
|
2999
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3000
|
-
label: string;
|
|
3001
2999
|
id: string;
|
|
3000
|
+
label: string;
|
|
3001
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3002
3002
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3003
3003
|
locator?: string | undefined;
|
|
3004
3004
|
}[];
|
|
@@ -3009,9 +3009,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3009
3009
|
statement: string;
|
|
3010
3010
|
sessionId: string;
|
|
3011
3011
|
evidence: {
|
|
3012
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3013
|
-
label: string;
|
|
3014
3012
|
id: string;
|
|
3013
|
+
label: string;
|
|
3014
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3015
3015
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3016
3016
|
locator?: string | undefined;
|
|
3017
3017
|
}[];
|
|
@@ -3019,12 +3019,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3019
3019
|
decisionId: string;
|
|
3020
3020
|
confidence?: number | undefined;
|
|
3021
3021
|
} | {
|
|
3022
|
-
kind: "conflict_detected";
|
|
3023
3022
|
summary: string;
|
|
3023
|
+
kind: "conflict_detected";
|
|
3024
3024
|
evidence: {
|
|
3025
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3026
|
-
label: string;
|
|
3027
3025
|
id: string;
|
|
3026
|
+
label: string;
|
|
3027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3028
3028
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3029
3029
|
locator?: string | undefined;
|
|
3030
3030
|
}[];
|
|
@@ -3032,14 +3032,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3032
3032
|
decisionIds: string[];
|
|
3033
3033
|
agentIds: string[];
|
|
3034
3034
|
} | {
|
|
3035
|
-
kind: "test_result";
|
|
3036
3035
|
summary: string;
|
|
3037
3036
|
status: "error" | "failed" | "passed";
|
|
3037
|
+
kind: "test_result";
|
|
3038
3038
|
command: string;
|
|
3039
3039
|
evidence: {
|
|
3040
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3041
|
-
label: string;
|
|
3042
3040
|
id: string;
|
|
3041
|
+
label: string;
|
|
3042
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3043
3043
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3044
3044
|
locator?: string | undefined;
|
|
3045
3045
|
}[];
|
|
@@ -3052,9 +3052,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3052
3052
|
statement: string;
|
|
3053
3053
|
rationale: string;
|
|
3054
3054
|
evidence: {
|
|
3055
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3056
|
-
label: string;
|
|
3057
3055
|
id: string;
|
|
3056
|
+
label: string;
|
|
3057
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3058
3058
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3059
3059
|
locator?: string | undefined;
|
|
3060
3060
|
}[];
|
|
@@ -3066,25 +3066,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3066
3066
|
} | {
|
|
3067
3067
|
kind: "correction_approved";
|
|
3068
3068
|
evidence: {
|
|
3069
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3070
|
-
label: string;
|
|
3071
3069
|
id: string;
|
|
3070
|
+
label: string;
|
|
3071
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3072
3072
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3073
3073
|
locator?: string | undefined;
|
|
3074
3074
|
}[];
|
|
3075
3075
|
correctionId: string;
|
|
3076
3076
|
approvedBy: {
|
|
3077
|
-
kind: "agent" | "human";
|
|
3078
|
-
label: string;
|
|
3079
3077
|
id: string;
|
|
3078
|
+
label: string;
|
|
3079
|
+
kind: "agent" | "human";
|
|
3080
3080
|
};
|
|
3081
3081
|
note?: string | undefined;
|
|
3082
3082
|
} | {
|
|
3083
3083
|
kind: "decision_superseded";
|
|
3084
3084
|
evidence: {
|
|
3085
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3086
|
-
label: string;
|
|
3087
3085
|
id: string;
|
|
3086
|
+
label: string;
|
|
3087
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3088
3088
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3089
3089
|
locator?: string | undefined;
|
|
3090
3090
|
}[];
|
|
@@ -3097,9 +3097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3097
3097
|
agentId: string;
|
|
3098
3098
|
sessionId: string;
|
|
3099
3099
|
evidence: {
|
|
3100
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3101
|
-
label: string;
|
|
3102
3100
|
id: string;
|
|
3101
|
+
label: string;
|
|
3102
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3103
3103
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3104
3104
|
locator?: string | undefined;
|
|
3105
3105
|
}[];
|
|
@@ -3111,9 +3111,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3111
3111
|
agentId: string;
|
|
3112
3112
|
sessionId: string;
|
|
3113
3113
|
evidence: {
|
|
3114
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3115
|
-
label: string;
|
|
3116
3114
|
id: string;
|
|
3115
|
+
label: string;
|
|
3116
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3117
3117
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3118
3118
|
locator?: string | undefined;
|
|
3119
3119
|
}[];
|
|
@@ -3122,13 +3122,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3122
3122
|
recallReceiptId: string;
|
|
3123
3123
|
staleDecisionAbsent: boolean;
|
|
3124
3124
|
} | {
|
|
3125
|
-
kind: "mission_completed";
|
|
3126
3125
|
summary: string;
|
|
3126
|
+
kind: "mission_completed";
|
|
3127
3127
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3128
3128
|
evidence: {
|
|
3129
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3130
|
-
label: string;
|
|
3131
3129
|
id: string;
|
|
3130
|
+
label: string;
|
|
3131
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3132
3132
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3133
3133
|
locator?: string | undefined;
|
|
3134
3134
|
}[];
|
|
@@ -3142,37 +3142,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3142
3142
|
objective: string;
|
|
3143
3143
|
runMode: "replay" | "fixture" | "live";
|
|
3144
3144
|
evidence?: {
|
|
3145
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3146
|
-
label: string;
|
|
3147
3145
|
id: string;
|
|
3146
|
+
label: string;
|
|
3147
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3148
3148
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3149
3149
|
locator?: string | undefined;
|
|
3150
3150
|
}[] | undefined;
|
|
3151
3151
|
} | {
|
|
3152
|
-
kind: "agent_status";
|
|
3153
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3154
3152
|
label: string;
|
|
3153
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3154
|
+
kind: "agent_status";
|
|
3155
3155
|
role: string;
|
|
3156
3156
|
agentId: string;
|
|
3157
3157
|
sessionId: string;
|
|
3158
3158
|
detail?: string | undefined;
|
|
3159
3159
|
evidence?: {
|
|
3160
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3161
|
-
label: string;
|
|
3162
3160
|
id: string;
|
|
3161
|
+
label: string;
|
|
3162
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3163
3163
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3164
3164
|
locator?: string | undefined;
|
|
3165
3165
|
}[] | undefined;
|
|
3166
3166
|
} | {
|
|
3167
|
-
kind: "agent_output";
|
|
3168
3167
|
summary: string;
|
|
3168
|
+
kind: "agent_output";
|
|
3169
3169
|
agentId: string;
|
|
3170
3170
|
sessionId: string;
|
|
3171
3171
|
outputId: string;
|
|
3172
3172
|
evidence?: {
|
|
3173
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3174
|
-
label: string;
|
|
3175
3173
|
id: string;
|
|
3174
|
+
label: string;
|
|
3175
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3176
3176
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3177
3177
|
locator?: string | undefined;
|
|
3178
3178
|
}[] | undefined;
|
|
@@ -3185,37 +3185,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3185
3185
|
decisionId: string;
|
|
3186
3186
|
confidence?: number | undefined;
|
|
3187
3187
|
evidence?: {
|
|
3188
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3189
|
-
label: string;
|
|
3190
3188
|
id: string;
|
|
3189
|
+
label: string;
|
|
3190
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3191
3191
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3192
3192
|
locator?: string | undefined;
|
|
3193
3193
|
}[] | undefined;
|
|
3194
3194
|
} | {
|
|
3195
|
-
kind: "conflict_detected";
|
|
3196
3195
|
summary: string;
|
|
3196
|
+
kind: "conflict_detected";
|
|
3197
3197
|
conflictId: string;
|
|
3198
3198
|
decisionIds: string[];
|
|
3199
3199
|
agentIds: string[];
|
|
3200
3200
|
evidence?: {
|
|
3201
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3202
|
-
label: string;
|
|
3203
3201
|
id: string;
|
|
3202
|
+
label: string;
|
|
3203
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3204
3204
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3205
3205
|
locator?: string | undefined;
|
|
3206
3206
|
}[] | undefined;
|
|
3207
3207
|
} | {
|
|
3208
|
-
kind: "test_result";
|
|
3209
3208
|
summary: string;
|
|
3210
3209
|
status: "error" | "failed" | "passed";
|
|
3210
|
+
kind: "test_result";
|
|
3211
3211
|
command: string;
|
|
3212
3212
|
decisionId: string;
|
|
3213
3213
|
testId: string;
|
|
3214
3214
|
durationMs?: number | undefined;
|
|
3215
3215
|
evidence?: {
|
|
3216
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3217
|
-
label: string;
|
|
3218
3216
|
id: string;
|
|
3217
|
+
label: string;
|
|
3218
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3219
3219
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3220
3220
|
locator?: string | undefined;
|
|
3221
3221
|
}[] | undefined;
|
|
@@ -3230,9 +3230,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3230
3230
|
supersedesDecisionIds: string[];
|
|
3231
3231
|
proposedBy: string;
|
|
3232
3232
|
evidence?: {
|
|
3233
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3234
|
-
label: string;
|
|
3235
3233
|
id: string;
|
|
3234
|
+
label: string;
|
|
3235
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3236
3236
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3237
3237
|
locator?: string | undefined;
|
|
3238
3238
|
}[] | undefined;
|
|
@@ -3240,15 +3240,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3240
3240
|
kind: "correction_approved";
|
|
3241
3241
|
correctionId: string;
|
|
3242
3242
|
approvedBy: {
|
|
3243
|
-
kind: "agent" | "human";
|
|
3244
|
-
label: string;
|
|
3245
3243
|
id: string;
|
|
3244
|
+
label: string;
|
|
3245
|
+
kind: "agent" | "human";
|
|
3246
3246
|
};
|
|
3247
3247
|
note?: string | undefined;
|
|
3248
3248
|
evidence?: {
|
|
3249
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3250
|
-
label: string;
|
|
3251
3249
|
id: string;
|
|
3250
|
+
label: string;
|
|
3251
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3252
3252
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3253
3253
|
locator?: string | undefined;
|
|
3254
3254
|
}[] | undefined;
|
|
@@ -3258,9 +3258,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3258
3258
|
correctionId: string;
|
|
3259
3259
|
replacementDecisionId: string;
|
|
3260
3260
|
evidence?: {
|
|
3261
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3262
|
-
label: string;
|
|
3263
3261
|
id: string;
|
|
3262
|
+
label: string;
|
|
3263
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3264
3264
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3265
3265
|
locator?: string | undefined;
|
|
3266
3266
|
}[] | undefined;
|
|
@@ -3273,9 +3273,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3273
3273
|
recallReceiptId: string;
|
|
3274
3274
|
capturedAtAction: boolean;
|
|
3275
3275
|
evidence?: {
|
|
3276
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3277
|
-
label: string;
|
|
3278
3276
|
id: string;
|
|
3277
|
+
label: string;
|
|
3278
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3279
3279
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3280
3280
|
locator?: string | undefined;
|
|
3281
3281
|
}[] | undefined;
|
|
@@ -3288,20 +3288,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3288
3288
|
recallReceiptId: string;
|
|
3289
3289
|
staleDecisionAbsent: boolean;
|
|
3290
3290
|
evidence?: {
|
|
3291
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3292
|
-
label: string;
|
|
3293
3291
|
id: string;
|
|
3292
|
+
label: string;
|
|
3293
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3294
3294
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3295
3295
|
locator?: string | undefined;
|
|
3296
3296
|
}[] | undefined;
|
|
3297
3297
|
} | {
|
|
3298
|
-
kind: "mission_completed";
|
|
3299
3298
|
summary: string;
|
|
3299
|
+
kind: "mission_completed";
|
|
3300
3300
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3301
3301
|
evidence?: {
|
|
3302
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3303
|
-
label: string;
|
|
3304
3302
|
id: string;
|
|
3303
|
+
label: string;
|
|
3304
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3305
3305
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3306
3306
|
locator?: string | undefined;
|
|
3307
3307
|
}[] | undefined;
|
|
@@ -3331,15 +3331,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3331
3331
|
locator: z.ZodOptional<z.ZodString>;
|
|
3332
3332
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3333
3333
|
}, "strict", z.ZodTypeAny, {
|
|
3334
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3335
|
-
label: string;
|
|
3336
3334
|
id: string;
|
|
3335
|
+
label: string;
|
|
3336
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3337
3337
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3338
3338
|
locator?: string | undefined;
|
|
3339
3339
|
}, {
|
|
3340
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3341
|
-
label: string;
|
|
3342
3340
|
id: string;
|
|
3341
|
+
label: string;
|
|
3342
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3343
3343
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3344
3344
|
locator?: string | undefined;
|
|
3345
3345
|
}>, "many">>;
|
|
@@ -3347,9 +3347,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3347
3347
|
kind: "mission_started";
|
|
3348
3348
|
title: string;
|
|
3349
3349
|
evidence: {
|
|
3350
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3351
|
-
label: string;
|
|
3352
3350
|
id: string;
|
|
3351
|
+
label: string;
|
|
3352
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3353
3353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3354
3354
|
locator?: string | undefined;
|
|
3355
3355
|
}[];
|
|
@@ -3361,9 +3361,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3361
3361
|
objective: string;
|
|
3362
3362
|
runMode: "replay" | "fixture" | "live";
|
|
3363
3363
|
evidence?: {
|
|
3364
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3365
|
-
label: string;
|
|
3366
3364
|
id: string;
|
|
3365
|
+
label: string;
|
|
3366
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3367
3367
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3368
3368
|
locator?: string | undefined;
|
|
3369
3369
|
}[] | undefined;
|
|
@@ -3379,15 +3379,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3379
3379
|
locator: z.ZodOptional<z.ZodString>;
|
|
3380
3380
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3381
3381
|
}, "strict", z.ZodTypeAny, {
|
|
3382
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3383
|
-
label: string;
|
|
3384
3382
|
id: string;
|
|
3383
|
+
label: string;
|
|
3384
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3385
3385
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3386
3386
|
locator?: string | undefined;
|
|
3387
3387
|
}, {
|
|
3388
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3389
|
-
label: string;
|
|
3390
3388
|
id: string;
|
|
3389
|
+
label: string;
|
|
3390
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3391
3391
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3392
3392
|
locator?: string | undefined;
|
|
3393
3393
|
}>, "many">>;
|
|
@@ -3395,32 +3395,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3395
3395
|
sessionId: z.ZodString;
|
|
3396
3396
|
kind: z.ZodLiteral<"agent_status">;
|
|
3397
3397
|
}, "strict", z.ZodTypeAny, {
|
|
3398
|
-
kind: "agent_status";
|
|
3399
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3400
3398
|
label: string;
|
|
3399
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3400
|
+
kind: "agent_status";
|
|
3401
3401
|
role: string;
|
|
3402
3402
|
agentId: string;
|
|
3403
3403
|
sessionId: string;
|
|
3404
3404
|
evidence: {
|
|
3405
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3406
|
-
label: string;
|
|
3407
3405
|
id: string;
|
|
3406
|
+
label: string;
|
|
3407
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3408
3408
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3409
3409
|
locator?: string | undefined;
|
|
3410
3410
|
}[];
|
|
3411
3411
|
detail?: string | undefined;
|
|
3412
3412
|
}, {
|
|
3413
|
-
kind: "agent_status";
|
|
3414
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3415
3413
|
label: string;
|
|
3414
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3415
|
+
kind: "agent_status";
|
|
3416
3416
|
role: string;
|
|
3417
3417
|
agentId: string;
|
|
3418
3418
|
sessionId: string;
|
|
3419
3419
|
detail?: string | undefined;
|
|
3420
3420
|
evidence?: {
|
|
3421
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3422
|
-
label: string;
|
|
3423
3421
|
id: string;
|
|
3422
|
+
label: string;
|
|
3423
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3424
3424
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3425
3425
|
locator?: string | undefined;
|
|
3426
3426
|
}[] | undefined;
|
|
@@ -3434,15 +3434,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3434
3434
|
locator: z.ZodOptional<z.ZodString>;
|
|
3435
3435
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3436
3436
|
}, "strict", z.ZodTypeAny, {
|
|
3437
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3438
|
-
label: string;
|
|
3439
3437
|
id: string;
|
|
3438
|
+
label: string;
|
|
3439
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3440
3440
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3441
3441
|
locator?: string | undefined;
|
|
3442
3442
|
}, {
|
|
3443
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3444
|
-
label: string;
|
|
3445
3443
|
id: string;
|
|
3444
|
+
label: string;
|
|
3445
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3446
3446
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3447
3447
|
locator?: string | undefined;
|
|
3448
3448
|
}>, "many">>;
|
|
@@ -3450,28 +3450,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3450
3450
|
sessionId: z.ZodString;
|
|
3451
3451
|
kind: z.ZodLiteral<"agent_output">;
|
|
3452
3452
|
}, "strict", z.ZodTypeAny, {
|
|
3453
|
-
kind: "agent_output";
|
|
3454
3453
|
summary: string;
|
|
3454
|
+
kind: "agent_output";
|
|
3455
3455
|
agentId: string;
|
|
3456
3456
|
sessionId: string;
|
|
3457
3457
|
evidence: {
|
|
3458
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3459
|
-
label: string;
|
|
3460
3458
|
id: string;
|
|
3459
|
+
label: string;
|
|
3460
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3461
3461
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3462
3462
|
locator?: string | undefined;
|
|
3463
3463
|
}[];
|
|
3464
3464
|
outputId: string;
|
|
3465
3465
|
}, {
|
|
3466
|
-
kind: "agent_output";
|
|
3467
3466
|
summary: string;
|
|
3467
|
+
kind: "agent_output";
|
|
3468
3468
|
agentId: string;
|
|
3469
3469
|
sessionId: string;
|
|
3470
3470
|
outputId: string;
|
|
3471
3471
|
evidence?: {
|
|
3472
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3473
|
-
label: string;
|
|
3474
3472
|
id: string;
|
|
3473
|
+
label: string;
|
|
3474
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3475
3475
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3476
3476
|
locator?: string | undefined;
|
|
3477
3477
|
}[] | undefined;
|
|
@@ -3487,15 +3487,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3487
3487
|
locator: z.ZodOptional<z.ZodString>;
|
|
3488
3488
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3489
3489
|
}, "strict", z.ZodTypeAny, {
|
|
3490
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3491
|
-
label: string;
|
|
3492
3490
|
id: string;
|
|
3491
|
+
label: string;
|
|
3492
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3493
3493
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3494
3494
|
locator?: string | undefined;
|
|
3495
3495
|
}, {
|
|
3496
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3497
|
-
label: string;
|
|
3498
3496
|
id: string;
|
|
3497
|
+
label: string;
|
|
3498
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3499
3499
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3500
3500
|
locator?: string | undefined;
|
|
3501
3501
|
}>, "many">>;
|
|
@@ -3508,9 +3508,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3508
3508
|
statement: string;
|
|
3509
3509
|
sessionId: string;
|
|
3510
3510
|
evidence: {
|
|
3511
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3512
|
-
label: string;
|
|
3513
3511
|
id: string;
|
|
3512
|
+
label: string;
|
|
3513
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3514
3514
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3515
3515
|
locator?: string | undefined;
|
|
3516
3516
|
}[];
|
|
@@ -3526,9 +3526,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3526
3526
|
decisionId: string;
|
|
3527
3527
|
confidence?: number | undefined;
|
|
3528
3528
|
evidence?: {
|
|
3529
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3530
|
-
label: string;
|
|
3531
3529
|
id: string;
|
|
3530
|
+
label: string;
|
|
3531
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3532
3532
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3533
3533
|
locator?: string | undefined;
|
|
3534
3534
|
}[] | undefined;
|
|
@@ -3545,25 +3545,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3545
3545
|
locator: z.ZodOptional<z.ZodString>;
|
|
3546
3546
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3547
3547
|
}, "strict", z.ZodTypeAny, {
|
|
3548
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3549
|
-
label: string;
|
|
3550
3548
|
id: string;
|
|
3549
|
+
label: string;
|
|
3550
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3551
3551
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3552
3552
|
locator?: string | undefined;
|
|
3553
3553
|
}, {
|
|
3554
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3555
|
-
label: string;
|
|
3556
3554
|
id: string;
|
|
3555
|
+
label: string;
|
|
3556
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3557
3557
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3558
3558
|
locator?: string | undefined;
|
|
3559
3559
|
}>, "many">>;
|
|
3560
3560
|
}, "strict", z.ZodTypeAny, {
|
|
3561
|
-
kind: "conflict_detected";
|
|
3562
3561
|
summary: string;
|
|
3562
|
+
kind: "conflict_detected";
|
|
3563
3563
|
evidence: {
|
|
3564
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3565
|
-
label: string;
|
|
3566
3564
|
id: string;
|
|
3565
|
+
label: string;
|
|
3566
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3567
3567
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3568
3568
|
locator?: string | undefined;
|
|
3569
3569
|
}[];
|
|
@@ -3571,15 +3571,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3571
3571
|
decisionIds: string[];
|
|
3572
3572
|
agentIds: string[];
|
|
3573
3573
|
}, {
|
|
3574
|
-
kind: "conflict_detected";
|
|
3575
3574
|
summary: string;
|
|
3575
|
+
kind: "conflict_detected";
|
|
3576
3576
|
conflictId: string;
|
|
3577
3577
|
decisionIds: string[];
|
|
3578
3578
|
agentIds: string[];
|
|
3579
3579
|
evidence?: {
|
|
3580
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3581
|
-
label: string;
|
|
3582
3580
|
id: string;
|
|
3581
|
+
label: string;
|
|
3582
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3583
3583
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3584
3584
|
locator?: string | undefined;
|
|
3585
3585
|
}[] | undefined;
|
|
@@ -3599,27 +3599,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3599
3599
|
locator: z.ZodOptional<z.ZodString>;
|
|
3600
3600
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3601
3601
|
}, "strict", z.ZodTypeAny, {
|
|
3602
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3603
|
-
label: string;
|
|
3604
3602
|
id: string;
|
|
3603
|
+
label: string;
|
|
3604
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3605
3605
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3606
3606
|
locator?: string | undefined;
|
|
3607
3607
|
}, {
|
|
3608
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3609
|
-
label: string;
|
|
3610
3608
|
id: string;
|
|
3609
|
+
label: string;
|
|
3610
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3611
3611
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3612
3612
|
locator?: string | undefined;
|
|
3613
3613
|
}>, "many">>;
|
|
3614
3614
|
}, "strict", z.ZodTypeAny, {
|
|
3615
|
-
kind: "test_result";
|
|
3616
3615
|
summary: string;
|
|
3617
3616
|
status: "error" | "failed" | "passed";
|
|
3617
|
+
kind: "test_result";
|
|
3618
3618
|
command: string;
|
|
3619
3619
|
evidence: {
|
|
3620
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3621
|
-
label: string;
|
|
3622
3620
|
id: string;
|
|
3621
|
+
label: string;
|
|
3622
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3623
3623
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3624
3624
|
locator?: string | undefined;
|
|
3625
3625
|
}[];
|
|
@@ -3628,17 +3628,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3628
3628
|
durationMs?: number | undefined;
|
|
3629
3629
|
correctionId?: string | undefined;
|
|
3630
3630
|
}, {
|
|
3631
|
-
kind: "test_result";
|
|
3632
3631
|
summary: string;
|
|
3633
3632
|
status: "error" | "failed" | "passed";
|
|
3633
|
+
kind: "test_result";
|
|
3634
3634
|
command: string;
|
|
3635
3635
|
decisionId: string;
|
|
3636
3636
|
testId: string;
|
|
3637
3637
|
durationMs?: number | undefined;
|
|
3638
3638
|
evidence?: {
|
|
3639
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3640
|
-
label: string;
|
|
3641
3639
|
id: string;
|
|
3640
|
+
label: string;
|
|
3641
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3642
3642
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3643
3643
|
locator?: string | undefined;
|
|
3644
3644
|
}[] | undefined;
|
|
@@ -3659,15 +3659,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3659
3659
|
locator: z.ZodOptional<z.ZodString>;
|
|
3660
3660
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3661
3661
|
}, "strict", z.ZodTypeAny, {
|
|
3662
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3663
|
-
label: string;
|
|
3664
3662
|
id: string;
|
|
3663
|
+
label: string;
|
|
3664
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3665
3665
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3666
3666
|
locator?: string | undefined;
|
|
3667
3667
|
}, {
|
|
3668
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3669
|
-
label: string;
|
|
3670
3668
|
id: string;
|
|
3669
|
+
label: string;
|
|
3670
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3671
3671
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3672
3672
|
locator?: string | undefined;
|
|
3673
3673
|
}>, "many">>;
|
|
@@ -3676,9 +3676,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3676
3676
|
statement: string;
|
|
3677
3677
|
rationale: string;
|
|
3678
3678
|
evidence: {
|
|
3679
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3680
|
-
label: string;
|
|
3681
3679
|
id: string;
|
|
3680
|
+
label: string;
|
|
3681
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3682
3682
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3683
3683
|
locator?: string | undefined;
|
|
3684
3684
|
}[];
|
|
@@ -3697,9 +3697,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3697
3697
|
supersedesDecisionIds: string[];
|
|
3698
3698
|
proposedBy: string;
|
|
3699
3699
|
evidence?: {
|
|
3700
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3701
|
-
label: string;
|
|
3702
3700
|
id: string;
|
|
3701
|
+
label: string;
|
|
3702
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3703
3703
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3704
3704
|
locator?: string | undefined;
|
|
3705
3705
|
}[] | undefined;
|
|
@@ -3711,13 +3711,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3711
3711
|
id: z.ZodString;
|
|
3712
3712
|
label: z.ZodString;
|
|
3713
3713
|
}, "strict", z.ZodTypeAny, {
|
|
3714
|
-
kind: "agent" | "human";
|
|
3715
|
-
label: string;
|
|
3716
3714
|
id: string;
|
|
3717
|
-
}, {
|
|
3718
|
-
kind: "agent" | "human";
|
|
3719
3715
|
label: string;
|
|
3716
|
+
kind: "agent" | "human";
|
|
3717
|
+
}, {
|
|
3720
3718
|
id: string;
|
|
3719
|
+
label: string;
|
|
3720
|
+
kind: "agent" | "human";
|
|
3721
3721
|
}>;
|
|
3722
3722
|
note: z.ZodOptional<z.ZodString>;
|
|
3723
3723
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3727,47 +3727,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3727
3727
|
locator: z.ZodOptional<z.ZodString>;
|
|
3728
3728
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3729
3729
|
}, "strict", z.ZodTypeAny, {
|
|
3730
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3731
|
-
label: string;
|
|
3732
3730
|
id: string;
|
|
3731
|
+
label: string;
|
|
3732
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3733
3733
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3734
3734
|
locator?: string | undefined;
|
|
3735
3735
|
}, {
|
|
3736
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3737
|
-
label: string;
|
|
3738
3736
|
id: string;
|
|
3737
|
+
label: string;
|
|
3738
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3739
3739
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3740
3740
|
locator?: string | undefined;
|
|
3741
3741
|
}>, "many">>;
|
|
3742
3742
|
}, "strict", z.ZodTypeAny, {
|
|
3743
3743
|
kind: "correction_approved";
|
|
3744
3744
|
evidence: {
|
|
3745
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3746
|
-
label: string;
|
|
3747
3745
|
id: string;
|
|
3746
|
+
label: string;
|
|
3747
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3748
3748
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3749
3749
|
locator?: string | undefined;
|
|
3750
3750
|
}[];
|
|
3751
3751
|
correctionId: string;
|
|
3752
3752
|
approvedBy: {
|
|
3753
|
-
kind: "agent" | "human";
|
|
3754
|
-
label: string;
|
|
3755
3753
|
id: string;
|
|
3754
|
+
label: string;
|
|
3755
|
+
kind: "agent" | "human";
|
|
3756
3756
|
};
|
|
3757
3757
|
note?: string | undefined;
|
|
3758
3758
|
}, {
|
|
3759
3759
|
kind: "correction_approved";
|
|
3760
3760
|
correctionId: string;
|
|
3761
3761
|
approvedBy: {
|
|
3762
|
-
kind: "agent" | "human";
|
|
3763
|
-
label: string;
|
|
3764
3762
|
id: string;
|
|
3763
|
+
label: string;
|
|
3764
|
+
kind: "agent" | "human";
|
|
3765
3765
|
};
|
|
3766
3766
|
note?: string | undefined;
|
|
3767
3767
|
evidence?: {
|
|
3768
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3769
|
-
label: string;
|
|
3770
3768
|
id: string;
|
|
3769
|
+
label: string;
|
|
3770
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3771
3771
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3772
3772
|
locator?: string | undefined;
|
|
3773
3773
|
}[] | undefined;
|
|
@@ -3783,24 +3783,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3783
3783
|
locator: z.ZodOptional<z.ZodString>;
|
|
3784
3784
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3785
3785
|
}, "strict", z.ZodTypeAny, {
|
|
3786
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3787
|
-
label: string;
|
|
3788
3786
|
id: string;
|
|
3787
|
+
label: string;
|
|
3788
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3789
3789
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3790
3790
|
locator?: string | undefined;
|
|
3791
3791
|
}, {
|
|
3792
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3793
|
-
label: string;
|
|
3794
3792
|
id: string;
|
|
3793
|
+
label: string;
|
|
3794
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3795
3795
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3796
3796
|
locator?: string | undefined;
|
|
3797
3797
|
}>, "many">>;
|
|
3798
3798
|
}, "strict", z.ZodTypeAny, {
|
|
3799
3799
|
kind: "decision_superseded";
|
|
3800
3800
|
evidence: {
|
|
3801
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3802
|
-
label: string;
|
|
3803
3801
|
id: string;
|
|
3802
|
+
label: string;
|
|
3803
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3804
3804
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3805
3805
|
locator?: string | undefined;
|
|
3806
3806
|
}[];
|
|
@@ -3813,9 +3813,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3813
3813
|
correctionId: string;
|
|
3814
3814
|
replacementDecisionId: string;
|
|
3815
3815
|
evidence?: {
|
|
3816
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3817
|
-
label: string;
|
|
3818
3816
|
id: string;
|
|
3817
|
+
label: string;
|
|
3818
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3819
3819
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3820
3820
|
locator?: string | undefined;
|
|
3821
3821
|
}[] | undefined;
|
|
@@ -3831,15 +3831,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3831
3831
|
locator: z.ZodOptional<z.ZodString>;
|
|
3832
3832
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3833
3833
|
}, "strict", z.ZodTypeAny, {
|
|
3834
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3835
|
-
label: string;
|
|
3836
3834
|
id: string;
|
|
3835
|
+
label: string;
|
|
3836
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3837
3837
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3838
3838
|
locator?: string | undefined;
|
|
3839
3839
|
}, {
|
|
3840
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3841
|
-
label: string;
|
|
3842
3840
|
id: string;
|
|
3841
|
+
label: string;
|
|
3842
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3843
3843
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3844
3844
|
locator?: string | undefined;
|
|
3845
3845
|
}>, "many">>;
|
|
@@ -3852,9 +3852,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3852
3852
|
agentId: string;
|
|
3853
3853
|
sessionId: string;
|
|
3854
3854
|
evidence: {
|
|
3855
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3856
|
-
label: string;
|
|
3857
3855
|
id: string;
|
|
3856
|
+
label: string;
|
|
3857
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3858
3858
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3859
3859
|
locator?: string | undefined;
|
|
3860
3860
|
}[];
|
|
@@ -3870,9 +3870,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3870
3870
|
recallReceiptId: string;
|
|
3871
3871
|
capturedAtAction: boolean;
|
|
3872
3872
|
evidence?: {
|
|
3873
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3874
|
-
label: string;
|
|
3875
3873
|
id: string;
|
|
3874
|
+
label: string;
|
|
3875
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3876
3876
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3877
3877
|
locator?: string | undefined;
|
|
3878
3878
|
}[] | undefined;
|
|
@@ -3888,15 +3888,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3888
3888
|
locator: z.ZodOptional<z.ZodString>;
|
|
3889
3889
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3890
3890
|
}, "strict", z.ZodTypeAny, {
|
|
3891
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3892
|
-
label: string;
|
|
3893
3891
|
id: string;
|
|
3892
|
+
label: string;
|
|
3893
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3894
3894
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3895
3895
|
locator?: string | undefined;
|
|
3896
3896
|
}, {
|
|
3897
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3898
|
-
label: string;
|
|
3899
3897
|
id: string;
|
|
3898
|
+
label: string;
|
|
3899
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3900
3900
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3901
3901
|
locator?: string | undefined;
|
|
3902
3902
|
}>, "many">>;
|
|
@@ -3908,9 +3908,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3908
3908
|
agentId: string;
|
|
3909
3909
|
sessionId: string;
|
|
3910
3910
|
evidence: {
|
|
3911
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3912
|
-
label: string;
|
|
3913
3911
|
id: string;
|
|
3912
|
+
label: string;
|
|
3913
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3914
3914
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3915
3915
|
locator?: string | undefined;
|
|
3916
3916
|
}[];
|
|
@@ -3927,9 +3927,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3927
3927
|
recallReceiptId: string;
|
|
3928
3928
|
staleDecisionAbsent: boolean;
|
|
3929
3929
|
evidence?: {
|
|
3930
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3931
|
-
label: string;
|
|
3932
3930
|
id: string;
|
|
3931
|
+
label: string;
|
|
3932
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3933
3933
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3934
3934
|
locator?: string | undefined;
|
|
3935
3935
|
}[] | undefined;
|
|
@@ -3944,37 +3944,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3944
3944
|
locator: z.ZodOptional<z.ZodString>;
|
|
3945
3945
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3946
3946
|
}, "strict", z.ZodTypeAny, {
|
|
3947
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3948
|
-
label: string;
|
|
3949
3947
|
id: string;
|
|
3948
|
+
label: string;
|
|
3949
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3950
3950
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3951
3951
|
locator?: string | undefined;
|
|
3952
3952
|
}, {
|
|
3953
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3954
|
-
label: string;
|
|
3955
3953
|
id: string;
|
|
3954
|
+
label: string;
|
|
3955
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3956
3956
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3957
3957
|
locator?: string | undefined;
|
|
3958
3958
|
}>, "many">>;
|
|
3959
3959
|
}, "strict", z.ZodTypeAny, {
|
|
3960
|
-
kind: "mission_completed";
|
|
3961
3960
|
summary: string;
|
|
3961
|
+
kind: "mission_completed";
|
|
3962
3962
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3963
3963
|
evidence: {
|
|
3964
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3965
|
-
label: string;
|
|
3966
3964
|
id: string;
|
|
3965
|
+
label: string;
|
|
3966
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3967
3967
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3968
3968
|
locator?: string | undefined;
|
|
3969
3969
|
}[];
|
|
3970
3970
|
}, {
|
|
3971
|
-
kind: "mission_completed";
|
|
3972
3971
|
summary: string;
|
|
3972
|
+
kind: "mission_completed";
|
|
3973
3973
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3974
3974
|
evidence?: {
|
|
3975
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3976
|
-
label: string;
|
|
3977
3975
|
id: string;
|
|
3976
|
+
label: string;
|
|
3977
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3978
3978
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3979
3979
|
locator?: string | undefined;
|
|
3980
3980
|
}[] | undefined;
|
|
@@ -3982,38 +3982,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3982
3982
|
kind: "mission_started";
|
|
3983
3983
|
title: string;
|
|
3984
3984
|
evidence: {
|
|
3985
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3986
|
-
label: string;
|
|
3987
3985
|
id: string;
|
|
3986
|
+
label: string;
|
|
3987
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3988
3988
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3989
3989
|
locator?: string | undefined;
|
|
3990
3990
|
}[];
|
|
3991
3991
|
objective: string;
|
|
3992
3992
|
runMode: "replay" | "fixture" | "live";
|
|
3993
3993
|
} | {
|
|
3994
|
-
kind: "agent_status";
|
|
3995
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3996
3994
|
label: string;
|
|
3995
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3996
|
+
kind: "agent_status";
|
|
3997
3997
|
role: string;
|
|
3998
3998
|
agentId: string;
|
|
3999
3999
|
sessionId: string;
|
|
4000
4000
|
evidence: {
|
|
4001
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4002
|
-
label: string;
|
|
4003
4001
|
id: string;
|
|
4002
|
+
label: string;
|
|
4003
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4004
4004
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4005
4005
|
locator?: string | undefined;
|
|
4006
4006
|
}[];
|
|
4007
4007
|
detail?: string | undefined;
|
|
4008
4008
|
} | {
|
|
4009
|
-
kind: "agent_output";
|
|
4010
4009
|
summary: string;
|
|
4010
|
+
kind: "agent_output";
|
|
4011
4011
|
agentId: string;
|
|
4012
4012
|
sessionId: string;
|
|
4013
4013
|
evidence: {
|
|
4014
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4015
|
-
label: string;
|
|
4016
4014
|
id: string;
|
|
4015
|
+
label: string;
|
|
4016
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4017
4017
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4018
4018
|
locator?: string | undefined;
|
|
4019
4019
|
}[];
|
|
@@ -4024,9 +4024,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4024
4024
|
statement: string;
|
|
4025
4025
|
sessionId: string;
|
|
4026
4026
|
evidence: {
|
|
4027
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4028
|
-
label: string;
|
|
4029
4027
|
id: string;
|
|
4028
|
+
label: string;
|
|
4029
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4030
4030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4031
4031
|
locator?: string | undefined;
|
|
4032
4032
|
}[];
|
|
@@ -4034,12 +4034,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4034
4034
|
decisionId: string;
|
|
4035
4035
|
confidence?: number | undefined;
|
|
4036
4036
|
} | {
|
|
4037
|
-
kind: "conflict_detected";
|
|
4038
4037
|
summary: string;
|
|
4038
|
+
kind: "conflict_detected";
|
|
4039
4039
|
evidence: {
|
|
4040
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4041
|
-
label: string;
|
|
4042
4040
|
id: string;
|
|
4041
|
+
label: string;
|
|
4042
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4043
4043
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4044
4044
|
locator?: string | undefined;
|
|
4045
4045
|
}[];
|
|
@@ -4047,14 +4047,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4047
4047
|
decisionIds: string[];
|
|
4048
4048
|
agentIds: string[];
|
|
4049
4049
|
} | {
|
|
4050
|
-
kind: "test_result";
|
|
4051
4050
|
summary: string;
|
|
4052
4051
|
status: "error" | "failed" | "passed";
|
|
4052
|
+
kind: "test_result";
|
|
4053
4053
|
command: string;
|
|
4054
4054
|
evidence: {
|
|
4055
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4056
|
-
label: string;
|
|
4057
4055
|
id: string;
|
|
4056
|
+
label: string;
|
|
4057
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4058
4058
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4059
4059
|
locator?: string | undefined;
|
|
4060
4060
|
}[];
|
|
@@ -4067,9 +4067,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4067
4067
|
statement: string;
|
|
4068
4068
|
rationale: string;
|
|
4069
4069
|
evidence: {
|
|
4070
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4071
|
-
label: string;
|
|
4072
4070
|
id: string;
|
|
4071
|
+
label: string;
|
|
4072
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4073
4073
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4074
4074
|
locator?: string | undefined;
|
|
4075
4075
|
}[];
|
|
@@ -4081,25 +4081,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4081
4081
|
} | {
|
|
4082
4082
|
kind: "correction_approved";
|
|
4083
4083
|
evidence: {
|
|
4084
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4085
|
-
label: string;
|
|
4086
4084
|
id: string;
|
|
4085
|
+
label: string;
|
|
4086
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4087
4087
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4088
4088
|
locator?: string | undefined;
|
|
4089
4089
|
}[];
|
|
4090
4090
|
correctionId: string;
|
|
4091
4091
|
approvedBy: {
|
|
4092
|
-
kind: "agent" | "human";
|
|
4093
|
-
label: string;
|
|
4094
4092
|
id: string;
|
|
4093
|
+
label: string;
|
|
4094
|
+
kind: "agent" | "human";
|
|
4095
4095
|
};
|
|
4096
4096
|
note?: string | undefined;
|
|
4097
4097
|
} | {
|
|
4098
4098
|
kind: "decision_superseded";
|
|
4099
4099
|
evidence: {
|
|
4100
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4101
|
-
label: string;
|
|
4102
4100
|
id: string;
|
|
4101
|
+
label: string;
|
|
4102
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4103
4103
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4104
4104
|
locator?: string | undefined;
|
|
4105
4105
|
}[];
|
|
@@ -4112,9 +4112,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4112
4112
|
agentId: string;
|
|
4113
4113
|
sessionId: string;
|
|
4114
4114
|
evidence: {
|
|
4115
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4116
|
-
label: string;
|
|
4117
4115
|
id: string;
|
|
4116
|
+
label: string;
|
|
4117
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4118
4118
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4119
4119
|
locator?: string | undefined;
|
|
4120
4120
|
}[];
|
|
@@ -4126,9 +4126,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4126
4126
|
agentId: string;
|
|
4127
4127
|
sessionId: string;
|
|
4128
4128
|
evidence: {
|
|
4129
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4130
|
-
label: string;
|
|
4131
4129
|
id: string;
|
|
4130
|
+
label: string;
|
|
4131
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4132
4132
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4133
4133
|
locator?: string | undefined;
|
|
4134
4134
|
}[];
|
|
@@ -4137,13 +4137,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4137
4137
|
recallReceiptId: string;
|
|
4138
4138
|
staleDecisionAbsent: boolean;
|
|
4139
4139
|
} | {
|
|
4140
|
-
kind: "mission_completed";
|
|
4141
4140
|
summary: string;
|
|
4141
|
+
kind: "mission_completed";
|
|
4142
4142
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4143
4143
|
evidence: {
|
|
4144
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4145
|
-
label: string;
|
|
4146
4144
|
id: string;
|
|
4145
|
+
label: string;
|
|
4146
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4147
4147
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4148
4148
|
locator?: string | undefined;
|
|
4149
4149
|
}[];
|
|
@@ -4153,37 +4153,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4153
4153
|
objective: string;
|
|
4154
4154
|
runMode: "replay" | "fixture" | "live";
|
|
4155
4155
|
evidence?: {
|
|
4156
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4157
|
-
label: string;
|
|
4158
4156
|
id: string;
|
|
4157
|
+
label: string;
|
|
4158
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4159
4159
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4160
4160
|
locator?: string | undefined;
|
|
4161
4161
|
}[] | undefined;
|
|
4162
4162
|
} | {
|
|
4163
|
-
kind: "agent_status";
|
|
4164
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4165
4163
|
label: string;
|
|
4164
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4165
|
+
kind: "agent_status";
|
|
4166
4166
|
role: string;
|
|
4167
4167
|
agentId: string;
|
|
4168
4168
|
sessionId: string;
|
|
4169
4169
|
detail?: string | undefined;
|
|
4170
4170
|
evidence?: {
|
|
4171
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4172
|
-
label: string;
|
|
4173
4171
|
id: string;
|
|
4172
|
+
label: string;
|
|
4173
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4174
4174
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4175
4175
|
locator?: string | undefined;
|
|
4176
4176
|
}[] | undefined;
|
|
4177
4177
|
} | {
|
|
4178
|
-
kind: "agent_output";
|
|
4179
4178
|
summary: string;
|
|
4179
|
+
kind: "agent_output";
|
|
4180
4180
|
agentId: string;
|
|
4181
4181
|
sessionId: string;
|
|
4182
4182
|
outputId: string;
|
|
4183
4183
|
evidence?: {
|
|
4184
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4185
|
-
label: string;
|
|
4186
4184
|
id: string;
|
|
4185
|
+
label: string;
|
|
4186
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4187
4187
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4188
4188
|
locator?: string | undefined;
|
|
4189
4189
|
}[] | undefined;
|
|
@@ -4196,37 +4196,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4196
4196
|
decisionId: string;
|
|
4197
4197
|
confidence?: number | undefined;
|
|
4198
4198
|
evidence?: {
|
|
4199
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4200
|
-
label: string;
|
|
4201
4199
|
id: string;
|
|
4200
|
+
label: string;
|
|
4201
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4202
4202
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4203
4203
|
locator?: string | undefined;
|
|
4204
4204
|
}[] | undefined;
|
|
4205
4205
|
} | {
|
|
4206
|
-
kind: "conflict_detected";
|
|
4207
4206
|
summary: string;
|
|
4207
|
+
kind: "conflict_detected";
|
|
4208
4208
|
conflictId: string;
|
|
4209
4209
|
decisionIds: string[];
|
|
4210
4210
|
agentIds: string[];
|
|
4211
4211
|
evidence?: {
|
|
4212
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4213
|
-
label: string;
|
|
4214
4212
|
id: string;
|
|
4213
|
+
label: string;
|
|
4214
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4215
4215
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4216
4216
|
locator?: string | undefined;
|
|
4217
4217
|
}[] | undefined;
|
|
4218
4218
|
} | {
|
|
4219
|
-
kind: "test_result";
|
|
4220
4219
|
summary: string;
|
|
4221
4220
|
status: "error" | "failed" | "passed";
|
|
4221
|
+
kind: "test_result";
|
|
4222
4222
|
command: string;
|
|
4223
4223
|
decisionId: string;
|
|
4224
4224
|
testId: string;
|
|
4225
4225
|
durationMs?: number | undefined;
|
|
4226
4226
|
evidence?: {
|
|
4227
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4228
|
-
label: string;
|
|
4229
4227
|
id: string;
|
|
4228
|
+
label: string;
|
|
4229
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4230
4230
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4231
4231
|
locator?: string | undefined;
|
|
4232
4232
|
}[] | undefined;
|
|
@@ -4241,9 +4241,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4241
4241
|
supersedesDecisionIds: string[];
|
|
4242
4242
|
proposedBy: string;
|
|
4243
4243
|
evidence?: {
|
|
4244
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4245
|
-
label: string;
|
|
4246
4244
|
id: string;
|
|
4245
|
+
label: string;
|
|
4246
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4247
4247
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4248
4248
|
locator?: string | undefined;
|
|
4249
4249
|
}[] | undefined;
|
|
@@ -4251,15 +4251,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4251
4251
|
kind: "correction_approved";
|
|
4252
4252
|
correctionId: string;
|
|
4253
4253
|
approvedBy: {
|
|
4254
|
-
kind: "agent" | "human";
|
|
4255
|
-
label: string;
|
|
4256
4254
|
id: string;
|
|
4255
|
+
label: string;
|
|
4256
|
+
kind: "agent" | "human";
|
|
4257
4257
|
};
|
|
4258
4258
|
note?: string | undefined;
|
|
4259
4259
|
evidence?: {
|
|
4260
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4261
|
-
label: string;
|
|
4262
4260
|
id: string;
|
|
4261
|
+
label: string;
|
|
4262
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4263
4263
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4264
4264
|
locator?: string | undefined;
|
|
4265
4265
|
}[] | undefined;
|
|
@@ -4269,9 +4269,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4269
4269
|
correctionId: string;
|
|
4270
4270
|
replacementDecisionId: string;
|
|
4271
4271
|
evidence?: {
|
|
4272
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4273
|
-
label: string;
|
|
4274
4272
|
id: string;
|
|
4273
|
+
label: string;
|
|
4274
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4275
4275
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4276
4276
|
locator?: string | undefined;
|
|
4277
4277
|
}[] | undefined;
|
|
@@ -4284,9 +4284,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4284
4284
|
recallReceiptId: string;
|
|
4285
4285
|
capturedAtAction: boolean;
|
|
4286
4286
|
evidence?: {
|
|
4287
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4288
|
-
label: string;
|
|
4289
4287
|
id: string;
|
|
4288
|
+
label: string;
|
|
4289
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4290
4290
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4291
4291
|
locator?: string | undefined;
|
|
4292
4292
|
}[] | undefined;
|
|
@@ -4299,63 +4299,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4299
4299
|
recallReceiptId: string;
|
|
4300
4300
|
staleDecisionAbsent: boolean;
|
|
4301
4301
|
evidence?: {
|
|
4302
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4303
|
-
label: string;
|
|
4304
4302
|
id: string;
|
|
4303
|
+
label: string;
|
|
4304
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4305
4305
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4306
4306
|
locator?: string | undefined;
|
|
4307
4307
|
}[] | undefined;
|
|
4308
4308
|
} | {
|
|
4309
|
-
kind: "mission_completed";
|
|
4310
4309
|
summary: string;
|
|
4310
|
+
kind: "mission_completed";
|
|
4311
4311
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4312
4312
|
evidence?: {
|
|
4313
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4314
|
-
label: string;
|
|
4315
4313
|
id: string;
|
|
4314
|
+
label: string;
|
|
4315
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4316
4316
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4317
4317
|
locator?: string | undefined;
|
|
4318
4318
|
}[] | undefined;
|
|
4319
4319
|
}>;
|
|
4320
4320
|
}, "strict", z.ZodTypeAny, {
|
|
4321
|
-
|
|
4321
|
+
namespace: string;
|
|
4322
4322
|
recordedAt: string;
|
|
4323
|
+
schemaVersion: "1";
|
|
4323
4324
|
payload: {
|
|
4324
4325
|
kind: "mission_started";
|
|
4325
4326
|
title: string;
|
|
4326
4327
|
evidence: {
|
|
4327
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4328
|
-
label: string;
|
|
4329
4328
|
id: string;
|
|
4329
|
+
label: string;
|
|
4330
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4330
4331
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4331
4332
|
locator?: string | undefined;
|
|
4332
4333
|
}[];
|
|
4333
4334
|
objective: string;
|
|
4334
4335
|
runMode: "replay" | "fixture" | "live";
|
|
4335
4336
|
} | {
|
|
4336
|
-
kind: "agent_status";
|
|
4337
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4338
4337
|
label: string;
|
|
4338
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4339
|
+
kind: "agent_status";
|
|
4339
4340
|
role: string;
|
|
4340
4341
|
agentId: string;
|
|
4341
4342
|
sessionId: string;
|
|
4342
4343
|
evidence: {
|
|
4343
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4344
|
-
label: string;
|
|
4345
4344
|
id: string;
|
|
4345
|
+
label: string;
|
|
4346
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4346
4347
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4347
4348
|
locator?: string | undefined;
|
|
4348
4349
|
}[];
|
|
4349
4350
|
detail?: string | undefined;
|
|
4350
4351
|
} | {
|
|
4351
|
-
kind: "agent_output";
|
|
4352
4352
|
summary: string;
|
|
4353
|
+
kind: "agent_output";
|
|
4353
4354
|
agentId: string;
|
|
4354
4355
|
sessionId: string;
|
|
4355
4356
|
evidence: {
|
|
4356
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4357
|
-
label: string;
|
|
4358
4357
|
id: string;
|
|
4358
|
+
label: string;
|
|
4359
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4359
4360
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4360
4361
|
locator?: string | undefined;
|
|
4361
4362
|
}[];
|
|
@@ -4366,9 +4367,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4366
4367
|
statement: string;
|
|
4367
4368
|
sessionId: string;
|
|
4368
4369
|
evidence: {
|
|
4369
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4370
|
-
label: string;
|
|
4371
4370
|
id: string;
|
|
4371
|
+
label: string;
|
|
4372
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4372
4373
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4373
4374
|
locator?: string | undefined;
|
|
4374
4375
|
}[];
|
|
@@ -4376,12 +4377,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4376
4377
|
decisionId: string;
|
|
4377
4378
|
confidence?: number | undefined;
|
|
4378
4379
|
} | {
|
|
4379
|
-
kind: "conflict_detected";
|
|
4380
4380
|
summary: string;
|
|
4381
|
+
kind: "conflict_detected";
|
|
4381
4382
|
evidence: {
|
|
4382
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4383
|
-
label: string;
|
|
4384
4383
|
id: string;
|
|
4384
|
+
label: string;
|
|
4385
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4385
4386
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4386
4387
|
locator?: string | undefined;
|
|
4387
4388
|
}[];
|
|
@@ -4389,14 +4390,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4389
4390
|
decisionIds: string[];
|
|
4390
4391
|
agentIds: string[];
|
|
4391
4392
|
} | {
|
|
4392
|
-
kind: "test_result";
|
|
4393
4393
|
summary: string;
|
|
4394
4394
|
status: "error" | "failed" | "passed";
|
|
4395
|
+
kind: "test_result";
|
|
4395
4396
|
command: string;
|
|
4396
4397
|
evidence: {
|
|
4397
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4398
|
-
label: string;
|
|
4399
4398
|
id: string;
|
|
4399
|
+
label: string;
|
|
4400
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4400
4401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4401
4402
|
locator?: string | undefined;
|
|
4402
4403
|
}[];
|
|
@@ -4409,9 +4410,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4409
4410
|
statement: string;
|
|
4410
4411
|
rationale: string;
|
|
4411
4412
|
evidence: {
|
|
4412
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4413
|
-
label: string;
|
|
4414
4413
|
id: string;
|
|
4414
|
+
label: string;
|
|
4415
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4415
4416
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4416
4417
|
locator?: string | undefined;
|
|
4417
4418
|
}[];
|
|
@@ -4423,25 +4424,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4423
4424
|
} | {
|
|
4424
4425
|
kind: "correction_approved";
|
|
4425
4426
|
evidence: {
|
|
4426
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4427
|
-
label: string;
|
|
4428
4427
|
id: string;
|
|
4428
|
+
label: string;
|
|
4429
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4429
4430
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4430
4431
|
locator?: string | undefined;
|
|
4431
4432
|
}[];
|
|
4432
4433
|
correctionId: string;
|
|
4433
4434
|
approvedBy: {
|
|
4434
|
-
kind: "agent" | "human";
|
|
4435
|
-
label: string;
|
|
4436
4435
|
id: string;
|
|
4436
|
+
label: string;
|
|
4437
|
+
kind: "agent" | "human";
|
|
4437
4438
|
};
|
|
4438
4439
|
note?: string | undefined;
|
|
4439
4440
|
} | {
|
|
4440
4441
|
kind: "decision_superseded";
|
|
4441
4442
|
evidence: {
|
|
4442
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4443
|
-
label: string;
|
|
4444
4443
|
id: string;
|
|
4444
|
+
label: string;
|
|
4445
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4445
4446
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4446
4447
|
locator?: string | undefined;
|
|
4447
4448
|
}[];
|
|
@@ -4454,9 +4455,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4454
4455
|
agentId: string;
|
|
4455
4456
|
sessionId: string;
|
|
4456
4457
|
evidence: {
|
|
4457
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4458
|
-
label: string;
|
|
4459
4458
|
id: string;
|
|
4459
|
+
label: string;
|
|
4460
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4460
4461
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4461
4462
|
locator?: string | undefined;
|
|
4462
4463
|
}[];
|
|
@@ -4468,9 +4469,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4468
4469
|
agentId: string;
|
|
4469
4470
|
sessionId: string;
|
|
4470
4471
|
evidence: {
|
|
4471
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4472
|
-
label: string;
|
|
4473
4472
|
id: string;
|
|
4473
|
+
label: string;
|
|
4474
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4474
4475
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4475
4476
|
locator?: string | undefined;
|
|
4476
4477
|
}[];
|
|
@@ -4479,63 +4480,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4479
4480
|
recallReceiptId: string;
|
|
4480
4481
|
staleDecisionAbsent: boolean;
|
|
4481
4482
|
} | {
|
|
4482
|
-
kind: "mission_completed";
|
|
4483
4483
|
summary: string;
|
|
4484
|
+
kind: "mission_completed";
|
|
4484
4485
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4485
4486
|
evidence: {
|
|
4486
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4487
|
-
label: string;
|
|
4488
4487
|
id: string;
|
|
4488
|
+
label: string;
|
|
4489
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4489
4490
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4490
4491
|
locator?: string | undefined;
|
|
4491
4492
|
}[];
|
|
4492
4493
|
};
|
|
4493
|
-
namespace: string;
|
|
4494
4494
|
eventId: string;
|
|
4495
4495
|
occurredAt: string;
|
|
4496
4496
|
missionId: string;
|
|
4497
4497
|
authenticatedPrincipal?: string | undefined;
|
|
4498
4498
|
idempotencyKey?: string | undefined;
|
|
4499
4499
|
}, {
|
|
4500
|
-
|
|
4500
|
+
namespace: string;
|
|
4501
4501
|
recordedAt: string;
|
|
4502
|
+
schemaVersion: "1";
|
|
4502
4503
|
payload: {
|
|
4503
4504
|
kind: "mission_started";
|
|
4504
4505
|
title: string;
|
|
4505
4506
|
objective: string;
|
|
4506
4507
|
runMode: "replay" | "fixture" | "live";
|
|
4507
4508
|
evidence?: {
|
|
4508
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4509
|
-
label: string;
|
|
4510
4509
|
id: string;
|
|
4510
|
+
label: string;
|
|
4511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4511
4512
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4512
4513
|
locator?: string | undefined;
|
|
4513
4514
|
}[] | undefined;
|
|
4514
4515
|
} | {
|
|
4515
|
-
kind: "agent_status";
|
|
4516
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4517
4516
|
label: string;
|
|
4517
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4518
|
+
kind: "agent_status";
|
|
4518
4519
|
role: string;
|
|
4519
4520
|
agentId: string;
|
|
4520
4521
|
sessionId: string;
|
|
4521
4522
|
detail?: string | undefined;
|
|
4522
4523
|
evidence?: {
|
|
4523
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4524
|
-
label: string;
|
|
4525
4524
|
id: string;
|
|
4525
|
+
label: string;
|
|
4526
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4526
4527
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4527
4528
|
locator?: string | undefined;
|
|
4528
4529
|
}[] | undefined;
|
|
4529
4530
|
} | {
|
|
4530
|
-
kind: "agent_output";
|
|
4531
4531
|
summary: string;
|
|
4532
|
+
kind: "agent_output";
|
|
4532
4533
|
agentId: string;
|
|
4533
4534
|
sessionId: string;
|
|
4534
4535
|
outputId: string;
|
|
4535
4536
|
evidence?: {
|
|
4536
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4537
|
-
label: string;
|
|
4538
4537
|
id: string;
|
|
4538
|
+
label: string;
|
|
4539
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4539
4540
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4540
4541
|
locator?: string | undefined;
|
|
4541
4542
|
}[] | undefined;
|
|
@@ -4548,37 +4549,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4548
4549
|
decisionId: string;
|
|
4549
4550
|
confidence?: number | undefined;
|
|
4550
4551
|
evidence?: {
|
|
4551
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4552
|
-
label: string;
|
|
4553
4552
|
id: string;
|
|
4553
|
+
label: string;
|
|
4554
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4554
4555
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4555
4556
|
locator?: string | undefined;
|
|
4556
4557
|
}[] | undefined;
|
|
4557
4558
|
} | {
|
|
4558
|
-
kind: "conflict_detected";
|
|
4559
4559
|
summary: string;
|
|
4560
|
+
kind: "conflict_detected";
|
|
4560
4561
|
conflictId: string;
|
|
4561
4562
|
decisionIds: string[];
|
|
4562
4563
|
agentIds: string[];
|
|
4563
4564
|
evidence?: {
|
|
4564
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4565
|
-
label: string;
|
|
4566
4565
|
id: string;
|
|
4566
|
+
label: string;
|
|
4567
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4567
4568
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4568
4569
|
locator?: string | undefined;
|
|
4569
4570
|
}[] | undefined;
|
|
4570
4571
|
} | {
|
|
4571
|
-
kind: "test_result";
|
|
4572
4572
|
summary: string;
|
|
4573
4573
|
status: "error" | "failed" | "passed";
|
|
4574
|
+
kind: "test_result";
|
|
4574
4575
|
command: string;
|
|
4575
4576
|
decisionId: string;
|
|
4576
4577
|
testId: string;
|
|
4577
4578
|
durationMs?: number | undefined;
|
|
4578
4579
|
evidence?: {
|
|
4579
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4580
|
-
label: string;
|
|
4581
4580
|
id: string;
|
|
4581
|
+
label: string;
|
|
4582
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4582
4583
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4583
4584
|
locator?: string | undefined;
|
|
4584
4585
|
}[] | undefined;
|
|
@@ -4593,9 +4594,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4593
4594
|
supersedesDecisionIds: string[];
|
|
4594
4595
|
proposedBy: string;
|
|
4595
4596
|
evidence?: {
|
|
4596
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4597
|
-
label: string;
|
|
4598
4597
|
id: string;
|
|
4598
|
+
label: string;
|
|
4599
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4599
4600
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4600
4601
|
locator?: string | undefined;
|
|
4601
4602
|
}[] | undefined;
|
|
@@ -4603,15 +4604,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4603
4604
|
kind: "correction_approved";
|
|
4604
4605
|
correctionId: string;
|
|
4605
4606
|
approvedBy: {
|
|
4606
|
-
kind: "agent" | "human";
|
|
4607
|
-
label: string;
|
|
4608
4607
|
id: string;
|
|
4608
|
+
label: string;
|
|
4609
|
+
kind: "agent" | "human";
|
|
4609
4610
|
};
|
|
4610
4611
|
note?: string | undefined;
|
|
4611
4612
|
evidence?: {
|
|
4612
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4613
|
-
label: string;
|
|
4614
4613
|
id: string;
|
|
4614
|
+
label: string;
|
|
4615
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4615
4616
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4616
4617
|
locator?: string | undefined;
|
|
4617
4618
|
}[] | undefined;
|
|
@@ -4621,9 +4622,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4621
4622
|
correctionId: string;
|
|
4622
4623
|
replacementDecisionId: string;
|
|
4623
4624
|
evidence?: {
|
|
4624
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4625
|
-
label: string;
|
|
4626
4625
|
id: string;
|
|
4626
|
+
label: string;
|
|
4627
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4627
4628
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4628
4629
|
locator?: string | undefined;
|
|
4629
4630
|
}[] | undefined;
|
|
@@ -4636,9 +4637,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4636
4637
|
recallReceiptId: string;
|
|
4637
4638
|
capturedAtAction: boolean;
|
|
4638
4639
|
evidence?: {
|
|
4639
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4640
|
-
label: string;
|
|
4641
4640
|
id: string;
|
|
4641
|
+
label: string;
|
|
4642
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4642
4643
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4643
4644
|
locator?: string | undefined;
|
|
4644
4645
|
}[] | undefined;
|
|
@@ -4651,25 +4652,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4651
4652
|
recallReceiptId: string;
|
|
4652
4653
|
staleDecisionAbsent: boolean;
|
|
4653
4654
|
evidence?: {
|
|
4654
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4655
|
-
label: string;
|
|
4656
4655
|
id: string;
|
|
4656
|
+
label: string;
|
|
4657
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4657
4658
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4658
4659
|
locator?: string | undefined;
|
|
4659
4660
|
}[] | undefined;
|
|
4660
4661
|
} | {
|
|
4661
|
-
kind: "mission_completed";
|
|
4662
4662
|
summary: string;
|
|
4663
|
+
kind: "mission_completed";
|
|
4663
4664
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4664
4665
|
evidence?: {
|
|
4665
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4666
|
-
label: string;
|
|
4667
4666
|
id: string;
|
|
4667
|
+
label: string;
|
|
4668
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4668
4669
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4669
4670
|
locator?: string | undefined;
|
|
4670
4671
|
}[] | undefined;
|
|
4671
4672
|
};
|
|
4672
|
-
namespace: string;
|
|
4673
4673
|
eventId: string;
|
|
4674
4674
|
occurredAt: string;
|
|
4675
4675
|
missionId: string;
|
|
@@ -6723,8 +6723,8 @@ declare function detectScriptHints(text: string): ScriptHint[];
|
|
|
6723
6723
|
* no usable phrase remains.
|
|
6724
6724
|
*
|
|
6725
6725
|
* Internal whitespace matches any whitespace run, so a transcript that
|
|
6726
|
-
* breaks a phrase across a line still matches.
|
|
6727
|
-
*
|
|
6726
|
+
* breaks a phrase across a line still matches. Boundaries use the phrase
|
|
6727
|
+
* edge and adjacent-script pair. An attachable pair omits that boundary.
|
|
6728
6728
|
*/
|
|
6729
6729
|
declare function buildPhraseMatcher(phrases: readonly string[]): RegExp | null;
|
|
6730
6730
|
|