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