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