@remnic/core 9.16.3 → 9.17.0
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 +8 -8
- package/dist/access-boundary.d.ts +8 -8
- package/dist/access-cli.js +8 -8
- package/dist/access-http.d.ts +8 -8
- package/dist/access-identity-continuity-surface.d.ts +6 -6
- package/dist/access-lcm-surface.d.ts +8 -8
- package/dist/access-mcp.d.ts +8 -8
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-DwhEFYy3.d.ts → access-namespace-preflight-_yxq3PYy.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-observe-write-surface.d.ts +8 -8
- package/dist/access-operations.d.ts +11 -11
- package/dist/access-recall-concurrency.d.ts +8 -8
- package/dist/access-recall-response.d.ts +8 -8
- package/dist/access-recall-surface.d.ts +8 -8
- package/dist/access-schema.d.ts +76 -76
- package/dist/{access-service-CSq1Wp2Z.d.ts → access-service-CSm242ks.d.ts} +6 -6
- package/dist/access-service.d.ts +8 -8
- package/dist/access-surface-catalog.d.ts +8 -8
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +2 -2
- package/dist/{auto-sync-UZG3XQZ5.js → auto-sync-IH3G25MT.js} +2 -2
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +6 -6
- package/dist/briefing.d.ts +2 -2
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-B9uga4sG.d.ts → catalog-9qLG_2OV.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-5EKOBRCA.js → chunk-BCNVNUQG.js} +2 -2
- package/dist/{chunk-V6LYAXGW.js → chunk-F7BWFIDK.js} +2 -2
- package/dist/{chunk-BTK2PIFL.js → chunk-GBT4TFV7.js} +2 -2
- package/dist/{chunk-JOCXI2O5.js → chunk-K2B2TMF3.js} +2 -2
- package/dist/{chunk-GSQASASV.js → chunk-MONWCSVL.js} +65 -4
- package/dist/chunk-MONWCSVL.js.map +1 -0
- package/dist/{chunk-VLIY55Q5.js → chunk-TXXP7WAM.js} +4 -4
- package/dist/{chunk-YHURQ3M5.js → chunk-UH7VNQ7O.js} +268 -5
- package/dist/chunk-UH7VNQ7O.js.map +1 -0
- package/dist/{chunk-5SB7SC2G.js → chunk-UX3ZXN34.js} +3 -1
- package/dist/{cli-DYLGXxuu.d.ts → cli-BLZHYY2A.d.ts} +5 -5
- package/dist/cli.d.ts +10 -10
- package/dist/cli.js +5 -5
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +2 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +2 -2
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -6
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/index.d.ts +502 -427
- package/dist/index.js +14 -8
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/mcp-memory-inspector-app.d.ts +8 -8
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +3 -3
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +3 -3
- package/dist/orchestration/maintenance.js +2 -2
- package/dist/{orchestrator-BHx-DWCa.d.ts → orchestrator-CplS9U3U.d.ts} +5 -5
- package/dist/orchestrator.d.ts +6 -6
- package/dist/orchestrator.js +8 -8
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-DDHSE876.d.ts → pipeline-DB4CbFqo.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{qmd-C4WVh6BM.d.ts → qmd-BxZmOLHq.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +3 -3
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/schemas.d.ts +76 -76
- package/dist/{scope-profiles-EqMXwzCz.d.ts → scope-profiles-NsQQo1Lt.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-CYpvwmQc.d.ts → semantic-consolidation-DW85h30n.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +9 -9
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-Dxd7zVZH.d.ts → storage-o5BTAa8d.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-OUCJALBK.d.ts → types-V3dT-pen.d.ts} +14 -2
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/activity/config.test.ts +42 -4
- package/src/activity/config.ts +83 -8
- package/src/activity/index.ts +5 -3
- package/src/activity/memory-gen.test.ts +436 -0
- package/src/activity/memory-gen.ts +409 -0
- package/src/activity/runner.test.ts +3 -0
- package/src/activity/scheduler.test.ts +3 -0
- package/src/activity/sync-registration.test.ts +2 -1
- package/src/activity/types.ts +15 -1
- package/src/config.test.ts +7 -0
- package/dist/chunk-GSQASASV.js.map +0 -1
- package/dist/chunk-YHURQ3M5.js.map +0 -1
- /package/dist/{auto-sync-UZG3XQZ5.js.map → auto-sync-IH3G25MT.js.map} +0 -0
- /package/dist/{chunk-5EKOBRCA.js.map → chunk-BCNVNUQG.js.map} +0 -0
- /package/dist/{chunk-V6LYAXGW.js.map → chunk-F7BWFIDK.js.map} +0 -0
- /package/dist/{chunk-BTK2PIFL.js.map → chunk-GBT4TFV7.js.map} +0 -0
- /package/dist/{chunk-JOCXI2O5.js.map → chunk-K2B2TMF3.js.map} +0 -0
- /package/dist/{chunk-VLIY55Q5.js.map → chunk-TXXP7WAM.js.map} +0 -0
- /package/dist/{chunk-5SB7SC2G.js.map → chunk-UX3ZXN34.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
|
|
|
2
2
|
export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
|
|
3
3
|
export { resolveRemnicConfigRecord } from './config-record.js';
|
|
4
4
|
export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
|
|
5
|
-
import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-
|
|
6
|
-
export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-
|
|
5
|
+
import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-CplS9U3U.js';
|
|
6
|
+
export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-CplS9U3U.js';
|
|
7
7
|
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
8
8
|
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
9
9
|
export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
|
|
@@ -13,21 +13,23 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
|
|
|
13
13
|
export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
|
|
14
14
|
export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
|
|
15
15
|
export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
|
|
16
|
-
import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-
|
|
17
|
-
export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as parseEntityFile, s as parseFusionDay, t as serializeEntityFile, u as serializeFusionDay } from './storage-
|
|
18
|
-
|
|
16
|
+
import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-o5BTAa8d.js';
|
|
17
|
+
export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as parseEntityFile, s as parseFusionDay, t as serializeEntityFile, u as serializeFusionDay } from './storage-o5BTAa8d.js';
|
|
18
|
+
import { SealedMemoryEnvelope } from './write-envelope.js';
|
|
19
|
+
export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
|
|
19
20
|
export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
|
|
20
21
|
export { ExtractionEngine } from './extraction.js';
|
|
21
22
|
export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, CodexCliFallbackRunner, setCodexCliFallbackRunnerForProcess } from './cli-fallback.js';
|
|
22
23
|
export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
|
|
23
24
|
export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
|
|
24
25
|
export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
|
|
25
|
-
import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation, P as PluginConfig, aU as CodingKnowledgeConfig, w as MemoryCategory, aV as WearableCleanupSettings, aW as WearableFusionConfig, aG as WearableSourceSettings, aK as WearablesConfig, aJ as WearableSourceConnector, aO as WearableCorrectionRule, aX as WearableDayTranscriptMeta, aN as WearableDayTranscript, aY as ActivitySnapshot, aZ as ActivityDayMeta, a_ as ActivityDayDigest, a$ as ActivitySourceClient, b0 as ActivitySourceCheck, b1 as ActivitySnapshotPage, b2 as ActivityConfig, b3 as ActivitySourceConfig } from './types-
|
|
26
|
-
export { a6 as AgentAccessAuthToken, k as BriefingActiveThread,
|
|
27
|
-
|
|
26
|
+
import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation, P as PluginConfig, aU as CodingKnowledgeConfig, w as MemoryCategory, aV as WearableCleanupSettings, aW as WearableFusionConfig, aG as WearableSourceSettings, aK as WearablesConfig, aJ as WearableSourceConnector, aO as WearableCorrectionRule, aX as WearableDayTranscriptMeta, aN as WearableDayTranscript, aY as ActivitySnapshot, aZ as ActivityDayMeta, a_ as ActivityDayDigest, a$ as ActivitySourceClient, b0 as ActivitySourceCheck, b1 as ActivitySnapshotPage, b2 as ActivityConfig, b3 as ActivitySourceConfig, J as ExtractionResult, x as MemoryStatus, ah as ImportanceScore } from './types-V3dT-pen.js';
|
|
27
|
+
export { b4 as ActivityExtractionMode, a6 as AgentAccessAuthToken, k as BriefingActiveThread, b5 as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, b6 as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, b7 as BriefingWindow, a0 as BufferSurpriseEvent, b8 as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, b9 as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, ba as CodexCompatConfig, aS as ConsolidationObservation, bb as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ag as EntityStructuredSection, bc as ExtractedFact, G as GatewayConfig, bd as ImportSourceRole, a1 as ImportTurn, be as ImportTurnValidationIssue, aj as MemoryActionEligibilityContext, bf as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, bg as MemoryObservation, bh as MemoryScope, bi as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, bj as WearableAuthCheck, bk as WearableFetchOptions, bl as WearableFetchPage, aI as WearableMemoryMode, aH as WearableNativeMemory, bm as WearableNativeMemoryPage, aM as WearableSourceStatus, aL as WearableSyncSummary, bn as WearableTranscriptSegment, bo as isImportRole, bp as isRecallDisclosure, bq as parseIsoTimestamp, br as validateImportTurn } from './types-V3dT-pen.js';
|
|
28
|
+
import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
|
|
29
|
+
export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
28
30
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
29
|
-
import { F as EngramAccessService } from './access-service-
|
|
30
|
-
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-
|
|
31
|
+
import { F as EngramAccessService } from './access-service-CSm242ks.js';
|
|
32
|
+
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-CSm242ks.js';
|
|
31
33
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
32
34
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
33
35
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -35,13 +37,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
|
|
|
35
37
|
export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
|
|
36
38
|
export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
|
|
37
39
|
export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
|
|
38
|
-
export { Q as QmdClient } from './qmd-
|
|
40
|
+
export { Q as QmdClient } from './qmd-BxZmOLHq.js';
|
|
39
41
|
export { LanceDbBackend } from './search/lancedb-backend.js';
|
|
40
42
|
export { OramaBackend } from './search/orama-backend.js';
|
|
41
43
|
export { MeilisearchBackend } from './search/meilisearch-backend.js';
|
|
42
44
|
export { buildEntityRecallSection } from './entity-retrieval.js';
|
|
43
45
|
export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
|
|
44
|
-
export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-
|
|
46
|
+
export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-9qLG_2OV.js';
|
|
45
47
|
export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
|
|
46
48
|
export { storagePathHash } from './storage-paths.js';
|
|
47
49
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
@@ -69,8 +71,8 @@ export { initLogger, log } from './logger.js';
|
|
|
69
71
|
export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
|
|
70
72
|
export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
|
|
71
73
|
export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
|
|
72
|
-
import { D as DiscoveredExtension } from './semantic-consolidation-
|
|
73
|
-
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-
|
|
74
|
+
import { D as DiscoveredExtension } from './semantic-consolidation-DW85h30n.js';
|
|
75
|
+
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DW85h30n.js';
|
|
74
76
|
export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
|
|
75
77
|
import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
|
|
76
78
|
export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
|
|
@@ -85,8 +87,8 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
|
|
|
85
87
|
export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
|
|
86
88
|
export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
|
|
87
89
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
88
|
-
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-
|
|
89
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
90
|
+
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DB4CbFqo.js';
|
|
91
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BLZHYY2A.js';
|
|
90
92
|
import { BetterSqlite3Database } from './runtime/better-sqlite.js';
|
|
91
93
|
import { SearchExecutionOptions } from './search/port.js';
|
|
92
94
|
export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
|
|
@@ -147,7 +149,7 @@ import './faiss-adapter-BHecI1fF.js';
|
|
|
147
149
|
import './runtime/child-process.js';
|
|
148
150
|
import './namespaces/storage.js';
|
|
149
151
|
import './threading.js';
|
|
150
|
-
import './scope-profiles-
|
|
152
|
+
import './scope-profiles-NsQQo1Lt.js';
|
|
151
153
|
import './graph.js';
|
|
152
154
|
import './relevance.js';
|
|
153
155
|
import './negative.js';
|
|
@@ -162,7 +164,7 @@ import './lcm/queue.js';
|
|
|
162
164
|
import './policy-runtime.js';
|
|
163
165
|
import './profiling.js';
|
|
164
166
|
import './schemas.js';
|
|
165
|
-
import './access-namespace-preflight-
|
|
167
|
+
import './access-namespace-preflight-_yxq3PYy.js';
|
|
166
168
|
import './recall-explain-renderer.js';
|
|
167
169
|
import './access-citation.js';
|
|
168
170
|
import './explicit-capture.js';
|
|
@@ -862,15 +864,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
862
864
|
locator: z.ZodOptional<z.ZodString>;
|
|
863
865
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
864
866
|
}, "strict", z.ZodTypeAny, {
|
|
867
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
865
868
|
id: string;
|
|
866
869
|
label: string;
|
|
867
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
868
870
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
869
871
|
locator?: string | undefined;
|
|
870
872
|
}, {
|
|
873
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
871
874
|
id: string;
|
|
872
875
|
label: string;
|
|
873
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
874
876
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
875
877
|
locator?: string | undefined;
|
|
876
878
|
}>;
|
|
@@ -887,15 +889,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
887
889
|
locator: z.ZodOptional<z.ZodString>;
|
|
888
890
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
889
891
|
}, "strict", z.ZodTypeAny, {
|
|
892
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
890
893
|
id: string;
|
|
891
894
|
label: string;
|
|
892
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
893
895
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
894
896
|
locator?: string | undefined;
|
|
895
897
|
}, {
|
|
898
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
896
899
|
id: string;
|
|
897
900
|
label: string;
|
|
898
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
899
901
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
900
902
|
locator?: string | undefined;
|
|
901
903
|
}>, "many">>;
|
|
@@ -903,9 +905,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
903
905
|
kind: "mission_started";
|
|
904
906
|
title: string;
|
|
905
907
|
evidence: {
|
|
908
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
906
909
|
id: string;
|
|
907
910
|
label: string;
|
|
908
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
909
911
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
910
912
|
locator?: string | undefined;
|
|
911
913
|
}[];
|
|
@@ -917,9 +919,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
917
919
|
objective: string;
|
|
918
920
|
runMode: "replay" | "fixture" | "live";
|
|
919
921
|
evidence?: {
|
|
922
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
920
923
|
id: string;
|
|
921
924
|
label: string;
|
|
922
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
923
925
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
924
926
|
locator?: string | undefined;
|
|
925
927
|
}[] | undefined;
|
|
@@ -935,15 +937,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
935
937
|
locator: z.ZodOptional<z.ZodString>;
|
|
936
938
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
937
939
|
}, "strict", z.ZodTypeAny, {
|
|
940
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
938
941
|
id: string;
|
|
939
942
|
label: string;
|
|
940
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
941
943
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
942
944
|
locator?: string | undefined;
|
|
943
945
|
}, {
|
|
946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
944
947
|
id: string;
|
|
945
948
|
label: string;
|
|
946
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
947
949
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
948
950
|
locator?: string | undefined;
|
|
949
951
|
}>, "many">>;
|
|
@@ -951,32 +953,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
951
953
|
sessionId: z.ZodString;
|
|
952
954
|
kind: z.ZodLiteral<"agent_status">;
|
|
953
955
|
}, "strict", z.ZodTypeAny, {
|
|
954
|
-
label: string;
|
|
955
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
956
956
|
kind: "agent_status";
|
|
957
957
|
role: string;
|
|
958
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
959
|
+
label: string;
|
|
958
960
|
agentId: string;
|
|
959
961
|
sessionId: string;
|
|
960
962
|
evidence: {
|
|
963
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
961
964
|
id: string;
|
|
962
965
|
label: string;
|
|
963
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
964
966
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
965
967
|
locator?: string | undefined;
|
|
966
968
|
}[];
|
|
967
969
|
detail?: string | undefined;
|
|
968
970
|
}, {
|
|
969
|
-
label: string;
|
|
970
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
971
971
|
kind: "agent_status";
|
|
972
972
|
role: string;
|
|
973
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
974
|
+
label: string;
|
|
973
975
|
agentId: string;
|
|
974
976
|
sessionId: string;
|
|
975
977
|
detail?: string | undefined;
|
|
976
978
|
evidence?: {
|
|
979
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
977
980
|
id: string;
|
|
978
981
|
label: string;
|
|
979
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
980
982
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
981
983
|
locator?: string | undefined;
|
|
982
984
|
}[] | undefined;
|
|
@@ -990,15 +992,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
990
992
|
locator: z.ZodOptional<z.ZodString>;
|
|
991
993
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
992
994
|
}, "strict", z.ZodTypeAny, {
|
|
995
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
993
996
|
id: string;
|
|
994
997
|
label: string;
|
|
995
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
996
998
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
997
999
|
locator?: string | undefined;
|
|
998
1000
|
}, {
|
|
1001
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
999
1002
|
id: string;
|
|
1000
1003
|
label: string;
|
|
1001
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1002
1004
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1003
1005
|
locator?: string | undefined;
|
|
1004
1006
|
}>, "many">>;
|
|
@@ -1006,28 +1008,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1006
1008
|
sessionId: z.ZodString;
|
|
1007
1009
|
kind: z.ZodLiteral<"agent_output">;
|
|
1008
1010
|
}, "strict", z.ZodTypeAny, {
|
|
1009
|
-
summary: string;
|
|
1010
1011
|
kind: "agent_output";
|
|
1012
|
+
summary: string;
|
|
1011
1013
|
agentId: string;
|
|
1012
1014
|
sessionId: string;
|
|
1013
1015
|
evidence: {
|
|
1016
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1014
1017
|
id: string;
|
|
1015
1018
|
label: string;
|
|
1016
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1017
1019
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1018
1020
|
locator?: string | undefined;
|
|
1019
1021
|
}[];
|
|
1020
1022
|
outputId: string;
|
|
1021
1023
|
}, {
|
|
1022
|
-
summary: string;
|
|
1023
1024
|
kind: "agent_output";
|
|
1025
|
+
summary: string;
|
|
1024
1026
|
agentId: string;
|
|
1025
1027
|
sessionId: string;
|
|
1026
1028
|
outputId: string;
|
|
1027
1029
|
evidence?: {
|
|
1030
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1028
1031
|
id: string;
|
|
1029
1032
|
label: string;
|
|
1030
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1031
1033
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1032
1034
|
locator?: string | undefined;
|
|
1033
1035
|
}[] | undefined;
|
|
@@ -1043,15 +1045,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1043
1045
|
locator: z.ZodOptional<z.ZodString>;
|
|
1044
1046
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1045
1047
|
}, "strict", z.ZodTypeAny, {
|
|
1048
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1046
1049
|
id: string;
|
|
1047
1050
|
label: string;
|
|
1048
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1049
1051
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1050
1052
|
locator?: string | undefined;
|
|
1051
1053
|
}, {
|
|
1054
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1052
1055
|
id: string;
|
|
1053
1056
|
label: string;
|
|
1054
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1055
1057
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1056
1058
|
locator?: string | undefined;
|
|
1057
1059
|
}>, "many">>;
|
|
@@ -1064,9 +1066,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1064
1066
|
statement: string;
|
|
1065
1067
|
sessionId: string;
|
|
1066
1068
|
evidence: {
|
|
1069
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1067
1070
|
id: string;
|
|
1068
1071
|
label: string;
|
|
1069
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1070
1072
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1071
1073
|
locator?: string | undefined;
|
|
1072
1074
|
}[];
|
|
@@ -1082,9 +1084,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1082
1084
|
decisionId: string;
|
|
1083
1085
|
confidence?: number | undefined;
|
|
1084
1086
|
evidence?: {
|
|
1087
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1085
1088
|
id: string;
|
|
1086
1089
|
label: string;
|
|
1087
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1088
1090
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1089
1091
|
locator?: string | undefined;
|
|
1090
1092
|
}[] | undefined;
|
|
@@ -1101,25 +1103,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1101
1103
|
locator: z.ZodOptional<z.ZodString>;
|
|
1102
1104
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1103
1105
|
}, "strict", z.ZodTypeAny, {
|
|
1106
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1104
1107
|
id: string;
|
|
1105
1108
|
label: string;
|
|
1106
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1107
1109
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1108
1110
|
locator?: string | undefined;
|
|
1109
1111
|
}, {
|
|
1112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1110
1113
|
id: string;
|
|
1111
1114
|
label: string;
|
|
1112
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1113
1115
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1114
1116
|
locator?: string | undefined;
|
|
1115
1117
|
}>, "many">>;
|
|
1116
1118
|
}, "strict", z.ZodTypeAny, {
|
|
1117
|
-
summary: string;
|
|
1118
1119
|
kind: "conflict_detected";
|
|
1120
|
+
summary: string;
|
|
1119
1121
|
evidence: {
|
|
1122
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1120
1123
|
id: string;
|
|
1121
1124
|
label: string;
|
|
1122
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1123
1125
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1124
1126
|
locator?: string | undefined;
|
|
1125
1127
|
}[];
|
|
@@ -1127,15 +1129,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1127
1129
|
decisionIds: string[];
|
|
1128
1130
|
agentIds: string[];
|
|
1129
1131
|
}, {
|
|
1130
|
-
summary: string;
|
|
1131
1132
|
kind: "conflict_detected";
|
|
1133
|
+
summary: string;
|
|
1132
1134
|
conflictId: string;
|
|
1133
1135
|
decisionIds: string[];
|
|
1134
1136
|
agentIds: string[];
|
|
1135
1137
|
evidence?: {
|
|
1138
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1136
1139
|
id: string;
|
|
1137
1140
|
label: string;
|
|
1138
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1139
1141
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1140
1142
|
locator?: string | undefined;
|
|
1141
1143
|
}[] | undefined;
|
|
@@ -1155,27 +1157,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1155
1157
|
locator: z.ZodOptional<z.ZodString>;
|
|
1156
1158
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1157
1159
|
}, "strict", z.ZodTypeAny, {
|
|
1160
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1158
1161
|
id: string;
|
|
1159
1162
|
label: string;
|
|
1160
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1161
1163
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1162
1164
|
locator?: string | undefined;
|
|
1163
1165
|
}, {
|
|
1166
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1164
1167
|
id: string;
|
|
1165
1168
|
label: string;
|
|
1166
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1167
1169
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1168
1170
|
locator?: string | undefined;
|
|
1169
1171
|
}>, "many">>;
|
|
1170
1172
|
}, "strict", z.ZodTypeAny, {
|
|
1171
|
-
summary: string;
|
|
1172
|
-
status: "error" | "failed" | "passed";
|
|
1173
1173
|
kind: "test_result";
|
|
1174
|
+
summary: string;
|
|
1174
1175
|
command: string;
|
|
1176
|
+
status: "error" | "failed" | "passed";
|
|
1175
1177
|
evidence: {
|
|
1178
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1176
1179
|
id: string;
|
|
1177
1180
|
label: string;
|
|
1178
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1179
1181
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1180
1182
|
locator?: string | undefined;
|
|
1181
1183
|
}[];
|
|
@@ -1184,17 +1186,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1184
1186
|
durationMs?: number | undefined;
|
|
1185
1187
|
correctionId?: string | undefined;
|
|
1186
1188
|
}, {
|
|
1187
|
-
summary: string;
|
|
1188
|
-
status: "error" | "failed" | "passed";
|
|
1189
1189
|
kind: "test_result";
|
|
1190
|
+
summary: string;
|
|
1190
1191
|
command: string;
|
|
1192
|
+
status: "error" | "failed" | "passed";
|
|
1191
1193
|
decisionId: string;
|
|
1192
1194
|
testId: string;
|
|
1193
1195
|
durationMs?: number | undefined;
|
|
1194
1196
|
evidence?: {
|
|
1197
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1195
1198
|
id: string;
|
|
1196
1199
|
label: string;
|
|
1197
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1198
1200
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1199
1201
|
locator?: string | undefined;
|
|
1200
1202
|
}[] | undefined;
|
|
@@ -1215,15 +1217,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1215
1217
|
locator: z.ZodOptional<z.ZodString>;
|
|
1216
1218
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1217
1219
|
}, "strict", z.ZodTypeAny, {
|
|
1220
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1218
1221
|
id: string;
|
|
1219
1222
|
label: string;
|
|
1220
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1221
1223
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1222
1224
|
locator?: string | undefined;
|
|
1223
1225
|
}, {
|
|
1226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1224
1227
|
id: string;
|
|
1225
1228
|
label: string;
|
|
1226
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1227
1229
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1228
1230
|
locator?: string | undefined;
|
|
1229
1231
|
}>, "many">>;
|
|
@@ -1232,9 +1234,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1232
1234
|
rationale: string;
|
|
1233
1235
|
statement: string;
|
|
1234
1236
|
evidence: {
|
|
1237
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1235
1238
|
id: string;
|
|
1236
1239
|
label: string;
|
|
1237
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1238
1240
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1239
1241
|
locator?: string | undefined;
|
|
1240
1242
|
}[];
|
|
@@ -1253,9 +1255,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1253
1255
|
supersedesDecisionIds: string[];
|
|
1254
1256
|
proposedBy: string;
|
|
1255
1257
|
evidence?: {
|
|
1258
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1256
1259
|
id: string;
|
|
1257
1260
|
label: string;
|
|
1258
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1259
1261
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1260
1262
|
locator?: string | undefined;
|
|
1261
1263
|
}[] | undefined;
|
|
@@ -1267,13 +1269,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1267
1269
|
id: z.ZodString;
|
|
1268
1270
|
label: z.ZodString;
|
|
1269
1271
|
}, "strict", z.ZodTypeAny, {
|
|
1272
|
+
kind: "agent" | "human";
|
|
1270
1273
|
id: string;
|
|
1271
1274
|
label: string;
|
|
1272
|
-
kind: "agent" | "human";
|
|
1273
1275
|
}, {
|
|
1276
|
+
kind: "agent" | "human";
|
|
1274
1277
|
id: string;
|
|
1275
1278
|
label: string;
|
|
1276
|
-
kind: "agent" | "human";
|
|
1277
1279
|
}>;
|
|
1278
1280
|
note: z.ZodOptional<z.ZodString>;
|
|
1279
1281
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1283,47 +1285,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1283
1285
|
locator: z.ZodOptional<z.ZodString>;
|
|
1284
1286
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1285
1287
|
}, "strict", z.ZodTypeAny, {
|
|
1288
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1286
1289
|
id: string;
|
|
1287
1290
|
label: string;
|
|
1288
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1289
1291
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1290
1292
|
locator?: string | undefined;
|
|
1291
1293
|
}, {
|
|
1294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1292
1295
|
id: string;
|
|
1293
1296
|
label: string;
|
|
1294
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1295
1297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1296
1298
|
locator?: string | undefined;
|
|
1297
1299
|
}>, "many">>;
|
|
1298
1300
|
}, "strict", z.ZodTypeAny, {
|
|
1299
1301
|
kind: "correction_approved";
|
|
1300
1302
|
evidence: {
|
|
1303
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1301
1304
|
id: string;
|
|
1302
1305
|
label: string;
|
|
1303
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1304
1306
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1305
1307
|
locator?: string | undefined;
|
|
1306
1308
|
}[];
|
|
1307
1309
|
correctionId: string;
|
|
1308
1310
|
approvedBy: {
|
|
1311
|
+
kind: "agent" | "human";
|
|
1309
1312
|
id: string;
|
|
1310
1313
|
label: string;
|
|
1311
|
-
kind: "agent" | "human";
|
|
1312
1314
|
};
|
|
1313
1315
|
note?: string | undefined;
|
|
1314
1316
|
}, {
|
|
1315
1317
|
kind: "correction_approved";
|
|
1316
1318
|
correctionId: string;
|
|
1317
1319
|
approvedBy: {
|
|
1320
|
+
kind: "agent" | "human";
|
|
1318
1321
|
id: string;
|
|
1319
1322
|
label: string;
|
|
1320
|
-
kind: "agent" | "human";
|
|
1321
1323
|
};
|
|
1322
1324
|
note?: string | undefined;
|
|
1323
1325
|
evidence?: {
|
|
1326
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1324
1327
|
id: string;
|
|
1325
1328
|
label: string;
|
|
1326
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1327
1329
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1328
1330
|
locator?: string | undefined;
|
|
1329
1331
|
}[] | undefined;
|
|
@@ -1339,24 +1341,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1339
1341
|
locator: z.ZodOptional<z.ZodString>;
|
|
1340
1342
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1341
1343
|
}, "strict", z.ZodTypeAny, {
|
|
1344
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1342
1345
|
id: string;
|
|
1343
1346
|
label: string;
|
|
1344
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1345
1347
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1346
1348
|
locator?: string | undefined;
|
|
1347
1349
|
}, {
|
|
1350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1348
1351
|
id: string;
|
|
1349
1352
|
label: string;
|
|
1350
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1351
1353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1352
1354
|
locator?: string | undefined;
|
|
1353
1355
|
}>, "many">>;
|
|
1354
1356
|
}, "strict", z.ZodTypeAny, {
|
|
1355
1357
|
kind: "decision_superseded";
|
|
1356
1358
|
evidence: {
|
|
1359
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1357
1360
|
id: string;
|
|
1358
1361
|
label: string;
|
|
1359
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1360
1362
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1361
1363
|
locator?: string | undefined;
|
|
1362
1364
|
}[];
|
|
@@ -1369,9 +1371,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1369
1371
|
correctionId: string;
|
|
1370
1372
|
replacementDecisionId: string;
|
|
1371
1373
|
evidence?: {
|
|
1374
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1372
1375
|
id: string;
|
|
1373
1376
|
label: string;
|
|
1374
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1375
1377
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1376
1378
|
locator?: string | undefined;
|
|
1377
1379
|
}[] | undefined;
|
|
@@ -1387,15 +1389,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1387
1389
|
locator: z.ZodOptional<z.ZodString>;
|
|
1388
1390
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1389
1391
|
}, "strict", z.ZodTypeAny, {
|
|
1392
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1390
1393
|
id: string;
|
|
1391
1394
|
label: string;
|
|
1392
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1393
1395
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1394
1396
|
locator?: string | undefined;
|
|
1395
1397
|
}, {
|
|
1398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1396
1399
|
id: string;
|
|
1397
1400
|
label: string;
|
|
1398
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1399
1401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1400
1402
|
locator?: string | undefined;
|
|
1401
1403
|
}>, "many">>;
|
|
@@ -1408,9 +1410,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1408
1410
|
agentId: string;
|
|
1409
1411
|
sessionId: string;
|
|
1410
1412
|
evidence: {
|
|
1413
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1411
1414
|
id: string;
|
|
1412
1415
|
label: string;
|
|
1413
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1414
1416
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1415
1417
|
locator?: string | undefined;
|
|
1416
1418
|
}[];
|
|
@@ -1426,9 +1428,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1426
1428
|
recallReceiptId: string;
|
|
1427
1429
|
capturedAtAction: boolean;
|
|
1428
1430
|
evidence?: {
|
|
1431
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1429
1432
|
id: string;
|
|
1430
1433
|
label: string;
|
|
1431
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1432
1434
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1433
1435
|
locator?: string | undefined;
|
|
1434
1436
|
}[] | undefined;
|
|
@@ -1444,15 +1446,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1444
1446
|
locator: z.ZodOptional<z.ZodString>;
|
|
1445
1447
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1446
1448
|
}, "strict", z.ZodTypeAny, {
|
|
1449
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1447
1450
|
id: string;
|
|
1448
1451
|
label: string;
|
|
1449
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1450
1452
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1451
1453
|
locator?: string | undefined;
|
|
1452
1454
|
}, {
|
|
1455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1453
1456
|
id: string;
|
|
1454
1457
|
label: string;
|
|
1455
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1456
1458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1457
1459
|
locator?: string | undefined;
|
|
1458
1460
|
}>, "many">>;
|
|
@@ -1464,9 +1466,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1464
1466
|
agentId: string;
|
|
1465
1467
|
sessionId: string;
|
|
1466
1468
|
evidence: {
|
|
1469
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1467
1470
|
id: string;
|
|
1468
1471
|
label: string;
|
|
1469
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1470
1472
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1471
1473
|
locator?: string | undefined;
|
|
1472
1474
|
}[];
|
|
@@ -1483,9 +1485,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1483
1485
|
recallReceiptId: string;
|
|
1484
1486
|
staleDecisionAbsent: boolean;
|
|
1485
1487
|
evidence?: {
|
|
1488
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1486
1489
|
id: string;
|
|
1487
1490
|
label: string;
|
|
1488
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1489
1491
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1490
1492
|
locator?: string | undefined;
|
|
1491
1493
|
}[] | undefined;
|
|
@@ -1500,37 +1502,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1500
1502
|
locator: z.ZodOptional<z.ZodString>;
|
|
1501
1503
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1502
1504
|
}, "strict", z.ZodTypeAny, {
|
|
1505
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1503
1506
|
id: string;
|
|
1504
1507
|
label: string;
|
|
1505
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1506
1508
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1507
1509
|
locator?: string | undefined;
|
|
1508
1510
|
}, {
|
|
1511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1509
1512
|
id: string;
|
|
1510
1513
|
label: string;
|
|
1511
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1512
1514
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1513
1515
|
locator?: string | undefined;
|
|
1514
1516
|
}>, "many">>;
|
|
1515
1517
|
}, "strict", z.ZodTypeAny, {
|
|
1516
|
-
summary: string;
|
|
1517
1518
|
kind: "mission_completed";
|
|
1519
|
+
summary: string;
|
|
1518
1520
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1519
1521
|
evidence: {
|
|
1522
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1520
1523
|
id: string;
|
|
1521
1524
|
label: string;
|
|
1522
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1523
1525
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1524
1526
|
locator?: string | undefined;
|
|
1525
1527
|
}[];
|
|
1526
1528
|
}, {
|
|
1527
|
-
summary: string;
|
|
1528
1529
|
kind: "mission_completed";
|
|
1530
|
+
summary: string;
|
|
1529
1531
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1530
1532
|
evidence?: {
|
|
1533
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1531
1534
|
id: string;
|
|
1532
1535
|
label: string;
|
|
1533
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1534
1536
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1535
1537
|
locator?: string | undefined;
|
|
1536
1538
|
}[] | undefined;
|
|
@@ -1538,38 +1540,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1538
1540
|
kind: "mission_started";
|
|
1539
1541
|
title: string;
|
|
1540
1542
|
evidence: {
|
|
1543
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1541
1544
|
id: string;
|
|
1542
1545
|
label: string;
|
|
1543
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1544
1546
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1545
1547
|
locator?: string | undefined;
|
|
1546
1548
|
}[];
|
|
1547
1549
|
objective: string;
|
|
1548
1550
|
runMode: "replay" | "fixture" | "live";
|
|
1549
1551
|
} | {
|
|
1550
|
-
label: string;
|
|
1551
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1552
1552
|
kind: "agent_status";
|
|
1553
1553
|
role: string;
|
|
1554
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1555
|
+
label: string;
|
|
1554
1556
|
agentId: string;
|
|
1555
1557
|
sessionId: string;
|
|
1556
1558
|
evidence: {
|
|
1559
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1557
1560
|
id: string;
|
|
1558
1561
|
label: string;
|
|
1559
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1560
1562
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1561
1563
|
locator?: string | undefined;
|
|
1562
1564
|
}[];
|
|
1563
1565
|
detail?: string | undefined;
|
|
1564
1566
|
} | {
|
|
1565
|
-
summary: string;
|
|
1566
1567
|
kind: "agent_output";
|
|
1568
|
+
summary: string;
|
|
1567
1569
|
agentId: string;
|
|
1568
1570
|
sessionId: string;
|
|
1569
1571
|
evidence: {
|
|
1572
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1570
1573
|
id: string;
|
|
1571
1574
|
label: string;
|
|
1572
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1573
1575
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1574
1576
|
locator?: string | undefined;
|
|
1575
1577
|
}[];
|
|
@@ -1580,9 +1582,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1580
1582
|
statement: string;
|
|
1581
1583
|
sessionId: string;
|
|
1582
1584
|
evidence: {
|
|
1585
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1583
1586
|
id: string;
|
|
1584
1587
|
label: string;
|
|
1585
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1586
1588
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1587
1589
|
locator?: string | undefined;
|
|
1588
1590
|
}[];
|
|
@@ -1590,12 +1592,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1590
1592
|
decisionId: string;
|
|
1591
1593
|
confidence?: number | undefined;
|
|
1592
1594
|
} | {
|
|
1593
|
-
summary: string;
|
|
1594
1595
|
kind: "conflict_detected";
|
|
1596
|
+
summary: string;
|
|
1595
1597
|
evidence: {
|
|
1598
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1596
1599
|
id: string;
|
|
1597
1600
|
label: string;
|
|
1598
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1599
1601
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1600
1602
|
locator?: string | undefined;
|
|
1601
1603
|
}[];
|
|
@@ -1603,14 +1605,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1603
1605
|
decisionIds: string[];
|
|
1604
1606
|
agentIds: string[];
|
|
1605
1607
|
} | {
|
|
1606
|
-
summary: string;
|
|
1607
|
-
status: "error" | "failed" | "passed";
|
|
1608
1608
|
kind: "test_result";
|
|
1609
|
+
summary: string;
|
|
1609
1610
|
command: string;
|
|
1611
|
+
status: "error" | "failed" | "passed";
|
|
1610
1612
|
evidence: {
|
|
1613
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1611
1614
|
id: string;
|
|
1612
1615
|
label: string;
|
|
1613
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1614
1616
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1615
1617
|
locator?: string | undefined;
|
|
1616
1618
|
}[];
|
|
@@ -1623,9 +1625,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1623
1625
|
rationale: string;
|
|
1624
1626
|
statement: string;
|
|
1625
1627
|
evidence: {
|
|
1628
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1626
1629
|
id: string;
|
|
1627
1630
|
label: string;
|
|
1628
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1629
1631
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1630
1632
|
locator?: string | undefined;
|
|
1631
1633
|
}[];
|
|
@@ -1637,25 +1639,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1637
1639
|
} | {
|
|
1638
1640
|
kind: "correction_approved";
|
|
1639
1641
|
evidence: {
|
|
1642
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1640
1643
|
id: string;
|
|
1641
1644
|
label: string;
|
|
1642
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1643
1645
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1644
1646
|
locator?: string | undefined;
|
|
1645
1647
|
}[];
|
|
1646
1648
|
correctionId: string;
|
|
1647
1649
|
approvedBy: {
|
|
1650
|
+
kind: "agent" | "human";
|
|
1648
1651
|
id: string;
|
|
1649
1652
|
label: string;
|
|
1650
|
-
kind: "agent" | "human";
|
|
1651
1653
|
};
|
|
1652
1654
|
note?: string | undefined;
|
|
1653
1655
|
} | {
|
|
1654
1656
|
kind: "decision_superseded";
|
|
1655
1657
|
evidence: {
|
|
1658
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1656
1659
|
id: string;
|
|
1657
1660
|
label: string;
|
|
1658
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1659
1661
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1660
1662
|
locator?: string | undefined;
|
|
1661
1663
|
}[];
|
|
@@ -1668,9 +1670,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1668
1670
|
agentId: string;
|
|
1669
1671
|
sessionId: string;
|
|
1670
1672
|
evidence: {
|
|
1673
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1671
1674
|
id: string;
|
|
1672
1675
|
label: string;
|
|
1673
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1674
1676
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1675
1677
|
locator?: string | undefined;
|
|
1676
1678
|
}[];
|
|
@@ -1682,9 +1684,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1682
1684
|
agentId: string;
|
|
1683
1685
|
sessionId: string;
|
|
1684
1686
|
evidence: {
|
|
1687
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1685
1688
|
id: string;
|
|
1686
1689
|
label: string;
|
|
1687
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1688
1690
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1689
1691
|
locator?: string | undefined;
|
|
1690
1692
|
}[];
|
|
@@ -1693,13 +1695,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1693
1695
|
recallReceiptId: string;
|
|
1694
1696
|
staleDecisionAbsent: boolean;
|
|
1695
1697
|
} | {
|
|
1696
|
-
summary: string;
|
|
1697
1698
|
kind: "mission_completed";
|
|
1699
|
+
summary: string;
|
|
1698
1700
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1699
1701
|
evidence: {
|
|
1702
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1700
1703
|
id: string;
|
|
1701
1704
|
label: string;
|
|
1702
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1703
1705
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1704
1706
|
locator?: string | undefined;
|
|
1705
1707
|
}[];
|
|
@@ -1709,37 +1711,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1709
1711
|
objective: string;
|
|
1710
1712
|
runMode: "replay" | "fixture" | "live";
|
|
1711
1713
|
evidence?: {
|
|
1714
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1712
1715
|
id: string;
|
|
1713
1716
|
label: string;
|
|
1714
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1715
1717
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1716
1718
|
locator?: string | undefined;
|
|
1717
1719
|
}[] | undefined;
|
|
1718
1720
|
} | {
|
|
1719
|
-
label: string;
|
|
1720
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1721
1721
|
kind: "agent_status";
|
|
1722
1722
|
role: string;
|
|
1723
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1724
|
+
label: string;
|
|
1723
1725
|
agentId: string;
|
|
1724
1726
|
sessionId: string;
|
|
1725
1727
|
detail?: string | undefined;
|
|
1726
1728
|
evidence?: {
|
|
1729
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1727
1730
|
id: string;
|
|
1728
1731
|
label: string;
|
|
1729
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1730
1732
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1731
1733
|
locator?: string | undefined;
|
|
1732
1734
|
}[] | undefined;
|
|
1733
1735
|
} | {
|
|
1734
|
-
summary: string;
|
|
1735
1736
|
kind: "agent_output";
|
|
1737
|
+
summary: string;
|
|
1736
1738
|
agentId: string;
|
|
1737
1739
|
sessionId: string;
|
|
1738
1740
|
outputId: string;
|
|
1739
1741
|
evidence?: {
|
|
1742
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1740
1743
|
id: string;
|
|
1741
1744
|
label: string;
|
|
1742
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1743
1745
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1744
1746
|
locator?: string | undefined;
|
|
1745
1747
|
}[] | undefined;
|
|
@@ -1752,37 +1754,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1752
1754
|
decisionId: string;
|
|
1753
1755
|
confidence?: number | undefined;
|
|
1754
1756
|
evidence?: {
|
|
1757
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1755
1758
|
id: string;
|
|
1756
1759
|
label: string;
|
|
1757
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1758
1760
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1759
1761
|
locator?: string | undefined;
|
|
1760
1762
|
}[] | undefined;
|
|
1761
1763
|
} | {
|
|
1762
|
-
summary: string;
|
|
1763
1764
|
kind: "conflict_detected";
|
|
1765
|
+
summary: string;
|
|
1764
1766
|
conflictId: string;
|
|
1765
1767
|
decisionIds: string[];
|
|
1766
1768
|
agentIds: string[];
|
|
1767
1769
|
evidence?: {
|
|
1770
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1768
1771
|
id: string;
|
|
1769
1772
|
label: string;
|
|
1770
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1771
1773
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1772
1774
|
locator?: string | undefined;
|
|
1773
1775
|
}[] | undefined;
|
|
1774
1776
|
} | {
|
|
1775
|
-
summary: string;
|
|
1776
|
-
status: "error" | "failed" | "passed";
|
|
1777
1777
|
kind: "test_result";
|
|
1778
|
+
summary: string;
|
|
1778
1779
|
command: string;
|
|
1780
|
+
status: "error" | "failed" | "passed";
|
|
1779
1781
|
decisionId: string;
|
|
1780
1782
|
testId: string;
|
|
1781
1783
|
durationMs?: number | undefined;
|
|
1782
1784
|
evidence?: {
|
|
1785
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1783
1786
|
id: string;
|
|
1784
1787
|
label: string;
|
|
1785
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1786
1788
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1787
1789
|
locator?: string | undefined;
|
|
1788
1790
|
}[] | undefined;
|
|
@@ -1797,9 +1799,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1797
1799
|
supersedesDecisionIds: string[];
|
|
1798
1800
|
proposedBy: string;
|
|
1799
1801
|
evidence?: {
|
|
1802
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1800
1803
|
id: string;
|
|
1801
1804
|
label: string;
|
|
1802
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1803
1805
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1804
1806
|
locator?: string | undefined;
|
|
1805
1807
|
}[] | undefined;
|
|
@@ -1807,15 +1809,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1807
1809
|
kind: "correction_approved";
|
|
1808
1810
|
correctionId: string;
|
|
1809
1811
|
approvedBy: {
|
|
1812
|
+
kind: "agent" | "human";
|
|
1810
1813
|
id: string;
|
|
1811
1814
|
label: string;
|
|
1812
|
-
kind: "agent" | "human";
|
|
1813
1815
|
};
|
|
1814
1816
|
note?: string | undefined;
|
|
1815
1817
|
evidence?: {
|
|
1818
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1816
1819
|
id: string;
|
|
1817
1820
|
label: string;
|
|
1818
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1819
1821
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1820
1822
|
locator?: string | undefined;
|
|
1821
1823
|
}[] | undefined;
|
|
@@ -1825,9 +1827,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1825
1827
|
correctionId: string;
|
|
1826
1828
|
replacementDecisionId: string;
|
|
1827
1829
|
evidence?: {
|
|
1830
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1828
1831
|
id: string;
|
|
1829
1832
|
label: string;
|
|
1830
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1831
1833
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1832
1834
|
locator?: string | undefined;
|
|
1833
1835
|
}[] | undefined;
|
|
@@ -1840,9 +1842,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1840
1842
|
recallReceiptId: string;
|
|
1841
1843
|
capturedAtAction: boolean;
|
|
1842
1844
|
evidence?: {
|
|
1845
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1843
1846
|
id: string;
|
|
1844
1847
|
label: string;
|
|
1845
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1846
1848
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1847
1849
|
locator?: string | undefined;
|
|
1848
1850
|
}[] | undefined;
|
|
@@ -1855,20 +1857,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1855
1857
|
recallReceiptId: string;
|
|
1856
1858
|
staleDecisionAbsent: boolean;
|
|
1857
1859
|
evidence?: {
|
|
1860
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1858
1861
|
id: string;
|
|
1859
1862
|
label: string;
|
|
1860
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1861
1863
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1862
1864
|
locator?: string | undefined;
|
|
1863
1865
|
}[] | undefined;
|
|
1864
1866
|
} | {
|
|
1865
|
-
summary: string;
|
|
1866
1867
|
kind: "mission_completed";
|
|
1868
|
+
summary: string;
|
|
1867
1869
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1868
1870
|
evidence?: {
|
|
1871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1869
1872
|
id: string;
|
|
1870
1873
|
label: string;
|
|
1871
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1872
1874
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1873
1875
|
locator?: string | undefined;
|
|
1874
1876
|
}[] | undefined;
|
|
@@ -1889,15 +1891,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1889
1891
|
locator: z.ZodOptional<z.ZodString>;
|
|
1890
1892
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1891
1893
|
}, "strict", z.ZodTypeAny, {
|
|
1894
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1892
1895
|
id: string;
|
|
1893
1896
|
label: string;
|
|
1894
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1895
1897
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1896
1898
|
locator?: string | undefined;
|
|
1897
1899
|
}, {
|
|
1900
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1898
1901
|
id: string;
|
|
1899
1902
|
label: string;
|
|
1900
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1901
1903
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1902
1904
|
locator?: string | undefined;
|
|
1903
1905
|
}>, "many">>;
|
|
@@ -1905,9 +1907,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1905
1907
|
kind: "mission_started";
|
|
1906
1908
|
title: string;
|
|
1907
1909
|
evidence: {
|
|
1910
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1908
1911
|
id: string;
|
|
1909
1912
|
label: string;
|
|
1910
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1911
1913
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1912
1914
|
locator?: string | undefined;
|
|
1913
1915
|
}[];
|
|
@@ -1919,9 +1921,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1919
1921
|
objective: string;
|
|
1920
1922
|
runMode: "replay" | "fixture" | "live";
|
|
1921
1923
|
evidence?: {
|
|
1924
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1922
1925
|
id: string;
|
|
1923
1926
|
label: string;
|
|
1924
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1925
1927
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1926
1928
|
locator?: string | undefined;
|
|
1927
1929
|
}[] | undefined;
|
|
@@ -1937,15 +1939,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1937
1939
|
locator: z.ZodOptional<z.ZodString>;
|
|
1938
1940
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1939
1941
|
}, "strict", z.ZodTypeAny, {
|
|
1942
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1940
1943
|
id: string;
|
|
1941
1944
|
label: string;
|
|
1942
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1943
1945
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1944
1946
|
locator?: string | undefined;
|
|
1945
1947
|
}, {
|
|
1948
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1946
1949
|
id: string;
|
|
1947
1950
|
label: string;
|
|
1948
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1949
1951
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1950
1952
|
locator?: string | undefined;
|
|
1951
1953
|
}>, "many">>;
|
|
@@ -1953,32 +1955,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1953
1955
|
sessionId: z.ZodString;
|
|
1954
1956
|
kind: z.ZodLiteral<"agent_status">;
|
|
1955
1957
|
}, "strict", z.ZodTypeAny, {
|
|
1956
|
-
label: string;
|
|
1957
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1958
1958
|
kind: "agent_status";
|
|
1959
1959
|
role: string;
|
|
1960
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1961
|
+
label: string;
|
|
1960
1962
|
agentId: string;
|
|
1961
1963
|
sessionId: string;
|
|
1962
1964
|
evidence: {
|
|
1965
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1963
1966
|
id: string;
|
|
1964
1967
|
label: string;
|
|
1965
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1966
1968
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1967
1969
|
locator?: string | undefined;
|
|
1968
1970
|
}[];
|
|
1969
1971
|
detail?: string | undefined;
|
|
1970
1972
|
}, {
|
|
1971
|
-
label: string;
|
|
1972
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1973
1973
|
kind: "agent_status";
|
|
1974
1974
|
role: string;
|
|
1975
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1976
|
+
label: string;
|
|
1975
1977
|
agentId: string;
|
|
1976
1978
|
sessionId: string;
|
|
1977
1979
|
detail?: string | undefined;
|
|
1978
1980
|
evidence?: {
|
|
1981
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1979
1982
|
id: string;
|
|
1980
1983
|
label: string;
|
|
1981
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1982
1984
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1983
1985
|
locator?: string | undefined;
|
|
1984
1986
|
}[] | undefined;
|
|
@@ -1992,15 +1994,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1992
1994
|
locator: z.ZodOptional<z.ZodString>;
|
|
1993
1995
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1994
1996
|
}, "strict", z.ZodTypeAny, {
|
|
1997
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1995
1998
|
id: string;
|
|
1996
1999
|
label: string;
|
|
1997
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1998
2000
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1999
2001
|
locator?: string | undefined;
|
|
2000
2002
|
}, {
|
|
2003
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2001
2004
|
id: string;
|
|
2002
2005
|
label: string;
|
|
2003
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2004
2006
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2005
2007
|
locator?: string | undefined;
|
|
2006
2008
|
}>, "many">>;
|
|
@@ -2008,28 +2010,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2008
2010
|
sessionId: z.ZodString;
|
|
2009
2011
|
kind: z.ZodLiteral<"agent_output">;
|
|
2010
2012
|
}, "strict", z.ZodTypeAny, {
|
|
2011
|
-
summary: string;
|
|
2012
2013
|
kind: "agent_output";
|
|
2014
|
+
summary: string;
|
|
2013
2015
|
agentId: string;
|
|
2014
2016
|
sessionId: string;
|
|
2015
2017
|
evidence: {
|
|
2018
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2016
2019
|
id: string;
|
|
2017
2020
|
label: string;
|
|
2018
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2019
2021
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2020
2022
|
locator?: string | undefined;
|
|
2021
2023
|
}[];
|
|
2022
2024
|
outputId: string;
|
|
2023
2025
|
}, {
|
|
2024
|
-
summary: string;
|
|
2025
2026
|
kind: "agent_output";
|
|
2027
|
+
summary: string;
|
|
2026
2028
|
agentId: string;
|
|
2027
2029
|
sessionId: string;
|
|
2028
2030
|
outputId: string;
|
|
2029
2031
|
evidence?: {
|
|
2032
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2030
2033
|
id: string;
|
|
2031
2034
|
label: string;
|
|
2032
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2033
2035
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2034
2036
|
locator?: string | undefined;
|
|
2035
2037
|
}[] | undefined;
|
|
@@ -2045,15 +2047,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2045
2047
|
locator: z.ZodOptional<z.ZodString>;
|
|
2046
2048
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2047
2049
|
}, "strict", z.ZodTypeAny, {
|
|
2050
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2048
2051
|
id: string;
|
|
2049
2052
|
label: string;
|
|
2050
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2051
2053
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2052
2054
|
locator?: string | undefined;
|
|
2053
2055
|
}, {
|
|
2056
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2054
2057
|
id: string;
|
|
2055
2058
|
label: string;
|
|
2056
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2057
2059
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2058
2060
|
locator?: string | undefined;
|
|
2059
2061
|
}>, "many">>;
|
|
@@ -2066,9 +2068,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2066
2068
|
statement: string;
|
|
2067
2069
|
sessionId: string;
|
|
2068
2070
|
evidence: {
|
|
2071
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2069
2072
|
id: string;
|
|
2070
2073
|
label: string;
|
|
2071
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2072
2074
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2073
2075
|
locator?: string | undefined;
|
|
2074
2076
|
}[];
|
|
@@ -2084,9 +2086,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2084
2086
|
decisionId: string;
|
|
2085
2087
|
confidence?: number | undefined;
|
|
2086
2088
|
evidence?: {
|
|
2089
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2087
2090
|
id: string;
|
|
2088
2091
|
label: string;
|
|
2089
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2090
2092
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2091
2093
|
locator?: string | undefined;
|
|
2092
2094
|
}[] | undefined;
|
|
@@ -2103,25 +2105,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2103
2105
|
locator: z.ZodOptional<z.ZodString>;
|
|
2104
2106
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2105
2107
|
}, "strict", z.ZodTypeAny, {
|
|
2108
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2106
2109
|
id: string;
|
|
2107
2110
|
label: string;
|
|
2108
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2109
2111
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2110
2112
|
locator?: string | undefined;
|
|
2111
2113
|
}, {
|
|
2114
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2112
2115
|
id: string;
|
|
2113
2116
|
label: string;
|
|
2114
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2115
2117
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2116
2118
|
locator?: string | undefined;
|
|
2117
2119
|
}>, "many">>;
|
|
2118
2120
|
}, "strict", z.ZodTypeAny, {
|
|
2119
|
-
summary: string;
|
|
2120
2121
|
kind: "conflict_detected";
|
|
2122
|
+
summary: string;
|
|
2121
2123
|
evidence: {
|
|
2124
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2122
2125
|
id: string;
|
|
2123
2126
|
label: string;
|
|
2124
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2125
2127
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2126
2128
|
locator?: string | undefined;
|
|
2127
2129
|
}[];
|
|
@@ -2129,15 +2131,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2129
2131
|
decisionIds: string[];
|
|
2130
2132
|
agentIds: string[];
|
|
2131
2133
|
}, {
|
|
2132
|
-
summary: string;
|
|
2133
2134
|
kind: "conflict_detected";
|
|
2135
|
+
summary: string;
|
|
2134
2136
|
conflictId: string;
|
|
2135
2137
|
decisionIds: string[];
|
|
2136
2138
|
agentIds: string[];
|
|
2137
2139
|
evidence?: {
|
|
2140
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2138
2141
|
id: string;
|
|
2139
2142
|
label: string;
|
|
2140
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2141
2143
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2142
2144
|
locator?: string | undefined;
|
|
2143
2145
|
}[] | undefined;
|
|
@@ -2157,27 +2159,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2157
2159
|
locator: z.ZodOptional<z.ZodString>;
|
|
2158
2160
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2159
2161
|
}, "strict", z.ZodTypeAny, {
|
|
2162
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2160
2163
|
id: string;
|
|
2161
2164
|
label: string;
|
|
2162
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2163
2165
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2164
2166
|
locator?: string | undefined;
|
|
2165
2167
|
}, {
|
|
2168
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2166
2169
|
id: string;
|
|
2167
2170
|
label: string;
|
|
2168
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2169
2171
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2170
2172
|
locator?: string | undefined;
|
|
2171
2173
|
}>, "many">>;
|
|
2172
2174
|
}, "strict", z.ZodTypeAny, {
|
|
2173
|
-
summary: string;
|
|
2174
|
-
status: "error" | "failed" | "passed";
|
|
2175
2175
|
kind: "test_result";
|
|
2176
|
+
summary: string;
|
|
2176
2177
|
command: string;
|
|
2178
|
+
status: "error" | "failed" | "passed";
|
|
2177
2179
|
evidence: {
|
|
2180
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2178
2181
|
id: string;
|
|
2179
2182
|
label: string;
|
|
2180
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2181
2183
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2182
2184
|
locator?: string | undefined;
|
|
2183
2185
|
}[];
|
|
@@ -2186,17 +2188,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2186
2188
|
durationMs?: number | undefined;
|
|
2187
2189
|
correctionId?: string | undefined;
|
|
2188
2190
|
}, {
|
|
2189
|
-
summary: string;
|
|
2190
|
-
status: "error" | "failed" | "passed";
|
|
2191
2191
|
kind: "test_result";
|
|
2192
|
+
summary: string;
|
|
2192
2193
|
command: string;
|
|
2194
|
+
status: "error" | "failed" | "passed";
|
|
2193
2195
|
decisionId: string;
|
|
2194
2196
|
testId: string;
|
|
2195
2197
|
durationMs?: number | undefined;
|
|
2196
2198
|
evidence?: {
|
|
2199
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2197
2200
|
id: string;
|
|
2198
2201
|
label: string;
|
|
2199
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2200
2202
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2201
2203
|
locator?: string | undefined;
|
|
2202
2204
|
}[] | undefined;
|
|
@@ -2217,15 +2219,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2217
2219
|
locator: z.ZodOptional<z.ZodString>;
|
|
2218
2220
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2219
2221
|
}, "strict", z.ZodTypeAny, {
|
|
2222
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2220
2223
|
id: string;
|
|
2221
2224
|
label: string;
|
|
2222
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2223
2225
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2224
2226
|
locator?: string | undefined;
|
|
2225
2227
|
}, {
|
|
2228
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2226
2229
|
id: string;
|
|
2227
2230
|
label: string;
|
|
2228
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2229
2231
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2230
2232
|
locator?: string | undefined;
|
|
2231
2233
|
}>, "many">>;
|
|
@@ -2234,9 +2236,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2234
2236
|
rationale: string;
|
|
2235
2237
|
statement: string;
|
|
2236
2238
|
evidence: {
|
|
2239
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2237
2240
|
id: string;
|
|
2238
2241
|
label: string;
|
|
2239
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2240
2242
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2241
2243
|
locator?: string | undefined;
|
|
2242
2244
|
}[];
|
|
@@ -2255,9 +2257,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2255
2257
|
supersedesDecisionIds: string[];
|
|
2256
2258
|
proposedBy: string;
|
|
2257
2259
|
evidence?: {
|
|
2260
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2258
2261
|
id: string;
|
|
2259
2262
|
label: string;
|
|
2260
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2261
2263
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2262
2264
|
locator?: string | undefined;
|
|
2263
2265
|
}[] | undefined;
|
|
@@ -2269,13 +2271,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2269
2271
|
id: z.ZodString;
|
|
2270
2272
|
label: z.ZodString;
|
|
2271
2273
|
}, "strict", z.ZodTypeAny, {
|
|
2274
|
+
kind: "agent" | "human";
|
|
2272
2275
|
id: string;
|
|
2273
2276
|
label: string;
|
|
2274
|
-
kind: "agent" | "human";
|
|
2275
2277
|
}, {
|
|
2278
|
+
kind: "agent" | "human";
|
|
2276
2279
|
id: string;
|
|
2277
2280
|
label: string;
|
|
2278
|
-
kind: "agent" | "human";
|
|
2279
2281
|
}>;
|
|
2280
2282
|
note: z.ZodOptional<z.ZodString>;
|
|
2281
2283
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2285,47 +2287,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2285
2287
|
locator: z.ZodOptional<z.ZodString>;
|
|
2286
2288
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2287
2289
|
}, "strict", z.ZodTypeAny, {
|
|
2290
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2288
2291
|
id: string;
|
|
2289
2292
|
label: string;
|
|
2290
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2291
2293
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2292
2294
|
locator?: string | undefined;
|
|
2293
2295
|
}, {
|
|
2296
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2294
2297
|
id: string;
|
|
2295
2298
|
label: string;
|
|
2296
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2297
2299
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2298
2300
|
locator?: string | undefined;
|
|
2299
2301
|
}>, "many">>;
|
|
2300
2302
|
}, "strict", z.ZodTypeAny, {
|
|
2301
2303
|
kind: "correction_approved";
|
|
2302
2304
|
evidence: {
|
|
2305
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2303
2306
|
id: string;
|
|
2304
2307
|
label: string;
|
|
2305
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2306
2308
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2307
2309
|
locator?: string | undefined;
|
|
2308
2310
|
}[];
|
|
2309
2311
|
correctionId: string;
|
|
2310
2312
|
approvedBy: {
|
|
2313
|
+
kind: "agent" | "human";
|
|
2311
2314
|
id: string;
|
|
2312
2315
|
label: string;
|
|
2313
|
-
kind: "agent" | "human";
|
|
2314
2316
|
};
|
|
2315
2317
|
note?: string | undefined;
|
|
2316
2318
|
}, {
|
|
2317
2319
|
kind: "correction_approved";
|
|
2318
2320
|
correctionId: string;
|
|
2319
2321
|
approvedBy: {
|
|
2322
|
+
kind: "agent" | "human";
|
|
2320
2323
|
id: string;
|
|
2321
2324
|
label: string;
|
|
2322
|
-
kind: "agent" | "human";
|
|
2323
2325
|
};
|
|
2324
2326
|
note?: string | undefined;
|
|
2325
2327
|
evidence?: {
|
|
2328
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2326
2329
|
id: string;
|
|
2327
2330
|
label: string;
|
|
2328
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2329
2331
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2330
2332
|
locator?: string | undefined;
|
|
2331
2333
|
}[] | undefined;
|
|
@@ -2341,24 +2343,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2341
2343
|
locator: z.ZodOptional<z.ZodString>;
|
|
2342
2344
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2343
2345
|
}, "strict", z.ZodTypeAny, {
|
|
2346
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2344
2347
|
id: string;
|
|
2345
2348
|
label: string;
|
|
2346
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2347
2349
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2348
2350
|
locator?: string | undefined;
|
|
2349
2351
|
}, {
|
|
2352
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2350
2353
|
id: string;
|
|
2351
2354
|
label: string;
|
|
2352
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2353
2355
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2354
2356
|
locator?: string | undefined;
|
|
2355
2357
|
}>, "many">>;
|
|
2356
2358
|
}, "strict", z.ZodTypeAny, {
|
|
2357
2359
|
kind: "decision_superseded";
|
|
2358
2360
|
evidence: {
|
|
2361
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2359
2362
|
id: string;
|
|
2360
2363
|
label: string;
|
|
2361
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2362
2364
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2363
2365
|
locator?: string | undefined;
|
|
2364
2366
|
}[];
|
|
@@ -2371,9 +2373,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2371
2373
|
correctionId: string;
|
|
2372
2374
|
replacementDecisionId: string;
|
|
2373
2375
|
evidence?: {
|
|
2376
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2374
2377
|
id: string;
|
|
2375
2378
|
label: string;
|
|
2376
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2377
2379
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2378
2380
|
locator?: string | undefined;
|
|
2379
2381
|
}[] | undefined;
|
|
@@ -2389,15 +2391,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2389
2391
|
locator: z.ZodOptional<z.ZodString>;
|
|
2390
2392
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2391
2393
|
}, "strict", z.ZodTypeAny, {
|
|
2394
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2392
2395
|
id: string;
|
|
2393
2396
|
label: string;
|
|
2394
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2395
2397
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2396
2398
|
locator?: string | undefined;
|
|
2397
2399
|
}, {
|
|
2400
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2398
2401
|
id: string;
|
|
2399
2402
|
label: string;
|
|
2400
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2401
2403
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2402
2404
|
locator?: string | undefined;
|
|
2403
2405
|
}>, "many">>;
|
|
@@ -2410,9 +2412,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2410
2412
|
agentId: string;
|
|
2411
2413
|
sessionId: string;
|
|
2412
2414
|
evidence: {
|
|
2415
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2413
2416
|
id: string;
|
|
2414
2417
|
label: string;
|
|
2415
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2416
2418
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2417
2419
|
locator?: string | undefined;
|
|
2418
2420
|
}[];
|
|
@@ -2428,9 +2430,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2428
2430
|
recallReceiptId: string;
|
|
2429
2431
|
capturedAtAction: boolean;
|
|
2430
2432
|
evidence?: {
|
|
2433
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2431
2434
|
id: string;
|
|
2432
2435
|
label: string;
|
|
2433
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2434
2436
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2435
2437
|
locator?: string | undefined;
|
|
2436
2438
|
}[] | undefined;
|
|
@@ -2446,15 +2448,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2446
2448
|
locator: z.ZodOptional<z.ZodString>;
|
|
2447
2449
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2448
2450
|
}, "strict", z.ZodTypeAny, {
|
|
2451
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2449
2452
|
id: string;
|
|
2450
2453
|
label: string;
|
|
2451
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2452
2454
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2453
2455
|
locator?: string | undefined;
|
|
2454
2456
|
}, {
|
|
2457
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2455
2458
|
id: string;
|
|
2456
2459
|
label: string;
|
|
2457
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2458
2460
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2459
2461
|
locator?: string | undefined;
|
|
2460
2462
|
}>, "many">>;
|
|
@@ -2466,9 +2468,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2466
2468
|
agentId: string;
|
|
2467
2469
|
sessionId: string;
|
|
2468
2470
|
evidence: {
|
|
2471
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2469
2472
|
id: string;
|
|
2470
2473
|
label: string;
|
|
2471
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2472
2474
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2473
2475
|
locator?: string | undefined;
|
|
2474
2476
|
}[];
|
|
@@ -2485,9 +2487,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2485
2487
|
recallReceiptId: string;
|
|
2486
2488
|
staleDecisionAbsent: boolean;
|
|
2487
2489
|
evidence?: {
|
|
2490
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2488
2491
|
id: string;
|
|
2489
2492
|
label: string;
|
|
2490
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2491
2493
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2492
2494
|
locator?: string | undefined;
|
|
2493
2495
|
}[] | undefined;
|
|
@@ -2502,37 +2504,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2502
2504
|
locator: z.ZodOptional<z.ZodString>;
|
|
2503
2505
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2504
2506
|
}, "strict", z.ZodTypeAny, {
|
|
2507
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2505
2508
|
id: string;
|
|
2506
2509
|
label: string;
|
|
2507
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2508
2510
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2509
2511
|
locator?: string | undefined;
|
|
2510
2512
|
}, {
|
|
2513
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2511
2514
|
id: string;
|
|
2512
2515
|
label: string;
|
|
2513
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2514
2516
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2515
2517
|
locator?: string | undefined;
|
|
2516
2518
|
}>, "many">>;
|
|
2517
2519
|
}, "strict", z.ZodTypeAny, {
|
|
2518
|
-
summary: string;
|
|
2519
2520
|
kind: "mission_completed";
|
|
2521
|
+
summary: string;
|
|
2520
2522
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2521
2523
|
evidence: {
|
|
2524
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2522
2525
|
id: string;
|
|
2523
2526
|
label: string;
|
|
2524
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2525
2527
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2526
2528
|
locator?: string | undefined;
|
|
2527
2529
|
}[];
|
|
2528
2530
|
}, {
|
|
2529
|
-
summary: string;
|
|
2530
2531
|
kind: "mission_completed";
|
|
2532
|
+
summary: string;
|
|
2531
2533
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2532
2534
|
evidence?: {
|
|
2535
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2533
2536
|
id: string;
|
|
2534
2537
|
label: string;
|
|
2535
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2536
2538
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2537
2539
|
locator?: string | undefined;
|
|
2538
2540
|
}[] | undefined;
|
|
@@ -2540,38 +2542,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2540
2542
|
kind: "mission_started";
|
|
2541
2543
|
title: string;
|
|
2542
2544
|
evidence: {
|
|
2545
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2543
2546
|
id: string;
|
|
2544
2547
|
label: string;
|
|
2545
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2546
2548
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2547
2549
|
locator?: string | undefined;
|
|
2548
2550
|
}[];
|
|
2549
2551
|
objective: string;
|
|
2550
2552
|
runMode: "replay" | "fixture" | "live";
|
|
2551
2553
|
} | {
|
|
2552
|
-
label: string;
|
|
2553
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2554
2554
|
kind: "agent_status";
|
|
2555
2555
|
role: string;
|
|
2556
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2557
|
+
label: string;
|
|
2556
2558
|
agentId: string;
|
|
2557
2559
|
sessionId: string;
|
|
2558
2560
|
evidence: {
|
|
2561
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2559
2562
|
id: string;
|
|
2560
2563
|
label: string;
|
|
2561
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2562
2564
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2563
2565
|
locator?: string | undefined;
|
|
2564
2566
|
}[];
|
|
2565
2567
|
detail?: string | undefined;
|
|
2566
2568
|
} | {
|
|
2567
|
-
summary: string;
|
|
2568
2569
|
kind: "agent_output";
|
|
2570
|
+
summary: string;
|
|
2569
2571
|
agentId: string;
|
|
2570
2572
|
sessionId: string;
|
|
2571
2573
|
evidence: {
|
|
2574
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2572
2575
|
id: string;
|
|
2573
2576
|
label: string;
|
|
2574
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2575
2577
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2576
2578
|
locator?: string | undefined;
|
|
2577
2579
|
}[];
|
|
@@ -2582,9 +2584,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2582
2584
|
statement: string;
|
|
2583
2585
|
sessionId: string;
|
|
2584
2586
|
evidence: {
|
|
2587
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2585
2588
|
id: string;
|
|
2586
2589
|
label: string;
|
|
2587
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2588
2590
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2589
2591
|
locator?: string | undefined;
|
|
2590
2592
|
}[];
|
|
@@ -2592,12 +2594,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2592
2594
|
decisionId: string;
|
|
2593
2595
|
confidence?: number | undefined;
|
|
2594
2596
|
} | {
|
|
2595
|
-
summary: string;
|
|
2596
2597
|
kind: "conflict_detected";
|
|
2598
|
+
summary: string;
|
|
2597
2599
|
evidence: {
|
|
2600
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2598
2601
|
id: string;
|
|
2599
2602
|
label: string;
|
|
2600
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2601
2603
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2602
2604
|
locator?: string | undefined;
|
|
2603
2605
|
}[];
|
|
@@ -2605,14 +2607,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2605
2607
|
decisionIds: string[];
|
|
2606
2608
|
agentIds: string[];
|
|
2607
2609
|
} | {
|
|
2608
|
-
summary: string;
|
|
2609
|
-
status: "error" | "failed" | "passed";
|
|
2610
2610
|
kind: "test_result";
|
|
2611
|
+
summary: string;
|
|
2611
2612
|
command: string;
|
|
2613
|
+
status: "error" | "failed" | "passed";
|
|
2612
2614
|
evidence: {
|
|
2615
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2613
2616
|
id: string;
|
|
2614
2617
|
label: string;
|
|
2615
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2616
2618
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2617
2619
|
locator?: string | undefined;
|
|
2618
2620
|
}[];
|
|
@@ -2625,9 +2627,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2625
2627
|
rationale: string;
|
|
2626
2628
|
statement: string;
|
|
2627
2629
|
evidence: {
|
|
2630
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2628
2631
|
id: string;
|
|
2629
2632
|
label: string;
|
|
2630
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2631
2633
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2632
2634
|
locator?: string | undefined;
|
|
2633
2635
|
}[];
|
|
@@ -2639,25 +2641,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2639
2641
|
} | {
|
|
2640
2642
|
kind: "correction_approved";
|
|
2641
2643
|
evidence: {
|
|
2644
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2642
2645
|
id: string;
|
|
2643
2646
|
label: string;
|
|
2644
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2645
2647
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2646
2648
|
locator?: string | undefined;
|
|
2647
2649
|
}[];
|
|
2648
2650
|
correctionId: string;
|
|
2649
2651
|
approvedBy: {
|
|
2652
|
+
kind: "agent" | "human";
|
|
2650
2653
|
id: string;
|
|
2651
2654
|
label: string;
|
|
2652
|
-
kind: "agent" | "human";
|
|
2653
2655
|
};
|
|
2654
2656
|
note?: string | undefined;
|
|
2655
2657
|
} | {
|
|
2656
2658
|
kind: "decision_superseded";
|
|
2657
2659
|
evidence: {
|
|
2660
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2658
2661
|
id: string;
|
|
2659
2662
|
label: string;
|
|
2660
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2661
2663
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2662
2664
|
locator?: string | undefined;
|
|
2663
2665
|
}[];
|
|
@@ -2670,9 +2672,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2670
2672
|
agentId: string;
|
|
2671
2673
|
sessionId: string;
|
|
2672
2674
|
evidence: {
|
|
2675
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2673
2676
|
id: string;
|
|
2674
2677
|
label: string;
|
|
2675
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2676
2678
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2677
2679
|
locator?: string | undefined;
|
|
2678
2680
|
}[];
|
|
@@ -2684,9 +2686,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2684
2686
|
agentId: string;
|
|
2685
2687
|
sessionId: string;
|
|
2686
2688
|
evidence: {
|
|
2689
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2687
2690
|
id: string;
|
|
2688
2691
|
label: string;
|
|
2689
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2690
2692
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2691
2693
|
locator?: string | undefined;
|
|
2692
2694
|
}[];
|
|
@@ -2695,13 +2697,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2695
2697
|
recallReceiptId: string;
|
|
2696
2698
|
staleDecisionAbsent: boolean;
|
|
2697
2699
|
} | {
|
|
2698
|
-
summary: string;
|
|
2699
2700
|
kind: "mission_completed";
|
|
2701
|
+
summary: string;
|
|
2700
2702
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2701
2703
|
evidence: {
|
|
2704
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2702
2705
|
id: string;
|
|
2703
2706
|
label: string;
|
|
2704
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2705
2707
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2706
2708
|
locator?: string | undefined;
|
|
2707
2709
|
}[];
|
|
@@ -2711,37 +2713,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2711
2713
|
objective: string;
|
|
2712
2714
|
runMode: "replay" | "fixture" | "live";
|
|
2713
2715
|
evidence?: {
|
|
2716
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2714
2717
|
id: string;
|
|
2715
2718
|
label: string;
|
|
2716
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2717
2719
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2718
2720
|
locator?: string | undefined;
|
|
2719
2721
|
}[] | undefined;
|
|
2720
2722
|
} | {
|
|
2721
|
-
label: string;
|
|
2722
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2723
2723
|
kind: "agent_status";
|
|
2724
2724
|
role: string;
|
|
2725
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2726
|
+
label: string;
|
|
2725
2727
|
agentId: string;
|
|
2726
2728
|
sessionId: string;
|
|
2727
2729
|
detail?: string | undefined;
|
|
2728
2730
|
evidence?: {
|
|
2731
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2729
2732
|
id: string;
|
|
2730
2733
|
label: string;
|
|
2731
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2732
2734
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2733
2735
|
locator?: string | undefined;
|
|
2734
2736
|
}[] | undefined;
|
|
2735
2737
|
} | {
|
|
2736
|
-
summary: string;
|
|
2737
2738
|
kind: "agent_output";
|
|
2739
|
+
summary: string;
|
|
2738
2740
|
agentId: string;
|
|
2739
2741
|
sessionId: string;
|
|
2740
2742
|
outputId: string;
|
|
2741
2743
|
evidence?: {
|
|
2744
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2742
2745
|
id: string;
|
|
2743
2746
|
label: string;
|
|
2744
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2745
2747
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2746
2748
|
locator?: string | undefined;
|
|
2747
2749
|
}[] | undefined;
|
|
@@ -2754,37 +2756,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2754
2756
|
decisionId: string;
|
|
2755
2757
|
confidence?: number | undefined;
|
|
2756
2758
|
evidence?: {
|
|
2759
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2757
2760
|
id: string;
|
|
2758
2761
|
label: string;
|
|
2759
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2760
2762
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2761
2763
|
locator?: string | undefined;
|
|
2762
2764
|
}[] | undefined;
|
|
2763
2765
|
} | {
|
|
2764
|
-
summary: string;
|
|
2765
2766
|
kind: "conflict_detected";
|
|
2767
|
+
summary: string;
|
|
2766
2768
|
conflictId: string;
|
|
2767
2769
|
decisionIds: string[];
|
|
2768
2770
|
agentIds: string[];
|
|
2769
2771
|
evidence?: {
|
|
2772
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2770
2773
|
id: string;
|
|
2771
2774
|
label: string;
|
|
2772
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2773
2775
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2774
2776
|
locator?: string | undefined;
|
|
2775
2777
|
}[] | undefined;
|
|
2776
2778
|
} | {
|
|
2777
|
-
summary: string;
|
|
2778
|
-
status: "error" | "failed" | "passed";
|
|
2779
2779
|
kind: "test_result";
|
|
2780
|
+
summary: string;
|
|
2780
2781
|
command: string;
|
|
2782
|
+
status: "error" | "failed" | "passed";
|
|
2781
2783
|
decisionId: string;
|
|
2782
2784
|
testId: string;
|
|
2783
2785
|
durationMs?: number | undefined;
|
|
2784
2786
|
evidence?: {
|
|
2787
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2785
2788
|
id: string;
|
|
2786
2789
|
label: string;
|
|
2787
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2788
2790
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2789
2791
|
locator?: string | undefined;
|
|
2790
2792
|
}[] | undefined;
|
|
@@ -2799,9 +2801,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2799
2801
|
supersedesDecisionIds: string[];
|
|
2800
2802
|
proposedBy: string;
|
|
2801
2803
|
evidence?: {
|
|
2804
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2802
2805
|
id: string;
|
|
2803
2806
|
label: string;
|
|
2804
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2805
2807
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2806
2808
|
locator?: string | undefined;
|
|
2807
2809
|
}[] | undefined;
|
|
@@ -2809,15 +2811,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2809
2811
|
kind: "correction_approved";
|
|
2810
2812
|
correctionId: string;
|
|
2811
2813
|
approvedBy: {
|
|
2814
|
+
kind: "agent" | "human";
|
|
2812
2815
|
id: string;
|
|
2813
2816
|
label: string;
|
|
2814
|
-
kind: "agent" | "human";
|
|
2815
2817
|
};
|
|
2816
2818
|
note?: string | undefined;
|
|
2817
2819
|
evidence?: {
|
|
2820
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2818
2821
|
id: string;
|
|
2819
2822
|
label: string;
|
|
2820
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2821
2823
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2822
2824
|
locator?: string | undefined;
|
|
2823
2825
|
}[] | undefined;
|
|
@@ -2827,9 +2829,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2827
2829
|
correctionId: string;
|
|
2828
2830
|
replacementDecisionId: string;
|
|
2829
2831
|
evidence?: {
|
|
2832
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2830
2833
|
id: string;
|
|
2831
2834
|
label: string;
|
|
2832
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2833
2835
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2834
2836
|
locator?: string | undefined;
|
|
2835
2837
|
}[] | undefined;
|
|
@@ -2842,9 +2844,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2842
2844
|
recallReceiptId: string;
|
|
2843
2845
|
capturedAtAction: boolean;
|
|
2844
2846
|
evidence?: {
|
|
2847
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2845
2848
|
id: string;
|
|
2846
2849
|
label: string;
|
|
2847
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2848
2850
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2849
2851
|
locator?: string | undefined;
|
|
2850
2852
|
}[] | undefined;
|
|
@@ -2857,20 +2859,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2857
2859
|
recallReceiptId: string;
|
|
2858
2860
|
staleDecisionAbsent: boolean;
|
|
2859
2861
|
evidence?: {
|
|
2862
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2860
2863
|
id: string;
|
|
2861
2864
|
label: string;
|
|
2862
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2863
2865
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2864
2866
|
locator?: string | undefined;
|
|
2865
2867
|
}[] | undefined;
|
|
2866
2868
|
} | {
|
|
2867
|
-
summary: string;
|
|
2868
2869
|
kind: "mission_completed";
|
|
2870
|
+
summary: string;
|
|
2869
2871
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2870
2872
|
evidence?: {
|
|
2873
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2871
2874
|
id: string;
|
|
2872
2875
|
label: string;
|
|
2873
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2874
2876
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2875
2877
|
locator?: string | undefined;
|
|
2876
2878
|
}[] | undefined;
|
|
@@ -2880,38 +2882,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2880
2882
|
kind: "mission_started";
|
|
2881
2883
|
title: string;
|
|
2882
2884
|
evidence: {
|
|
2885
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2883
2886
|
id: string;
|
|
2884
2887
|
label: string;
|
|
2885
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2886
2888
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2887
2889
|
locator?: string | undefined;
|
|
2888
2890
|
}[];
|
|
2889
2891
|
objective: string;
|
|
2890
2892
|
runMode: "replay" | "fixture" | "live";
|
|
2891
2893
|
} | {
|
|
2892
|
-
label: string;
|
|
2893
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2894
2894
|
kind: "agent_status";
|
|
2895
2895
|
role: string;
|
|
2896
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2897
|
+
label: string;
|
|
2896
2898
|
agentId: string;
|
|
2897
2899
|
sessionId: string;
|
|
2898
2900
|
evidence: {
|
|
2901
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2899
2902
|
id: string;
|
|
2900
2903
|
label: string;
|
|
2901
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2902
2904
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2903
2905
|
locator?: string | undefined;
|
|
2904
2906
|
}[];
|
|
2905
2907
|
detail?: string | undefined;
|
|
2906
2908
|
} | {
|
|
2907
|
-
summary: string;
|
|
2908
2909
|
kind: "agent_output";
|
|
2910
|
+
summary: string;
|
|
2909
2911
|
agentId: string;
|
|
2910
2912
|
sessionId: string;
|
|
2911
2913
|
evidence: {
|
|
2914
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2912
2915
|
id: string;
|
|
2913
2916
|
label: string;
|
|
2914
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2915
2917
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2916
2918
|
locator?: string | undefined;
|
|
2917
2919
|
}[];
|
|
@@ -2922,9 +2924,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2922
2924
|
statement: string;
|
|
2923
2925
|
sessionId: string;
|
|
2924
2926
|
evidence: {
|
|
2927
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2925
2928
|
id: string;
|
|
2926
2929
|
label: string;
|
|
2927
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2928
2930
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2929
2931
|
locator?: string | undefined;
|
|
2930
2932
|
}[];
|
|
@@ -2932,12 +2934,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2932
2934
|
decisionId: string;
|
|
2933
2935
|
confidence?: number | undefined;
|
|
2934
2936
|
} | {
|
|
2935
|
-
summary: string;
|
|
2936
2937
|
kind: "conflict_detected";
|
|
2938
|
+
summary: string;
|
|
2937
2939
|
evidence: {
|
|
2940
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2938
2941
|
id: string;
|
|
2939
2942
|
label: string;
|
|
2940
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2941
2943
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2942
2944
|
locator?: string | undefined;
|
|
2943
2945
|
}[];
|
|
@@ -2945,14 +2947,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2945
2947
|
decisionIds: string[];
|
|
2946
2948
|
agentIds: string[];
|
|
2947
2949
|
} | {
|
|
2948
|
-
summary: string;
|
|
2949
|
-
status: "error" | "failed" | "passed";
|
|
2950
2950
|
kind: "test_result";
|
|
2951
|
+
summary: string;
|
|
2951
2952
|
command: string;
|
|
2953
|
+
status: "error" | "failed" | "passed";
|
|
2952
2954
|
evidence: {
|
|
2955
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2953
2956
|
id: string;
|
|
2954
2957
|
label: string;
|
|
2955
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2956
2958
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2957
2959
|
locator?: string | undefined;
|
|
2958
2960
|
}[];
|
|
@@ -2965,9 +2967,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2965
2967
|
rationale: string;
|
|
2966
2968
|
statement: string;
|
|
2967
2969
|
evidence: {
|
|
2970
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2968
2971
|
id: string;
|
|
2969
2972
|
label: string;
|
|
2970
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2971
2973
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2972
2974
|
locator?: string | undefined;
|
|
2973
2975
|
}[];
|
|
@@ -2979,25 +2981,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2979
2981
|
} | {
|
|
2980
2982
|
kind: "correction_approved";
|
|
2981
2983
|
evidence: {
|
|
2984
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2982
2985
|
id: string;
|
|
2983
2986
|
label: string;
|
|
2984
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2985
2987
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2986
2988
|
locator?: string | undefined;
|
|
2987
2989
|
}[];
|
|
2988
2990
|
correctionId: string;
|
|
2989
2991
|
approvedBy: {
|
|
2992
|
+
kind: "agent" | "human";
|
|
2990
2993
|
id: string;
|
|
2991
2994
|
label: string;
|
|
2992
|
-
kind: "agent" | "human";
|
|
2993
2995
|
};
|
|
2994
2996
|
note?: string | undefined;
|
|
2995
2997
|
} | {
|
|
2996
2998
|
kind: "decision_superseded";
|
|
2997
2999
|
evidence: {
|
|
3000
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2998
3001
|
id: string;
|
|
2999
3002
|
label: string;
|
|
3000
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3001
3003
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3002
3004
|
locator?: string | undefined;
|
|
3003
3005
|
}[];
|
|
@@ -3010,9 +3012,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3010
3012
|
agentId: string;
|
|
3011
3013
|
sessionId: string;
|
|
3012
3014
|
evidence: {
|
|
3015
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3013
3016
|
id: string;
|
|
3014
3017
|
label: string;
|
|
3015
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3016
3018
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3017
3019
|
locator?: string | undefined;
|
|
3018
3020
|
}[];
|
|
@@ -3024,9 +3026,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3024
3026
|
agentId: string;
|
|
3025
3027
|
sessionId: string;
|
|
3026
3028
|
evidence: {
|
|
3029
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3027
3030
|
id: string;
|
|
3028
3031
|
label: string;
|
|
3029
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3030
3032
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3031
3033
|
locator?: string | undefined;
|
|
3032
3034
|
}[];
|
|
@@ -3035,13 +3037,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3035
3037
|
recallReceiptId: string;
|
|
3036
3038
|
staleDecisionAbsent: boolean;
|
|
3037
3039
|
} | {
|
|
3038
|
-
summary: string;
|
|
3039
3040
|
kind: "mission_completed";
|
|
3041
|
+
summary: string;
|
|
3040
3042
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3041
3043
|
evidence: {
|
|
3044
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3042
3045
|
id: string;
|
|
3043
3046
|
label: string;
|
|
3044
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3045
3047
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3046
3048
|
locator?: string | undefined;
|
|
3047
3049
|
}[];
|
|
@@ -3055,37 +3057,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3055
3057
|
objective: string;
|
|
3056
3058
|
runMode: "replay" | "fixture" | "live";
|
|
3057
3059
|
evidence?: {
|
|
3060
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3058
3061
|
id: string;
|
|
3059
3062
|
label: string;
|
|
3060
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3061
3063
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3062
3064
|
locator?: string | undefined;
|
|
3063
3065
|
}[] | undefined;
|
|
3064
3066
|
} | {
|
|
3065
|
-
label: string;
|
|
3066
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3067
3067
|
kind: "agent_status";
|
|
3068
3068
|
role: string;
|
|
3069
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3070
|
+
label: string;
|
|
3069
3071
|
agentId: string;
|
|
3070
3072
|
sessionId: string;
|
|
3071
3073
|
detail?: string | undefined;
|
|
3072
3074
|
evidence?: {
|
|
3075
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3073
3076
|
id: string;
|
|
3074
3077
|
label: string;
|
|
3075
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3076
3078
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3077
3079
|
locator?: string | undefined;
|
|
3078
3080
|
}[] | undefined;
|
|
3079
3081
|
} | {
|
|
3080
|
-
summary: string;
|
|
3081
3082
|
kind: "agent_output";
|
|
3083
|
+
summary: string;
|
|
3082
3084
|
agentId: string;
|
|
3083
3085
|
sessionId: string;
|
|
3084
3086
|
outputId: string;
|
|
3085
3087
|
evidence?: {
|
|
3088
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3086
3089
|
id: string;
|
|
3087
3090
|
label: string;
|
|
3088
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3089
3091
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3090
3092
|
locator?: string | undefined;
|
|
3091
3093
|
}[] | undefined;
|
|
@@ -3098,37 +3100,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3098
3100
|
decisionId: string;
|
|
3099
3101
|
confidence?: number | undefined;
|
|
3100
3102
|
evidence?: {
|
|
3103
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3101
3104
|
id: string;
|
|
3102
3105
|
label: string;
|
|
3103
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3104
3106
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3105
3107
|
locator?: string | undefined;
|
|
3106
3108
|
}[] | undefined;
|
|
3107
3109
|
} | {
|
|
3108
|
-
summary: string;
|
|
3109
3110
|
kind: "conflict_detected";
|
|
3111
|
+
summary: string;
|
|
3110
3112
|
conflictId: string;
|
|
3111
3113
|
decisionIds: string[];
|
|
3112
3114
|
agentIds: string[];
|
|
3113
3115
|
evidence?: {
|
|
3116
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3114
3117
|
id: string;
|
|
3115
3118
|
label: string;
|
|
3116
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3117
3119
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3118
3120
|
locator?: string | undefined;
|
|
3119
3121
|
}[] | undefined;
|
|
3120
3122
|
} | {
|
|
3121
|
-
summary: string;
|
|
3122
|
-
status: "error" | "failed" | "passed";
|
|
3123
3123
|
kind: "test_result";
|
|
3124
|
+
summary: string;
|
|
3124
3125
|
command: string;
|
|
3126
|
+
status: "error" | "failed" | "passed";
|
|
3125
3127
|
decisionId: string;
|
|
3126
3128
|
testId: string;
|
|
3127
3129
|
durationMs?: number | undefined;
|
|
3128
3130
|
evidence?: {
|
|
3131
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3129
3132
|
id: string;
|
|
3130
3133
|
label: string;
|
|
3131
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3132
3134
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3133
3135
|
locator?: string | undefined;
|
|
3134
3136
|
}[] | undefined;
|
|
@@ -3143,9 +3145,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3143
3145
|
supersedesDecisionIds: string[];
|
|
3144
3146
|
proposedBy: string;
|
|
3145
3147
|
evidence?: {
|
|
3148
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3146
3149
|
id: string;
|
|
3147
3150
|
label: string;
|
|
3148
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3149
3151
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3150
3152
|
locator?: string | undefined;
|
|
3151
3153
|
}[] | undefined;
|
|
@@ -3153,15 +3155,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3153
3155
|
kind: "correction_approved";
|
|
3154
3156
|
correctionId: string;
|
|
3155
3157
|
approvedBy: {
|
|
3158
|
+
kind: "agent" | "human";
|
|
3156
3159
|
id: string;
|
|
3157
3160
|
label: string;
|
|
3158
|
-
kind: "agent" | "human";
|
|
3159
3161
|
};
|
|
3160
3162
|
note?: string | undefined;
|
|
3161
3163
|
evidence?: {
|
|
3164
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3162
3165
|
id: string;
|
|
3163
3166
|
label: string;
|
|
3164
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3165
3167
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3166
3168
|
locator?: string | undefined;
|
|
3167
3169
|
}[] | undefined;
|
|
@@ -3171,9 +3173,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3171
3173
|
correctionId: string;
|
|
3172
3174
|
replacementDecisionId: string;
|
|
3173
3175
|
evidence?: {
|
|
3176
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3174
3177
|
id: string;
|
|
3175
3178
|
label: string;
|
|
3176
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3177
3179
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3178
3180
|
locator?: string | undefined;
|
|
3179
3181
|
}[] | undefined;
|
|
@@ -3186,9 +3188,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3186
3188
|
recallReceiptId: string;
|
|
3187
3189
|
capturedAtAction: boolean;
|
|
3188
3190
|
evidence?: {
|
|
3191
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3189
3192
|
id: string;
|
|
3190
3193
|
label: string;
|
|
3191
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3192
3194
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3193
3195
|
locator?: string | undefined;
|
|
3194
3196
|
}[] | undefined;
|
|
@@ -3201,20 +3203,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3201
3203
|
recallReceiptId: string;
|
|
3202
3204
|
staleDecisionAbsent: boolean;
|
|
3203
3205
|
evidence?: {
|
|
3206
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3204
3207
|
id: string;
|
|
3205
3208
|
label: string;
|
|
3206
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3207
3209
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3208
3210
|
locator?: string | undefined;
|
|
3209
3211
|
}[] | undefined;
|
|
3210
3212
|
} | {
|
|
3211
|
-
summary: string;
|
|
3212
3213
|
kind: "mission_completed";
|
|
3214
|
+
summary: string;
|
|
3213
3215
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3214
3216
|
evidence?: {
|
|
3217
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3215
3218
|
id: string;
|
|
3216
3219
|
label: string;
|
|
3217
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3218
3220
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3219
3221
|
locator?: string | undefined;
|
|
3220
3222
|
}[] | undefined;
|
|
@@ -3244,15 +3246,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3244
3246
|
locator: z.ZodOptional<z.ZodString>;
|
|
3245
3247
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3246
3248
|
}, "strict", z.ZodTypeAny, {
|
|
3249
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3247
3250
|
id: string;
|
|
3248
3251
|
label: string;
|
|
3249
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3250
3252
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3251
3253
|
locator?: string | undefined;
|
|
3252
3254
|
}, {
|
|
3255
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3253
3256
|
id: string;
|
|
3254
3257
|
label: string;
|
|
3255
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3256
3258
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3257
3259
|
locator?: string | undefined;
|
|
3258
3260
|
}>, "many">>;
|
|
@@ -3260,9 +3262,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3260
3262
|
kind: "mission_started";
|
|
3261
3263
|
title: string;
|
|
3262
3264
|
evidence: {
|
|
3265
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3263
3266
|
id: string;
|
|
3264
3267
|
label: string;
|
|
3265
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3266
3268
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3267
3269
|
locator?: string | undefined;
|
|
3268
3270
|
}[];
|
|
@@ -3274,9 +3276,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3274
3276
|
objective: string;
|
|
3275
3277
|
runMode: "replay" | "fixture" | "live";
|
|
3276
3278
|
evidence?: {
|
|
3279
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3277
3280
|
id: string;
|
|
3278
3281
|
label: string;
|
|
3279
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3280
3282
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3281
3283
|
locator?: string | undefined;
|
|
3282
3284
|
}[] | undefined;
|
|
@@ -3292,15 +3294,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3292
3294
|
locator: z.ZodOptional<z.ZodString>;
|
|
3293
3295
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3294
3296
|
}, "strict", z.ZodTypeAny, {
|
|
3297
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3295
3298
|
id: string;
|
|
3296
3299
|
label: string;
|
|
3297
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3298
3300
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3299
3301
|
locator?: string | undefined;
|
|
3300
3302
|
}, {
|
|
3303
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3301
3304
|
id: string;
|
|
3302
3305
|
label: string;
|
|
3303
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3304
3306
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3305
3307
|
locator?: string | undefined;
|
|
3306
3308
|
}>, "many">>;
|
|
@@ -3308,32 +3310,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3308
3310
|
sessionId: z.ZodString;
|
|
3309
3311
|
kind: z.ZodLiteral<"agent_status">;
|
|
3310
3312
|
}, "strict", z.ZodTypeAny, {
|
|
3311
|
-
label: string;
|
|
3312
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3313
3313
|
kind: "agent_status";
|
|
3314
3314
|
role: string;
|
|
3315
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3316
|
+
label: string;
|
|
3315
3317
|
agentId: string;
|
|
3316
3318
|
sessionId: string;
|
|
3317
3319
|
evidence: {
|
|
3320
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3318
3321
|
id: string;
|
|
3319
3322
|
label: string;
|
|
3320
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3321
3323
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3322
3324
|
locator?: string | undefined;
|
|
3323
3325
|
}[];
|
|
3324
3326
|
detail?: string | undefined;
|
|
3325
3327
|
}, {
|
|
3326
|
-
label: string;
|
|
3327
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3328
3328
|
kind: "agent_status";
|
|
3329
3329
|
role: string;
|
|
3330
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3331
|
+
label: string;
|
|
3330
3332
|
agentId: string;
|
|
3331
3333
|
sessionId: string;
|
|
3332
3334
|
detail?: string | undefined;
|
|
3333
3335
|
evidence?: {
|
|
3336
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3334
3337
|
id: string;
|
|
3335
3338
|
label: string;
|
|
3336
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3337
3339
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3338
3340
|
locator?: string | undefined;
|
|
3339
3341
|
}[] | undefined;
|
|
@@ -3347,15 +3349,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3347
3349
|
locator: z.ZodOptional<z.ZodString>;
|
|
3348
3350
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3349
3351
|
}, "strict", z.ZodTypeAny, {
|
|
3352
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3350
3353
|
id: string;
|
|
3351
3354
|
label: string;
|
|
3352
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3353
3355
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3354
3356
|
locator?: string | undefined;
|
|
3355
3357
|
}, {
|
|
3358
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3356
3359
|
id: string;
|
|
3357
3360
|
label: string;
|
|
3358
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3359
3361
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3360
3362
|
locator?: string | undefined;
|
|
3361
3363
|
}>, "many">>;
|
|
@@ -3363,28 +3365,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3363
3365
|
sessionId: z.ZodString;
|
|
3364
3366
|
kind: z.ZodLiteral<"agent_output">;
|
|
3365
3367
|
}, "strict", z.ZodTypeAny, {
|
|
3366
|
-
summary: string;
|
|
3367
3368
|
kind: "agent_output";
|
|
3369
|
+
summary: string;
|
|
3368
3370
|
agentId: string;
|
|
3369
3371
|
sessionId: string;
|
|
3370
3372
|
evidence: {
|
|
3373
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3371
3374
|
id: string;
|
|
3372
3375
|
label: string;
|
|
3373
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3374
3376
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3375
3377
|
locator?: string | undefined;
|
|
3376
3378
|
}[];
|
|
3377
3379
|
outputId: string;
|
|
3378
3380
|
}, {
|
|
3379
|
-
summary: string;
|
|
3380
3381
|
kind: "agent_output";
|
|
3382
|
+
summary: string;
|
|
3381
3383
|
agentId: string;
|
|
3382
3384
|
sessionId: string;
|
|
3383
3385
|
outputId: string;
|
|
3384
3386
|
evidence?: {
|
|
3387
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3385
3388
|
id: string;
|
|
3386
3389
|
label: string;
|
|
3387
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3388
3390
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3389
3391
|
locator?: string | undefined;
|
|
3390
3392
|
}[] | undefined;
|
|
@@ -3400,15 +3402,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3400
3402
|
locator: z.ZodOptional<z.ZodString>;
|
|
3401
3403
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3402
3404
|
}, "strict", z.ZodTypeAny, {
|
|
3405
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3403
3406
|
id: string;
|
|
3404
3407
|
label: string;
|
|
3405
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3406
3408
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3407
3409
|
locator?: string | undefined;
|
|
3408
3410
|
}, {
|
|
3411
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3409
3412
|
id: string;
|
|
3410
3413
|
label: string;
|
|
3411
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3412
3414
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3413
3415
|
locator?: string | undefined;
|
|
3414
3416
|
}>, "many">>;
|
|
@@ -3421,9 +3423,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3421
3423
|
statement: string;
|
|
3422
3424
|
sessionId: string;
|
|
3423
3425
|
evidence: {
|
|
3426
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3424
3427
|
id: string;
|
|
3425
3428
|
label: string;
|
|
3426
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3427
3429
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3428
3430
|
locator?: string | undefined;
|
|
3429
3431
|
}[];
|
|
@@ -3439,9 +3441,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3439
3441
|
decisionId: string;
|
|
3440
3442
|
confidence?: number | undefined;
|
|
3441
3443
|
evidence?: {
|
|
3444
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3442
3445
|
id: string;
|
|
3443
3446
|
label: string;
|
|
3444
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3445
3447
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3446
3448
|
locator?: string | undefined;
|
|
3447
3449
|
}[] | undefined;
|
|
@@ -3458,25 +3460,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3458
3460
|
locator: z.ZodOptional<z.ZodString>;
|
|
3459
3461
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3460
3462
|
}, "strict", z.ZodTypeAny, {
|
|
3463
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3461
3464
|
id: string;
|
|
3462
3465
|
label: string;
|
|
3463
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3464
3466
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3465
3467
|
locator?: string | undefined;
|
|
3466
3468
|
}, {
|
|
3469
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3467
3470
|
id: string;
|
|
3468
3471
|
label: string;
|
|
3469
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3470
3472
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3471
3473
|
locator?: string | undefined;
|
|
3472
3474
|
}>, "many">>;
|
|
3473
3475
|
}, "strict", z.ZodTypeAny, {
|
|
3474
|
-
summary: string;
|
|
3475
3476
|
kind: "conflict_detected";
|
|
3477
|
+
summary: string;
|
|
3476
3478
|
evidence: {
|
|
3479
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3477
3480
|
id: string;
|
|
3478
3481
|
label: string;
|
|
3479
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3480
3482
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3481
3483
|
locator?: string | undefined;
|
|
3482
3484
|
}[];
|
|
@@ -3484,15 +3486,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3484
3486
|
decisionIds: string[];
|
|
3485
3487
|
agentIds: string[];
|
|
3486
3488
|
}, {
|
|
3487
|
-
summary: string;
|
|
3488
3489
|
kind: "conflict_detected";
|
|
3490
|
+
summary: string;
|
|
3489
3491
|
conflictId: string;
|
|
3490
3492
|
decisionIds: string[];
|
|
3491
3493
|
agentIds: string[];
|
|
3492
3494
|
evidence?: {
|
|
3495
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3493
3496
|
id: string;
|
|
3494
3497
|
label: string;
|
|
3495
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3496
3498
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3497
3499
|
locator?: string | undefined;
|
|
3498
3500
|
}[] | undefined;
|
|
@@ -3512,27 +3514,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3512
3514
|
locator: z.ZodOptional<z.ZodString>;
|
|
3513
3515
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3514
3516
|
}, "strict", z.ZodTypeAny, {
|
|
3517
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3515
3518
|
id: string;
|
|
3516
3519
|
label: string;
|
|
3517
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3518
3520
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3519
3521
|
locator?: string | undefined;
|
|
3520
3522
|
}, {
|
|
3523
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3521
3524
|
id: string;
|
|
3522
3525
|
label: string;
|
|
3523
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3524
3526
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3525
3527
|
locator?: string | undefined;
|
|
3526
3528
|
}>, "many">>;
|
|
3527
3529
|
}, "strict", z.ZodTypeAny, {
|
|
3528
|
-
summary: string;
|
|
3529
|
-
status: "error" | "failed" | "passed";
|
|
3530
3530
|
kind: "test_result";
|
|
3531
|
+
summary: string;
|
|
3531
3532
|
command: string;
|
|
3533
|
+
status: "error" | "failed" | "passed";
|
|
3532
3534
|
evidence: {
|
|
3535
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3533
3536
|
id: string;
|
|
3534
3537
|
label: string;
|
|
3535
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3536
3538
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3537
3539
|
locator?: string | undefined;
|
|
3538
3540
|
}[];
|
|
@@ -3541,17 +3543,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3541
3543
|
durationMs?: number | undefined;
|
|
3542
3544
|
correctionId?: string | undefined;
|
|
3543
3545
|
}, {
|
|
3544
|
-
summary: string;
|
|
3545
|
-
status: "error" | "failed" | "passed";
|
|
3546
3546
|
kind: "test_result";
|
|
3547
|
+
summary: string;
|
|
3547
3548
|
command: string;
|
|
3549
|
+
status: "error" | "failed" | "passed";
|
|
3548
3550
|
decisionId: string;
|
|
3549
3551
|
testId: string;
|
|
3550
3552
|
durationMs?: number | undefined;
|
|
3551
3553
|
evidence?: {
|
|
3554
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3552
3555
|
id: string;
|
|
3553
3556
|
label: string;
|
|
3554
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3555
3557
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3556
3558
|
locator?: string | undefined;
|
|
3557
3559
|
}[] | undefined;
|
|
@@ -3572,15 +3574,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3572
3574
|
locator: z.ZodOptional<z.ZodString>;
|
|
3573
3575
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3574
3576
|
}, "strict", z.ZodTypeAny, {
|
|
3577
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3575
3578
|
id: string;
|
|
3576
3579
|
label: string;
|
|
3577
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3578
3580
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3579
3581
|
locator?: string | undefined;
|
|
3580
3582
|
}, {
|
|
3583
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3581
3584
|
id: string;
|
|
3582
3585
|
label: string;
|
|
3583
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3584
3586
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3585
3587
|
locator?: string | undefined;
|
|
3586
3588
|
}>, "many">>;
|
|
@@ -3589,9 +3591,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3589
3591
|
rationale: string;
|
|
3590
3592
|
statement: string;
|
|
3591
3593
|
evidence: {
|
|
3594
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3592
3595
|
id: string;
|
|
3593
3596
|
label: string;
|
|
3594
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3595
3597
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3596
3598
|
locator?: string | undefined;
|
|
3597
3599
|
}[];
|
|
@@ -3610,9 +3612,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3610
3612
|
supersedesDecisionIds: string[];
|
|
3611
3613
|
proposedBy: string;
|
|
3612
3614
|
evidence?: {
|
|
3615
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3613
3616
|
id: string;
|
|
3614
3617
|
label: string;
|
|
3615
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3616
3618
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3617
3619
|
locator?: string | undefined;
|
|
3618
3620
|
}[] | undefined;
|
|
@@ -3624,13 +3626,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3624
3626
|
id: z.ZodString;
|
|
3625
3627
|
label: z.ZodString;
|
|
3626
3628
|
}, "strict", z.ZodTypeAny, {
|
|
3629
|
+
kind: "agent" | "human";
|
|
3627
3630
|
id: string;
|
|
3628
3631
|
label: string;
|
|
3629
|
-
kind: "agent" | "human";
|
|
3630
3632
|
}, {
|
|
3633
|
+
kind: "agent" | "human";
|
|
3631
3634
|
id: string;
|
|
3632
3635
|
label: string;
|
|
3633
|
-
kind: "agent" | "human";
|
|
3634
3636
|
}>;
|
|
3635
3637
|
note: z.ZodOptional<z.ZodString>;
|
|
3636
3638
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3640,47 +3642,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3640
3642
|
locator: z.ZodOptional<z.ZodString>;
|
|
3641
3643
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3642
3644
|
}, "strict", z.ZodTypeAny, {
|
|
3645
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3643
3646
|
id: string;
|
|
3644
3647
|
label: string;
|
|
3645
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3646
3648
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3647
3649
|
locator?: string | undefined;
|
|
3648
3650
|
}, {
|
|
3651
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3649
3652
|
id: string;
|
|
3650
3653
|
label: string;
|
|
3651
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3652
3654
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3653
3655
|
locator?: string | undefined;
|
|
3654
3656
|
}>, "many">>;
|
|
3655
3657
|
}, "strict", z.ZodTypeAny, {
|
|
3656
3658
|
kind: "correction_approved";
|
|
3657
3659
|
evidence: {
|
|
3660
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3658
3661
|
id: string;
|
|
3659
3662
|
label: string;
|
|
3660
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3661
3663
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3662
3664
|
locator?: string | undefined;
|
|
3663
3665
|
}[];
|
|
3664
3666
|
correctionId: string;
|
|
3665
3667
|
approvedBy: {
|
|
3668
|
+
kind: "agent" | "human";
|
|
3666
3669
|
id: string;
|
|
3667
3670
|
label: string;
|
|
3668
|
-
kind: "agent" | "human";
|
|
3669
3671
|
};
|
|
3670
3672
|
note?: string | undefined;
|
|
3671
3673
|
}, {
|
|
3672
3674
|
kind: "correction_approved";
|
|
3673
3675
|
correctionId: string;
|
|
3674
3676
|
approvedBy: {
|
|
3677
|
+
kind: "agent" | "human";
|
|
3675
3678
|
id: string;
|
|
3676
3679
|
label: string;
|
|
3677
|
-
kind: "agent" | "human";
|
|
3678
3680
|
};
|
|
3679
3681
|
note?: string | undefined;
|
|
3680
3682
|
evidence?: {
|
|
3683
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3681
3684
|
id: string;
|
|
3682
3685
|
label: string;
|
|
3683
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3684
3686
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3685
3687
|
locator?: string | undefined;
|
|
3686
3688
|
}[] | undefined;
|
|
@@ -3696,24 +3698,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3696
3698
|
locator: z.ZodOptional<z.ZodString>;
|
|
3697
3699
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3698
3700
|
}, "strict", z.ZodTypeAny, {
|
|
3701
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3699
3702
|
id: string;
|
|
3700
3703
|
label: string;
|
|
3701
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3702
3704
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3703
3705
|
locator?: string | undefined;
|
|
3704
3706
|
}, {
|
|
3707
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3705
3708
|
id: string;
|
|
3706
3709
|
label: string;
|
|
3707
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3708
3710
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3709
3711
|
locator?: string | undefined;
|
|
3710
3712
|
}>, "many">>;
|
|
3711
3713
|
}, "strict", z.ZodTypeAny, {
|
|
3712
3714
|
kind: "decision_superseded";
|
|
3713
3715
|
evidence: {
|
|
3716
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3714
3717
|
id: string;
|
|
3715
3718
|
label: string;
|
|
3716
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3717
3719
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3718
3720
|
locator?: string | undefined;
|
|
3719
3721
|
}[];
|
|
@@ -3726,9 +3728,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3726
3728
|
correctionId: string;
|
|
3727
3729
|
replacementDecisionId: string;
|
|
3728
3730
|
evidence?: {
|
|
3731
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3729
3732
|
id: string;
|
|
3730
3733
|
label: string;
|
|
3731
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3732
3734
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3733
3735
|
locator?: string | undefined;
|
|
3734
3736
|
}[] | undefined;
|
|
@@ -3744,15 +3746,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3744
3746
|
locator: z.ZodOptional<z.ZodString>;
|
|
3745
3747
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3746
3748
|
}, "strict", z.ZodTypeAny, {
|
|
3749
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3747
3750
|
id: string;
|
|
3748
3751
|
label: string;
|
|
3749
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3750
3752
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3751
3753
|
locator?: string | undefined;
|
|
3752
3754
|
}, {
|
|
3755
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3753
3756
|
id: string;
|
|
3754
3757
|
label: string;
|
|
3755
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3756
3758
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3757
3759
|
locator?: string | undefined;
|
|
3758
3760
|
}>, "many">>;
|
|
@@ -3765,9 +3767,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3765
3767
|
agentId: string;
|
|
3766
3768
|
sessionId: string;
|
|
3767
3769
|
evidence: {
|
|
3770
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3768
3771
|
id: string;
|
|
3769
3772
|
label: string;
|
|
3770
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3771
3773
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3772
3774
|
locator?: string | undefined;
|
|
3773
3775
|
}[];
|
|
@@ -3783,9 +3785,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3783
3785
|
recallReceiptId: string;
|
|
3784
3786
|
capturedAtAction: boolean;
|
|
3785
3787
|
evidence?: {
|
|
3788
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3786
3789
|
id: string;
|
|
3787
3790
|
label: string;
|
|
3788
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3789
3791
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3790
3792
|
locator?: string | undefined;
|
|
3791
3793
|
}[] | undefined;
|
|
@@ -3801,15 +3803,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3801
3803
|
locator: z.ZodOptional<z.ZodString>;
|
|
3802
3804
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3803
3805
|
}, "strict", z.ZodTypeAny, {
|
|
3806
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3804
3807
|
id: string;
|
|
3805
3808
|
label: string;
|
|
3806
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3807
3809
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3808
3810
|
locator?: string | undefined;
|
|
3809
3811
|
}, {
|
|
3812
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3810
3813
|
id: string;
|
|
3811
3814
|
label: string;
|
|
3812
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3813
3815
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3814
3816
|
locator?: string | undefined;
|
|
3815
3817
|
}>, "many">>;
|
|
@@ -3821,9 +3823,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3821
3823
|
agentId: string;
|
|
3822
3824
|
sessionId: string;
|
|
3823
3825
|
evidence: {
|
|
3826
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3824
3827
|
id: string;
|
|
3825
3828
|
label: string;
|
|
3826
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3827
3829
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3828
3830
|
locator?: string | undefined;
|
|
3829
3831
|
}[];
|
|
@@ -3840,9 +3842,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3840
3842
|
recallReceiptId: string;
|
|
3841
3843
|
staleDecisionAbsent: boolean;
|
|
3842
3844
|
evidence?: {
|
|
3845
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3843
3846
|
id: string;
|
|
3844
3847
|
label: string;
|
|
3845
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3846
3848
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3847
3849
|
locator?: string | undefined;
|
|
3848
3850
|
}[] | undefined;
|
|
@@ -3857,37 +3859,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3857
3859
|
locator: z.ZodOptional<z.ZodString>;
|
|
3858
3860
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3859
3861
|
}, "strict", z.ZodTypeAny, {
|
|
3862
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3860
3863
|
id: string;
|
|
3861
3864
|
label: string;
|
|
3862
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3863
3865
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3864
3866
|
locator?: string | undefined;
|
|
3865
3867
|
}, {
|
|
3868
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3866
3869
|
id: string;
|
|
3867
3870
|
label: string;
|
|
3868
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3869
3871
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3870
3872
|
locator?: string | undefined;
|
|
3871
3873
|
}>, "many">>;
|
|
3872
3874
|
}, "strict", z.ZodTypeAny, {
|
|
3873
|
-
summary: string;
|
|
3874
3875
|
kind: "mission_completed";
|
|
3876
|
+
summary: string;
|
|
3875
3877
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3876
3878
|
evidence: {
|
|
3879
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3877
3880
|
id: string;
|
|
3878
3881
|
label: string;
|
|
3879
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3880
3882
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3881
3883
|
locator?: string | undefined;
|
|
3882
3884
|
}[];
|
|
3883
3885
|
}, {
|
|
3884
|
-
summary: string;
|
|
3885
3886
|
kind: "mission_completed";
|
|
3887
|
+
summary: string;
|
|
3886
3888
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3887
3889
|
evidence?: {
|
|
3890
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3888
3891
|
id: string;
|
|
3889
3892
|
label: string;
|
|
3890
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3891
3893
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3892
3894
|
locator?: string | undefined;
|
|
3893
3895
|
}[] | undefined;
|
|
@@ -3895,38 +3897,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3895
3897
|
kind: "mission_started";
|
|
3896
3898
|
title: string;
|
|
3897
3899
|
evidence: {
|
|
3900
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3898
3901
|
id: string;
|
|
3899
3902
|
label: string;
|
|
3900
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3901
3903
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3902
3904
|
locator?: string | undefined;
|
|
3903
3905
|
}[];
|
|
3904
3906
|
objective: string;
|
|
3905
3907
|
runMode: "replay" | "fixture" | "live";
|
|
3906
3908
|
} | {
|
|
3907
|
-
label: string;
|
|
3908
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3909
3909
|
kind: "agent_status";
|
|
3910
3910
|
role: string;
|
|
3911
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3912
|
+
label: string;
|
|
3911
3913
|
agentId: string;
|
|
3912
3914
|
sessionId: string;
|
|
3913
3915
|
evidence: {
|
|
3916
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3914
3917
|
id: string;
|
|
3915
3918
|
label: string;
|
|
3916
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3917
3919
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3918
3920
|
locator?: string | undefined;
|
|
3919
3921
|
}[];
|
|
3920
3922
|
detail?: string | undefined;
|
|
3921
3923
|
} | {
|
|
3922
|
-
summary: string;
|
|
3923
3924
|
kind: "agent_output";
|
|
3925
|
+
summary: string;
|
|
3924
3926
|
agentId: string;
|
|
3925
3927
|
sessionId: string;
|
|
3926
3928
|
evidence: {
|
|
3929
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3927
3930
|
id: string;
|
|
3928
3931
|
label: string;
|
|
3929
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3930
3932
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3931
3933
|
locator?: string | undefined;
|
|
3932
3934
|
}[];
|
|
@@ -3937,9 +3939,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3937
3939
|
statement: string;
|
|
3938
3940
|
sessionId: string;
|
|
3939
3941
|
evidence: {
|
|
3942
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3940
3943
|
id: string;
|
|
3941
3944
|
label: string;
|
|
3942
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3943
3945
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3944
3946
|
locator?: string | undefined;
|
|
3945
3947
|
}[];
|
|
@@ -3947,12 +3949,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3947
3949
|
decisionId: string;
|
|
3948
3950
|
confidence?: number | undefined;
|
|
3949
3951
|
} | {
|
|
3950
|
-
summary: string;
|
|
3951
3952
|
kind: "conflict_detected";
|
|
3953
|
+
summary: string;
|
|
3952
3954
|
evidence: {
|
|
3955
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3953
3956
|
id: string;
|
|
3954
3957
|
label: string;
|
|
3955
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3956
3958
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3957
3959
|
locator?: string | undefined;
|
|
3958
3960
|
}[];
|
|
@@ -3960,14 +3962,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3960
3962
|
decisionIds: string[];
|
|
3961
3963
|
agentIds: string[];
|
|
3962
3964
|
} | {
|
|
3963
|
-
summary: string;
|
|
3964
|
-
status: "error" | "failed" | "passed";
|
|
3965
3965
|
kind: "test_result";
|
|
3966
|
+
summary: string;
|
|
3966
3967
|
command: string;
|
|
3968
|
+
status: "error" | "failed" | "passed";
|
|
3967
3969
|
evidence: {
|
|
3970
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3968
3971
|
id: string;
|
|
3969
3972
|
label: string;
|
|
3970
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3971
3973
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3972
3974
|
locator?: string | undefined;
|
|
3973
3975
|
}[];
|
|
@@ -3980,9 +3982,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3980
3982
|
rationale: string;
|
|
3981
3983
|
statement: string;
|
|
3982
3984
|
evidence: {
|
|
3985
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3983
3986
|
id: string;
|
|
3984
3987
|
label: string;
|
|
3985
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3986
3988
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3987
3989
|
locator?: string | undefined;
|
|
3988
3990
|
}[];
|
|
@@ -3994,25 +3996,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3994
3996
|
} | {
|
|
3995
3997
|
kind: "correction_approved";
|
|
3996
3998
|
evidence: {
|
|
3999
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3997
4000
|
id: string;
|
|
3998
4001
|
label: string;
|
|
3999
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4000
4002
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4001
4003
|
locator?: string | undefined;
|
|
4002
4004
|
}[];
|
|
4003
4005
|
correctionId: string;
|
|
4004
4006
|
approvedBy: {
|
|
4007
|
+
kind: "agent" | "human";
|
|
4005
4008
|
id: string;
|
|
4006
4009
|
label: string;
|
|
4007
|
-
kind: "agent" | "human";
|
|
4008
4010
|
};
|
|
4009
4011
|
note?: string | undefined;
|
|
4010
4012
|
} | {
|
|
4011
4013
|
kind: "decision_superseded";
|
|
4012
4014
|
evidence: {
|
|
4015
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4013
4016
|
id: string;
|
|
4014
4017
|
label: string;
|
|
4015
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4016
4018
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4017
4019
|
locator?: string | undefined;
|
|
4018
4020
|
}[];
|
|
@@ -4025,9 +4027,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4025
4027
|
agentId: string;
|
|
4026
4028
|
sessionId: string;
|
|
4027
4029
|
evidence: {
|
|
4030
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4028
4031
|
id: string;
|
|
4029
4032
|
label: string;
|
|
4030
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4031
4033
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4032
4034
|
locator?: string | undefined;
|
|
4033
4035
|
}[];
|
|
@@ -4039,9 +4041,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4039
4041
|
agentId: string;
|
|
4040
4042
|
sessionId: string;
|
|
4041
4043
|
evidence: {
|
|
4044
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4042
4045
|
id: string;
|
|
4043
4046
|
label: string;
|
|
4044
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4045
4047
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4046
4048
|
locator?: string | undefined;
|
|
4047
4049
|
}[];
|
|
@@ -4050,13 +4052,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4050
4052
|
recallReceiptId: string;
|
|
4051
4053
|
staleDecisionAbsent: boolean;
|
|
4052
4054
|
} | {
|
|
4053
|
-
summary: string;
|
|
4054
4055
|
kind: "mission_completed";
|
|
4056
|
+
summary: string;
|
|
4055
4057
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4056
4058
|
evidence: {
|
|
4059
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4057
4060
|
id: string;
|
|
4058
4061
|
label: string;
|
|
4059
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4060
4062
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4061
4063
|
locator?: string | undefined;
|
|
4062
4064
|
}[];
|
|
@@ -4066,37 +4068,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4066
4068
|
objective: string;
|
|
4067
4069
|
runMode: "replay" | "fixture" | "live";
|
|
4068
4070
|
evidence?: {
|
|
4071
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4069
4072
|
id: string;
|
|
4070
4073
|
label: string;
|
|
4071
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4072
4074
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4073
4075
|
locator?: string | undefined;
|
|
4074
4076
|
}[] | undefined;
|
|
4075
4077
|
} | {
|
|
4076
|
-
label: string;
|
|
4077
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4078
4078
|
kind: "agent_status";
|
|
4079
4079
|
role: string;
|
|
4080
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4081
|
+
label: string;
|
|
4080
4082
|
agentId: string;
|
|
4081
4083
|
sessionId: string;
|
|
4082
4084
|
detail?: string | undefined;
|
|
4083
4085
|
evidence?: {
|
|
4086
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4084
4087
|
id: string;
|
|
4085
4088
|
label: string;
|
|
4086
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4087
4089
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4088
4090
|
locator?: string | undefined;
|
|
4089
4091
|
}[] | undefined;
|
|
4090
4092
|
} | {
|
|
4091
|
-
summary: string;
|
|
4092
4093
|
kind: "agent_output";
|
|
4094
|
+
summary: string;
|
|
4093
4095
|
agentId: string;
|
|
4094
4096
|
sessionId: string;
|
|
4095
4097
|
outputId: string;
|
|
4096
4098
|
evidence?: {
|
|
4099
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4097
4100
|
id: string;
|
|
4098
4101
|
label: string;
|
|
4099
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4100
4102
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4101
4103
|
locator?: string | undefined;
|
|
4102
4104
|
}[] | undefined;
|
|
@@ -4109,37 +4111,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4109
4111
|
decisionId: string;
|
|
4110
4112
|
confidence?: number | undefined;
|
|
4111
4113
|
evidence?: {
|
|
4114
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4112
4115
|
id: string;
|
|
4113
4116
|
label: string;
|
|
4114
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4115
4117
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4116
4118
|
locator?: string | undefined;
|
|
4117
4119
|
}[] | undefined;
|
|
4118
4120
|
} | {
|
|
4119
|
-
summary: string;
|
|
4120
4121
|
kind: "conflict_detected";
|
|
4122
|
+
summary: string;
|
|
4121
4123
|
conflictId: string;
|
|
4122
4124
|
decisionIds: string[];
|
|
4123
4125
|
agentIds: string[];
|
|
4124
4126
|
evidence?: {
|
|
4127
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4125
4128
|
id: string;
|
|
4126
4129
|
label: string;
|
|
4127
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4128
4130
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4129
4131
|
locator?: string | undefined;
|
|
4130
4132
|
}[] | undefined;
|
|
4131
4133
|
} | {
|
|
4132
|
-
summary: string;
|
|
4133
|
-
status: "error" | "failed" | "passed";
|
|
4134
4134
|
kind: "test_result";
|
|
4135
|
+
summary: string;
|
|
4135
4136
|
command: string;
|
|
4137
|
+
status: "error" | "failed" | "passed";
|
|
4136
4138
|
decisionId: string;
|
|
4137
4139
|
testId: string;
|
|
4138
4140
|
durationMs?: number | undefined;
|
|
4139
4141
|
evidence?: {
|
|
4142
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4140
4143
|
id: string;
|
|
4141
4144
|
label: string;
|
|
4142
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4143
4145
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4144
4146
|
locator?: string | undefined;
|
|
4145
4147
|
}[] | undefined;
|
|
@@ -4154,9 +4156,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4154
4156
|
supersedesDecisionIds: string[];
|
|
4155
4157
|
proposedBy: string;
|
|
4156
4158
|
evidence?: {
|
|
4159
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4157
4160
|
id: string;
|
|
4158
4161
|
label: string;
|
|
4159
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4160
4162
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4161
4163
|
locator?: string | undefined;
|
|
4162
4164
|
}[] | undefined;
|
|
@@ -4164,15 +4166,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4164
4166
|
kind: "correction_approved";
|
|
4165
4167
|
correctionId: string;
|
|
4166
4168
|
approvedBy: {
|
|
4169
|
+
kind: "agent" | "human";
|
|
4167
4170
|
id: string;
|
|
4168
4171
|
label: string;
|
|
4169
|
-
kind: "agent" | "human";
|
|
4170
4172
|
};
|
|
4171
4173
|
note?: string | undefined;
|
|
4172
4174
|
evidence?: {
|
|
4175
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4173
4176
|
id: string;
|
|
4174
4177
|
label: string;
|
|
4175
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4176
4178
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4177
4179
|
locator?: string | undefined;
|
|
4178
4180
|
}[] | undefined;
|
|
@@ -4182,9 +4184,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4182
4184
|
correctionId: string;
|
|
4183
4185
|
replacementDecisionId: string;
|
|
4184
4186
|
evidence?: {
|
|
4187
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4185
4188
|
id: string;
|
|
4186
4189
|
label: string;
|
|
4187
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4188
4190
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4189
4191
|
locator?: string | undefined;
|
|
4190
4192
|
}[] | undefined;
|
|
@@ -4197,9 +4199,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4197
4199
|
recallReceiptId: string;
|
|
4198
4200
|
capturedAtAction: boolean;
|
|
4199
4201
|
evidence?: {
|
|
4202
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4200
4203
|
id: string;
|
|
4201
4204
|
label: string;
|
|
4202
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4203
4205
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4204
4206
|
locator?: string | undefined;
|
|
4205
4207
|
}[] | undefined;
|
|
@@ -4212,64 +4214,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4212
4214
|
recallReceiptId: string;
|
|
4213
4215
|
staleDecisionAbsent: boolean;
|
|
4214
4216
|
evidence?: {
|
|
4217
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4215
4218
|
id: string;
|
|
4216
4219
|
label: string;
|
|
4217
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4218
4220
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4219
4221
|
locator?: string | undefined;
|
|
4220
4222
|
}[] | undefined;
|
|
4221
4223
|
} | {
|
|
4222
|
-
summary: string;
|
|
4223
4224
|
kind: "mission_completed";
|
|
4225
|
+
summary: string;
|
|
4224
4226
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4225
4227
|
evidence?: {
|
|
4228
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4226
4229
|
id: string;
|
|
4227
4230
|
label: string;
|
|
4228
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4229
4231
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4230
4232
|
locator?: string | undefined;
|
|
4231
4233
|
}[] | undefined;
|
|
4232
4234
|
}>;
|
|
4233
4235
|
}, "strict", z.ZodTypeAny, {
|
|
4234
|
-
namespace: string;
|
|
4235
|
-
recordedAt: string;
|
|
4236
4236
|
schemaVersion: "1";
|
|
4237
|
+
recordedAt: string;
|
|
4237
4238
|
payload: {
|
|
4238
4239
|
kind: "mission_started";
|
|
4239
4240
|
title: string;
|
|
4240
4241
|
evidence: {
|
|
4242
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4241
4243
|
id: string;
|
|
4242
4244
|
label: string;
|
|
4243
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4244
4245
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4245
4246
|
locator?: string | undefined;
|
|
4246
4247
|
}[];
|
|
4247
4248
|
objective: string;
|
|
4248
4249
|
runMode: "replay" | "fixture" | "live";
|
|
4249
4250
|
} | {
|
|
4250
|
-
label: string;
|
|
4251
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4252
4251
|
kind: "agent_status";
|
|
4253
4252
|
role: string;
|
|
4253
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4254
|
+
label: string;
|
|
4254
4255
|
agentId: string;
|
|
4255
4256
|
sessionId: string;
|
|
4256
4257
|
evidence: {
|
|
4258
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4257
4259
|
id: string;
|
|
4258
4260
|
label: string;
|
|
4259
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4260
4261
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4261
4262
|
locator?: string | undefined;
|
|
4262
4263
|
}[];
|
|
4263
4264
|
detail?: string | undefined;
|
|
4264
4265
|
} | {
|
|
4265
|
-
summary: string;
|
|
4266
4266
|
kind: "agent_output";
|
|
4267
|
+
summary: string;
|
|
4267
4268
|
agentId: string;
|
|
4268
4269
|
sessionId: string;
|
|
4269
4270
|
evidence: {
|
|
4271
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4270
4272
|
id: string;
|
|
4271
4273
|
label: string;
|
|
4272
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4273
4274
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4274
4275
|
locator?: string | undefined;
|
|
4275
4276
|
}[];
|
|
@@ -4280,9 +4281,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4280
4281
|
statement: string;
|
|
4281
4282
|
sessionId: string;
|
|
4282
4283
|
evidence: {
|
|
4284
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4283
4285
|
id: string;
|
|
4284
4286
|
label: string;
|
|
4285
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4286
4287
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4287
4288
|
locator?: string | undefined;
|
|
4288
4289
|
}[];
|
|
@@ -4290,12 +4291,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4290
4291
|
decisionId: string;
|
|
4291
4292
|
confidence?: number | undefined;
|
|
4292
4293
|
} | {
|
|
4293
|
-
summary: string;
|
|
4294
4294
|
kind: "conflict_detected";
|
|
4295
|
+
summary: string;
|
|
4295
4296
|
evidence: {
|
|
4297
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4296
4298
|
id: string;
|
|
4297
4299
|
label: string;
|
|
4298
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4299
4300
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4300
4301
|
locator?: string | undefined;
|
|
4301
4302
|
}[];
|
|
@@ -4303,14 +4304,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4303
4304
|
decisionIds: string[];
|
|
4304
4305
|
agentIds: string[];
|
|
4305
4306
|
} | {
|
|
4306
|
-
summary: string;
|
|
4307
|
-
status: "error" | "failed" | "passed";
|
|
4308
4307
|
kind: "test_result";
|
|
4308
|
+
summary: string;
|
|
4309
4309
|
command: string;
|
|
4310
|
+
status: "error" | "failed" | "passed";
|
|
4310
4311
|
evidence: {
|
|
4312
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4311
4313
|
id: string;
|
|
4312
4314
|
label: string;
|
|
4313
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4314
4315
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4315
4316
|
locator?: string | undefined;
|
|
4316
4317
|
}[];
|
|
@@ -4323,9 +4324,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4323
4324
|
rationale: string;
|
|
4324
4325
|
statement: string;
|
|
4325
4326
|
evidence: {
|
|
4327
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4326
4328
|
id: string;
|
|
4327
4329
|
label: string;
|
|
4328
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4329
4330
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4330
4331
|
locator?: string | undefined;
|
|
4331
4332
|
}[];
|
|
@@ -4337,25 +4338,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4337
4338
|
} | {
|
|
4338
4339
|
kind: "correction_approved";
|
|
4339
4340
|
evidence: {
|
|
4341
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4340
4342
|
id: string;
|
|
4341
4343
|
label: string;
|
|
4342
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4343
4344
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4344
4345
|
locator?: string | undefined;
|
|
4345
4346
|
}[];
|
|
4346
4347
|
correctionId: string;
|
|
4347
4348
|
approvedBy: {
|
|
4349
|
+
kind: "agent" | "human";
|
|
4348
4350
|
id: string;
|
|
4349
4351
|
label: string;
|
|
4350
|
-
kind: "agent" | "human";
|
|
4351
4352
|
};
|
|
4352
4353
|
note?: string | undefined;
|
|
4353
4354
|
} | {
|
|
4354
4355
|
kind: "decision_superseded";
|
|
4355
4356
|
evidence: {
|
|
4357
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4356
4358
|
id: string;
|
|
4357
4359
|
label: string;
|
|
4358
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4359
4360
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4360
4361
|
locator?: string | undefined;
|
|
4361
4362
|
}[];
|
|
@@ -4368,9 +4369,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4368
4369
|
agentId: string;
|
|
4369
4370
|
sessionId: string;
|
|
4370
4371
|
evidence: {
|
|
4372
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4371
4373
|
id: string;
|
|
4372
4374
|
label: string;
|
|
4373
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4374
4375
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4375
4376
|
locator?: string | undefined;
|
|
4376
4377
|
}[];
|
|
@@ -4382,9 +4383,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4382
4383
|
agentId: string;
|
|
4383
4384
|
sessionId: string;
|
|
4384
4385
|
evidence: {
|
|
4386
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4385
4387
|
id: string;
|
|
4386
4388
|
label: string;
|
|
4387
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4388
4389
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4389
4390
|
locator?: string | undefined;
|
|
4390
4391
|
}[];
|
|
@@ -4393,63 +4394,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4393
4394
|
recallReceiptId: string;
|
|
4394
4395
|
staleDecisionAbsent: boolean;
|
|
4395
4396
|
} | {
|
|
4396
|
-
summary: string;
|
|
4397
4397
|
kind: "mission_completed";
|
|
4398
|
+
summary: string;
|
|
4398
4399
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4399
4400
|
evidence: {
|
|
4401
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4400
4402
|
id: string;
|
|
4401
4403
|
label: string;
|
|
4402
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4403
4404
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4404
4405
|
locator?: string | undefined;
|
|
4405
4406
|
}[];
|
|
4406
4407
|
};
|
|
4408
|
+
namespace: string;
|
|
4407
4409
|
eventId: string;
|
|
4408
4410
|
occurredAt: string;
|
|
4409
4411
|
missionId: string;
|
|
4410
4412
|
authenticatedPrincipal?: string | undefined;
|
|
4411
4413
|
idempotencyKey?: string | undefined;
|
|
4412
4414
|
}, {
|
|
4413
|
-
namespace: string;
|
|
4414
|
-
recordedAt: string;
|
|
4415
4415
|
schemaVersion: "1";
|
|
4416
|
+
recordedAt: string;
|
|
4416
4417
|
payload: {
|
|
4417
4418
|
kind: "mission_started";
|
|
4418
4419
|
title: string;
|
|
4419
4420
|
objective: string;
|
|
4420
4421
|
runMode: "replay" | "fixture" | "live";
|
|
4421
4422
|
evidence?: {
|
|
4423
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4422
4424
|
id: string;
|
|
4423
4425
|
label: string;
|
|
4424
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4425
4426
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4426
4427
|
locator?: string | undefined;
|
|
4427
4428
|
}[] | undefined;
|
|
4428
4429
|
} | {
|
|
4429
|
-
label: string;
|
|
4430
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4431
4430
|
kind: "agent_status";
|
|
4432
4431
|
role: string;
|
|
4432
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4433
|
+
label: string;
|
|
4433
4434
|
agentId: string;
|
|
4434
4435
|
sessionId: string;
|
|
4435
4436
|
detail?: string | undefined;
|
|
4436
4437
|
evidence?: {
|
|
4438
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4437
4439
|
id: string;
|
|
4438
4440
|
label: string;
|
|
4439
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4440
4441
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4441
4442
|
locator?: string | undefined;
|
|
4442
4443
|
}[] | undefined;
|
|
4443
4444
|
} | {
|
|
4444
|
-
summary: string;
|
|
4445
4445
|
kind: "agent_output";
|
|
4446
|
+
summary: string;
|
|
4446
4447
|
agentId: string;
|
|
4447
4448
|
sessionId: string;
|
|
4448
4449
|
outputId: string;
|
|
4449
4450
|
evidence?: {
|
|
4451
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4450
4452
|
id: string;
|
|
4451
4453
|
label: string;
|
|
4452
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4453
4454
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4454
4455
|
locator?: string | undefined;
|
|
4455
4456
|
}[] | undefined;
|
|
@@ -4462,37 +4463,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4462
4463
|
decisionId: string;
|
|
4463
4464
|
confidence?: number | undefined;
|
|
4464
4465
|
evidence?: {
|
|
4466
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4465
4467
|
id: string;
|
|
4466
4468
|
label: string;
|
|
4467
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4468
4469
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4469
4470
|
locator?: string | undefined;
|
|
4470
4471
|
}[] | undefined;
|
|
4471
4472
|
} | {
|
|
4472
|
-
summary: string;
|
|
4473
4473
|
kind: "conflict_detected";
|
|
4474
|
+
summary: string;
|
|
4474
4475
|
conflictId: string;
|
|
4475
4476
|
decisionIds: string[];
|
|
4476
4477
|
agentIds: string[];
|
|
4477
4478
|
evidence?: {
|
|
4479
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4478
4480
|
id: string;
|
|
4479
4481
|
label: string;
|
|
4480
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4481
4482
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4482
4483
|
locator?: string | undefined;
|
|
4483
4484
|
}[] | undefined;
|
|
4484
4485
|
} | {
|
|
4485
|
-
summary: string;
|
|
4486
|
-
status: "error" | "failed" | "passed";
|
|
4487
4486
|
kind: "test_result";
|
|
4487
|
+
summary: string;
|
|
4488
4488
|
command: string;
|
|
4489
|
+
status: "error" | "failed" | "passed";
|
|
4489
4490
|
decisionId: string;
|
|
4490
4491
|
testId: string;
|
|
4491
4492
|
durationMs?: number | undefined;
|
|
4492
4493
|
evidence?: {
|
|
4494
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4493
4495
|
id: string;
|
|
4494
4496
|
label: string;
|
|
4495
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4496
4497
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4497
4498
|
locator?: string | undefined;
|
|
4498
4499
|
}[] | undefined;
|
|
@@ -4507,9 +4508,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4507
4508
|
supersedesDecisionIds: string[];
|
|
4508
4509
|
proposedBy: string;
|
|
4509
4510
|
evidence?: {
|
|
4511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4510
4512
|
id: string;
|
|
4511
4513
|
label: string;
|
|
4512
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4513
4514
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4514
4515
|
locator?: string | undefined;
|
|
4515
4516
|
}[] | undefined;
|
|
@@ -4517,15 +4518,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4517
4518
|
kind: "correction_approved";
|
|
4518
4519
|
correctionId: string;
|
|
4519
4520
|
approvedBy: {
|
|
4521
|
+
kind: "agent" | "human";
|
|
4520
4522
|
id: string;
|
|
4521
4523
|
label: string;
|
|
4522
|
-
kind: "agent" | "human";
|
|
4523
4524
|
};
|
|
4524
4525
|
note?: string | undefined;
|
|
4525
4526
|
evidence?: {
|
|
4527
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4526
4528
|
id: string;
|
|
4527
4529
|
label: string;
|
|
4528
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4529
4530
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4530
4531
|
locator?: string | undefined;
|
|
4531
4532
|
}[] | undefined;
|
|
@@ -4535,9 +4536,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4535
4536
|
correctionId: string;
|
|
4536
4537
|
replacementDecisionId: string;
|
|
4537
4538
|
evidence?: {
|
|
4539
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4538
4540
|
id: string;
|
|
4539
4541
|
label: string;
|
|
4540
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4541
4542
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4542
4543
|
locator?: string | undefined;
|
|
4543
4544
|
}[] | undefined;
|
|
@@ -4550,9 +4551,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4550
4551
|
recallReceiptId: string;
|
|
4551
4552
|
capturedAtAction: boolean;
|
|
4552
4553
|
evidence?: {
|
|
4554
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4553
4555
|
id: string;
|
|
4554
4556
|
label: string;
|
|
4555
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4556
4557
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4557
4558
|
locator?: string | undefined;
|
|
4558
4559
|
}[] | undefined;
|
|
@@ -4565,24 +4566,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4565
4566
|
recallReceiptId: string;
|
|
4566
4567
|
staleDecisionAbsent: boolean;
|
|
4567
4568
|
evidence?: {
|
|
4569
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4568
4570
|
id: string;
|
|
4569
4571
|
label: string;
|
|
4570
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4571
4572
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4572
4573
|
locator?: string | undefined;
|
|
4573
4574
|
}[] | undefined;
|
|
4574
4575
|
} | {
|
|
4575
|
-
summary: string;
|
|
4576
4576
|
kind: "mission_completed";
|
|
4577
|
+
summary: string;
|
|
4577
4578
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4578
4579
|
evidence?: {
|
|
4580
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4579
4581
|
id: string;
|
|
4580
4582
|
label: string;
|
|
4581
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4582
4583
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4583
4584
|
locator?: string | undefined;
|
|
4584
4585
|
}[] | undefined;
|
|
4585
4586
|
};
|
|
4587
|
+
namespace: string;
|
|
4586
4588
|
eventId: string;
|
|
4587
4589
|
occurredAt: string;
|
|
4588
4590
|
missionId: string;
|
|
@@ -7127,15 +7129,21 @@ declare class ActivitySyncScheduler {
|
|
|
7127
7129
|
private tick;
|
|
7128
7130
|
}
|
|
7129
7131
|
|
|
7132
|
+
/** The inert default: disabled, search-only, no sources, no extraction. */
|
|
7133
|
+
declare function defaultActivityConfig(): ActivityConfig;
|
|
7130
7134
|
/**
|
|
7131
7135
|
* Parse, protocol-check, and confine an activity source base URL to a local
|
|
7132
7136
|
* loopback host. Shared with ActivityHttpSourceClient so config-load and client
|
|
7133
|
-
* construction reject the exact same shapes with the same prefixed message
|
|
7134
|
-
*
|
|
7135
|
-
*
|
|
7136
|
-
* exfiltrate it; the subsystem contract is local capture daemons only.
|
|
7137
|
+
* construction reject the exact same shapes with the same prefixed message. The
|
|
7138
|
+
* bearer token travels in an Authorization header, so a non-loopback baseUrl
|
|
7139
|
+
* would exfiltrate it; the subsystem contract is local capture daemons only.
|
|
7137
7140
|
*/
|
|
7138
7141
|
declare function validateActivityBaseUrl(baseUrl: string): URL;
|
|
7142
|
+
/**
|
|
7143
|
+
* Parse the unified `activity.*` block. `enabled` gates source ingestion (and
|
|
7144
|
+
* requires at least one source); `extractionMode` independently gates durable
|
|
7145
|
+
* trust-gated memory extraction (default `off`, i.e. search-only).
|
|
7146
|
+
*/
|
|
7139
7147
|
declare function parseActivityConfig(raw: unknown): ActivityConfig;
|
|
7140
7148
|
|
|
7141
7149
|
/**
|
|
@@ -7161,6 +7169,73 @@ interface ActivityIndexRefresher {
|
|
|
7161
7169
|
}
|
|
7162
7170
|
declare function refreshActivityIndex(qmd: ActivityIndexRefresher, collection: string, signal?: AbortSignal): Promise<void>;
|
|
7163
7171
|
|
|
7172
|
+
interface ActivityMemoryWriter {
|
|
7173
|
+
/**
|
|
7174
|
+
* Locate an existing activity memory for this day whose normalized content
|
|
7175
|
+
* matches, or null. The dedup identity is `(activity day, normalized content)`:
|
|
7176
|
+
* `dayStartUtc`/`dayEndUtc` bound the half-open day window and `normalizedKey`
|
|
7177
|
+
* is trim+lowercase content — so whitespace/case variants collapse, while the
|
|
7178
|
+
* SAME text on a different day is NOT a duplicate (recurring actions persist
|
|
7179
|
+
* per day). Enables dedup and in-place promotion instead of duplicate or
|
|
7180
|
+
* frozen-pending records.
|
|
7181
|
+
*/
|
|
7182
|
+
findActivityMemoryByContent(normalizedKey: string, dayStartUtc: string, dayEndUtc: string): Promise<{
|
|
7183
|
+
id: string;
|
|
7184
|
+
status: MemoryStatus | undefined;
|
|
7185
|
+
} | null>;
|
|
7186
|
+
/**
|
|
7187
|
+
* Count active + pending_review activity memories whose event time falls in
|
|
7188
|
+
* the half-open [startUtc, endUtc) day window. Seeds `maxMemoriesPerDay` so
|
|
7189
|
+
* the cap holds across repeated digest runs on the same day rather than
|
|
7190
|
+
* resetting on every call.
|
|
7191
|
+
*/
|
|
7192
|
+
countActivityMemoriesForDay(startUtc: string, endUtc: string): Promise<number>;
|
|
7193
|
+
/**
|
|
7194
|
+
* Promote a pending_review activity memory to active, merging trust evidence.
|
|
7195
|
+
* Returns false when the row is missing or no longer pending.
|
|
7196
|
+
*/
|
|
7197
|
+
promoteActivityMemory(id: string, attributeUpdates: Record<string, string>, confidence?: number): Promise<boolean>;
|
|
7198
|
+
/**
|
|
7199
|
+
* Demote a pending_review activity memory to rejected on a fresh judge-reject
|
|
7200
|
+
* re-verdict. Active rows are never auto-demoted. Returns false when missing
|
|
7201
|
+
* or no longer pending.
|
|
7202
|
+
*/
|
|
7203
|
+
demoteActivityMemory(id: string, attributeUpdates: Record<string, string>): Promise<boolean>;
|
|
7204
|
+
writeSealedMemory(envelope: SealedMemoryEnvelope, extras: {
|
|
7205
|
+
status: MemoryStatus;
|
|
7206
|
+
contentHashSource: string;
|
|
7207
|
+
importance?: ImportanceScore;
|
|
7208
|
+
}): Promise<{
|
|
7209
|
+
tombstoneBlocked?: boolean;
|
|
7210
|
+
}>;
|
|
7211
|
+
}
|
|
7212
|
+
interface ActivityMemoryGenerationDeps {
|
|
7213
|
+
extract(digestBody: string): Promise<ExtractionResult>;
|
|
7214
|
+
judge(candidates: JudgeCandidate[]): Promise<Map<number, JudgeVerdict>>;
|
|
7215
|
+
writer: ActivityMemoryWriter;
|
|
7216
|
+
now?: () => Date;
|
|
7217
|
+
}
|
|
7218
|
+
interface ActivityMemoryGenerationResult {
|
|
7219
|
+
created: number;
|
|
7220
|
+
/** Earlier pending_review writes promoted to active by a stronger reassessment. */
|
|
7221
|
+
promoted: number;
|
|
7222
|
+
/** Earlier pending_review writes retired by a fresh judge-reject verdict. */
|
|
7223
|
+
demoted: number;
|
|
7224
|
+
pendingReview: number;
|
|
7225
|
+
rejectedDisplayedContent: number;
|
|
7226
|
+
rejectedByJudge: number;
|
|
7227
|
+
skipped: number;
|
|
7228
|
+
}
|
|
7229
|
+
/**
|
|
7230
|
+
* Activity snapshots contain arbitrary third-party text. Only durable claims
|
|
7231
|
+
* explicitly framed as the user's or team's own action, decision, commitment,
|
|
7232
|
+
* preference, or moment may enter the trust gate. A first-person pronoun alone
|
|
7233
|
+
* is not ownership evidence: quoted or attributed third-party speech (e.g.
|
|
7234
|
+
* "Alice wrote: I decided to leave") is rejected.
|
|
7235
|
+
*/
|
|
7236
|
+
declare function isEligibleActivityFact(fact: ExtractionResult["facts"][number]): boolean;
|
|
7237
|
+
declare function generateActivityMemories(date: string, digestBody: string, config: ActivityConfig, deps: ActivityMemoryGenerationDeps): Promise<ActivityMemoryGenerationResult>;
|
|
7238
|
+
|
|
7164
7239
|
/**
|
|
7165
7240
|
* Meeting-intelligence subsystem — shared types (issue #1900).
|
|
7166
7241
|
*
|
|
@@ -7581,4 +7656,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
|
|
|
7581
7656
|
*/
|
|
7582
7657
|
declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
|
|
7583
7658
|
|
|
7584
|
-
export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivitySourceConfig, type ActivitySourceRunItem, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, type ActivitySyncRunOptions, type ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, type DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, type MeetingAppSpan, type MeetingAudioWindow, type MeetingDetectionSource, type MeetingsDetectionConfig, type MeetingsDetectionInput, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, WearableDayTranscript, WearableDayTranscriptMeta, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDatabasePath, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyActivitySchema, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildProcedureMarkdownBody, buildProcedureRecallSection, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureActivityStateDir, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateContextTree, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingId, mergeSpaces, normalizeOriginUrl, onboard, openActivityDatabase, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveActivitySyncDates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runActivitySyncOnce, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, writeManifest };
|
|
7659
|
+
export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivitySourceConfig, type ActivitySourceRunItem, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, type ActivitySyncRunOptions, type ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, type DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, type MeetingAppSpan, type MeetingAudioWindow, type MeetingDetectionSource, type MeetingsDetectionConfig, type MeetingsDetectionInput, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, WearableDayTranscript, WearableDayTranscriptMeta, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDatabasePath, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyActivitySchema, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildProcedureMarkdownBody, buildProcedureRecallSection, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureActivityStateDir, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingId, mergeSpaces, normalizeOriginUrl, onboard, openActivityDatabase, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveActivitySyncDates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runActivitySyncOnce, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, writeManifest };
|