@remnic/core 9.69.3 → 9.69.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +1 -1
- package/dist/access-authorization-probe.d.ts +1 -1
- package/dist/access-boundary.d.ts +1 -1
- package/dist/access-cli.js +1 -1
- package/dist/access-extraction-force-flush.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +1 -1
- package/dist/access-http-lifecycle-flush.d.ts +1 -1
- package/dist/access-http-offline-stream.d.ts +1 -1
- package/dist/access-http.d.ts +2 -2
- package/dist/access-lcm-surface.d.ts +1 -1
- package/dist/access-mcp.d.ts +1 -1
- package/dist/access-observe-write-surface.d.ts +1 -1
- package/dist/access-operations.d.ts +6 -6
- package/dist/access-recall-concurrency.d.ts +1 -1
- package/dist/access-recall-response.d.ts +1 -1
- package/dist/access-recall-surface.d.ts +1 -1
- package/dist/access-schema.d.ts +89 -89
- package/dist/access-service-helpers.d.ts +1 -1
- package/dist/access-service.d.ts +1 -1
- package/dist/access-surface-catalog.d.ts +1 -1
- package/dist/{chunk-ATS6H6AC.js → chunk-WOA7DS7O.js} +1 -1
- package/dist/{chunk-ATS6H6AC.js.map → chunk-WOA7DS7O.js.map} +1 -1
- package/dist/{cli-CFpMhqz5.d.ts → cli-Bvy4jdBu.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/external-wiki-access.d.ts +1 -1
- package/dist/external-wiki-mcp-tools.d.ts +1 -1
- package/dist/index.d.ts +680 -680
- package/dist/index.js +1 -1
- package/dist/mcp-memory-inspector-app.d.ts +1 -1
- package/dist/memory-subject-cli.d.ts +1 -1
- package/dist/memory-subject.d.ts +1 -1
- package/dist/orchestrator.js +1 -1
- package/dist/{public-http-C9-CHc40.d.ts → public-http-2MyshWxl.d.ts} +1 -1
- package/dist/schemas.d.ts +176 -176
- package/dist/shared-context/manager.d.ts +6 -6
- package/dist/support-passport/index.d.ts +4 -4
- package/dist/transfer/types.d.ts +78 -78
- package/dist/who-knows-cli.d.ts +1 -1
- package/dist/who-knows.d.ts +1 -1
- package/package.json +2 -2
- package/src/dedup/index.ts +6 -0
- package/src/dedup/merge-content.test.ts +116 -0
- package/src/dedup/merge-content.ts +40 -0
- package/dist/{access-service-DcfM0Vf0.d.ts → access-service-LbwWl05g.d.ts} +64 -64
package/dist/index.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ export { bS as ACTION_GATE_DEFAULTS, bT as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PE
|
|
|
34
34
|
import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
|
|
35
35
|
export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
36
36
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
37
|
-
import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-
|
|
38
|
-
export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-
|
|
37
|
+
import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-LbwWl05g.js';
|
|
38
|
+
export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-LbwWl05g.js';
|
|
39
39
|
import { LocalLlmClient } from './local-llm.js';
|
|
40
40
|
import { FallbackLlmClient } from './fallback-llm.js';
|
|
41
41
|
export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
@@ -58,10 +58,10 @@ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
|
|
|
58
58
|
export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
|
|
59
59
|
export { storagePathHash } from './storage-paths.js';
|
|
60
60
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
61
|
-
export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-
|
|
61
|
+
export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bvy4jdBu.js';
|
|
62
62
|
export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
|
|
63
63
|
export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
|
|
64
|
-
export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-
|
|
64
|
+
export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-2MyshWxl.js';
|
|
65
65
|
import { z } from 'zod';
|
|
66
66
|
export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
|
|
67
67
|
export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
|
|
@@ -1231,15 +1231,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
1231
1231
|
locator: z.ZodOptional<z.ZodString>;
|
|
1232
1232
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1233
1233
|
}, "strict", z.ZodTypeAny, {
|
|
1234
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1235
|
-
label: string;
|
|
1236
1234
|
id: string;
|
|
1235
|
+
label: string;
|
|
1236
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1237
1237
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1238
1238
|
locator?: string | undefined;
|
|
1239
1239
|
}, {
|
|
1240
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1241
|
-
label: string;
|
|
1242
1240
|
id: string;
|
|
1241
|
+
label: string;
|
|
1242
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1243
1243
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1244
1244
|
locator?: string | undefined;
|
|
1245
1245
|
}>;
|
|
@@ -1256,15 +1256,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1256
1256
|
locator: z.ZodOptional<z.ZodString>;
|
|
1257
1257
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1258
1258
|
}, "strict", z.ZodTypeAny, {
|
|
1259
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1260
|
-
label: string;
|
|
1261
1259
|
id: string;
|
|
1260
|
+
label: string;
|
|
1261
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1262
1262
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1263
1263
|
locator?: string | undefined;
|
|
1264
1264
|
}, {
|
|
1265
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1266
|
-
label: string;
|
|
1267
1265
|
id: string;
|
|
1266
|
+
label: string;
|
|
1267
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1268
1268
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1269
1269
|
locator?: string | undefined;
|
|
1270
1270
|
}>, "many">>;
|
|
@@ -1272,9 +1272,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1272
1272
|
kind: "mission_started";
|
|
1273
1273
|
title: string;
|
|
1274
1274
|
evidence: {
|
|
1275
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1276
|
-
label: string;
|
|
1277
1275
|
id: string;
|
|
1276
|
+
label: string;
|
|
1277
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1278
1278
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1279
1279
|
locator?: string | undefined;
|
|
1280
1280
|
}[];
|
|
@@ -1286,9 +1286,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1286
1286
|
objective: string;
|
|
1287
1287
|
runMode: "replay" | "fixture" | "live";
|
|
1288
1288
|
evidence?: {
|
|
1289
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1290
|
-
label: string;
|
|
1291
1289
|
id: string;
|
|
1290
|
+
label: string;
|
|
1291
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1292
1292
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1293
1293
|
locator?: string | undefined;
|
|
1294
1294
|
}[] | undefined;
|
|
@@ -1304,15 +1304,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1304
1304
|
locator: z.ZodOptional<z.ZodString>;
|
|
1305
1305
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1306
1306
|
}, "strict", z.ZodTypeAny, {
|
|
1307
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1308
|
-
label: string;
|
|
1309
1307
|
id: string;
|
|
1308
|
+
label: string;
|
|
1309
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1310
1310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1311
1311
|
locator?: string | undefined;
|
|
1312
1312
|
}, {
|
|
1313
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1314
|
-
label: string;
|
|
1315
1313
|
id: string;
|
|
1314
|
+
label: string;
|
|
1315
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1316
1316
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1317
1317
|
locator?: string | undefined;
|
|
1318
1318
|
}>, "many">>;
|
|
@@ -1320,32 +1320,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1320
1320
|
sessionId: z.ZodString;
|
|
1321
1321
|
kind: z.ZodLiteral<"agent_status">;
|
|
1322
1322
|
}, "strict", z.ZodTypeAny, {
|
|
1323
|
-
kind: "agent_status";
|
|
1324
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1325
1323
|
label: string;
|
|
1324
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1325
|
+
kind: "agent_status";
|
|
1326
1326
|
role: string;
|
|
1327
1327
|
agentId: string;
|
|
1328
1328
|
sessionId: string;
|
|
1329
1329
|
evidence: {
|
|
1330
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1331
|
-
label: string;
|
|
1332
1330
|
id: string;
|
|
1331
|
+
label: string;
|
|
1332
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1333
1333
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1334
1334
|
locator?: string | undefined;
|
|
1335
1335
|
}[];
|
|
1336
1336
|
detail?: string | undefined;
|
|
1337
1337
|
}, {
|
|
1338
|
-
kind: "agent_status";
|
|
1339
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1340
1338
|
label: string;
|
|
1339
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1340
|
+
kind: "agent_status";
|
|
1341
1341
|
role: string;
|
|
1342
1342
|
agentId: string;
|
|
1343
1343
|
sessionId: string;
|
|
1344
1344
|
detail?: string | undefined;
|
|
1345
1345
|
evidence?: {
|
|
1346
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1347
|
-
label: string;
|
|
1348
1346
|
id: string;
|
|
1347
|
+
label: string;
|
|
1348
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1349
1349
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1350
1350
|
locator?: string | undefined;
|
|
1351
1351
|
}[] | undefined;
|
|
@@ -1359,15 +1359,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1359
1359
|
locator: z.ZodOptional<z.ZodString>;
|
|
1360
1360
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1361
1361
|
}, "strict", z.ZodTypeAny, {
|
|
1362
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1363
|
-
label: string;
|
|
1364
1362
|
id: string;
|
|
1363
|
+
label: string;
|
|
1364
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1365
1365
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1366
1366
|
locator?: string | undefined;
|
|
1367
1367
|
}, {
|
|
1368
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1369
|
-
label: string;
|
|
1370
1368
|
id: string;
|
|
1369
|
+
label: string;
|
|
1370
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1371
1371
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1372
1372
|
locator?: string | undefined;
|
|
1373
1373
|
}>, "many">>;
|
|
@@ -1375,28 +1375,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1375
1375
|
sessionId: z.ZodString;
|
|
1376
1376
|
kind: z.ZodLiteral<"agent_output">;
|
|
1377
1377
|
}, "strict", z.ZodTypeAny, {
|
|
1378
|
-
kind: "agent_output";
|
|
1379
1378
|
summary: string;
|
|
1379
|
+
kind: "agent_output";
|
|
1380
1380
|
agentId: string;
|
|
1381
1381
|
sessionId: string;
|
|
1382
1382
|
evidence: {
|
|
1383
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1384
|
-
label: string;
|
|
1385
1383
|
id: string;
|
|
1384
|
+
label: string;
|
|
1385
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1386
1386
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1387
1387
|
locator?: string | undefined;
|
|
1388
1388
|
}[];
|
|
1389
1389
|
outputId: string;
|
|
1390
1390
|
}, {
|
|
1391
|
-
kind: "agent_output";
|
|
1392
1391
|
summary: string;
|
|
1392
|
+
kind: "agent_output";
|
|
1393
1393
|
agentId: string;
|
|
1394
1394
|
sessionId: string;
|
|
1395
1395
|
outputId: string;
|
|
1396
1396
|
evidence?: {
|
|
1397
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1398
|
-
label: string;
|
|
1399
1397
|
id: string;
|
|
1398
|
+
label: string;
|
|
1399
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1400
1400
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1401
1401
|
locator?: string | undefined;
|
|
1402
1402
|
}[] | undefined;
|
|
@@ -1412,15 +1412,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1412
1412
|
locator: z.ZodOptional<z.ZodString>;
|
|
1413
1413
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1414
1414
|
}, "strict", z.ZodTypeAny, {
|
|
1415
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1416
|
-
label: string;
|
|
1417
1415
|
id: string;
|
|
1416
|
+
label: string;
|
|
1417
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1418
1418
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1419
1419
|
locator?: string | undefined;
|
|
1420
1420
|
}, {
|
|
1421
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1422
|
-
label: string;
|
|
1423
1421
|
id: string;
|
|
1422
|
+
label: string;
|
|
1423
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1424
1424
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1425
1425
|
locator?: string | undefined;
|
|
1426
1426
|
}>, "many">>;
|
|
@@ -1433,9 +1433,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1433
1433
|
statement: string;
|
|
1434
1434
|
sessionId: string;
|
|
1435
1435
|
evidence: {
|
|
1436
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1437
|
-
label: string;
|
|
1438
1436
|
id: string;
|
|
1437
|
+
label: string;
|
|
1438
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1439
1439
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1440
1440
|
locator?: string | undefined;
|
|
1441
1441
|
}[];
|
|
@@ -1451,9 +1451,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1451
1451
|
decisionId: string;
|
|
1452
1452
|
confidence?: number | undefined;
|
|
1453
1453
|
evidence?: {
|
|
1454
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1455
|
-
label: string;
|
|
1456
1454
|
id: string;
|
|
1455
|
+
label: string;
|
|
1456
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1457
1457
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1458
1458
|
locator?: string | undefined;
|
|
1459
1459
|
}[] | undefined;
|
|
@@ -1470,25 +1470,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1470
1470
|
locator: z.ZodOptional<z.ZodString>;
|
|
1471
1471
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1472
1472
|
}, "strict", z.ZodTypeAny, {
|
|
1473
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1474
|
-
label: string;
|
|
1475
1473
|
id: string;
|
|
1474
|
+
label: string;
|
|
1475
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1476
1476
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1477
1477
|
locator?: string | undefined;
|
|
1478
1478
|
}, {
|
|
1479
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1480
|
-
label: string;
|
|
1481
1479
|
id: string;
|
|
1480
|
+
label: string;
|
|
1481
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1482
1482
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1483
1483
|
locator?: string | undefined;
|
|
1484
1484
|
}>, "many">>;
|
|
1485
1485
|
}, "strict", z.ZodTypeAny, {
|
|
1486
|
-
kind: "conflict_detected";
|
|
1487
1486
|
summary: string;
|
|
1487
|
+
kind: "conflict_detected";
|
|
1488
1488
|
evidence: {
|
|
1489
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1490
|
-
label: string;
|
|
1491
1489
|
id: string;
|
|
1490
|
+
label: string;
|
|
1491
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1492
1492
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1493
1493
|
locator?: string | undefined;
|
|
1494
1494
|
}[];
|
|
@@ -1496,15 +1496,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1496
1496
|
decisionIds: string[];
|
|
1497
1497
|
agentIds: string[];
|
|
1498
1498
|
}, {
|
|
1499
|
-
kind: "conflict_detected";
|
|
1500
1499
|
summary: string;
|
|
1500
|
+
kind: "conflict_detected";
|
|
1501
1501
|
conflictId: string;
|
|
1502
1502
|
decisionIds: string[];
|
|
1503
1503
|
agentIds: string[];
|
|
1504
1504
|
evidence?: {
|
|
1505
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1506
|
-
label: string;
|
|
1507
1505
|
id: string;
|
|
1506
|
+
label: string;
|
|
1507
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1508
1508
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1509
1509
|
locator?: string | undefined;
|
|
1510
1510
|
}[] | undefined;
|
|
@@ -1524,27 +1524,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1524
1524
|
locator: z.ZodOptional<z.ZodString>;
|
|
1525
1525
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1526
1526
|
}, "strict", z.ZodTypeAny, {
|
|
1527
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1528
|
-
label: string;
|
|
1529
1527
|
id: string;
|
|
1528
|
+
label: string;
|
|
1529
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1530
1530
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1531
1531
|
locator?: string | undefined;
|
|
1532
1532
|
}, {
|
|
1533
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1534
|
-
label: string;
|
|
1535
1533
|
id: string;
|
|
1534
|
+
label: string;
|
|
1535
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1536
1536
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1537
1537
|
locator?: string | undefined;
|
|
1538
1538
|
}>, "many">>;
|
|
1539
1539
|
}, "strict", z.ZodTypeAny, {
|
|
1540
|
-
kind: "test_result";
|
|
1541
1540
|
summary: string;
|
|
1542
1541
|
status: "error" | "failed" | "passed";
|
|
1542
|
+
kind: "test_result";
|
|
1543
1543
|
command: string;
|
|
1544
1544
|
evidence: {
|
|
1545
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1546
|
-
label: string;
|
|
1547
1545
|
id: string;
|
|
1546
|
+
label: string;
|
|
1547
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1548
1548
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1549
1549
|
locator?: string | undefined;
|
|
1550
1550
|
}[];
|
|
@@ -1553,17 +1553,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1553
1553
|
durationMs?: number | undefined;
|
|
1554
1554
|
correctionId?: string | undefined;
|
|
1555
1555
|
}, {
|
|
1556
|
-
kind: "test_result";
|
|
1557
1556
|
summary: string;
|
|
1558
1557
|
status: "error" | "failed" | "passed";
|
|
1558
|
+
kind: "test_result";
|
|
1559
1559
|
command: string;
|
|
1560
1560
|
decisionId: string;
|
|
1561
1561
|
testId: string;
|
|
1562
1562
|
durationMs?: number | undefined;
|
|
1563
1563
|
evidence?: {
|
|
1564
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1565
|
-
label: string;
|
|
1566
1564
|
id: string;
|
|
1565
|
+
label: string;
|
|
1566
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1567
1567
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1568
1568
|
locator?: string | undefined;
|
|
1569
1569
|
}[] | undefined;
|
|
@@ -1584,15 +1584,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1584
1584
|
locator: z.ZodOptional<z.ZodString>;
|
|
1585
1585
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1586
1586
|
}, "strict", z.ZodTypeAny, {
|
|
1587
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1588
|
-
label: string;
|
|
1589
1587
|
id: string;
|
|
1588
|
+
label: string;
|
|
1589
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1590
1590
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1591
1591
|
locator?: string | undefined;
|
|
1592
1592
|
}, {
|
|
1593
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1594
|
-
label: string;
|
|
1595
1593
|
id: string;
|
|
1594
|
+
label: string;
|
|
1595
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1596
1596
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1597
1597
|
locator?: string | undefined;
|
|
1598
1598
|
}>, "many">>;
|
|
@@ -1601,9 +1601,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1601
1601
|
statement: string;
|
|
1602
1602
|
rationale: string;
|
|
1603
1603
|
evidence: {
|
|
1604
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1605
|
-
label: string;
|
|
1606
1604
|
id: string;
|
|
1605
|
+
label: string;
|
|
1606
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1607
1607
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1608
1608
|
locator?: string | undefined;
|
|
1609
1609
|
}[];
|
|
@@ -1622,9 +1622,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1622
1622
|
supersedesDecisionIds: string[];
|
|
1623
1623
|
proposedBy: string;
|
|
1624
1624
|
evidence?: {
|
|
1625
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1626
|
-
label: string;
|
|
1627
1625
|
id: string;
|
|
1626
|
+
label: string;
|
|
1627
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1628
1628
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1629
1629
|
locator?: string | undefined;
|
|
1630
1630
|
}[] | undefined;
|
|
@@ -1636,13 +1636,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1636
1636
|
id: z.ZodString;
|
|
1637
1637
|
label: z.ZodString;
|
|
1638
1638
|
}, "strict", z.ZodTypeAny, {
|
|
1639
|
-
kind: "agent" | "human";
|
|
1640
|
-
label: string;
|
|
1641
1639
|
id: string;
|
|
1642
|
-
}, {
|
|
1643
|
-
kind: "agent" | "human";
|
|
1644
1640
|
label: string;
|
|
1641
|
+
kind: "agent" | "human";
|
|
1642
|
+
}, {
|
|
1645
1643
|
id: string;
|
|
1644
|
+
label: string;
|
|
1645
|
+
kind: "agent" | "human";
|
|
1646
1646
|
}>;
|
|
1647
1647
|
note: z.ZodOptional<z.ZodString>;
|
|
1648
1648
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1652,47 +1652,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1652
1652
|
locator: z.ZodOptional<z.ZodString>;
|
|
1653
1653
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1654
1654
|
}, "strict", z.ZodTypeAny, {
|
|
1655
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1656
|
-
label: string;
|
|
1657
1655
|
id: string;
|
|
1656
|
+
label: string;
|
|
1657
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1658
1658
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1659
1659
|
locator?: string | undefined;
|
|
1660
1660
|
}, {
|
|
1661
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1662
|
-
label: string;
|
|
1663
1661
|
id: string;
|
|
1662
|
+
label: string;
|
|
1663
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1664
1664
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1665
1665
|
locator?: string | undefined;
|
|
1666
1666
|
}>, "many">>;
|
|
1667
1667
|
}, "strict", z.ZodTypeAny, {
|
|
1668
1668
|
kind: "correction_approved";
|
|
1669
1669
|
evidence: {
|
|
1670
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1671
|
-
label: string;
|
|
1672
1670
|
id: string;
|
|
1671
|
+
label: string;
|
|
1672
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1673
1673
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1674
1674
|
locator?: string | undefined;
|
|
1675
1675
|
}[];
|
|
1676
1676
|
correctionId: string;
|
|
1677
1677
|
approvedBy: {
|
|
1678
|
-
kind: "agent" | "human";
|
|
1679
|
-
label: string;
|
|
1680
1678
|
id: string;
|
|
1679
|
+
label: string;
|
|
1680
|
+
kind: "agent" | "human";
|
|
1681
1681
|
};
|
|
1682
1682
|
note?: string | undefined;
|
|
1683
1683
|
}, {
|
|
1684
1684
|
kind: "correction_approved";
|
|
1685
1685
|
correctionId: string;
|
|
1686
1686
|
approvedBy: {
|
|
1687
|
-
kind: "agent" | "human";
|
|
1688
|
-
label: string;
|
|
1689
1687
|
id: string;
|
|
1688
|
+
label: string;
|
|
1689
|
+
kind: "agent" | "human";
|
|
1690
1690
|
};
|
|
1691
1691
|
note?: string | undefined;
|
|
1692
1692
|
evidence?: {
|
|
1693
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1694
|
-
label: string;
|
|
1695
1693
|
id: string;
|
|
1694
|
+
label: string;
|
|
1695
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1696
1696
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1697
1697
|
locator?: string | undefined;
|
|
1698
1698
|
}[] | undefined;
|
|
@@ -1708,24 +1708,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1708
1708
|
locator: z.ZodOptional<z.ZodString>;
|
|
1709
1709
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1710
1710
|
}, "strict", z.ZodTypeAny, {
|
|
1711
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1712
|
-
label: string;
|
|
1713
1711
|
id: string;
|
|
1712
|
+
label: string;
|
|
1713
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1714
1714
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1715
1715
|
locator?: string | undefined;
|
|
1716
1716
|
}, {
|
|
1717
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1718
|
-
label: string;
|
|
1719
1717
|
id: string;
|
|
1718
|
+
label: string;
|
|
1719
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1720
1720
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1721
1721
|
locator?: string | undefined;
|
|
1722
1722
|
}>, "many">>;
|
|
1723
1723
|
}, "strict", z.ZodTypeAny, {
|
|
1724
1724
|
kind: "decision_superseded";
|
|
1725
1725
|
evidence: {
|
|
1726
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1727
|
-
label: string;
|
|
1728
1726
|
id: string;
|
|
1727
|
+
label: string;
|
|
1728
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1729
1729
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1730
1730
|
locator?: string | undefined;
|
|
1731
1731
|
}[];
|
|
@@ -1738,9 +1738,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1738
1738
|
correctionId: string;
|
|
1739
1739
|
replacementDecisionId: string;
|
|
1740
1740
|
evidence?: {
|
|
1741
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1742
|
-
label: string;
|
|
1743
1741
|
id: string;
|
|
1742
|
+
label: string;
|
|
1743
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1744
1744
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1745
1745
|
locator?: string | undefined;
|
|
1746
1746
|
}[] | undefined;
|
|
@@ -1756,15 +1756,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1756
1756
|
locator: z.ZodOptional<z.ZodString>;
|
|
1757
1757
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1758
1758
|
}, "strict", z.ZodTypeAny, {
|
|
1759
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1760
|
-
label: string;
|
|
1761
1759
|
id: string;
|
|
1760
|
+
label: string;
|
|
1761
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1762
1762
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1763
1763
|
locator?: string | undefined;
|
|
1764
1764
|
}, {
|
|
1765
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1766
|
-
label: string;
|
|
1767
1765
|
id: string;
|
|
1766
|
+
label: string;
|
|
1767
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1768
1768
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1769
1769
|
locator?: string | undefined;
|
|
1770
1770
|
}>, "many">>;
|
|
@@ -1777,9 +1777,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1777
1777
|
agentId: string;
|
|
1778
1778
|
sessionId: string;
|
|
1779
1779
|
evidence: {
|
|
1780
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1781
|
-
label: string;
|
|
1782
1780
|
id: string;
|
|
1781
|
+
label: string;
|
|
1782
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1783
1783
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1784
1784
|
locator?: string | undefined;
|
|
1785
1785
|
}[];
|
|
@@ -1795,9 +1795,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1795
1795
|
recallReceiptId: string;
|
|
1796
1796
|
capturedAtAction: boolean;
|
|
1797
1797
|
evidence?: {
|
|
1798
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1799
|
-
label: string;
|
|
1800
1798
|
id: string;
|
|
1799
|
+
label: string;
|
|
1800
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1801
1801
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1802
1802
|
locator?: string | undefined;
|
|
1803
1803
|
}[] | undefined;
|
|
@@ -1813,15 +1813,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1813
1813
|
locator: z.ZodOptional<z.ZodString>;
|
|
1814
1814
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1815
1815
|
}, "strict", z.ZodTypeAny, {
|
|
1816
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1817
|
-
label: string;
|
|
1818
1816
|
id: string;
|
|
1817
|
+
label: string;
|
|
1818
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1819
1819
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1820
1820
|
locator?: string | undefined;
|
|
1821
1821
|
}, {
|
|
1822
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1823
|
-
label: string;
|
|
1824
1822
|
id: string;
|
|
1823
|
+
label: string;
|
|
1824
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1825
1825
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1826
1826
|
locator?: string | undefined;
|
|
1827
1827
|
}>, "many">>;
|
|
@@ -1833,9 +1833,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1833
1833
|
agentId: string;
|
|
1834
1834
|
sessionId: string;
|
|
1835
1835
|
evidence: {
|
|
1836
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1837
|
-
label: string;
|
|
1838
1836
|
id: string;
|
|
1837
|
+
label: string;
|
|
1838
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1839
1839
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1840
1840
|
locator?: string | undefined;
|
|
1841
1841
|
}[];
|
|
@@ -1852,9 +1852,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1852
1852
|
recallReceiptId: string;
|
|
1853
1853
|
staleDecisionAbsent: boolean;
|
|
1854
1854
|
evidence?: {
|
|
1855
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1856
|
-
label: string;
|
|
1857
1855
|
id: string;
|
|
1856
|
+
label: string;
|
|
1857
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1858
1858
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1859
1859
|
locator?: string | undefined;
|
|
1860
1860
|
}[] | undefined;
|
|
@@ -1869,37 +1869,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1869
1869
|
locator: z.ZodOptional<z.ZodString>;
|
|
1870
1870
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1871
1871
|
}, "strict", z.ZodTypeAny, {
|
|
1872
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1873
|
-
label: string;
|
|
1874
1872
|
id: string;
|
|
1873
|
+
label: string;
|
|
1874
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1875
1875
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1876
1876
|
locator?: string | undefined;
|
|
1877
1877
|
}, {
|
|
1878
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1879
|
-
label: string;
|
|
1880
1878
|
id: string;
|
|
1879
|
+
label: string;
|
|
1880
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1881
1881
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1882
1882
|
locator?: string | undefined;
|
|
1883
1883
|
}>, "many">>;
|
|
1884
1884
|
}, "strict", z.ZodTypeAny, {
|
|
1885
|
-
kind: "mission_completed";
|
|
1886
1885
|
summary: string;
|
|
1886
|
+
kind: "mission_completed";
|
|
1887
1887
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1888
1888
|
evidence: {
|
|
1889
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1890
|
-
label: string;
|
|
1891
1889
|
id: string;
|
|
1890
|
+
label: string;
|
|
1891
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1892
1892
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1893
1893
|
locator?: string | undefined;
|
|
1894
1894
|
}[];
|
|
1895
1895
|
}, {
|
|
1896
|
-
kind: "mission_completed";
|
|
1897
1896
|
summary: string;
|
|
1897
|
+
kind: "mission_completed";
|
|
1898
1898
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1899
1899
|
evidence?: {
|
|
1900
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1901
|
-
label: string;
|
|
1902
1900
|
id: string;
|
|
1901
|
+
label: string;
|
|
1902
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1903
1903
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1904
1904
|
locator?: string | undefined;
|
|
1905
1905
|
}[] | undefined;
|
|
@@ -1907,38 +1907,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1907
1907
|
kind: "mission_started";
|
|
1908
1908
|
title: string;
|
|
1909
1909
|
evidence: {
|
|
1910
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1911
|
-
label: string;
|
|
1912
1910
|
id: string;
|
|
1911
|
+
label: string;
|
|
1912
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1913
1913
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1914
1914
|
locator?: string | undefined;
|
|
1915
1915
|
}[];
|
|
1916
1916
|
objective: string;
|
|
1917
1917
|
runMode: "replay" | "fixture" | "live";
|
|
1918
1918
|
} | {
|
|
1919
|
-
kind: "agent_status";
|
|
1920
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1921
1919
|
label: string;
|
|
1920
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1921
|
+
kind: "agent_status";
|
|
1922
1922
|
role: string;
|
|
1923
1923
|
agentId: string;
|
|
1924
1924
|
sessionId: string;
|
|
1925
1925
|
evidence: {
|
|
1926
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1927
|
-
label: string;
|
|
1928
1926
|
id: string;
|
|
1927
|
+
label: string;
|
|
1928
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1929
1929
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1930
1930
|
locator?: string | undefined;
|
|
1931
1931
|
}[];
|
|
1932
1932
|
detail?: string | undefined;
|
|
1933
1933
|
} | {
|
|
1934
|
-
kind: "agent_output";
|
|
1935
1934
|
summary: string;
|
|
1935
|
+
kind: "agent_output";
|
|
1936
1936
|
agentId: string;
|
|
1937
1937
|
sessionId: string;
|
|
1938
1938
|
evidence: {
|
|
1939
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1940
|
-
label: string;
|
|
1941
1939
|
id: string;
|
|
1940
|
+
label: string;
|
|
1941
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1942
1942
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1943
1943
|
locator?: string | undefined;
|
|
1944
1944
|
}[];
|
|
@@ -1949,9 +1949,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1949
1949
|
statement: string;
|
|
1950
1950
|
sessionId: string;
|
|
1951
1951
|
evidence: {
|
|
1952
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1953
|
-
label: string;
|
|
1954
1952
|
id: string;
|
|
1953
|
+
label: string;
|
|
1954
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1955
1955
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1956
1956
|
locator?: string | undefined;
|
|
1957
1957
|
}[];
|
|
@@ -1959,12 +1959,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1959
1959
|
decisionId: string;
|
|
1960
1960
|
confidence?: number | undefined;
|
|
1961
1961
|
} | {
|
|
1962
|
-
kind: "conflict_detected";
|
|
1963
1962
|
summary: string;
|
|
1963
|
+
kind: "conflict_detected";
|
|
1964
1964
|
evidence: {
|
|
1965
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1966
|
-
label: string;
|
|
1967
1965
|
id: string;
|
|
1966
|
+
label: string;
|
|
1967
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1968
1968
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1969
1969
|
locator?: string | undefined;
|
|
1970
1970
|
}[];
|
|
@@ -1972,14 +1972,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1972
1972
|
decisionIds: string[];
|
|
1973
1973
|
agentIds: string[];
|
|
1974
1974
|
} | {
|
|
1975
|
-
kind: "test_result";
|
|
1976
1975
|
summary: string;
|
|
1977
1976
|
status: "error" | "failed" | "passed";
|
|
1977
|
+
kind: "test_result";
|
|
1978
1978
|
command: string;
|
|
1979
1979
|
evidence: {
|
|
1980
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1981
|
-
label: string;
|
|
1982
1980
|
id: string;
|
|
1981
|
+
label: string;
|
|
1982
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1983
1983
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1984
1984
|
locator?: string | undefined;
|
|
1985
1985
|
}[];
|
|
@@ -1992,9 +1992,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1992
1992
|
statement: string;
|
|
1993
1993
|
rationale: string;
|
|
1994
1994
|
evidence: {
|
|
1995
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1996
|
-
label: string;
|
|
1997
1995
|
id: string;
|
|
1996
|
+
label: string;
|
|
1997
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1998
1998
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1999
1999
|
locator?: string | undefined;
|
|
2000
2000
|
}[];
|
|
@@ -2006,25 +2006,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2006
2006
|
} | {
|
|
2007
2007
|
kind: "correction_approved";
|
|
2008
2008
|
evidence: {
|
|
2009
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2010
|
-
label: string;
|
|
2011
2009
|
id: string;
|
|
2010
|
+
label: string;
|
|
2011
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2012
2012
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2013
2013
|
locator?: string | undefined;
|
|
2014
2014
|
}[];
|
|
2015
2015
|
correctionId: string;
|
|
2016
2016
|
approvedBy: {
|
|
2017
|
-
kind: "agent" | "human";
|
|
2018
|
-
label: string;
|
|
2019
2017
|
id: string;
|
|
2018
|
+
label: string;
|
|
2019
|
+
kind: "agent" | "human";
|
|
2020
2020
|
};
|
|
2021
2021
|
note?: string | undefined;
|
|
2022
2022
|
} | {
|
|
2023
2023
|
kind: "decision_superseded";
|
|
2024
2024
|
evidence: {
|
|
2025
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2026
|
-
label: string;
|
|
2027
2025
|
id: string;
|
|
2026
|
+
label: string;
|
|
2027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2028
2028
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2029
2029
|
locator?: string | undefined;
|
|
2030
2030
|
}[];
|
|
@@ -2037,9 +2037,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2037
2037
|
agentId: string;
|
|
2038
2038
|
sessionId: string;
|
|
2039
2039
|
evidence: {
|
|
2040
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2041
|
-
label: string;
|
|
2042
2040
|
id: string;
|
|
2041
|
+
label: string;
|
|
2042
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2043
2043
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2044
2044
|
locator?: string | undefined;
|
|
2045
2045
|
}[];
|
|
@@ -2051,9 +2051,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2051
2051
|
agentId: string;
|
|
2052
2052
|
sessionId: string;
|
|
2053
2053
|
evidence: {
|
|
2054
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2055
|
-
label: string;
|
|
2056
2054
|
id: string;
|
|
2055
|
+
label: string;
|
|
2056
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2057
2057
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2058
2058
|
locator?: string | undefined;
|
|
2059
2059
|
}[];
|
|
@@ -2062,13 +2062,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2062
2062
|
recallReceiptId: string;
|
|
2063
2063
|
staleDecisionAbsent: boolean;
|
|
2064
2064
|
} | {
|
|
2065
|
-
kind: "mission_completed";
|
|
2066
2065
|
summary: string;
|
|
2066
|
+
kind: "mission_completed";
|
|
2067
2067
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2068
2068
|
evidence: {
|
|
2069
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2070
|
-
label: string;
|
|
2071
2069
|
id: string;
|
|
2070
|
+
label: string;
|
|
2071
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2072
2072
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2073
2073
|
locator?: string | undefined;
|
|
2074
2074
|
}[];
|
|
@@ -2078,37 +2078,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2078
2078
|
objective: string;
|
|
2079
2079
|
runMode: "replay" | "fixture" | "live";
|
|
2080
2080
|
evidence?: {
|
|
2081
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2082
|
-
label: string;
|
|
2083
2081
|
id: string;
|
|
2082
|
+
label: string;
|
|
2083
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2084
2084
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2085
2085
|
locator?: string | undefined;
|
|
2086
2086
|
}[] | undefined;
|
|
2087
2087
|
} | {
|
|
2088
|
-
kind: "agent_status";
|
|
2089
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2090
2088
|
label: string;
|
|
2089
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2090
|
+
kind: "agent_status";
|
|
2091
2091
|
role: string;
|
|
2092
2092
|
agentId: string;
|
|
2093
2093
|
sessionId: string;
|
|
2094
2094
|
detail?: string | undefined;
|
|
2095
2095
|
evidence?: {
|
|
2096
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2097
|
-
label: string;
|
|
2098
2096
|
id: string;
|
|
2097
|
+
label: string;
|
|
2098
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2099
2099
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2100
2100
|
locator?: string | undefined;
|
|
2101
2101
|
}[] | undefined;
|
|
2102
2102
|
} | {
|
|
2103
|
-
kind: "agent_output";
|
|
2104
2103
|
summary: string;
|
|
2104
|
+
kind: "agent_output";
|
|
2105
2105
|
agentId: string;
|
|
2106
2106
|
sessionId: string;
|
|
2107
2107
|
outputId: string;
|
|
2108
2108
|
evidence?: {
|
|
2109
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2110
|
-
label: string;
|
|
2111
2109
|
id: string;
|
|
2110
|
+
label: string;
|
|
2111
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2112
2112
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2113
2113
|
locator?: string | undefined;
|
|
2114
2114
|
}[] | undefined;
|
|
@@ -2121,37 +2121,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2121
2121
|
decisionId: string;
|
|
2122
2122
|
confidence?: number | undefined;
|
|
2123
2123
|
evidence?: {
|
|
2124
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2125
|
-
label: string;
|
|
2126
2124
|
id: string;
|
|
2125
|
+
label: string;
|
|
2126
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2127
2127
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2128
2128
|
locator?: string | undefined;
|
|
2129
2129
|
}[] | undefined;
|
|
2130
2130
|
} | {
|
|
2131
|
-
kind: "conflict_detected";
|
|
2132
2131
|
summary: string;
|
|
2132
|
+
kind: "conflict_detected";
|
|
2133
2133
|
conflictId: string;
|
|
2134
2134
|
decisionIds: string[];
|
|
2135
2135
|
agentIds: string[];
|
|
2136
2136
|
evidence?: {
|
|
2137
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2138
|
-
label: string;
|
|
2139
2137
|
id: string;
|
|
2138
|
+
label: string;
|
|
2139
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2140
2140
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2141
2141
|
locator?: string | undefined;
|
|
2142
2142
|
}[] | undefined;
|
|
2143
2143
|
} | {
|
|
2144
|
-
kind: "test_result";
|
|
2145
2144
|
summary: string;
|
|
2146
2145
|
status: "error" | "failed" | "passed";
|
|
2146
|
+
kind: "test_result";
|
|
2147
2147
|
command: string;
|
|
2148
2148
|
decisionId: string;
|
|
2149
2149
|
testId: string;
|
|
2150
2150
|
durationMs?: number | undefined;
|
|
2151
2151
|
evidence?: {
|
|
2152
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2153
|
-
label: string;
|
|
2154
2152
|
id: string;
|
|
2153
|
+
label: string;
|
|
2154
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2155
2155
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2156
2156
|
locator?: string | undefined;
|
|
2157
2157
|
}[] | undefined;
|
|
@@ -2166,9 +2166,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2166
2166
|
supersedesDecisionIds: string[];
|
|
2167
2167
|
proposedBy: string;
|
|
2168
2168
|
evidence?: {
|
|
2169
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2170
|
-
label: string;
|
|
2171
2169
|
id: string;
|
|
2170
|
+
label: string;
|
|
2171
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2172
2172
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2173
2173
|
locator?: string | undefined;
|
|
2174
2174
|
}[] | undefined;
|
|
@@ -2176,15 +2176,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2176
2176
|
kind: "correction_approved";
|
|
2177
2177
|
correctionId: string;
|
|
2178
2178
|
approvedBy: {
|
|
2179
|
-
kind: "agent" | "human";
|
|
2180
|
-
label: string;
|
|
2181
2179
|
id: string;
|
|
2180
|
+
label: string;
|
|
2181
|
+
kind: "agent" | "human";
|
|
2182
2182
|
};
|
|
2183
2183
|
note?: string | undefined;
|
|
2184
2184
|
evidence?: {
|
|
2185
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2186
|
-
label: string;
|
|
2187
2185
|
id: string;
|
|
2186
|
+
label: string;
|
|
2187
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2188
2188
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2189
2189
|
locator?: string | undefined;
|
|
2190
2190
|
}[] | undefined;
|
|
@@ -2194,9 +2194,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2194
2194
|
correctionId: string;
|
|
2195
2195
|
replacementDecisionId: string;
|
|
2196
2196
|
evidence?: {
|
|
2197
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2198
|
-
label: string;
|
|
2199
2197
|
id: string;
|
|
2198
|
+
label: string;
|
|
2199
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2200
2200
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2201
2201
|
locator?: string | undefined;
|
|
2202
2202
|
}[] | undefined;
|
|
@@ -2209,9 +2209,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2209
2209
|
recallReceiptId: string;
|
|
2210
2210
|
capturedAtAction: boolean;
|
|
2211
2211
|
evidence?: {
|
|
2212
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2213
|
-
label: string;
|
|
2214
2212
|
id: string;
|
|
2213
|
+
label: string;
|
|
2214
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2215
2215
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2216
2216
|
locator?: string | undefined;
|
|
2217
2217
|
}[] | undefined;
|
|
@@ -2224,20 +2224,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
2224
2224
|
recallReceiptId: string;
|
|
2225
2225
|
staleDecisionAbsent: boolean;
|
|
2226
2226
|
evidence?: {
|
|
2227
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2228
|
-
label: string;
|
|
2229
2227
|
id: string;
|
|
2228
|
+
label: string;
|
|
2229
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2230
2230
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2231
2231
|
locator?: string | undefined;
|
|
2232
2232
|
}[] | undefined;
|
|
2233
2233
|
} | {
|
|
2234
|
-
kind: "mission_completed";
|
|
2235
2234
|
summary: string;
|
|
2235
|
+
kind: "mission_completed";
|
|
2236
2236
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2237
2237
|
evidence?: {
|
|
2238
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2239
|
-
label: string;
|
|
2240
2238
|
id: string;
|
|
2239
|
+
label: string;
|
|
2240
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2241
2241
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2242
2242
|
locator?: string | undefined;
|
|
2243
2243
|
}[] | undefined;
|
|
@@ -2258,15 +2258,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2258
2258
|
locator: z.ZodOptional<z.ZodString>;
|
|
2259
2259
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2260
2260
|
}, "strict", z.ZodTypeAny, {
|
|
2261
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2262
|
-
label: string;
|
|
2263
2261
|
id: string;
|
|
2262
|
+
label: string;
|
|
2263
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2264
2264
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2265
2265
|
locator?: string | undefined;
|
|
2266
2266
|
}, {
|
|
2267
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2268
|
-
label: string;
|
|
2269
2267
|
id: string;
|
|
2268
|
+
label: string;
|
|
2269
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2270
2270
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2271
2271
|
locator?: string | undefined;
|
|
2272
2272
|
}>, "many">>;
|
|
@@ -2274,9 +2274,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2274
2274
|
kind: "mission_started";
|
|
2275
2275
|
title: string;
|
|
2276
2276
|
evidence: {
|
|
2277
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2278
|
-
label: string;
|
|
2279
2277
|
id: string;
|
|
2278
|
+
label: string;
|
|
2279
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2280
2280
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2281
2281
|
locator?: string | undefined;
|
|
2282
2282
|
}[];
|
|
@@ -2288,9 +2288,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2288
2288
|
objective: string;
|
|
2289
2289
|
runMode: "replay" | "fixture" | "live";
|
|
2290
2290
|
evidence?: {
|
|
2291
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2292
|
-
label: string;
|
|
2293
2291
|
id: string;
|
|
2292
|
+
label: string;
|
|
2293
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2294
2294
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2295
2295
|
locator?: string | undefined;
|
|
2296
2296
|
}[] | undefined;
|
|
@@ -2306,15 +2306,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2306
2306
|
locator: z.ZodOptional<z.ZodString>;
|
|
2307
2307
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2308
2308
|
}, "strict", z.ZodTypeAny, {
|
|
2309
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2310
|
-
label: string;
|
|
2311
2309
|
id: string;
|
|
2310
|
+
label: string;
|
|
2311
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2312
2312
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2313
2313
|
locator?: string | undefined;
|
|
2314
2314
|
}, {
|
|
2315
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2316
|
-
label: string;
|
|
2317
2315
|
id: string;
|
|
2316
|
+
label: string;
|
|
2317
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2318
2318
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2319
2319
|
locator?: string | undefined;
|
|
2320
2320
|
}>, "many">>;
|
|
@@ -2322,32 +2322,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2322
2322
|
sessionId: z.ZodString;
|
|
2323
2323
|
kind: z.ZodLiteral<"agent_status">;
|
|
2324
2324
|
}, "strict", z.ZodTypeAny, {
|
|
2325
|
-
kind: "agent_status";
|
|
2326
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2327
2325
|
label: string;
|
|
2326
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2327
|
+
kind: "agent_status";
|
|
2328
2328
|
role: string;
|
|
2329
2329
|
agentId: string;
|
|
2330
2330
|
sessionId: string;
|
|
2331
2331
|
evidence: {
|
|
2332
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2333
|
-
label: string;
|
|
2334
2332
|
id: string;
|
|
2333
|
+
label: string;
|
|
2334
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2335
2335
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2336
2336
|
locator?: string | undefined;
|
|
2337
2337
|
}[];
|
|
2338
2338
|
detail?: string | undefined;
|
|
2339
2339
|
}, {
|
|
2340
|
-
kind: "agent_status";
|
|
2341
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2342
2340
|
label: string;
|
|
2341
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2342
|
+
kind: "agent_status";
|
|
2343
2343
|
role: string;
|
|
2344
2344
|
agentId: string;
|
|
2345
2345
|
sessionId: string;
|
|
2346
2346
|
detail?: string | undefined;
|
|
2347
2347
|
evidence?: {
|
|
2348
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2349
|
-
label: string;
|
|
2350
2348
|
id: string;
|
|
2349
|
+
label: string;
|
|
2350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2351
2351
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2352
2352
|
locator?: string | undefined;
|
|
2353
2353
|
}[] | undefined;
|
|
@@ -2361,15 +2361,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2361
2361
|
locator: z.ZodOptional<z.ZodString>;
|
|
2362
2362
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2363
2363
|
}, "strict", z.ZodTypeAny, {
|
|
2364
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2365
|
-
label: string;
|
|
2366
2364
|
id: string;
|
|
2365
|
+
label: string;
|
|
2366
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2367
2367
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2368
2368
|
locator?: string | undefined;
|
|
2369
2369
|
}, {
|
|
2370
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2371
|
-
label: string;
|
|
2372
2370
|
id: string;
|
|
2371
|
+
label: string;
|
|
2372
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2373
2373
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2374
2374
|
locator?: string | undefined;
|
|
2375
2375
|
}>, "many">>;
|
|
@@ -2377,28 +2377,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2377
2377
|
sessionId: z.ZodString;
|
|
2378
2378
|
kind: z.ZodLiteral<"agent_output">;
|
|
2379
2379
|
}, "strict", z.ZodTypeAny, {
|
|
2380
|
-
kind: "agent_output";
|
|
2381
2380
|
summary: string;
|
|
2381
|
+
kind: "agent_output";
|
|
2382
2382
|
agentId: string;
|
|
2383
2383
|
sessionId: string;
|
|
2384
2384
|
evidence: {
|
|
2385
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2386
|
-
label: string;
|
|
2387
2385
|
id: string;
|
|
2386
|
+
label: string;
|
|
2387
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2388
2388
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2389
2389
|
locator?: string | undefined;
|
|
2390
2390
|
}[];
|
|
2391
2391
|
outputId: string;
|
|
2392
2392
|
}, {
|
|
2393
|
-
kind: "agent_output";
|
|
2394
2393
|
summary: string;
|
|
2394
|
+
kind: "agent_output";
|
|
2395
2395
|
agentId: string;
|
|
2396
2396
|
sessionId: string;
|
|
2397
2397
|
outputId: string;
|
|
2398
2398
|
evidence?: {
|
|
2399
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2400
|
-
label: string;
|
|
2401
2399
|
id: string;
|
|
2400
|
+
label: string;
|
|
2401
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2402
2402
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2403
2403
|
locator?: string | undefined;
|
|
2404
2404
|
}[] | undefined;
|
|
@@ -2414,15 +2414,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2414
2414
|
locator: z.ZodOptional<z.ZodString>;
|
|
2415
2415
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2416
2416
|
}, "strict", z.ZodTypeAny, {
|
|
2417
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2418
|
-
label: string;
|
|
2419
2417
|
id: string;
|
|
2418
|
+
label: string;
|
|
2419
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2420
2420
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2421
2421
|
locator?: string | undefined;
|
|
2422
2422
|
}, {
|
|
2423
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2424
|
-
label: string;
|
|
2425
2423
|
id: string;
|
|
2424
|
+
label: string;
|
|
2425
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2426
2426
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2427
2427
|
locator?: string | undefined;
|
|
2428
2428
|
}>, "many">>;
|
|
@@ -2435,9 +2435,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2435
2435
|
statement: string;
|
|
2436
2436
|
sessionId: string;
|
|
2437
2437
|
evidence: {
|
|
2438
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2439
|
-
label: string;
|
|
2440
2438
|
id: string;
|
|
2439
|
+
label: string;
|
|
2440
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2441
2441
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2442
2442
|
locator?: string | undefined;
|
|
2443
2443
|
}[];
|
|
@@ -2453,9 +2453,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2453
2453
|
decisionId: string;
|
|
2454
2454
|
confidence?: number | undefined;
|
|
2455
2455
|
evidence?: {
|
|
2456
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2457
|
-
label: string;
|
|
2458
2456
|
id: string;
|
|
2457
|
+
label: string;
|
|
2458
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2459
2459
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2460
2460
|
locator?: string | undefined;
|
|
2461
2461
|
}[] | undefined;
|
|
@@ -2472,25 +2472,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2472
2472
|
locator: z.ZodOptional<z.ZodString>;
|
|
2473
2473
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2474
2474
|
}, "strict", z.ZodTypeAny, {
|
|
2475
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2476
|
-
label: string;
|
|
2477
2475
|
id: string;
|
|
2476
|
+
label: string;
|
|
2477
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2478
2478
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2479
2479
|
locator?: string | undefined;
|
|
2480
2480
|
}, {
|
|
2481
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2482
|
-
label: string;
|
|
2483
2481
|
id: string;
|
|
2482
|
+
label: string;
|
|
2483
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2484
2484
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2485
2485
|
locator?: string | undefined;
|
|
2486
2486
|
}>, "many">>;
|
|
2487
2487
|
}, "strict", z.ZodTypeAny, {
|
|
2488
|
-
kind: "conflict_detected";
|
|
2489
2488
|
summary: string;
|
|
2489
|
+
kind: "conflict_detected";
|
|
2490
2490
|
evidence: {
|
|
2491
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2492
|
-
label: string;
|
|
2493
2491
|
id: string;
|
|
2492
|
+
label: string;
|
|
2493
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2494
2494
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2495
2495
|
locator?: string | undefined;
|
|
2496
2496
|
}[];
|
|
@@ -2498,15 +2498,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2498
2498
|
decisionIds: string[];
|
|
2499
2499
|
agentIds: string[];
|
|
2500
2500
|
}, {
|
|
2501
|
-
kind: "conflict_detected";
|
|
2502
2501
|
summary: string;
|
|
2502
|
+
kind: "conflict_detected";
|
|
2503
2503
|
conflictId: string;
|
|
2504
2504
|
decisionIds: string[];
|
|
2505
2505
|
agentIds: string[];
|
|
2506
2506
|
evidence?: {
|
|
2507
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2508
|
-
label: string;
|
|
2509
2507
|
id: string;
|
|
2508
|
+
label: string;
|
|
2509
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2510
2510
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2511
2511
|
locator?: string | undefined;
|
|
2512
2512
|
}[] | undefined;
|
|
@@ -2526,27 +2526,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2526
2526
|
locator: z.ZodOptional<z.ZodString>;
|
|
2527
2527
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2528
2528
|
}, "strict", z.ZodTypeAny, {
|
|
2529
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2530
|
-
label: string;
|
|
2531
2529
|
id: string;
|
|
2530
|
+
label: string;
|
|
2531
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2532
2532
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2533
2533
|
locator?: string | undefined;
|
|
2534
2534
|
}, {
|
|
2535
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2536
|
-
label: string;
|
|
2537
2535
|
id: string;
|
|
2536
|
+
label: string;
|
|
2537
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2538
2538
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2539
2539
|
locator?: string | undefined;
|
|
2540
2540
|
}>, "many">>;
|
|
2541
2541
|
}, "strict", z.ZodTypeAny, {
|
|
2542
|
-
kind: "test_result";
|
|
2543
2542
|
summary: string;
|
|
2544
2543
|
status: "error" | "failed" | "passed";
|
|
2544
|
+
kind: "test_result";
|
|
2545
2545
|
command: string;
|
|
2546
2546
|
evidence: {
|
|
2547
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2548
|
-
label: string;
|
|
2549
2547
|
id: string;
|
|
2548
|
+
label: string;
|
|
2549
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2550
2550
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2551
2551
|
locator?: string | undefined;
|
|
2552
2552
|
}[];
|
|
@@ -2555,17 +2555,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2555
2555
|
durationMs?: number | undefined;
|
|
2556
2556
|
correctionId?: string | undefined;
|
|
2557
2557
|
}, {
|
|
2558
|
-
kind: "test_result";
|
|
2559
2558
|
summary: string;
|
|
2560
2559
|
status: "error" | "failed" | "passed";
|
|
2560
|
+
kind: "test_result";
|
|
2561
2561
|
command: string;
|
|
2562
2562
|
decisionId: string;
|
|
2563
2563
|
testId: string;
|
|
2564
2564
|
durationMs?: number | undefined;
|
|
2565
2565
|
evidence?: {
|
|
2566
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2567
|
-
label: string;
|
|
2568
2566
|
id: string;
|
|
2567
|
+
label: string;
|
|
2568
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2569
2569
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2570
2570
|
locator?: string | undefined;
|
|
2571
2571
|
}[] | undefined;
|
|
@@ -2586,15 +2586,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2586
2586
|
locator: z.ZodOptional<z.ZodString>;
|
|
2587
2587
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2588
2588
|
}, "strict", z.ZodTypeAny, {
|
|
2589
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2590
|
-
label: string;
|
|
2591
2589
|
id: string;
|
|
2590
|
+
label: string;
|
|
2591
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2592
2592
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2593
2593
|
locator?: string | undefined;
|
|
2594
2594
|
}, {
|
|
2595
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2596
|
-
label: string;
|
|
2597
2595
|
id: string;
|
|
2596
|
+
label: string;
|
|
2597
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2598
2598
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2599
2599
|
locator?: string | undefined;
|
|
2600
2600
|
}>, "many">>;
|
|
@@ -2603,9 +2603,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2603
2603
|
statement: string;
|
|
2604
2604
|
rationale: string;
|
|
2605
2605
|
evidence: {
|
|
2606
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2607
|
-
label: string;
|
|
2608
2606
|
id: string;
|
|
2607
|
+
label: string;
|
|
2608
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2609
2609
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2610
2610
|
locator?: string | undefined;
|
|
2611
2611
|
}[];
|
|
@@ -2624,9 +2624,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2624
2624
|
supersedesDecisionIds: string[];
|
|
2625
2625
|
proposedBy: string;
|
|
2626
2626
|
evidence?: {
|
|
2627
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2628
|
-
label: string;
|
|
2629
2627
|
id: string;
|
|
2628
|
+
label: string;
|
|
2629
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2630
2630
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2631
2631
|
locator?: string | undefined;
|
|
2632
2632
|
}[] | undefined;
|
|
@@ -2638,13 +2638,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2638
2638
|
id: z.ZodString;
|
|
2639
2639
|
label: z.ZodString;
|
|
2640
2640
|
}, "strict", z.ZodTypeAny, {
|
|
2641
|
-
kind: "agent" | "human";
|
|
2642
|
-
label: string;
|
|
2643
2641
|
id: string;
|
|
2644
|
-
}, {
|
|
2645
|
-
kind: "agent" | "human";
|
|
2646
2642
|
label: string;
|
|
2643
|
+
kind: "agent" | "human";
|
|
2644
|
+
}, {
|
|
2647
2645
|
id: string;
|
|
2646
|
+
label: string;
|
|
2647
|
+
kind: "agent" | "human";
|
|
2648
2648
|
}>;
|
|
2649
2649
|
note: z.ZodOptional<z.ZodString>;
|
|
2650
2650
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2654,47 +2654,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2654
2654
|
locator: z.ZodOptional<z.ZodString>;
|
|
2655
2655
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2656
2656
|
}, "strict", z.ZodTypeAny, {
|
|
2657
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2658
|
-
label: string;
|
|
2659
2657
|
id: string;
|
|
2658
|
+
label: string;
|
|
2659
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2660
2660
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2661
2661
|
locator?: string | undefined;
|
|
2662
2662
|
}, {
|
|
2663
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2664
|
-
label: string;
|
|
2665
2663
|
id: string;
|
|
2664
|
+
label: string;
|
|
2665
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2666
2666
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2667
2667
|
locator?: string | undefined;
|
|
2668
2668
|
}>, "many">>;
|
|
2669
2669
|
}, "strict", z.ZodTypeAny, {
|
|
2670
2670
|
kind: "correction_approved";
|
|
2671
2671
|
evidence: {
|
|
2672
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2673
|
-
label: string;
|
|
2674
2672
|
id: string;
|
|
2673
|
+
label: string;
|
|
2674
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2675
2675
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2676
2676
|
locator?: string | undefined;
|
|
2677
2677
|
}[];
|
|
2678
2678
|
correctionId: string;
|
|
2679
2679
|
approvedBy: {
|
|
2680
|
-
kind: "agent" | "human";
|
|
2681
|
-
label: string;
|
|
2682
2680
|
id: string;
|
|
2681
|
+
label: string;
|
|
2682
|
+
kind: "agent" | "human";
|
|
2683
2683
|
};
|
|
2684
2684
|
note?: string | undefined;
|
|
2685
2685
|
}, {
|
|
2686
2686
|
kind: "correction_approved";
|
|
2687
2687
|
correctionId: string;
|
|
2688
2688
|
approvedBy: {
|
|
2689
|
-
kind: "agent" | "human";
|
|
2690
|
-
label: string;
|
|
2691
2689
|
id: string;
|
|
2690
|
+
label: string;
|
|
2691
|
+
kind: "agent" | "human";
|
|
2692
2692
|
};
|
|
2693
2693
|
note?: string | undefined;
|
|
2694
2694
|
evidence?: {
|
|
2695
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2696
|
-
label: string;
|
|
2697
2695
|
id: string;
|
|
2696
|
+
label: string;
|
|
2697
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2698
2698
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2699
2699
|
locator?: string | undefined;
|
|
2700
2700
|
}[] | undefined;
|
|
@@ -2710,24 +2710,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2710
2710
|
locator: z.ZodOptional<z.ZodString>;
|
|
2711
2711
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2712
2712
|
}, "strict", z.ZodTypeAny, {
|
|
2713
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2714
|
-
label: string;
|
|
2715
2713
|
id: string;
|
|
2714
|
+
label: string;
|
|
2715
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2716
2716
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2717
2717
|
locator?: string | undefined;
|
|
2718
2718
|
}, {
|
|
2719
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2720
|
-
label: string;
|
|
2721
2719
|
id: string;
|
|
2720
|
+
label: string;
|
|
2721
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2722
2722
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2723
2723
|
locator?: string | undefined;
|
|
2724
2724
|
}>, "many">>;
|
|
2725
2725
|
}, "strict", z.ZodTypeAny, {
|
|
2726
2726
|
kind: "decision_superseded";
|
|
2727
2727
|
evidence: {
|
|
2728
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2729
|
-
label: string;
|
|
2730
2728
|
id: string;
|
|
2729
|
+
label: string;
|
|
2730
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2731
2731
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2732
2732
|
locator?: string | undefined;
|
|
2733
2733
|
}[];
|
|
@@ -2740,9 +2740,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2740
2740
|
correctionId: string;
|
|
2741
2741
|
replacementDecisionId: string;
|
|
2742
2742
|
evidence?: {
|
|
2743
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2744
|
-
label: string;
|
|
2745
2743
|
id: string;
|
|
2744
|
+
label: string;
|
|
2745
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2746
2746
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2747
2747
|
locator?: string | undefined;
|
|
2748
2748
|
}[] | undefined;
|
|
@@ -2758,15 +2758,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2758
2758
|
locator: z.ZodOptional<z.ZodString>;
|
|
2759
2759
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2760
2760
|
}, "strict", z.ZodTypeAny, {
|
|
2761
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2762
|
-
label: string;
|
|
2763
2761
|
id: string;
|
|
2762
|
+
label: string;
|
|
2763
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2764
2764
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2765
2765
|
locator?: string | undefined;
|
|
2766
2766
|
}, {
|
|
2767
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2768
|
-
label: string;
|
|
2769
2767
|
id: string;
|
|
2768
|
+
label: string;
|
|
2769
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2770
2770
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2771
2771
|
locator?: string | undefined;
|
|
2772
2772
|
}>, "many">>;
|
|
@@ -2779,9 +2779,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2779
2779
|
agentId: string;
|
|
2780
2780
|
sessionId: string;
|
|
2781
2781
|
evidence: {
|
|
2782
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2783
|
-
label: string;
|
|
2784
2782
|
id: string;
|
|
2783
|
+
label: string;
|
|
2784
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2785
2785
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2786
2786
|
locator?: string | undefined;
|
|
2787
2787
|
}[];
|
|
@@ -2797,9 +2797,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2797
2797
|
recallReceiptId: string;
|
|
2798
2798
|
capturedAtAction: boolean;
|
|
2799
2799
|
evidence?: {
|
|
2800
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2801
|
-
label: string;
|
|
2802
2800
|
id: string;
|
|
2801
|
+
label: string;
|
|
2802
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2803
2803
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2804
2804
|
locator?: string | undefined;
|
|
2805
2805
|
}[] | undefined;
|
|
@@ -2815,15 +2815,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2815
2815
|
locator: z.ZodOptional<z.ZodString>;
|
|
2816
2816
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2817
2817
|
}, "strict", z.ZodTypeAny, {
|
|
2818
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2819
|
-
label: string;
|
|
2820
2818
|
id: string;
|
|
2819
|
+
label: string;
|
|
2820
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2821
2821
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2822
2822
|
locator?: string | undefined;
|
|
2823
2823
|
}, {
|
|
2824
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2825
|
-
label: string;
|
|
2826
2824
|
id: string;
|
|
2825
|
+
label: string;
|
|
2826
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2827
2827
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2828
2828
|
locator?: string | undefined;
|
|
2829
2829
|
}>, "many">>;
|
|
@@ -2835,9 +2835,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2835
2835
|
agentId: string;
|
|
2836
2836
|
sessionId: string;
|
|
2837
2837
|
evidence: {
|
|
2838
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2839
|
-
label: string;
|
|
2840
2838
|
id: string;
|
|
2839
|
+
label: string;
|
|
2840
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2841
2841
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2842
2842
|
locator?: string | undefined;
|
|
2843
2843
|
}[];
|
|
@@ -2854,9 +2854,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2854
2854
|
recallReceiptId: string;
|
|
2855
2855
|
staleDecisionAbsent: boolean;
|
|
2856
2856
|
evidence?: {
|
|
2857
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2858
|
-
label: string;
|
|
2859
2857
|
id: string;
|
|
2858
|
+
label: string;
|
|
2859
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2860
2860
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2861
2861
|
locator?: string | undefined;
|
|
2862
2862
|
}[] | undefined;
|
|
@@ -2871,37 +2871,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2871
2871
|
locator: z.ZodOptional<z.ZodString>;
|
|
2872
2872
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2873
2873
|
}, "strict", z.ZodTypeAny, {
|
|
2874
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2875
|
-
label: string;
|
|
2876
2874
|
id: string;
|
|
2875
|
+
label: string;
|
|
2876
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2877
2877
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2878
2878
|
locator?: string | undefined;
|
|
2879
2879
|
}, {
|
|
2880
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2881
|
-
label: string;
|
|
2882
2880
|
id: string;
|
|
2881
|
+
label: string;
|
|
2882
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2883
2883
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2884
2884
|
locator?: string | undefined;
|
|
2885
2885
|
}>, "many">>;
|
|
2886
2886
|
}, "strict", z.ZodTypeAny, {
|
|
2887
|
-
kind: "mission_completed";
|
|
2888
2887
|
summary: string;
|
|
2888
|
+
kind: "mission_completed";
|
|
2889
2889
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2890
2890
|
evidence: {
|
|
2891
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2892
|
-
label: string;
|
|
2893
2891
|
id: string;
|
|
2892
|
+
label: string;
|
|
2893
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2894
2894
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2895
2895
|
locator?: string | undefined;
|
|
2896
2896
|
}[];
|
|
2897
2897
|
}, {
|
|
2898
|
-
kind: "mission_completed";
|
|
2899
2898
|
summary: string;
|
|
2899
|
+
kind: "mission_completed";
|
|
2900
2900
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2901
2901
|
evidence?: {
|
|
2902
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2903
|
-
label: string;
|
|
2904
2902
|
id: string;
|
|
2903
|
+
label: string;
|
|
2904
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2905
2905
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2906
2906
|
locator?: string | undefined;
|
|
2907
2907
|
}[] | undefined;
|
|
@@ -2909,38 +2909,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2909
2909
|
kind: "mission_started";
|
|
2910
2910
|
title: string;
|
|
2911
2911
|
evidence: {
|
|
2912
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2913
|
-
label: string;
|
|
2914
2912
|
id: string;
|
|
2913
|
+
label: string;
|
|
2914
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2915
2915
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2916
2916
|
locator?: string | undefined;
|
|
2917
2917
|
}[];
|
|
2918
2918
|
objective: string;
|
|
2919
2919
|
runMode: "replay" | "fixture" | "live";
|
|
2920
2920
|
} | {
|
|
2921
|
-
kind: "agent_status";
|
|
2922
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2923
2921
|
label: string;
|
|
2922
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2923
|
+
kind: "agent_status";
|
|
2924
2924
|
role: string;
|
|
2925
2925
|
agentId: string;
|
|
2926
2926
|
sessionId: string;
|
|
2927
2927
|
evidence: {
|
|
2928
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2929
|
-
label: string;
|
|
2930
2928
|
id: string;
|
|
2929
|
+
label: string;
|
|
2930
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2931
2931
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2932
2932
|
locator?: string | undefined;
|
|
2933
2933
|
}[];
|
|
2934
2934
|
detail?: string | undefined;
|
|
2935
2935
|
} | {
|
|
2936
|
-
kind: "agent_output";
|
|
2937
2936
|
summary: string;
|
|
2937
|
+
kind: "agent_output";
|
|
2938
2938
|
agentId: string;
|
|
2939
2939
|
sessionId: string;
|
|
2940
2940
|
evidence: {
|
|
2941
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2942
|
-
label: string;
|
|
2943
2941
|
id: string;
|
|
2942
|
+
label: string;
|
|
2943
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2944
2944
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2945
2945
|
locator?: string | undefined;
|
|
2946
2946
|
}[];
|
|
@@ -2951,9 +2951,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2951
2951
|
statement: string;
|
|
2952
2952
|
sessionId: string;
|
|
2953
2953
|
evidence: {
|
|
2954
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2955
|
-
label: string;
|
|
2956
2954
|
id: string;
|
|
2955
|
+
label: string;
|
|
2956
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2957
2957
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2958
2958
|
locator?: string | undefined;
|
|
2959
2959
|
}[];
|
|
@@ -2961,12 +2961,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2961
2961
|
decisionId: string;
|
|
2962
2962
|
confidence?: number | undefined;
|
|
2963
2963
|
} | {
|
|
2964
|
-
kind: "conflict_detected";
|
|
2965
2964
|
summary: string;
|
|
2965
|
+
kind: "conflict_detected";
|
|
2966
2966
|
evidence: {
|
|
2967
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2968
|
-
label: string;
|
|
2969
2967
|
id: string;
|
|
2968
|
+
label: string;
|
|
2969
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2970
2970
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2971
2971
|
locator?: string | undefined;
|
|
2972
2972
|
}[];
|
|
@@ -2974,14 +2974,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2974
2974
|
decisionIds: string[];
|
|
2975
2975
|
agentIds: string[];
|
|
2976
2976
|
} | {
|
|
2977
|
-
kind: "test_result";
|
|
2978
2977
|
summary: string;
|
|
2979
2978
|
status: "error" | "failed" | "passed";
|
|
2979
|
+
kind: "test_result";
|
|
2980
2980
|
command: string;
|
|
2981
2981
|
evidence: {
|
|
2982
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2983
|
-
label: string;
|
|
2984
2982
|
id: string;
|
|
2983
|
+
label: string;
|
|
2984
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2985
2985
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2986
2986
|
locator?: string | undefined;
|
|
2987
2987
|
}[];
|
|
@@ -2994,9 +2994,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2994
2994
|
statement: string;
|
|
2995
2995
|
rationale: string;
|
|
2996
2996
|
evidence: {
|
|
2997
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2998
|
-
label: string;
|
|
2999
2997
|
id: string;
|
|
2998
|
+
label: string;
|
|
2999
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3000
3000
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3001
3001
|
locator?: string | undefined;
|
|
3002
3002
|
}[];
|
|
@@ -3008,25 +3008,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3008
3008
|
} | {
|
|
3009
3009
|
kind: "correction_approved";
|
|
3010
3010
|
evidence: {
|
|
3011
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3012
|
-
label: string;
|
|
3013
3011
|
id: string;
|
|
3012
|
+
label: string;
|
|
3013
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3014
3014
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3015
3015
|
locator?: string | undefined;
|
|
3016
3016
|
}[];
|
|
3017
3017
|
correctionId: string;
|
|
3018
3018
|
approvedBy: {
|
|
3019
|
-
kind: "agent" | "human";
|
|
3020
|
-
label: string;
|
|
3021
3019
|
id: string;
|
|
3020
|
+
label: string;
|
|
3021
|
+
kind: "agent" | "human";
|
|
3022
3022
|
};
|
|
3023
3023
|
note?: string | undefined;
|
|
3024
3024
|
} | {
|
|
3025
3025
|
kind: "decision_superseded";
|
|
3026
3026
|
evidence: {
|
|
3027
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3028
|
-
label: string;
|
|
3029
3027
|
id: string;
|
|
3028
|
+
label: string;
|
|
3029
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3030
3030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3031
3031
|
locator?: string | undefined;
|
|
3032
3032
|
}[];
|
|
@@ -3039,9 +3039,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3039
3039
|
agentId: string;
|
|
3040
3040
|
sessionId: string;
|
|
3041
3041
|
evidence: {
|
|
3042
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3043
|
-
label: string;
|
|
3044
3042
|
id: string;
|
|
3043
|
+
label: string;
|
|
3044
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3045
3045
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3046
3046
|
locator?: string | undefined;
|
|
3047
3047
|
}[];
|
|
@@ -3053,9 +3053,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3053
3053
|
agentId: string;
|
|
3054
3054
|
sessionId: string;
|
|
3055
3055
|
evidence: {
|
|
3056
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3057
|
-
label: string;
|
|
3058
3056
|
id: string;
|
|
3057
|
+
label: string;
|
|
3058
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3059
3059
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3060
3060
|
locator?: string | undefined;
|
|
3061
3061
|
}[];
|
|
@@ -3064,13 +3064,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3064
3064
|
recallReceiptId: string;
|
|
3065
3065
|
staleDecisionAbsent: boolean;
|
|
3066
3066
|
} | {
|
|
3067
|
-
kind: "mission_completed";
|
|
3068
3067
|
summary: string;
|
|
3068
|
+
kind: "mission_completed";
|
|
3069
3069
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3070
3070
|
evidence: {
|
|
3071
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3072
|
-
label: string;
|
|
3073
3071
|
id: string;
|
|
3072
|
+
label: string;
|
|
3073
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3074
3074
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3075
3075
|
locator?: string | undefined;
|
|
3076
3076
|
}[];
|
|
@@ -3080,37 +3080,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3080
3080
|
objective: string;
|
|
3081
3081
|
runMode: "replay" | "fixture" | "live";
|
|
3082
3082
|
evidence?: {
|
|
3083
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3084
|
-
label: string;
|
|
3085
3083
|
id: string;
|
|
3084
|
+
label: string;
|
|
3085
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3086
3086
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3087
3087
|
locator?: string | undefined;
|
|
3088
3088
|
}[] | undefined;
|
|
3089
3089
|
} | {
|
|
3090
|
-
kind: "agent_status";
|
|
3091
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3092
3090
|
label: string;
|
|
3091
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3092
|
+
kind: "agent_status";
|
|
3093
3093
|
role: string;
|
|
3094
3094
|
agentId: string;
|
|
3095
3095
|
sessionId: string;
|
|
3096
3096
|
detail?: string | undefined;
|
|
3097
3097
|
evidence?: {
|
|
3098
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3099
|
-
label: string;
|
|
3100
3098
|
id: string;
|
|
3099
|
+
label: string;
|
|
3100
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3101
3101
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3102
3102
|
locator?: string | undefined;
|
|
3103
3103
|
}[] | undefined;
|
|
3104
3104
|
} | {
|
|
3105
|
-
kind: "agent_output";
|
|
3106
3105
|
summary: string;
|
|
3106
|
+
kind: "agent_output";
|
|
3107
3107
|
agentId: string;
|
|
3108
3108
|
sessionId: string;
|
|
3109
3109
|
outputId: string;
|
|
3110
3110
|
evidence?: {
|
|
3111
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3112
|
-
label: string;
|
|
3113
3111
|
id: string;
|
|
3112
|
+
label: string;
|
|
3113
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3114
3114
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3115
3115
|
locator?: string | undefined;
|
|
3116
3116
|
}[] | undefined;
|
|
@@ -3123,37 +3123,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3123
3123
|
decisionId: string;
|
|
3124
3124
|
confidence?: number | undefined;
|
|
3125
3125
|
evidence?: {
|
|
3126
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3127
|
-
label: string;
|
|
3128
3126
|
id: string;
|
|
3127
|
+
label: string;
|
|
3128
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3129
3129
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3130
3130
|
locator?: string | undefined;
|
|
3131
3131
|
}[] | undefined;
|
|
3132
3132
|
} | {
|
|
3133
|
-
kind: "conflict_detected";
|
|
3134
3133
|
summary: string;
|
|
3134
|
+
kind: "conflict_detected";
|
|
3135
3135
|
conflictId: string;
|
|
3136
3136
|
decisionIds: string[];
|
|
3137
3137
|
agentIds: string[];
|
|
3138
3138
|
evidence?: {
|
|
3139
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3140
|
-
label: string;
|
|
3141
3139
|
id: string;
|
|
3140
|
+
label: string;
|
|
3141
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3142
3142
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3143
3143
|
locator?: string | undefined;
|
|
3144
3144
|
}[] | undefined;
|
|
3145
3145
|
} | {
|
|
3146
|
-
kind: "test_result";
|
|
3147
3146
|
summary: string;
|
|
3148
3147
|
status: "error" | "failed" | "passed";
|
|
3148
|
+
kind: "test_result";
|
|
3149
3149
|
command: string;
|
|
3150
3150
|
decisionId: string;
|
|
3151
3151
|
testId: string;
|
|
3152
3152
|
durationMs?: number | undefined;
|
|
3153
3153
|
evidence?: {
|
|
3154
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3155
|
-
label: string;
|
|
3156
3154
|
id: string;
|
|
3155
|
+
label: string;
|
|
3156
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3157
3157
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3158
3158
|
locator?: string | undefined;
|
|
3159
3159
|
}[] | undefined;
|
|
@@ -3168,9 +3168,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3168
3168
|
supersedesDecisionIds: string[];
|
|
3169
3169
|
proposedBy: string;
|
|
3170
3170
|
evidence?: {
|
|
3171
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3172
|
-
label: string;
|
|
3173
3171
|
id: string;
|
|
3172
|
+
label: string;
|
|
3173
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3174
3174
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3175
3175
|
locator?: string | undefined;
|
|
3176
3176
|
}[] | undefined;
|
|
@@ -3178,15 +3178,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3178
3178
|
kind: "correction_approved";
|
|
3179
3179
|
correctionId: string;
|
|
3180
3180
|
approvedBy: {
|
|
3181
|
-
kind: "agent" | "human";
|
|
3182
|
-
label: string;
|
|
3183
3181
|
id: string;
|
|
3182
|
+
label: string;
|
|
3183
|
+
kind: "agent" | "human";
|
|
3184
3184
|
};
|
|
3185
3185
|
note?: string | undefined;
|
|
3186
3186
|
evidence?: {
|
|
3187
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3188
|
-
label: string;
|
|
3189
3187
|
id: string;
|
|
3188
|
+
label: string;
|
|
3189
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3190
3190
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3191
3191
|
locator?: string | undefined;
|
|
3192
3192
|
}[] | undefined;
|
|
@@ -3196,9 +3196,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3196
3196
|
correctionId: string;
|
|
3197
3197
|
replacementDecisionId: string;
|
|
3198
3198
|
evidence?: {
|
|
3199
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3200
|
-
label: string;
|
|
3201
3199
|
id: string;
|
|
3200
|
+
label: string;
|
|
3201
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3202
3202
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3203
3203
|
locator?: string | undefined;
|
|
3204
3204
|
}[] | undefined;
|
|
@@ -3211,9 +3211,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3211
3211
|
recallReceiptId: string;
|
|
3212
3212
|
capturedAtAction: boolean;
|
|
3213
3213
|
evidence?: {
|
|
3214
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3215
|
-
label: string;
|
|
3216
3214
|
id: string;
|
|
3215
|
+
label: string;
|
|
3216
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3217
3217
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3218
3218
|
locator?: string | undefined;
|
|
3219
3219
|
}[] | undefined;
|
|
@@ -3226,20 +3226,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3226
3226
|
recallReceiptId: string;
|
|
3227
3227
|
staleDecisionAbsent: boolean;
|
|
3228
3228
|
evidence?: {
|
|
3229
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3230
|
-
label: string;
|
|
3231
3229
|
id: string;
|
|
3230
|
+
label: string;
|
|
3231
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3232
3232
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3233
3233
|
locator?: string | undefined;
|
|
3234
3234
|
}[] | undefined;
|
|
3235
3235
|
} | {
|
|
3236
|
-
kind: "mission_completed";
|
|
3237
3236
|
summary: string;
|
|
3237
|
+
kind: "mission_completed";
|
|
3238
3238
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3239
3239
|
evidence?: {
|
|
3240
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3241
|
-
label: string;
|
|
3242
3240
|
id: string;
|
|
3241
|
+
label: string;
|
|
3242
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3243
3243
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3244
3244
|
locator?: string | undefined;
|
|
3245
3245
|
}[] | undefined;
|
|
@@ -3249,38 +3249,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3249
3249
|
kind: "mission_started";
|
|
3250
3250
|
title: string;
|
|
3251
3251
|
evidence: {
|
|
3252
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3253
|
-
label: string;
|
|
3254
3252
|
id: string;
|
|
3253
|
+
label: string;
|
|
3254
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3255
3255
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3256
3256
|
locator?: string | undefined;
|
|
3257
3257
|
}[];
|
|
3258
3258
|
objective: string;
|
|
3259
3259
|
runMode: "replay" | "fixture" | "live";
|
|
3260
3260
|
} | {
|
|
3261
|
-
kind: "agent_status";
|
|
3262
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3263
3261
|
label: string;
|
|
3262
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3263
|
+
kind: "agent_status";
|
|
3264
3264
|
role: string;
|
|
3265
3265
|
agentId: string;
|
|
3266
3266
|
sessionId: string;
|
|
3267
3267
|
evidence: {
|
|
3268
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3269
|
-
label: string;
|
|
3270
3268
|
id: string;
|
|
3269
|
+
label: string;
|
|
3270
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3271
3271
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3272
3272
|
locator?: string | undefined;
|
|
3273
3273
|
}[];
|
|
3274
3274
|
detail?: string | undefined;
|
|
3275
3275
|
} | {
|
|
3276
|
-
kind: "agent_output";
|
|
3277
3276
|
summary: string;
|
|
3277
|
+
kind: "agent_output";
|
|
3278
3278
|
agentId: string;
|
|
3279
3279
|
sessionId: string;
|
|
3280
3280
|
evidence: {
|
|
3281
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3282
|
-
label: string;
|
|
3283
3281
|
id: string;
|
|
3282
|
+
label: string;
|
|
3283
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3284
3284
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3285
3285
|
locator?: string | undefined;
|
|
3286
3286
|
}[];
|
|
@@ -3291,9 +3291,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3291
3291
|
statement: string;
|
|
3292
3292
|
sessionId: string;
|
|
3293
3293
|
evidence: {
|
|
3294
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3295
|
-
label: string;
|
|
3296
3294
|
id: string;
|
|
3295
|
+
label: string;
|
|
3296
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3297
3297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3298
3298
|
locator?: string | undefined;
|
|
3299
3299
|
}[];
|
|
@@ -3301,12 +3301,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3301
3301
|
decisionId: string;
|
|
3302
3302
|
confidence?: number | undefined;
|
|
3303
3303
|
} | {
|
|
3304
|
-
kind: "conflict_detected";
|
|
3305
3304
|
summary: string;
|
|
3305
|
+
kind: "conflict_detected";
|
|
3306
3306
|
evidence: {
|
|
3307
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3308
|
-
label: string;
|
|
3309
3307
|
id: string;
|
|
3308
|
+
label: string;
|
|
3309
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3310
3310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3311
3311
|
locator?: string | undefined;
|
|
3312
3312
|
}[];
|
|
@@ -3314,14 +3314,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3314
3314
|
decisionIds: string[];
|
|
3315
3315
|
agentIds: string[];
|
|
3316
3316
|
} | {
|
|
3317
|
-
kind: "test_result";
|
|
3318
3317
|
summary: string;
|
|
3319
3318
|
status: "error" | "failed" | "passed";
|
|
3319
|
+
kind: "test_result";
|
|
3320
3320
|
command: string;
|
|
3321
3321
|
evidence: {
|
|
3322
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3323
|
-
label: string;
|
|
3324
3322
|
id: string;
|
|
3323
|
+
label: string;
|
|
3324
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3325
3325
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3326
3326
|
locator?: string | undefined;
|
|
3327
3327
|
}[];
|
|
@@ -3334,9 +3334,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3334
3334
|
statement: string;
|
|
3335
3335
|
rationale: string;
|
|
3336
3336
|
evidence: {
|
|
3337
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3338
|
-
label: string;
|
|
3339
3337
|
id: string;
|
|
3338
|
+
label: string;
|
|
3339
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3340
3340
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3341
3341
|
locator?: string | undefined;
|
|
3342
3342
|
}[];
|
|
@@ -3348,25 +3348,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3348
3348
|
} | {
|
|
3349
3349
|
kind: "correction_approved";
|
|
3350
3350
|
evidence: {
|
|
3351
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3352
|
-
label: string;
|
|
3353
3351
|
id: string;
|
|
3352
|
+
label: string;
|
|
3353
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3354
3354
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3355
3355
|
locator?: string | undefined;
|
|
3356
3356
|
}[];
|
|
3357
3357
|
correctionId: string;
|
|
3358
3358
|
approvedBy: {
|
|
3359
|
-
kind: "agent" | "human";
|
|
3360
|
-
label: string;
|
|
3361
3359
|
id: string;
|
|
3360
|
+
label: string;
|
|
3361
|
+
kind: "agent" | "human";
|
|
3362
3362
|
};
|
|
3363
3363
|
note?: string | undefined;
|
|
3364
3364
|
} | {
|
|
3365
3365
|
kind: "decision_superseded";
|
|
3366
3366
|
evidence: {
|
|
3367
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3368
|
-
label: string;
|
|
3369
3367
|
id: string;
|
|
3368
|
+
label: string;
|
|
3369
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3370
3370
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3371
3371
|
locator?: string | undefined;
|
|
3372
3372
|
}[];
|
|
@@ -3379,9 +3379,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3379
3379
|
agentId: string;
|
|
3380
3380
|
sessionId: string;
|
|
3381
3381
|
evidence: {
|
|
3382
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3383
|
-
label: string;
|
|
3384
3382
|
id: string;
|
|
3383
|
+
label: string;
|
|
3384
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3385
3385
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3386
3386
|
locator?: string | undefined;
|
|
3387
3387
|
}[];
|
|
@@ -3393,9 +3393,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3393
3393
|
agentId: string;
|
|
3394
3394
|
sessionId: string;
|
|
3395
3395
|
evidence: {
|
|
3396
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3397
|
-
label: string;
|
|
3398
3396
|
id: string;
|
|
3397
|
+
label: string;
|
|
3398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3399
3399
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3400
3400
|
locator?: string | undefined;
|
|
3401
3401
|
}[];
|
|
@@ -3404,13 +3404,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3404
3404
|
recallReceiptId: string;
|
|
3405
3405
|
staleDecisionAbsent: boolean;
|
|
3406
3406
|
} | {
|
|
3407
|
-
kind: "mission_completed";
|
|
3408
3407
|
summary: string;
|
|
3408
|
+
kind: "mission_completed";
|
|
3409
3409
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3410
3410
|
evidence: {
|
|
3411
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3412
|
-
label: string;
|
|
3413
3411
|
id: string;
|
|
3412
|
+
label: string;
|
|
3413
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3414
3414
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3415
3415
|
locator?: string | undefined;
|
|
3416
3416
|
}[];
|
|
@@ -3424,37 +3424,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3424
3424
|
objective: string;
|
|
3425
3425
|
runMode: "replay" | "fixture" | "live";
|
|
3426
3426
|
evidence?: {
|
|
3427
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3428
|
-
label: string;
|
|
3429
3427
|
id: string;
|
|
3428
|
+
label: string;
|
|
3429
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3430
3430
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3431
3431
|
locator?: string | undefined;
|
|
3432
3432
|
}[] | undefined;
|
|
3433
3433
|
} | {
|
|
3434
|
-
kind: "agent_status";
|
|
3435
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3436
3434
|
label: string;
|
|
3435
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3436
|
+
kind: "agent_status";
|
|
3437
3437
|
role: string;
|
|
3438
3438
|
agentId: string;
|
|
3439
3439
|
sessionId: string;
|
|
3440
3440
|
detail?: string | undefined;
|
|
3441
3441
|
evidence?: {
|
|
3442
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3443
|
-
label: string;
|
|
3444
3442
|
id: string;
|
|
3443
|
+
label: string;
|
|
3444
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3445
3445
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3446
3446
|
locator?: string | undefined;
|
|
3447
3447
|
}[] | undefined;
|
|
3448
3448
|
} | {
|
|
3449
|
-
kind: "agent_output";
|
|
3450
3449
|
summary: string;
|
|
3450
|
+
kind: "agent_output";
|
|
3451
3451
|
agentId: string;
|
|
3452
3452
|
sessionId: string;
|
|
3453
3453
|
outputId: string;
|
|
3454
3454
|
evidence?: {
|
|
3455
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3456
|
-
label: string;
|
|
3457
3455
|
id: string;
|
|
3456
|
+
label: string;
|
|
3457
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3458
3458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3459
3459
|
locator?: string | undefined;
|
|
3460
3460
|
}[] | undefined;
|
|
@@ -3467,37 +3467,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3467
3467
|
decisionId: string;
|
|
3468
3468
|
confidence?: number | undefined;
|
|
3469
3469
|
evidence?: {
|
|
3470
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3471
|
-
label: string;
|
|
3472
3470
|
id: string;
|
|
3471
|
+
label: string;
|
|
3472
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3473
3473
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3474
3474
|
locator?: string | undefined;
|
|
3475
3475
|
}[] | undefined;
|
|
3476
3476
|
} | {
|
|
3477
|
-
kind: "conflict_detected";
|
|
3478
3477
|
summary: string;
|
|
3478
|
+
kind: "conflict_detected";
|
|
3479
3479
|
conflictId: string;
|
|
3480
3480
|
decisionIds: string[];
|
|
3481
3481
|
agentIds: string[];
|
|
3482
3482
|
evidence?: {
|
|
3483
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3484
|
-
label: string;
|
|
3485
3483
|
id: string;
|
|
3484
|
+
label: string;
|
|
3485
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3486
3486
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3487
3487
|
locator?: string | undefined;
|
|
3488
3488
|
}[] | undefined;
|
|
3489
3489
|
} | {
|
|
3490
|
-
kind: "test_result";
|
|
3491
3490
|
summary: string;
|
|
3492
3491
|
status: "error" | "failed" | "passed";
|
|
3492
|
+
kind: "test_result";
|
|
3493
3493
|
command: string;
|
|
3494
3494
|
decisionId: string;
|
|
3495
3495
|
testId: string;
|
|
3496
3496
|
durationMs?: number | undefined;
|
|
3497
3497
|
evidence?: {
|
|
3498
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3499
|
-
label: string;
|
|
3500
3498
|
id: string;
|
|
3499
|
+
label: string;
|
|
3500
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3501
3501
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3502
3502
|
locator?: string | undefined;
|
|
3503
3503
|
}[] | undefined;
|
|
@@ -3512,9 +3512,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3512
3512
|
supersedesDecisionIds: string[];
|
|
3513
3513
|
proposedBy: string;
|
|
3514
3514
|
evidence?: {
|
|
3515
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3516
|
-
label: string;
|
|
3517
3515
|
id: string;
|
|
3516
|
+
label: string;
|
|
3517
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3518
3518
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3519
3519
|
locator?: string | undefined;
|
|
3520
3520
|
}[] | undefined;
|
|
@@ -3522,15 +3522,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3522
3522
|
kind: "correction_approved";
|
|
3523
3523
|
correctionId: string;
|
|
3524
3524
|
approvedBy: {
|
|
3525
|
-
kind: "agent" | "human";
|
|
3526
|
-
label: string;
|
|
3527
3525
|
id: string;
|
|
3526
|
+
label: string;
|
|
3527
|
+
kind: "agent" | "human";
|
|
3528
3528
|
};
|
|
3529
3529
|
note?: string | undefined;
|
|
3530
3530
|
evidence?: {
|
|
3531
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3532
|
-
label: string;
|
|
3533
3531
|
id: string;
|
|
3532
|
+
label: string;
|
|
3533
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3534
3534
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3535
3535
|
locator?: string | undefined;
|
|
3536
3536
|
}[] | undefined;
|
|
@@ -3540,9 +3540,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3540
3540
|
correctionId: string;
|
|
3541
3541
|
replacementDecisionId: string;
|
|
3542
3542
|
evidence?: {
|
|
3543
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3544
|
-
label: string;
|
|
3545
3543
|
id: string;
|
|
3544
|
+
label: string;
|
|
3545
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3546
3546
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3547
3547
|
locator?: string | undefined;
|
|
3548
3548
|
}[] | undefined;
|
|
@@ -3555,9 +3555,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3555
3555
|
recallReceiptId: string;
|
|
3556
3556
|
capturedAtAction: boolean;
|
|
3557
3557
|
evidence?: {
|
|
3558
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3559
|
-
label: string;
|
|
3560
3558
|
id: string;
|
|
3559
|
+
label: string;
|
|
3560
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3561
3561
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3562
3562
|
locator?: string | undefined;
|
|
3563
3563
|
}[] | undefined;
|
|
@@ -3570,20 +3570,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3570
3570
|
recallReceiptId: string;
|
|
3571
3571
|
staleDecisionAbsent: boolean;
|
|
3572
3572
|
evidence?: {
|
|
3573
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3574
|
-
label: string;
|
|
3575
3573
|
id: string;
|
|
3574
|
+
label: string;
|
|
3575
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3576
3576
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3577
3577
|
locator?: string | undefined;
|
|
3578
3578
|
}[] | undefined;
|
|
3579
3579
|
} | {
|
|
3580
|
-
kind: "mission_completed";
|
|
3581
3580
|
summary: string;
|
|
3581
|
+
kind: "mission_completed";
|
|
3582
3582
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3583
3583
|
evidence?: {
|
|
3584
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3585
|
-
label: string;
|
|
3586
3584
|
id: string;
|
|
3585
|
+
label: string;
|
|
3586
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3587
3587
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3588
3588
|
locator?: string | undefined;
|
|
3589
3589
|
}[] | undefined;
|
|
@@ -3613,15 +3613,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3613
3613
|
locator: z.ZodOptional<z.ZodString>;
|
|
3614
3614
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3615
3615
|
}, "strict", z.ZodTypeAny, {
|
|
3616
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3617
|
-
label: string;
|
|
3618
3616
|
id: string;
|
|
3617
|
+
label: string;
|
|
3618
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3619
3619
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3620
3620
|
locator?: string | undefined;
|
|
3621
3621
|
}, {
|
|
3622
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3623
|
-
label: string;
|
|
3624
3622
|
id: string;
|
|
3623
|
+
label: string;
|
|
3624
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3625
3625
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3626
3626
|
locator?: string | undefined;
|
|
3627
3627
|
}>, "many">>;
|
|
@@ -3629,9 +3629,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3629
3629
|
kind: "mission_started";
|
|
3630
3630
|
title: string;
|
|
3631
3631
|
evidence: {
|
|
3632
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3633
|
-
label: string;
|
|
3634
3632
|
id: string;
|
|
3633
|
+
label: string;
|
|
3634
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3635
3635
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3636
3636
|
locator?: string | undefined;
|
|
3637
3637
|
}[];
|
|
@@ -3643,9 +3643,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3643
3643
|
objective: string;
|
|
3644
3644
|
runMode: "replay" | "fixture" | "live";
|
|
3645
3645
|
evidence?: {
|
|
3646
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3647
|
-
label: string;
|
|
3648
3646
|
id: string;
|
|
3647
|
+
label: string;
|
|
3648
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3649
3649
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3650
3650
|
locator?: string | undefined;
|
|
3651
3651
|
}[] | undefined;
|
|
@@ -3661,15 +3661,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3661
3661
|
locator: z.ZodOptional<z.ZodString>;
|
|
3662
3662
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3663
3663
|
}, "strict", z.ZodTypeAny, {
|
|
3664
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3665
|
-
label: string;
|
|
3666
3664
|
id: string;
|
|
3665
|
+
label: string;
|
|
3666
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3667
3667
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3668
3668
|
locator?: string | undefined;
|
|
3669
3669
|
}, {
|
|
3670
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3671
|
-
label: string;
|
|
3672
3670
|
id: string;
|
|
3671
|
+
label: string;
|
|
3672
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3673
3673
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3674
3674
|
locator?: string | undefined;
|
|
3675
3675
|
}>, "many">>;
|
|
@@ -3677,32 +3677,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3677
3677
|
sessionId: z.ZodString;
|
|
3678
3678
|
kind: z.ZodLiteral<"agent_status">;
|
|
3679
3679
|
}, "strict", z.ZodTypeAny, {
|
|
3680
|
-
kind: "agent_status";
|
|
3681
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3682
3680
|
label: string;
|
|
3681
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3682
|
+
kind: "agent_status";
|
|
3683
3683
|
role: string;
|
|
3684
3684
|
agentId: string;
|
|
3685
3685
|
sessionId: string;
|
|
3686
3686
|
evidence: {
|
|
3687
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3688
|
-
label: string;
|
|
3689
3687
|
id: string;
|
|
3688
|
+
label: string;
|
|
3689
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3690
3690
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3691
3691
|
locator?: string | undefined;
|
|
3692
3692
|
}[];
|
|
3693
3693
|
detail?: string | undefined;
|
|
3694
3694
|
}, {
|
|
3695
|
-
kind: "agent_status";
|
|
3696
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3697
3695
|
label: string;
|
|
3696
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3697
|
+
kind: "agent_status";
|
|
3698
3698
|
role: string;
|
|
3699
3699
|
agentId: string;
|
|
3700
3700
|
sessionId: string;
|
|
3701
3701
|
detail?: string | undefined;
|
|
3702
3702
|
evidence?: {
|
|
3703
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3704
|
-
label: string;
|
|
3705
3703
|
id: string;
|
|
3704
|
+
label: string;
|
|
3705
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3706
3706
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3707
3707
|
locator?: string | undefined;
|
|
3708
3708
|
}[] | undefined;
|
|
@@ -3716,15 +3716,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3716
3716
|
locator: z.ZodOptional<z.ZodString>;
|
|
3717
3717
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3718
3718
|
}, "strict", z.ZodTypeAny, {
|
|
3719
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3720
|
-
label: string;
|
|
3721
3719
|
id: string;
|
|
3720
|
+
label: string;
|
|
3721
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3722
3722
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3723
3723
|
locator?: string | undefined;
|
|
3724
3724
|
}, {
|
|
3725
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3726
|
-
label: string;
|
|
3727
3725
|
id: string;
|
|
3726
|
+
label: string;
|
|
3727
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3728
3728
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3729
3729
|
locator?: string | undefined;
|
|
3730
3730
|
}>, "many">>;
|
|
@@ -3732,28 +3732,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3732
3732
|
sessionId: z.ZodString;
|
|
3733
3733
|
kind: z.ZodLiteral<"agent_output">;
|
|
3734
3734
|
}, "strict", z.ZodTypeAny, {
|
|
3735
|
-
kind: "agent_output";
|
|
3736
3735
|
summary: string;
|
|
3736
|
+
kind: "agent_output";
|
|
3737
3737
|
agentId: string;
|
|
3738
3738
|
sessionId: string;
|
|
3739
3739
|
evidence: {
|
|
3740
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3741
|
-
label: string;
|
|
3742
3740
|
id: string;
|
|
3741
|
+
label: string;
|
|
3742
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3743
3743
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3744
3744
|
locator?: string | undefined;
|
|
3745
3745
|
}[];
|
|
3746
3746
|
outputId: string;
|
|
3747
3747
|
}, {
|
|
3748
|
-
kind: "agent_output";
|
|
3749
3748
|
summary: string;
|
|
3749
|
+
kind: "agent_output";
|
|
3750
3750
|
agentId: string;
|
|
3751
3751
|
sessionId: string;
|
|
3752
3752
|
outputId: string;
|
|
3753
3753
|
evidence?: {
|
|
3754
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3755
|
-
label: string;
|
|
3756
3754
|
id: string;
|
|
3755
|
+
label: string;
|
|
3756
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3757
3757
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3758
3758
|
locator?: string | undefined;
|
|
3759
3759
|
}[] | undefined;
|
|
@@ -3769,15 +3769,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3769
3769
|
locator: z.ZodOptional<z.ZodString>;
|
|
3770
3770
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3771
3771
|
}, "strict", z.ZodTypeAny, {
|
|
3772
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3773
|
-
label: string;
|
|
3774
3772
|
id: string;
|
|
3773
|
+
label: string;
|
|
3774
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3775
3775
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3776
3776
|
locator?: string | undefined;
|
|
3777
3777
|
}, {
|
|
3778
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3779
|
-
label: string;
|
|
3780
3778
|
id: string;
|
|
3779
|
+
label: string;
|
|
3780
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3781
3781
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3782
3782
|
locator?: string | undefined;
|
|
3783
3783
|
}>, "many">>;
|
|
@@ -3790,9 +3790,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3790
3790
|
statement: string;
|
|
3791
3791
|
sessionId: string;
|
|
3792
3792
|
evidence: {
|
|
3793
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3794
|
-
label: string;
|
|
3795
3793
|
id: string;
|
|
3794
|
+
label: string;
|
|
3795
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3796
3796
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3797
3797
|
locator?: string | undefined;
|
|
3798
3798
|
}[];
|
|
@@ -3808,9 +3808,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3808
3808
|
decisionId: string;
|
|
3809
3809
|
confidence?: number | undefined;
|
|
3810
3810
|
evidence?: {
|
|
3811
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3812
|
-
label: string;
|
|
3813
3811
|
id: string;
|
|
3812
|
+
label: string;
|
|
3813
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3814
3814
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3815
3815
|
locator?: string | undefined;
|
|
3816
3816
|
}[] | undefined;
|
|
@@ -3827,25 +3827,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3827
3827
|
locator: z.ZodOptional<z.ZodString>;
|
|
3828
3828
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3829
3829
|
}, "strict", z.ZodTypeAny, {
|
|
3830
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3831
|
-
label: string;
|
|
3832
3830
|
id: string;
|
|
3831
|
+
label: string;
|
|
3832
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3833
3833
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3834
3834
|
locator?: string | undefined;
|
|
3835
3835
|
}, {
|
|
3836
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3837
|
-
label: string;
|
|
3838
3836
|
id: string;
|
|
3837
|
+
label: string;
|
|
3838
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3839
3839
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3840
3840
|
locator?: string | undefined;
|
|
3841
3841
|
}>, "many">>;
|
|
3842
3842
|
}, "strict", z.ZodTypeAny, {
|
|
3843
|
-
kind: "conflict_detected";
|
|
3844
3843
|
summary: string;
|
|
3844
|
+
kind: "conflict_detected";
|
|
3845
3845
|
evidence: {
|
|
3846
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3847
|
-
label: string;
|
|
3848
3846
|
id: string;
|
|
3847
|
+
label: string;
|
|
3848
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3849
3849
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3850
3850
|
locator?: string | undefined;
|
|
3851
3851
|
}[];
|
|
@@ -3853,15 +3853,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3853
3853
|
decisionIds: string[];
|
|
3854
3854
|
agentIds: string[];
|
|
3855
3855
|
}, {
|
|
3856
|
-
kind: "conflict_detected";
|
|
3857
3856
|
summary: string;
|
|
3857
|
+
kind: "conflict_detected";
|
|
3858
3858
|
conflictId: string;
|
|
3859
3859
|
decisionIds: string[];
|
|
3860
3860
|
agentIds: string[];
|
|
3861
3861
|
evidence?: {
|
|
3862
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3863
|
-
label: string;
|
|
3864
3862
|
id: string;
|
|
3863
|
+
label: string;
|
|
3864
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3865
3865
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3866
3866
|
locator?: string | undefined;
|
|
3867
3867
|
}[] | undefined;
|
|
@@ -3881,27 +3881,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3881
3881
|
locator: z.ZodOptional<z.ZodString>;
|
|
3882
3882
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3883
3883
|
}, "strict", z.ZodTypeAny, {
|
|
3884
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3885
|
-
label: string;
|
|
3886
3884
|
id: string;
|
|
3885
|
+
label: string;
|
|
3886
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3887
3887
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3888
3888
|
locator?: string | undefined;
|
|
3889
3889
|
}, {
|
|
3890
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3891
|
-
label: string;
|
|
3892
3890
|
id: string;
|
|
3891
|
+
label: string;
|
|
3892
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3893
3893
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3894
3894
|
locator?: string | undefined;
|
|
3895
3895
|
}>, "many">>;
|
|
3896
3896
|
}, "strict", z.ZodTypeAny, {
|
|
3897
|
-
kind: "test_result";
|
|
3898
3897
|
summary: string;
|
|
3899
3898
|
status: "error" | "failed" | "passed";
|
|
3899
|
+
kind: "test_result";
|
|
3900
3900
|
command: string;
|
|
3901
3901
|
evidence: {
|
|
3902
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3903
|
-
label: string;
|
|
3904
3902
|
id: string;
|
|
3903
|
+
label: string;
|
|
3904
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3905
3905
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3906
3906
|
locator?: string | undefined;
|
|
3907
3907
|
}[];
|
|
@@ -3910,17 +3910,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3910
3910
|
durationMs?: number | undefined;
|
|
3911
3911
|
correctionId?: string | undefined;
|
|
3912
3912
|
}, {
|
|
3913
|
-
kind: "test_result";
|
|
3914
3913
|
summary: string;
|
|
3915
3914
|
status: "error" | "failed" | "passed";
|
|
3915
|
+
kind: "test_result";
|
|
3916
3916
|
command: string;
|
|
3917
3917
|
decisionId: string;
|
|
3918
3918
|
testId: string;
|
|
3919
3919
|
durationMs?: number | undefined;
|
|
3920
3920
|
evidence?: {
|
|
3921
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3922
|
-
label: string;
|
|
3923
3921
|
id: string;
|
|
3922
|
+
label: string;
|
|
3923
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3924
3924
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3925
3925
|
locator?: string | undefined;
|
|
3926
3926
|
}[] | undefined;
|
|
@@ -3941,15 +3941,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3941
3941
|
locator: z.ZodOptional<z.ZodString>;
|
|
3942
3942
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3943
3943
|
}, "strict", z.ZodTypeAny, {
|
|
3944
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3945
|
-
label: string;
|
|
3946
3944
|
id: string;
|
|
3945
|
+
label: string;
|
|
3946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3947
3947
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3948
3948
|
locator?: string | undefined;
|
|
3949
3949
|
}, {
|
|
3950
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3951
|
-
label: string;
|
|
3952
3950
|
id: string;
|
|
3951
|
+
label: string;
|
|
3952
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3953
3953
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3954
3954
|
locator?: string | undefined;
|
|
3955
3955
|
}>, "many">>;
|
|
@@ -3958,9 +3958,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3958
3958
|
statement: string;
|
|
3959
3959
|
rationale: string;
|
|
3960
3960
|
evidence: {
|
|
3961
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3962
|
-
label: string;
|
|
3963
3961
|
id: string;
|
|
3962
|
+
label: string;
|
|
3963
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3964
3964
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3965
3965
|
locator?: string | undefined;
|
|
3966
3966
|
}[];
|
|
@@ -3979,9 +3979,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3979
3979
|
supersedesDecisionIds: string[];
|
|
3980
3980
|
proposedBy: string;
|
|
3981
3981
|
evidence?: {
|
|
3982
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3983
|
-
label: string;
|
|
3984
3982
|
id: string;
|
|
3983
|
+
label: string;
|
|
3984
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3985
3985
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3986
3986
|
locator?: string | undefined;
|
|
3987
3987
|
}[] | undefined;
|
|
@@ -3993,13 +3993,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3993
3993
|
id: z.ZodString;
|
|
3994
3994
|
label: z.ZodString;
|
|
3995
3995
|
}, "strict", z.ZodTypeAny, {
|
|
3996
|
-
kind: "agent" | "human";
|
|
3997
|
-
label: string;
|
|
3998
3996
|
id: string;
|
|
3999
|
-
}, {
|
|
4000
|
-
kind: "agent" | "human";
|
|
4001
3997
|
label: string;
|
|
3998
|
+
kind: "agent" | "human";
|
|
3999
|
+
}, {
|
|
4002
4000
|
id: string;
|
|
4001
|
+
label: string;
|
|
4002
|
+
kind: "agent" | "human";
|
|
4003
4003
|
}>;
|
|
4004
4004
|
note: z.ZodOptional<z.ZodString>;
|
|
4005
4005
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -4009,47 +4009,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4009
4009
|
locator: z.ZodOptional<z.ZodString>;
|
|
4010
4010
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
4011
4011
|
}, "strict", z.ZodTypeAny, {
|
|
4012
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4013
|
-
label: string;
|
|
4014
4012
|
id: string;
|
|
4013
|
+
label: string;
|
|
4014
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4015
4015
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4016
4016
|
locator?: string | undefined;
|
|
4017
4017
|
}, {
|
|
4018
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4019
|
-
label: string;
|
|
4020
4018
|
id: string;
|
|
4019
|
+
label: string;
|
|
4020
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4021
4021
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4022
4022
|
locator?: string | undefined;
|
|
4023
4023
|
}>, "many">>;
|
|
4024
4024
|
}, "strict", z.ZodTypeAny, {
|
|
4025
4025
|
kind: "correction_approved";
|
|
4026
4026
|
evidence: {
|
|
4027
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4028
|
-
label: string;
|
|
4029
4027
|
id: string;
|
|
4028
|
+
label: string;
|
|
4029
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4030
4030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4031
4031
|
locator?: string | undefined;
|
|
4032
4032
|
}[];
|
|
4033
4033
|
correctionId: string;
|
|
4034
4034
|
approvedBy: {
|
|
4035
|
-
kind: "agent" | "human";
|
|
4036
|
-
label: string;
|
|
4037
4035
|
id: string;
|
|
4036
|
+
label: string;
|
|
4037
|
+
kind: "agent" | "human";
|
|
4038
4038
|
};
|
|
4039
4039
|
note?: string | undefined;
|
|
4040
4040
|
}, {
|
|
4041
4041
|
kind: "correction_approved";
|
|
4042
4042
|
correctionId: string;
|
|
4043
4043
|
approvedBy: {
|
|
4044
|
-
kind: "agent" | "human";
|
|
4045
|
-
label: string;
|
|
4046
4044
|
id: string;
|
|
4045
|
+
label: string;
|
|
4046
|
+
kind: "agent" | "human";
|
|
4047
4047
|
};
|
|
4048
4048
|
note?: string | undefined;
|
|
4049
4049
|
evidence?: {
|
|
4050
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4051
|
-
label: string;
|
|
4052
4050
|
id: string;
|
|
4051
|
+
label: string;
|
|
4052
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4053
4053
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4054
4054
|
locator?: string | undefined;
|
|
4055
4055
|
}[] | undefined;
|
|
@@ -4065,24 +4065,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4065
4065
|
locator: z.ZodOptional<z.ZodString>;
|
|
4066
4066
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
4067
4067
|
}, "strict", z.ZodTypeAny, {
|
|
4068
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4069
|
-
label: string;
|
|
4070
4068
|
id: string;
|
|
4069
|
+
label: string;
|
|
4070
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4071
4071
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4072
4072
|
locator?: string | undefined;
|
|
4073
4073
|
}, {
|
|
4074
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4075
|
-
label: string;
|
|
4076
4074
|
id: string;
|
|
4075
|
+
label: string;
|
|
4076
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4077
4077
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4078
4078
|
locator?: string | undefined;
|
|
4079
4079
|
}>, "many">>;
|
|
4080
4080
|
}, "strict", z.ZodTypeAny, {
|
|
4081
4081
|
kind: "decision_superseded";
|
|
4082
4082
|
evidence: {
|
|
4083
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4084
|
-
label: string;
|
|
4085
4083
|
id: string;
|
|
4084
|
+
label: string;
|
|
4085
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4086
4086
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4087
4087
|
locator?: string | undefined;
|
|
4088
4088
|
}[];
|
|
@@ -4095,9 +4095,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4095
4095
|
correctionId: string;
|
|
4096
4096
|
replacementDecisionId: string;
|
|
4097
4097
|
evidence?: {
|
|
4098
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4099
|
-
label: string;
|
|
4100
4098
|
id: string;
|
|
4099
|
+
label: string;
|
|
4100
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4101
4101
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4102
4102
|
locator?: string | undefined;
|
|
4103
4103
|
}[] | undefined;
|
|
@@ -4113,15 +4113,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4113
4113
|
locator: z.ZodOptional<z.ZodString>;
|
|
4114
4114
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
4115
4115
|
}, "strict", z.ZodTypeAny, {
|
|
4116
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4117
|
-
label: string;
|
|
4118
4116
|
id: string;
|
|
4117
|
+
label: string;
|
|
4118
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4119
4119
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4120
4120
|
locator?: string | undefined;
|
|
4121
4121
|
}, {
|
|
4122
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4123
|
-
label: string;
|
|
4124
4122
|
id: string;
|
|
4123
|
+
label: string;
|
|
4124
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4125
4125
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4126
4126
|
locator?: string | undefined;
|
|
4127
4127
|
}>, "many">>;
|
|
@@ -4134,9 +4134,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4134
4134
|
agentId: string;
|
|
4135
4135
|
sessionId: string;
|
|
4136
4136
|
evidence: {
|
|
4137
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4138
|
-
label: string;
|
|
4139
4137
|
id: string;
|
|
4138
|
+
label: string;
|
|
4139
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4140
4140
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4141
4141
|
locator?: string | undefined;
|
|
4142
4142
|
}[];
|
|
@@ -4152,9 +4152,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4152
4152
|
recallReceiptId: string;
|
|
4153
4153
|
capturedAtAction: boolean;
|
|
4154
4154
|
evidence?: {
|
|
4155
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4156
|
-
label: string;
|
|
4157
4155
|
id: string;
|
|
4156
|
+
label: string;
|
|
4157
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4158
4158
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4159
4159
|
locator?: string | undefined;
|
|
4160
4160
|
}[] | undefined;
|
|
@@ -4170,15 +4170,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4170
4170
|
locator: z.ZodOptional<z.ZodString>;
|
|
4171
4171
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
4172
4172
|
}, "strict", z.ZodTypeAny, {
|
|
4173
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4174
|
-
label: string;
|
|
4175
4173
|
id: string;
|
|
4174
|
+
label: string;
|
|
4175
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4176
4176
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4177
4177
|
locator?: string | undefined;
|
|
4178
4178
|
}, {
|
|
4179
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4180
|
-
label: string;
|
|
4181
4179
|
id: string;
|
|
4180
|
+
label: string;
|
|
4181
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4182
4182
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4183
4183
|
locator?: string | undefined;
|
|
4184
4184
|
}>, "many">>;
|
|
@@ -4190,9 +4190,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4190
4190
|
agentId: string;
|
|
4191
4191
|
sessionId: string;
|
|
4192
4192
|
evidence: {
|
|
4193
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4194
|
-
label: string;
|
|
4195
4193
|
id: string;
|
|
4194
|
+
label: string;
|
|
4195
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4196
4196
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4197
4197
|
locator?: string | undefined;
|
|
4198
4198
|
}[];
|
|
@@ -4209,9 +4209,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4209
4209
|
recallReceiptId: string;
|
|
4210
4210
|
staleDecisionAbsent: boolean;
|
|
4211
4211
|
evidence?: {
|
|
4212
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4213
|
-
label: string;
|
|
4214
4212
|
id: string;
|
|
4213
|
+
label: string;
|
|
4214
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4215
4215
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4216
4216
|
locator?: string | undefined;
|
|
4217
4217
|
}[] | undefined;
|
|
@@ -4226,37 +4226,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4226
4226
|
locator: z.ZodOptional<z.ZodString>;
|
|
4227
4227
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
4228
4228
|
}, "strict", z.ZodTypeAny, {
|
|
4229
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4230
|
-
label: string;
|
|
4231
4229
|
id: string;
|
|
4230
|
+
label: string;
|
|
4231
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4232
4232
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4233
4233
|
locator?: string | undefined;
|
|
4234
4234
|
}, {
|
|
4235
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4236
|
-
label: string;
|
|
4237
4235
|
id: string;
|
|
4236
|
+
label: string;
|
|
4237
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4238
4238
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4239
4239
|
locator?: string | undefined;
|
|
4240
4240
|
}>, "many">>;
|
|
4241
4241
|
}, "strict", z.ZodTypeAny, {
|
|
4242
|
-
kind: "mission_completed";
|
|
4243
4242
|
summary: string;
|
|
4243
|
+
kind: "mission_completed";
|
|
4244
4244
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4245
4245
|
evidence: {
|
|
4246
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4247
|
-
label: string;
|
|
4248
4246
|
id: string;
|
|
4247
|
+
label: string;
|
|
4248
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4249
4249
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4250
4250
|
locator?: string | undefined;
|
|
4251
4251
|
}[];
|
|
4252
4252
|
}, {
|
|
4253
|
-
kind: "mission_completed";
|
|
4254
4253
|
summary: string;
|
|
4254
|
+
kind: "mission_completed";
|
|
4255
4255
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4256
4256
|
evidence?: {
|
|
4257
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4258
|
-
label: string;
|
|
4259
4257
|
id: string;
|
|
4258
|
+
label: string;
|
|
4259
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4260
4260
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4261
4261
|
locator?: string | undefined;
|
|
4262
4262
|
}[] | undefined;
|
|
@@ -4264,38 +4264,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4264
4264
|
kind: "mission_started";
|
|
4265
4265
|
title: string;
|
|
4266
4266
|
evidence: {
|
|
4267
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4268
|
-
label: string;
|
|
4269
4267
|
id: string;
|
|
4268
|
+
label: string;
|
|
4269
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4270
4270
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4271
4271
|
locator?: string | undefined;
|
|
4272
4272
|
}[];
|
|
4273
4273
|
objective: string;
|
|
4274
4274
|
runMode: "replay" | "fixture" | "live";
|
|
4275
4275
|
} | {
|
|
4276
|
-
kind: "agent_status";
|
|
4277
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4278
4276
|
label: string;
|
|
4277
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4278
|
+
kind: "agent_status";
|
|
4279
4279
|
role: string;
|
|
4280
4280
|
agentId: string;
|
|
4281
4281
|
sessionId: string;
|
|
4282
4282
|
evidence: {
|
|
4283
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4284
|
-
label: string;
|
|
4285
4283
|
id: string;
|
|
4284
|
+
label: string;
|
|
4285
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4286
4286
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4287
4287
|
locator?: string | undefined;
|
|
4288
4288
|
}[];
|
|
4289
4289
|
detail?: string | undefined;
|
|
4290
4290
|
} | {
|
|
4291
|
-
kind: "agent_output";
|
|
4292
4291
|
summary: string;
|
|
4292
|
+
kind: "agent_output";
|
|
4293
4293
|
agentId: string;
|
|
4294
4294
|
sessionId: string;
|
|
4295
4295
|
evidence: {
|
|
4296
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4297
|
-
label: string;
|
|
4298
4296
|
id: string;
|
|
4297
|
+
label: string;
|
|
4298
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4299
4299
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4300
4300
|
locator?: string | undefined;
|
|
4301
4301
|
}[];
|
|
@@ -4306,9 +4306,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4306
4306
|
statement: string;
|
|
4307
4307
|
sessionId: string;
|
|
4308
4308
|
evidence: {
|
|
4309
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4310
|
-
label: string;
|
|
4311
4309
|
id: string;
|
|
4310
|
+
label: string;
|
|
4311
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4312
4312
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4313
4313
|
locator?: string | undefined;
|
|
4314
4314
|
}[];
|
|
@@ -4316,12 +4316,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4316
4316
|
decisionId: string;
|
|
4317
4317
|
confidence?: number | undefined;
|
|
4318
4318
|
} | {
|
|
4319
|
-
kind: "conflict_detected";
|
|
4320
4319
|
summary: string;
|
|
4320
|
+
kind: "conflict_detected";
|
|
4321
4321
|
evidence: {
|
|
4322
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4323
|
-
label: string;
|
|
4324
4322
|
id: string;
|
|
4323
|
+
label: string;
|
|
4324
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4325
4325
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4326
4326
|
locator?: string | undefined;
|
|
4327
4327
|
}[];
|
|
@@ -4329,14 +4329,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4329
4329
|
decisionIds: string[];
|
|
4330
4330
|
agentIds: string[];
|
|
4331
4331
|
} | {
|
|
4332
|
-
kind: "test_result";
|
|
4333
4332
|
summary: string;
|
|
4334
4333
|
status: "error" | "failed" | "passed";
|
|
4334
|
+
kind: "test_result";
|
|
4335
4335
|
command: string;
|
|
4336
4336
|
evidence: {
|
|
4337
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4338
|
-
label: string;
|
|
4339
4337
|
id: string;
|
|
4338
|
+
label: string;
|
|
4339
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4340
4340
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4341
4341
|
locator?: string | undefined;
|
|
4342
4342
|
}[];
|
|
@@ -4349,9 +4349,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4349
4349
|
statement: string;
|
|
4350
4350
|
rationale: string;
|
|
4351
4351
|
evidence: {
|
|
4352
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4353
|
-
label: string;
|
|
4354
4352
|
id: string;
|
|
4353
|
+
label: string;
|
|
4354
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4355
4355
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4356
4356
|
locator?: string | undefined;
|
|
4357
4357
|
}[];
|
|
@@ -4363,25 +4363,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4363
4363
|
} | {
|
|
4364
4364
|
kind: "correction_approved";
|
|
4365
4365
|
evidence: {
|
|
4366
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4367
|
-
label: string;
|
|
4368
4366
|
id: string;
|
|
4367
|
+
label: string;
|
|
4368
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4369
4369
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4370
4370
|
locator?: string | undefined;
|
|
4371
4371
|
}[];
|
|
4372
4372
|
correctionId: string;
|
|
4373
4373
|
approvedBy: {
|
|
4374
|
-
kind: "agent" | "human";
|
|
4375
|
-
label: string;
|
|
4376
4374
|
id: string;
|
|
4375
|
+
label: string;
|
|
4376
|
+
kind: "agent" | "human";
|
|
4377
4377
|
};
|
|
4378
4378
|
note?: string | undefined;
|
|
4379
4379
|
} | {
|
|
4380
4380
|
kind: "decision_superseded";
|
|
4381
4381
|
evidence: {
|
|
4382
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4383
|
-
label: string;
|
|
4384
4382
|
id: string;
|
|
4383
|
+
label: string;
|
|
4384
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4385
4385
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4386
4386
|
locator?: string | undefined;
|
|
4387
4387
|
}[];
|
|
@@ -4394,9 +4394,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4394
4394
|
agentId: string;
|
|
4395
4395
|
sessionId: string;
|
|
4396
4396
|
evidence: {
|
|
4397
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4398
|
-
label: string;
|
|
4399
4397
|
id: string;
|
|
4398
|
+
label: string;
|
|
4399
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4400
4400
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4401
4401
|
locator?: string | undefined;
|
|
4402
4402
|
}[];
|
|
@@ -4408,9 +4408,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4408
4408
|
agentId: string;
|
|
4409
4409
|
sessionId: string;
|
|
4410
4410
|
evidence: {
|
|
4411
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4412
|
-
label: string;
|
|
4413
4411
|
id: string;
|
|
4412
|
+
label: string;
|
|
4413
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4414
4414
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4415
4415
|
locator?: string | undefined;
|
|
4416
4416
|
}[];
|
|
@@ -4419,13 +4419,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4419
4419
|
recallReceiptId: string;
|
|
4420
4420
|
staleDecisionAbsent: boolean;
|
|
4421
4421
|
} | {
|
|
4422
|
-
kind: "mission_completed";
|
|
4423
4422
|
summary: string;
|
|
4423
|
+
kind: "mission_completed";
|
|
4424
4424
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4425
4425
|
evidence: {
|
|
4426
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4427
|
-
label: string;
|
|
4428
4426
|
id: string;
|
|
4427
|
+
label: string;
|
|
4428
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4429
4429
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4430
4430
|
locator?: string | undefined;
|
|
4431
4431
|
}[];
|
|
@@ -4435,37 +4435,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4435
4435
|
objective: string;
|
|
4436
4436
|
runMode: "replay" | "fixture" | "live";
|
|
4437
4437
|
evidence?: {
|
|
4438
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4439
|
-
label: string;
|
|
4440
4438
|
id: string;
|
|
4439
|
+
label: string;
|
|
4440
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4441
4441
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4442
4442
|
locator?: string | undefined;
|
|
4443
4443
|
}[] | undefined;
|
|
4444
4444
|
} | {
|
|
4445
|
-
kind: "agent_status";
|
|
4446
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4447
4445
|
label: string;
|
|
4446
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4447
|
+
kind: "agent_status";
|
|
4448
4448
|
role: string;
|
|
4449
4449
|
agentId: string;
|
|
4450
4450
|
sessionId: string;
|
|
4451
4451
|
detail?: string | undefined;
|
|
4452
4452
|
evidence?: {
|
|
4453
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4454
|
-
label: string;
|
|
4455
4453
|
id: string;
|
|
4454
|
+
label: string;
|
|
4455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4456
4456
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4457
4457
|
locator?: string | undefined;
|
|
4458
4458
|
}[] | undefined;
|
|
4459
4459
|
} | {
|
|
4460
|
-
kind: "agent_output";
|
|
4461
4460
|
summary: string;
|
|
4461
|
+
kind: "agent_output";
|
|
4462
4462
|
agentId: string;
|
|
4463
4463
|
sessionId: string;
|
|
4464
4464
|
outputId: string;
|
|
4465
4465
|
evidence?: {
|
|
4466
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4467
|
-
label: string;
|
|
4468
4466
|
id: string;
|
|
4467
|
+
label: string;
|
|
4468
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4469
4469
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4470
4470
|
locator?: string | undefined;
|
|
4471
4471
|
}[] | undefined;
|
|
@@ -4478,37 +4478,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4478
4478
|
decisionId: string;
|
|
4479
4479
|
confidence?: number | undefined;
|
|
4480
4480
|
evidence?: {
|
|
4481
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4482
|
-
label: string;
|
|
4483
4481
|
id: string;
|
|
4482
|
+
label: string;
|
|
4483
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4484
4484
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4485
4485
|
locator?: string | undefined;
|
|
4486
4486
|
}[] | undefined;
|
|
4487
4487
|
} | {
|
|
4488
|
-
kind: "conflict_detected";
|
|
4489
4488
|
summary: string;
|
|
4489
|
+
kind: "conflict_detected";
|
|
4490
4490
|
conflictId: string;
|
|
4491
4491
|
decisionIds: string[];
|
|
4492
4492
|
agentIds: string[];
|
|
4493
4493
|
evidence?: {
|
|
4494
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4495
|
-
label: string;
|
|
4496
4494
|
id: string;
|
|
4495
|
+
label: string;
|
|
4496
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4497
4497
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4498
4498
|
locator?: string | undefined;
|
|
4499
4499
|
}[] | undefined;
|
|
4500
4500
|
} | {
|
|
4501
|
-
kind: "test_result";
|
|
4502
4501
|
summary: string;
|
|
4503
4502
|
status: "error" | "failed" | "passed";
|
|
4503
|
+
kind: "test_result";
|
|
4504
4504
|
command: string;
|
|
4505
4505
|
decisionId: string;
|
|
4506
4506
|
testId: string;
|
|
4507
4507
|
durationMs?: number | undefined;
|
|
4508
4508
|
evidence?: {
|
|
4509
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4510
|
-
label: string;
|
|
4511
4509
|
id: string;
|
|
4510
|
+
label: string;
|
|
4511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4512
4512
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4513
4513
|
locator?: string | undefined;
|
|
4514
4514
|
}[] | undefined;
|
|
@@ -4523,9 +4523,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4523
4523
|
supersedesDecisionIds: string[];
|
|
4524
4524
|
proposedBy: string;
|
|
4525
4525
|
evidence?: {
|
|
4526
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4527
|
-
label: string;
|
|
4528
4526
|
id: string;
|
|
4527
|
+
label: string;
|
|
4528
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4529
4529
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4530
4530
|
locator?: string | undefined;
|
|
4531
4531
|
}[] | undefined;
|
|
@@ -4533,15 +4533,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4533
4533
|
kind: "correction_approved";
|
|
4534
4534
|
correctionId: string;
|
|
4535
4535
|
approvedBy: {
|
|
4536
|
-
kind: "agent" | "human";
|
|
4537
|
-
label: string;
|
|
4538
4536
|
id: string;
|
|
4537
|
+
label: string;
|
|
4538
|
+
kind: "agent" | "human";
|
|
4539
4539
|
};
|
|
4540
4540
|
note?: string | undefined;
|
|
4541
4541
|
evidence?: {
|
|
4542
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4543
|
-
label: string;
|
|
4544
4542
|
id: string;
|
|
4543
|
+
label: string;
|
|
4544
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4545
4545
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4546
4546
|
locator?: string | undefined;
|
|
4547
4547
|
}[] | undefined;
|
|
@@ -4551,9 +4551,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4551
4551
|
correctionId: string;
|
|
4552
4552
|
replacementDecisionId: string;
|
|
4553
4553
|
evidence?: {
|
|
4554
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4555
|
-
label: string;
|
|
4556
4554
|
id: string;
|
|
4555
|
+
label: string;
|
|
4556
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4557
4557
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4558
4558
|
locator?: string | undefined;
|
|
4559
4559
|
}[] | undefined;
|
|
@@ -4566,9 +4566,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4566
4566
|
recallReceiptId: string;
|
|
4567
4567
|
capturedAtAction: boolean;
|
|
4568
4568
|
evidence?: {
|
|
4569
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4570
|
-
label: string;
|
|
4571
4569
|
id: string;
|
|
4570
|
+
label: string;
|
|
4571
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4572
4572
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4573
4573
|
locator?: string | undefined;
|
|
4574
4574
|
}[] | undefined;
|
|
@@ -4581,63 +4581,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4581
4581
|
recallReceiptId: string;
|
|
4582
4582
|
staleDecisionAbsent: boolean;
|
|
4583
4583
|
evidence?: {
|
|
4584
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4585
|
-
label: string;
|
|
4586
4584
|
id: string;
|
|
4585
|
+
label: string;
|
|
4586
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4587
4587
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4588
4588
|
locator?: string | undefined;
|
|
4589
4589
|
}[] | undefined;
|
|
4590
4590
|
} | {
|
|
4591
|
-
kind: "mission_completed";
|
|
4592
4591
|
summary: string;
|
|
4592
|
+
kind: "mission_completed";
|
|
4593
4593
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4594
4594
|
evidence?: {
|
|
4595
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4596
|
-
label: string;
|
|
4597
4595
|
id: string;
|
|
4596
|
+
label: string;
|
|
4597
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4598
4598
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4599
4599
|
locator?: string | undefined;
|
|
4600
4600
|
}[] | undefined;
|
|
4601
4601
|
}>;
|
|
4602
4602
|
}, "strict", z.ZodTypeAny, {
|
|
4603
|
-
|
|
4603
|
+
namespace: string;
|
|
4604
4604
|
recordedAt: string;
|
|
4605
|
+
schemaVersion: "1";
|
|
4605
4606
|
payload: {
|
|
4606
4607
|
kind: "mission_started";
|
|
4607
4608
|
title: string;
|
|
4608
4609
|
evidence: {
|
|
4609
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4610
|
-
label: string;
|
|
4611
4610
|
id: string;
|
|
4611
|
+
label: string;
|
|
4612
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4612
4613
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4613
4614
|
locator?: string | undefined;
|
|
4614
4615
|
}[];
|
|
4615
4616
|
objective: string;
|
|
4616
4617
|
runMode: "replay" | "fixture" | "live";
|
|
4617
4618
|
} | {
|
|
4618
|
-
kind: "agent_status";
|
|
4619
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4620
4619
|
label: string;
|
|
4620
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4621
|
+
kind: "agent_status";
|
|
4621
4622
|
role: string;
|
|
4622
4623
|
agentId: string;
|
|
4623
4624
|
sessionId: string;
|
|
4624
4625
|
evidence: {
|
|
4625
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4626
|
-
label: string;
|
|
4627
4626
|
id: string;
|
|
4627
|
+
label: string;
|
|
4628
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4628
4629
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4629
4630
|
locator?: string | undefined;
|
|
4630
4631
|
}[];
|
|
4631
4632
|
detail?: string | undefined;
|
|
4632
4633
|
} | {
|
|
4633
|
-
kind: "agent_output";
|
|
4634
4634
|
summary: string;
|
|
4635
|
+
kind: "agent_output";
|
|
4635
4636
|
agentId: string;
|
|
4636
4637
|
sessionId: string;
|
|
4637
4638
|
evidence: {
|
|
4638
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4639
|
-
label: string;
|
|
4640
4639
|
id: string;
|
|
4640
|
+
label: string;
|
|
4641
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4641
4642
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4642
4643
|
locator?: string | undefined;
|
|
4643
4644
|
}[];
|
|
@@ -4648,9 +4649,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4648
4649
|
statement: string;
|
|
4649
4650
|
sessionId: string;
|
|
4650
4651
|
evidence: {
|
|
4651
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4652
|
-
label: string;
|
|
4653
4652
|
id: string;
|
|
4653
|
+
label: string;
|
|
4654
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4654
4655
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4655
4656
|
locator?: string | undefined;
|
|
4656
4657
|
}[];
|
|
@@ -4658,12 +4659,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4658
4659
|
decisionId: string;
|
|
4659
4660
|
confidence?: number | undefined;
|
|
4660
4661
|
} | {
|
|
4661
|
-
kind: "conflict_detected";
|
|
4662
4662
|
summary: string;
|
|
4663
|
+
kind: "conflict_detected";
|
|
4663
4664
|
evidence: {
|
|
4664
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4665
|
-
label: string;
|
|
4666
4665
|
id: string;
|
|
4666
|
+
label: string;
|
|
4667
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4667
4668
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4668
4669
|
locator?: string | undefined;
|
|
4669
4670
|
}[];
|
|
@@ -4671,14 +4672,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4671
4672
|
decisionIds: string[];
|
|
4672
4673
|
agentIds: string[];
|
|
4673
4674
|
} | {
|
|
4674
|
-
kind: "test_result";
|
|
4675
4675
|
summary: string;
|
|
4676
4676
|
status: "error" | "failed" | "passed";
|
|
4677
|
+
kind: "test_result";
|
|
4677
4678
|
command: string;
|
|
4678
4679
|
evidence: {
|
|
4679
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4680
|
-
label: string;
|
|
4681
4680
|
id: string;
|
|
4681
|
+
label: string;
|
|
4682
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4682
4683
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4683
4684
|
locator?: string | undefined;
|
|
4684
4685
|
}[];
|
|
@@ -4691,9 +4692,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4691
4692
|
statement: string;
|
|
4692
4693
|
rationale: string;
|
|
4693
4694
|
evidence: {
|
|
4694
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4695
|
-
label: string;
|
|
4696
4695
|
id: string;
|
|
4696
|
+
label: string;
|
|
4697
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4697
4698
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4698
4699
|
locator?: string | undefined;
|
|
4699
4700
|
}[];
|
|
@@ -4705,25 +4706,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4705
4706
|
} | {
|
|
4706
4707
|
kind: "correction_approved";
|
|
4707
4708
|
evidence: {
|
|
4708
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4709
|
-
label: string;
|
|
4710
4709
|
id: string;
|
|
4710
|
+
label: string;
|
|
4711
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4711
4712
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4712
4713
|
locator?: string | undefined;
|
|
4713
4714
|
}[];
|
|
4714
4715
|
correctionId: string;
|
|
4715
4716
|
approvedBy: {
|
|
4716
|
-
kind: "agent" | "human";
|
|
4717
|
-
label: string;
|
|
4718
4717
|
id: string;
|
|
4718
|
+
label: string;
|
|
4719
|
+
kind: "agent" | "human";
|
|
4719
4720
|
};
|
|
4720
4721
|
note?: string | undefined;
|
|
4721
4722
|
} | {
|
|
4722
4723
|
kind: "decision_superseded";
|
|
4723
4724
|
evidence: {
|
|
4724
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4725
|
-
label: string;
|
|
4726
4725
|
id: string;
|
|
4726
|
+
label: string;
|
|
4727
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4727
4728
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4728
4729
|
locator?: string | undefined;
|
|
4729
4730
|
}[];
|
|
@@ -4736,9 +4737,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4736
4737
|
agentId: string;
|
|
4737
4738
|
sessionId: string;
|
|
4738
4739
|
evidence: {
|
|
4739
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4740
|
-
label: string;
|
|
4741
4740
|
id: string;
|
|
4741
|
+
label: string;
|
|
4742
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4742
4743
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4743
4744
|
locator?: string | undefined;
|
|
4744
4745
|
}[];
|
|
@@ -4750,9 +4751,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4750
4751
|
agentId: string;
|
|
4751
4752
|
sessionId: string;
|
|
4752
4753
|
evidence: {
|
|
4753
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4754
|
-
label: string;
|
|
4755
4754
|
id: string;
|
|
4755
|
+
label: string;
|
|
4756
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4756
4757
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4757
4758
|
locator?: string | undefined;
|
|
4758
4759
|
}[];
|
|
@@ -4761,63 +4762,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4761
4762
|
recallReceiptId: string;
|
|
4762
4763
|
staleDecisionAbsent: boolean;
|
|
4763
4764
|
} | {
|
|
4764
|
-
kind: "mission_completed";
|
|
4765
4765
|
summary: string;
|
|
4766
|
+
kind: "mission_completed";
|
|
4766
4767
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4767
4768
|
evidence: {
|
|
4768
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4769
|
-
label: string;
|
|
4770
4769
|
id: string;
|
|
4770
|
+
label: string;
|
|
4771
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4771
4772
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4772
4773
|
locator?: string | undefined;
|
|
4773
4774
|
}[];
|
|
4774
4775
|
};
|
|
4775
|
-
namespace: string;
|
|
4776
4776
|
eventId: string;
|
|
4777
4777
|
occurredAt: string;
|
|
4778
4778
|
missionId: string;
|
|
4779
4779
|
idempotencyKey?: string | undefined;
|
|
4780
4780
|
authenticatedPrincipal?: string | undefined;
|
|
4781
4781
|
}, {
|
|
4782
|
-
|
|
4782
|
+
namespace: string;
|
|
4783
4783
|
recordedAt: string;
|
|
4784
|
+
schemaVersion: "1";
|
|
4784
4785
|
payload: {
|
|
4785
4786
|
kind: "mission_started";
|
|
4786
4787
|
title: string;
|
|
4787
4788
|
objective: string;
|
|
4788
4789
|
runMode: "replay" | "fixture" | "live";
|
|
4789
4790
|
evidence?: {
|
|
4790
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4791
|
-
label: string;
|
|
4792
4791
|
id: string;
|
|
4792
|
+
label: string;
|
|
4793
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4793
4794
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4794
4795
|
locator?: string | undefined;
|
|
4795
4796
|
}[] | undefined;
|
|
4796
4797
|
} | {
|
|
4797
|
-
kind: "agent_status";
|
|
4798
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4799
4798
|
label: string;
|
|
4799
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4800
|
+
kind: "agent_status";
|
|
4800
4801
|
role: string;
|
|
4801
4802
|
agentId: string;
|
|
4802
4803
|
sessionId: string;
|
|
4803
4804
|
detail?: string | undefined;
|
|
4804
4805
|
evidence?: {
|
|
4805
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4806
|
-
label: string;
|
|
4807
4806
|
id: string;
|
|
4807
|
+
label: string;
|
|
4808
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4808
4809
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4809
4810
|
locator?: string | undefined;
|
|
4810
4811
|
}[] | undefined;
|
|
4811
4812
|
} | {
|
|
4812
|
-
kind: "agent_output";
|
|
4813
4813
|
summary: string;
|
|
4814
|
+
kind: "agent_output";
|
|
4814
4815
|
agentId: string;
|
|
4815
4816
|
sessionId: string;
|
|
4816
4817
|
outputId: string;
|
|
4817
4818
|
evidence?: {
|
|
4818
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4819
|
-
label: string;
|
|
4820
4819
|
id: string;
|
|
4820
|
+
label: string;
|
|
4821
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4821
4822
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4822
4823
|
locator?: string | undefined;
|
|
4823
4824
|
}[] | undefined;
|
|
@@ -4830,37 +4831,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4830
4831
|
decisionId: string;
|
|
4831
4832
|
confidence?: number | undefined;
|
|
4832
4833
|
evidence?: {
|
|
4833
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4834
|
-
label: string;
|
|
4835
4834
|
id: string;
|
|
4835
|
+
label: string;
|
|
4836
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4836
4837
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4837
4838
|
locator?: string | undefined;
|
|
4838
4839
|
}[] | undefined;
|
|
4839
4840
|
} | {
|
|
4840
|
-
kind: "conflict_detected";
|
|
4841
4841
|
summary: string;
|
|
4842
|
+
kind: "conflict_detected";
|
|
4842
4843
|
conflictId: string;
|
|
4843
4844
|
decisionIds: string[];
|
|
4844
4845
|
agentIds: string[];
|
|
4845
4846
|
evidence?: {
|
|
4846
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4847
|
-
label: string;
|
|
4848
4847
|
id: string;
|
|
4848
|
+
label: string;
|
|
4849
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4849
4850
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4850
4851
|
locator?: string | undefined;
|
|
4851
4852
|
}[] | undefined;
|
|
4852
4853
|
} | {
|
|
4853
|
-
kind: "test_result";
|
|
4854
4854
|
summary: string;
|
|
4855
4855
|
status: "error" | "failed" | "passed";
|
|
4856
|
+
kind: "test_result";
|
|
4856
4857
|
command: string;
|
|
4857
4858
|
decisionId: string;
|
|
4858
4859
|
testId: string;
|
|
4859
4860
|
durationMs?: number | undefined;
|
|
4860
4861
|
evidence?: {
|
|
4861
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4862
|
-
label: string;
|
|
4863
4862
|
id: string;
|
|
4863
|
+
label: string;
|
|
4864
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4864
4865
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4865
4866
|
locator?: string | undefined;
|
|
4866
4867
|
}[] | undefined;
|
|
@@ -4875,9 +4876,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4875
4876
|
supersedesDecisionIds: string[];
|
|
4876
4877
|
proposedBy: string;
|
|
4877
4878
|
evidence?: {
|
|
4878
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4879
|
-
label: string;
|
|
4880
4879
|
id: string;
|
|
4880
|
+
label: string;
|
|
4881
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4881
4882
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4882
4883
|
locator?: string | undefined;
|
|
4883
4884
|
}[] | undefined;
|
|
@@ -4885,15 +4886,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4885
4886
|
kind: "correction_approved";
|
|
4886
4887
|
correctionId: string;
|
|
4887
4888
|
approvedBy: {
|
|
4888
|
-
kind: "agent" | "human";
|
|
4889
|
-
label: string;
|
|
4890
4889
|
id: string;
|
|
4890
|
+
label: string;
|
|
4891
|
+
kind: "agent" | "human";
|
|
4891
4892
|
};
|
|
4892
4893
|
note?: string | undefined;
|
|
4893
4894
|
evidence?: {
|
|
4894
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4895
|
-
label: string;
|
|
4896
4895
|
id: string;
|
|
4896
|
+
label: string;
|
|
4897
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4897
4898
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4898
4899
|
locator?: string | undefined;
|
|
4899
4900
|
}[] | undefined;
|
|
@@ -4903,9 +4904,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4903
4904
|
correctionId: string;
|
|
4904
4905
|
replacementDecisionId: string;
|
|
4905
4906
|
evidence?: {
|
|
4906
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4907
|
-
label: string;
|
|
4908
4907
|
id: string;
|
|
4908
|
+
label: string;
|
|
4909
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4909
4910
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4910
4911
|
locator?: string | undefined;
|
|
4911
4912
|
}[] | undefined;
|
|
@@ -4918,9 +4919,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4918
4919
|
recallReceiptId: string;
|
|
4919
4920
|
capturedAtAction: boolean;
|
|
4920
4921
|
evidence?: {
|
|
4921
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4922
|
-
label: string;
|
|
4923
4922
|
id: string;
|
|
4923
|
+
label: string;
|
|
4924
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4924
4925
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4925
4926
|
locator?: string | undefined;
|
|
4926
4927
|
}[] | undefined;
|
|
@@ -4933,25 +4934,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4933
4934
|
recallReceiptId: string;
|
|
4934
4935
|
staleDecisionAbsent: boolean;
|
|
4935
4936
|
evidence?: {
|
|
4936
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4937
|
-
label: string;
|
|
4938
4937
|
id: string;
|
|
4938
|
+
label: string;
|
|
4939
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4939
4940
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4940
4941
|
locator?: string | undefined;
|
|
4941
4942
|
}[] | undefined;
|
|
4942
4943
|
} | {
|
|
4943
|
-
kind: "mission_completed";
|
|
4944
4944
|
summary: string;
|
|
4945
|
+
kind: "mission_completed";
|
|
4945
4946
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4946
4947
|
evidence?: {
|
|
4947
|
-
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4948
|
-
label: string;
|
|
4949
4948
|
id: string;
|
|
4949
|
+
label: string;
|
|
4950
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4950
4951
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4951
4952
|
locator?: string | undefined;
|
|
4952
4953
|
}[] | undefined;
|
|
4953
4954
|
};
|
|
4954
|
-
namespace: string;
|
|
4955
4955
|
eventId: string;
|
|
4956
4956
|
occurredAt: string;
|
|
4957
4957
|
missionId: string;
|