@remnic/core 9.46.1 → 9.46.2
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 +2 -2
- package/dist/access-admin-ops-surface.js +3 -2
- package/dist/access-authorization-probe.d.ts +2 -2
- package/dist/access-authorization-probe.js +4 -3
- package/dist/access-boundary.d.ts +2 -2
- package/dist/access-boundary.js +3 -2
- package/dist/access-cli.js +16 -16
- package/dist/access-extraction-force-flush.d.ts +2 -2
- package/dist/access-extraction-force-flush.js +3 -2
- package/dist/access-http-lcm-compaction.d.ts +2 -2
- package/dist/access-http-lcm-compaction.js +1 -1
- package/dist/access-http-lifecycle-flush.d.ts +2 -2
- package/dist/access-http-lifecycle-flush.js +2 -2
- package/dist/access-http-offline-stream.d.ts +2 -2
- package/dist/access-http-query.js +3 -2
- package/dist/access-http.d.ts +8 -2
- package/dist/access-http.js +11 -10
- package/dist/access-identity-continuity-surface.d.ts +1 -1
- package/dist/access-identity-continuity-surface.js +3 -2
- package/dist/access-lcm-surface.d.ts +2 -2
- package/dist/access-lcm-surface.js +3 -2
- package/dist/access-mcp.d.ts +2 -2
- package/dist/access-mcp.js +7 -6
- package/dist/access-memory-search-fanout.d.ts +163 -2
- package/dist/access-memory-search-fanout.js +20 -3
- package/dist/access-namespace-preflight.js +3 -2
- package/dist/access-observe-write-surface.d.ts +2 -2
- package/dist/access-observe-write-surface.js +3 -2
- package/dist/access-offline-manifest.d.ts +1 -1
- package/dist/access-operations-batch.js +4 -3
- package/dist/access-operations.d.ts +6 -5
- package/dist/access-operations.js +6 -5
- package/dist/access-recall-concurrency.d.ts +2 -2
- package/dist/access-recall-concurrency.js +3 -2
- package/dist/access-recall-response.d.ts +2 -2
- package/dist/access-recall-response.js +3 -2
- package/dist/access-recall-surface.d.ts +2 -2
- package/dist/access-recall-surface.js +3 -2
- package/dist/access-schema.d.ts +84 -84
- package/dist/{access-service-loJadYd7.d.ts → access-service-DNBYHK33.d.ts} +2 -1
- package/dist/access-service-helpers.d.ts +2 -2
- package/dist/access-service.d.ts +2 -2
- package/dist/access-service.js +3 -2
- package/dist/access-surface-catalog.d.ts +2 -2
- package/dist/access-surface-catalog.js +1 -0
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +2 -2
- package/dist/bootstrap.d.ts +1 -1
- package/dist/{chunk-WHWDBTCJ.js → chunk-74HN5QUH.js} +2 -2
- package/dist/{chunk-2DSUT7DZ.js → chunk-FQU3HTQM.js} +40 -11
- package/dist/chunk-FQU3HTQM.js.map +1 -0
- package/dist/{chunk-5LRDM4R7.js → chunk-G2L5IZV4.js} +7 -7
- package/dist/{chunk-TQZ4DVBC.js → chunk-GZ3R6XOE.js} +5 -2
- package/dist/chunk-GZ3R6XOE.js.map +1 -0
- package/dist/{chunk-5546W5SI.js → chunk-HLKPRWF4.js} +2 -2
- package/dist/chunk-IXEBUYO4.js +201 -0
- package/dist/chunk-IXEBUYO4.js.map +1 -0
- package/dist/{chunk-RCU25Z66.js → chunk-IXH2U2QT.js} +169 -58
- package/dist/chunk-IXH2U2QT.js.map +1 -0
- package/dist/{chunk-HJ3SVHUW.js → chunk-IZQ5TDFT.js} +9 -4
- package/dist/chunk-IZQ5TDFT.js.map +1 -0
- package/dist/{chunk-RVPTS4U5.js → chunk-JCNJIXZN.js} +2 -2
- package/dist/{chunk-5R6S4DJZ.js → chunk-N5XULCU3.js} +2 -2
- package/dist/{chunk-6H744ZBH.js → chunk-QISYTKG4.js} +2 -2
- package/dist/{chunk-AUMWZSE7.js → chunk-RN53QBM4.js} +4 -4
- package/dist/{chunk-M32URQXV.js → chunk-SIP5DBDN.js} +275 -334
- package/dist/chunk-SIP5DBDN.js.map +1 -0
- package/dist/{chunk-44N6ESJ4.js → chunk-TIDEL77O.js} +2 -2
- package/dist/{chunk-XBMJ35IP.js → chunk-VFZS2HAA.js} +4 -3
- package/dist/chunk-VFZS2HAA.js.map +1 -0
- package/dist/{cli-D_RcqXfZ.d.ts → cli-BWXSPxB9.d.ts} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +15 -15
- package/dist/config.js +2 -2
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/external-wiki-access.d.ts +2 -2
- package/dist/external-wiki-access.js +4 -3
- package/dist/external-wiki-mcp-tools.d.ts +2 -2
- package/dist/index.d.ts +680 -680
- package/dist/index.js +16 -16
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/operator-toolkit.js +3 -3
- package/dist/{orchestrator-LPGegii3.d.ts → orchestrator-CRR-6sVB.d.ts} +6 -0
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +17 -17
- package/dist/resume-bundles.js +3 -3
- package/dist/schemas.d.ts +76 -76
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/access-http-lcm-compaction.ts +3 -0
- package/src/access-http.test.ts +645 -0
- package/src/access-http.ts +55 -4
- package/src/access-mcp.ts +1 -0
- package/src/access-memory-search-fanout.ts +305 -2
- package/src/access-operations.ts +6 -0
- package/src/access-service-namespace.test.ts +146 -0
- package/src/access-service.ts +39 -40
- package/src/access-surface-catalog.ts +1 -0
- package/src/orchestration/generic-recall-paths.ts +116 -5
- package/dist/chunk-2DSUT7DZ.js.map +0 -1
- package/dist/chunk-7HXCF4RE.js +0 -72
- package/dist/chunk-7HXCF4RE.js.map +0 -1
- package/dist/chunk-HJ3SVHUW.js.map +0 -1
- package/dist/chunk-M32URQXV.js.map +0 -1
- package/dist/chunk-RCU25Z66.js.map +0 -1
- package/dist/chunk-TQZ4DVBC.js.map +0 -1
- package/dist/chunk-XBMJ35IP.js.map +0 -1
- /package/dist/{chunk-WHWDBTCJ.js.map → chunk-74HN5QUH.js.map} +0 -0
- /package/dist/{chunk-5LRDM4R7.js.map → chunk-G2L5IZV4.js.map} +0 -0
- /package/dist/{chunk-5546W5SI.js.map → chunk-HLKPRWF4.js.map} +0 -0
- /package/dist/{chunk-RVPTS4U5.js.map → chunk-JCNJIXZN.js.map} +0 -0
- /package/dist/{chunk-5R6S4DJZ.js.map → chunk-N5XULCU3.js.map} +0 -0
- /package/dist/{chunk-6H744ZBH.js.map → chunk-QISYTKG4.js.map} +0 -0
- /package/dist/{chunk-AUMWZSE7.js.map → chunk-RN53QBM4.js.map} +0 -0
- /package/dist/{chunk-44N6ESJ4.js.map → chunk-TIDEL77O.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
|
|
|
4
4
|
export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
|
|
5
5
|
export { runExternalWikiCliCommand } from './external-wiki-cli.js';
|
|
6
6
|
export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
|
|
7
|
-
export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-
|
|
7
|
+
export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-CRR-6sVB.js';
|
|
8
8
|
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
9
9
|
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
10
10
|
export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
|
|
@@ -29,8 +29,8 @@ export { bx as ActivityExtractionMode, aH as ActivitySourceConfig, u as AgentAcc
|
|
|
29
29
|
import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
|
|
30
30
|
export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
31
31
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
32
|
-
import { f as EngramAccessService } from './access-service-
|
|
33
|
-
export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-
|
|
32
|
+
import { f as EngramAccessService } from './access-service-DNBYHK33.js';
|
|
33
|
+
export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-DNBYHK33.js';
|
|
34
34
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
35
35
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
36
36
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -90,7 +90,7 @@ export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
|
|
|
90
90
|
export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
|
|
91
91
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
92
92
|
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-1h2GpiHP.js';
|
|
93
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
93
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BWXSPxB9.js';
|
|
94
94
|
import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-DJ0LDyuN.js';
|
|
95
95
|
export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-DJ0LDyuN.js';
|
|
96
96
|
import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DQrL93Uu.js';
|
|
@@ -886,15 +886,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
886
886
|
locator: z.ZodOptional<z.ZodString>;
|
|
887
887
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
888
888
|
}, "strict", z.ZodTypeAny, {
|
|
889
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
890
|
-
label: string;
|
|
891
889
|
id: string;
|
|
890
|
+
label: string;
|
|
891
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
892
892
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
893
893
|
locator?: string | undefined;
|
|
894
894
|
}, {
|
|
895
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
896
|
-
label: string;
|
|
897
895
|
id: string;
|
|
896
|
+
label: string;
|
|
897
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
898
898
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
899
899
|
locator?: string | undefined;
|
|
900
900
|
}>;
|
|
@@ -911,15 +911,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
911
911
|
locator: z.ZodOptional<z.ZodString>;
|
|
912
912
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
913
913
|
}, "strict", z.ZodTypeAny, {
|
|
914
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
915
|
-
label: string;
|
|
916
914
|
id: string;
|
|
915
|
+
label: string;
|
|
916
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
917
917
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
918
918
|
locator?: string | undefined;
|
|
919
919
|
}, {
|
|
920
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
921
|
-
label: string;
|
|
922
920
|
id: string;
|
|
921
|
+
label: string;
|
|
922
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
923
923
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
924
924
|
locator?: string | undefined;
|
|
925
925
|
}>, "many">>;
|
|
@@ -927,9 +927,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
927
927
|
kind: "mission_started";
|
|
928
928
|
title: string;
|
|
929
929
|
evidence: {
|
|
930
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
931
|
-
label: string;
|
|
932
930
|
id: string;
|
|
931
|
+
label: string;
|
|
932
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
933
933
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
934
934
|
locator?: string | undefined;
|
|
935
935
|
}[];
|
|
@@ -941,9 +941,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
941
941
|
objective: string;
|
|
942
942
|
runMode: "replay" | "fixture" | "live";
|
|
943
943
|
evidence?: {
|
|
944
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
945
|
-
label: string;
|
|
946
944
|
id: string;
|
|
945
|
+
label: string;
|
|
946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
947
947
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
948
948
|
locator?: string | undefined;
|
|
949
949
|
}[] | undefined;
|
|
@@ -959,15 +959,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
959
959
|
locator: z.ZodOptional<z.ZodString>;
|
|
960
960
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
961
961
|
}, "strict", z.ZodTypeAny, {
|
|
962
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
963
|
-
label: string;
|
|
964
962
|
id: string;
|
|
963
|
+
label: string;
|
|
964
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
965
965
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
966
966
|
locator?: string | undefined;
|
|
967
967
|
}, {
|
|
968
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
969
|
-
label: string;
|
|
970
968
|
id: string;
|
|
969
|
+
label: string;
|
|
970
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
971
971
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
972
972
|
locator?: string | undefined;
|
|
973
973
|
}>, "many">>;
|
|
@@ -975,32 +975,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
975
975
|
sessionId: z.ZodString;
|
|
976
976
|
kind: z.ZodLiteral<"agent_status">;
|
|
977
977
|
}, "strict", z.ZodTypeAny, {
|
|
978
|
-
kind: "agent_status";
|
|
979
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
980
978
|
label: string;
|
|
979
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
980
|
+
kind: "agent_status";
|
|
981
981
|
role: string;
|
|
982
982
|
agentId: string;
|
|
983
983
|
sessionId: string;
|
|
984
984
|
evidence: {
|
|
985
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
986
|
-
label: string;
|
|
987
985
|
id: string;
|
|
986
|
+
label: string;
|
|
987
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
988
988
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
989
989
|
locator?: string | undefined;
|
|
990
990
|
}[];
|
|
991
991
|
detail?: string | undefined;
|
|
992
992
|
}, {
|
|
993
|
-
kind: "agent_status";
|
|
994
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
995
993
|
label: string;
|
|
994
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
995
|
+
kind: "agent_status";
|
|
996
996
|
role: string;
|
|
997
997
|
agentId: string;
|
|
998
998
|
sessionId: string;
|
|
999
999
|
detail?: string | undefined;
|
|
1000
1000
|
evidence?: {
|
|
1001
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1002
|
-
label: string;
|
|
1003
1001
|
id: string;
|
|
1002
|
+
label: string;
|
|
1003
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1004
1004
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1005
1005
|
locator?: string | undefined;
|
|
1006
1006
|
}[] | undefined;
|
|
@@ -1014,15 +1014,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1014
1014
|
locator: z.ZodOptional<z.ZodString>;
|
|
1015
1015
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1016
1016
|
}, "strict", z.ZodTypeAny, {
|
|
1017
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1018
|
-
label: string;
|
|
1019
1017
|
id: string;
|
|
1018
|
+
label: string;
|
|
1019
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1020
1020
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1021
1021
|
locator?: string | undefined;
|
|
1022
1022
|
}, {
|
|
1023
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1024
|
-
label: string;
|
|
1025
1023
|
id: string;
|
|
1024
|
+
label: string;
|
|
1025
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1026
1026
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1027
1027
|
locator?: string | undefined;
|
|
1028
1028
|
}>, "many">>;
|
|
@@ -1030,28 +1030,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1030
1030
|
sessionId: z.ZodString;
|
|
1031
1031
|
kind: z.ZodLiteral<"agent_output">;
|
|
1032
1032
|
}, "strict", z.ZodTypeAny, {
|
|
1033
|
-
kind: "agent_output";
|
|
1034
1033
|
summary: string;
|
|
1034
|
+
kind: "agent_output";
|
|
1035
1035
|
agentId: string;
|
|
1036
1036
|
sessionId: string;
|
|
1037
1037
|
evidence: {
|
|
1038
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1039
|
-
label: string;
|
|
1040
1038
|
id: string;
|
|
1039
|
+
label: string;
|
|
1040
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1041
1041
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1042
1042
|
locator?: string | undefined;
|
|
1043
1043
|
}[];
|
|
1044
1044
|
outputId: string;
|
|
1045
1045
|
}, {
|
|
1046
|
-
kind: "agent_output";
|
|
1047
1046
|
summary: string;
|
|
1047
|
+
kind: "agent_output";
|
|
1048
1048
|
agentId: string;
|
|
1049
1049
|
sessionId: string;
|
|
1050
1050
|
outputId: string;
|
|
1051
1051
|
evidence?: {
|
|
1052
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1053
|
-
label: string;
|
|
1054
1052
|
id: string;
|
|
1053
|
+
label: string;
|
|
1054
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1055
1055
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1056
1056
|
locator?: string | undefined;
|
|
1057
1057
|
}[] | undefined;
|
|
@@ -1067,15 +1067,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1067
1067
|
locator: z.ZodOptional<z.ZodString>;
|
|
1068
1068
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1069
1069
|
}, "strict", z.ZodTypeAny, {
|
|
1070
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1071
|
-
label: string;
|
|
1072
1070
|
id: string;
|
|
1071
|
+
label: string;
|
|
1072
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1073
1073
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1074
1074
|
locator?: string | undefined;
|
|
1075
1075
|
}, {
|
|
1076
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1077
|
-
label: string;
|
|
1078
1076
|
id: string;
|
|
1077
|
+
label: string;
|
|
1078
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1079
1079
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1080
1080
|
locator?: string | undefined;
|
|
1081
1081
|
}>, "many">>;
|
|
@@ -1088,9 +1088,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1088
1088
|
statement: string;
|
|
1089
1089
|
sessionId: string;
|
|
1090
1090
|
evidence: {
|
|
1091
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1092
|
-
label: string;
|
|
1093
1091
|
id: string;
|
|
1092
|
+
label: string;
|
|
1093
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1094
1094
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1095
1095
|
locator?: string | undefined;
|
|
1096
1096
|
}[];
|
|
@@ -1106,9 +1106,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1106
1106
|
decisionId: string;
|
|
1107
1107
|
confidence?: number | undefined;
|
|
1108
1108
|
evidence?: {
|
|
1109
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1110
|
-
label: string;
|
|
1111
1109
|
id: string;
|
|
1110
|
+
label: string;
|
|
1111
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1112
1112
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1113
1113
|
locator?: string | undefined;
|
|
1114
1114
|
}[] | undefined;
|
|
@@ -1125,25 +1125,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1125
1125
|
locator: z.ZodOptional<z.ZodString>;
|
|
1126
1126
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1127
1127
|
}, "strict", z.ZodTypeAny, {
|
|
1128
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1129
|
-
label: string;
|
|
1130
1128
|
id: string;
|
|
1129
|
+
label: string;
|
|
1130
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1131
1131
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1132
1132
|
locator?: string | undefined;
|
|
1133
1133
|
}, {
|
|
1134
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1135
|
-
label: string;
|
|
1136
1134
|
id: string;
|
|
1135
|
+
label: string;
|
|
1136
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1137
1137
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1138
1138
|
locator?: string | undefined;
|
|
1139
1139
|
}>, "many">>;
|
|
1140
1140
|
}, "strict", z.ZodTypeAny, {
|
|
1141
|
-
kind: "conflict_detected";
|
|
1142
1141
|
summary: string;
|
|
1142
|
+
kind: "conflict_detected";
|
|
1143
1143
|
evidence: {
|
|
1144
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1145
|
-
label: string;
|
|
1146
1144
|
id: string;
|
|
1145
|
+
label: string;
|
|
1146
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1147
1147
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1148
1148
|
locator?: string | undefined;
|
|
1149
1149
|
}[];
|
|
@@ -1151,15 +1151,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1151
1151
|
decisionIds: string[];
|
|
1152
1152
|
agentIds: string[];
|
|
1153
1153
|
}, {
|
|
1154
|
-
kind: "conflict_detected";
|
|
1155
1154
|
summary: string;
|
|
1155
|
+
kind: "conflict_detected";
|
|
1156
1156
|
conflictId: string;
|
|
1157
1157
|
decisionIds: string[];
|
|
1158
1158
|
agentIds: string[];
|
|
1159
1159
|
evidence?: {
|
|
1160
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1161
|
-
label: string;
|
|
1162
1160
|
id: string;
|
|
1161
|
+
label: string;
|
|
1162
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1163
1163
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1164
1164
|
locator?: string | undefined;
|
|
1165
1165
|
}[] | undefined;
|
|
@@ -1179,27 +1179,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1179
1179
|
locator: z.ZodOptional<z.ZodString>;
|
|
1180
1180
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1181
1181
|
}, "strict", z.ZodTypeAny, {
|
|
1182
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1183
|
-
label: string;
|
|
1184
1182
|
id: string;
|
|
1183
|
+
label: string;
|
|
1184
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1185
1185
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1186
1186
|
locator?: string | undefined;
|
|
1187
1187
|
}, {
|
|
1188
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1189
|
-
label: string;
|
|
1190
1188
|
id: string;
|
|
1189
|
+
label: string;
|
|
1190
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1191
1191
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1192
1192
|
locator?: string | undefined;
|
|
1193
1193
|
}>, "many">>;
|
|
1194
1194
|
}, "strict", z.ZodTypeAny, {
|
|
1195
|
-
kind: "test_result";
|
|
1196
1195
|
summary: string;
|
|
1197
1196
|
status: "error" | "failed" | "passed";
|
|
1197
|
+
kind: "test_result";
|
|
1198
1198
|
command: string;
|
|
1199
1199
|
evidence: {
|
|
1200
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1201
|
-
label: string;
|
|
1202
1200
|
id: string;
|
|
1201
|
+
label: string;
|
|
1202
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1203
1203
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1204
1204
|
locator?: string | undefined;
|
|
1205
1205
|
}[];
|
|
@@ -1208,17 +1208,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1208
1208
|
durationMs?: number | undefined;
|
|
1209
1209
|
correctionId?: string | undefined;
|
|
1210
1210
|
}, {
|
|
1211
|
-
kind: "test_result";
|
|
1212
1211
|
summary: string;
|
|
1213
1212
|
status: "error" | "failed" | "passed";
|
|
1213
|
+
kind: "test_result";
|
|
1214
1214
|
command: string;
|
|
1215
1215
|
decisionId: string;
|
|
1216
1216
|
testId: string;
|
|
1217
1217
|
durationMs?: number | undefined;
|
|
1218
1218
|
evidence?: {
|
|
1219
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1220
|
-
label: string;
|
|
1221
1219
|
id: string;
|
|
1220
|
+
label: string;
|
|
1221
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1222
1222
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1223
1223
|
locator?: string | undefined;
|
|
1224
1224
|
}[] | undefined;
|
|
@@ -1239,15 +1239,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1239
1239
|
locator: z.ZodOptional<z.ZodString>;
|
|
1240
1240
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1241
1241
|
}, "strict", z.ZodTypeAny, {
|
|
1242
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1243
|
-
label: string;
|
|
1244
1242
|
id: string;
|
|
1243
|
+
label: string;
|
|
1244
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1245
1245
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1246
1246
|
locator?: string | undefined;
|
|
1247
1247
|
}, {
|
|
1248
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1249
|
-
label: string;
|
|
1250
1248
|
id: string;
|
|
1249
|
+
label: string;
|
|
1250
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1251
1251
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1252
1252
|
locator?: string | undefined;
|
|
1253
1253
|
}>, "many">>;
|
|
@@ -1256,9 +1256,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1256
1256
|
rationale: string;
|
|
1257
1257
|
statement: string;
|
|
1258
1258
|
evidence: {
|
|
1259
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1260
|
-
label: string;
|
|
1261
1259
|
id: string;
|
|
1260
|
+
label: string;
|
|
1261
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1262
1262
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1263
1263
|
locator?: string | undefined;
|
|
1264
1264
|
}[];
|
|
@@ -1277,9 +1277,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1277
1277
|
supersedesDecisionIds: string[];
|
|
1278
1278
|
proposedBy: string;
|
|
1279
1279
|
evidence?: {
|
|
1280
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1281
|
-
label: string;
|
|
1282
1280
|
id: string;
|
|
1281
|
+
label: string;
|
|
1282
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1283
1283
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1284
1284
|
locator?: string | undefined;
|
|
1285
1285
|
}[] | undefined;
|
|
@@ -1291,13 +1291,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1291
1291
|
id: z.ZodString;
|
|
1292
1292
|
label: z.ZodString;
|
|
1293
1293
|
}, "strict", z.ZodTypeAny, {
|
|
1294
|
-
kind: "agent" | "human";
|
|
1295
|
-
label: string;
|
|
1296
1294
|
id: string;
|
|
1297
|
-
}, {
|
|
1298
|
-
kind: "agent" | "human";
|
|
1299
1295
|
label: string;
|
|
1296
|
+
kind: "agent" | "human";
|
|
1297
|
+
}, {
|
|
1300
1298
|
id: string;
|
|
1299
|
+
label: string;
|
|
1300
|
+
kind: "agent" | "human";
|
|
1301
1301
|
}>;
|
|
1302
1302
|
note: z.ZodOptional<z.ZodString>;
|
|
1303
1303
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1307,47 +1307,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1307
1307
|
locator: z.ZodOptional<z.ZodString>;
|
|
1308
1308
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1309
1309
|
}, "strict", z.ZodTypeAny, {
|
|
1310
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1311
|
-
label: string;
|
|
1312
1310
|
id: string;
|
|
1311
|
+
label: string;
|
|
1312
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1313
1313
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1314
1314
|
locator?: string | undefined;
|
|
1315
1315
|
}, {
|
|
1316
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1317
|
-
label: string;
|
|
1318
1316
|
id: string;
|
|
1317
|
+
label: string;
|
|
1318
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1319
1319
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1320
1320
|
locator?: string | undefined;
|
|
1321
1321
|
}>, "many">>;
|
|
1322
1322
|
}, "strict", z.ZodTypeAny, {
|
|
1323
1323
|
kind: "correction_approved";
|
|
1324
1324
|
evidence: {
|
|
1325
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1326
|
-
label: string;
|
|
1327
1325
|
id: string;
|
|
1326
|
+
label: string;
|
|
1327
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1328
1328
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1329
1329
|
locator?: string | undefined;
|
|
1330
1330
|
}[];
|
|
1331
1331
|
correctionId: string;
|
|
1332
1332
|
approvedBy: {
|
|
1333
|
-
kind: "agent" | "human";
|
|
1334
|
-
label: string;
|
|
1335
1333
|
id: string;
|
|
1334
|
+
label: string;
|
|
1335
|
+
kind: "agent" | "human";
|
|
1336
1336
|
};
|
|
1337
1337
|
note?: string | undefined;
|
|
1338
1338
|
}, {
|
|
1339
1339
|
kind: "correction_approved";
|
|
1340
1340
|
correctionId: string;
|
|
1341
1341
|
approvedBy: {
|
|
1342
|
-
kind: "agent" | "human";
|
|
1343
|
-
label: string;
|
|
1344
1342
|
id: string;
|
|
1343
|
+
label: string;
|
|
1344
|
+
kind: "agent" | "human";
|
|
1345
1345
|
};
|
|
1346
1346
|
note?: string | undefined;
|
|
1347
1347
|
evidence?: {
|
|
1348
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1349
|
-
label: string;
|
|
1350
1348
|
id: string;
|
|
1349
|
+
label: string;
|
|
1350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1351
1351
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1352
1352
|
locator?: string | undefined;
|
|
1353
1353
|
}[] | undefined;
|
|
@@ -1363,24 +1363,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1363
1363
|
locator: z.ZodOptional<z.ZodString>;
|
|
1364
1364
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1365
1365
|
}, "strict", z.ZodTypeAny, {
|
|
1366
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1367
|
-
label: string;
|
|
1368
1366
|
id: string;
|
|
1367
|
+
label: string;
|
|
1368
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1369
1369
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1370
1370
|
locator?: string | undefined;
|
|
1371
1371
|
}, {
|
|
1372
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1373
|
-
label: string;
|
|
1374
1372
|
id: string;
|
|
1373
|
+
label: string;
|
|
1374
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1375
1375
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1376
1376
|
locator?: string | undefined;
|
|
1377
1377
|
}>, "many">>;
|
|
1378
1378
|
}, "strict", z.ZodTypeAny, {
|
|
1379
1379
|
kind: "decision_superseded";
|
|
1380
1380
|
evidence: {
|
|
1381
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1382
|
-
label: string;
|
|
1383
1381
|
id: string;
|
|
1382
|
+
label: string;
|
|
1383
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1384
1384
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1385
1385
|
locator?: string | undefined;
|
|
1386
1386
|
}[];
|
|
@@ -1393,9 +1393,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1393
1393
|
correctionId: string;
|
|
1394
1394
|
replacementDecisionId: string;
|
|
1395
1395
|
evidence?: {
|
|
1396
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1397
|
-
label: string;
|
|
1398
1396
|
id: string;
|
|
1397
|
+
label: string;
|
|
1398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1399
1399
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1400
1400
|
locator?: string | undefined;
|
|
1401
1401
|
}[] | undefined;
|
|
@@ -1411,15 +1411,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1411
1411
|
locator: z.ZodOptional<z.ZodString>;
|
|
1412
1412
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1413
1413
|
}, "strict", z.ZodTypeAny, {
|
|
1414
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1415
|
-
label: string;
|
|
1416
1414
|
id: string;
|
|
1415
|
+
label: string;
|
|
1416
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1417
1417
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1418
1418
|
locator?: string | undefined;
|
|
1419
1419
|
}, {
|
|
1420
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1421
|
-
label: string;
|
|
1422
1420
|
id: string;
|
|
1421
|
+
label: string;
|
|
1422
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1423
1423
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1424
1424
|
locator?: string | undefined;
|
|
1425
1425
|
}>, "many">>;
|
|
@@ -1432,9 +1432,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1432
1432
|
agentId: string;
|
|
1433
1433
|
sessionId: string;
|
|
1434
1434
|
evidence: {
|
|
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
|
}[];
|
|
@@ -1450,9 +1450,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1450
1450
|
recallReceiptId: string;
|
|
1451
1451
|
capturedAtAction: boolean;
|
|
1452
1452
|
evidence?: {
|
|
1453
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1454
|
-
label: string;
|
|
1455
1453
|
id: string;
|
|
1454
|
+
label: string;
|
|
1455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1456
1456
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1457
1457
|
locator?: string | undefined;
|
|
1458
1458
|
}[] | undefined;
|
|
@@ -1468,15 +1468,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1468
1468
|
locator: z.ZodOptional<z.ZodString>;
|
|
1469
1469
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1470
1470
|
}, "strict", z.ZodTypeAny, {
|
|
1471
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1472
|
-
label: string;
|
|
1473
1471
|
id: string;
|
|
1472
|
+
label: string;
|
|
1473
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1474
1474
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1475
1475
|
locator?: string | undefined;
|
|
1476
1476
|
}, {
|
|
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
|
}>, "many">>;
|
|
@@ -1488,9 +1488,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1488
1488
|
agentId: string;
|
|
1489
1489
|
sessionId: string;
|
|
1490
1490
|
evidence: {
|
|
1491
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1492
|
-
label: string;
|
|
1493
1491
|
id: string;
|
|
1492
|
+
label: string;
|
|
1493
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1494
1494
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1495
1495
|
locator?: string | undefined;
|
|
1496
1496
|
}[];
|
|
@@ -1507,9 +1507,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1507
1507
|
recallReceiptId: string;
|
|
1508
1508
|
staleDecisionAbsent: boolean;
|
|
1509
1509
|
evidence?: {
|
|
1510
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1511
|
-
label: string;
|
|
1512
1510
|
id: string;
|
|
1511
|
+
label: string;
|
|
1512
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1513
1513
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1514
1514
|
locator?: string | undefined;
|
|
1515
1515
|
}[] | undefined;
|
|
@@ -1524,37 +1524,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1524
1524
|
locator: z.ZodOptional<z.ZodString>;
|
|
1525
1525
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1526
1526
|
}, "strict", z.ZodTypeAny, {
|
|
1527
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1528
|
-
label: string;
|
|
1529
1527
|
id: string;
|
|
1528
|
+
label: string;
|
|
1529
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1530
1530
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1531
1531
|
locator?: string | undefined;
|
|
1532
1532
|
}, {
|
|
1533
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1534
|
-
label: string;
|
|
1535
1533
|
id: string;
|
|
1534
|
+
label: string;
|
|
1535
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1536
1536
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1537
1537
|
locator?: string | undefined;
|
|
1538
1538
|
}>, "many">>;
|
|
1539
1539
|
}, "strict", z.ZodTypeAny, {
|
|
1540
|
-
kind: "mission_completed";
|
|
1541
1540
|
summary: string;
|
|
1541
|
+
kind: "mission_completed";
|
|
1542
1542
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1543
1543
|
evidence: {
|
|
1544
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1545
|
-
label: string;
|
|
1546
1544
|
id: string;
|
|
1545
|
+
label: string;
|
|
1546
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1547
1547
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1548
1548
|
locator?: string | undefined;
|
|
1549
1549
|
}[];
|
|
1550
1550
|
}, {
|
|
1551
|
-
kind: "mission_completed";
|
|
1552
1551
|
summary: string;
|
|
1552
|
+
kind: "mission_completed";
|
|
1553
1553
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1554
1554
|
evidence?: {
|
|
1555
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1556
|
-
label: string;
|
|
1557
1555
|
id: string;
|
|
1556
|
+
label: string;
|
|
1557
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1558
1558
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1559
1559
|
locator?: string | undefined;
|
|
1560
1560
|
}[] | undefined;
|
|
@@ -1562,38 +1562,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1562
1562
|
kind: "mission_started";
|
|
1563
1563
|
title: string;
|
|
1564
1564
|
evidence: {
|
|
1565
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1566
|
-
label: string;
|
|
1567
1565
|
id: string;
|
|
1566
|
+
label: string;
|
|
1567
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1568
1568
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1569
1569
|
locator?: string | undefined;
|
|
1570
1570
|
}[];
|
|
1571
1571
|
objective: string;
|
|
1572
1572
|
runMode: "replay" | "fixture" | "live";
|
|
1573
1573
|
} | {
|
|
1574
|
-
kind: "agent_status";
|
|
1575
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1576
1574
|
label: string;
|
|
1575
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1576
|
+
kind: "agent_status";
|
|
1577
1577
|
role: string;
|
|
1578
1578
|
agentId: string;
|
|
1579
1579
|
sessionId: string;
|
|
1580
1580
|
evidence: {
|
|
1581
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1582
|
-
label: string;
|
|
1583
1581
|
id: string;
|
|
1582
|
+
label: string;
|
|
1583
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1584
1584
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1585
1585
|
locator?: string | undefined;
|
|
1586
1586
|
}[];
|
|
1587
1587
|
detail?: string | undefined;
|
|
1588
1588
|
} | {
|
|
1589
|
-
kind: "agent_output";
|
|
1590
1589
|
summary: string;
|
|
1590
|
+
kind: "agent_output";
|
|
1591
1591
|
agentId: string;
|
|
1592
1592
|
sessionId: string;
|
|
1593
1593
|
evidence: {
|
|
1594
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1595
|
-
label: string;
|
|
1596
1594
|
id: string;
|
|
1595
|
+
label: string;
|
|
1596
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1597
1597
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1598
1598
|
locator?: string | undefined;
|
|
1599
1599
|
}[];
|
|
@@ -1604,9 +1604,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1604
1604
|
statement: string;
|
|
1605
1605
|
sessionId: string;
|
|
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
|
}[];
|
|
@@ -1614,12 +1614,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1614
1614
|
decisionId: string;
|
|
1615
1615
|
confidence?: number | undefined;
|
|
1616
1616
|
} | {
|
|
1617
|
-
kind: "conflict_detected";
|
|
1618
1617
|
summary: string;
|
|
1618
|
+
kind: "conflict_detected";
|
|
1619
1619
|
evidence: {
|
|
1620
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1621
|
-
label: string;
|
|
1622
1620
|
id: string;
|
|
1621
|
+
label: string;
|
|
1622
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1623
1623
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1624
1624
|
locator?: string | undefined;
|
|
1625
1625
|
}[];
|
|
@@ -1627,14 +1627,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1627
1627
|
decisionIds: string[];
|
|
1628
1628
|
agentIds: string[];
|
|
1629
1629
|
} | {
|
|
1630
|
-
kind: "test_result";
|
|
1631
1630
|
summary: string;
|
|
1632
1631
|
status: "error" | "failed" | "passed";
|
|
1632
|
+
kind: "test_result";
|
|
1633
1633
|
command: string;
|
|
1634
1634
|
evidence: {
|
|
1635
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1636
|
-
label: string;
|
|
1637
1635
|
id: string;
|
|
1636
|
+
label: string;
|
|
1637
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1638
1638
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1639
1639
|
locator?: string | undefined;
|
|
1640
1640
|
}[];
|
|
@@ -1647,9 +1647,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1647
1647
|
rationale: string;
|
|
1648
1648
|
statement: string;
|
|
1649
1649
|
evidence: {
|
|
1650
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1651
|
-
label: string;
|
|
1652
1650
|
id: string;
|
|
1651
|
+
label: string;
|
|
1652
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1653
1653
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1654
1654
|
locator?: string | undefined;
|
|
1655
1655
|
}[];
|
|
@@ -1661,25 +1661,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1661
1661
|
} | {
|
|
1662
1662
|
kind: "correction_approved";
|
|
1663
1663
|
evidence: {
|
|
1664
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1665
|
-
label: string;
|
|
1666
1664
|
id: string;
|
|
1665
|
+
label: string;
|
|
1666
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1667
1667
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1668
1668
|
locator?: string | undefined;
|
|
1669
1669
|
}[];
|
|
1670
1670
|
correctionId: string;
|
|
1671
1671
|
approvedBy: {
|
|
1672
|
-
kind: "agent" | "human";
|
|
1673
|
-
label: string;
|
|
1674
1672
|
id: string;
|
|
1673
|
+
label: string;
|
|
1674
|
+
kind: "agent" | "human";
|
|
1675
1675
|
};
|
|
1676
1676
|
note?: string | undefined;
|
|
1677
1677
|
} | {
|
|
1678
1678
|
kind: "decision_superseded";
|
|
1679
1679
|
evidence: {
|
|
1680
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1681
|
-
label: string;
|
|
1682
1680
|
id: string;
|
|
1681
|
+
label: string;
|
|
1682
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1683
1683
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1684
1684
|
locator?: string | undefined;
|
|
1685
1685
|
}[];
|
|
@@ -1692,9 +1692,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1692
1692
|
agentId: string;
|
|
1693
1693
|
sessionId: string;
|
|
1694
1694
|
evidence: {
|
|
1695
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1696
|
-
label: string;
|
|
1697
1695
|
id: string;
|
|
1696
|
+
label: string;
|
|
1697
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1698
1698
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1699
1699
|
locator?: string | undefined;
|
|
1700
1700
|
}[];
|
|
@@ -1706,9 +1706,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1706
1706
|
agentId: string;
|
|
1707
1707
|
sessionId: string;
|
|
1708
1708
|
evidence: {
|
|
1709
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1710
|
-
label: string;
|
|
1711
1709
|
id: string;
|
|
1710
|
+
label: string;
|
|
1711
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1712
1712
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1713
1713
|
locator?: string | undefined;
|
|
1714
1714
|
}[];
|
|
@@ -1717,13 +1717,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1717
1717
|
recallReceiptId: string;
|
|
1718
1718
|
staleDecisionAbsent: boolean;
|
|
1719
1719
|
} | {
|
|
1720
|
-
kind: "mission_completed";
|
|
1721
1720
|
summary: string;
|
|
1721
|
+
kind: "mission_completed";
|
|
1722
1722
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1723
1723
|
evidence: {
|
|
1724
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1725
|
-
label: string;
|
|
1726
1724
|
id: string;
|
|
1725
|
+
label: string;
|
|
1726
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1727
1727
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1728
1728
|
locator?: string | undefined;
|
|
1729
1729
|
}[];
|
|
@@ -1733,37 +1733,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1733
1733
|
objective: string;
|
|
1734
1734
|
runMode: "replay" | "fixture" | "live";
|
|
1735
1735
|
evidence?: {
|
|
1736
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1737
|
-
label: string;
|
|
1738
1736
|
id: string;
|
|
1737
|
+
label: string;
|
|
1738
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1739
1739
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1740
1740
|
locator?: string | undefined;
|
|
1741
1741
|
}[] | undefined;
|
|
1742
1742
|
} | {
|
|
1743
|
-
kind: "agent_status";
|
|
1744
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1745
1743
|
label: string;
|
|
1744
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1745
|
+
kind: "agent_status";
|
|
1746
1746
|
role: string;
|
|
1747
1747
|
agentId: string;
|
|
1748
1748
|
sessionId: string;
|
|
1749
1749
|
detail?: string | undefined;
|
|
1750
1750
|
evidence?: {
|
|
1751
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1752
|
-
label: string;
|
|
1753
1751
|
id: string;
|
|
1752
|
+
label: string;
|
|
1753
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1754
1754
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1755
1755
|
locator?: string | undefined;
|
|
1756
1756
|
}[] | undefined;
|
|
1757
1757
|
} | {
|
|
1758
|
-
kind: "agent_output";
|
|
1759
1758
|
summary: string;
|
|
1759
|
+
kind: "agent_output";
|
|
1760
1760
|
agentId: string;
|
|
1761
1761
|
sessionId: string;
|
|
1762
1762
|
outputId: string;
|
|
1763
1763
|
evidence?: {
|
|
1764
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1765
|
-
label: string;
|
|
1766
1764
|
id: string;
|
|
1765
|
+
label: string;
|
|
1766
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1767
1767
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1768
1768
|
locator?: string | undefined;
|
|
1769
1769
|
}[] | undefined;
|
|
@@ -1776,37 +1776,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1776
1776
|
decisionId: string;
|
|
1777
1777
|
confidence?: number | undefined;
|
|
1778
1778
|
evidence?: {
|
|
1779
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1780
|
-
label: string;
|
|
1781
1779
|
id: string;
|
|
1780
|
+
label: string;
|
|
1781
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1782
1782
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1783
1783
|
locator?: string | undefined;
|
|
1784
1784
|
}[] | undefined;
|
|
1785
1785
|
} | {
|
|
1786
|
-
kind: "conflict_detected";
|
|
1787
1786
|
summary: string;
|
|
1787
|
+
kind: "conflict_detected";
|
|
1788
1788
|
conflictId: string;
|
|
1789
1789
|
decisionIds: string[];
|
|
1790
1790
|
agentIds: string[];
|
|
1791
1791
|
evidence?: {
|
|
1792
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1793
|
-
label: string;
|
|
1794
1792
|
id: string;
|
|
1793
|
+
label: string;
|
|
1794
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1795
1795
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1796
1796
|
locator?: string | undefined;
|
|
1797
1797
|
}[] | undefined;
|
|
1798
1798
|
} | {
|
|
1799
|
-
kind: "test_result";
|
|
1800
1799
|
summary: string;
|
|
1801
1800
|
status: "error" | "failed" | "passed";
|
|
1801
|
+
kind: "test_result";
|
|
1802
1802
|
command: string;
|
|
1803
1803
|
decisionId: string;
|
|
1804
1804
|
testId: string;
|
|
1805
1805
|
durationMs?: number | undefined;
|
|
1806
1806
|
evidence?: {
|
|
1807
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1808
|
-
label: string;
|
|
1809
1807
|
id: string;
|
|
1808
|
+
label: string;
|
|
1809
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1810
1810
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1811
1811
|
locator?: string | undefined;
|
|
1812
1812
|
}[] | undefined;
|
|
@@ -1821,9 +1821,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1821
1821
|
supersedesDecisionIds: string[];
|
|
1822
1822
|
proposedBy: string;
|
|
1823
1823
|
evidence?: {
|
|
1824
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1825
|
-
label: string;
|
|
1826
1824
|
id: string;
|
|
1825
|
+
label: string;
|
|
1826
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1827
1827
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1828
1828
|
locator?: string | undefined;
|
|
1829
1829
|
}[] | undefined;
|
|
@@ -1831,15 +1831,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1831
1831
|
kind: "correction_approved";
|
|
1832
1832
|
correctionId: string;
|
|
1833
1833
|
approvedBy: {
|
|
1834
|
-
kind: "agent" | "human";
|
|
1835
|
-
label: string;
|
|
1836
1834
|
id: string;
|
|
1835
|
+
label: string;
|
|
1836
|
+
kind: "agent" | "human";
|
|
1837
1837
|
};
|
|
1838
1838
|
note?: string | undefined;
|
|
1839
1839
|
evidence?: {
|
|
1840
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1841
|
-
label: string;
|
|
1842
1840
|
id: string;
|
|
1841
|
+
label: string;
|
|
1842
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1843
1843
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1844
1844
|
locator?: string | undefined;
|
|
1845
1845
|
}[] | undefined;
|
|
@@ -1849,9 +1849,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1849
1849
|
correctionId: string;
|
|
1850
1850
|
replacementDecisionId: string;
|
|
1851
1851
|
evidence?: {
|
|
1852
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1853
|
-
label: string;
|
|
1854
1852
|
id: string;
|
|
1853
|
+
label: string;
|
|
1854
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1855
1855
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1856
1856
|
locator?: string | undefined;
|
|
1857
1857
|
}[] | undefined;
|
|
@@ -1864,9 +1864,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1864
1864
|
recallReceiptId: string;
|
|
1865
1865
|
capturedAtAction: boolean;
|
|
1866
1866
|
evidence?: {
|
|
1867
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1868
|
-
label: string;
|
|
1869
1867
|
id: string;
|
|
1868
|
+
label: string;
|
|
1869
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1870
1870
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1871
1871
|
locator?: string | undefined;
|
|
1872
1872
|
}[] | undefined;
|
|
@@ -1879,20 +1879,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1879
1879
|
recallReceiptId: string;
|
|
1880
1880
|
staleDecisionAbsent: boolean;
|
|
1881
1881
|
evidence?: {
|
|
1882
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1883
|
-
label: string;
|
|
1884
1882
|
id: string;
|
|
1883
|
+
label: string;
|
|
1884
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1885
1885
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1886
1886
|
locator?: string | undefined;
|
|
1887
1887
|
}[] | undefined;
|
|
1888
1888
|
} | {
|
|
1889
|
-
kind: "mission_completed";
|
|
1890
1889
|
summary: string;
|
|
1890
|
+
kind: "mission_completed";
|
|
1891
1891
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1892
1892
|
evidence?: {
|
|
1893
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1894
|
-
label: string;
|
|
1895
1893
|
id: string;
|
|
1894
|
+
label: string;
|
|
1895
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1896
1896
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1897
1897
|
locator?: string | undefined;
|
|
1898
1898
|
}[] | undefined;
|
|
@@ -1913,15 +1913,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1913
1913
|
locator: z.ZodOptional<z.ZodString>;
|
|
1914
1914
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1915
1915
|
}, "strict", z.ZodTypeAny, {
|
|
1916
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1917
|
-
label: string;
|
|
1918
1916
|
id: string;
|
|
1917
|
+
label: string;
|
|
1918
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1919
1919
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1920
1920
|
locator?: string | undefined;
|
|
1921
1921
|
}, {
|
|
1922
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1923
|
-
label: string;
|
|
1924
1922
|
id: string;
|
|
1923
|
+
label: string;
|
|
1924
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1925
1925
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1926
1926
|
locator?: string | undefined;
|
|
1927
1927
|
}>, "many">>;
|
|
@@ -1929,9 +1929,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1929
1929
|
kind: "mission_started";
|
|
1930
1930
|
title: string;
|
|
1931
1931
|
evidence: {
|
|
1932
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1933
|
-
label: string;
|
|
1934
1932
|
id: string;
|
|
1933
|
+
label: string;
|
|
1934
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1935
1935
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1936
1936
|
locator?: string | undefined;
|
|
1937
1937
|
}[];
|
|
@@ -1943,9 +1943,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1943
1943
|
objective: string;
|
|
1944
1944
|
runMode: "replay" | "fixture" | "live";
|
|
1945
1945
|
evidence?: {
|
|
1946
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1947
|
-
label: string;
|
|
1948
1946
|
id: string;
|
|
1947
|
+
label: string;
|
|
1948
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1949
1949
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1950
1950
|
locator?: string | undefined;
|
|
1951
1951
|
}[] | undefined;
|
|
@@ -1961,15 +1961,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1961
1961
|
locator: z.ZodOptional<z.ZodString>;
|
|
1962
1962
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1963
1963
|
}, "strict", z.ZodTypeAny, {
|
|
1964
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1965
|
-
label: string;
|
|
1966
1964
|
id: string;
|
|
1965
|
+
label: string;
|
|
1966
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1967
1967
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1968
1968
|
locator?: string | undefined;
|
|
1969
1969
|
}, {
|
|
1970
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1971
|
-
label: string;
|
|
1972
1970
|
id: string;
|
|
1971
|
+
label: string;
|
|
1972
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1973
1973
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1974
1974
|
locator?: string | undefined;
|
|
1975
1975
|
}>, "many">>;
|
|
@@ -1977,32 +1977,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1977
1977
|
sessionId: z.ZodString;
|
|
1978
1978
|
kind: z.ZodLiteral<"agent_status">;
|
|
1979
1979
|
}, "strict", z.ZodTypeAny, {
|
|
1980
|
-
kind: "agent_status";
|
|
1981
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1982
1980
|
label: string;
|
|
1981
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1982
|
+
kind: "agent_status";
|
|
1983
1983
|
role: string;
|
|
1984
1984
|
agentId: string;
|
|
1985
1985
|
sessionId: string;
|
|
1986
1986
|
evidence: {
|
|
1987
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1988
|
-
label: string;
|
|
1989
1987
|
id: string;
|
|
1988
|
+
label: string;
|
|
1989
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1990
1990
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1991
1991
|
locator?: string | undefined;
|
|
1992
1992
|
}[];
|
|
1993
1993
|
detail?: string | undefined;
|
|
1994
1994
|
}, {
|
|
1995
|
-
kind: "agent_status";
|
|
1996
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1997
1995
|
label: string;
|
|
1996
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1997
|
+
kind: "agent_status";
|
|
1998
1998
|
role: string;
|
|
1999
1999
|
agentId: string;
|
|
2000
2000
|
sessionId: string;
|
|
2001
2001
|
detail?: string | undefined;
|
|
2002
2002
|
evidence?: {
|
|
2003
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2004
|
-
label: string;
|
|
2005
2003
|
id: string;
|
|
2004
|
+
label: string;
|
|
2005
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2006
2006
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2007
2007
|
locator?: string | undefined;
|
|
2008
2008
|
}[] | undefined;
|
|
@@ -2016,15 +2016,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2016
2016
|
locator: z.ZodOptional<z.ZodString>;
|
|
2017
2017
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2018
2018
|
}, "strict", z.ZodTypeAny, {
|
|
2019
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2020
|
-
label: string;
|
|
2021
2019
|
id: string;
|
|
2020
|
+
label: string;
|
|
2021
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2022
2022
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2023
2023
|
locator?: string | undefined;
|
|
2024
2024
|
}, {
|
|
2025
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2026
|
-
label: string;
|
|
2027
2025
|
id: string;
|
|
2026
|
+
label: string;
|
|
2027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2028
2028
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2029
2029
|
locator?: string | undefined;
|
|
2030
2030
|
}>, "many">>;
|
|
@@ -2032,28 +2032,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2032
2032
|
sessionId: z.ZodString;
|
|
2033
2033
|
kind: z.ZodLiteral<"agent_output">;
|
|
2034
2034
|
}, "strict", z.ZodTypeAny, {
|
|
2035
|
-
kind: "agent_output";
|
|
2036
2035
|
summary: string;
|
|
2036
|
+
kind: "agent_output";
|
|
2037
2037
|
agentId: string;
|
|
2038
2038
|
sessionId: string;
|
|
2039
2039
|
evidence: {
|
|
2040
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2041
|
-
label: string;
|
|
2042
2040
|
id: string;
|
|
2041
|
+
label: string;
|
|
2042
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2043
2043
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2044
2044
|
locator?: string | undefined;
|
|
2045
2045
|
}[];
|
|
2046
2046
|
outputId: string;
|
|
2047
2047
|
}, {
|
|
2048
|
-
kind: "agent_output";
|
|
2049
2048
|
summary: string;
|
|
2049
|
+
kind: "agent_output";
|
|
2050
2050
|
agentId: string;
|
|
2051
2051
|
sessionId: string;
|
|
2052
2052
|
outputId: string;
|
|
2053
2053
|
evidence?: {
|
|
2054
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2055
|
-
label: string;
|
|
2056
2054
|
id: string;
|
|
2055
|
+
label: string;
|
|
2056
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2057
2057
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2058
2058
|
locator?: string | undefined;
|
|
2059
2059
|
}[] | undefined;
|
|
@@ -2069,15 +2069,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2069
2069
|
locator: z.ZodOptional<z.ZodString>;
|
|
2070
2070
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2071
2071
|
}, "strict", z.ZodTypeAny, {
|
|
2072
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2073
|
-
label: string;
|
|
2074
2072
|
id: string;
|
|
2073
|
+
label: string;
|
|
2074
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2075
2075
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2076
2076
|
locator?: string | undefined;
|
|
2077
2077
|
}, {
|
|
2078
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2079
|
-
label: string;
|
|
2080
2078
|
id: string;
|
|
2079
|
+
label: string;
|
|
2080
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2081
2081
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2082
2082
|
locator?: string | undefined;
|
|
2083
2083
|
}>, "many">>;
|
|
@@ -2090,9 +2090,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2090
2090
|
statement: string;
|
|
2091
2091
|
sessionId: string;
|
|
2092
2092
|
evidence: {
|
|
2093
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2094
|
-
label: string;
|
|
2095
2093
|
id: string;
|
|
2094
|
+
label: string;
|
|
2095
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2096
2096
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2097
2097
|
locator?: string | undefined;
|
|
2098
2098
|
}[];
|
|
@@ -2108,9 +2108,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2108
2108
|
decisionId: string;
|
|
2109
2109
|
confidence?: number | undefined;
|
|
2110
2110
|
evidence?: {
|
|
2111
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2112
|
-
label: string;
|
|
2113
2111
|
id: string;
|
|
2112
|
+
label: string;
|
|
2113
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2114
2114
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2115
2115
|
locator?: string | undefined;
|
|
2116
2116
|
}[] | undefined;
|
|
@@ -2127,25 +2127,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2127
2127
|
locator: z.ZodOptional<z.ZodString>;
|
|
2128
2128
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2129
2129
|
}, "strict", z.ZodTypeAny, {
|
|
2130
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2131
|
-
label: string;
|
|
2132
2130
|
id: string;
|
|
2131
|
+
label: string;
|
|
2132
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2133
2133
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2134
2134
|
locator?: string | undefined;
|
|
2135
2135
|
}, {
|
|
2136
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2137
|
-
label: string;
|
|
2138
2136
|
id: string;
|
|
2137
|
+
label: string;
|
|
2138
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2139
2139
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2140
2140
|
locator?: string | undefined;
|
|
2141
2141
|
}>, "many">>;
|
|
2142
2142
|
}, "strict", z.ZodTypeAny, {
|
|
2143
|
-
kind: "conflict_detected";
|
|
2144
2143
|
summary: string;
|
|
2144
|
+
kind: "conflict_detected";
|
|
2145
2145
|
evidence: {
|
|
2146
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2147
|
-
label: string;
|
|
2148
2146
|
id: string;
|
|
2147
|
+
label: string;
|
|
2148
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2149
2149
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2150
2150
|
locator?: string | undefined;
|
|
2151
2151
|
}[];
|
|
@@ -2153,15 +2153,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2153
2153
|
decisionIds: string[];
|
|
2154
2154
|
agentIds: string[];
|
|
2155
2155
|
}, {
|
|
2156
|
-
kind: "conflict_detected";
|
|
2157
2156
|
summary: string;
|
|
2157
|
+
kind: "conflict_detected";
|
|
2158
2158
|
conflictId: string;
|
|
2159
2159
|
decisionIds: string[];
|
|
2160
2160
|
agentIds: string[];
|
|
2161
2161
|
evidence?: {
|
|
2162
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2163
|
-
label: string;
|
|
2164
2162
|
id: string;
|
|
2163
|
+
label: string;
|
|
2164
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2165
2165
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2166
2166
|
locator?: string | undefined;
|
|
2167
2167
|
}[] | undefined;
|
|
@@ -2181,27 +2181,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2181
2181
|
locator: z.ZodOptional<z.ZodString>;
|
|
2182
2182
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2183
2183
|
}, "strict", z.ZodTypeAny, {
|
|
2184
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2185
|
-
label: string;
|
|
2186
2184
|
id: string;
|
|
2185
|
+
label: string;
|
|
2186
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2187
2187
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2188
2188
|
locator?: string | undefined;
|
|
2189
2189
|
}, {
|
|
2190
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2191
|
-
label: string;
|
|
2192
2190
|
id: string;
|
|
2191
|
+
label: string;
|
|
2192
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2193
2193
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2194
2194
|
locator?: string | undefined;
|
|
2195
2195
|
}>, "many">>;
|
|
2196
2196
|
}, "strict", z.ZodTypeAny, {
|
|
2197
|
-
kind: "test_result";
|
|
2198
2197
|
summary: string;
|
|
2199
2198
|
status: "error" | "failed" | "passed";
|
|
2199
|
+
kind: "test_result";
|
|
2200
2200
|
command: string;
|
|
2201
2201
|
evidence: {
|
|
2202
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2203
|
-
label: string;
|
|
2204
2202
|
id: string;
|
|
2203
|
+
label: string;
|
|
2204
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2205
2205
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2206
2206
|
locator?: string | undefined;
|
|
2207
2207
|
}[];
|
|
@@ -2210,17 +2210,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2210
2210
|
durationMs?: number | undefined;
|
|
2211
2211
|
correctionId?: string | undefined;
|
|
2212
2212
|
}, {
|
|
2213
|
-
kind: "test_result";
|
|
2214
2213
|
summary: string;
|
|
2215
2214
|
status: "error" | "failed" | "passed";
|
|
2215
|
+
kind: "test_result";
|
|
2216
2216
|
command: string;
|
|
2217
2217
|
decisionId: string;
|
|
2218
2218
|
testId: string;
|
|
2219
2219
|
durationMs?: number | undefined;
|
|
2220
2220
|
evidence?: {
|
|
2221
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2222
|
-
label: string;
|
|
2223
2221
|
id: string;
|
|
2222
|
+
label: string;
|
|
2223
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2224
2224
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2225
2225
|
locator?: string | undefined;
|
|
2226
2226
|
}[] | undefined;
|
|
@@ -2241,15 +2241,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2241
2241
|
locator: z.ZodOptional<z.ZodString>;
|
|
2242
2242
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2243
2243
|
}, "strict", z.ZodTypeAny, {
|
|
2244
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2245
|
-
label: string;
|
|
2246
2244
|
id: string;
|
|
2245
|
+
label: string;
|
|
2246
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2247
2247
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2248
2248
|
locator?: string | undefined;
|
|
2249
2249
|
}, {
|
|
2250
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2251
|
-
label: string;
|
|
2252
2250
|
id: string;
|
|
2251
|
+
label: string;
|
|
2252
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2253
2253
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2254
2254
|
locator?: string | undefined;
|
|
2255
2255
|
}>, "many">>;
|
|
@@ -2258,9 +2258,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2258
2258
|
rationale: string;
|
|
2259
2259
|
statement: string;
|
|
2260
2260
|
evidence: {
|
|
2261
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2262
|
-
label: string;
|
|
2263
2261
|
id: string;
|
|
2262
|
+
label: string;
|
|
2263
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2264
2264
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2265
2265
|
locator?: string | undefined;
|
|
2266
2266
|
}[];
|
|
@@ -2279,9 +2279,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2279
2279
|
supersedesDecisionIds: string[];
|
|
2280
2280
|
proposedBy: string;
|
|
2281
2281
|
evidence?: {
|
|
2282
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2283
|
-
label: string;
|
|
2284
2282
|
id: string;
|
|
2283
|
+
label: string;
|
|
2284
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2285
2285
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2286
2286
|
locator?: string | undefined;
|
|
2287
2287
|
}[] | undefined;
|
|
@@ -2293,13 +2293,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2293
2293
|
id: z.ZodString;
|
|
2294
2294
|
label: z.ZodString;
|
|
2295
2295
|
}, "strict", z.ZodTypeAny, {
|
|
2296
|
-
kind: "agent" | "human";
|
|
2297
|
-
label: string;
|
|
2298
2296
|
id: string;
|
|
2299
|
-
}, {
|
|
2300
|
-
kind: "agent" | "human";
|
|
2301
2297
|
label: string;
|
|
2298
|
+
kind: "agent" | "human";
|
|
2299
|
+
}, {
|
|
2302
2300
|
id: string;
|
|
2301
|
+
label: string;
|
|
2302
|
+
kind: "agent" | "human";
|
|
2303
2303
|
}>;
|
|
2304
2304
|
note: z.ZodOptional<z.ZodString>;
|
|
2305
2305
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2309,47 +2309,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2309
2309
|
locator: z.ZodOptional<z.ZodString>;
|
|
2310
2310
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2311
2311
|
}, "strict", z.ZodTypeAny, {
|
|
2312
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2313
|
-
label: string;
|
|
2314
2312
|
id: string;
|
|
2313
|
+
label: string;
|
|
2314
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2315
2315
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2316
2316
|
locator?: string | undefined;
|
|
2317
2317
|
}, {
|
|
2318
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2319
|
-
label: string;
|
|
2320
2318
|
id: string;
|
|
2319
|
+
label: string;
|
|
2320
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2321
2321
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2322
2322
|
locator?: string | undefined;
|
|
2323
2323
|
}>, "many">>;
|
|
2324
2324
|
}, "strict", z.ZodTypeAny, {
|
|
2325
2325
|
kind: "correction_approved";
|
|
2326
2326
|
evidence: {
|
|
2327
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2328
|
-
label: string;
|
|
2329
2327
|
id: string;
|
|
2328
|
+
label: string;
|
|
2329
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2330
2330
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2331
2331
|
locator?: string | undefined;
|
|
2332
2332
|
}[];
|
|
2333
2333
|
correctionId: string;
|
|
2334
2334
|
approvedBy: {
|
|
2335
|
-
kind: "agent" | "human";
|
|
2336
|
-
label: string;
|
|
2337
2335
|
id: string;
|
|
2336
|
+
label: string;
|
|
2337
|
+
kind: "agent" | "human";
|
|
2338
2338
|
};
|
|
2339
2339
|
note?: string | undefined;
|
|
2340
2340
|
}, {
|
|
2341
2341
|
kind: "correction_approved";
|
|
2342
2342
|
correctionId: string;
|
|
2343
2343
|
approvedBy: {
|
|
2344
|
-
kind: "agent" | "human";
|
|
2345
|
-
label: string;
|
|
2346
2344
|
id: string;
|
|
2345
|
+
label: string;
|
|
2346
|
+
kind: "agent" | "human";
|
|
2347
2347
|
};
|
|
2348
2348
|
note?: string | undefined;
|
|
2349
2349
|
evidence?: {
|
|
2350
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2351
|
-
label: string;
|
|
2352
2350
|
id: string;
|
|
2351
|
+
label: string;
|
|
2352
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2353
2353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2354
2354
|
locator?: string | undefined;
|
|
2355
2355
|
}[] | undefined;
|
|
@@ -2365,24 +2365,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2365
2365
|
locator: z.ZodOptional<z.ZodString>;
|
|
2366
2366
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2367
2367
|
}, "strict", z.ZodTypeAny, {
|
|
2368
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2369
|
-
label: string;
|
|
2370
2368
|
id: string;
|
|
2369
|
+
label: string;
|
|
2370
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2371
2371
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2372
2372
|
locator?: string | undefined;
|
|
2373
2373
|
}, {
|
|
2374
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2375
|
-
label: string;
|
|
2376
2374
|
id: string;
|
|
2375
|
+
label: string;
|
|
2376
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2377
2377
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2378
2378
|
locator?: string | undefined;
|
|
2379
2379
|
}>, "many">>;
|
|
2380
2380
|
}, "strict", z.ZodTypeAny, {
|
|
2381
2381
|
kind: "decision_superseded";
|
|
2382
2382
|
evidence: {
|
|
2383
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2384
|
-
label: string;
|
|
2385
2383
|
id: string;
|
|
2384
|
+
label: string;
|
|
2385
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2386
2386
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2387
2387
|
locator?: string | undefined;
|
|
2388
2388
|
}[];
|
|
@@ -2395,9 +2395,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2395
2395
|
correctionId: string;
|
|
2396
2396
|
replacementDecisionId: string;
|
|
2397
2397
|
evidence?: {
|
|
2398
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2399
|
-
label: string;
|
|
2400
2398
|
id: string;
|
|
2399
|
+
label: string;
|
|
2400
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2401
2401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2402
2402
|
locator?: string | undefined;
|
|
2403
2403
|
}[] | undefined;
|
|
@@ -2413,15 +2413,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2413
2413
|
locator: z.ZodOptional<z.ZodString>;
|
|
2414
2414
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2415
2415
|
}, "strict", z.ZodTypeAny, {
|
|
2416
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2417
|
-
label: string;
|
|
2418
2416
|
id: string;
|
|
2417
|
+
label: string;
|
|
2418
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2419
2419
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2420
2420
|
locator?: string | undefined;
|
|
2421
2421
|
}, {
|
|
2422
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2423
|
-
label: string;
|
|
2424
2422
|
id: string;
|
|
2423
|
+
label: string;
|
|
2424
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2425
2425
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2426
2426
|
locator?: string | undefined;
|
|
2427
2427
|
}>, "many">>;
|
|
@@ -2434,9 +2434,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2434
2434
|
agentId: string;
|
|
2435
2435
|
sessionId: string;
|
|
2436
2436
|
evidence: {
|
|
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
|
}[];
|
|
@@ -2452,9 +2452,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2452
2452
|
recallReceiptId: string;
|
|
2453
2453
|
capturedAtAction: boolean;
|
|
2454
2454
|
evidence?: {
|
|
2455
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2456
|
-
label: string;
|
|
2457
2455
|
id: string;
|
|
2456
|
+
label: string;
|
|
2457
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2458
2458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2459
2459
|
locator?: string | undefined;
|
|
2460
2460
|
}[] | undefined;
|
|
@@ -2470,15 +2470,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2470
2470
|
locator: z.ZodOptional<z.ZodString>;
|
|
2471
2471
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2472
2472
|
}, "strict", z.ZodTypeAny, {
|
|
2473
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2474
|
-
label: string;
|
|
2475
2473
|
id: string;
|
|
2474
|
+
label: string;
|
|
2475
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2476
2476
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2477
2477
|
locator?: string | undefined;
|
|
2478
2478
|
}, {
|
|
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
|
}>, "many">>;
|
|
@@ -2490,9 +2490,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2490
2490
|
agentId: string;
|
|
2491
2491
|
sessionId: string;
|
|
2492
2492
|
evidence: {
|
|
2493
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2494
|
-
label: string;
|
|
2495
2493
|
id: string;
|
|
2494
|
+
label: string;
|
|
2495
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2496
2496
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2497
2497
|
locator?: string | undefined;
|
|
2498
2498
|
}[];
|
|
@@ -2509,9 +2509,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2509
2509
|
recallReceiptId: string;
|
|
2510
2510
|
staleDecisionAbsent: boolean;
|
|
2511
2511
|
evidence?: {
|
|
2512
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2513
|
-
label: string;
|
|
2514
2512
|
id: string;
|
|
2513
|
+
label: string;
|
|
2514
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2515
2515
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2516
2516
|
locator?: string | undefined;
|
|
2517
2517
|
}[] | undefined;
|
|
@@ -2526,37 +2526,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2526
2526
|
locator: z.ZodOptional<z.ZodString>;
|
|
2527
2527
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2528
2528
|
}, "strict", z.ZodTypeAny, {
|
|
2529
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2530
|
-
label: string;
|
|
2531
2529
|
id: string;
|
|
2530
|
+
label: string;
|
|
2531
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2532
2532
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2533
2533
|
locator?: string | undefined;
|
|
2534
2534
|
}, {
|
|
2535
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2536
|
-
label: string;
|
|
2537
2535
|
id: string;
|
|
2536
|
+
label: string;
|
|
2537
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2538
2538
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2539
2539
|
locator?: string | undefined;
|
|
2540
2540
|
}>, "many">>;
|
|
2541
2541
|
}, "strict", z.ZodTypeAny, {
|
|
2542
|
-
kind: "mission_completed";
|
|
2543
2542
|
summary: string;
|
|
2543
|
+
kind: "mission_completed";
|
|
2544
2544
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2545
2545
|
evidence: {
|
|
2546
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2547
|
-
label: string;
|
|
2548
2546
|
id: string;
|
|
2547
|
+
label: string;
|
|
2548
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2549
2549
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2550
2550
|
locator?: string | undefined;
|
|
2551
2551
|
}[];
|
|
2552
2552
|
}, {
|
|
2553
|
-
kind: "mission_completed";
|
|
2554
2553
|
summary: string;
|
|
2554
|
+
kind: "mission_completed";
|
|
2555
2555
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2556
2556
|
evidence?: {
|
|
2557
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2558
|
-
label: string;
|
|
2559
2557
|
id: string;
|
|
2558
|
+
label: string;
|
|
2559
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2560
2560
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2561
2561
|
locator?: string | undefined;
|
|
2562
2562
|
}[] | undefined;
|
|
@@ -2564,38 +2564,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2564
2564
|
kind: "mission_started";
|
|
2565
2565
|
title: string;
|
|
2566
2566
|
evidence: {
|
|
2567
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2568
|
-
label: string;
|
|
2569
2567
|
id: string;
|
|
2568
|
+
label: string;
|
|
2569
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2570
2570
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2571
2571
|
locator?: string | undefined;
|
|
2572
2572
|
}[];
|
|
2573
2573
|
objective: string;
|
|
2574
2574
|
runMode: "replay" | "fixture" | "live";
|
|
2575
2575
|
} | {
|
|
2576
|
-
kind: "agent_status";
|
|
2577
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2578
2576
|
label: string;
|
|
2577
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2578
|
+
kind: "agent_status";
|
|
2579
2579
|
role: string;
|
|
2580
2580
|
agentId: string;
|
|
2581
2581
|
sessionId: string;
|
|
2582
2582
|
evidence: {
|
|
2583
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2584
|
-
label: string;
|
|
2585
2583
|
id: string;
|
|
2584
|
+
label: string;
|
|
2585
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2586
2586
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2587
2587
|
locator?: string | undefined;
|
|
2588
2588
|
}[];
|
|
2589
2589
|
detail?: string | undefined;
|
|
2590
2590
|
} | {
|
|
2591
|
-
kind: "agent_output";
|
|
2592
2591
|
summary: string;
|
|
2592
|
+
kind: "agent_output";
|
|
2593
2593
|
agentId: string;
|
|
2594
2594
|
sessionId: string;
|
|
2595
2595
|
evidence: {
|
|
2596
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2597
|
-
label: string;
|
|
2598
2596
|
id: string;
|
|
2597
|
+
label: string;
|
|
2598
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2599
2599
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2600
2600
|
locator?: string | undefined;
|
|
2601
2601
|
}[];
|
|
@@ -2606,9 +2606,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2606
2606
|
statement: string;
|
|
2607
2607
|
sessionId: string;
|
|
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
|
}[];
|
|
@@ -2616,12 +2616,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2616
2616
|
decisionId: string;
|
|
2617
2617
|
confidence?: number | undefined;
|
|
2618
2618
|
} | {
|
|
2619
|
-
kind: "conflict_detected";
|
|
2620
2619
|
summary: string;
|
|
2620
|
+
kind: "conflict_detected";
|
|
2621
2621
|
evidence: {
|
|
2622
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2623
|
-
label: string;
|
|
2624
2622
|
id: string;
|
|
2623
|
+
label: string;
|
|
2624
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2625
2625
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2626
2626
|
locator?: string | undefined;
|
|
2627
2627
|
}[];
|
|
@@ -2629,14 +2629,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2629
2629
|
decisionIds: string[];
|
|
2630
2630
|
agentIds: string[];
|
|
2631
2631
|
} | {
|
|
2632
|
-
kind: "test_result";
|
|
2633
2632
|
summary: string;
|
|
2634
2633
|
status: "error" | "failed" | "passed";
|
|
2634
|
+
kind: "test_result";
|
|
2635
2635
|
command: string;
|
|
2636
2636
|
evidence: {
|
|
2637
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2638
|
-
label: string;
|
|
2639
2637
|
id: string;
|
|
2638
|
+
label: string;
|
|
2639
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2640
2640
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2641
2641
|
locator?: string | undefined;
|
|
2642
2642
|
}[];
|
|
@@ -2649,9 +2649,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2649
2649
|
rationale: string;
|
|
2650
2650
|
statement: string;
|
|
2651
2651
|
evidence: {
|
|
2652
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2653
|
-
label: string;
|
|
2654
2652
|
id: string;
|
|
2653
|
+
label: string;
|
|
2654
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2655
2655
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2656
2656
|
locator?: string | undefined;
|
|
2657
2657
|
}[];
|
|
@@ -2663,25 +2663,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2663
2663
|
} | {
|
|
2664
2664
|
kind: "correction_approved";
|
|
2665
2665
|
evidence: {
|
|
2666
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2667
|
-
label: string;
|
|
2668
2666
|
id: string;
|
|
2667
|
+
label: string;
|
|
2668
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2669
2669
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2670
2670
|
locator?: string | undefined;
|
|
2671
2671
|
}[];
|
|
2672
2672
|
correctionId: string;
|
|
2673
2673
|
approvedBy: {
|
|
2674
|
-
kind: "agent" | "human";
|
|
2675
|
-
label: string;
|
|
2676
2674
|
id: string;
|
|
2675
|
+
label: string;
|
|
2676
|
+
kind: "agent" | "human";
|
|
2677
2677
|
};
|
|
2678
2678
|
note?: string | undefined;
|
|
2679
2679
|
} | {
|
|
2680
2680
|
kind: "decision_superseded";
|
|
2681
2681
|
evidence: {
|
|
2682
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2683
|
-
label: string;
|
|
2684
2682
|
id: string;
|
|
2683
|
+
label: string;
|
|
2684
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2685
2685
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2686
2686
|
locator?: string | undefined;
|
|
2687
2687
|
}[];
|
|
@@ -2694,9 +2694,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2694
2694
|
agentId: string;
|
|
2695
2695
|
sessionId: string;
|
|
2696
2696
|
evidence: {
|
|
2697
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2698
|
-
label: string;
|
|
2699
2697
|
id: string;
|
|
2698
|
+
label: string;
|
|
2699
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2700
2700
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2701
2701
|
locator?: string | undefined;
|
|
2702
2702
|
}[];
|
|
@@ -2708,9 +2708,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2708
2708
|
agentId: string;
|
|
2709
2709
|
sessionId: string;
|
|
2710
2710
|
evidence: {
|
|
2711
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2712
|
-
label: string;
|
|
2713
2711
|
id: string;
|
|
2712
|
+
label: string;
|
|
2713
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2714
2714
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2715
2715
|
locator?: string | undefined;
|
|
2716
2716
|
}[];
|
|
@@ -2719,13 +2719,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2719
2719
|
recallReceiptId: string;
|
|
2720
2720
|
staleDecisionAbsent: boolean;
|
|
2721
2721
|
} | {
|
|
2722
|
-
kind: "mission_completed";
|
|
2723
2722
|
summary: string;
|
|
2723
|
+
kind: "mission_completed";
|
|
2724
2724
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2725
2725
|
evidence: {
|
|
2726
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2727
|
-
label: string;
|
|
2728
2726
|
id: string;
|
|
2727
|
+
label: string;
|
|
2728
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2729
2729
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2730
2730
|
locator?: string | undefined;
|
|
2731
2731
|
}[];
|
|
@@ -2735,37 +2735,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2735
2735
|
objective: string;
|
|
2736
2736
|
runMode: "replay" | "fixture" | "live";
|
|
2737
2737
|
evidence?: {
|
|
2738
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2739
|
-
label: string;
|
|
2740
2738
|
id: string;
|
|
2739
|
+
label: string;
|
|
2740
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2741
2741
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2742
2742
|
locator?: string | undefined;
|
|
2743
2743
|
}[] | undefined;
|
|
2744
2744
|
} | {
|
|
2745
|
-
kind: "agent_status";
|
|
2746
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2747
2745
|
label: string;
|
|
2746
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2747
|
+
kind: "agent_status";
|
|
2748
2748
|
role: string;
|
|
2749
2749
|
agentId: string;
|
|
2750
2750
|
sessionId: string;
|
|
2751
2751
|
detail?: string | undefined;
|
|
2752
2752
|
evidence?: {
|
|
2753
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2754
|
-
label: string;
|
|
2755
2753
|
id: string;
|
|
2754
|
+
label: string;
|
|
2755
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2756
2756
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2757
2757
|
locator?: string | undefined;
|
|
2758
2758
|
}[] | undefined;
|
|
2759
2759
|
} | {
|
|
2760
|
-
kind: "agent_output";
|
|
2761
2760
|
summary: string;
|
|
2761
|
+
kind: "agent_output";
|
|
2762
2762
|
agentId: string;
|
|
2763
2763
|
sessionId: string;
|
|
2764
2764
|
outputId: string;
|
|
2765
2765
|
evidence?: {
|
|
2766
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2767
|
-
label: string;
|
|
2768
2766
|
id: string;
|
|
2767
|
+
label: string;
|
|
2768
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2769
2769
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2770
2770
|
locator?: string | undefined;
|
|
2771
2771
|
}[] | undefined;
|
|
@@ -2778,37 +2778,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2778
2778
|
decisionId: string;
|
|
2779
2779
|
confidence?: number | undefined;
|
|
2780
2780
|
evidence?: {
|
|
2781
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2782
|
-
label: string;
|
|
2783
2781
|
id: string;
|
|
2782
|
+
label: string;
|
|
2783
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2784
2784
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2785
2785
|
locator?: string | undefined;
|
|
2786
2786
|
}[] | undefined;
|
|
2787
2787
|
} | {
|
|
2788
|
-
kind: "conflict_detected";
|
|
2789
2788
|
summary: string;
|
|
2789
|
+
kind: "conflict_detected";
|
|
2790
2790
|
conflictId: string;
|
|
2791
2791
|
decisionIds: string[];
|
|
2792
2792
|
agentIds: string[];
|
|
2793
2793
|
evidence?: {
|
|
2794
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2795
|
-
label: string;
|
|
2796
2794
|
id: string;
|
|
2795
|
+
label: string;
|
|
2796
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2797
2797
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2798
2798
|
locator?: string | undefined;
|
|
2799
2799
|
}[] | undefined;
|
|
2800
2800
|
} | {
|
|
2801
|
-
kind: "test_result";
|
|
2802
2801
|
summary: string;
|
|
2803
2802
|
status: "error" | "failed" | "passed";
|
|
2803
|
+
kind: "test_result";
|
|
2804
2804
|
command: string;
|
|
2805
2805
|
decisionId: string;
|
|
2806
2806
|
testId: string;
|
|
2807
2807
|
durationMs?: number | undefined;
|
|
2808
2808
|
evidence?: {
|
|
2809
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2810
|
-
label: string;
|
|
2811
2809
|
id: string;
|
|
2810
|
+
label: string;
|
|
2811
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2812
2812
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2813
2813
|
locator?: string | undefined;
|
|
2814
2814
|
}[] | undefined;
|
|
@@ -2823,9 +2823,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2823
2823
|
supersedesDecisionIds: string[];
|
|
2824
2824
|
proposedBy: string;
|
|
2825
2825
|
evidence?: {
|
|
2826
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2827
|
-
label: string;
|
|
2828
2826
|
id: string;
|
|
2827
|
+
label: string;
|
|
2828
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2829
2829
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2830
2830
|
locator?: string | undefined;
|
|
2831
2831
|
}[] | undefined;
|
|
@@ -2833,15 +2833,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2833
2833
|
kind: "correction_approved";
|
|
2834
2834
|
correctionId: string;
|
|
2835
2835
|
approvedBy: {
|
|
2836
|
-
kind: "agent" | "human";
|
|
2837
|
-
label: string;
|
|
2838
2836
|
id: string;
|
|
2837
|
+
label: string;
|
|
2838
|
+
kind: "agent" | "human";
|
|
2839
2839
|
};
|
|
2840
2840
|
note?: string | undefined;
|
|
2841
2841
|
evidence?: {
|
|
2842
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2843
|
-
label: string;
|
|
2844
2842
|
id: string;
|
|
2843
|
+
label: string;
|
|
2844
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2845
2845
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2846
2846
|
locator?: string | undefined;
|
|
2847
2847
|
}[] | undefined;
|
|
@@ -2851,9 +2851,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2851
2851
|
correctionId: string;
|
|
2852
2852
|
replacementDecisionId: string;
|
|
2853
2853
|
evidence?: {
|
|
2854
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2855
|
-
label: string;
|
|
2856
2854
|
id: string;
|
|
2855
|
+
label: string;
|
|
2856
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2857
2857
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2858
2858
|
locator?: string | undefined;
|
|
2859
2859
|
}[] | undefined;
|
|
@@ -2866,9 +2866,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2866
2866
|
recallReceiptId: string;
|
|
2867
2867
|
capturedAtAction: boolean;
|
|
2868
2868
|
evidence?: {
|
|
2869
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2870
|
-
label: string;
|
|
2871
2869
|
id: string;
|
|
2870
|
+
label: string;
|
|
2871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2872
2872
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2873
2873
|
locator?: string | undefined;
|
|
2874
2874
|
}[] | undefined;
|
|
@@ -2881,20 +2881,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2881
2881
|
recallReceiptId: string;
|
|
2882
2882
|
staleDecisionAbsent: boolean;
|
|
2883
2883
|
evidence?: {
|
|
2884
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2885
|
-
label: string;
|
|
2886
2884
|
id: string;
|
|
2885
|
+
label: string;
|
|
2886
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2887
2887
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2888
2888
|
locator?: string | undefined;
|
|
2889
2889
|
}[] | undefined;
|
|
2890
2890
|
} | {
|
|
2891
|
-
kind: "mission_completed";
|
|
2892
2891
|
summary: string;
|
|
2892
|
+
kind: "mission_completed";
|
|
2893
2893
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2894
2894
|
evidence?: {
|
|
2895
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2896
|
-
label: string;
|
|
2897
2895
|
id: string;
|
|
2896
|
+
label: string;
|
|
2897
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2898
2898
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2899
2899
|
locator?: string | undefined;
|
|
2900
2900
|
}[] | undefined;
|
|
@@ -2904,38 +2904,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2904
2904
|
kind: "mission_started";
|
|
2905
2905
|
title: string;
|
|
2906
2906
|
evidence: {
|
|
2907
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2908
|
-
label: string;
|
|
2909
2907
|
id: string;
|
|
2908
|
+
label: string;
|
|
2909
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2910
2910
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2911
2911
|
locator?: string | undefined;
|
|
2912
2912
|
}[];
|
|
2913
2913
|
objective: string;
|
|
2914
2914
|
runMode: "replay" | "fixture" | "live";
|
|
2915
2915
|
} | {
|
|
2916
|
-
kind: "agent_status";
|
|
2917
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2918
2916
|
label: string;
|
|
2917
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2918
|
+
kind: "agent_status";
|
|
2919
2919
|
role: string;
|
|
2920
2920
|
agentId: string;
|
|
2921
2921
|
sessionId: string;
|
|
2922
2922
|
evidence: {
|
|
2923
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2924
|
-
label: string;
|
|
2925
2923
|
id: string;
|
|
2924
|
+
label: string;
|
|
2925
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2926
2926
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2927
2927
|
locator?: string | undefined;
|
|
2928
2928
|
}[];
|
|
2929
2929
|
detail?: string | undefined;
|
|
2930
2930
|
} | {
|
|
2931
|
-
kind: "agent_output";
|
|
2932
2931
|
summary: string;
|
|
2932
|
+
kind: "agent_output";
|
|
2933
2933
|
agentId: string;
|
|
2934
2934
|
sessionId: string;
|
|
2935
2935
|
evidence: {
|
|
2936
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2937
|
-
label: string;
|
|
2938
2936
|
id: string;
|
|
2937
|
+
label: string;
|
|
2938
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2939
2939
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2940
2940
|
locator?: string | undefined;
|
|
2941
2941
|
}[];
|
|
@@ -2946,9 +2946,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2946
2946
|
statement: string;
|
|
2947
2947
|
sessionId: string;
|
|
2948
2948
|
evidence: {
|
|
2949
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2950
|
-
label: string;
|
|
2951
2949
|
id: string;
|
|
2950
|
+
label: string;
|
|
2951
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2952
2952
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2953
2953
|
locator?: string | undefined;
|
|
2954
2954
|
}[];
|
|
@@ -2956,12 +2956,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2956
2956
|
decisionId: string;
|
|
2957
2957
|
confidence?: number | undefined;
|
|
2958
2958
|
} | {
|
|
2959
|
-
kind: "conflict_detected";
|
|
2960
2959
|
summary: string;
|
|
2960
|
+
kind: "conflict_detected";
|
|
2961
2961
|
evidence: {
|
|
2962
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2963
|
-
label: string;
|
|
2964
2962
|
id: string;
|
|
2963
|
+
label: string;
|
|
2964
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2965
2965
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2966
2966
|
locator?: string | undefined;
|
|
2967
2967
|
}[];
|
|
@@ -2969,14 +2969,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2969
2969
|
decisionIds: string[];
|
|
2970
2970
|
agentIds: string[];
|
|
2971
2971
|
} | {
|
|
2972
|
-
kind: "test_result";
|
|
2973
2972
|
summary: string;
|
|
2974
2973
|
status: "error" | "failed" | "passed";
|
|
2974
|
+
kind: "test_result";
|
|
2975
2975
|
command: string;
|
|
2976
2976
|
evidence: {
|
|
2977
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2978
|
-
label: string;
|
|
2979
2977
|
id: string;
|
|
2978
|
+
label: string;
|
|
2979
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2980
2980
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2981
2981
|
locator?: string | undefined;
|
|
2982
2982
|
}[];
|
|
@@ -2989,9 +2989,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2989
2989
|
rationale: string;
|
|
2990
2990
|
statement: string;
|
|
2991
2991
|
evidence: {
|
|
2992
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2993
|
-
label: string;
|
|
2994
2992
|
id: string;
|
|
2993
|
+
label: string;
|
|
2994
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2995
2995
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2996
2996
|
locator?: string | undefined;
|
|
2997
2997
|
}[];
|
|
@@ -3003,25 +3003,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3003
3003
|
} | {
|
|
3004
3004
|
kind: "correction_approved";
|
|
3005
3005
|
evidence: {
|
|
3006
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3007
|
-
label: string;
|
|
3008
3006
|
id: string;
|
|
3007
|
+
label: string;
|
|
3008
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3009
3009
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3010
3010
|
locator?: string | undefined;
|
|
3011
3011
|
}[];
|
|
3012
3012
|
correctionId: string;
|
|
3013
3013
|
approvedBy: {
|
|
3014
|
-
kind: "agent" | "human";
|
|
3015
|
-
label: string;
|
|
3016
3014
|
id: string;
|
|
3015
|
+
label: string;
|
|
3016
|
+
kind: "agent" | "human";
|
|
3017
3017
|
};
|
|
3018
3018
|
note?: string | undefined;
|
|
3019
3019
|
} | {
|
|
3020
3020
|
kind: "decision_superseded";
|
|
3021
3021
|
evidence: {
|
|
3022
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3023
|
-
label: string;
|
|
3024
3022
|
id: string;
|
|
3023
|
+
label: string;
|
|
3024
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3025
3025
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3026
3026
|
locator?: string | undefined;
|
|
3027
3027
|
}[];
|
|
@@ -3034,9 +3034,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3034
3034
|
agentId: string;
|
|
3035
3035
|
sessionId: string;
|
|
3036
3036
|
evidence: {
|
|
3037
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3038
|
-
label: string;
|
|
3039
3037
|
id: string;
|
|
3038
|
+
label: string;
|
|
3039
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3040
3040
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3041
3041
|
locator?: string | undefined;
|
|
3042
3042
|
}[];
|
|
@@ -3048,9 +3048,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3048
3048
|
agentId: string;
|
|
3049
3049
|
sessionId: string;
|
|
3050
3050
|
evidence: {
|
|
3051
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3052
|
-
label: string;
|
|
3053
3051
|
id: string;
|
|
3052
|
+
label: string;
|
|
3053
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3054
3054
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3055
3055
|
locator?: string | undefined;
|
|
3056
3056
|
}[];
|
|
@@ -3059,13 +3059,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3059
3059
|
recallReceiptId: string;
|
|
3060
3060
|
staleDecisionAbsent: boolean;
|
|
3061
3061
|
} | {
|
|
3062
|
-
kind: "mission_completed";
|
|
3063
3062
|
summary: string;
|
|
3063
|
+
kind: "mission_completed";
|
|
3064
3064
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3065
3065
|
evidence: {
|
|
3066
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3067
|
-
label: string;
|
|
3068
3066
|
id: string;
|
|
3067
|
+
label: string;
|
|
3068
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3069
3069
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3070
3070
|
locator?: string | undefined;
|
|
3071
3071
|
}[];
|
|
@@ -3079,37 +3079,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3079
3079
|
objective: string;
|
|
3080
3080
|
runMode: "replay" | "fixture" | "live";
|
|
3081
3081
|
evidence?: {
|
|
3082
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3083
|
-
label: string;
|
|
3084
3082
|
id: string;
|
|
3083
|
+
label: string;
|
|
3084
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3085
3085
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3086
3086
|
locator?: string | undefined;
|
|
3087
3087
|
}[] | undefined;
|
|
3088
3088
|
} | {
|
|
3089
|
-
kind: "agent_status";
|
|
3090
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3091
3089
|
label: string;
|
|
3090
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3091
|
+
kind: "agent_status";
|
|
3092
3092
|
role: string;
|
|
3093
3093
|
agentId: string;
|
|
3094
3094
|
sessionId: string;
|
|
3095
3095
|
detail?: string | undefined;
|
|
3096
3096
|
evidence?: {
|
|
3097
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3098
|
-
label: string;
|
|
3099
3097
|
id: string;
|
|
3098
|
+
label: string;
|
|
3099
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3100
3100
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3101
3101
|
locator?: string | undefined;
|
|
3102
3102
|
}[] | undefined;
|
|
3103
3103
|
} | {
|
|
3104
|
-
kind: "agent_output";
|
|
3105
3104
|
summary: string;
|
|
3105
|
+
kind: "agent_output";
|
|
3106
3106
|
agentId: string;
|
|
3107
3107
|
sessionId: string;
|
|
3108
3108
|
outputId: string;
|
|
3109
3109
|
evidence?: {
|
|
3110
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3111
|
-
label: string;
|
|
3112
3110
|
id: string;
|
|
3111
|
+
label: string;
|
|
3112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3113
3113
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3114
3114
|
locator?: string | undefined;
|
|
3115
3115
|
}[] | undefined;
|
|
@@ -3122,37 +3122,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3122
3122
|
decisionId: string;
|
|
3123
3123
|
confidence?: number | undefined;
|
|
3124
3124
|
evidence?: {
|
|
3125
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3126
|
-
label: string;
|
|
3127
3125
|
id: string;
|
|
3126
|
+
label: string;
|
|
3127
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3128
3128
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3129
3129
|
locator?: string | undefined;
|
|
3130
3130
|
}[] | undefined;
|
|
3131
3131
|
} | {
|
|
3132
|
-
kind: "conflict_detected";
|
|
3133
3132
|
summary: string;
|
|
3133
|
+
kind: "conflict_detected";
|
|
3134
3134
|
conflictId: string;
|
|
3135
3135
|
decisionIds: string[];
|
|
3136
3136
|
agentIds: string[];
|
|
3137
3137
|
evidence?: {
|
|
3138
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3139
|
-
label: string;
|
|
3140
3138
|
id: string;
|
|
3139
|
+
label: string;
|
|
3140
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3141
3141
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3142
3142
|
locator?: string | undefined;
|
|
3143
3143
|
}[] | undefined;
|
|
3144
3144
|
} | {
|
|
3145
|
-
kind: "test_result";
|
|
3146
3145
|
summary: string;
|
|
3147
3146
|
status: "error" | "failed" | "passed";
|
|
3147
|
+
kind: "test_result";
|
|
3148
3148
|
command: string;
|
|
3149
3149
|
decisionId: string;
|
|
3150
3150
|
testId: string;
|
|
3151
3151
|
durationMs?: number | undefined;
|
|
3152
3152
|
evidence?: {
|
|
3153
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3154
|
-
label: string;
|
|
3155
3153
|
id: string;
|
|
3154
|
+
label: string;
|
|
3155
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3156
3156
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3157
3157
|
locator?: string | undefined;
|
|
3158
3158
|
}[] | undefined;
|
|
@@ -3167,9 +3167,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3167
3167
|
supersedesDecisionIds: string[];
|
|
3168
3168
|
proposedBy: string;
|
|
3169
3169
|
evidence?: {
|
|
3170
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3171
|
-
label: string;
|
|
3172
3170
|
id: string;
|
|
3171
|
+
label: string;
|
|
3172
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3173
3173
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3174
3174
|
locator?: string | undefined;
|
|
3175
3175
|
}[] | undefined;
|
|
@@ -3177,15 +3177,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3177
3177
|
kind: "correction_approved";
|
|
3178
3178
|
correctionId: string;
|
|
3179
3179
|
approvedBy: {
|
|
3180
|
-
kind: "agent" | "human";
|
|
3181
|
-
label: string;
|
|
3182
3180
|
id: string;
|
|
3181
|
+
label: string;
|
|
3182
|
+
kind: "agent" | "human";
|
|
3183
3183
|
};
|
|
3184
3184
|
note?: string | undefined;
|
|
3185
3185
|
evidence?: {
|
|
3186
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3187
|
-
label: string;
|
|
3188
3186
|
id: string;
|
|
3187
|
+
label: string;
|
|
3188
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3189
3189
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3190
3190
|
locator?: string | undefined;
|
|
3191
3191
|
}[] | undefined;
|
|
@@ -3195,9 +3195,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3195
3195
|
correctionId: string;
|
|
3196
3196
|
replacementDecisionId: string;
|
|
3197
3197
|
evidence?: {
|
|
3198
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3199
|
-
label: string;
|
|
3200
3198
|
id: string;
|
|
3199
|
+
label: string;
|
|
3200
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3201
3201
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3202
3202
|
locator?: string | undefined;
|
|
3203
3203
|
}[] | undefined;
|
|
@@ -3210,9 +3210,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3210
3210
|
recallReceiptId: string;
|
|
3211
3211
|
capturedAtAction: boolean;
|
|
3212
3212
|
evidence?: {
|
|
3213
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3214
|
-
label: string;
|
|
3215
3213
|
id: string;
|
|
3214
|
+
label: string;
|
|
3215
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3216
3216
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3217
3217
|
locator?: string | undefined;
|
|
3218
3218
|
}[] | undefined;
|
|
@@ -3225,20 +3225,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3225
3225
|
recallReceiptId: string;
|
|
3226
3226
|
staleDecisionAbsent: boolean;
|
|
3227
3227
|
evidence?: {
|
|
3228
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3229
|
-
label: string;
|
|
3230
3228
|
id: string;
|
|
3229
|
+
label: string;
|
|
3230
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3231
3231
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3232
3232
|
locator?: string | undefined;
|
|
3233
3233
|
}[] | undefined;
|
|
3234
3234
|
} | {
|
|
3235
|
-
kind: "mission_completed";
|
|
3236
3235
|
summary: string;
|
|
3236
|
+
kind: "mission_completed";
|
|
3237
3237
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3238
3238
|
evidence?: {
|
|
3239
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3240
|
-
label: string;
|
|
3241
3239
|
id: string;
|
|
3240
|
+
label: string;
|
|
3241
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3242
3242
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3243
3243
|
locator?: string | undefined;
|
|
3244
3244
|
}[] | undefined;
|
|
@@ -3268,15 +3268,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3268
3268
|
locator: z.ZodOptional<z.ZodString>;
|
|
3269
3269
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3270
3270
|
}, "strict", z.ZodTypeAny, {
|
|
3271
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3272
|
-
label: string;
|
|
3273
3271
|
id: string;
|
|
3272
|
+
label: string;
|
|
3273
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3274
3274
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3275
3275
|
locator?: string | undefined;
|
|
3276
3276
|
}, {
|
|
3277
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3278
|
-
label: string;
|
|
3279
3277
|
id: string;
|
|
3278
|
+
label: string;
|
|
3279
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3280
3280
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3281
3281
|
locator?: string | undefined;
|
|
3282
3282
|
}>, "many">>;
|
|
@@ -3284,9 +3284,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3284
3284
|
kind: "mission_started";
|
|
3285
3285
|
title: string;
|
|
3286
3286
|
evidence: {
|
|
3287
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3288
|
-
label: string;
|
|
3289
3287
|
id: string;
|
|
3288
|
+
label: string;
|
|
3289
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3290
3290
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3291
3291
|
locator?: string | undefined;
|
|
3292
3292
|
}[];
|
|
@@ -3298,9 +3298,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3298
3298
|
objective: string;
|
|
3299
3299
|
runMode: "replay" | "fixture" | "live";
|
|
3300
3300
|
evidence?: {
|
|
3301
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3302
|
-
label: string;
|
|
3303
3301
|
id: string;
|
|
3302
|
+
label: string;
|
|
3303
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3304
3304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3305
3305
|
locator?: string | undefined;
|
|
3306
3306
|
}[] | undefined;
|
|
@@ -3316,15 +3316,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3316
3316
|
locator: z.ZodOptional<z.ZodString>;
|
|
3317
3317
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3318
3318
|
}, "strict", z.ZodTypeAny, {
|
|
3319
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3320
|
-
label: string;
|
|
3321
3319
|
id: string;
|
|
3320
|
+
label: string;
|
|
3321
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3322
3322
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3323
3323
|
locator?: string | undefined;
|
|
3324
3324
|
}, {
|
|
3325
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3326
|
-
label: string;
|
|
3327
3325
|
id: string;
|
|
3326
|
+
label: string;
|
|
3327
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3328
3328
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3329
3329
|
locator?: string | undefined;
|
|
3330
3330
|
}>, "many">>;
|
|
@@ -3332,32 +3332,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3332
3332
|
sessionId: z.ZodString;
|
|
3333
3333
|
kind: z.ZodLiteral<"agent_status">;
|
|
3334
3334
|
}, "strict", z.ZodTypeAny, {
|
|
3335
|
-
kind: "agent_status";
|
|
3336
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3337
3335
|
label: string;
|
|
3336
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3337
|
+
kind: "agent_status";
|
|
3338
3338
|
role: string;
|
|
3339
3339
|
agentId: string;
|
|
3340
3340
|
sessionId: string;
|
|
3341
3341
|
evidence: {
|
|
3342
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3343
|
-
label: string;
|
|
3344
3342
|
id: string;
|
|
3343
|
+
label: string;
|
|
3344
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3345
3345
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3346
3346
|
locator?: string | undefined;
|
|
3347
3347
|
}[];
|
|
3348
3348
|
detail?: string | undefined;
|
|
3349
3349
|
}, {
|
|
3350
|
-
kind: "agent_status";
|
|
3351
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3352
3350
|
label: string;
|
|
3351
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3352
|
+
kind: "agent_status";
|
|
3353
3353
|
role: string;
|
|
3354
3354
|
agentId: string;
|
|
3355
3355
|
sessionId: string;
|
|
3356
3356
|
detail?: string | undefined;
|
|
3357
3357
|
evidence?: {
|
|
3358
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3359
|
-
label: string;
|
|
3360
3358
|
id: string;
|
|
3359
|
+
label: string;
|
|
3360
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3361
3361
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3362
3362
|
locator?: string | undefined;
|
|
3363
3363
|
}[] | undefined;
|
|
@@ -3371,15 +3371,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3371
3371
|
locator: z.ZodOptional<z.ZodString>;
|
|
3372
3372
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3373
3373
|
}, "strict", z.ZodTypeAny, {
|
|
3374
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3375
|
-
label: string;
|
|
3376
3374
|
id: string;
|
|
3375
|
+
label: string;
|
|
3376
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3377
3377
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3378
3378
|
locator?: string | undefined;
|
|
3379
3379
|
}, {
|
|
3380
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3381
|
-
label: string;
|
|
3382
3380
|
id: string;
|
|
3381
|
+
label: string;
|
|
3382
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3383
3383
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3384
3384
|
locator?: string | undefined;
|
|
3385
3385
|
}>, "many">>;
|
|
@@ -3387,28 +3387,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3387
3387
|
sessionId: z.ZodString;
|
|
3388
3388
|
kind: z.ZodLiteral<"agent_output">;
|
|
3389
3389
|
}, "strict", z.ZodTypeAny, {
|
|
3390
|
-
kind: "agent_output";
|
|
3391
3390
|
summary: string;
|
|
3391
|
+
kind: "agent_output";
|
|
3392
3392
|
agentId: string;
|
|
3393
3393
|
sessionId: string;
|
|
3394
3394
|
evidence: {
|
|
3395
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3396
|
-
label: string;
|
|
3397
3395
|
id: string;
|
|
3396
|
+
label: string;
|
|
3397
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3398
3398
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3399
3399
|
locator?: string | undefined;
|
|
3400
3400
|
}[];
|
|
3401
3401
|
outputId: string;
|
|
3402
3402
|
}, {
|
|
3403
|
-
kind: "agent_output";
|
|
3404
3403
|
summary: string;
|
|
3404
|
+
kind: "agent_output";
|
|
3405
3405
|
agentId: string;
|
|
3406
3406
|
sessionId: string;
|
|
3407
3407
|
outputId: string;
|
|
3408
3408
|
evidence?: {
|
|
3409
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3410
|
-
label: string;
|
|
3411
3409
|
id: string;
|
|
3410
|
+
label: string;
|
|
3411
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3412
3412
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3413
3413
|
locator?: string | undefined;
|
|
3414
3414
|
}[] | undefined;
|
|
@@ -3424,15 +3424,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3424
3424
|
locator: z.ZodOptional<z.ZodString>;
|
|
3425
3425
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3426
3426
|
}, "strict", z.ZodTypeAny, {
|
|
3427
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3428
|
-
label: string;
|
|
3429
3427
|
id: string;
|
|
3428
|
+
label: string;
|
|
3429
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3430
3430
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3431
3431
|
locator?: string | undefined;
|
|
3432
3432
|
}, {
|
|
3433
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3434
|
-
label: string;
|
|
3435
3433
|
id: string;
|
|
3434
|
+
label: string;
|
|
3435
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3436
3436
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3437
3437
|
locator?: string | undefined;
|
|
3438
3438
|
}>, "many">>;
|
|
@@ -3445,9 +3445,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3445
3445
|
statement: string;
|
|
3446
3446
|
sessionId: string;
|
|
3447
3447
|
evidence: {
|
|
3448
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3449
|
-
label: string;
|
|
3450
3448
|
id: string;
|
|
3449
|
+
label: string;
|
|
3450
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3451
3451
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3452
3452
|
locator?: string | undefined;
|
|
3453
3453
|
}[];
|
|
@@ -3463,9 +3463,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3463
3463
|
decisionId: string;
|
|
3464
3464
|
confidence?: number | undefined;
|
|
3465
3465
|
evidence?: {
|
|
3466
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3467
|
-
label: string;
|
|
3468
3466
|
id: string;
|
|
3467
|
+
label: string;
|
|
3468
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3469
3469
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3470
3470
|
locator?: string | undefined;
|
|
3471
3471
|
}[] | undefined;
|
|
@@ -3482,25 +3482,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3482
3482
|
locator: z.ZodOptional<z.ZodString>;
|
|
3483
3483
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3484
3484
|
}, "strict", z.ZodTypeAny, {
|
|
3485
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3486
|
-
label: string;
|
|
3487
3485
|
id: string;
|
|
3486
|
+
label: string;
|
|
3487
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3488
3488
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3489
3489
|
locator?: string | undefined;
|
|
3490
3490
|
}, {
|
|
3491
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3492
|
-
label: string;
|
|
3493
3491
|
id: string;
|
|
3492
|
+
label: string;
|
|
3493
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3494
3494
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3495
3495
|
locator?: string | undefined;
|
|
3496
3496
|
}>, "many">>;
|
|
3497
3497
|
}, "strict", z.ZodTypeAny, {
|
|
3498
|
-
kind: "conflict_detected";
|
|
3499
3498
|
summary: string;
|
|
3499
|
+
kind: "conflict_detected";
|
|
3500
3500
|
evidence: {
|
|
3501
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3502
|
-
label: string;
|
|
3503
3501
|
id: string;
|
|
3502
|
+
label: string;
|
|
3503
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3504
3504
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3505
3505
|
locator?: string | undefined;
|
|
3506
3506
|
}[];
|
|
@@ -3508,15 +3508,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3508
3508
|
decisionIds: string[];
|
|
3509
3509
|
agentIds: string[];
|
|
3510
3510
|
}, {
|
|
3511
|
-
kind: "conflict_detected";
|
|
3512
3511
|
summary: string;
|
|
3512
|
+
kind: "conflict_detected";
|
|
3513
3513
|
conflictId: string;
|
|
3514
3514
|
decisionIds: string[];
|
|
3515
3515
|
agentIds: string[];
|
|
3516
3516
|
evidence?: {
|
|
3517
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3518
|
-
label: string;
|
|
3519
3517
|
id: string;
|
|
3518
|
+
label: string;
|
|
3519
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3520
3520
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3521
3521
|
locator?: string | undefined;
|
|
3522
3522
|
}[] | undefined;
|
|
@@ -3536,27 +3536,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3536
3536
|
locator: z.ZodOptional<z.ZodString>;
|
|
3537
3537
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3538
3538
|
}, "strict", z.ZodTypeAny, {
|
|
3539
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3540
|
-
label: string;
|
|
3541
3539
|
id: string;
|
|
3540
|
+
label: string;
|
|
3541
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3542
3542
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3543
3543
|
locator?: string | undefined;
|
|
3544
3544
|
}, {
|
|
3545
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3546
|
-
label: string;
|
|
3547
3545
|
id: string;
|
|
3546
|
+
label: string;
|
|
3547
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3548
3548
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3549
3549
|
locator?: string | undefined;
|
|
3550
3550
|
}>, "many">>;
|
|
3551
3551
|
}, "strict", z.ZodTypeAny, {
|
|
3552
|
-
kind: "test_result";
|
|
3553
3552
|
summary: string;
|
|
3554
3553
|
status: "error" | "failed" | "passed";
|
|
3554
|
+
kind: "test_result";
|
|
3555
3555
|
command: string;
|
|
3556
3556
|
evidence: {
|
|
3557
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3558
|
-
label: string;
|
|
3559
3557
|
id: string;
|
|
3558
|
+
label: string;
|
|
3559
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3560
3560
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3561
3561
|
locator?: string | undefined;
|
|
3562
3562
|
}[];
|
|
@@ -3565,17 +3565,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3565
3565
|
durationMs?: number | undefined;
|
|
3566
3566
|
correctionId?: string | undefined;
|
|
3567
3567
|
}, {
|
|
3568
|
-
kind: "test_result";
|
|
3569
3568
|
summary: string;
|
|
3570
3569
|
status: "error" | "failed" | "passed";
|
|
3570
|
+
kind: "test_result";
|
|
3571
3571
|
command: string;
|
|
3572
3572
|
decisionId: string;
|
|
3573
3573
|
testId: string;
|
|
3574
3574
|
durationMs?: number | undefined;
|
|
3575
3575
|
evidence?: {
|
|
3576
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3577
|
-
label: string;
|
|
3578
3576
|
id: string;
|
|
3577
|
+
label: string;
|
|
3578
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3579
3579
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3580
3580
|
locator?: string | undefined;
|
|
3581
3581
|
}[] | undefined;
|
|
@@ -3596,15 +3596,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3596
3596
|
locator: z.ZodOptional<z.ZodString>;
|
|
3597
3597
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3598
3598
|
}, "strict", z.ZodTypeAny, {
|
|
3599
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3600
|
-
label: string;
|
|
3601
3599
|
id: string;
|
|
3600
|
+
label: string;
|
|
3601
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3602
3602
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3603
3603
|
locator?: string | undefined;
|
|
3604
3604
|
}, {
|
|
3605
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3606
|
-
label: string;
|
|
3607
3605
|
id: string;
|
|
3606
|
+
label: string;
|
|
3607
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3608
3608
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3609
3609
|
locator?: string | undefined;
|
|
3610
3610
|
}>, "many">>;
|
|
@@ -3613,9 +3613,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3613
3613
|
rationale: string;
|
|
3614
3614
|
statement: string;
|
|
3615
3615
|
evidence: {
|
|
3616
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3617
|
-
label: string;
|
|
3618
3616
|
id: string;
|
|
3617
|
+
label: string;
|
|
3618
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3619
3619
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3620
3620
|
locator?: string | undefined;
|
|
3621
3621
|
}[];
|
|
@@ -3634,9 +3634,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3634
3634
|
supersedesDecisionIds: string[];
|
|
3635
3635
|
proposedBy: string;
|
|
3636
3636
|
evidence?: {
|
|
3637
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3638
|
-
label: string;
|
|
3639
3637
|
id: string;
|
|
3638
|
+
label: string;
|
|
3639
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3640
3640
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3641
3641
|
locator?: string | undefined;
|
|
3642
3642
|
}[] | undefined;
|
|
@@ -3648,13 +3648,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3648
3648
|
id: z.ZodString;
|
|
3649
3649
|
label: z.ZodString;
|
|
3650
3650
|
}, "strict", z.ZodTypeAny, {
|
|
3651
|
-
kind: "agent" | "human";
|
|
3652
|
-
label: string;
|
|
3653
3651
|
id: string;
|
|
3654
|
-
}, {
|
|
3655
|
-
kind: "agent" | "human";
|
|
3656
3652
|
label: string;
|
|
3653
|
+
kind: "agent" | "human";
|
|
3654
|
+
}, {
|
|
3657
3655
|
id: string;
|
|
3656
|
+
label: string;
|
|
3657
|
+
kind: "agent" | "human";
|
|
3658
3658
|
}>;
|
|
3659
3659
|
note: z.ZodOptional<z.ZodString>;
|
|
3660
3660
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3664,47 +3664,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3664
3664
|
locator: z.ZodOptional<z.ZodString>;
|
|
3665
3665
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3666
3666
|
}, "strict", z.ZodTypeAny, {
|
|
3667
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3668
|
-
label: string;
|
|
3669
3667
|
id: string;
|
|
3668
|
+
label: string;
|
|
3669
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3670
3670
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3671
3671
|
locator?: string | undefined;
|
|
3672
3672
|
}, {
|
|
3673
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3674
|
-
label: string;
|
|
3675
3673
|
id: string;
|
|
3674
|
+
label: string;
|
|
3675
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3676
3676
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3677
3677
|
locator?: string | undefined;
|
|
3678
3678
|
}>, "many">>;
|
|
3679
3679
|
}, "strict", z.ZodTypeAny, {
|
|
3680
3680
|
kind: "correction_approved";
|
|
3681
3681
|
evidence: {
|
|
3682
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3683
|
-
label: string;
|
|
3684
3682
|
id: string;
|
|
3683
|
+
label: string;
|
|
3684
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3685
3685
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3686
3686
|
locator?: string | undefined;
|
|
3687
3687
|
}[];
|
|
3688
3688
|
correctionId: string;
|
|
3689
3689
|
approvedBy: {
|
|
3690
|
-
kind: "agent" | "human";
|
|
3691
|
-
label: string;
|
|
3692
3690
|
id: string;
|
|
3691
|
+
label: string;
|
|
3692
|
+
kind: "agent" | "human";
|
|
3693
3693
|
};
|
|
3694
3694
|
note?: string | undefined;
|
|
3695
3695
|
}, {
|
|
3696
3696
|
kind: "correction_approved";
|
|
3697
3697
|
correctionId: string;
|
|
3698
3698
|
approvedBy: {
|
|
3699
|
-
kind: "agent" | "human";
|
|
3700
|
-
label: string;
|
|
3701
3699
|
id: string;
|
|
3700
|
+
label: string;
|
|
3701
|
+
kind: "agent" | "human";
|
|
3702
3702
|
};
|
|
3703
3703
|
note?: string | undefined;
|
|
3704
3704
|
evidence?: {
|
|
3705
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3706
|
-
label: string;
|
|
3707
3705
|
id: string;
|
|
3706
|
+
label: string;
|
|
3707
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3708
3708
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3709
3709
|
locator?: string | undefined;
|
|
3710
3710
|
}[] | undefined;
|
|
@@ -3720,24 +3720,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3720
3720
|
locator: z.ZodOptional<z.ZodString>;
|
|
3721
3721
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3722
3722
|
}, "strict", z.ZodTypeAny, {
|
|
3723
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3724
|
-
label: string;
|
|
3725
3723
|
id: string;
|
|
3724
|
+
label: string;
|
|
3725
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3726
3726
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3727
3727
|
locator?: string | undefined;
|
|
3728
3728
|
}, {
|
|
3729
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3730
|
-
label: string;
|
|
3731
3729
|
id: string;
|
|
3730
|
+
label: string;
|
|
3731
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3732
3732
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3733
3733
|
locator?: string | undefined;
|
|
3734
3734
|
}>, "many">>;
|
|
3735
3735
|
}, "strict", z.ZodTypeAny, {
|
|
3736
3736
|
kind: "decision_superseded";
|
|
3737
3737
|
evidence: {
|
|
3738
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3739
|
-
label: string;
|
|
3740
3738
|
id: string;
|
|
3739
|
+
label: string;
|
|
3740
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3741
3741
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3742
3742
|
locator?: string | undefined;
|
|
3743
3743
|
}[];
|
|
@@ -3750,9 +3750,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3750
3750
|
correctionId: string;
|
|
3751
3751
|
replacementDecisionId: string;
|
|
3752
3752
|
evidence?: {
|
|
3753
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3754
|
-
label: string;
|
|
3755
3753
|
id: string;
|
|
3754
|
+
label: string;
|
|
3755
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3756
3756
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3757
3757
|
locator?: string | undefined;
|
|
3758
3758
|
}[] | undefined;
|
|
@@ -3768,15 +3768,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3768
3768
|
locator: z.ZodOptional<z.ZodString>;
|
|
3769
3769
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3770
3770
|
}, "strict", z.ZodTypeAny, {
|
|
3771
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3772
|
-
label: string;
|
|
3773
3771
|
id: string;
|
|
3772
|
+
label: string;
|
|
3773
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3774
3774
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3775
3775
|
locator?: string | undefined;
|
|
3776
3776
|
}, {
|
|
3777
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3778
|
-
label: string;
|
|
3779
3777
|
id: string;
|
|
3778
|
+
label: string;
|
|
3779
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3780
3780
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3781
3781
|
locator?: string | undefined;
|
|
3782
3782
|
}>, "many">>;
|
|
@@ -3789,9 +3789,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3789
3789
|
agentId: string;
|
|
3790
3790
|
sessionId: string;
|
|
3791
3791
|
evidence: {
|
|
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
|
}[];
|
|
@@ -3807,9 +3807,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3807
3807
|
recallReceiptId: string;
|
|
3808
3808
|
capturedAtAction: boolean;
|
|
3809
3809
|
evidence?: {
|
|
3810
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3811
|
-
label: string;
|
|
3812
3810
|
id: string;
|
|
3811
|
+
label: string;
|
|
3812
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3813
3813
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3814
3814
|
locator?: string | undefined;
|
|
3815
3815
|
}[] | undefined;
|
|
@@ -3825,15 +3825,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3825
3825
|
locator: z.ZodOptional<z.ZodString>;
|
|
3826
3826
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3827
3827
|
}, "strict", z.ZodTypeAny, {
|
|
3828
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3829
|
-
label: string;
|
|
3830
3828
|
id: string;
|
|
3829
|
+
label: string;
|
|
3830
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3831
3831
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3832
3832
|
locator?: string | undefined;
|
|
3833
3833
|
}, {
|
|
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
|
}>, "many">>;
|
|
@@ -3845,9 +3845,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3845
3845
|
agentId: string;
|
|
3846
3846
|
sessionId: string;
|
|
3847
3847
|
evidence: {
|
|
3848
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3849
|
-
label: string;
|
|
3850
3848
|
id: string;
|
|
3849
|
+
label: string;
|
|
3850
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3851
3851
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3852
3852
|
locator?: string | undefined;
|
|
3853
3853
|
}[];
|
|
@@ -3864,9 +3864,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3864
3864
|
recallReceiptId: string;
|
|
3865
3865
|
staleDecisionAbsent: boolean;
|
|
3866
3866
|
evidence?: {
|
|
3867
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3868
|
-
label: string;
|
|
3869
3867
|
id: string;
|
|
3868
|
+
label: string;
|
|
3869
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3870
3870
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3871
3871
|
locator?: string | undefined;
|
|
3872
3872
|
}[] | undefined;
|
|
@@ -3881,37 +3881,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3881
3881
|
locator: z.ZodOptional<z.ZodString>;
|
|
3882
3882
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3883
3883
|
}, "strict", z.ZodTypeAny, {
|
|
3884
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3885
|
-
label: string;
|
|
3886
3884
|
id: string;
|
|
3885
|
+
label: string;
|
|
3886
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3887
3887
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3888
3888
|
locator?: string | undefined;
|
|
3889
3889
|
}, {
|
|
3890
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3891
|
-
label: string;
|
|
3892
3890
|
id: string;
|
|
3891
|
+
label: string;
|
|
3892
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3893
3893
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3894
3894
|
locator?: string | undefined;
|
|
3895
3895
|
}>, "many">>;
|
|
3896
3896
|
}, "strict", z.ZodTypeAny, {
|
|
3897
|
-
kind: "mission_completed";
|
|
3898
3897
|
summary: string;
|
|
3898
|
+
kind: "mission_completed";
|
|
3899
3899
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3900
3900
|
evidence: {
|
|
3901
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3902
|
-
label: string;
|
|
3903
3901
|
id: string;
|
|
3902
|
+
label: string;
|
|
3903
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3904
3904
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3905
3905
|
locator?: string | undefined;
|
|
3906
3906
|
}[];
|
|
3907
3907
|
}, {
|
|
3908
|
-
kind: "mission_completed";
|
|
3909
3908
|
summary: string;
|
|
3909
|
+
kind: "mission_completed";
|
|
3910
3910
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3911
3911
|
evidence?: {
|
|
3912
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3913
|
-
label: string;
|
|
3914
3912
|
id: string;
|
|
3913
|
+
label: string;
|
|
3914
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3915
3915
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3916
3916
|
locator?: string | undefined;
|
|
3917
3917
|
}[] | undefined;
|
|
@@ -3919,38 +3919,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3919
3919
|
kind: "mission_started";
|
|
3920
3920
|
title: string;
|
|
3921
3921
|
evidence: {
|
|
3922
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3923
|
-
label: string;
|
|
3924
3922
|
id: string;
|
|
3923
|
+
label: string;
|
|
3924
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3925
3925
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3926
3926
|
locator?: string | undefined;
|
|
3927
3927
|
}[];
|
|
3928
3928
|
objective: string;
|
|
3929
3929
|
runMode: "replay" | "fixture" | "live";
|
|
3930
3930
|
} | {
|
|
3931
|
-
kind: "agent_status";
|
|
3932
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3933
3931
|
label: string;
|
|
3932
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3933
|
+
kind: "agent_status";
|
|
3934
3934
|
role: string;
|
|
3935
3935
|
agentId: string;
|
|
3936
3936
|
sessionId: string;
|
|
3937
3937
|
evidence: {
|
|
3938
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3939
|
-
label: string;
|
|
3940
3938
|
id: string;
|
|
3939
|
+
label: string;
|
|
3940
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3941
3941
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3942
3942
|
locator?: string | undefined;
|
|
3943
3943
|
}[];
|
|
3944
3944
|
detail?: string | undefined;
|
|
3945
3945
|
} | {
|
|
3946
|
-
kind: "agent_output";
|
|
3947
3946
|
summary: string;
|
|
3947
|
+
kind: "agent_output";
|
|
3948
3948
|
agentId: string;
|
|
3949
3949
|
sessionId: string;
|
|
3950
3950
|
evidence: {
|
|
3951
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3952
|
-
label: string;
|
|
3953
3951
|
id: string;
|
|
3952
|
+
label: string;
|
|
3953
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3954
3954
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3955
3955
|
locator?: string | undefined;
|
|
3956
3956
|
}[];
|
|
@@ -3961,9 +3961,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3961
3961
|
statement: string;
|
|
3962
3962
|
sessionId: string;
|
|
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
|
}[];
|
|
@@ -3971,12 +3971,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3971
3971
|
decisionId: string;
|
|
3972
3972
|
confidence?: number | undefined;
|
|
3973
3973
|
} | {
|
|
3974
|
-
kind: "conflict_detected";
|
|
3975
3974
|
summary: string;
|
|
3975
|
+
kind: "conflict_detected";
|
|
3976
3976
|
evidence: {
|
|
3977
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3978
|
-
label: string;
|
|
3979
3977
|
id: string;
|
|
3978
|
+
label: string;
|
|
3979
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3980
3980
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3981
3981
|
locator?: string | undefined;
|
|
3982
3982
|
}[];
|
|
@@ -3984,14 +3984,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3984
3984
|
decisionIds: string[];
|
|
3985
3985
|
agentIds: string[];
|
|
3986
3986
|
} | {
|
|
3987
|
-
kind: "test_result";
|
|
3988
3987
|
summary: string;
|
|
3989
3988
|
status: "error" | "failed" | "passed";
|
|
3989
|
+
kind: "test_result";
|
|
3990
3990
|
command: string;
|
|
3991
3991
|
evidence: {
|
|
3992
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3993
|
-
label: string;
|
|
3994
3992
|
id: string;
|
|
3993
|
+
label: string;
|
|
3994
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3995
3995
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3996
3996
|
locator?: string | undefined;
|
|
3997
3997
|
}[];
|
|
@@ -4004,9 +4004,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4004
4004
|
rationale: string;
|
|
4005
4005
|
statement: string;
|
|
4006
4006
|
evidence: {
|
|
4007
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4008
|
-
label: string;
|
|
4009
4007
|
id: string;
|
|
4008
|
+
label: string;
|
|
4009
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4010
4010
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4011
4011
|
locator?: string | undefined;
|
|
4012
4012
|
}[];
|
|
@@ -4018,25 +4018,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4018
4018
|
} | {
|
|
4019
4019
|
kind: "correction_approved";
|
|
4020
4020
|
evidence: {
|
|
4021
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4022
|
-
label: string;
|
|
4023
4021
|
id: string;
|
|
4022
|
+
label: string;
|
|
4023
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4024
4024
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4025
4025
|
locator?: string | undefined;
|
|
4026
4026
|
}[];
|
|
4027
4027
|
correctionId: string;
|
|
4028
4028
|
approvedBy: {
|
|
4029
|
-
kind: "agent" | "human";
|
|
4030
|
-
label: string;
|
|
4031
4029
|
id: string;
|
|
4030
|
+
label: string;
|
|
4031
|
+
kind: "agent" | "human";
|
|
4032
4032
|
};
|
|
4033
4033
|
note?: string | undefined;
|
|
4034
4034
|
} | {
|
|
4035
4035
|
kind: "decision_superseded";
|
|
4036
4036
|
evidence: {
|
|
4037
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4038
|
-
label: string;
|
|
4039
4037
|
id: string;
|
|
4038
|
+
label: string;
|
|
4039
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4040
4040
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4041
4041
|
locator?: string | undefined;
|
|
4042
4042
|
}[];
|
|
@@ -4049,9 +4049,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4049
4049
|
agentId: string;
|
|
4050
4050
|
sessionId: string;
|
|
4051
4051
|
evidence: {
|
|
4052
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4053
|
-
label: string;
|
|
4054
4052
|
id: string;
|
|
4053
|
+
label: string;
|
|
4054
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4055
4055
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4056
4056
|
locator?: string | undefined;
|
|
4057
4057
|
}[];
|
|
@@ -4063,9 +4063,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4063
4063
|
agentId: string;
|
|
4064
4064
|
sessionId: string;
|
|
4065
4065
|
evidence: {
|
|
4066
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4067
|
-
label: string;
|
|
4068
4066
|
id: string;
|
|
4067
|
+
label: string;
|
|
4068
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4069
4069
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4070
4070
|
locator?: string | undefined;
|
|
4071
4071
|
}[];
|
|
@@ -4074,13 +4074,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4074
4074
|
recallReceiptId: string;
|
|
4075
4075
|
staleDecisionAbsent: boolean;
|
|
4076
4076
|
} | {
|
|
4077
|
-
kind: "mission_completed";
|
|
4078
4077
|
summary: string;
|
|
4078
|
+
kind: "mission_completed";
|
|
4079
4079
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4080
4080
|
evidence: {
|
|
4081
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4082
|
-
label: string;
|
|
4083
4081
|
id: string;
|
|
4082
|
+
label: string;
|
|
4083
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4084
4084
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4085
4085
|
locator?: string | undefined;
|
|
4086
4086
|
}[];
|
|
@@ -4090,37 +4090,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4090
4090
|
objective: string;
|
|
4091
4091
|
runMode: "replay" | "fixture" | "live";
|
|
4092
4092
|
evidence?: {
|
|
4093
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4094
|
-
label: string;
|
|
4095
4093
|
id: string;
|
|
4094
|
+
label: string;
|
|
4095
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4096
4096
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4097
4097
|
locator?: string | undefined;
|
|
4098
4098
|
}[] | undefined;
|
|
4099
4099
|
} | {
|
|
4100
|
-
kind: "agent_status";
|
|
4101
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4102
4100
|
label: string;
|
|
4101
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4102
|
+
kind: "agent_status";
|
|
4103
4103
|
role: string;
|
|
4104
4104
|
agentId: string;
|
|
4105
4105
|
sessionId: string;
|
|
4106
4106
|
detail?: string | undefined;
|
|
4107
4107
|
evidence?: {
|
|
4108
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4109
|
-
label: string;
|
|
4110
4108
|
id: string;
|
|
4109
|
+
label: string;
|
|
4110
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4111
4111
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4112
4112
|
locator?: string | undefined;
|
|
4113
4113
|
}[] | undefined;
|
|
4114
4114
|
} | {
|
|
4115
|
-
kind: "agent_output";
|
|
4116
4115
|
summary: string;
|
|
4116
|
+
kind: "agent_output";
|
|
4117
4117
|
agentId: string;
|
|
4118
4118
|
sessionId: string;
|
|
4119
4119
|
outputId: string;
|
|
4120
4120
|
evidence?: {
|
|
4121
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4122
|
-
label: string;
|
|
4123
4121
|
id: string;
|
|
4122
|
+
label: string;
|
|
4123
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4124
4124
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4125
4125
|
locator?: string | undefined;
|
|
4126
4126
|
}[] | undefined;
|
|
@@ -4133,37 +4133,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4133
4133
|
decisionId: string;
|
|
4134
4134
|
confidence?: number | undefined;
|
|
4135
4135
|
evidence?: {
|
|
4136
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4137
|
-
label: string;
|
|
4138
4136
|
id: string;
|
|
4137
|
+
label: string;
|
|
4138
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4139
4139
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4140
4140
|
locator?: string | undefined;
|
|
4141
4141
|
}[] | undefined;
|
|
4142
4142
|
} | {
|
|
4143
|
-
kind: "conflict_detected";
|
|
4144
4143
|
summary: string;
|
|
4144
|
+
kind: "conflict_detected";
|
|
4145
4145
|
conflictId: string;
|
|
4146
4146
|
decisionIds: string[];
|
|
4147
4147
|
agentIds: string[];
|
|
4148
4148
|
evidence?: {
|
|
4149
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4150
|
-
label: string;
|
|
4151
4149
|
id: string;
|
|
4150
|
+
label: string;
|
|
4151
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4152
4152
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4153
4153
|
locator?: string | undefined;
|
|
4154
4154
|
}[] | undefined;
|
|
4155
4155
|
} | {
|
|
4156
|
-
kind: "test_result";
|
|
4157
4156
|
summary: string;
|
|
4158
4157
|
status: "error" | "failed" | "passed";
|
|
4158
|
+
kind: "test_result";
|
|
4159
4159
|
command: string;
|
|
4160
4160
|
decisionId: string;
|
|
4161
4161
|
testId: string;
|
|
4162
4162
|
durationMs?: number | undefined;
|
|
4163
4163
|
evidence?: {
|
|
4164
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4165
|
-
label: string;
|
|
4166
4164
|
id: string;
|
|
4165
|
+
label: string;
|
|
4166
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4167
4167
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4168
4168
|
locator?: string | undefined;
|
|
4169
4169
|
}[] | undefined;
|
|
@@ -4178,9 +4178,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4178
4178
|
supersedesDecisionIds: string[];
|
|
4179
4179
|
proposedBy: string;
|
|
4180
4180
|
evidence?: {
|
|
4181
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4182
|
-
label: string;
|
|
4183
4181
|
id: string;
|
|
4182
|
+
label: string;
|
|
4183
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4184
4184
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4185
4185
|
locator?: string | undefined;
|
|
4186
4186
|
}[] | undefined;
|
|
@@ -4188,15 +4188,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4188
4188
|
kind: "correction_approved";
|
|
4189
4189
|
correctionId: string;
|
|
4190
4190
|
approvedBy: {
|
|
4191
|
-
kind: "agent" | "human";
|
|
4192
|
-
label: string;
|
|
4193
4191
|
id: string;
|
|
4192
|
+
label: string;
|
|
4193
|
+
kind: "agent" | "human";
|
|
4194
4194
|
};
|
|
4195
4195
|
note?: string | undefined;
|
|
4196
4196
|
evidence?: {
|
|
4197
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4198
|
-
label: string;
|
|
4199
4197
|
id: string;
|
|
4198
|
+
label: string;
|
|
4199
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4200
4200
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4201
4201
|
locator?: string | undefined;
|
|
4202
4202
|
}[] | undefined;
|
|
@@ -4206,9 +4206,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4206
4206
|
correctionId: string;
|
|
4207
4207
|
replacementDecisionId: string;
|
|
4208
4208
|
evidence?: {
|
|
4209
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4210
|
-
label: string;
|
|
4211
4209
|
id: string;
|
|
4210
|
+
label: string;
|
|
4211
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4212
4212
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4213
4213
|
locator?: string | undefined;
|
|
4214
4214
|
}[] | undefined;
|
|
@@ -4221,9 +4221,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4221
4221
|
recallReceiptId: string;
|
|
4222
4222
|
capturedAtAction: boolean;
|
|
4223
4223
|
evidence?: {
|
|
4224
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4225
|
-
label: string;
|
|
4226
4224
|
id: string;
|
|
4225
|
+
label: string;
|
|
4226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4227
4227
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4228
4228
|
locator?: string | undefined;
|
|
4229
4229
|
}[] | undefined;
|
|
@@ -4236,63 +4236,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4236
4236
|
recallReceiptId: string;
|
|
4237
4237
|
staleDecisionAbsent: boolean;
|
|
4238
4238
|
evidence?: {
|
|
4239
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4240
|
-
label: string;
|
|
4241
4239
|
id: string;
|
|
4240
|
+
label: string;
|
|
4241
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4242
4242
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4243
4243
|
locator?: string | undefined;
|
|
4244
4244
|
}[] | undefined;
|
|
4245
4245
|
} | {
|
|
4246
|
-
kind: "mission_completed";
|
|
4247
4246
|
summary: string;
|
|
4247
|
+
kind: "mission_completed";
|
|
4248
4248
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4249
4249
|
evidence?: {
|
|
4250
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4251
|
-
label: string;
|
|
4252
4250
|
id: string;
|
|
4251
|
+
label: string;
|
|
4252
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4253
4253
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4254
4254
|
locator?: string | undefined;
|
|
4255
4255
|
}[] | undefined;
|
|
4256
4256
|
}>;
|
|
4257
4257
|
}, "strict", z.ZodTypeAny, {
|
|
4258
|
-
|
|
4258
|
+
namespace: string;
|
|
4259
4259
|
recordedAt: string;
|
|
4260
|
+
schemaVersion: "1";
|
|
4260
4261
|
payload: {
|
|
4261
4262
|
kind: "mission_started";
|
|
4262
4263
|
title: string;
|
|
4263
4264
|
evidence: {
|
|
4264
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4265
|
-
label: string;
|
|
4266
4265
|
id: string;
|
|
4266
|
+
label: string;
|
|
4267
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4267
4268
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4268
4269
|
locator?: string | undefined;
|
|
4269
4270
|
}[];
|
|
4270
4271
|
objective: string;
|
|
4271
4272
|
runMode: "replay" | "fixture" | "live";
|
|
4272
4273
|
} | {
|
|
4273
|
-
kind: "agent_status";
|
|
4274
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4275
4274
|
label: string;
|
|
4275
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4276
|
+
kind: "agent_status";
|
|
4276
4277
|
role: string;
|
|
4277
4278
|
agentId: string;
|
|
4278
4279
|
sessionId: string;
|
|
4279
4280
|
evidence: {
|
|
4280
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4281
|
-
label: string;
|
|
4282
4281
|
id: string;
|
|
4282
|
+
label: string;
|
|
4283
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4283
4284
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4284
4285
|
locator?: string | undefined;
|
|
4285
4286
|
}[];
|
|
4286
4287
|
detail?: string | undefined;
|
|
4287
4288
|
} | {
|
|
4288
|
-
kind: "agent_output";
|
|
4289
4289
|
summary: string;
|
|
4290
|
+
kind: "agent_output";
|
|
4290
4291
|
agentId: string;
|
|
4291
4292
|
sessionId: string;
|
|
4292
4293
|
evidence: {
|
|
4293
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4294
|
-
label: string;
|
|
4295
4294
|
id: string;
|
|
4295
|
+
label: string;
|
|
4296
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4296
4297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4297
4298
|
locator?: string | undefined;
|
|
4298
4299
|
}[];
|
|
@@ -4303,9 +4304,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4303
4304
|
statement: string;
|
|
4304
4305
|
sessionId: string;
|
|
4305
4306
|
evidence: {
|
|
4306
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4307
|
-
label: string;
|
|
4308
4307
|
id: string;
|
|
4308
|
+
label: string;
|
|
4309
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4309
4310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4310
4311
|
locator?: string | undefined;
|
|
4311
4312
|
}[];
|
|
@@ -4313,12 +4314,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4313
4314
|
decisionId: string;
|
|
4314
4315
|
confidence?: number | undefined;
|
|
4315
4316
|
} | {
|
|
4316
|
-
kind: "conflict_detected";
|
|
4317
4317
|
summary: string;
|
|
4318
|
+
kind: "conflict_detected";
|
|
4318
4319
|
evidence: {
|
|
4319
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4320
|
-
label: string;
|
|
4321
4320
|
id: string;
|
|
4321
|
+
label: string;
|
|
4322
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4322
4323
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4323
4324
|
locator?: string | undefined;
|
|
4324
4325
|
}[];
|
|
@@ -4326,14 +4327,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4326
4327
|
decisionIds: string[];
|
|
4327
4328
|
agentIds: string[];
|
|
4328
4329
|
} | {
|
|
4329
|
-
kind: "test_result";
|
|
4330
4330
|
summary: string;
|
|
4331
4331
|
status: "error" | "failed" | "passed";
|
|
4332
|
+
kind: "test_result";
|
|
4332
4333
|
command: string;
|
|
4333
4334
|
evidence: {
|
|
4334
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4335
|
-
label: string;
|
|
4336
4335
|
id: string;
|
|
4336
|
+
label: string;
|
|
4337
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4337
4338
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4338
4339
|
locator?: string | undefined;
|
|
4339
4340
|
}[];
|
|
@@ -4346,9 +4347,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4346
4347
|
rationale: string;
|
|
4347
4348
|
statement: string;
|
|
4348
4349
|
evidence: {
|
|
4349
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4350
|
-
label: string;
|
|
4351
4350
|
id: string;
|
|
4351
|
+
label: string;
|
|
4352
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4352
4353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4353
4354
|
locator?: string | undefined;
|
|
4354
4355
|
}[];
|
|
@@ -4360,25 +4361,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4360
4361
|
} | {
|
|
4361
4362
|
kind: "correction_approved";
|
|
4362
4363
|
evidence: {
|
|
4363
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4364
|
-
label: string;
|
|
4365
4364
|
id: string;
|
|
4365
|
+
label: string;
|
|
4366
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4366
4367
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4367
4368
|
locator?: string | undefined;
|
|
4368
4369
|
}[];
|
|
4369
4370
|
correctionId: string;
|
|
4370
4371
|
approvedBy: {
|
|
4371
|
-
kind: "agent" | "human";
|
|
4372
|
-
label: string;
|
|
4373
4372
|
id: string;
|
|
4373
|
+
label: string;
|
|
4374
|
+
kind: "agent" | "human";
|
|
4374
4375
|
};
|
|
4375
4376
|
note?: string | undefined;
|
|
4376
4377
|
} | {
|
|
4377
4378
|
kind: "decision_superseded";
|
|
4378
4379
|
evidence: {
|
|
4379
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4380
|
-
label: string;
|
|
4381
4380
|
id: string;
|
|
4381
|
+
label: string;
|
|
4382
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4382
4383
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4383
4384
|
locator?: string | undefined;
|
|
4384
4385
|
}[];
|
|
@@ -4391,9 +4392,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4391
4392
|
agentId: string;
|
|
4392
4393
|
sessionId: string;
|
|
4393
4394
|
evidence: {
|
|
4394
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4395
|
-
label: string;
|
|
4396
4395
|
id: string;
|
|
4396
|
+
label: string;
|
|
4397
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4397
4398
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4398
4399
|
locator?: string | undefined;
|
|
4399
4400
|
}[];
|
|
@@ -4405,9 +4406,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4405
4406
|
agentId: string;
|
|
4406
4407
|
sessionId: string;
|
|
4407
4408
|
evidence: {
|
|
4408
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4409
|
-
label: string;
|
|
4410
4409
|
id: string;
|
|
4410
|
+
label: string;
|
|
4411
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4411
4412
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4412
4413
|
locator?: string | undefined;
|
|
4413
4414
|
}[];
|
|
@@ -4416,63 +4417,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4416
4417
|
recallReceiptId: string;
|
|
4417
4418
|
staleDecisionAbsent: boolean;
|
|
4418
4419
|
} | {
|
|
4419
|
-
kind: "mission_completed";
|
|
4420
4420
|
summary: string;
|
|
4421
|
+
kind: "mission_completed";
|
|
4421
4422
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4422
4423
|
evidence: {
|
|
4423
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4424
|
-
label: string;
|
|
4425
4424
|
id: string;
|
|
4425
|
+
label: string;
|
|
4426
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4426
4427
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4427
4428
|
locator?: string | undefined;
|
|
4428
4429
|
}[];
|
|
4429
4430
|
};
|
|
4430
|
-
namespace: string;
|
|
4431
4431
|
eventId: string;
|
|
4432
4432
|
occurredAt: string;
|
|
4433
4433
|
missionId: string;
|
|
4434
4434
|
authenticatedPrincipal?: string | undefined;
|
|
4435
4435
|
idempotencyKey?: string | undefined;
|
|
4436
4436
|
}, {
|
|
4437
|
-
|
|
4437
|
+
namespace: string;
|
|
4438
4438
|
recordedAt: string;
|
|
4439
|
+
schemaVersion: "1";
|
|
4439
4440
|
payload: {
|
|
4440
4441
|
kind: "mission_started";
|
|
4441
4442
|
title: string;
|
|
4442
4443
|
objective: string;
|
|
4443
4444
|
runMode: "replay" | "fixture" | "live";
|
|
4444
4445
|
evidence?: {
|
|
4445
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4446
|
-
label: string;
|
|
4447
4446
|
id: string;
|
|
4447
|
+
label: string;
|
|
4448
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4448
4449
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4449
4450
|
locator?: string | undefined;
|
|
4450
4451
|
}[] | undefined;
|
|
4451
4452
|
} | {
|
|
4452
|
-
kind: "agent_status";
|
|
4453
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4454
4453
|
label: string;
|
|
4454
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4455
|
+
kind: "agent_status";
|
|
4455
4456
|
role: string;
|
|
4456
4457
|
agentId: string;
|
|
4457
4458
|
sessionId: string;
|
|
4458
4459
|
detail?: string | undefined;
|
|
4459
4460
|
evidence?: {
|
|
4460
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4461
|
-
label: string;
|
|
4462
4461
|
id: string;
|
|
4462
|
+
label: string;
|
|
4463
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4463
4464
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4464
4465
|
locator?: string | undefined;
|
|
4465
4466
|
}[] | undefined;
|
|
4466
4467
|
} | {
|
|
4467
|
-
kind: "agent_output";
|
|
4468
4468
|
summary: string;
|
|
4469
|
+
kind: "agent_output";
|
|
4469
4470
|
agentId: string;
|
|
4470
4471
|
sessionId: string;
|
|
4471
4472
|
outputId: string;
|
|
4472
4473
|
evidence?: {
|
|
4473
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4474
|
-
label: string;
|
|
4475
4474
|
id: string;
|
|
4475
|
+
label: string;
|
|
4476
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4476
4477
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4477
4478
|
locator?: string | undefined;
|
|
4478
4479
|
}[] | undefined;
|
|
@@ -4485,37 +4486,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4485
4486
|
decisionId: string;
|
|
4486
4487
|
confidence?: number | undefined;
|
|
4487
4488
|
evidence?: {
|
|
4488
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4489
|
-
label: string;
|
|
4490
4489
|
id: string;
|
|
4490
|
+
label: string;
|
|
4491
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4491
4492
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4492
4493
|
locator?: string | undefined;
|
|
4493
4494
|
}[] | undefined;
|
|
4494
4495
|
} | {
|
|
4495
|
-
kind: "conflict_detected";
|
|
4496
4496
|
summary: string;
|
|
4497
|
+
kind: "conflict_detected";
|
|
4497
4498
|
conflictId: string;
|
|
4498
4499
|
decisionIds: string[];
|
|
4499
4500
|
agentIds: string[];
|
|
4500
4501
|
evidence?: {
|
|
4501
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4502
|
-
label: string;
|
|
4503
4502
|
id: string;
|
|
4503
|
+
label: string;
|
|
4504
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4504
4505
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4505
4506
|
locator?: string | undefined;
|
|
4506
4507
|
}[] | undefined;
|
|
4507
4508
|
} | {
|
|
4508
|
-
kind: "test_result";
|
|
4509
4509
|
summary: string;
|
|
4510
4510
|
status: "error" | "failed" | "passed";
|
|
4511
|
+
kind: "test_result";
|
|
4511
4512
|
command: string;
|
|
4512
4513
|
decisionId: string;
|
|
4513
4514
|
testId: string;
|
|
4514
4515
|
durationMs?: number | undefined;
|
|
4515
4516
|
evidence?: {
|
|
4516
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4517
|
-
label: string;
|
|
4518
4517
|
id: string;
|
|
4518
|
+
label: string;
|
|
4519
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4519
4520
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4520
4521
|
locator?: string | undefined;
|
|
4521
4522
|
}[] | undefined;
|
|
@@ -4530,9 +4531,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4530
4531
|
supersedesDecisionIds: string[];
|
|
4531
4532
|
proposedBy: string;
|
|
4532
4533
|
evidence?: {
|
|
4533
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4534
|
-
label: string;
|
|
4535
4534
|
id: string;
|
|
4535
|
+
label: string;
|
|
4536
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4536
4537
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4537
4538
|
locator?: string | undefined;
|
|
4538
4539
|
}[] | undefined;
|
|
@@ -4540,15 +4541,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4540
4541
|
kind: "correction_approved";
|
|
4541
4542
|
correctionId: string;
|
|
4542
4543
|
approvedBy: {
|
|
4543
|
-
kind: "agent" | "human";
|
|
4544
|
-
label: string;
|
|
4545
4544
|
id: string;
|
|
4545
|
+
label: string;
|
|
4546
|
+
kind: "agent" | "human";
|
|
4546
4547
|
};
|
|
4547
4548
|
note?: string | undefined;
|
|
4548
4549
|
evidence?: {
|
|
4549
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4550
|
-
label: string;
|
|
4551
4550
|
id: string;
|
|
4551
|
+
label: string;
|
|
4552
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4552
4553
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4553
4554
|
locator?: string | undefined;
|
|
4554
4555
|
}[] | undefined;
|
|
@@ -4558,9 +4559,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4558
4559
|
correctionId: string;
|
|
4559
4560
|
replacementDecisionId: string;
|
|
4560
4561
|
evidence?: {
|
|
4561
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4562
|
-
label: string;
|
|
4563
4562
|
id: string;
|
|
4563
|
+
label: string;
|
|
4564
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4564
4565
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4565
4566
|
locator?: string | undefined;
|
|
4566
4567
|
}[] | undefined;
|
|
@@ -4573,9 +4574,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4573
4574
|
recallReceiptId: string;
|
|
4574
4575
|
capturedAtAction: boolean;
|
|
4575
4576
|
evidence?: {
|
|
4576
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4577
|
-
label: string;
|
|
4578
4577
|
id: string;
|
|
4578
|
+
label: string;
|
|
4579
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4579
4580
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4580
4581
|
locator?: string | undefined;
|
|
4581
4582
|
}[] | undefined;
|
|
@@ -4588,25 +4589,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4588
4589
|
recallReceiptId: string;
|
|
4589
4590
|
staleDecisionAbsent: boolean;
|
|
4590
4591
|
evidence?: {
|
|
4591
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4592
|
-
label: string;
|
|
4593
4592
|
id: string;
|
|
4593
|
+
label: string;
|
|
4594
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4594
4595
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4595
4596
|
locator?: string | undefined;
|
|
4596
4597
|
}[] | undefined;
|
|
4597
4598
|
} | {
|
|
4598
|
-
kind: "mission_completed";
|
|
4599
4599
|
summary: string;
|
|
4600
|
+
kind: "mission_completed";
|
|
4600
4601
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4601
4602
|
evidence?: {
|
|
4602
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4603
|
-
label: string;
|
|
4604
4603
|
id: string;
|
|
4604
|
+
label: string;
|
|
4605
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4605
4606
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4606
4607
|
locator?: string | undefined;
|
|
4607
4608
|
}[] | undefined;
|
|
4608
4609
|
};
|
|
4609
|
-
namespace: string;
|
|
4610
4610
|
eventId: string;
|
|
4611
4611
|
occurredAt: string;
|
|
4612
4612
|
missionId: string;
|