@remnic/core 9.14.0 → 9.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +4 -1
- package/dist/access-admin-ops-surface.js +18 -18
- package/dist/access-boundary.d.ts +4 -1
- package/dist/access-boundary.js +18 -19
- package/dist/access-cli.js +64 -66
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +2 -1
- package/dist/access-http.js +24 -25
- package/dist/access-identity-continuity-surface.js +18 -18
- package/dist/access-lcm-surface.d.ts +4 -1
- package/dist/access-lcm-surface.js +18 -18
- package/dist/access-mcp.d.ts +4 -1
- package/dist/access-mcp.js +23 -24
- package/dist/access-namespace-preflight-DgJtZCmU.d.ts +146 -0
- package/dist/access-namespace-preflight.d.ts +8 -0
- package/dist/access-namespace-preflight.js +158 -0
- package/dist/access-observe-write-surface.d.ts +4 -1
- package/dist/access-observe-write-surface.js +18 -18
- package/dist/access-operations-batch.js +20 -21
- package/dist/access-operations.d.ts +8 -5
- package/dist/access-operations.js +22 -23
- package/dist/access-recall-concurrency.d.ts +4 -1
- package/dist/access-recall-concurrency.js +18 -18
- package/dist/access-recall-response.d.ts +4 -1
- package/dist/access-recall-response.js +18 -18
- package/dist/access-recall-surface.d.ts +4 -1
- package/dist/access-recall-surface.js +18 -18
- package/dist/access-schema.d.ts +76 -76
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-DbZ1G3zV.d.ts → access-service-bw2p9ULX.d.ts} +6 -114
- package/dist/access-service.d.ts +4 -1
- package/dist/access-service.js +18 -18
- package/dist/access-surface-catalog.d.ts +4 -1
- package/dist/active-recall.js +1 -1
- package/dist/briefing.js +5 -5
- package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/capsule-crypto-7FJQINUR.js.map +1 -0
- package/dist/causal-consolidation.js +6 -6
- package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-5RZHHANR.js → chunk-63P3PJED.js} +50 -50
- package/dist/{chunk-ALSGMEJR.js → chunk-7CPOZH6Y.js} +5 -5
- package/dist/{chunk-TY6NBWV4.js → chunk-7FNHLCQE.js} +2 -2
- package/dist/{chunk-MMGGVZ4Q.js → chunk-7VZWZVYG.js} +40 -18
- package/dist/{chunk-MMGGVZ4Q.js.map → chunk-7VZWZVYG.js.map} +1 -1
- package/dist/{chunk-HLG7VAZP.js → chunk-BOP256DB.js} +2 -2
- package/dist/{chunk-7G7DVA2C.js → chunk-BVC242OS.js} +2 -2
- package/dist/{chunk-CAZ2SHEP.js → chunk-CCNSCRJ2.js} +2 -2
- package/dist/{chunk-3332THSR.js → chunk-CVZYPFEH.js} +4 -4
- package/dist/{chunk-SK7AMF2J.js → chunk-DETNBTZS.js} +3 -3
- package/dist/{chunk-226RNKRU.js → chunk-FFF4XIGB.js} +32 -32
- package/dist/{chunk-AS6UOOXF.js → chunk-FMMZQDCT.js} +2 -2
- package/dist/{chunk-YQQYS2K4.js → chunk-H3MDWWGN.js} +2 -2
- package/dist/{chunk-TC5HBIIT.js → chunk-HBYQAOED.js} +2 -2
- package/dist/{chunk-3HYWNJDA.js → chunk-HWFK24UD.js} +420 -42
- package/dist/chunk-HWFK24UD.js.map +1 -0
- package/dist/{chunk-YO3ZB3PJ.js → chunk-I7DUEPE2.js} +30 -15
- package/dist/chunk-I7DUEPE2.js.map +1 -0
- package/dist/{chunk-YUQOAKPX.js → chunk-JRXN5LYL.js} +5 -5
- package/dist/{chunk-5W7CTZ2E.js → chunk-KQAFEZQX.js} +4 -4
- package/dist/{chunk-PYHOAXTI.js → chunk-LRGSLV7M.js} +4 -4
- package/dist/{chunk-A56B2AJR.js → chunk-MUQ3BD2C.js} +3 -3
- package/dist/{chunk-QJAQNXWI.js → chunk-ONHRRJZM.js} +6 -6
- package/dist/{chunk-DF552QUN.js → chunk-QCLQ4BGA.js} +5 -5
- package/dist/{chunk-IAHNKI2E.js → chunk-QDNE35FU.js} +2 -2
- package/dist/{chunk-W2OST2HH.js → chunk-QLOOCKKE.js} +2 -2
- package/dist/{chunk-I4NJ2CDY.js → chunk-RRHEV5HA.js} +4 -6
- package/dist/{chunk-I4NJ2CDY.js.map → chunk-RRHEV5HA.js.map} +1 -1
- package/dist/{chunk-7HZMTXXB.js → chunk-RWSLO24I.js} +10 -10
- package/dist/{chunk-UDIJMITR.js → chunk-SDZWOEZH.js} +22 -22
- package/dist/chunk-SDZWOEZH.js.map +1 -0
- package/dist/{chunk-QZGN4773.js → chunk-SW2KEZNX.js} +3 -3
- package/dist/{chunk-O4K3DWK2.js → chunk-SWVW42CG.js} +2 -2
- package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-CQ6WP3PA.js → chunk-XII2XSHL.js} +5 -5
- package/dist/{chunk-YSDVEPV2.js → chunk-XKFXY3ZA.js} +10 -10
- package/dist/{chunk-AVPXXV6J.js → chunk-XKGPIWGI.js} +4 -4
- package/dist/{chunk-IQFS4AU7.js → chunk-YEU4VEU4.js} +2 -2
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-Y6XODVJ4.js → chunk-YS7KIG3A.js} +8 -8
- package/dist/{chunk-XRNU7OEQ.js → chunk-ZNFVYUYF.js} +3 -3
- package/dist/{cli-5tNLVTvJ.d.ts → cli-DzPVFfGe.d.ts} +1 -1
- package/dist/cli.d.ts +5 -2
- package/dist/cli.js +45 -46
- package/dist/compounding/engine.js +5 -5
- package/dist/config.js +1 -1
- package/dist/connectors/codex-materialize-runner.js +5 -5
- package/dist/connectors/index.js +5 -5
- package/dist/contradiction/index.js +4 -4
- package/dist/dashboard-runtime.js +2 -2
- package/dist/entity-retrieval.js +5 -5
- package/dist/index.d.ts +406 -405
- package/dist/index.js +76 -78
- package/dist/lcm/index.js +3 -3
- package/dist/maintenance/memory-governance.js +5 -5
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
- package/dist/maintenance/rebuild-memory-projection.js +6 -6
- package/dist/mcp-memory-inspector-app.d.ts +4 -1
- package/dist/namespaces/migrate.js +11 -11
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.js +5 -5
- package/dist/offline-sync-impression-drain.js +4 -4
- package/dist/operator-toolkit.js +16 -16
- package/dist/orchestration/maintenance.js +9 -9
- package/dist/orchestrator.js +65 -66
- package/dist/qmd.js +4 -4
- package/dist/resume-bundles.js +1 -1
- package/dist/schemas.d.ts +54 -54
- package/dist/search/factory.js +4 -4
- package/dist/search/index.js +6 -6
- package/dist/semantic-consolidation.js +6 -6
- package/dist/semantic-rule-promotion.js +5 -5
- package/dist/semantic-rule-verifier.js +5 -5
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/storage.js +4 -4
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/import-sqlite.js +2 -2
- package/dist/transfer/types.d.ts +66 -66
- package/dist/verified-recall.js +5 -5
- package/package.json +2 -2
- package/src/access-http.test.ts +91 -0
- package/src/access-http.ts +13 -14
- package/src/access-namespace-preflight.test.ts +111 -0
- package/src/access-namespace-preflight.ts +111 -0
- package/src/access-operations-batch.ts +25 -2
- package/src/access-service-observe-scope.test.ts +81 -0
- package/src/access-service.ts +64 -32
- package/src/scopes/scope-plan.ts +66 -0
- package/dist/chunk-3HYWNJDA.js.map +0 -1
- package/dist/chunk-KF5EUVKQ.js +0 -289
- package/dist/chunk-KF5EUVKQ.js.map +0 -1
- package/dist/chunk-UDIJMITR.js.map +0 -1
- package/dist/chunk-YO3ZB3PJ.js.map +0 -1
- /package/dist/{capsule-crypto-GWVG7LGC.js.map → access-namespace-preflight.js.map} +0 -0
- /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-5RZHHANR.js.map → chunk-63P3PJED.js.map} +0 -0
- /package/dist/{chunk-ALSGMEJR.js.map → chunk-7CPOZH6Y.js.map} +0 -0
- /package/dist/{chunk-TY6NBWV4.js.map → chunk-7FNHLCQE.js.map} +0 -0
- /package/dist/{chunk-HLG7VAZP.js.map → chunk-BOP256DB.js.map} +0 -0
- /package/dist/{chunk-7G7DVA2C.js.map → chunk-BVC242OS.js.map} +0 -0
- /package/dist/{chunk-CAZ2SHEP.js.map → chunk-CCNSCRJ2.js.map} +0 -0
- /package/dist/{chunk-3332THSR.js.map → chunk-CVZYPFEH.js.map} +0 -0
- /package/dist/{chunk-SK7AMF2J.js.map → chunk-DETNBTZS.js.map} +0 -0
- /package/dist/{chunk-226RNKRU.js.map → chunk-FFF4XIGB.js.map} +0 -0
- /package/dist/{chunk-AS6UOOXF.js.map → chunk-FMMZQDCT.js.map} +0 -0
- /package/dist/{chunk-YQQYS2K4.js.map → chunk-H3MDWWGN.js.map} +0 -0
- /package/dist/{chunk-TC5HBIIT.js.map → chunk-HBYQAOED.js.map} +0 -0
- /package/dist/{chunk-YUQOAKPX.js.map → chunk-JRXN5LYL.js.map} +0 -0
- /package/dist/{chunk-5W7CTZ2E.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-PYHOAXTI.js.map → chunk-LRGSLV7M.js.map} +0 -0
- /package/dist/{chunk-A56B2AJR.js.map → chunk-MUQ3BD2C.js.map} +0 -0
- /package/dist/{chunk-QJAQNXWI.js.map → chunk-ONHRRJZM.js.map} +0 -0
- /package/dist/{chunk-DF552QUN.js.map → chunk-QCLQ4BGA.js.map} +0 -0
- /package/dist/{chunk-IAHNKI2E.js.map → chunk-QDNE35FU.js.map} +0 -0
- /package/dist/{chunk-W2OST2HH.js.map → chunk-QLOOCKKE.js.map} +0 -0
- /package/dist/{chunk-7HZMTXXB.js.map → chunk-RWSLO24I.js.map} +0 -0
- /package/dist/{chunk-QZGN4773.js.map → chunk-SW2KEZNX.js.map} +0 -0
- /package/dist/{chunk-O4K3DWK2.js.map → chunk-SWVW42CG.js.map} +0 -0
- /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-CQ6WP3PA.js.map → chunk-XII2XSHL.js.map} +0 -0
- /package/dist/{chunk-YSDVEPV2.js.map → chunk-XKFXY3ZA.js.map} +0 -0
- /package/dist/{chunk-AVPXXV6J.js.map → chunk-XKGPIWGI.js.map} +0 -0
- /package/dist/{chunk-IQFS4AU7.js.map → chunk-YEU4VEU4.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-Y6XODVJ4.js.map → chunk-YS7KIG3A.js.map} +0 -0
- /package/dist/{chunk-XRNU7OEQ.js.map → chunk-ZNFVYUYF.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation
|
|
|
26
26
|
export { a6 as AgentAccessAuthToken, k as BriefingActiveThread, aY as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, aZ as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, a_ as BriefingWindow, a0 as BufferSurpriseEvent, a$ as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, b0 as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, b1 as CodexCompatConfig, aS as ConsolidationObservation, b2 as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ag as EntityStructuredSection, b3 as ExtractedFact, G as GatewayConfig, b4 as ImportSourceRole, a1 as ImportTurn, b5 as ImportTurnValidationIssue, aj as MemoryActionEligibilityContext, b6 as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, b7 as MemoryObservation, b8 as MemoryScope, b9 as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, ba as WearableAuthCheck, bb as WearableFetchOptions, bc as WearableFetchPage, aI as WearableMemoryMode, aH as WearableNativeMemory, bd as WearableNativeMemoryPage, aM as WearableSourceStatus, aL as WearableSyncSummary, be as WearableTranscriptSegment, bf as isImportRole, bg as isRecallDisclosure, bh as parseIsoTimestamp, bi as validateImportTurn } from './types-D_fG2ix8.js';
|
|
27
27
|
export { JudgeBatchResult, JudgeCandidate, JudgeVerdict, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
28
28
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
29
|
-
import { F as EngramAccessService } from './access-service-
|
|
30
|
-
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-
|
|
29
|
+
import { F as EngramAccessService } from './access-service-bw2p9ULX.js';
|
|
30
|
+
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-bw2p9ULX.js';
|
|
31
31
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
32
32
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
33
33
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -86,7 +86,7 @@ export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
|
|
|
86
86
|
export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
|
|
87
87
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
88
88
|
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-Cn-kvYeV.js';
|
|
89
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
89
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-DzPVFfGe.js';
|
|
90
90
|
import { BetterSqlite3Database } from './runtime/better-sqlite.js';
|
|
91
91
|
export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
|
|
92
92
|
export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
@@ -162,6 +162,7 @@ import './lcm/queue.js';
|
|
|
162
162
|
import './policy-runtime.js';
|
|
163
163
|
import './profiling.js';
|
|
164
164
|
import './schemas.js';
|
|
165
|
+
import './access-namespace-preflight-DgJtZCmU.js';
|
|
165
166
|
import './recall-explain-renderer.js';
|
|
166
167
|
import './access-citation.js';
|
|
167
168
|
import './explicit-capture.js';
|
|
@@ -861,15 +862,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
861
862
|
locator: z.ZodOptional<z.ZodString>;
|
|
862
863
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
863
864
|
}, "strict", z.ZodTypeAny, {
|
|
865
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
864
866
|
id: string;
|
|
865
867
|
label: string;
|
|
866
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
867
868
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
868
869
|
locator?: string | undefined;
|
|
869
870
|
}, {
|
|
871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
870
872
|
id: string;
|
|
871
873
|
label: string;
|
|
872
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
873
874
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
874
875
|
locator?: string | undefined;
|
|
875
876
|
}>;
|
|
@@ -886,15 +887,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
886
887
|
locator: z.ZodOptional<z.ZodString>;
|
|
887
888
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
888
889
|
}, "strict", z.ZodTypeAny, {
|
|
890
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
889
891
|
id: string;
|
|
890
892
|
label: string;
|
|
891
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
892
893
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
893
894
|
locator?: string | undefined;
|
|
894
895
|
}, {
|
|
896
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
895
897
|
id: string;
|
|
896
898
|
label: string;
|
|
897
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
898
899
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
899
900
|
locator?: string | undefined;
|
|
900
901
|
}>, "many">>;
|
|
@@ -902,9 +903,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
902
903
|
kind: "mission_started";
|
|
903
904
|
title: string;
|
|
904
905
|
evidence: {
|
|
906
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
905
907
|
id: string;
|
|
906
908
|
label: string;
|
|
907
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
908
909
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
909
910
|
locator?: string | undefined;
|
|
910
911
|
}[];
|
|
@@ -916,9 +917,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
916
917
|
objective: string;
|
|
917
918
|
runMode: "replay" | "fixture" | "live";
|
|
918
919
|
evidence?: {
|
|
920
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
919
921
|
id: string;
|
|
920
922
|
label: string;
|
|
921
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
922
923
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
923
924
|
locator?: string | undefined;
|
|
924
925
|
}[] | undefined;
|
|
@@ -934,15 +935,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
934
935
|
locator: z.ZodOptional<z.ZodString>;
|
|
935
936
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
936
937
|
}, "strict", z.ZodTypeAny, {
|
|
938
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
937
939
|
id: string;
|
|
938
940
|
label: string;
|
|
939
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
940
941
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
941
942
|
locator?: string | undefined;
|
|
942
943
|
}, {
|
|
944
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
943
945
|
id: string;
|
|
944
946
|
label: string;
|
|
945
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
946
947
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
947
948
|
locator?: string | undefined;
|
|
948
949
|
}>, "many">>;
|
|
@@ -950,32 +951,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
950
951
|
sessionId: z.ZodString;
|
|
951
952
|
kind: z.ZodLiteral<"agent_status">;
|
|
952
953
|
}, "strict", z.ZodTypeAny, {
|
|
953
|
-
label: string;
|
|
954
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
955
954
|
kind: "agent_status";
|
|
956
955
|
role: string;
|
|
956
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
957
|
+
label: string;
|
|
957
958
|
agentId: string;
|
|
958
959
|
sessionId: string;
|
|
959
960
|
evidence: {
|
|
961
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
960
962
|
id: string;
|
|
961
963
|
label: string;
|
|
962
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
963
964
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
964
965
|
locator?: string | undefined;
|
|
965
966
|
}[];
|
|
966
967
|
detail?: string | undefined;
|
|
967
968
|
}, {
|
|
968
|
-
label: string;
|
|
969
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
970
969
|
kind: "agent_status";
|
|
971
970
|
role: string;
|
|
971
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
972
|
+
label: string;
|
|
972
973
|
agentId: string;
|
|
973
974
|
sessionId: string;
|
|
974
975
|
detail?: string | undefined;
|
|
975
976
|
evidence?: {
|
|
977
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
976
978
|
id: string;
|
|
977
979
|
label: string;
|
|
978
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
979
980
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
980
981
|
locator?: string | undefined;
|
|
981
982
|
}[] | undefined;
|
|
@@ -989,15 +990,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
989
990
|
locator: z.ZodOptional<z.ZodString>;
|
|
990
991
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
991
992
|
}, "strict", z.ZodTypeAny, {
|
|
993
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
992
994
|
id: string;
|
|
993
995
|
label: string;
|
|
994
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
995
996
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
996
997
|
locator?: string | undefined;
|
|
997
998
|
}, {
|
|
999
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
998
1000
|
id: string;
|
|
999
1001
|
label: string;
|
|
1000
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1001
1002
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1002
1003
|
locator?: string | undefined;
|
|
1003
1004
|
}>, "many">>;
|
|
@@ -1005,28 +1006,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1005
1006
|
sessionId: z.ZodString;
|
|
1006
1007
|
kind: z.ZodLiteral<"agent_output">;
|
|
1007
1008
|
}, "strict", z.ZodTypeAny, {
|
|
1008
|
-
summary: string;
|
|
1009
1009
|
kind: "agent_output";
|
|
1010
|
+
summary: string;
|
|
1010
1011
|
agentId: string;
|
|
1011
1012
|
sessionId: string;
|
|
1012
1013
|
evidence: {
|
|
1014
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1013
1015
|
id: string;
|
|
1014
1016
|
label: string;
|
|
1015
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1016
1017
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1017
1018
|
locator?: string | undefined;
|
|
1018
1019
|
}[];
|
|
1019
1020
|
outputId: string;
|
|
1020
1021
|
}, {
|
|
1021
|
-
summary: string;
|
|
1022
1022
|
kind: "agent_output";
|
|
1023
|
+
summary: string;
|
|
1023
1024
|
agentId: string;
|
|
1024
1025
|
sessionId: string;
|
|
1025
1026
|
outputId: string;
|
|
1026
1027
|
evidence?: {
|
|
1028
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1027
1029
|
id: string;
|
|
1028
1030
|
label: string;
|
|
1029
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1030
1031
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1031
1032
|
locator?: string | undefined;
|
|
1032
1033
|
}[] | undefined;
|
|
@@ -1042,15 +1043,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1042
1043
|
locator: z.ZodOptional<z.ZodString>;
|
|
1043
1044
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1044
1045
|
}, "strict", z.ZodTypeAny, {
|
|
1046
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1045
1047
|
id: string;
|
|
1046
1048
|
label: string;
|
|
1047
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1048
1049
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1049
1050
|
locator?: string | undefined;
|
|
1050
1051
|
}, {
|
|
1052
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1051
1053
|
id: string;
|
|
1052
1054
|
label: string;
|
|
1053
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1054
1055
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1055
1056
|
locator?: string | undefined;
|
|
1056
1057
|
}>, "many">>;
|
|
@@ -1063,9 +1064,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1063
1064
|
statement: string;
|
|
1064
1065
|
sessionId: string;
|
|
1065
1066
|
evidence: {
|
|
1067
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1066
1068
|
id: string;
|
|
1067
1069
|
label: string;
|
|
1068
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1069
1070
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1070
1071
|
locator?: string | undefined;
|
|
1071
1072
|
}[];
|
|
@@ -1081,9 +1082,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1081
1082
|
decisionId: string;
|
|
1082
1083
|
confidence?: number | undefined;
|
|
1083
1084
|
evidence?: {
|
|
1085
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1084
1086
|
id: string;
|
|
1085
1087
|
label: string;
|
|
1086
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1087
1088
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1088
1089
|
locator?: string | undefined;
|
|
1089
1090
|
}[] | undefined;
|
|
@@ -1100,25 +1101,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1100
1101
|
locator: z.ZodOptional<z.ZodString>;
|
|
1101
1102
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1102
1103
|
}, "strict", z.ZodTypeAny, {
|
|
1104
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1103
1105
|
id: string;
|
|
1104
1106
|
label: string;
|
|
1105
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1106
1107
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1107
1108
|
locator?: string | undefined;
|
|
1108
1109
|
}, {
|
|
1110
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1109
1111
|
id: string;
|
|
1110
1112
|
label: string;
|
|
1111
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1112
1113
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1113
1114
|
locator?: string | undefined;
|
|
1114
1115
|
}>, "many">>;
|
|
1115
1116
|
}, "strict", z.ZodTypeAny, {
|
|
1116
|
-
summary: string;
|
|
1117
1117
|
kind: "conflict_detected";
|
|
1118
|
+
summary: string;
|
|
1118
1119
|
evidence: {
|
|
1120
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1119
1121
|
id: string;
|
|
1120
1122
|
label: string;
|
|
1121
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1122
1123
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1123
1124
|
locator?: string | undefined;
|
|
1124
1125
|
}[];
|
|
@@ -1126,15 +1127,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1126
1127
|
decisionIds: string[];
|
|
1127
1128
|
agentIds: string[];
|
|
1128
1129
|
}, {
|
|
1129
|
-
summary: string;
|
|
1130
1130
|
kind: "conflict_detected";
|
|
1131
|
+
summary: string;
|
|
1131
1132
|
conflictId: string;
|
|
1132
1133
|
decisionIds: string[];
|
|
1133
1134
|
agentIds: string[];
|
|
1134
1135
|
evidence?: {
|
|
1136
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1135
1137
|
id: string;
|
|
1136
1138
|
label: string;
|
|
1137
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1138
1139
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1139
1140
|
locator?: string | undefined;
|
|
1140
1141
|
}[] | undefined;
|
|
@@ -1154,27 +1155,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1154
1155
|
locator: z.ZodOptional<z.ZodString>;
|
|
1155
1156
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1156
1157
|
}, "strict", z.ZodTypeAny, {
|
|
1158
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1157
1159
|
id: string;
|
|
1158
1160
|
label: string;
|
|
1159
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1160
1161
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1161
1162
|
locator?: string | undefined;
|
|
1162
1163
|
}, {
|
|
1164
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1163
1165
|
id: string;
|
|
1164
1166
|
label: string;
|
|
1165
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1166
1167
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1167
1168
|
locator?: string | undefined;
|
|
1168
1169
|
}>, "many">>;
|
|
1169
1170
|
}, "strict", z.ZodTypeAny, {
|
|
1170
|
-
summary: string;
|
|
1171
|
-
status: "error" | "failed" | "passed";
|
|
1172
1171
|
kind: "test_result";
|
|
1172
|
+
summary: string;
|
|
1173
1173
|
command: string;
|
|
1174
|
+
status: "error" | "failed" | "passed";
|
|
1174
1175
|
evidence: {
|
|
1176
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1175
1177
|
id: string;
|
|
1176
1178
|
label: string;
|
|
1177
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1178
1179
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1179
1180
|
locator?: string | undefined;
|
|
1180
1181
|
}[];
|
|
@@ -1183,17 +1184,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1183
1184
|
durationMs?: number | undefined;
|
|
1184
1185
|
correctionId?: string | undefined;
|
|
1185
1186
|
}, {
|
|
1186
|
-
summary: string;
|
|
1187
|
-
status: "error" | "failed" | "passed";
|
|
1188
1187
|
kind: "test_result";
|
|
1188
|
+
summary: string;
|
|
1189
1189
|
command: string;
|
|
1190
|
+
status: "error" | "failed" | "passed";
|
|
1190
1191
|
decisionId: string;
|
|
1191
1192
|
testId: string;
|
|
1192
1193
|
durationMs?: number | undefined;
|
|
1193
1194
|
evidence?: {
|
|
1195
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1194
1196
|
id: string;
|
|
1195
1197
|
label: string;
|
|
1196
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1197
1198
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1198
1199
|
locator?: string | undefined;
|
|
1199
1200
|
}[] | undefined;
|
|
@@ -1214,15 +1215,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1214
1215
|
locator: z.ZodOptional<z.ZodString>;
|
|
1215
1216
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1216
1217
|
}, "strict", z.ZodTypeAny, {
|
|
1218
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1217
1219
|
id: string;
|
|
1218
1220
|
label: string;
|
|
1219
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1220
1221
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1221
1222
|
locator?: string | undefined;
|
|
1222
1223
|
}, {
|
|
1224
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1223
1225
|
id: string;
|
|
1224
1226
|
label: string;
|
|
1225
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1226
1227
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1227
1228
|
locator?: string | undefined;
|
|
1228
1229
|
}>, "many">>;
|
|
@@ -1231,9 +1232,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1231
1232
|
rationale: string;
|
|
1232
1233
|
statement: string;
|
|
1233
1234
|
evidence: {
|
|
1235
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1234
1236
|
id: string;
|
|
1235
1237
|
label: string;
|
|
1236
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1237
1238
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1238
1239
|
locator?: string | undefined;
|
|
1239
1240
|
}[];
|
|
@@ -1252,9 +1253,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1252
1253
|
supersedesDecisionIds: string[];
|
|
1253
1254
|
proposedBy: string;
|
|
1254
1255
|
evidence?: {
|
|
1256
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1255
1257
|
id: string;
|
|
1256
1258
|
label: string;
|
|
1257
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1258
1259
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1259
1260
|
locator?: string | undefined;
|
|
1260
1261
|
}[] | undefined;
|
|
@@ -1266,13 +1267,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1266
1267
|
id: z.ZodString;
|
|
1267
1268
|
label: z.ZodString;
|
|
1268
1269
|
}, "strict", z.ZodTypeAny, {
|
|
1270
|
+
kind: "agent" | "human";
|
|
1269
1271
|
id: string;
|
|
1270
1272
|
label: string;
|
|
1271
|
-
kind: "agent" | "human";
|
|
1272
1273
|
}, {
|
|
1274
|
+
kind: "agent" | "human";
|
|
1273
1275
|
id: string;
|
|
1274
1276
|
label: string;
|
|
1275
|
-
kind: "agent" | "human";
|
|
1276
1277
|
}>;
|
|
1277
1278
|
note: z.ZodOptional<z.ZodString>;
|
|
1278
1279
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1282,47 +1283,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1282
1283
|
locator: z.ZodOptional<z.ZodString>;
|
|
1283
1284
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1284
1285
|
}, "strict", z.ZodTypeAny, {
|
|
1286
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1285
1287
|
id: string;
|
|
1286
1288
|
label: string;
|
|
1287
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1288
1289
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1289
1290
|
locator?: string | undefined;
|
|
1290
1291
|
}, {
|
|
1292
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1291
1293
|
id: string;
|
|
1292
1294
|
label: string;
|
|
1293
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1294
1295
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1295
1296
|
locator?: string | undefined;
|
|
1296
1297
|
}>, "many">>;
|
|
1297
1298
|
}, "strict", z.ZodTypeAny, {
|
|
1298
1299
|
kind: "correction_approved";
|
|
1299
1300
|
evidence: {
|
|
1301
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1300
1302
|
id: string;
|
|
1301
1303
|
label: string;
|
|
1302
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1303
1304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1304
1305
|
locator?: string | undefined;
|
|
1305
1306
|
}[];
|
|
1306
1307
|
correctionId: string;
|
|
1307
1308
|
approvedBy: {
|
|
1309
|
+
kind: "agent" | "human";
|
|
1308
1310
|
id: string;
|
|
1309
1311
|
label: string;
|
|
1310
|
-
kind: "agent" | "human";
|
|
1311
1312
|
};
|
|
1312
1313
|
note?: string | undefined;
|
|
1313
1314
|
}, {
|
|
1314
1315
|
kind: "correction_approved";
|
|
1315
1316
|
correctionId: string;
|
|
1316
1317
|
approvedBy: {
|
|
1318
|
+
kind: "agent" | "human";
|
|
1317
1319
|
id: string;
|
|
1318
1320
|
label: string;
|
|
1319
|
-
kind: "agent" | "human";
|
|
1320
1321
|
};
|
|
1321
1322
|
note?: string | undefined;
|
|
1322
1323
|
evidence?: {
|
|
1324
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1323
1325
|
id: string;
|
|
1324
1326
|
label: string;
|
|
1325
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1326
1327
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1327
1328
|
locator?: string | undefined;
|
|
1328
1329
|
}[] | undefined;
|
|
@@ -1338,24 +1339,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1338
1339
|
locator: z.ZodOptional<z.ZodString>;
|
|
1339
1340
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1340
1341
|
}, "strict", z.ZodTypeAny, {
|
|
1342
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1341
1343
|
id: string;
|
|
1342
1344
|
label: string;
|
|
1343
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1344
1345
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1345
1346
|
locator?: string | undefined;
|
|
1346
1347
|
}, {
|
|
1348
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1347
1349
|
id: string;
|
|
1348
1350
|
label: string;
|
|
1349
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1350
1351
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1351
1352
|
locator?: string | undefined;
|
|
1352
1353
|
}>, "many">>;
|
|
1353
1354
|
}, "strict", z.ZodTypeAny, {
|
|
1354
1355
|
kind: "decision_superseded";
|
|
1355
1356
|
evidence: {
|
|
1357
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1356
1358
|
id: string;
|
|
1357
1359
|
label: string;
|
|
1358
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1359
1360
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1360
1361
|
locator?: string | undefined;
|
|
1361
1362
|
}[];
|
|
@@ -1368,9 +1369,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1368
1369
|
correctionId: string;
|
|
1369
1370
|
replacementDecisionId: string;
|
|
1370
1371
|
evidence?: {
|
|
1372
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1371
1373
|
id: string;
|
|
1372
1374
|
label: string;
|
|
1373
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1374
1375
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1375
1376
|
locator?: string | undefined;
|
|
1376
1377
|
}[] | undefined;
|
|
@@ -1386,15 +1387,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1386
1387
|
locator: z.ZodOptional<z.ZodString>;
|
|
1387
1388
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1388
1389
|
}, "strict", z.ZodTypeAny, {
|
|
1390
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1389
1391
|
id: string;
|
|
1390
1392
|
label: string;
|
|
1391
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1392
1393
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1393
1394
|
locator?: string | undefined;
|
|
1394
1395
|
}, {
|
|
1396
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1395
1397
|
id: string;
|
|
1396
1398
|
label: string;
|
|
1397
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1398
1399
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1399
1400
|
locator?: string | undefined;
|
|
1400
1401
|
}>, "many">>;
|
|
@@ -1407,9 +1408,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1407
1408
|
agentId: string;
|
|
1408
1409
|
sessionId: string;
|
|
1409
1410
|
evidence: {
|
|
1411
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1410
1412
|
id: string;
|
|
1411
1413
|
label: string;
|
|
1412
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1413
1414
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1414
1415
|
locator?: string | undefined;
|
|
1415
1416
|
}[];
|
|
@@ -1425,9 +1426,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1425
1426
|
recallReceiptId: string;
|
|
1426
1427
|
capturedAtAction: boolean;
|
|
1427
1428
|
evidence?: {
|
|
1429
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1428
1430
|
id: string;
|
|
1429
1431
|
label: string;
|
|
1430
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1431
1432
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1432
1433
|
locator?: string | undefined;
|
|
1433
1434
|
}[] | undefined;
|
|
@@ -1443,15 +1444,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1443
1444
|
locator: z.ZodOptional<z.ZodString>;
|
|
1444
1445
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1445
1446
|
}, "strict", z.ZodTypeAny, {
|
|
1447
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1446
1448
|
id: string;
|
|
1447
1449
|
label: string;
|
|
1448
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1449
1450
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1450
1451
|
locator?: string | undefined;
|
|
1451
1452
|
}, {
|
|
1453
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1452
1454
|
id: string;
|
|
1453
1455
|
label: string;
|
|
1454
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1455
1456
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1456
1457
|
locator?: string | undefined;
|
|
1457
1458
|
}>, "many">>;
|
|
@@ -1463,9 +1464,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1463
1464
|
agentId: string;
|
|
1464
1465
|
sessionId: string;
|
|
1465
1466
|
evidence: {
|
|
1467
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1466
1468
|
id: string;
|
|
1467
1469
|
label: string;
|
|
1468
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1469
1470
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1470
1471
|
locator?: string | undefined;
|
|
1471
1472
|
}[];
|
|
@@ -1482,9 +1483,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1482
1483
|
recallReceiptId: string;
|
|
1483
1484
|
staleDecisionAbsent: boolean;
|
|
1484
1485
|
evidence?: {
|
|
1486
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1485
1487
|
id: string;
|
|
1486
1488
|
label: string;
|
|
1487
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1488
1489
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1489
1490
|
locator?: string | undefined;
|
|
1490
1491
|
}[] | undefined;
|
|
@@ -1499,37 +1500,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1499
1500
|
locator: z.ZodOptional<z.ZodString>;
|
|
1500
1501
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1501
1502
|
}, "strict", z.ZodTypeAny, {
|
|
1503
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1502
1504
|
id: string;
|
|
1503
1505
|
label: string;
|
|
1504
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1505
1506
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1506
1507
|
locator?: string | undefined;
|
|
1507
1508
|
}, {
|
|
1509
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1508
1510
|
id: string;
|
|
1509
1511
|
label: string;
|
|
1510
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1511
1512
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1512
1513
|
locator?: string | undefined;
|
|
1513
1514
|
}>, "many">>;
|
|
1514
1515
|
}, "strict", z.ZodTypeAny, {
|
|
1515
|
-
summary: string;
|
|
1516
1516
|
kind: "mission_completed";
|
|
1517
|
+
summary: string;
|
|
1517
1518
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1518
1519
|
evidence: {
|
|
1520
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1519
1521
|
id: string;
|
|
1520
1522
|
label: string;
|
|
1521
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1522
1523
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1523
1524
|
locator?: string | undefined;
|
|
1524
1525
|
}[];
|
|
1525
1526
|
}, {
|
|
1526
|
-
summary: string;
|
|
1527
1527
|
kind: "mission_completed";
|
|
1528
|
+
summary: string;
|
|
1528
1529
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1529
1530
|
evidence?: {
|
|
1531
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1530
1532
|
id: string;
|
|
1531
1533
|
label: string;
|
|
1532
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1533
1534
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1534
1535
|
locator?: string | undefined;
|
|
1535
1536
|
}[] | undefined;
|
|
@@ -1537,38 +1538,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1537
1538
|
kind: "mission_started";
|
|
1538
1539
|
title: string;
|
|
1539
1540
|
evidence: {
|
|
1541
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1540
1542
|
id: string;
|
|
1541
1543
|
label: string;
|
|
1542
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1543
1544
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1544
1545
|
locator?: string | undefined;
|
|
1545
1546
|
}[];
|
|
1546
1547
|
objective: string;
|
|
1547
1548
|
runMode: "replay" | "fixture" | "live";
|
|
1548
1549
|
} | {
|
|
1549
|
-
label: string;
|
|
1550
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1551
1550
|
kind: "agent_status";
|
|
1552
1551
|
role: string;
|
|
1552
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1553
|
+
label: string;
|
|
1553
1554
|
agentId: string;
|
|
1554
1555
|
sessionId: string;
|
|
1555
1556
|
evidence: {
|
|
1557
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1556
1558
|
id: string;
|
|
1557
1559
|
label: string;
|
|
1558
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1559
1560
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1560
1561
|
locator?: string | undefined;
|
|
1561
1562
|
}[];
|
|
1562
1563
|
detail?: string | undefined;
|
|
1563
1564
|
} | {
|
|
1564
|
-
summary: string;
|
|
1565
1565
|
kind: "agent_output";
|
|
1566
|
+
summary: string;
|
|
1566
1567
|
agentId: string;
|
|
1567
1568
|
sessionId: string;
|
|
1568
1569
|
evidence: {
|
|
1570
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1569
1571
|
id: string;
|
|
1570
1572
|
label: string;
|
|
1571
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1572
1573
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1573
1574
|
locator?: string | undefined;
|
|
1574
1575
|
}[];
|
|
@@ -1579,9 +1580,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1579
1580
|
statement: string;
|
|
1580
1581
|
sessionId: string;
|
|
1581
1582
|
evidence: {
|
|
1583
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1582
1584
|
id: string;
|
|
1583
1585
|
label: string;
|
|
1584
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1585
1586
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1586
1587
|
locator?: string | undefined;
|
|
1587
1588
|
}[];
|
|
@@ -1589,12 +1590,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1589
1590
|
decisionId: string;
|
|
1590
1591
|
confidence?: number | undefined;
|
|
1591
1592
|
} | {
|
|
1592
|
-
summary: string;
|
|
1593
1593
|
kind: "conflict_detected";
|
|
1594
|
+
summary: string;
|
|
1594
1595
|
evidence: {
|
|
1596
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1595
1597
|
id: string;
|
|
1596
1598
|
label: string;
|
|
1597
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1598
1599
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1599
1600
|
locator?: string | undefined;
|
|
1600
1601
|
}[];
|
|
@@ -1602,14 +1603,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1602
1603
|
decisionIds: string[];
|
|
1603
1604
|
agentIds: string[];
|
|
1604
1605
|
} | {
|
|
1605
|
-
summary: string;
|
|
1606
|
-
status: "error" | "failed" | "passed";
|
|
1607
1606
|
kind: "test_result";
|
|
1607
|
+
summary: string;
|
|
1608
1608
|
command: string;
|
|
1609
|
+
status: "error" | "failed" | "passed";
|
|
1609
1610
|
evidence: {
|
|
1611
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1610
1612
|
id: string;
|
|
1611
1613
|
label: string;
|
|
1612
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1613
1614
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1614
1615
|
locator?: string | undefined;
|
|
1615
1616
|
}[];
|
|
@@ -1622,9 +1623,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1622
1623
|
rationale: string;
|
|
1623
1624
|
statement: string;
|
|
1624
1625
|
evidence: {
|
|
1626
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1625
1627
|
id: string;
|
|
1626
1628
|
label: string;
|
|
1627
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1628
1629
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1629
1630
|
locator?: string | undefined;
|
|
1630
1631
|
}[];
|
|
@@ -1636,25 +1637,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1636
1637
|
} | {
|
|
1637
1638
|
kind: "correction_approved";
|
|
1638
1639
|
evidence: {
|
|
1640
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1639
1641
|
id: string;
|
|
1640
1642
|
label: string;
|
|
1641
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1642
1643
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1643
1644
|
locator?: string | undefined;
|
|
1644
1645
|
}[];
|
|
1645
1646
|
correctionId: string;
|
|
1646
1647
|
approvedBy: {
|
|
1648
|
+
kind: "agent" | "human";
|
|
1647
1649
|
id: string;
|
|
1648
1650
|
label: string;
|
|
1649
|
-
kind: "agent" | "human";
|
|
1650
1651
|
};
|
|
1651
1652
|
note?: string | undefined;
|
|
1652
1653
|
} | {
|
|
1653
1654
|
kind: "decision_superseded";
|
|
1654
1655
|
evidence: {
|
|
1656
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1655
1657
|
id: string;
|
|
1656
1658
|
label: string;
|
|
1657
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1658
1659
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1659
1660
|
locator?: string | undefined;
|
|
1660
1661
|
}[];
|
|
@@ -1667,9 +1668,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1667
1668
|
agentId: string;
|
|
1668
1669
|
sessionId: string;
|
|
1669
1670
|
evidence: {
|
|
1671
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1670
1672
|
id: string;
|
|
1671
1673
|
label: string;
|
|
1672
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1673
1674
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1674
1675
|
locator?: string | undefined;
|
|
1675
1676
|
}[];
|
|
@@ -1681,9 +1682,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1681
1682
|
agentId: string;
|
|
1682
1683
|
sessionId: string;
|
|
1683
1684
|
evidence: {
|
|
1685
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1684
1686
|
id: string;
|
|
1685
1687
|
label: string;
|
|
1686
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1687
1688
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1688
1689
|
locator?: string | undefined;
|
|
1689
1690
|
}[];
|
|
@@ -1692,13 +1693,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1692
1693
|
recallReceiptId: string;
|
|
1693
1694
|
staleDecisionAbsent: boolean;
|
|
1694
1695
|
} | {
|
|
1695
|
-
summary: string;
|
|
1696
1696
|
kind: "mission_completed";
|
|
1697
|
+
summary: string;
|
|
1697
1698
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1698
1699
|
evidence: {
|
|
1700
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1699
1701
|
id: string;
|
|
1700
1702
|
label: string;
|
|
1701
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1702
1703
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1703
1704
|
locator?: string | undefined;
|
|
1704
1705
|
}[];
|
|
@@ -1708,37 +1709,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1708
1709
|
objective: string;
|
|
1709
1710
|
runMode: "replay" | "fixture" | "live";
|
|
1710
1711
|
evidence?: {
|
|
1712
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1711
1713
|
id: string;
|
|
1712
1714
|
label: string;
|
|
1713
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1714
1715
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1715
1716
|
locator?: string | undefined;
|
|
1716
1717
|
}[] | undefined;
|
|
1717
1718
|
} | {
|
|
1718
|
-
label: string;
|
|
1719
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1720
1719
|
kind: "agent_status";
|
|
1721
1720
|
role: string;
|
|
1721
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1722
|
+
label: string;
|
|
1722
1723
|
agentId: string;
|
|
1723
1724
|
sessionId: string;
|
|
1724
1725
|
detail?: string | undefined;
|
|
1725
1726
|
evidence?: {
|
|
1727
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1726
1728
|
id: string;
|
|
1727
1729
|
label: string;
|
|
1728
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1729
1730
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1730
1731
|
locator?: string | undefined;
|
|
1731
1732
|
}[] | undefined;
|
|
1732
1733
|
} | {
|
|
1733
|
-
summary: string;
|
|
1734
1734
|
kind: "agent_output";
|
|
1735
|
+
summary: string;
|
|
1735
1736
|
agentId: string;
|
|
1736
1737
|
sessionId: string;
|
|
1737
1738
|
outputId: string;
|
|
1738
1739
|
evidence?: {
|
|
1740
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1739
1741
|
id: string;
|
|
1740
1742
|
label: string;
|
|
1741
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1742
1743
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1743
1744
|
locator?: string | undefined;
|
|
1744
1745
|
}[] | undefined;
|
|
@@ -1751,37 +1752,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1751
1752
|
decisionId: string;
|
|
1752
1753
|
confidence?: number | undefined;
|
|
1753
1754
|
evidence?: {
|
|
1755
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1754
1756
|
id: string;
|
|
1755
1757
|
label: string;
|
|
1756
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1757
1758
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1758
1759
|
locator?: string | undefined;
|
|
1759
1760
|
}[] | undefined;
|
|
1760
1761
|
} | {
|
|
1761
|
-
summary: string;
|
|
1762
1762
|
kind: "conflict_detected";
|
|
1763
|
+
summary: string;
|
|
1763
1764
|
conflictId: string;
|
|
1764
1765
|
decisionIds: string[];
|
|
1765
1766
|
agentIds: string[];
|
|
1766
1767
|
evidence?: {
|
|
1768
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1767
1769
|
id: string;
|
|
1768
1770
|
label: string;
|
|
1769
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1770
1771
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1771
1772
|
locator?: string | undefined;
|
|
1772
1773
|
}[] | undefined;
|
|
1773
1774
|
} | {
|
|
1774
|
-
summary: string;
|
|
1775
|
-
status: "error" | "failed" | "passed";
|
|
1776
1775
|
kind: "test_result";
|
|
1776
|
+
summary: string;
|
|
1777
1777
|
command: string;
|
|
1778
|
+
status: "error" | "failed" | "passed";
|
|
1778
1779
|
decisionId: string;
|
|
1779
1780
|
testId: string;
|
|
1780
1781
|
durationMs?: number | undefined;
|
|
1781
1782
|
evidence?: {
|
|
1783
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1782
1784
|
id: string;
|
|
1783
1785
|
label: string;
|
|
1784
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1785
1786
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1786
1787
|
locator?: string | undefined;
|
|
1787
1788
|
}[] | undefined;
|
|
@@ -1796,9 +1797,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1796
1797
|
supersedesDecisionIds: string[];
|
|
1797
1798
|
proposedBy: string;
|
|
1798
1799
|
evidence?: {
|
|
1800
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1799
1801
|
id: string;
|
|
1800
1802
|
label: string;
|
|
1801
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1802
1803
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1803
1804
|
locator?: string | undefined;
|
|
1804
1805
|
}[] | undefined;
|
|
@@ -1806,15 +1807,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1806
1807
|
kind: "correction_approved";
|
|
1807
1808
|
correctionId: string;
|
|
1808
1809
|
approvedBy: {
|
|
1810
|
+
kind: "agent" | "human";
|
|
1809
1811
|
id: string;
|
|
1810
1812
|
label: string;
|
|
1811
|
-
kind: "agent" | "human";
|
|
1812
1813
|
};
|
|
1813
1814
|
note?: string | undefined;
|
|
1814
1815
|
evidence?: {
|
|
1816
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1815
1817
|
id: string;
|
|
1816
1818
|
label: string;
|
|
1817
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1818
1819
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1819
1820
|
locator?: string | undefined;
|
|
1820
1821
|
}[] | undefined;
|
|
@@ -1824,9 +1825,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1824
1825
|
correctionId: string;
|
|
1825
1826
|
replacementDecisionId: string;
|
|
1826
1827
|
evidence?: {
|
|
1828
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1827
1829
|
id: string;
|
|
1828
1830
|
label: string;
|
|
1829
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1830
1831
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1831
1832
|
locator?: string | undefined;
|
|
1832
1833
|
}[] | undefined;
|
|
@@ -1839,9 +1840,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1839
1840
|
recallReceiptId: string;
|
|
1840
1841
|
capturedAtAction: boolean;
|
|
1841
1842
|
evidence?: {
|
|
1843
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1842
1844
|
id: string;
|
|
1843
1845
|
label: string;
|
|
1844
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1845
1846
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1846
1847
|
locator?: string | undefined;
|
|
1847
1848
|
}[] | undefined;
|
|
@@ -1854,20 +1855,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1854
1855
|
recallReceiptId: string;
|
|
1855
1856
|
staleDecisionAbsent: boolean;
|
|
1856
1857
|
evidence?: {
|
|
1858
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1857
1859
|
id: string;
|
|
1858
1860
|
label: string;
|
|
1859
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1860
1861
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1861
1862
|
locator?: string | undefined;
|
|
1862
1863
|
}[] | undefined;
|
|
1863
1864
|
} | {
|
|
1864
|
-
summary: string;
|
|
1865
1865
|
kind: "mission_completed";
|
|
1866
|
+
summary: string;
|
|
1866
1867
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1867
1868
|
evidence?: {
|
|
1869
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1868
1870
|
id: string;
|
|
1869
1871
|
label: string;
|
|
1870
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1871
1872
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1872
1873
|
locator?: string | undefined;
|
|
1873
1874
|
}[] | undefined;
|
|
@@ -1888,15 +1889,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1888
1889
|
locator: z.ZodOptional<z.ZodString>;
|
|
1889
1890
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1890
1891
|
}, "strict", z.ZodTypeAny, {
|
|
1892
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1891
1893
|
id: string;
|
|
1892
1894
|
label: string;
|
|
1893
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1894
1895
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1895
1896
|
locator?: string | undefined;
|
|
1896
1897
|
}, {
|
|
1898
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1897
1899
|
id: string;
|
|
1898
1900
|
label: string;
|
|
1899
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1900
1901
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1901
1902
|
locator?: string | undefined;
|
|
1902
1903
|
}>, "many">>;
|
|
@@ -1904,9 +1905,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1904
1905
|
kind: "mission_started";
|
|
1905
1906
|
title: string;
|
|
1906
1907
|
evidence: {
|
|
1908
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1907
1909
|
id: string;
|
|
1908
1910
|
label: string;
|
|
1909
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1910
1911
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1911
1912
|
locator?: string | undefined;
|
|
1912
1913
|
}[];
|
|
@@ -1918,9 +1919,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1918
1919
|
objective: string;
|
|
1919
1920
|
runMode: "replay" | "fixture" | "live";
|
|
1920
1921
|
evidence?: {
|
|
1922
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1921
1923
|
id: string;
|
|
1922
1924
|
label: string;
|
|
1923
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1924
1925
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1925
1926
|
locator?: string | undefined;
|
|
1926
1927
|
}[] | undefined;
|
|
@@ -1936,15 +1937,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1936
1937
|
locator: z.ZodOptional<z.ZodString>;
|
|
1937
1938
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1938
1939
|
}, "strict", z.ZodTypeAny, {
|
|
1940
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1939
1941
|
id: string;
|
|
1940
1942
|
label: string;
|
|
1941
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1942
1943
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1943
1944
|
locator?: string | undefined;
|
|
1944
1945
|
}, {
|
|
1946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1945
1947
|
id: string;
|
|
1946
1948
|
label: string;
|
|
1947
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1948
1949
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1949
1950
|
locator?: string | undefined;
|
|
1950
1951
|
}>, "many">>;
|
|
@@ -1952,32 +1953,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1952
1953
|
sessionId: z.ZodString;
|
|
1953
1954
|
kind: z.ZodLiteral<"agent_status">;
|
|
1954
1955
|
}, "strict", z.ZodTypeAny, {
|
|
1955
|
-
label: string;
|
|
1956
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1957
1956
|
kind: "agent_status";
|
|
1958
1957
|
role: string;
|
|
1958
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1959
|
+
label: string;
|
|
1959
1960
|
agentId: string;
|
|
1960
1961
|
sessionId: string;
|
|
1961
1962
|
evidence: {
|
|
1963
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1962
1964
|
id: string;
|
|
1963
1965
|
label: string;
|
|
1964
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1965
1966
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1966
1967
|
locator?: string | undefined;
|
|
1967
1968
|
}[];
|
|
1968
1969
|
detail?: string | undefined;
|
|
1969
1970
|
}, {
|
|
1970
|
-
label: string;
|
|
1971
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1972
1971
|
kind: "agent_status";
|
|
1973
1972
|
role: string;
|
|
1973
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1974
|
+
label: string;
|
|
1974
1975
|
agentId: string;
|
|
1975
1976
|
sessionId: string;
|
|
1976
1977
|
detail?: string | undefined;
|
|
1977
1978
|
evidence?: {
|
|
1979
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1978
1980
|
id: string;
|
|
1979
1981
|
label: string;
|
|
1980
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1981
1982
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1982
1983
|
locator?: string | undefined;
|
|
1983
1984
|
}[] | undefined;
|
|
@@ -1991,15 +1992,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1991
1992
|
locator: z.ZodOptional<z.ZodString>;
|
|
1992
1993
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1993
1994
|
}, "strict", z.ZodTypeAny, {
|
|
1995
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1994
1996
|
id: string;
|
|
1995
1997
|
label: string;
|
|
1996
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1997
1998
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1998
1999
|
locator?: string | undefined;
|
|
1999
2000
|
}, {
|
|
2001
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2000
2002
|
id: string;
|
|
2001
2003
|
label: string;
|
|
2002
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2003
2004
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2004
2005
|
locator?: string | undefined;
|
|
2005
2006
|
}>, "many">>;
|
|
@@ -2007,28 +2008,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2007
2008
|
sessionId: z.ZodString;
|
|
2008
2009
|
kind: z.ZodLiteral<"agent_output">;
|
|
2009
2010
|
}, "strict", z.ZodTypeAny, {
|
|
2010
|
-
summary: string;
|
|
2011
2011
|
kind: "agent_output";
|
|
2012
|
+
summary: string;
|
|
2012
2013
|
agentId: string;
|
|
2013
2014
|
sessionId: string;
|
|
2014
2015
|
evidence: {
|
|
2016
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2015
2017
|
id: string;
|
|
2016
2018
|
label: string;
|
|
2017
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2018
2019
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2019
2020
|
locator?: string | undefined;
|
|
2020
2021
|
}[];
|
|
2021
2022
|
outputId: string;
|
|
2022
2023
|
}, {
|
|
2023
|
-
summary: string;
|
|
2024
2024
|
kind: "agent_output";
|
|
2025
|
+
summary: string;
|
|
2025
2026
|
agentId: string;
|
|
2026
2027
|
sessionId: string;
|
|
2027
2028
|
outputId: string;
|
|
2028
2029
|
evidence?: {
|
|
2030
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2029
2031
|
id: string;
|
|
2030
2032
|
label: string;
|
|
2031
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2032
2033
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2033
2034
|
locator?: string | undefined;
|
|
2034
2035
|
}[] | undefined;
|
|
@@ -2044,15 +2045,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2044
2045
|
locator: z.ZodOptional<z.ZodString>;
|
|
2045
2046
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2046
2047
|
}, "strict", z.ZodTypeAny, {
|
|
2048
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2047
2049
|
id: string;
|
|
2048
2050
|
label: string;
|
|
2049
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2050
2051
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2051
2052
|
locator?: string | undefined;
|
|
2052
2053
|
}, {
|
|
2054
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2053
2055
|
id: string;
|
|
2054
2056
|
label: string;
|
|
2055
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2056
2057
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2057
2058
|
locator?: string | undefined;
|
|
2058
2059
|
}>, "many">>;
|
|
@@ -2065,9 +2066,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2065
2066
|
statement: string;
|
|
2066
2067
|
sessionId: string;
|
|
2067
2068
|
evidence: {
|
|
2069
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2068
2070
|
id: string;
|
|
2069
2071
|
label: string;
|
|
2070
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2071
2072
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2072
2073
|
locator?: string | undefined;
|
|
2073
2074
|
}[];
|
|
@@ -2083,9 +2084,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2083
2084
|
decisionId: string;
|
|
2084
2085
|
confidence?: number | undefined;
|
|
2085
2086
|
evidence?: {
|
|
2087
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2086
2088
|
id: string;
|
|
2087
2089
|
label: string;
|
|
2088
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2089
2090
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2090
2091
|
locator?: string | undefined;
|
|
2091
2092
|
}[] | undefined;
|
|
@@ -2102,25 +2103,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2102
2103
|
locator: z.ZodOptional<z.ZodString>;
|
|
2103
2104
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2104
2105
|
}, "strict", z.ZodTypeAny, {
|
|
2106
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2105
2107
|
id: string;
|
|
2106
2108
|
label: string;
|
|
2107
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2108
2109
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2109
2110
|
locator?: string | undefined;
|
|
2110
2111
|
}, {
|
|
2112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2111
2113
|
id: string;
|
|
2112
2114
|
label: string;
|
|
2113
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2114
2115
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2115
2116
|
locator?: string | undefined;
|
|
2116
2117
|
}>, "many">>;
|
|
2117
2118
|
}, "strict", z.ZodTypeAny, {
|
|
2118
|
-
summary: string;
|
|
2119
2119
|
kind: "conflict_detected";
|
|
2120
|
+
summary: string;
|
|
2120
2121
|
evidence: {
|
|
2122
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2121
2123
|
id: string;
|
|
2122
2124
|
label: string;
|
|
2123
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2124
2125
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2125
2126
|
locator?: string | undefined;
|
|
2126
2127
|
}[];
|
|
@@ -2128,15 +2129,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2128
2129
|
decisionIds: string[];
|
|
2129
2130
|
agentIds: string[];
|
|
2130
2131
|
}, {
|
|
2131
|
-
summary: string;
|
|
2132
2132
|
kind: "conflict_detected";
|
|
2133
|
+
summary: string;
|
|
2133
2134
|
conflictId: string;
|
|
2134
2135
|
decisionIds: string[];
|
|
2135
2136
|
agentIds: string[];
|
|
2136
2137
|
evidence?: {
|
|
2138
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2137
2139
|
id: string;
|
|
2138
2140
|
label: string;
|
|
2139
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2140
2141
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2141
2142
|
locator?: string | undefined;
|
|
2142
2143
|
}[] | undefined;
|
|
@@ -2156,27 +2157,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2156
2157
|
locator: z.ZodOptional<z.ZodString>;
|
|
2157
2158
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2158
2159
|
}, "strict", z.ZodTypeAny, {
|
|
2160
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2159
2161
|
id: string;
|
|
2160
2162
|
label: string;
|
|
2161
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2162
2163
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2163
2164
|
locator?: string | undefined;
|
|
2164
2165
|
}, {
|
|
2166
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2165
2167
|
id: string;
|
|
2166
2168
|
label: string;
|
|
2167
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2168
2169
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2169
2170
|
locator?: string | undefined;
|
|
2170
2171
|
}>, "many">>;
|
|
2171
2172
|
}, "strict", z.ZodTypeAny, {
|
|
2172
|
-
summary: string;
|
|
2173
|
-
status: "error" | "failed" | "passed";
|
|
2174
2173
|
kind: "test_result";
|
|
2174
|
+
summary: string;
|
|
2175
2175
|
command: string;
|
|
2176
|
+
status: "error" | "failed" | "passed";
|
|
2176
2177
|
evidence: {
|
|
2178
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2177
2179
|
id: string;
|
|
2178
2180
|
label: string;
|
|
2179
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2180
2181
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2181
2182
|
locator?: string | undefined;
|
|
2182
2183
|
}[];
|
|
@@ -2185,17 +2186,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2185
2186
|
durationMs?: number | undefined;
|
|
2186
2187
|
correctionId?: string | undefined;
|
|
2187
2188
|
}, {
|
|
2188
|
-
summary: string;
|
|
2189
|
-
status: "error" | "failed" | "passed";
|
|
2190
2189
|
kind: "test_result";
|
|
2190
|
+
summary: string;
|
|
2191
2191
|
command: string;
|
|
2192
|
+
status: "error" | "failed" | "passed";
|
|
2192
2193
|
decisionId: string;
|
|
2193
2194
|
testId: string;
|
|
2194
2195
|
durationMs?: number | undefined;
|
|
2195
2196
|
evidence?: {
|
|
2197
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2196
2198
|
id: string;
|
|
2197
2199
|
label: string;
|
|
2198
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2199
2200
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2200
2201
|
locator?: string | undefined;
|
|
2201
2202
|
}[] | undefined;
|
|
@@ -2216,15 +2217,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2216
2217
|
locator: z.ZodOptional<z.ZodString>;
|
|
2217
2218
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2218
2219
|
}, "strict", z.ZodTypeAny, {
|
|
2220
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2219
2221
|
id: string;
|
|
2220
2222
|
label: string;
|
|
2221
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2222
2223
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2223
2224
|
locator?: string | undefined;
|
|
2224
2225
|
}, {
|
|
2226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2225
2227
|
id: string;
|
|
2226
2228
|
label: string;
|
|
2227
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2228
2229
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2229
2230
|
locator?: string | undefined;
|
|
2230
2231
|
}>, "many">>;
|
|
@@ -2233,9 +2234,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2233
2234
|
rationale: string;
|
|
2234
2235
|
statement: string;
|
|
2235
2236
|
evidence: {
|
|
2237
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2236
2238
|
id: string;
|
|
2237
2239
|
label: string;
|
|
2238
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2239
2240
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2240
2241
|
locator?: string | undefined;
|
|
2241
2242
|
}[];
|
|
@@ -2254,9 +2255,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2254
2255
|
supersedesDecisionIds: string[];
|
|
2255
2256
|
proposedBy: string;
|
|
2256
2257
|
evidence?: {
|
|
2258
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2257
2259
|
id: string;
|
|
2258
2260
|
label: string;
|
|
2259
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2260
2261
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2261
2262
|
locator?: string | undefined;
|
|
2262
2263
|
}[] | undefined;
|
|
@@ -2268,13 +2269,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2268
2269
|
id: z.ZodString;
|
|
2269
2270
|
label: z.ZodString;
|
|
2270
2271
|
}, "strict", z.ZodTypeAny, {
|
|
2272
|
+
kind: "agent" | "human";
|
|
2271
2273
|
id: string;
|
|
2272
2274
|
label: string;
|
|
2273
|
-
kind: "agent" | "human";
|
|
2274
2275
|
}, {
|
|
2276
|
+
kind: "agent" | "human";
|
|
2275
2277
|
id: string;
|
|
2276
2278
|
label: string;
|
|
2277
|
-
kind: "agent" | "human";
|
|
2278
2279
|
}>;
|
|
2279
2280
|
note: z.ZodOptional<z.ZodString>;
|
|
2280
2281
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2284,47 +2285,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2284
2285
|
locator: z.ZodOptional<z.ZodString>;
|
|
2285
2286
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2286
2287
|
}, "strict", z.ZodTypeAny, {
|
|
2288
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2287
2289
|
id: string;
|
|
2288
2290
|
label: string;
|
|
2289
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2290
2291
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2291
2292
|
locator?: string | undefined;
|
|
2292
2293
|
}, {
|
|
2294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2293
2295
|
id: string;
|
|
2294
2296
|
label: string;
|
|
2295
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2296
2297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2297
2298
|
locator?: string | undefined;
|
|
2298
2299
|
}>, "many">>;
|
|
2299
2300
|
}, "strict", z.ZodTypeAny, {
|
|
2300
2301
|
kind: "correction_approved";
|
|
2301
2302
|
evidence: {
|
|
2303
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2302
2304
|
id: string;
|
|
2303
2305
|
label: string;
|
|
2304
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2305
2306
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2306
2307
|
locator?: string | undefined;
|
|
2307
2308
|
}[];
|
|
2308
2309
|
correctionId: string;
|
|
2309
2310
|
approvedBy: {
|
|
2311
|
+
kind: "agent" | "human";
|
|
2310
2312
|
id: string;
|
|
2311
2313
|
label: string;
|
|
2312
|
-
kind: "agent" | "human";
|
|
2313
2314
|
};
|
|
2314
2315
|
note?: string | undefined;
|
|
2315
2316
|
}, {
|
|
2316
2317
|
kind: "correction_approved";
|
|
2317
2318
|
correctionId: string;
|
|
2318
2319
|
approvedBy: {
|
|
2320
|
+
kind: "agent" | "human";
|
|
2319
2321
|
id: string;
|
|
2320
2322
|
label: string;
|
|
2321
|
-
kind: "agent" | "human";
|
|
2322
2323
|
};
|
|
2323
2324
|
note?: string | undefined;
|
|
2324
2325
|
evidence?: {
|
|
2326
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2325
2327
|
id: string;
|
|
2326
2328
|
label: string;
|
|
2327
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2328
2329
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2329
2330
|
locator?: string | undefined;
|
|
2330
2331
|
}[] | undefined;
|
|
@@ -2340,24 +2341,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2340
2341
|
locator: z.ZodOptional<z.ZodString>;
|
|
2341
2342
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2342
2343
|
}, "strict", z.ZodTypeAny, {
|
|
2344
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2343
2345
|
id: string;
|
|
2344
2346
|
label: string;
|
|
2345
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2346
2347
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2347
2348
|
locator?: string | undefined;
|
|
2348
2349
|
}, {
|
|
2350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2349
2351
|
id: string;
|
|
2350
2352
|
label: string;
|
|
2351
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2352
2353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2353
2354
|
locator?: string | undefined;
|
|
2354
2355
|
}>, "many">>;
|
|
2355
2356
|
}, "strict", z.ZodTypeAny, {
|
|
2356
2357
|
kind: "decision_superseded";
|
|
2357
2358
|
evidence: {
|
|
2359
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2358
2360
|
id: string;
|
|
2359
2361
|
label: string;
|
|
2360
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2361
2362
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2362
2363
|
locator?: string | undefined;
|
|
2363
2364
|
}[];
|
|
@@ -2370,9 +2371,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2370
2371
|
correctionId: string;
|
|
2371
2372
|
replacementDecisionId: string;
|
|
2372
2373
|
evidence?: {
|
|
2374
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2373
2375
|
id: string;
|
|
2374
2376
|
label: string;
|
|
2375
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2376
2377
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2377
2378
|
locator?: string | undefined;
|
|
2378
2379
|
}[] | undefined;
|
|
@@ -2388,15 +2389,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2388
2389
|
locator: z.ZodOptional<z.ZodString>;
|
|
2389
2390
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2390
2391
|
}, "strict", z.ZodTypeAny, {
|
|
2392
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2391
2393
|
id: string;
|
|
2392
2394
|
label: string;
|
|
2393
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2394
2395
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2395
2396
|
locator?: string | undefined;
|
|
2396
2397
|
}, {
|
|
2398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2397
2399
|
id: string;
|
|
2398
2400
|
label: string;
|
|
2399
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2400
2401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2401
2402
|
locator?: string | undefined;
|
|
2402
2403
|
}>, "many">>;
|
|
@@ -2409,9 +2410,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2409
2410
|
agentId: string;
|
|
2410
2411
|
sessionId: string;
|
|
2411
2412
|
evidence: {
|
|
2413
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2412
2414
|
id: string;
|
|
2413
2415
|
label: string;
|
|
2414
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2415
2416
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2416
2417
|
locator?: string | undefined;
|
|
2417
2418
|
}[];
|
|
@@ -2427,9 +2428,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2427
2428
|
recallReceiptId: string;
|
|
2428
2429
|
capturedAtAction: boolean;
|
|
2429
2430
|
evidence?: {
|
|
2431
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2430
2432
|
id: string;
|
|
2431
2433
|
label: string;
|
|
2432
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2433
2434
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2434
2435
|
locator?: string | undefined;
|
|
2435
2436
|
}[] | undefined;
|
|
@@ -2445,15 +2446,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2445
2446
|
locator: z.ZodOptional<z.ZodString>;
|
|
2446
2447
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2447
2448
|
}, "strict", z.ZodTypeAny, {
|
|
2449
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2448
2450
|
id: string;
|
|
2449
2451
|
label: string;
|
|
2450
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2451
2452
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2452
2453
|
locator?: string | undefined;
|
|
2453
2454
|
}, {
|
|
2455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2454
2456
|
id: string;
|
|
2455
2457
|
label: string;
|
|
2456
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2457
2458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2458
2459
|
locator?: string | undefined;
|
|
2459
2460
|
}>, "many">>;
|
|
@@ -2465,9 +2466,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2465
2466
|
agentId: string;
|
|
2466
2467
|
sessionId: string;
|
|
2467
2468
|
evidence: {
|
|
2469
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2468
2470
|
id: string;
|
|
2469
2471
|
label: string;
|
|
2470
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2471
2472
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2472
2473
|
locator?: string | undefined;
|
|
2473
2474
|
}[];
|
|
@@ -2484,9 +2485,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2484
2485
|
recallReceiptId: string;
|
|
2485
2486
|
staleDecisionAbsent: boolean;
|
|
2486
2487
|
evidence?: {
|
|
2488
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2487
2489
|
id: string;
|
|
2488
2490
|
label: string;
|
|
2489
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2490
2491
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2491
2492
|
locator?: string | undefined;
|
|
2492
2493
|
}[] | undefined;
|
|
@@ -2501,37 +2502,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2501
2502
|
locator: z.ZodOptional<z.ZodString>;
|
|
2502
2503
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2503
2504
|
}, "strict", z.ZodTypeAny, {
|
|
2505
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2504
2506
|
id: string;
|
|
2505
2507
|
label: string;
|
|
2506
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2507
2508
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2508
2509
|
locator?: string | undefined;
|
|
2509
2510
|
}, {
|
|
2511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2510
2512
|
id: string;
|
|
2511
2513
|
label: string;
|
|
2512
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2513
2514
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2514
2515
|
locator?: string | undefined;
|
|
2515
2516
|
}>, "many">>;
|
|
2516
2517
|
}, "strict", z.ZodTypeAny, {
|
|
2517
|
-
summary: string;
|
|
2518
2518
|
kind: "mission_completed";
|
|
2519
|
+
summary: string;
|
|
2519
2520
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2520
2521
|
evidence: {
|
|
2522
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2521
2523
|
id: string;
|
|
2522
2524
|
label: string;
|
|
2523
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2524
2525
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2525
2526
|
locator?: string | undefined;
|
|
2526
2527
|
}[];
|
|
2527
2528
|
}, {
|
|
2528
|
-
summary: string;
|
|
2529
2529
|
kind: "mission_completed";
|
|
2530
|
+
summary: string;
|
|
2530
2531
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2531
2532
|
evidence?: {
|
|
2533
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2532
2534
|
id: string;
|
|
2533
2535
|
label: string;
|
|
2534
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2535
2536
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2536
2537
|
locator?: string | undefined;
|
|
2537
2538
|
}[] | undefined;
|
|
@@ -2539,38 +2540,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2539
2540
|
kind: "mission_started";
|
|
2540
2541
|
title: string;
|
|
2541
2542
|
evidence: {
|
|
2543
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2542
2544
|
id: string;
|
|
2543
2545
|
label: string;
|
|
2544
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2545
2546
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2546
2547
|
locator?: string | undefined;
|
|
2547
2548
|
}[];
|
|
2548
2549
|
objective: string;
|
|
2549
2550
|
runMode: "replay" | "fixture" | "live";
|
|
2550
2551
|
} | {
|
|
2551
|
-
label: string;
|
|
2552
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2553
2552
|
kind: "agent_status";
|
|
2554
2553
|
role: string;
|
|
2554
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2555
|
+
label: string;
|
|
2555
2556
|
agentId: string;
|
|
2556
2557
|
sessionId: string;
|
|
2557
2558
|
evidence: {
|
|
2559
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2558
2560
|
id: string;
|
|
2559
2561
|
label: string;
|
|
2560
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2561
2562
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2562
2563
|
locator?: string | undefined;
|
|
2563
2564
|
}[];
|
|
2564
2565
|
detail?: string | undefined;
|
|
2565
2566
|
} | {
|
|
2566
|
-
summary: string;
|
|
2567
2567
|
kind: "agent_output";
|
|
2568
|
+
summary: string;
|
|
2568
2569
|
agentId: string;
|
|
2569
2570
|
sessionId: string;
|
|
2570
2571
|
evidence: {
|
|
2572
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2571
2573
|
id: string;
|
|
2572
2574
|
label: string;
|
|
2573
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2574
2575
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2575
2576
|
locator?: string | undefined;
|
|
2576
2577
|
}[];
|
|
@@ -2581,9 +2582,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2581
2582
|
statement: string;
|
|
2582
2583
|
sessionId: string;
|
|
2583
2584
|
evidence: {
|
|
2585
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2584
2586
|
id: string;
|
|
2585
2587
|
label: string;
|
|
2586
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2587
2588
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2588
2589
|
locator?: string | undefined;
|
|
2589
2590
|
}[];
|
|
@@ -2591,12 +2592,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2591
2592
|
decisionId: string;
|
|
2592
2593
|
confidence?: number | undefined;
|
|
2593
2594
|
} | {
|
|
2594
|
-
summary: string;
|
|
2595
2595
|
kind: "conflict_detected";
|
|
2596
|
+
summary: string;
|
|
2596
2597
|
evidence: {
|
|
2598
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2597
2599
|
id: string;
|
|
2598
2600
|
label: string;
|
|
2599
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2600
2601
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2601
2602
|
locator?: string | undefined;
|
|
2602
2603
|
}[];
|
|
@@ -2604,14 +2605,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2604
2605
|
decisionIds: string[];
|
|
2605
2606
|
agentIds: string[];
|
|
2606
2607
|
} | {
|
|
2607
|
-
summary: string;
|
|
2608
|
-
status: "error" | "failed" | "passed";
|
|
2609
2608
|
kind: "test_result";
|
|
2609
|
+
summary: string;
|
|
2610
2610
|
command: string;
|
|
2611
|
+
status: "error" | "failed" | "passed";
|
|
2611
2612
|
evidence: {
|
|
2613
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2612
2614
|
id: string;
|
|
2613
2615
|
label: string;
|
|
2614
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2615
2616
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2616
2617
|
locator?: string | undefined;
|
|
2617
2618
|
}[];
|
|
@@ -2624,9 +2625,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2624
2625
|
rationale: string;
|
|
2625
2626
|
statement: string;
|
|
2626
2627
|
evidence: {
|
|
2628
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2627
2629
|
id: string;
|
|
2628
2630
|
label: string;
|
|
2629
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2630
2631
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2631
2632
|
locator?: string | undefined;
|
|
2632
2633
|
}[];
|
|
@@ -2638,25 +2639,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2638
2639
|
} | {
|
|
2639
2640
|
kind: "correction_approved";
|
|
2640
2641
|
evidence: {
|
|
2642
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2641
2643
|
id: string;
|
|
2642
2644
|
label: string;
|
|
2643
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2644
2645
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2645
2646
|
locator?: string | undefined;
|
|
2646
2647
|
}[];
|
|
2647
2648
|
correctionId: string;
|
|
2648
2649
|
approvedBy: {
|
|
2650
|
+
kind: "agent" | "human";
|
|
2649
2651
|
id: string;
|
|
2650
2652
|
label: string;
|
|
2651
|
-
kind: "agent" | "human";
|
|
2652
2653
|
};
|
|
2653
2654
|
note?: string | undefined;
|
|
2654
2655
|
} | {
|
|
2655
2656
|
kind: "decision_superseded";
|
|
2656
2657
|
evidence: {
|
|
2658
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2657
2659
|
id: string;
|
|
2658
2660
|
label: string;
|
|
2659
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2660
2661
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2661
2662
|
locator?: string | undefined;
|
|
2662
2663
|
}[];
|
|
@@ -2669,9 +2670,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2669
2670
|
agentId: string;
|
|
2670
2671
|
sessionId: string;
|
|
2671
2672
|
evidence: {
|
|
2673
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2672
2674
|
id: string;
|
|
2673
2675
|
label: string;
|
|
2674
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2675
2676
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2676
2677
|
locator?: string | undefined;
|
|
2677
2678
|
}[];
|
|
@@ -2683,9 +2684,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2683
2684
|
agentId: string;
|
|
2684
2685
|
sessionId: string;
|
|
2685
2686
|
evidence: {
|
|
2687
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2686
2688
|
id: string;
|
|
2687
2689
|
label: string;
|
|
2688
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2689
2690
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2690
2691
|
locator?: string | undefined;
|
|
2691
2692
|
}[];
|
|
@@ -2694,13 +2695,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2694
2695
|
recallReceiptId: string;
|
|
2695
2696
|
staleDecisionAbsent: boolean;
|
|
2696
2697
|
} | {
|
|
2697
|
-
summary: string;
|
|
2698
2698
|
kind: "mission_completed";
|
|
2699
|
+
summary: string;
|
|
2699
2700
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2700
2701
|
evidence: {
|
|
2702
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2701
2703
|
id: string;
|
|
2702
2704
|
label: string;
|
|
2703
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2704
2705
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2705
2706
|
locator?: string | undefined;
|
|
2706
2707
|
}[];
|
|
@@ -2710,37 +2711,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2710
2711
|
objective: string;
|
|
2711
2712
|
runMode: "replay" | "fixture" | "live";
|
|
2712
2713
|
evidence?: {
|
|
2714
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2713
2715
|
id: string;
|
|
2714
2716
|
label: string;
|
|
2715
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2716
2717
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2717
2718
|
locator?: string | undefined;
|
|
2718
2719
|
}[] | undefined;
|
|
2719
2720
|
} | {
|
|
2720
|
-
label: string;
|
|
2721
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2722
2721
|
kind: "agent_status";
|
|
2723
2722
|
role: string;
|
|
2723
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2724
|
+
label: string;
|
|
2724
2725
|
agentId: string;
|
|
2725
2726
|
sessionId: string;
|
|
2726
2727
|
detail?: string | undefined;
|
|
2727
2728
|
evidence?: {
|
|
2729
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2728
2730
|
id: string;
|
|
2729
2731
|
label: string;
|
|
2730
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2731
2732
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2732
2733
|
locator?: string | undefined;
|
|
2733
2734
|
}[] | undefined;
|
|
2734
2735
|
} | {
|
|
2735
|
-
summary: string;
|
|
2736
2736
|
kind: "agent_output";
|
|
2737
|
+
summary: string;
|
|
2737
2738
|
agentId: string;
|
|
2738
2739
|
sessionId: string;
|
|
2739
2740
|
outputId: string;
|
|
2740
2741
|
evidence?: {
|
|
2742
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2741
2743
|
id: string;
|
|
2742
2744
|
label: string;
|
|
2743
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2744
2745
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2745
2746
|
locator?: string | undefined;
|
|
2746
2747
|
}[] | undefined;
|
|
@@ -2753,37 +2754,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2753
2754
|
decisionId: string;
|
|
2754
2755
|
confidence?: number | undefined;
|
|
2755
2756
|
evidence?: {
|
|
2757
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2756
2758
|
id: string;
|
|
2757
2759
|
label: string;
|
|
2758
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2759
2760
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2760
2761
|
locator?: string | undefined;
|
|
2761
2762
|
}[] | undefined;
|
|
2762
2763
|
} | {
|
|
2763
|
-
summary: string;
|
|
2764
2764
|
kind: "conflict_detected";
|
|
2765
|
+
summary: string;
|
|
2765
2766
|
conflictId: string;
|
|
2766
2767
|
decisionIds: string[];
|
|
2767
2768
|
agentIds: string[];
|
|
2768
2769
|
evidence?: {
|
|
2770
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2769
2771
|
id: string;
|
|
2770
2772
|
label: string;
|
|
2771
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2772
2773
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2773
2774
|
locator?: string | undefined;
|
|
2774
2775
|
}[] | undefined;
|
|
2775
2776
|
} | {
|
|
2776
|
-
summary: string;
|
|
2777
|
-
status: "error" | "failed" | "passed";
|
|
2778
2777
|
kind: "test_result";
|
|
2778
|
+
summary: string;
|
|
2779
2779
|
command: string;
|
|
2780
|
+
status: "error" | "failed" | "passed";
|
|
2780
2781
|
decisionId: string;
|
|
2781
2782
|
testId: string;
|
|
2782
2783
|
durationMs?: number | undefined;
|
|
2783
2784
|
evidence?: {
|
|
2785
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2784
2786
|
id: string;
|
|
2785
2787
|
label: string;
|
|
2786
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2787
2788
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2788
2789
|
locator?: string | undefined;
|
|
2789
2790
|
}[] | undefined;
|
|
@@ -2798,9 +2799,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2798
2799
|
supersedesDecisionIds: string[];
|
|
2799
2800
|
proposedBy: string;
|
|
2800
2801
|
evidence?: {
|
|
2802
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2801
2803
|
id: string;
|
|
2802
2804
|
label: string;
|
|
2803
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2804
2805
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2805
2806
|
locator?: string | undefined;
|
|
2806
2807
|
}[] | undefined;
|
|
@@ -2808,15 +2809,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2808
2809
|
kind: "correction_approved";
|
|
2809
2810
|
correctionId: string;
|
|
2810
2811
|
approvedBy: {
|
|
2812
|
+
kind: "agent" | "human";
|
|
2811
2813
|
id: string;
|
|
2812
2814
|
label: string;
|
|
2813
|
-
kind: "agent" | "human";
|
|
2814
2815
|
};
|
|
2815
2816
|
note?: string | undefined;
|
|
2816
2817
|
evidence?: {
|
|
2818
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2817
2819
|
id: string;
|
|
2818
2820
|
label: string;
|
|
2819
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2820
2821
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2821
2822
|
locator?: string | undefined;
|
|
2822
2823
|
}[] | undefined;
|
|
@@ -2826,9 +2827,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2826
2827
|
correctionId: string;
|
|
2827
2828
|
replacementDecisionId: string;
|
|
2828
2829
|
evidence?: {
|
|
2830
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2829
2831
|
id: string;
|
|
2830
2832
|
label: string;
|
|
2831
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2832
2833
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2833
2834
|
locator?: string | undefined;
|
|
2834
2835
|
}[] | undefined;
|
|
@@ -2841,9 +2842,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2841
2842
|
recallReceiptId: string;
|
|
2842
2843
|
capturedAtAction: boolean;
|
|
2843
2844
|
evidence?: {
|
|
2845
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2844
2846
|
id: string;
|
|
2845
2847
|
label: string;
|
|
2846
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2847
2848
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2848
2849
|
locator?: string | undefined;
|
|
2849
2850
|
}[] | undefined;
|
|
@@ -2856,20 +2857,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2856
2857
|
recallReceiptId: string;
|
|
2857
2858
|
staleDecisionAbsent: boolean;
|
|
2858
2859
|
evidence?: {
|
|
2860
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2859
2861
|
id: string;
|
|
2860
2862
|
label: string;
|
|
2861
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2862
2863
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2863
2864
|
locator?: string | undefined;
|
|
2864
2865
|
}[] | undefined;
|
|
2865
2866
|
} | {
|
|
2866
|
-
summary: string;
|
|
2867
2867
|
kind: "mission_completed";
|
|
2868
|
+
summary: string;
|
|
2868
2869
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2869
2870
|
evidence?: {
|
|
2871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2870
2872
|
id: string;
|
|
2871
2873
|
label: string;
|
|
2872
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2873
2874
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2874
2875
|
locator?: string | undefined;
|
|
2875
2876
|
}[] | undefined;
|
|
@@ -2879,38 +2880,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2879
2880
|
kind: "mission_started";
|
|
2880
2881
|
title: string;
|
|
2881
2882
|
evidence: {
|
|
2883
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2882
2884
|
id: string;
|
|
2883
2885
|
label: string;
|
|
2884
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2885
2886
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2886
2887
|
locator?: string | undefined;
|
|
2887
2888
|
}[];
|
|
2888
2889
|
objective: string;
|
|
2889
2890
|
runMode: "replay" | "fixture" | "live";
|
|
2890
2891
|
} | {
|
|
2891
|
-
label: string;
|
|
2892
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2893
2892
|
kind: "agent_status";
|
|
2894
2893
|
role: string;
|
|
2894
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2895
|
+
label: string;
|
|
2895
2896
|
agentId: string;
|
|
2896
2897
|
sessionId: string;
|
|
2897
2898
|
evidence: {
|
|
2899
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2898
2900
|
id: string;
|
|
2899
2901
|
label: string;
|
|
2900
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2901
2902
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2902
2903
|
locator?: string | undefined;
|
|
2903
2904
|
}[];
|
|
2904
2905
|
detail?: string | undefined;
|
|
2905
2906
|
} | {
|
|
2906
|
-
summary: string;
|
|
2907
2907
|
kind: "agent_output";
|
|
2908
|
+
summary: string;
|
|
2908
2909
|
agentId: string;
|
|
2909
2910
|
sessionId: string;
|
|
2910
2911
|
evidence: {
|
|
2912
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2911
2913
|
id: string;
|
|
2912
2914
|
label: string;
|
|
2913
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2914
2915
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2915
2916
|
locator?: string | undefined;
|
|
2916
2917
|
}[];
|
|
@@ -2921,9 +2922,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2921
2922
|
statement: string;
|
|
2922
2923
|
sessionId: string;
|
|
2923
2924
|
evidence: {
|
|
2925
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2924
2926
|
id: string;
|
|
2925
2927
|
label: string;
|
|
2926
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2927
2928
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2928
2929
|
locator?: string | undefined;
|
|
2929
2930
|
}[];
|
|
@@ -2931,12 +2932,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2931
2932
|
decisionId: string;
|
|
2932
2933
|
confidence?: number | undefined;
|
|
2933
2934
|
} | {
|
|
2934
|
-
summary: string;
|
|
2935
2935
|
kind: "conflict_detected";
|
|
2936
|
+
summary: string;
|
|
2936
2937
|
evidence: {
|
|
2938
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2937
2939
|
id: string;
|
|
2938
2940
|
label: string;
|
|
2939
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2940
2941
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2941
2942
|
locator?: string | undefined;
|
|
2942
2943
|
}[];
|
|
@@ -2944,14 +2945,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2944
2945
|
decisionIds: string[];
|
|
2945
2946
|
agentIds: string[];
|
|
2946
2947
|
} | {
|
|
2947
|
-
summary: string;
|
|
2948
|
-
status: "error" | "failed" | "passed";
|
|
2949
2948
|
kind: "test_result";
|
|
2949
|
+
summary: string;
|
|
2950
2950
|
command: string;
|
|
2951
|
+
status: "error" | "failed" | "passed";
|
|
2951
2952
|
evidence: {
|
|
2953
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2952
2954
|
id: string;
|
|
2953
2955
|
label: string;
|
|
2954
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2955
2956
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2956
2957
|
locator?: string | undefined;
|
|
2957
2958
|
}[];
|
|
@@ -2964,9 +2965,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2964
2965
|
rationale: string;
|
|
2965
2966
|
statement: string;
|
|
2966
2967
|
evidence: {
|
|
2968
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2967
2969
|
id: string;
|
|
2968
2970
|
label: string;
|
|
2969
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2970
2971
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2971
2972
|
locator?: string | undefined;
|
|
2972
2973
|
}[];
|
|
@@ -2978,25 +2979,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2978
2979
|
} | {
|
|
2979
2980
|
kind: "correction_approved";
|
|
2980
2981
|
evidence: {
|
|
2982
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2981
2983
|
id: string;
|
|
2982
2984
|
label: string;
|
|
2983
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2984
2985
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2985
2986
|
locator?: string | undefined;
|
|
2986
2987
|
}[];
|
|
2987
2988
|
correctionId: string;
|
|
2988
2989
|
approvedBy: {
|
|
2990
|
+
kind: "agent" | "human";
|
|
2989
2991
|
id: string;
|
|
2990
2992
|
label: string;
|
|
2991
|
-
kind: "agent" | "human";
|
|
2992
2993
|
};
|
|
2993
2994
|
note?: string | undefined;
|
|
2994
2995
|
} | {
|
|
2995
2996
|
kind: "decision_superseded";
|
|
2996
2997
|
evidence: {
|
|
2998
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2997
2999
|
id: string;
|
|
2998
3000
|
label: string;
|
|
2999
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3000
3001
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3001
3002
|
locator?: string | undefined;
|
|
3002
3003
|
}[];
|
|
@@ -3009,9 +3010,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3009
3010
|
agentId: string;
|
|
3010
3011
|
sessionId: string;
|
|
3011
3012
|
evidence: {
|
|
3013
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3012
3014
|
id: string;
|
|
3013
3015
|
label: string;
|
|
3014
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3015
3016
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3016
3017
|
locator?: string | undefined;
|
|
3017
3018
|
}[];
|
|
@@ -3023,9 +3024,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3023
3024
|
agentId: string;
|
|
3024
3025
|
sessionId: string;
|
|
3025
3026
|
evidence: {
|
|
3027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3026
3028
|
id: string;
|
|
3027
3029
|
label: string;
|
|
3028
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3029
3030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3030
3031
|
locator?: string | undefined;
|
|
3031
3032
|
}[];
|
|
@@ -3034,13 +3035,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3034
3035
|
recallReceiptId: string;
|
|
3035
3036
|
staleDecisionAbsent: boolean;
|
|
3036
3037
|
} | {
|
|
3037
|
-
summary: string;
|
|
3038
3038
|
kind: "mission_completed";
|
|
3039
|
+
summary: string;
|
|
3039
3040
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3040
3041
|
evidence: {
|
|
3042
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3041
3043
|
id: string;
|
|
3042
3044
|
label: string;
|
|
3043
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3044
3045
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3045
3046
|
locator?: string | undefined;
|
|
3046
3047
|
}[];
|
|
@@ -3054,37 +3055,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3054
3055
|
objective: string;
|
|
3055
3056
|
runMode: "replay" | "fixture" | "live";
|
|
3056
3057
|
evidence?: {
|
|
3058
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3057
3059
|
id: string;
|
|
3058
3060
|
label: string;
|
|
3059
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3060
3061
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3061
3062
|
locator?: string | undefined;
|
|
3062
3063
|
}[] | undefined;
|
|
3063
3064
|
} | {
|
|
3064
|
-
label: string;
|
|
3065
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3066
3065
|
kind: "agent_status";
|
|
3067
3066
|
role: string;
|
|
3067
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3068
|
+
label: string;
|
|
3068
3069
|
agentId: string;
|
|
3069
3070
|
sessionId: string;
|
|
3070
3071
|
detail?: string | undefined;
|
|
3071
3072
|
evidence?: {
|
|
3073
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3072
3074
|
id: string;
|
|
3073
3075
|
label: string;
|
|
3074
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3075
3076
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3076
3077
|
locator?: string | undefined;
|
|
3077
3078
|
}[] | undefined;
|
|
3078
3079
|
} | {
|
|
3079
|
-
summary: string;
|
|
3080
3080
|
kind: "agent_output";
|
|
3081
|
+
summary: string;
|
|
3081
3082
|
agentId: string;
|
|
3082
3083
|
sessionId: string;
|
|
3083
3084
|
outputId: string;
|
|
3084
3085
|
evidence?: {
|
|
3086
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3085
3087
|
id: string;
|
|
3086
3088
|
label: string;
|
|
3087
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3088
3089
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3089
3090
|
locator?: string | undefined;
|
|
3090
3091
|
}[] | undefined;
|
|
@@ -3097,37 +3098,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3097
3098
|
decisionId: string;
|
|
3098
3099
|
confidence?: number | undefined;
|
|
3099
3100
|
evidence?: {
|
|
3101
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3100
3102
|
id: string;
|
|
3101
3103
|
label: string;
|
|
3102
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3103
3104
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3104
3105
|
locator?: string | undefined;
|
|
3105
3106
|
}[] | undefined;
|
|
3106
3107
|
} | {
|
|
3107
|
-
summary: string;
|
|
3108
3108
|
kind: "conflict_detected";
|
|
3109
|
+
summary: string;
|
|
3109
3110
|
conflictId: string;
|
|
3110
3111
|
decisionIds: string[];
|
|
3111
3112
|
agentIds: string[];
|
|
3112
3113
|
evidence?: {
|
|
3114
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3113
3115
|
id: string;
|
|
3114
3116
|
label: string;
|
|
3115
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3116
3117
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3117
3118
|
locator?: string | undefined;
|
|
3118
3119
|
}[] | undefined;
|
|
3119
3120
|
} | {
|
|
3120
|
-
summary: string;
|
|
3121
|
-
status: "error" | "failed" | "passed";
|
|
3122
3121
|
kind: "test_result";
|
|
3122
|
+
summary: string;
|
|
3123
3123
|
command: string;
|
|
3124
|
+
status: "error" | "failed" | "passed";
|
|
3124
3125
|
decisionId: string;
|
|
3125
3126
|
testId: string;
|
|
3126
3127
|
durationMs?: number | undefined;
|
|
3127
3128
|
evidence?: {
|
|
3129
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3128
3130
|
id: string;
|
|
3129
3131
|
label: string;
|
|
3130
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3131
3132
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3132
3133
|
locator?: string | undefined;
|
|
3133
3134
|
}[] | undefined;
|
|
@@ -3142,9 +3143,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3142
3143
|
supersedesDecisionIds: string[];
|
|
3143
3144
|
proposedBy: string;
|
|
3144
3145
|
evidence?: {
|
|
3146
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3145
3147
|
id: string;
|
|
3146
3148
|
label: string;
|
|
3147
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3148
3149
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3149
3150
|
locator?: string | undefined;
|
|
3150
3151
|
}[] | undefined;
|
|
@@ -3152,15 +3153,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3152
3153
|
kind: "correction_approved";
|
|
3153
3154
|
correctionId: string;
|
|
3154
3155
|
approvedBy: {
|
|
3156
|
+
kind: "agent" | "human";
|
|
3155
3157
|
id: string;
|
|
3156
3158
|
label: string;
|
|
3157
|
-
kind: "agent" | "human";
|
|
3158
3159
|
};
|
|
3159
3160
|
note?: string | undefined;
|
|
3160
3161
|
evidence?: {
|
|
3162
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3161
3163
|
id: string;
|
|
3162
3164
|
label: string;
|
|
3163
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3164
3165
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3165
3166
|
locator?: string | undefined;
|
|
3166
3167
|
}[] | undefined;
|
|
@@ -3170,9 +3171,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3170
3171
|
correctionId: string;
|
|
3171
3172
|
replacementDecisionId: string;
|
|
3172
3173
|
evidence?: {
|
|
3174
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3173
3175
|
id: string;
|
|
3174
3176
|
label: string;
|
|
3175
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3176
3177
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3177
3178
|
locator?: string | undefined;
|
|
3178
3179
|
}[] | undefined;
|
|
@@ -3185,9 +3186,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3185
3186
|
recallReceiptId: string;
|
|
3186
3187
|
capturedAtAction: boolean;
|
|
3187
3188
|
evidence?: {
|
|
3189
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3188
3190
|
id: string;
|
|
3189
3191
|
label: string;
|
|
3190
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3191
3192
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3192
3193
|
locator?: string | undefined;
|
|
3193
3194
|
}[] | undefined;
|
|
@@ -3200,20 +3201,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3200
3201
|
recallReceiptId: string;
|
|
3201
3202
|
staleDecisionAbsent: boolean;
|
|
3202
3203
|
evidence?: {
|
|
3204
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3203
3205
|
id: string;
|
|
3204
3206
|
label: string;
|
|
3205
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3206
3207
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3207
3208
|
locator?: string | undefined;
|
|
3208
3209
|
}[] | undefined;
|
|
3209
3210
|
} | {
|
|
3210
|
-
summary: string;
|
|
3211
3211
|
kind: "mission_completed";
|
|
3212
|
+
summary: string;
|
|
3212
3213
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3213
3214
|
evidence?: {
|
|
3215
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3214
3216
|
id: string;
|
|
3215
3217
|
label: string;
|
|
3216
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3217
3218
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3218
3219
|
locator?: string | undefined;
|
|
3219
3220
|
}[] | undefined;
|
|
@@ -3243,15 +3244,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3243
3244
|
locator: z.ZodOptional<z.ZodString>;
|
|
3244
3245
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3245
3246
|
}, "strict", z.ZodTypeAny, {
|
|
3247
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3246
3248
|
id: string;
|
|
3247
3249
|
label: string;
|
|
3248
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3249
3250
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3250
3251
|
locator?: string | undefined;
|
|
3251
3252
|
}, {
|
|
3253
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3252
3254
|
id: string;
|
|
3253
3255
|
label: string;
|
|
3254
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3255
3256
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3256
3257
|
locator?: string | undefined;
|
|
3257
3258
|
}>, "many">>;
|
|
@@ -3259,9 +3260,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3259
3260
|
kind: "mission_started";
|
|
3260
3261
|
title: string;
|
|
3261
3262
|
evidence: {
|
|
3263
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3262
3264
|
id: string;
|
|
3263
3265
|
label: string;
|
|
3264
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3265
3266
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3266
3267
|
locator?: string | undefined;
|
|
3267
3268
|
}[];
|
|
@@ -3273,9 +3274,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3273
3274
|
objective: string;
|
|
3274
3275
|
runMode: "replay" | "fixture" | "live";
|
|
3275
3276
|
evidence?: {
|
|
3277
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3276
3278
|
id: string;
|
|
3277
3279
|
label: string;
|
|
3278
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3279
3280
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3280
3281
|
locator?: string | undefined;
|
|
3281
3282
|
}[] | undefined;
|
|
@@ -3291,15 +3292,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3291
3292
|
locator: z.ZodOptional<z.ZodString>;
|
|
3292
3293
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3293
3294
|
}, "strict", z.ZodTypeAny, {
|
|
3295
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3294
3296
|
id: string;
|
|
3295
3297
|
label: string;
|
|
3296
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3297
3298
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3298
3299
|
locator?: string | undefined;
|
|
3299
3300
|
}, {
|
|
3301
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3300
3302
|
id: string;
|
|
3301
3303
|
label: string;
|
|
3302
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3303
3304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3304
3305
|
locator?: string | undefined;
|
|
3305
3306
|
}>, "many">>;
|
|
@@ -3307,32 +3308,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3307
3308
|
sessionId: z.ZodString;
|
|
3308
3309
|
kind: z.ZodLiteral<"agent_status">;
|
|
3309
3310
|
}, "strict", z.ZodTypeAny, {
|
|
3310
|
-
label: string;
|
|
3311
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3312
3311
|
kind: "agent_status";
|
|
3313
3312
|
role: string;
|
|
3313
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3314
|
+
label: string;
|
|
3314
3315
|
agentId: string;
|
|
3315
3316
|
sessionId: string;
|
|
3316
3317
|
evidence: {
|
|
3318
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3317
3319
|
id: string;
|
|
3318
3320
|
label: string;
|
|
3319
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3320
3321
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3321
3322
|
locator?: string | undefined;
|
|
3322
3323
|
}[];
|
|
3323
3324
|
detail?: string | undefined;
|
|
3324
3325
|
}, {
|
|
3325
|
-
label: string;
|
|
3326
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3327
3326
|
kind: "agent_status";
|
|
3328
3327
|
role: string;
|
|
3328
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3329
|
+
label: string;
|
|
3329
3330
|
agentId: string;
|
|
3330
3331
|
sessionId: string;
|
|
3331
3332
|
detail?: string | undefined;
|
|
3332
3333
|
evidence?: {
|
|
3334
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3333
3335
|
id: string;
|
|
3334
3336
|
label: string;
|
|
3335
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3336
3337
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3337
3338
|
locator?: string | undefined;
|
|
3338
3339
|
}[] | undefined;
|
|
@@ -3346,15 +3347,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3346
3347
|
locator: z.ZodOptional<z.ZodString>;
|
|
3347
3348
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3348
3349
|
}, "strict", z.ZodTypeAny, {
|
|
3350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3349
3351
|
id: string;
|
|
3350
3352
|
label: string;
|
|
3351
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3352
3353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3353
3354
|
locator?: string | undefined;
|
|
3354
3355
|
}, {
|
|
3356
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3355
3357
|
id: string;
|
|
3356
3358
|
label: string;
|
|
3357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3358
3359
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3359
3360
|
locator?: string | undefined;
|
|
3360
3361
|
}>, "many">>;
|
|
@@ -3362,28 +3363,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3362
3363
|
sessionId: z.ZodString;
|
|
3363
3364
|
kind: z.ZodLiteral<"agent_output">;
|
|
3364
3365
|
}, "strict", z.ZodTypeAny, {
|
|
3365
|
-
summary: string;
|
|
3366
3366
|
kind: "agent_output";
|
|
3367
|
+
summary: string;
|
|
3367
3368
|
agentId: string;
|
|
3368
3369
|
sessionId: string;
|
|
3369
3370
|
evidence: {
|
|
3371
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3370
3372
|
id: string;
|
|
3371
3373
|
label: string;
|
|
3372
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3373
3374
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3374
3375
|
locator?: string | undefined;
|
|
3375
3376
|
}[];
|
|
3376
3377
|
outputId: string;
|
|
3377
3378
|
}, {
|
|
3378
|
-
summary: string;
|
|
3379
3379
|
kind: "agent_output";
|
|
3380
|
+
summary: string;
|
|
3380
3381
|
agentId: string;
|
|
3381
3382
|
sessionId: string;
|
|
3382
3383
|
outputId: string;
|
|
3383
3384
|
evidence?: {
|
|
3385
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3384
3386
|
id: string;
|
|
3385
3387
|
label: string;
|
|
3386
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3387
3388
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3388
3389
|
locator?: string | undefined;
|
|
3389
3390
|
}[] | undefined;
|
|
@@ -3399,15 +3400,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3399
3400
|
locator: z.ZodOptional<z.ZodString>;
|
|
3400
3401
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3401
3402
|
}, "strict", z.ZodTypeAny, {
|
|
3403
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3402
3404
|
id: string;
|
|
3403
3405
|
label: string;
|
|
3404
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3405
3406
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3406
3407
|
locator?: string | undefined;
|
|
3407
3408
|
}, {
|
|
3409
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3408
3410
|
id: string;
|
|
3409
3411
|
label: string;
|
|
3410
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3411
3412
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3412
3413
|
locator?: string | undefined;
|
|
3413
3414
|
}>, "many">>;
|
|
@@ -3420,9 +3421,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3420
3421
|
statement: string;
|
|
3421
3422
|
sessionId: string;
|
|
3422
3423
|
evidence: {
|
|
3424
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3423
3425
|
id: string;
|
|
3424
3426
|
label: string;
|
|
3425
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3426
3427
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3427
3428
|
locator?: string | undefined;
|
|
3428
3429
|
}[];
|
|
@@ -3438,9 +3439,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3438
3439
|
decisionId: string;
|
|
3439
3440
|
confidence?: number | undefined;
|
|
3440
3441
|
evidence?: {
|
|
3442
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3441
3443
|
id: string;
|
|
3442
3444
|
label: string;
|
|
3443
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3444
3445
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3445
3446
|
locator?: string | undefined;
|
|
3446
3447
|
}[] | undefined;
|
|
@@ -3457,25 +3458,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3457
3458
|
locator: z.ZodOptional<z.ZodString>;
|
|
3458
3459
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3459
3460
|
}, "strict", z.ZodTypeAny, {
|
|
3461
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3460
3462
|
id: string;
|
|
3461
3463
|
label: string;
|
|
3462
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3463
3464
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3464
3465
|
locator?: string | undefined;
|
|
3465
3466
|
}, {
|
|
3467
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3466
3468
|
id: string;
|
|
3467
3469
|
label: string;
|
|
3468
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3469
3470
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3470
3471
|
locator?: string | undefined;
|
|
3471
3472
|
}>, "many">>;
|
|
3472
3473
|
}, "strict", z.ZodTypeAny, {
|
|
3473
|
-
summary: string;
|
|
3474
3474
|
kind: "conflict_detected";
|
|
3475
|
+
summary: string;
|
|
3475
3476
|
evidence: {
|
|
3477
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3476
3478
|
id: string;
|
|
3477
3479
|
label: string;
|
|
3478
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3479
3480
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3480
3481
|
locator?: string | undefined;
|
|
3481
3482
|
}[];
|
|
@@ -3483,15 +3484,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3483
3484
|
decisionIds: string[];
|
|
3484
3485
|
agentIds: string[];
|
|
3485
3486
|
}, {
|
|
3486
|
-
summary: string;
|
|
3487
3487
|
kind: "conflict_detected";
|
|
3488
|
+
summary: string;
|
|
3488
3489
|
conflictId: string;
|
|
3489
3490
|
decisionIds: string[];
|
|
3490
3491
|
agentIds: string[];
|
|
3491
3492
|
evidence?: {
|
|
3493
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3492
3494
|
id: string;
|
|
3493
3495
|
label: string;
|
|
3494
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3495
3496
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3496
3497
|
locator?: string | undefined;
|
|
3497
3498
|
}[] | undefined;
|
|
@@ -3511,27 +3512,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3511
3512
|
locator: z.ZodOptional<z.ZodString>;
|
|
3512
3513
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3513
3514
|
}, "strict", z.ZodTypeAny, {
|
|
3515
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3514
3516
|
id: string;
|
|
3515
3517
|
label: string;
|
|
3516
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3517
3518
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3518
3519
|
locator?: string | undefined;
|
|
3519
3520
|
}, {
|
|
3521
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3520
3522
|
id: string;
|
|
3521
3523
|
label: string;
|
|
3522
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3523
3524
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3524
3525
|
locator?: string | undefined;
|
|
3525
3526
|
}>, "many">>;
|
|
3526
3527
|
}, "strict", z.ZodTypeAny, {
|
|
3527
|
-
summary: string;
|
|
3528
|
-
status: "error" | "failed" | "passed";
|
|
3529
3528
|
kind: "test_result";
|
|
3529
|
+
summary: string;
|
|
3530
3530
|
command: string;
|
|
3531
|
+
status: "error" | "failed" | "passed";
|
|
3531
3532
|
evidence: {
|
|
3533
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3532
3534
|
id: string;
|
|
3533
3535
|
label: string;
|
|
3534
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3535
3536
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3536
3537
|
locator?: string | undefined;
|
|
3537
3538
|
}[];
|
|
@@ -3540,17 +3541,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3540
3541
|
durationMs?: number | undefined;
|
|
3541
3542
|
correctionId?: string | undefined;
|
|
3542
3543
|
}, {
|
|
3543
|
-
summary: string;
|
|
3544
|
-
status: "error" | "failed" | "passed";
|
|
3545
3544
|
kind: "test_result";
|
|
3545
|
+
summary: string;
|
|
3546
3546
|
command: string;
|
|
3547
|
+
status: "error" | "failed" | "passed";
|
|
3547
3548
|
decisionId: string;
|
|
3548
3549
|
testId: string;
|
|
3549
3550
|
durationMs?: number | undefined;
|
|
3550
3551
|
evidence?: {
|
|
3552
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3551
3553
|
id: string;
|
|
3552
3554
|
label: string;
|
|
3553
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3554
3555
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3555
3556
|
locator?: string | undefined;
|
|
3556
3557
|
}[] | undefined;
|
|
@@ -3571,15 +3572,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3571
3572
|
locator: z.ZodOptional<z.ZodString>;
|
|
3572
3573
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3573
3574
|
}, "strict", z.ZodTypeAny, {
|
|
3575
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3574
3576
|
id: string;
|
|
3575
3577
|
label: string;
|
|
3576
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3577
3578
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3578
3579
|
locator?: string | undefined;
|
|
3579
3580
|
}, {
|
|
3581
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3580
3582
|
id: string;
|
|
3581
3583
|
label: string;
|
|
3582
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3583
3584
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3584
3585
|
locator?: string | undefined;
|
|
3585
3586
|
}>, "many">>;
|
|
@@ -3588,9 +3589,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3588
3589
|
rationale: string;
|
|
3589
3590
|
statement: string;
|
|
3590
3591
|
evidence: {
|
|
3592
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3591
3593
|
id: string;
|
|
3592
3594
|
label: string;
|
|
3593
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3594
3595
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3595
3596
|
locator?: string | undefined;
|
|
3596
3597
|
}[];
|
|
@@ -3609,9 +3610,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3609
3610
|
supersedesDecisionIds: string[];
|
|
3610
3611
|
proposedBy: string;
|
|
3611
3612
|
evidence?: {
|
|
3613
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3612
3614
|
id: string;
|
|
3613
3615
|
label: string;
|
|
3614
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3615
3616
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3616
3617
|
locator?: string | undefined;
|
|
3617
3618
|
}[] | undefined;
|
|
@@ -3623,13 +3624,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3623
3624
|
id: z.ZodString;
|
|
3624
3625
|
label: z.ZodString;
|
|
3625
3626
|
}, "strict", z.ZodTypeAny, {
|
|
3627
|
+
kind: "agent" | "human";
|
|
3626
3628
|
id: string;
|
|
3627
3629
|
label: string;
|
|
3628
|
-
kind: "agent" | "human";
|
|
3629
3630
|
}, {
|
|
3631
|
+
kind: "agent" | "human";
|
|
3630
3632
|
id: string;
|
|
3631
3633
|
label: string;
|
|
3632
|
-
kind: "agent" | "human";
|
|
3633
3634
|
}>;
|
|
3634
3635
|
note: z.ZodOptional<z.ZodString>;
|
|
3635
3636
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3639,47 +3640,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3639
3640
|
locator: z.ZodOptional<z.ZodString>;
|
|
3640
3641
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3641
3642
|
}, "strict", z.ZodTypeAny, {
|
|
3643
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3642
3644
|
id: string;
|
|
3643
3645
|
label: string;
|
|
3644
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3645
3646
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3646
3647
|
locator?: string | undefined;
|
|
3647
3648
|
}, {
|
|
3649
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3648
3650
|
id: string;
|
|
3649
3651
|
label: string;
|
|
3650
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3651
3652
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3652
3653
|
locator?: string | undefined;
|
|
3653
3654
|
}>, "many">>;
|
|
3654
3655
|
}, "strict", z.ZodTypeAny, {
|
|
3655
3656
|
kind: "correction_approved";
|
|
3656
3657
|
evidence: {
|
|
3658
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3657
3659
|
id: string;
|
|
3658
3660
|
label: string;
|
|
3659
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3660
3661
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3661
3662
|
locator?: string | undefined;
|
|
3662
3663
|
}[];
|
|
3663
3664
|
correctionId: string;
|
|
3664
3665
|
approvedBy: {
|
|
3666
|
+
kind: "agent" | "human";
|
|
3665
3667
|
id: string;
|
|
3666
3668
|
label: string;
|
|
3667
|
-
kind: "agent" | "human";
|
|
3668
3669
|
};
|
|
3669
3670
|
note?: string | undefined;
|
|
3670
3671
|
}, {
|
|
3671
3672
|
kind: "correction_approved";
|
|
3672
3673
|
correctionId: string;
|
|
3673
3674
|
approvedBy: {
|
|
3675
|
+
kind: "agent" | "human";
|
|
3674
3676
|
id: string;
|
|
3675
3677
|
label: string;
|
|
3676
|
-
kind: "agent" | "human";
|
|
3677
3678
|
};
|
|
3678
3679
|
note?: string | undefined;
|
|
3679
3680
|
evidence?: {
|
|
3681
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3680
3682
|
id: string;
|
|
3681
3683
|
label: string;
|
|
3682
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3683
3684
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3684
3685
|
locator?: string | undefined;
|
|
3685
3686
|
}[] | undefined;
|
|
@@ -3695,24 +3696,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3695
3696
|
locator: z.ZodOptional<z.ZodString>;
|
|
3696
3697
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3697
3698
|
}, "strict", z.ZodTypeAny, {
|
|
3699
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3698
3700
|
id: string;
|
|
3699
3701
|
label: string;
|
|
3700
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3701
3702
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3702
3703
|
locator?: string | undefined;
|
|
3703
3704
|
}, {
|
|
3705
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3704
3706
|
id: string;
|
|
3705
3707
|
label: string;
|
|
3706
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3707
3708
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3708
3709
|
locator?: string | undefined;
|
|
3709
3710
|
}>, "many">>;
|
|
3710
3711
|
}, "strict", z.ZodTypeAny, {
|
|
3711
3712
|
kind: "decision_superseded";
|
|
3712
3713
|
evidence: {
|
|
3714
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3713
3715
|
id: string;
|
|
3714
3716
|
label: string;
|
|
3715
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3716
3717
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3717
3718
|
locator?: string | undefined;
|
|
3718
3719
|
}[];
|
|
@@ -3725,9 +3726,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3725
3726
|
correctionId: string;
|
|
3726
3727
|
replacementDecisionId: string;
|
|
3727
3728
|
evidence?: {
|
|
3729
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3728
3730
|
id: string;
|
|
3729
3731
|
label: string;
|
|
3730
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3731
3732
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3732
3733
|
locator?: string | undefined;
|
|
3733
3734
|
}[] | undefined;
|
|
@@ -3743,15 +3744,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3743
3744
|
locator: z.ZodOptional<z.ZodString>;
|
|
3744
3745
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3745
3746
|
}, "strict", z.ZodTypeAny, {
|
|
3747
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3746
3748
|
id: string;
|
|
3747
3749
|
label: string;
|
|
3748
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3749
3750
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3750
3751
|
locator?: string | undefined;
|
|
3751
3752
|
}, {
|
|
3753
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3752
3754
|
id: string;
|
|
3753
3755
|
label: string;
|
|
3754
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3755
3756
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3756
3757
|
locator?: string | undefined;
|
|
3757
3758
|
}>, "many">>;
|
|
@@ -3764,9 +3765,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3764
3765
|
agentId: string;
|
|
3765
3766
|
sessionId: string;
|
|
3766
3767
|
evidence: {
|
|
3768
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3767
3769
|
id: string;
|
|
3768
3770
|
label: string;
|
|
3769
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3770
3771
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3771
3772
|
locator?: string | undefined;
|
|
3772
3773
|
}[];
|
|
@@ -3782,9 +3783,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3782
3783
|
recallReceiptId: string;
|
|
3783
3784
|
capturedAtAction: boolean;
|
|
3784
3785
|
evidence?: {
|
|
3786
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3785
3787
|
id: string;
|
|
3786
3788
|
label: string;
|
|
3787
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3788
3789
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3789
3790
|
locator?: string | undefined;
|
|
3790
3791
|
}[] | undefined;
|
|
@@ -3800,15 +3801,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3800
3801
|
locator: z.ZodOptional<z.ZodString>;
|
|
3801
3802
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3802
3803
|
}, "strict", z.ZodTypeAny, {
|
|
3804
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3803
3805
|
id: string;
|
|
3804
3806
|
label: string;
|
|
3805
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3806
3807
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3807
3808
|
locator?: string | undefined;
|
|
3808
3809
|
}, {
|
|
3810
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3809
3811
|
id: string;
|
|
3810
3812
|
label: string;
|
|
3811
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3812
3813
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3813
3814
|
locator?: string | undefined;
|
|
3814
3815
|
}>, "many">>;
|
|
@@ -3820,9 +3821,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3820
3821
|
agentId: string;
|
|
3821
3822
|
sessionId: string;
|
|
3822
3823
|
evidence: {
|
|
3824
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3823
3825
|
id: string;
|
|
3824
3826
|
label: string;
|
|
3825
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3826
3827
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3827
3828
|
locator?: string | undefined;
|
|
3828
3829
|
}[];
|
|
@@ -3839,9 +3840,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3839
3840
|
recallReceiptId: string;
|
|
3840
3841
|
staleDecisionAbsent: boolean;
|
|
3841
3842
|
evidence?: {
|
|
3843
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3842
3844
|
id: string;
|
|
3843
3845
|
label: string;
|
|
3844
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3845
3846
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3846
3847
|
locator?: string | undefined;
|
|
3847
3848
|
}[] | undefined;
|
|
@@ -3856,37 +3857,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3856
3857
|
locator: z.ZodOptional<z.ZodString>;
|
|
3857
3858
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3858
3859
|
}, "strict", z.ZodTypeAny, {
|
|
3860
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3859
3861
|
id: string;
|
|
3860
3862
|
label: string;
|
|
3861
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3862
3863
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3863
3864
|
locator?: string | undefined;
|
|
3864
3865
|
}, {
|
|
3866
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3865
3867
|
id: string;
|
|
3866
3868
|
label: string;
|
|
3867
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3868
3869
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3869
3870
|
locator?: string | undefined;
|
|
3870
3871
|
}>, "many">>;
|
|
3871
3872
|
}, "strict", z.ZodTypeAny, {
|
|
3872
|
-
summary: string;
|
|
3873
3873
|
kind: "mission_completed";
|
|
3874
|
+
summary: string;
|
|
3874
3875
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3875
3876
|
evidence: {
|
|
3877
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3876
3878
|
id: string;
|
|
3877
3879
|
label: string;
|
|
3878
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3879
3880
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3880
3881
|
locator?: string | undefined;
|
|
3881
3882
|
}[];
|
|
3882
3883
|
}, {
|
|
3883
|
-
summary: string;
|
|
3884
3884
|
kind: "mission_completed";
|
|
3885
|
+
summary: string;
|
|
3885
3886
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3886
3887
|
evidence?: {
|
|
3888
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3887
3889
|
id: string;
|
|
3888
3890
|
label: string;
|
|
3889
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3890
3891
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3891
3892
|
locator?: string | undefined;
|
|
3892
3893
|
}[] | undefined;
|
|
@@ -3894,38 +3895,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3894
3895
|
kind: "mission_started";
|
|
3895
3896
|
title: string;
|
|
3896
3897
|
evidence: {
|
|
3898
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3897
3899
|
id: string;
|
|
3898
3900
|
label: string;
|
|
3899
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3900
3901
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3901
3902
|
locator?: string | undefined;
|
|
3902
3903
|
}[];
|
|
3903
3904
|
objective: string;
|
|
3904
3905
|
runMode: "replay" | "fixture" | "live";
|
|
3905
3906
|
} | {
|
|
3906
|
-
label: string;
|
|
3907
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3908
3907
|
kind: "agent_status";
|
|
3909
3908
|
role: string;
|
|
3909
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3910
|
+
label: string;
|
|
3910
3911
|
agentId: string;
|
|
3911
3912
|
sessionId: string;
|
|
3912
3913
|
evidence: {
|
|
3914
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3913
3915
|
id: string;
|
|
3914
3916
|
label: string;
|
|
3915
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3916
3917
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3917
3918
|
locator?: string | undefined;
|
|
3918
3919
|
}[];
|
|
3919
3920
|
detail?: string | undefined;
|
|
3920
3921
|
} | {
|
|
3921
|
-
summary: string;
|
|
3922
3922
|
kind: "agent_output";
|
|
3923
|
+
summary: string;
|
|
3923
3924
|
agentId: string;
|
|
3924
3925
|
sessionId: string;
|
|
3925
3926
|
evidence: {
|
|
3927
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3926
3928
|
id: string;
|
|
3927
3929
|
label: string;
|
|
3928
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3929
3930
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3930
3931
|
locator?: string | undefined;
|
|
3931
3932
|
}[];
|
|
@@ -3936,9 +3937,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3936
3937
|
statement: string;
|
|
3937
3938
|
sessionId: string;
|
|
3938
3939
|
evidence: {
|
|
3940
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3939
3941
|
id: string;
|
|
3940
3942
|
label: string;
|
|
3941
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3942
3943
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3943
3944
|
locator?: string | undefined;
|
|
3944
3945
|
}[];
|
|
@@ -3946,12 +3947,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3946
3947
|
decisionId: string;
|
|
3947
3948
|
confidence?: number | undefined;
|
|
3948
3949
|
} | {
|
|
3949
|
-
summary: string;
|
|
3950
3950
|
kind: "conflict_detected";
|
|
3951
|
+
summary: string;
|
|
3951
3952
|
evidence: {
|
|
3953
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3952
3954
|
id: string;
|
|
3953
3955
|
label: string;
|
|
3954
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3955
3956
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3956
3957
|
locator?: string | undefined;
|
|
3957
3958
|
}[];
|
|
@@ -3959,14 +3960,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3959
3960
|
decisionIds: string[];
|
|
3960
3961
|
agentIds: string[];
|
|
3961
3962
|
} | {
|
|
3962
|
-
summary: string;
|
|
3963
|
-
status: "error" | "failed" | "passed";
|
|
3964
3963
|
kind: "test_result";
|
|
3964
|
+
summary: string;
|
|
3965
3965
|
command: string;
|
|
3966
|
+
status: "error" | "failed" | "passed";
|
|
3966
3967
|
evidence: {
|
|
3968
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3967
3969
|
id: string;
|
|
3968
3970
|
label: string;
|
|
3969
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3970
3971
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3971
3972
|
locator?: string | undefined;
|
|
3972
3973
|
}[];
|
|
@@ -3979,9 +3980,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3979
3980
|
rationale: string;
|
|
3980
3981
|
statement: string;
|
|
3981
3982
|
evidence: {
|
|
3983
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3982
3984
|
id: string;
|
|
3983
3985
|
label: string;
|
|
3984
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3985
3986
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3986
3987
|
locator?: string | undefined;
|
|
3987
3988
|
}[];
|
|
@@ -3993,25 +3994,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3993
3994
|
} | {
|
|
3994
3995
|
kind: "correction_approved";
|
|
3995
3996
|
evidence: {
|
|
3997
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3996
3998
|
id: string;
|
|
3997
3999
|
label: string;
|
|
3998
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3999
4000
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4000
4001
|
locator?: string | undefined;
|
|
4001
4002
|
}[];
|
|
4002
4003
|
correctionId: string;
|
|
4003
4004
|
approvedBy: {
|
|
4005
|
+
kind: "agent" | "human";
|
|
4004
4006
|
id: string;
|
|
4005
4007
|
label: string;
|
|
4006
|
-
kind: "agent" | "human";
|
|
4007
4008
|
};
|
|
4008
4009
|
note?: string | undefined;
|
|
4009
4010
|
} | {
|
|
4010
4011
|
kind: "decision_superseded";
|
|
4011
4012
|
evidence: {
|
|
4013
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4012
4014
|
id: string;
|
|
4013
4015
|
label: string;
|
|
4014
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4015
4016
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4016
4017
|
locator?: string | undefined;
|
|
4017
4018
|
}[];
|
|
@@ -4024,9 +4025,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4024
4025
|
agentId: string;
|
|
4025
4026
|
sessionId: string;
|
|
4026
4027
|
evidence: {
|
|
4028
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4027
4029
|
id: string;
|
|
4028
4030
|
label: string;
|
|
4029
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4030
4031
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4031
4032
|
locator?: string | undefined;
|
|
4032
4033
|
}[];
|
|
@@ -4038,9 +4039,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4038
4039
|
agentId: string;
|
|
4039
4040
|
sessionId: string;
|
|
4040
4041
|
evidence: {
|
|
4042
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4041
4043
|
id: string;
|
|
4042
4044
|
label: string;
|
|
4043
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4044
4045
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4045
4046
|
locator?: string | undefined;
|
|
4046
4047
|
}[];
|
|
@@ -4049,13 +4050,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4049
4050
|
recallReceiptId: string;
|
|
4050
4051
|
staleDecisionAbsent: boolean;
|
|
4051
4052
|
} | {
|
|
4052
|
-
summary: string;
|
|
4053
4053
|
kind: "mission_completed";
|
|
4054
|
+
summary: string;
|
|
4054
4055
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4055
4056
|
evidence: {
|
|
4057
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4056
4058
|
id: string;
|
|
4057
4059
|
label: string;
|
|
4058
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4059
4060
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4060
4061
|
locator?: string | undefined;
|
|
4061
4062
|
}[];
|
|
@@ -4065,37 +4066,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4065
4066
|
objective: string;
|
|
4066
4067
|
runMode: "replay" | "fixture" | "live";
|
|
4067
4068
|
evidence?: {
|
|
4069
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4068
4070
|
id: string;
|
|
4069
4071
|
label: string;
|
|
4070
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4071
4072
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4072
4073
|
locator?: string | undefined;
|
|
4073
4074
|
}[] | undefined;
|
|
4074
4075
|
} | {
|
|
4075
|
-
label: string;
|
|
4076
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4077
4076
|
kind: "agent_status";
|
|
4078
4077
|
role: string;
|
|
4078
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4079
|
+
label: string;
|
|
4079
4080
|
agentId: string;
|
|
4080
4081
|
sessionId: string;
|
|
4081
4082
|
detail?: string | undefined;
|
|
4082
4083
|
evidence?: {
|
|
4084
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4083
4085
|
id: string;
|
|
4084
4086
|
label: string;
|
|
4085
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4086
4087
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4087
4088
|
locator?: string | undefined;
|
|
4088
4089
|
}[] | undefined;
|
|
4089
4090
|
} | {
|
|
4090
|
-
summary: string;
|
|
4091
4091
|
kind: "agent_output";
|
|
4092
|
+
summary: string;
|
|
4092
4093
|
agentId: string;
|
|
4093
4094
|
sessionId: string;
|
|
4094
4095
|
outputId: string;
|
|
4095
4096
|
evidence?: {
|
|
4097
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4096
4098
|
id: string;
|
|
4097
4099
|
label: string;
|
|
4098
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4099
4100
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4100
4101
|
locator?: string | undefined;
|
|
4101
4102
|
}[] | undefined;
|
|
@@ -4108,37 +4109,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4108
4109
|
decisionId: string;
|
|
4109
4110
|
confidence?: number | undefined;
|
|
4110
4111
|
evidence?: {
|
|
4112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4111
4113
|
id: string;
|
|
4112
4114
|
label: string;
|
|
4113
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4114
4115
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4115
4116
|
locator?: string | undefined;
|
|
4116
4117
|
}[] | undefined;
|
|
4117
4118
|
} | {
|
|
4118
|
-
summary: string;
|
|
4119
4119
|
kind: "conflict_detected";
|
|
4120
|
+
summary: string;
|
|
4120
4121
|
conflictId: string;
|
|
4121
4122
|
decisionIds: string[];
|
|
4122
4123
|
agentIds: string[];
|
|
4123
4124
|
evidence?: {
|
|
4125
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4124
4126
|
id: string;
|
|
4125
4127
|
label: string;
|
|
4126
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4127
4128
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4128
4129
|
locator?: string | undefined;
|
|
4129
4130
|
}[] | undefined;
|
|
4130
4131
|
} | {
|
|
4131
|
-
summary: string;
|
|
4132
|
-
status: "error" | "failed" | "passed";
|
|
4133
4132
|
kind: "test_result";
|
|
4133
|
+
summary: string;
|
|
4134
4134
|
command: string;
|
|
4135
|
+
status: "error" | "failed" | "passed";
|
|
4135
4136
|
decisionId: string;
|
|
4136
4137
|
testId: string;
|
|
4137
4138
|
durationMs?: number | undefined;
|
|
4138
4139
|
evidence?: {
|
|
4140
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4139
4141
|
id: string;
|
|
4140
4142
|
label: string;
|
|
4141
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4142
4143
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4143
4144
|
locator?: string | undefined;
|
|
4144
4145
|
}[] | undefined;
|
|
@@ -4153,9 +4154,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4153
4154
|
supersedesDecisionIds: string[];
|
|
4154
4155
|
proposedBy: string;
|
|
4155
4156
|
evidence?: {
|
|
4157
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4156
4158
|
id: string;
|
|
4157
4159
|
label: string;
|
|
4158
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4159
4160
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4160
4161
|
locator?: string | undefined;
|
|
4161
4162
|
}[] | undefined;
|
|
@@ -4163,15 +4164,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4163
4164
|
kind: "correction_approved";
|
|
4164
4165
|
correctionId: string;
|
|
4165
4166
|
approvedBy: {
|
|
4167
|
+
kind: "agent" | "human";
|
|
4166
4168
|
id: string;
|
|
4167
4169
|
label: string;
|
|
4168
|
-
kind: "agent" | "human";
|
|
4169
4170
|
};
|
|
4170
4171
|
note?: string | undefined;
|
|
4171
4172
|
evidence?: {
|
|
4173
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4172
4174
|
id: string;
|
|
4173
4175
|
label: string;
|
|
4174
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4175
4176
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4176
4177
|
locator?: string | undefined;
|
|
4177
4178
|
}[] | undefined;
|
|
@@ -4181,9 +4182,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4181
4182
|
correctionId: string;
|
|
4182
4183
|
replacementDecisionId: string;
|
|
4183
4184
|
evidence?: {
|
|
4185
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4184
4186
|
id: string;
|
|
4185
4187
|
label: string;
|
|
4186
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4187
4188
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4188
4189
|
locator?: string | undefined;
|
|
4189
4190
|
}[] | undefined;
|
|
@@ -4196,9 +4197,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4196
4197
|
recallReceiptId: string;
|
|
4197
4198
|
capturedAtAction: boolean;
|
|
4198
4199
|
evidence?: {
|
|
4200
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4199
4201
|
id: string;
|
|
4200
4202
|
label: string;
|
|
4201
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4202
4203
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4203
4204
|
locator?: string | undefined;
|
|
4204
4205
|
}[] | undefined;
|
|
@@ -4211,64 +4212,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4211
4212
|
recallReceiptId: string;
|
|
4212
4213
|
staleDecisionAbsent: boolean;
|
|
4213
4214
|
evidence?: {
|
|
4215
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4214
4216
|
id: string;
|
|
4215
4217
|
label: string;
|
|
4216
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4217
4218
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4218
4219
|
locator?: string | undefined;
|
|
4219
4220
|
}[] | undefined;
|
|
4220
4221
|
} | {
|
|
4221
|
-
summary: string;
|
|
4222
4222
|
kind: "mission_completed";
|
|
4223
|
+
summary: string;
|
|
4223
4224
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4224
4225
|
evidence?: {
|
|
4226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4225
4227
|
id: string;
|
|
4226
4228
|
label: string;
|
|
4227
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4228
4229
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4229
4230
|
locator?: string | undefined;
|
|
4230
4231
|
}[] | undefined;
|
|
4231
4232
|
}>;
|
|
4232
4233
|
}, "strict", z.ZodTypeAny, {
|
|
4233
|
-
namespace: string;
|
|
4234
4234
|
recordedAt: string;
|
|
4235
4235
|
schemaVersion: "1";
|
|
4236
4236
|
payload: {
|
|
4237
4237
|
kind: "mission_started";
|
|
4238
4238
|
title: string;
|
|
4239
4239
|
evidence: {
|
|
4240
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4240
4241
|
id: string;
|
|
4241
4242
|
label: string;
|
|
4242
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4243
4243
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4244
4244
|
locator?: string | undefined;
|
|
4245
4245
|
}[];
|
|
4246
4246
|
objective: string;
|
|
4247
4247
|
runMode: "replay" | "fixture" | "live";
|
|
4248
4248
|
} | {
|
|
4249
|
-
label: string;
|
|
4250
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4251
4249
|
kind: "agent_status";
|
|
4252
4250
|
role: string;
|
|
4251
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4252
|
+
label: string;
|
|
4253
4253
|
agentId: string;
|
|
4254
4254
|
sessionId: string;
|
|
4255
4255
|
evidence: {
|
|
4256
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4256
4257
|
id: string;
|
|
4257
4258
|
label: string;
|
|
4258
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4259
4259
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4260
4260
|
locator?: string | undefined;
|
|
4261
4261
|
}[];
|
|
4262
4262
|
detail?: string | undefined;
|
|
4263
4263
|
} | {
|
|
4264
|
-
summary: string;
|
|
4265
4264
|
kind: "agent_output";
|
|
4265
|
+
summary: string;
|
|
4266
4266
|
agentId: string;
|
|
4267
4267
|
sessionId: string;
|
|
4268
4268
|
evidence: {
|
|
4269
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4269
4270
|
id: string;
|
|
4270
4271
|
label: string;
|
|
4271
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4272
4272
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4273
4273
|
locator?: string | undefined;
|
|
4274
4274
|
}[];
|
|
@@ -4279,9 +4279,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4279
4279
|
statement: string;
|
|
4280
4280
|
sessionId: string;
|
|
4281
4281
|
evidence: {
|
|
4282
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4282
4283
|
id: string;
|
|
4283
4284
|
label: string;
|
|
4284
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4285
4285
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4286
4286
|
locator?: string | undefined;
|
|
4287
4287
|
}[];
|
|
@@ -4289,12 +4289,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4289
4289
|
decisionId: string;
|
|
4290
4290
|
confidence?: number | undefined;
|
|
4291
4291
|
} | {
|
|
4292
|
-
summary: string;
|
|
4293
4292
|
kind: "conflict_detected";
|
|
4293
|
+
summary: string;
|
|
4294
4294
|
evidence: {
|
|
4295
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4295
4296
|
id: string;
|
|
4296
4297
|
label: string;
|
|
4297
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4298
4298
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4299
4299
|
locator?: string | undefined;
|
|
4300
4300
|
}[];
|
|
@@ -4302,14 +4302,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4302
4302
|
decisionIds: string[];
|
|
4303
4303
|
agentIds: string[];
|
|
4304
4304
|
} | {
|
|
4305
|
-
summary: string;
|
|
4306
|
-
status: "error" | "failed" | "passed";
|
|
4307
4305
|
kind: "test_result";
|
|
4306
|
+
summary: string;
|
|
4308
4307
|
command: string;
|
|
4308
|
+
status: "error" | "failed" | "passed";
|
|
4309
4309
|
evidence: {
|
|
4310
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4310
4311
|
id: string;
|
|
4311
4312
|
label: string;
|
|
4312
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4313
4313
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4314
4314
|
locator?: string | undefined;
|
|
4315
4315
|
}[];
|
|
@@ -4322,9 +4322,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4322
4322
|
rationale: string;
|
|
4323
4323
|
statement: string;
|
|
4324
4324
|
evidence: {
|
|
4325
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4325
4326
|
id: string;
|
|
4326
4327
|
label: string;
|
|
4327
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4328
4328
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4329
4329
|
locator?: string | undefined;
|
|
4330
4330
|
}[];
|
|
@@ -4336,25 +4336,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4336
4336
|
} | {
|
|
4337
4337
|
kind: "correction_approved";
|
|
4338
4338
|
evidence: {
|
|
4339
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4339
4340
|
id: string;
|
|
4340
4341
|
label: string;
|
|
4341
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4342
4342
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4343
4343
|
locator?: string | undefined;
|
|
4344
4344
|
}[];
|
|
4345
4345
|
correctionId: string;
|
|
4346
4346
|
approvedBy: {
|
|
4347
|
+
kind: "agent" | "human";
|
|
4347
4348
|
id: string;
|
|
4348
4349
|
label: string;
|
|
4349
|
-
kind: "agent" | "human";
|
|
4350
4350
|
};
|
|
4351
4351
|
note?: string | undefined;
|
|
4352
4352
|
} | {
|
|
4353
4353
|
kind: "decision_superseded";
|
|
4354
4354
|
evidence: {
|
|
4355
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4355
4356
|
id: string;
|
|
4356
4357
|
label: string;
|
|
4357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4358
4358
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4359
4359
|
locator?: string | undefined;
|
|
4360
4360
|
}[];
|
|
@@ -4367,9 +4367,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4367
4367
|
agentId: string;
|
|
4368
4368
|
sessionId: string;
|
|
4369
4369
|
evidence: {
|
|
4370
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4370
4371
|
id: string;
|
|
4371
4372
|
label: string;
|
|
4372
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4373
4373
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4374
4374
|
locator?: string | undefined;
|
|
4375
4375
|
}[];
|
|
@@ -4381,9 +4381,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4381
4381
|
agentId: string;
|
|
4382
4382
|
sessionId: string;
|
|
4383
4383
|
evidence: {
|
|
4384
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4384
4385
|
id: string;
|
|
4385
4386
|
label: string;
|
|
4386
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4387
4387
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4388
4388
|
locator?: string | undefined;
|
|
4389
4389
|
}[];
|
|
@@ -4392,24 +4392,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4392
4392
|
recallReceiptId: string;
|
|
4393
4393
|
staleDecisionAbsent: boolean;
|
|
4394
4394
|
} | {
|
|
4395
|
-
summary: string;
|
|
4396
4395
|
kind: "mission_completed";
|
|
4396
|
+
summary: string;
|
|
4397
4397
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4398
4398
|
evidence: {
|
|
4399
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4399
4400
|
id: string;
|
|
4400
4401
|
label: string;
|
|
4401
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4402
4402
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4403
4403
|
locator?: string | undefined;
|
|
4404
4404
|
}[];
|
|
4405
4405
|
};
|
|
4406
|
+
namespace: string;
|
|
4406
4407
|
eventId: string;
|
|
4407
4408
|
occurredAt: string;
|
|
4408
4409
|
missionId: string;
|
|
4409
4410
|
authenticatedPrincipal?: string | undefined;
|
|
4410
4411
|
idempotencyKey?: string | undefined;
|
|
4411
4412
|
}, {
|
|
4412
|
-
namespace: string;
|
|
4413
4413
|
recordedAt: string;
|
|
4414
4414
|
schemaVersion: "1";
|
|
4415
4415
|
payload: {
|
|
@@ -4418,37 +4418,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4418
4418
|
objective: string;
|
|
4419
4419
|
runMode: "replay" | "fixture" | "live";
|
|
4420
4420
|
evidence?: {
|
|
4421
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4421
4422
|
id: string;
|
|
4422
4423
|
label: string;
|
|
4423
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4424
4424
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4425
4425
|
locator?: string | undefined;
|
|
4426
4426
|
}[] | undefined;
|
|
4427
4427
|
} | {
|
|
4428
|
-
label: string;
|
|
4429
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4430
4428
|
kind: "agent_status";
|
|
4431
4429
|
role: string;
|
|
4430
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4431
|
+
label: string;
|
|
4432
4432
|
agentId: string;
|
|
4433
4433
|
sessionId: string;
|
|
4434
4434
|
detail?: string | undefined;
|
|
4435
4435
|
evidence?: {
|
|
4436
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4436
4437
|
id: string;
|
|
4437
4438
|
label: string;
|
|
4438
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4439
4439
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4440
4440
|
locator?: string | undefined;
|
|
4441
4441
|
}[] | undefined;
|
|
4442
4442
|
} | {
|
|
4443
|
-
summary: string;
|
|
4444
4443
|
kind: "agent_output";
|
|
4444
|
+
summary: string;
|
|
4445
4445
|
agentId: string;
|
|
4446
4446
|
sessionId: string;
|
|
4447
4447
|
outputId: string;
|
|
4448
4448
|
evidence?: {
|
|
4449
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4449
4450
|
id: string;
|
|
4450
4451
|
label: string;
|
|
4451
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4452
4452
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4453
4453
|
locator?: string | undefined;
|
|
4454
4454
|
}[] | undefined;
|
|
@@ -4461,37 +4461,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4461
4461
|
decisionId: string;
|
|
4462
4462
|
confidence?: number | undefined;
|
|
4463
4463
|
evidence?: {
|
|
4464
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4464
4465
|
id: string;
|
|
4465
4466
|
label: string;
|
|
4466
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4467
4467
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4468
4468
|
locator?: string | undefined;
|
|
4469
4469
|
}[] | undefined;
|
|
4470
4470
|
} | {
|
|
4471
|
-
summary: string;
|
|
4472
4471
|
kind: "conflict_detected";
|
|
4472
|
+
summary: string;
|
|
4473
4473
|
conflictId: string;
|
|
4474
4474
|
decisionIds: string[];
|
|
4475
4475
|
agentIds: string[];
|
|
4476
4476
|
evidence?: {
|
|
4477
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4477
4478
|
id: string;
|
|
4478
4479
|
label: string;
|
|
4479
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4480
4480
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4481
4481
|
locator?: string | undefined;
|
|
4482
4482
|
}[] | undefined;
|
|
4483
4483
|
} | {
|
|
4484
|
-
summary: string;
|
|
4485
|
-
status: "error" | "failed" | "passed";
|
|
4486
4484
|
kind: "test_result";
|
|
4485
|
+
summary: string;
|
|
4487
4486
|
command: string;
|
|
4487
|
+
status: "error" | "failed" | "passed";
|
|
4488
4488
|
decisionId: string;
|
|
4489
4489
|
testId: string;
|
|
4490
4490
|
durationMs?: number | undefined;
|
|
4491
4491
|
evidence?: {
|
|
4492
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4492
4493
|
id: string;
|
|
4493
4494
|
label: string;
|
|
4494
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4495
4495
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4496
4496
|
locator?: string | undefined;
|
|
4497
4497
|
}[] | undefined;
|
|
@@ -4506,9 +4506,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4506
4506
|
supersedesDecisionIds: string[];
|
|
4507
4507
|
proposedBy: string;
|
|
4508
4508
|
evidence?: {
|
|
4509
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4509
4510
|
id: string;
|
|
4510
4511
|
label: string;
|
|
4511
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4512
4512
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4513
4513
|
locator?: string | undefined;
|
|
4514
4514
|
}[] | undefined;
|
|
@@ -4516,15 +4516,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4516
4516
|
kind: "correction_approved";
|
|
4517
4517
|
correctionId: string;
|
|
4518
4518
|
approvedBy: {
|
|
4519
|
+
kind: "agent" | "human";
|
|
4519
4520
|
id: string;
|
|
4520
4521
|
label: string;
|
|
4521
|
-
kind: "agent" | "human";
|
|
4522
4522
|
};
|
|
4523
4523
|
note?: string | undefined;
|
|
4524
4524
|
evidence?: {
|
|
4525
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4525
4526
|
id: string;
|
|
4526
4527
|
label: string;
|
|
4527
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4528
4528
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4529
4529
|
locator?: string | undefined;
|
|
4530
4530
|
}[] | undefined;
|
|
@@ -4534,9 +4534,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4534
4534
|
correctionId: string;
|
|
4535
4535
|
replacementDecisionId: string;
|
|
4536
4536
|
evidence?: {
|
|
4537
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4537
4538
|
id: string;
|
|
4538
4539
|
label: string;
|
|
4539
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4540
4540
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4541
4541
|
locator?: string | undefined;
|
|
4542
4542
|
}[] | undefined;
|
|
@@ -4549,9 +4549,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4549
4549
|
recallReceiptId: string;
|
|
4550
4550
|
capturedAtAction: boolean;
|
|
4551
4551
|
evidence?: {
|
|
4552
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4552
4553
|
id: string;
|
|
4553
4554
|
label: string;
|
|
4554
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4555
4555
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4556
4556
|
locator?: string | undefined;
|
|
4557
4557
|
}[] | undefined;
|
|
@@ -4564,24 +4564,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4564
4564
|
recallReceiptId: string;
|
|
4565
4565
|
staleDecisionAbsent: boolean;
|
|
4566
4566
|
evidence?: {
|
|
4567
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4567
4568
|
id: string;
|
|
4568
4569
|
label: string;
|
|
4569
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4570
4570
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4571
4571
|
locator?: string | undefined;
|
|
4572
4572
|
}[] | undefined;
|
|
4573
4573
|
} | {
|
|
4574
|
-
summary: string;
|
|
4575
4574
|
kind: "mission_completed";
|
|
4575
|
+
summary: string;
|
|
4576
4576
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4577
4577
|
evidence?: {
|
|
4578
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4578
4579
|
id: string;
|
|
4579
4580
|
label: string;
|
|
4580
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4581
4581
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4582
4582
|
locator?: string | undefined;
|
|
4583
4583
|
}[] | undefined;
|
|
4584
4584
|
};
|
|
4585
|
+
namespace: string;
|
|
4585
4586
|
eventId: string;
|
|
4586
4587
|
occurredAt: string;
|
|
4587
4588
|
missionId: string;
|