@remnic/core 9.51.1 → 9.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/dist/access-admin-ops-surface.d.ts +6 -5
  2. package/dist/access-admin-ops-surface.js +16 -16
  3. package/dist/access-authorization-probe.d.ts +6 -5
  4. package/dist/access-authorization-probe.js +17 -17
  5. package/dist/access-boundary.d.ts +6 -5
  6. package/dist/access-boundary.js +16 -16
  7. package/dist/access-cli.js +39 -39
  8. package/dist/access-extraction-force-flush.d.ts +6 -5
  9. package/dist/access-extraction-force-flush.js +16 -16
  10. package/dist/access-http-lcm-compaction.d.ts +6 -5
  11. package/dist/access-http-lifecycle-flush.d.ts +6 -5
  12. package/dist/access-http-offline-stream.d.ts +6 -5
  13. package/dist/access-http-query.js +16 -16
  14. package/dist/access-http.d.ts +6 -5
  15. package/dist/access-http.js +22 -22
  16. package/dist/access-identity-continuity-surface.d.ts +5 -4
  17. package/dist/access-identity-continuity-surface.js +16 -16
  18. package/dist/access-lcm-surface.d.ts +6 -5
  19. package/dist/access-lcm-surface.js +16 -16
  20. package/dist/access-mcp.d.ts +6 -5
  21. package/dist/access-mcp.js +20 -20
  22. package/dist/access-namespace-preflight.js +16 -16
  23. package/dist/access-observe-write-surface.d.ts +6 -5
  24. package/dist/access-observe-write-surface.js +16 -16
  25. package/dist/access-offline-manifest.d.ts +5 -4
  26. package/dist/access-operations-batch.js +17 -17
  27. package/dist/access-operations.d.ts +9 -8
  28. package/dist/access-operations.js +19 -19
  29. package/dist/access-recall-concurrency.d.ts +6 -5
  30. package/dist/access-recall-concurrency.js +16 -16
  31. package/dist/access-recall-response.d.ts +6 -5
  32. package/dist/access-recall-response.js +16 -16
  33. package/dist/access-recall-surface.d.ts +6 -5
  34. package/dist/access-recall-surface.js +16 -16
  35. package/dist/access-schema.d.ts +88 -88
  36. package/dist/{access-service-BY0KJ44c.d.ts → access-service-Cbk3bNbD.d.ts} +3 -3
  37. package/dist/access-service-helpers.d.ts +6 -5
  38. package/dist/access-service.d.ts +6 -5
  39. package/dist/access-service.js +16 -16
  40. package/dist/access-surface-catalog.d.ts +6 -5
  41. package/dist/access-wearables-meetings-surface.d.ts +2 -2
  42. package/dist/bootstrap.d.ts +5 -4
  43. package/dist/briefing.d.ts +1 -1
  44. package/dist/briefing.js +7 -7
  45. package/dist/buffer.d.ts +1 -1
  46. package/dist/{capsule-merge-XMFBXVDP.js → capsule-merge-HCJJMLPS.js} +4 -4
  47. package/dist/causal-consolidation.js +8 -8
  48. package/dist/{chunk-PWN32TAG.js → chunk-2ASAS3CQ.js} +2 -2
  49. package/dist/{chunk-WQM326GS.js → chunk-2LY6GIIE.js} +2 -2
  50. package/dist/{chunk-JL43BVDE.js → chunk-2OIQDTDC.js} +2 -2
  51. package/dist/{chunk-33SV3E43.js → chunk-3OY7KXHM.js} +3 -3
  52. package/dist/{chunk-AIUBBHSF.js → chunk-5UZ6UCOZ.js} +3 -3
  53. package/dist/chunk-5WITETWU.js +591 -0
  54. package/dist/chunk-5WITETWU.js.map +1 -0
  55. package/dist/{chunk-UT5BV5OG.js → chunk-7HXZJAID.js} +2 -2
  56. package/dist/{chunk-M7BXDKPR.js → chunk-7M6NYQWB.js} +3 -3
  57. package/dist/{chunk-TPTECFWR.js → chunk-B6LZ4IBH.js} +3 -3
  58. package/dist/{chunk-J5LLX6IL.js → chunk-BF6SXNQJ.js} +10 -10
  59. package/dist/{chunk-4PC4PRJE.js → chunk-BKIFTXHR.js} +2 -2
  60. package/dist/{chunk-VVG2BOKA.js → chunk-BMEYMKWX.js} +2 -2
  61. package/dist/{chunk-DCZBSE4F.js → chunk-D5YOZ66N.js} +18 -18
  62. package/dist/{chunk-BHXYAVUM.js → chunk-DLG5V6ND.js} +2 -2
  63. package/dist/{chunk-52UKFTUK.js → chunk-F4EU6VUC.js} +2 -2
  64. package/dist/{chunk-M4A44LUA.js → chunk-GSTIBXBW.js} +2 -2
  65. package/dist/{chunk-W5XVQFLM.js → chunk-GXFSQ6SD.js} +2 -2
  66. package/dist/{chunk-XADV5IZ3.js → chunk-HDIUYMSB.js} +5 -5
  67. package/dist/{chunk-FXTYIA46.js → chunk-J272WKX2.js} +2 -2
  68. package/dist/{chunk-ENTCVTQR.js → chunk-JJRVPWFY.js} +11 -1
  69. package/dist/chunk-JJRVPWFY.js.map +1 -0
  70. package/dist/{chunk-JYL3BVVZ.js → chunk-JSEJH2YQ.js} +2 -2
  71. package/dist/{chunk-5UDMFE3Q.js → chunk-MLXZD4WM.js} +2 -2
  72. package/dist/{chunk-PUSLMZBQ.js → chunk-NOEMGE56.js} +2 -2
  73. package/dist/{chunk-C5QLI33R.js → chunk-QINJITDS.js} +2 -2
  74. package/dist/{chunk-45BRYON6.js → chunk-QPOHMO6M.js} +2 -2
  75. package/dist/{chunk-ZQOCRIGA.js → chunk-QYN5PXDZ.js} +3 -3
  76. package/dist/{chunk-PA45XCUD.js → chunk-RANKJI5T.js} +2 -2
  77. package/dist/{chunk-ZHY5TMJG.js → chunk-RMHMUUBW.js} +2392 -628
  78. package/dist/chunk-RMHMUUBW.js.map +1 -0
  79. package/dist/{chunk-37ZO6LLJ.js → chunk-RYLEDKQ2.js} +2 -2
  80. package/dist/{chunk-CV6BBVYV.js → chunk-TEMSWHQD.js} +2 -2
  81. package/dist/{chunk-QGR6OVGT.js → chunk-VFSAWRMZ.js} +2 -2
  82. package/dist/{chunk-NLK2VZYZ.js → chunk-VXCNQYTC.js} +2 -2
  83. package/dist/{chunk-AZ2QBGYB.js → chunk-W7Y5JDVB.js} +1 -1
  84. package/dist/{chunk-VBHPOWBJ.js → chunk-WD5B5AIE.js} +1051 -591
  85. package/dist/chunk-WD5B5AIE.js.map +1 -0
  86. package/dist/{chunk-OYESWJ43.js → chunk-WLRD2TXF.js} +15 -10
  87. package/dist/chunk-WLRD2TXF.js.map +1 -0
  88. package/dist/{chunk-4F6X3RXW.js → chunk-X57M2Q4I.js} +2 -2
  89. package/dist/{chunk-6MTSFX7A.js → chunk-X7XEDOSL.js} +8 -8
  90. package/dist/{chunk-UEVLYVNW.js → chunk-YXKVLYXU.js} +2 -2
  91. package/dist/{chunk-OQAL6SIR.js → chunk-ZMSZVISA.js} +2 -2
  92. package/dist/{cli-CnOkH9hA.d.ts → cli-DMAFI0qt.d.ts} +3 -3
  93. package/dist/cli.d.ts +7 -6
  94. package/dist/cli.js +33 -33
  95. package/dist/compounding/engine.d.ts +1 -1
  96. package/dist/compounding/engine.js +7 -7
  97. package/dist/connectors/codex-materialize-runner.js +7 -7
  98. package/dist/connectors/index.js +7 -7
  99. package/dist/consolidation-provenance-check.d.ts +1 -1
  100. package/dist/consolidation-provenance-check.js +4 -4
  101. package/dist/consolidation-undo.d.ts +1 -1
  102. package/dist/consolidation-undo.js +3 -3
  103. package/dist/contradiction/index.d.ts +1 -1
  104. package/dist/convergence-refresh.d.ts +1 -1
  105. package/dist/convergence-refresh.js +9 -9
  106. package/dist/corpus-watermark.js +9 -9
  107. package/dist/dependency-propagation-delivery-D63r24pH.d.ts +41 -0
  108. package/dist/entity-retrieval.d.ts +1 -1
  109. package/dist/entity-retrieval.js +7 -7
  110. package/dist/explicit-capture.d.ts +5 -4
  111. package/dist/explicit-capture.js +4 -4
  112. package/dist/external-wiki-access.d.ts +6 -5
  113. package/dist/external-wiki-access.js +17 -17
  114. package/dist/external-wiki-mcp-tools.d.ts +6 -5
  115. package/dist/extraction.js +7 -7
  116. package/dist/{forget-UJDJHG6R.js → forget-HDS4N6CG.js} +3 -3
  117. package/dist/harmonic-retrieval.js +1 -1
  118. package/dist/index.d.ts +687 -686
  119. package/dist/index.js +39 -39
  120. package/dist/maintenance/memory-governance.js +7 -7
  121. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +1 -1
  122. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
  123. package/dist/maintenance/rebuild-memory-projection.d.ts +1 -1
  124. package/dist/maintenance/rebuild-memory-projection.js +8 -8
  125. package/dist/{maintenance-CKwxpdRx.d.ts → maintenance-kBII2qUI.d.ts} +3 -2
  126. package/dist/mcp-memory-inspector-app.d.ts +6 -5
  127. package/dist/memory-worth-outcomes.d.ts +1 -1
  128. package/dist/namespaces/migrate.d.ts +1 -1
  129. package/dist/namespaces/migrate.js +8 -8
  130. package/dist/namespaces/storage.d.ts +1 -1
  131. package/dist/namespaces/storage.js +7 -7
  132. package/dist/operator-doctor-corpus.js +10 -10
  133. package/dist/operator-toolkit.d.ts +1 -1
  134. package/dist/operator-toolkit.js +15 -15
  135. package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
  136. package/dist/orchestration/maintenance.d.ts +2 -2
  137. package/dist/orchestration/maintenance.js +12 -12
  138. package/dist/{orchestrator-BshGam-o.d.ts → orchestrator-DHy5LtTy.d.ts} +20 -35
  139. package/dist/orchestrator.d.ts +5 -4
  140. package/dist/orchestrator.js +39 -39
  141. package/dist/page-versioning.js +3 -3
  142. package/dist/schemas.d.ts +138 -138
  143. package/dist/semantic-consolidation.js +8 -8
  144. package/dist/semantic-rule-promotion.js +7 -7
  145. package/dist/semantic-rule-verifier.js +7 -7
  146. package/dist/{service-BIgVM7fL.d.ts → service-PT2_z7xm.d.ts} +1 -1
  147. package/dist/shared-context/manager.d.ts +8 -8
  148. package/dist/source-agent-qualifier.js +7 -7
  149. package/dist/{storage-CVfGWqCI.d.ts → storage-BmVudhk4.d.ts} +46 -27
  150. package/dist/storage.d.ts +1 -1
  151. package/dist/storage.js +6 -6
  152. package/dist/temporal-supersession.d.ts +51 -26
  153. package/dist/temporal-supersession.js +3 -1
  154. package/dist/tier-migration.d.ts +1 -1
  155. package/dist/transfer/capsule-import.js +4 -4
  156. package/dist/transfer/types.d.ts +66 -66
  157. package/dist/verified-recall.js +7 -7
  158. package/package.json +2 -2
  159. package/src/lifecycle/tombstones.ts +30 -0
  160. package/src/orchestration/consolidation-run.ts +324 -106
  161. package/src/orchestration/contradiction-linking-coordinator.ts +237 -64
  162. package/src/orchestration/dependency-propagation-delivery.test.ts +2353 -0
  163. package/src/orchestration/dependency-propagation-delivery.ts +1143 -0
  164. package/src/orchestration/dependency-propagation-queue-state.ts +220 -0
  165. package/src/orchestration/dependency-propagation-recovery-replay.ts +237 -0
  166. package/src/orchestration/dependency-propagation-replay-reconciliation.ts +73 -0
  167. package/src/orchestration/dependency-propagation-triggers.test.ts +1069 -11
  168. package/src/orchestration/dependency-propagation.test.ts +82 -31
  169. package/src/orchestration/dependency-propagation.ts +55 -17
  170. package/src/orchestration/extraction-persist-deps.ts +2 -2
  171. package/src/orchestration/extraction-persist.ts +14 -15
  172. package/src/orchestration/extraction-queue-coordinator.ts +23 -1
  173. package/src/orchestration/extraction-shutdown.ts +29 -0
  174. package/src/orchestration/maintenance.ts +13 -7
  175. package/src/orchestration/turn-ingestion.ts +5 -1
  176. package/src/orchestrator-background-writes.test.ts +265 -1
  177. package/src/orchestrator-extraction-queue.test.ts +39 -0
  178. package/src/orchestrator.ts +59 -58
  179. package/src/storage/committed-invalidation.ts +34 -0
  180. package/src/storage/deletion-revision-store.ts +529 -0
  181. package/src/storage/supersession-audit.ts +41 -0
  182. package/src/storage/supersession-side-effects.ts +52 -25
  183. package/src/storage-contract/failure-semantics.test.ts +12 -0
  184. package/src/storage-contract/round-trip.test.ts +184 -2
  185. package/src/storage-deletion-revisions.test.ts +213 -1
  186. package/src/storage-frontmatter-cas.test.ts +141 -0
  187. package/src/storage-memory-lifecycle-ledger.test.ts +372 -0
  188. package/src/storage-replay.test.ts +149 -0
  189. package/src/storage.ts +345 -358
  190. package/src/temporal-supersession.test.ts +431 -2
  191. package/src/temporal-supersession.ts +567 -107
  192. package/src/testing/subjects/dependency-propagation.test.ts +179 -38
  193. package/dist/chunk-ENTCVTQR.js.map +0 -1
  194. package/dist/chunk-EWMTOVMY.js +0 -484
  195. package/dist/chunk-EWMTOVMY.js.map +0 -1
  196. package/dist/chunk-OYESWJ43.js.map +0 -1
  197. package/dist/chunk-VBHPOWBJ.js.map +0 -1
  198. package/dist/chunk-ZHY5TMJG.js.map +0 -1
  199. /package/dist/{capsule-merge-XMFBXVDP.js.map → capsule-merge-HCJJMLPS.js.map} +0 -0
  200. /package/dist/{chunk-PWN32TAG.js.map → chunk-2ASAS3CQ.js.map} +0 -0
  201. /package/dist/{chunk-WQM326GS.js.map → chunk-2LY6GIIE.js.map} +0 -0
  202. /package/dist/{chunk-JL43BVDE.js.map → chunk-2OIQDTDC.js.map} +0 -0
  203. /package/dist/{chunk-33SV3E43.js.map → chunk-3OY7KXHM.js.map} +0 -0
  204. /package/dist/{chunk-AIUBBHSF.js.map → chunk-5UZ6UCOZ.js.map} +0 -0
  205. /package/dist/{chunk-UT5BV5OG.js.map → chunk-7HXZJAID.js.map} +0 -0
  206. /package/dist/{chunk-M7BXDKPR.js.map → chunk-7M6NYQWB.js.map} +0 -0
  207. /package/dist/{chunk-TPTECFWR.js.map → chunk-B6LZ4IBH.js.map} +0 -0
  208. /package/dist/{chunk-J5LLX6IL.js.map → chunk-BF6SXNQJ.js.map} +0 -0
  209. /package/dist/{chunk-4PC4PRJE.js.map → chunk-BKIFTXHR.js.map} +0 -0
  210. /package/dist/{chunk-VVG2BOKA.js.map → chunk-BMEYMKWX.js.map} +0 -0
  211. /package/dist/{chunk-DCZBSE4F.js.map → chunk-D5YOZ66N.js.map} +0 -0
  212. /package/dist/{chunk-BHXYAVUM.js.map → chunk-DLG5V6ND.js.map} +0 -0
  213. /package/dist/{chunk-52UKFTUK.js.map → chunk-F4EU6VUC.js.map} +0 -0
  214. /package/dist/{chunk-M4A44LUA.js.map → chunk-GSTIBXBW.js.map} +0 -0
  215. /package/dist/{chunk-W5XVQFLM.js.map → chunk-GXFSQ6SD.js.map} +0 -0
  216. /package/dist/{chunk-XADV5IZ3.js.map → chunk-HDIUYMSB.js.map} +0 -0
  217. /package/dist/{chunk-FXTYIA46.js.map → chunk-J272WKX2.js.map} +0 -0
  218. /package/dist/{chunk-JYL3BVVZ.js.map → chunk-JSEJH2YQ.js.map} +0 -0
  219. /package/dist/{chunk-5UDMFE3Q.js.map → chunk-MLXZD4WM.js.map} +0 -0
  220. /package/dist/{chunk-PUSLMZBQ.js.map → chunk-NOEMGE56.js.map} +0 -0
  221. /package/dist/{chunk-C5QLI33R.js.map → chunk-QINJITDS.js.map} +0 -0
  222. /package/dist/{chunk-45BRYON6.js.map → chunk-QPOHMO6M.js.map} +0 -0
  223. /package/dist/{chunk-ZQOCRIGA.js.map → chunk-QYN5PXDZ.js.map} +0 -0
  224. /package/dist/{chunk-PA45XCUD.js.map → chunk-RANKJI5T.js.map} +0 -0
  225. /package/dist/{chunk-37ZO6LLJ.js.map → chunk-RYLEDKQ2.js.map} +0 -0
  226. /package/dist/{chunk-CV6BBVYV.js.map → chunk-TEMSWHQD.js.map} +0 -0
  227. /package/dist/{chunk-QGR6OVGT.js.map → chunk-VFSAWRMZ.js.map} +0 -0
  228. /package/dist/{chunk-NLK2VZYZ.js.map → chunk-VXCNQYTC.js.map} +0 -0
  229. /package/dist/{chunk-AZ2QBGYB.js.map → chunk-W7Y5JDVB.js.map} +0 -0
  230. /package/dist/{chunk-4F6X3RXW.js.map → chunk-X57M2Q4I.js.map} +0 -0
  231. /package/dist/{chunk-6MTSFX7A.js.map → chunk-X7XEDOSL.js.map} +0 -0
  232. /package/dist/{chunk-UEVLYVNW.js.map → chunk-YXKVLYXU.js.map} +0 -0
  233. /package/dist/{chunk-OQAL6SIR.js.map → chunk-ZMSZVISA.js.map} +0 -0
  234. /package/dist/{forget-UJDJHG6R.js.map → forget-HDS4N6CG.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-BshGam-o.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DHy5LtTy.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-CVfGWqCI.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-CVfGWqCI.js';
17
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-BmVudhk4.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-BmVudhk4.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 { bz as ActivityExtractionMode, aJ 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-BY0KJ44c.js';
33
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-BY0KJ44c.js';
32
+ import { f as EngramAccessService } from './access-service-Cbk3bNbD.js';
33
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-Cbk3bNbD.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';
@@ -92,11 +92,11 @@ export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
92
92
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
93
93
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
94
94
  export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-D21Rs6gW.js';
95
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-CnOkH9hA.js';
96
- 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-BIgVM7fL.js';
97
- 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-BIgVM7fL.js';
98
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-CKwxpdRx.js';
99
- 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-CKwxpdRx.js';
95
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-DMAFI0qt.js';
96
+ 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-PT2_z7xm.js';
97
+ 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-PT2_z7xm.js';
98
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-kBII2qUI.js';
99
+ 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-kBII2qUI.js';
100
100
  import { SearchExecutionOptions } from './search/port.js';
101
101
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
102
102
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -162,6 +162,7 @@ import './conversation-index/chunker.js';
162
162
  import './conversation-index/backend.js';
163
163
  import './faiss-adapter-BHecI1fF.js';
164
164
  import './runtime/child-process.js';
165
+ import './dependency-propagation-delivery-D63r24pH.js';
165
166
  import './namespaces/storage.js';
166
167
  import './threading.js';
167
168
  import './graph-444E-DrF.js';
@@ -892,15 +893,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
892
893
  locator: z.ZodOptional<z.ZodString>;
893
894
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
894
895
  }, "strict", z.ZodTypeAny, {
895
- id: string;
896
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
896
897
  label: string;
897
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
898
+ id: string;
898
899
  capture: "at_action" | "historical_lookup" | "fixture";
899
900
  locator?: string | undefined;
900
901
  }, {
901
- id: string;
902
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
902
903
  label: string;
903
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
904
+ id: string;
904
905
  capture: "at_action" | "historical_lookup" | "fixture";
905
906
  locator?: string | undefined;
906
907
  }>;
@@ -917,15 +918,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
917
918
  locator: z.ZodOptional<z.ZodString>;
918
919
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
919
920
  }, "strict", z.ZodTypeAny, {
920
- id: string;
921
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
921
922
  label: string;
922
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
923
+ id: string;
923
924
  capture: "at_action" | "historical_lookup" | "fixture";
924
925
  locator?: string | undefined;
925
926
  }, {
926
- id: string;
927
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
927
928
  label: string;
928
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
929
+ id: string;
929
930
  capture: "at_action" | "historical_lookup" | "fixture";
930
931
  locator?: string | undefined;
931
932
  }>, "many">>;
@@ -933,9 +934,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
933
934
  kind: "mission_started";
934
935
  title: string;
935
936
  evidence: {
936
- id: string;
937
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
937
938
  label: string;
938
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
939
+ id: string;
939
940
  capture: "at_action" | "historical_lookup" | "fixture";
940
941
  locator?: string | undefined;
941
942
  }[];
@@ -947,9 +948,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
947
948
  objective: string;
948
949
  runMode: "replay" | "fixture" | "live";
949
950
  evidence?: {
950
- id: string;
951
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
951
952
  label: string;
952
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
953
+ id: string;
953
954
  capture: "at_action" | "historical_lookup" | "fixture";
954
955
  locator?: string | undefined;
955
956
  }[] | undefined;
@@ -965,15 +966,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
965
966
  locator: z.ZodOptional<z.ZodString>;
966
967
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
967
968
  }, "strict", z.ZodTypeAny, {
968
- id: string;
969
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
969
970
  label: string;
970
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
971
+ id: string;
971
972
  capture: "at_action" | "historical_lookup" | "fixture";
972
973
  locator?: string | undefined;
973
974
  }, {
974
- id: string;
975
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
975
976
  label: string;
976
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
977
+ id: string;
977
978
  capture: "at_action" | "historical_lookup" | "fixture";
978
979
  locator?: string | undefined;
979
980
  }>, "many">>;
@@ -981,32 +982,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
981
982
  sessionId: z.ZodString;
982
983
  kind: z.ZodLiteral<"agent_status">;
983
984
  }, "strict", z.ZodTypeAny, {
984
- label: string;
985
- status: "failed" | "blocked" | "working" | "complete" | "idle";
986
985
  kind: "agent_status";
986
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
987
+ label: string;
987
988
  role: string;
988
989
  agentId: string;
989
990
  sessionId: string;
990
991
  evidence: {
991
- id: string;
992
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
992
993
  label: string;
993
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
994
+ id: string;
994
995
  capture: "at_action" | "historical_lookup" | "fixture";
995
996
  locator?: string | undefined;
996
997
  }[];
997
998
  detail?: string | undefined;
998
999
  }, {
999
- label: string;
1000
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1001
1000
  kind: "agent_status";
1001
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1002
+ label: string;
1002
1003
  role: string;
1003
1004
  agentId: string;
1004
1005
  sessionId: string;
1005
1006
  detail?: string | undefined;
1006
1007
  evidence?: {
1007
- id: string;
1008
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1008
1009
  label: string;
1009
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1010
+ id: string;
1010
1011
  capture: "at_action" | "historical_lookup" | "fixture";
1011
1012
  locator?: string | undefined;
1012
1013
  }[] | undefined;
@@ -1020,15 +1021,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1020
1021
  locator: z.ZodOptional<z.ZodString>;
1021
1022
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1022
1023
  }, "strict", z.ZodTypeAny, {
1023
- id: string;
1024
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1024
1025
  label: string;
1025
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1026
+ id: string;
1026
1027
  capture: "at_action" | "historical_lookup" | "fixture";
1027
1028
  locator?: string | undefined;
1028
1029
  }, {
1029
- id: string;
1030
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1030
1031
  label: string;
1031
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1032
+ id: string;
1032
1033
  capture: "at_action" | "historical_lookup" | "fixture";
1033
1034
  locator?: string | undefined;
1034
1035
  }>, "many">>;
@@ -1036,28 +1037,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1036
1037
  sessionId: z.ZodString;
1037
1038
  kind: z.ZodLiteral<"agent_output">;
1038
1039
  }, "strict", z.ZodTypeAny, {
1039
- summary: string;
1040
1040
  kind: "agent_output";
1041
+ summary: string;
1041
1042
  agentId: string;
1042
1043
  sessionId: string;
1043
1044
  evidence: {
1044
- id: string;
1045
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1045
1046
  label: string;
1046
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1047
+ id: string;
1047
1048
  capture: "at_action" | "historical_lookup" | "fixture";
1048
1049
  locator?: string | undefined;
1049
1050
  }[];
1050
1051
  outputId: string;
1051
1052
  }, {
1052
- summary: string;
1053
1053
  kind: "agent_output";
1054
+ summary: string;
1054
1055
  agentId: string;
1055
1056
  sessionId: string;
1056
1057
  outputId: string;
1057
1058
  evidence?: {
1058
- id: string;
1059
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1059
1060
  label: string;
1060
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1061
+ id: string;
1061
1062
  capture: "at_action" | "historical_lookup" | "fixture";
1062
1063
  locator?: string | undefined;
1063
1064
  }[] | undefined;
@@ -1073,15 +1074,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1073
1074
  locator: z.ZodOptional<z.ZodString>;
1074
1075
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1075
1076
  }, "strict", z.ZodTypeAny, {
1076
- id: string;
1077
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1077
1078
  label: string;
1078
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1079
+ id: string;
1079
1080
  capture: "at_action" | "historical_lookup" | "fixture";
1080
1081
  locator?: string | undefined;
1081
1082
  }, {
1082
- id: string;
1083
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1083
1084
  label: string;
1084
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1085
+ id: string;
1085
1086
  capture: "at_action" | "historical_lookup" | "fixture";
1086
1087
  locator?: string | undefined;
1087
1088
  }>, "many">>;
@@ -1094,9 +1095,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1094
1095
  statement: string;
1095
1096
  sessionId: string;
1096
1097
  evidence: {
1097
- id: string;
1098
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1098
1099
  label: string;
1099
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1100
+ id: string;
1100
1101
  capture: "at_action" | "historical_lookup" | "fixture";
1101
1102
  locator?: string | undefined;
1102
1103
  }[];
@@ -1112,9 +1113,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1112
1113
  decisionId: string;
1113
1114
  confidence?: number | undefined;
1114
1115
  evidence?: {
1115
- id: string;
1116
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1116
1117
  label: string;
1117
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1118
+ id: string;
1118
1119
  capture: "at_action" | "historical_lookup" | "fixture";
1119
1120
  locator?: string | undefined;
1120
1121
  }[] | undefined;
@@ -1131,25 +1132,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1131
1132
  locator: z.ZodOptional<z.ZodString>;
1132
1133
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1133
1134
  }, "strict", z.ZodTypeAny, {
1134
- id: string;
1135
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1135
1136
  label: string;
1136
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1137
+ id: string;
1137
1138
  capture: "at_action" | "historical_lookup" | "fixture";
1138
1139
  locator?: string | undefined;
1139
1140
  }, {
1140
- id: string;
1141
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1141
1142
  label: string;
1142
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1143
+ id: string;
1143
1144
  capture: "at_action" | "historical_lookup" | "fixture";
1144
1145
  locator?: string | undefined;
1145
1146
  }>, "many">>;
1146
1147
  }, "strict", z.ZodTypeAny, {
1147
- summary: string;
1148
1148
  kind: "conflict_detected";
1149
+ summary: string;
1149
1150
  evidence: {
1150
- id: string;
1151
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1151
1152
  label: string;
1152
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1153
+ id: string;
1153
1154
  capture: "at_action" | "historical_lookup" | "fixture";
1154
1155
  locator?: string | undefined;
1155
1156
  }[];
@@ -1157,15 +1158,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1157
1158
  decisionIds: string[];
1158
1159
  agentIds: string[];
1159
1160
  }, {
1160
- summary: string;
1161
1161
  kind: "conflict_detected";
1162
+ summary: string;
1162
1163
  conflictId: string;
1163
1164
  decisionIds: string[];
1164
1165
  agentIds: string[];
1165
1166
  evidence?: {
1166
- id: string;
1167
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1167
1168
  label: string;
1168
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1169
+ id: string;
1169
1170
  capture: "at_action" | "historical_lookup" | "fixture";
1170
1171
  locator?: string | undefined;
1171
1172
  }[] | undefined;
@@ -1185,27 +1186,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1185
1186
  locator: z.ZodOptional<z.ZodString>;
1186
1187
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1187
1188
  }, "strict", z.ZodTypeAny, {
1188
- id: string;
1189
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1189
1190
  label: string;
1190
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1191
+ id: string;
1191
1192
  capture: "at_action" | "historical_lookup" | "fixture";
1192
1193
  locator?: string | undefined;
1193
1194
  }, {
1194
- id: string;
1195
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1195
1196
  label: string;
1196
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1197
+ id: string;
1197
1198
  capture: "at_action" | "historical_lookup" | "fixture";
1198
1199
  locator?: string | undefined;
1199
1200
  }>, "many">>;
1200
1201
  }, "strict", z.ZodTypeAny, {
1202
+ kind: "test_result";
1201
1203
  summary: string;
1202
1204
  status: "error" | "failed" | "passed";
1203
- kind: "test_result";
1204
1205
  command: string;
1205
1206
  evidence: {
1206
- id: string;
1207
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1207
1208
  label: string;
1208
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1209
+ id: string;
1209
1210
  capture: "at_action" | "historical_lookup" | "fixture";
1210
1211
  locator?: string | undefined;
1211
1212
  }[];
@@ -1214,17 +1215,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1214
1215
  durationMs?: number | undefined;
1215
1216
  correctionId?: string | undefined;
1216
1217
  }, {
1218
+ kind: "test_result";
1217
1219
  summary: string;
1218
1220
  status: "error" | "failed" | "passed";
1219
- kind: "test_result";
1220
1221
  command: string;
1221
1222
  decisionId: string;
1222
1223
  testId: string;
1223
1224
  durationMs?: number | undefined;
1224
1225
  evidence?: {
1225
- id: string;
1226
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1226
1227
  label: string;
1227
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1228
+ id: string;
1228
1229
  capture: "at_action" | "historical_lookup" | "fixture";
1229
1230
  locator?: string | undefined;
1230
1231
  }[] | undefined;
@@ -1245,15 +1246,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1245
1246
  locator: z.ZodOptional<z.ZodString>;
1246
1247
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1247
1248
  }, "strict", z.ZodTypeAny, {
1248
- id: string;
1249
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1250
  label: string;
1250
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1251
+ id: string;
1251
1252
  capture: "at_action" | "historical_lookup" | "fixture";
1252
1253
  locator?: string | undefined;
1253
1254
  }, {
1254
- id: string;
1255
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1255
1256
  label: string;
1256
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1257
+ id: string;
1257
1258
  capture: "at_action" | "historical_lookup" | "fixture";
1258
1259
  locator?: string | undefined;
1259
1260
  }>, "many">>;
@@ -1262,9 +1263,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1262
1263
  rationale: string;
1263
1264
  statement: string;
1264
1265
  evidence: {
1265
- id: string;
1266
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1267
  label: string;
1267
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1268
+ id: string;
1268
1269
  capture: "at_action" | "historical_lookup" | "fixture";
1269
1270
  locator?: string | undefined;
1270
1271
  }[];
@@ -1283,9 +1284,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1283
1284
  supersedesDecisionIds: string[];
1284
1285
  proposedBy: string;
1285
1286
  evidence?: {
1286
- id: string;
1287
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1287
1288
  label: string;
1288
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1289
+ id: string;
1289
1290
  capture: "at_action" | "historical_lookup" | "fixture";
1290
1291
  locator?: string | undefined;
1291
1292
  }[] | undefined;
@@ -1297,13 +1298,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1297
1298
  id: z.ZodString;
1298
1299
  label: z.ZodString;
1299
1300
  }, "strict", z.ZodTypeAny, {
1300
- id: string;
1301
- label: string;
1302
1301
  kind: "agent" | "human";
1303
- }, {
1304
- id: string;
1305
1302
  label: string;
1303
+ id: string;
1304
+ }, {
1306
1305
  kind: "agent" | "human";
1306
+ label: string;
1307
+ id: string;
1307
1308
  }>;
1308
1309
  note: z.ZodOptional<z.ZodString>;
1309
1310
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1313,47 +1314,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1313
1314
  locator: z.ZodOptional<z.ZodString>;
1314
1315
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1315
1316
  }, "strict", z.ZodTypeAny, {
1316
- id: string;
1317
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1317
1318
  label: string;
1318
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1319
+ id: string;
1319
1320
  capture: "at_action" | "historical_lookup" | "fixture";
1320
1321
  locator?: string | undefined;
1321
1322
  }, {
1322
- id: string;
1323
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1323
1324
  label: string;
1324
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1325
+ id: string;
1325
1326
  capture: "at_action" | "historical_lookup" | "fixture";
1326
1327
  locator?: string | undefined;
1327
1328
  }>, "many">>;
1328
1329
  }, "strict", z.ZodTypeAny, {
1329
1330
  kind: "correction_approved";
1330
1331
  evidence: {
1331
- id: string;
1332
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1332
1333
  label: string;
1333
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1334
+ id: string;
1334
1335
  capture: "at_action" | "historical_lookup" | "fixture";
1335
1336
  locator?: string | undefined;
1336
1337
  }[];
1337
1338
  correctionId: string;
1338
1339
  approvedBy: {
1339
- id: string;
1340
- label: string;
1341
1340
  kind: "agent" | "human";
1341
+ label: string;
1342
+ id: string;
1342
1343
  };
1343
1344
  note?: string | undefined;
1344
1345
  }, {
1345
1346
  kind: "correction_approved";
1346
1347
  correctionId: string;
1347
1348
  approvedBy: {
1348
- id: string;
1349
- label: string;
1350
1349
  kind: "agent" | "human";
1350
+ label: string;
1351
+ id: string;
1351
1352
  };
1352
1353
  note?: string | undefined;
1353
1354
  evidence?: {
1354
- id: string;
1355
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1355
1356
  label: string;
1356
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1357
+ id: string;
1357
1358
  capture: "at_action" | "historical_lookup" | "fixture";
1358
1359
  locator?: string | undefined;
1359
1360
  }[] | undefined;
@@ -1369,24 +1370,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1369
1370
  locator: z.ZodOptional<z.ZodString>;
1370
1371
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1371
1372
  }, "strict", z.ZodTypeAny, {
1372
- id: string;
1373
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1373
1374
  label: string;
1374
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1375
+ id: string;
1375
1376
  capture: "at_action" | "historical_lookup" | "fixture";
1376
1377
  locator?: string | undefined;
1377
1378
  }, {
1378
- id: string;
1379
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1379
1380
  label: string;
1380
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1381
+ id: string;
1381
1382
  capture: "at_action" | "historical_lookup" | "fixture";
1382
1383
  locator?: string | undefined;
1383
1384
  }>, "many">>;
1384
1385
  }, "strict", z.ZodTypeAny, {
1385
1386
  kind: "decision_superseded";
1386
1387
  evidence: {
1387
- id: string;
1388
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1388
1389
  label: string;
1389
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1390
+ id: string;
1390
1391
  capture: "at_action" | "historical_lookup" | "fixture";
1391
1392
  locator?: string | undefined;
1392
1393
  }[];
@@ -1399,9 +1400,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1399
1400
  correctionId: string;
1400
1401
  replacementDecisionId: string;
1401
1402
  evidence?: {
1402
- id: string;
1403
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1403
1404
  label: string;
1404
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1405
+ id: string;
1405
1406
  capture: "at_action" | "historical_lookup" | "fixture";
1406
1407
  locator?: string | undefined;
1407
1408
  }[] | undefined;
@@ -1417,15 +1418,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1417
1418
  locator: z.ZodOptional<z.ZodString>;
1418
1419
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1419
1420
  }, "strict", z.ZodTypeAny, {
1420
- id: string;
1421
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1421
1422
  label: string;
1422
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1423
+ id: string;
1423
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1424
1425
  locator?: string | undefined;
1425
1426
  }, {
1426
- id: string;
1427
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1427
1428
  label: string;
1428
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1429
+ id: string;
1429
1430
  capture: "at_action" | "historical_lookup" | "fixture";
1430
1431
  locator?: string | undefined;
1431
1432
  }>, "many">>;
@@ -1438,9 +1439,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1438
1439
  agentId: string;
1439
1440
  sessionId: string;
1440
1441
  evidence: {
1441
- id: string;
1442
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1442
1443
  label: string;
1443
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1444
+ id: string;
1444
1445
  capture: "at_action" | "historical_lookup" | "fixture";
1445
1446
  locator?: string | undefined;
1446
1447
  }[];
@@ -1456,9 +1457,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1456
1457
  recallReceiptId: string;
1457
1458
  capturedAtAction: boolean;
1458
1459
  evidence?: {
1459
- id: string;
1460
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1461
  label: string;
1461
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1462
+ id: string;
1462
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1463
1464
  locator?: string | undefined;
1464
1465
  }[] | undefined;
@@ -1474,15 +1475,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1474
1475
  locator: z.ZodOptional<z.ZodString>;
1475
1476
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1476
1477
  }, "strict", z.ZodTypeAny, {
1477
- id: string;
1478
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1478
1479
  label: string;
1479
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1480
+ id: string;
1480
1481
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1482
  locator?: string | undefined;
1482
1483
  }, {
1483
- id: string;
1484
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1484
1485
  label: string;
1485
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1486
+ id: string;
1486
1487
  capture: "at_action" | "historical_lookup" | "fixture";
1487
1488
  locator?: string | undefined;
1488
1489
  }>, "many">>;
@@ -1494,9 +1495,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1494
1495
  agentId: string;
1495
1496
  sessionId: string;
1496
1497
  evidence: {
1497
- id: string;
1498
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1498
1499
  label: string;
1499
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1500
+ id: string;
1500
1501
  capture: "at_action" | "historical_lookup" | "fixture";
1501
1502
  locator?: string | undefined;
1502
1503
  }[];
@@ -1513,9 +1514,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1513
1514
  recallReceiptId: string;
1514
1515
  staleDecisionAbsent: boolean;
1515
1516
  evidence?: {
1516
- id: string;
1517
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1517
1518
  label: string;
1518
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1519
+ id: string;
1519
1520
  capture: "at_action" | "historical_lookup" | "fixture";
1520
1521
  locator?: string | undefined;
1521
1522
  }[] | undefined;
@@ -1530,37 +1531,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1530
1531
  locator: z.ZodOptional<z.ZodString>;
1531
1532
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1532
1533
  }, "strict", z.ZodTypeAny, {
1533
- id: string;
1534
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1535
  label: string;
1535
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1536
+ id: string;
1536
1537
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1538
  locator?: string | undefined;
1538
1539
  }, {
1539
- id: string;
1540
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1541
  label: string;
1541
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1542
+ id: string;
1542
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1544
  locator?: string | undefined;
1544
1545
  }>, "many">>;
1545
1546
  }, "strict", z.ZodTypeAny, {
1546
- summary: string;
1547
1547
  kind: "mission_completed";
1548
+ summary: string;
1548
1549
  outcome: "failed" | "recovered" | "inconclusive";
1549
1550
  evidence: {
1550
- id: string;
1551
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1551
1552
  label: string;
1552
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1553
+ id: string;
1553
1554
  capture: "at_action" | "historical_lookup" | "fixture";
1554
1555
  locator?: string | undefined;
1555
1556
  }[];
1556
1557
  }, {
1557
- summary: string;
1558
1558
  kind: "mission_completed";
1559
+ summary: string;
1559
1560
  outcome: "failed" | "recovered" | "inconclusive";
1560
1561
  evidence?: {
1561
- id: string;
1562
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1562
1563
  label: string;
1563
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1564
+ id: string;
1564
1565
  capture: "at_action" | "historical_lookup" | "fixture";
1565
1566
  locator?: string | undefined;
1566
1567
  }[] | undefined;
@@ -1568,38 +1569,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1568
1569
  kind: "mission_started";
1569
1570
  title: string;
1570
1571
  evidence: {
1571
- id: string;
1572
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1572
1573
  label: string;
1573
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1574
+ id: string;
1574
1575
  capture: "at_action" | "historical_lookup" | "fixture";
1575
1576
  locator?: string | undefined;
1576
1577
  }[];
1577
1578
  objective: string;
1578
1579
  runMode: "replay" | "fixture" | "live";
1579
1580
  } | {
1580
- label: string;
1581
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1582
1581
  kind: "agent_status";
1582
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1583
+ label: string;
1583
1584
  role: string;
1584
1585
  agentId: string;
1585
1586
  sessionId: string;
1586
1587
  evidence: {
1587
- id: string;
1588
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1589
  label: string;
1589
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1590
+ id: string;
1590
1591
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1592
  locator?: string | undefined;
1592
1593
  }[];
1593
1594
  detail?: string | undefined;
1594
1595
  } | {
1595
- summary: string;
1596
1596
  kind: "agent_output";
1597
+ summary: string;
1597
1598
  agentId: string;
1598
1599
  sessionId: string;
1599
1600
  evidence: {
1600
- id: string;
1601
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1601
1602
  label: string;
1602
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1603
+ id: string;
1603
1604
  capture: "at_action" | "historical_lookup" | "fixture";
1604
1605
  locator?: string | undefined;
1605
1606
  }[];
@@ -1610,9 +1611,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1610
1611
  statement: string;
1611
1612
  sessionId: string;
1612
1613
  evidence: {
1613
- id: string;
1614
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1614
1615
  label: string;
1615
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1616
+ id: string;
1616
1617
  capture: "at_action" | "historical_lookup" | "fixture";
1617
1618
  locator?: string | undefined;
1618
1619
  }[];
@@ -1620,12 +1621,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1620
1621
  decisionId: string;
1621
1622
  confidence?: number | undefined;
1622
1623
  } | {
1623
- summary: string;
1624
1624
  kind: "conflict_detected";
1625
+ summary: string;
1625
1626
  evidence: {
1626
- id: string;
1627
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1627
1628
  label: string;
1628
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1629
+ id: string;
1629
1630
  capture: "at_action" | "historical_lookup" | "fixture";
1630
1631
  locator?: string | undefined;
1631
1632
  }[];
@@ -1633,14 +1634,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1633
1634
  decisionIds: string[];
1634
1635
  agentIds: string[];
1635
1636
  } | {
1637
+ kind: "test_result";
1636
1638
  summary: string;
1637
1639
  status: "error" | "failed" | "passed";
1638
- kind: "test_result";
1639
1640
  command: string;
1640
1641
  evidence: {
1641
- id: string;
1642
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1642
1643
  label: string;
1643
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1644
+ id: string;
1644
1645
  capture: "at_action" | "historical_lookup" | "fixture";
1645
1646
  locator?: string | undefined;
1646
1647
  }[];
@@ -1653,9 +1654,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1653
1654
  rationale: string;
1654
1655
  statement: string;
1655
1656
  evidence: {
1656
- id: string;
1657
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1657
1658
  label: string;
1658
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1659
+ id: string;
1659
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1660
1661
  locator?: string | undefined;
1661
1662
  }[];
@@ -1667,25 +1668,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1667
1668
  } | {
1668
1669
  kind: "correction_approved";
1669
1670
  evidence: {
1670
- id: string;
1671
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1672
  label: string;
1672
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1673
+ id: string;
1673
1674
  capture: "at_action" | "historical_lookup" | "fixture";
1674
1675
  locator?: string | undefined;
1675
1676
  }[];
1676
1677
  correctionId: string;
1677
1678
  approvedBy: {
1678
- id: string;
1679
- label: string;
1680
1679
  kind: "agent" | "human";
1680
+ label: string;
1681
+ id: string;
1681
1682
  };
1682
1683
  note?: string | undefined;
1683
1684
  } | {
1684
1685
  kind: "decision_superseded";
1685
1686
  evidence: {
1686
- id: string;
1687
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1687
1688
  label: string;
1688
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1689
+ id: string;
1689
1690
  capture: "at_action" | "historical_lookup" | "fixture";
1690
1691
  locator?: string | undefined;
1691
1692
  }[];
@@ -1698,9 +1699,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1698
1699
  agentId: string;
1699
1700
  sessionId: string;
1700
1701
  evidence: {
1701
- id: string;
1702
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1702
1703
  label: string;
1703
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1704
+ id: string;
1704
1705
  capture: "at_action" | "historical_lookup" | "fixture";
1705
1706
  locator?: string | undefined;
1706
1707
  }[];
@@ -1712,9 +1713,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1712
1713
  agentId: string;
1713
1714
  sessionId: string;
1714
1715
  evidence: {
1715
- id: string;
1716
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1716
1717
  label: string;
1717
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1718
+ id: string;
1718
1719
  capture: "at_action" | "historical_lookup" | "fixture";
1719
1720
  locator?: string | undefined;
1720
1721
  }[];
@@ -1723,13 +1724,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1723
1724
  recallReceiptId: string;
1724
1725
  staleDecisionAbsent: boolean;
1725
1726
  } | {
1726
- summary: string;
1727
1727
  kind: "mission_completed";
1728
+ summary: string;
1728
1729
  outcome: "failed" | "recovered" | "inconclusive";
1729
1730
  evidence: {
1730
- id: string;
1731
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1732
  label: string;
1732
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1733
+ id: string;
1733
1734
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1735
  locator?: string | undefined;
1735
1736
  }[];
@@ -1739,37 +1740,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1739
1740
  objective: string;
1740
1741
  runMode: "replay" | "fixture" | "live";
1741
1742
  evidence?: {
1742
- id: string;
1743
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1743
1744
  label: string;
1744
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1745
+ id: string;
1745
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1746
1747
  locator?: string | undefined;
1747
1748
  }[] | undefined;
1748
1749
  } | {
1749
- label: string;
1750
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1751
1750
  kind: "agent_status";
1751
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1752
+ label: string;
1752
1753
  role: string;
1753
1754
  agentId: string;
1754
1755
  sessionId: string;
1755
1756
  detail?: string | undefined;
1756
1757
  evidence?: {
1757
- id: string;
1758
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1758
1759
  label: string;
1759
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1760
+ id: string;
1760
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1761
1762
  locator?: string | undefined;
1762
1763
  }[] | undefined;
1763
1764
  } | {
1764
- summary: string;
1765
1765
  kind: "agent_output";
1766
+ summary: string;
1766
1767
  agentId: string;
1767
1768
  sessionId: string;
1768
1769
  outputId: string;
1769
1770
  evidence?: {
1770
- id: string;
1771
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1771
1772
  label: string;
1772
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1773
+ id: string;
1773
1774
  capture: "at_action" | "historical_lookup" | "fixture";
1774
1775
  locator?: string | undefined;
1775
1776
  }[] | undefined;
@@ -1782,37 +1783,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1782
1783
  decisionId: string;
1783
1784
  confidence?: number | undefined;
1784
1785
  evidence?: {
1785
- id: string;
1786
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1786
1787
  label: string;
1787
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1788
+ id: string;
1788
1789
  capture: "at_action" | "historical_lookup" | "fixture";
1789
1790
  locator?: string | undefined;
1790
1791
  }[] | undefined;
1791
1792
  } | {
1792
- summary: string;
1793
1793
  kind: "conflict_detected";
1794
+ summary: string;
1794
1795
  conflictId: string;
1795
1796
  decisionIds: string[];
1796
1797
  agentIds: string[];
1797
1798
  evidence?: {
1798
- id: string;
1799
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1800
  label: string;
1800
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1801
+ id: string;
1801
1802
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1803
  locator?: string | undefined;
1803
1804
  }[] | undefined;
1804
1805
  } | {
1806
+ kind: "test_result";
1805
1807
  summary: string;
1806
1808
  status: "error" | "failed" | "passed";
1807
- kind: "test_result";
1808
1809
  command: string;
1809
1810
  decisionId: string;
1810
1811
  testId: string;
1811
1812
  durationMs?: number | undefined;
1812
1813
  evidence?: {
1813
- id: string;
1814
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1814
1815
  label: string;
1815
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1816
+ id: string;
1816
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1817
1818
  locator?: string | undefined;
1818
1819
  }[] | undefined;
@@ -1827,9 +1828,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1827
1828
  supersedesDecisionIds: string[];
1828
1829
  proposedBy: string;
1829
1830
  evidence?: {
1830
- id: string;
1831
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1832
  label: string;
1832
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1833
+ id: string;
1833
1834
  capture: "at_action" | "historical_lookup" | "fixture";
1834
1835
  locator?: string | undefined;
1835
1836
  }[] | undefined;
@@ -1837,15 +1838,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1837
1838
  kind: "correction_approved";
1838
1839
  correctionId: string;
1839
1840
  approvedBy: {
1840
- id: string;
1841
- label: string;
1842
1841
  kind: "agent" | "human";
1842
+ label: string;
1843
+ id: string;
1843
1844
  };
1844
1845
  note?: string | undefined;
1845
1846
  evidence?: {
1846
- id: string;
1847
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1847
1848
  label: string;
1848
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1849
+ id: string;
1849
1850
  capture: "at_action" | "historical_lookup" | "fixture";
1850
1851
  locator?: string | undefined;
1851
1852
  }[] | undefined;
@@ -1855,9 +1856,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1855
1856
  correctionId: string;
1856
1857
  replacementDecisionId: string;
1857
1858
  evidence?: {
1858
- id: string;
1859
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1859
1860
  label: string;
1860
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1861
+ id: string;
1861
1862
  capture: "at_action" | "historical_lookup" | "fixture";
1862
1863
  locator?: string | undefined;
1863
1864
  }[] | undefined;
@@ -1870,9 +1871,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1870
1871
  recallReceiptId: string;
1871
1872
  capturedAtAction: boolean;
1872
1873
  evidence?: {
1873
- id: string;
1874
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1874
1875
  label: string;
1875
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1876
+ id: string;
1876
1877
  capture: "at_action" | "historical_lookup" | "fixture";
1877
1878
  locator?: string | undefined;
1878
1879
  }[] | undefined;
@@ -1885,20 +1886,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1885
1886
  recallReceiptId: string;
1886
1887
  staleDecisionAbsent: boolean;
1887
1888
  evidence?: {
1888
- id: string;
1889
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1889
1890
  label: string;
1890
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1891
+ id: string;
1891
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1892
1893
  locator?: string | undefined;
1893
1894
  }[] | undefined;
1894
1895
  } | {
1895
- summary: string;
1896
1896
  kind: "mission_completed";
1897
+ summary: string;
1897
1898
  outcome: "failed" | "recovered" | "inconclusive";
1898
1899
  evidence?: {
1899
- id: string;
1900
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1900
1901
  label: string;
1901
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1902
+ id: string;
1902
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1903
1904
  locator?: string | undefined;
1904
1905
  }[] | undefined;
@@ -1919,15 +1920,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1919
1920
  locator: z.ZodOptional<z.ZodString>;
1920
1921
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1921
1922
  }, "strict", z.ZodTypeAny, {
1922
- id: string;
1923
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1923
1924
  label: string;
1924
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1925
+ id: string;
1925
1926
  capture: "at_action" | "historical_lookup" | "fixture";
1926
1927
  locator?: string | undefined;
1927
1928
  }, {
1928
- id: string;
1929
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1929
1930
  label: string;
1930
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1931
+ id: string;
1931
1932
  capture: "at_action" | "historical_lookup" | "fixture";
1932
1933
  locator?: string | undefined;
1933
1934
  }>, "many">>;
@@ -1935,9 +1936,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1935
1936
  kind: "mission_started";
1936
1937
  title: string;
1937
1938
  evidence: {
1938
- id: string;
1939
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1939
1940
  label: string;
1940
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1941
+ id: string;
1941
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1942
1943
  locator?: string | undefined;
1943
1944
  }[];
@@ -1949,9 +1950,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1949
1950
  objective: string;
1950
1951
  runMode: "replay" | "fixture" | "live";
1951
1952
  evidence?: {
1952
- id: string;
1953
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1954
  label: string;
1954
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1955
+ id: string;
1955
1956
  capture: "at_action" | "historical_lookup" | "fixture";
1956
1957
  locator?: string | undefined;
1957
1958
  }[] | undefined;
@@ -1967,15 +1968,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1967
1968
  locator: z.ZodOptional<z.ZodString>;
1968
1969
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1969
1970
  }, "strict", z.ZodTypeAny, {
1970
- id: string;
1971
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1971
1972
  label: string;
1972
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1973
+ id: string;
1973
1974
  capture: "at_action" | "historical_lookup" | "fixture";
1974
1975
  locator?: string | undefined;
1975
1976
  }, {
1976
- id: string;
1977
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1977
1978
  label: string;
1978
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1979
+ id: string;
1979
1980
  capture: "at_action" | "historical_lookup" | "fixture";
1980
1981
  locator?: string | undefined;
1981
1982
  }>, "many">>;
@@ -1983,32 +1984,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1983
1984
  sessionId: z.ZodString;
1984
1985
  kind: z.ZodLiteral<"agent_status">;
1985
1986
  }, "strict", z.ZodTypeAny, {
1986
- label: string;
1987
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1988
1987
  kind: "agent_status";
1988
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1989
+ label: string;
1989
1990
  role: string;
1990
1991
  agentId: string;
1991
1992
  sessionId: string;
1992
1993
  evidence: {
1993
- id: string;
1994
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1994
1995
  label: string;
1995
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1996
+ id: string;
1996
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1997
1998
  locator?: string | undefined;
1998
1999
  }[];
1999
2000
  detail?: string | undefined;
2000
2001
  }, {
2001
- label: string;
2002
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2003
2002
  kind: "agent_status";
2003
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2004
+ label: string;
2004
2005
  role: string;
2005
2006
  agentId: string;
2006
2007
  sessionId: string;
2007
2008
  detail?: string | undefined;
2008
2009
  evidence?: {
2009
- id: string;
2010
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2011
  label: string;
2011
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2012
+ id: string;
2012
2013
  capture: "at_action" | "historical_lookup" | "fixture";
2013
2014
  locator?: string | undefined;
2014
2015
  }[] | undefined;
@@ -2022,15 +2023,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2022
2023
  locator: z.ZodOptional<z.ZodString>;
2023
2024
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2024
2025
  }, "strict", z.ZodTypeAny, {
2025
- id: string;
2026
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2026
2027
  label: string;
2027
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2028
+ id: string;
2028
2029
  capture: "at_action" | "historical_lookup" | "fixture";
2029
2030
  locator?: string | undefined;
2030
2031
  }, {
2031
- id: string;
2032
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2033
  label: string;
2033
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2034
+ id: string;
2034
2035
  capture: "at_action" | "historical_lookup" | "fixture";
2035
2036
  locator?: string | undefined;
2036
2037
  }>, "many">>;
@@ -2038,28 +2039,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2038
2039
  sessionId: z.ZodString;
2039
2040
  kind: z.ZodLiteral<"agent_output">;
2040
2041
  }, "strict", z.ZodTypeAny, {
2041
- summary: string;
2042
2042
  kind: "agent_output";
2043
+ summary: string;
2043
2044
  agentId: string;
2044
2045
  sessionId: string;
2045
2046
  evidence: {
2046
- id: string;
2047
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2048
  label: string;
2048
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2049
+ id: string;
2049
2050
  capture: "at_action" | "historical_lookup" | "fixture";
2050
2051
  locator?: string | undefined;
2051
2052
  }[];
2052
2053
  outputId: string;
2053
2054
  }, {
2054
- summary: string;
2055
2055
  kind: "agent_output";
2056
+ summary: string;
2056
2057
  agentId: string;
2057
2058
  sessionId: string;
2058
2059
  outputId: string;
2059
2060
  evidence?: {
2060
- id: string;
2061
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2062
  label: string;
2062
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2063
+ id: string;
2063
2064
  capture: "at_action" | "historical_lookup" | "fixture";
2064
2065
  locator?: string | undefined;
2065
2066
  }[] | undefined;
@@ -2075,15 +2076,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2075
2076
  locator: z.ZodOptional<z.ZodString>;
2076
2077
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2077
2078
  }, "strict", z.ZodTypeAny, {
2078
- id: string;
2079
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2079
2080
  label: string;
2080
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2081
+ id: string;
2081
2082
  capture: "at_action" | "historical_lookup" | "fixture";
2082
2083
  locator?: string | undefined;
2083
2084
  }, {
2084
- id: string;
2085
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2085
2086
  label: string;
2086
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2087
+ id: string;
2087
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2088
2089
  locator?: string | undefined;
2089
2090
  }>, "many">>;
@@ -2096,9 +2097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2096
2097
  statement: string;
2097
2098
  sessionId: string;
2098
2099
  evidence: {
2099
- id: string;
2100
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2100
2101
  label: string;
2101
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2102
+ id: string;
2102
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2103
2104
  locator?: string | undefined;
2104
2105
  }[];
@@ -2114,9 +2115,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2114
2115
  decisionId: string;
2115
2116
  confidence?: number | undefined;
2116
2117
  evidence?: {
2117
- id: string;
2118
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2118
2119
  label: string;
2119
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2120
+ id: string;
2120
2121
  capture: "at_action" | "historical_lookup" | "fixture";
2121
2122
  locator?: string | undefined;
2122
2123
  }[] | undefined;
@@ -2133,25 +2134,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2133
2134
  locator: z.ZodOptional<z.ZodString>;
2134
2135
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2135
2136
  }, "strict", z.ZodTypeAny, {
2136
- id: string;
2137
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2137
2138
  label: string;
2138
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2139
+ id: string;
2139
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2140
2141
  locator?: string | undefined;
2141
2142
  }, {
2142
- id: string;
2143
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2143
2144
  label: string;
2144
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2145
+ id: string;
2145
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2146
2147
  locator?: string | undefined;
2147
2148
  }>, "many">>;
2148
2149
  }, "strict", z.ZodTypeAny, {
2149
- summary: string;
2150
2150
  kind: "conflict_detected";
2151
+ summary: string;
2151
2152
  evidence: {
2152
- id: string;
2153
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2154
  label: string;
2154
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2155
+ id: string;
2155
2156
  capture: "at_action" | "historical_lookup" | "fixture";
2156
2157
  locator?: string | undefined;
2157
2158
  }[];
@@ -2159,15 +2160,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2159
2160
  decisionIds: string[];
2160
2161
  agentIds: string[];
2161
2162
  }, {
2162
- summary: string;
2163
2163
  kind: "conflict_detected";
2164
+ summary: string;
2164
2165
  conflictId: string;
2165
2166
  decisionIds: string[];
2166
2167
  agentIds: string[];
2167
2168
  evidence?: {
2168
- id: string;
2169
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2169
2170
  label: string;
2170
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2171
+ id: string;
2171
2172
  capture: "at_action" | "historical_lookup" | "fixture";
2172
2173
  locator?: string | undefined;
2173
2174
  }[] | undefined;
@@ -2187,27 +2188,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2187
2188
  locator: z.ZodOptional<z.ZodString>;
2188
2189
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2189
2190
  }, "strict", z.ZodTypeAny, {
2190
- id: string;
2191
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2191
2192
  label: string;
2192
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2193
+ id: string;
2193
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2194
2195
  locator?: string | undefined;
2195
2196
  }, {
2196
- id: string;
2197
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2197
2198
  label: string;
2198
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2199
+ id: string;
2199
2200
  capture: "at_action" | "historical_lookup" | "fixture";
2200
2201
  locator?: string | undefined;
2201
2202
  }>, "many">>;
2202
2203
  }, "strict", z.ZodTypeAny, {
2204
+ kind: "test_result";
2203
2205
  summary: string;
2204
2206
  status: "error" | "failed" | "passed";
2205
- kind: "test_result";
2206
2207
  command: string;
2207
2208
  evidence: {
2208
- id: string;
2209
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2209
2210
  label: string;
2210
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2211
+ id: string;
2211
2212
  capture: "at_action" | "historical_lookup" | "fixture";
2212
2213
  locator?: string | undefined;
2213
2214
  }[];
@@ -2216,17 +2217,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2216
2217
  durationMs?: number | undefined;
2217
2218
  correctionId?: string | undefined;
2218
2219
  }, {
2220
+ kind: "test_result";
2219
2221
  summary: string;
2220
2222
  status: "error" | "failed" | "passed";
2221
- kind: "test_result";
2222
2223
  command: string;
2223
2224
  decisionId: string;
2224
2225
  testId: string;
2225
2226
  durationMs?: number | undefined;
2226
2227
  evidence?: {
2227
- id: string;
2228
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2229
  label: string;
2229
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2230
+ id: string;
2230
2231
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2232
  locator?: string | undefined;
2232
2233
  }[] | undefined;
@@ -2247,15 +2248,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2247
2248
  locator: z.ZodOptional<z.ZodString>;
2248
2249
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2249
2250
  }, "strict", z.ZodTypeAny, {
2250
- id: string;
2251
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2252
  label: string;
2252
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2253
+ id: string;
2253
2254
  capture: "at_action" | "historical_lookup" | "fixture";
2254
2255
  locator?: string | undefined;
2255
2256
  }, {
2256
- id: string;
2257
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2257
2258
  label: string;
2258
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2259
+ id: string;
2259
2260
  capture: "at_action" | "historical_lookup" | "fixture";
2260
2261
  locator?: string | undefined;
2261
2262
  }>, "many">>;
@@ -2264,9 +2265,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2264
2265
  rationale: string;
2265
2266
  statement: string;
2266
2267
  evidence: {
2267
- id: string;
2268
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2269
  label: string;
2269
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2270
+ id: string;
2270
2271
  capture: "at_action" | "historical_lookup" | "fixture";
2271
2272
  locator?: string | undefined;
2272
2273
  }[];
@@ -2285,9 +2286,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2285
2286
  supersedesDecisionIds: string[];
2286
2287
  proposedBy: string;
2287
2288
  evidence?: {
2288
- id: string;
2289
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2289
2290
  label: string;
2290
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2291
+ id: string;
2291
2292
  capture: "at_action" | "historical_lookup" | "fixture";
2292
2293
  locator?: string | undefined;
2293
2294
  }[] | undefined;
@@ -2299,13 +2300,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2299
2300
  id: z.ZodString;
2300
2301
  label: z.ZodString;
2301
2302
  }, "strict", z.ZodTypeAny, {
2302
- id: string;
2303
- label: string;
2304
2303
  kind: "agent" | "human";
2305
- }, {
2306
- id: string;
2307
2304
  label: string;
2305
+ id: string;
2306
+ }, {
2308
2307
  kind: "agent" | "human";
2308
+ label: string;
2309
+ id: string;
2309
2310
  }>;
2310
2311
  note: z.ZodOptional<z.ZodString>;
2311
2312
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2315,47 +2316,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2315
2316
  locator: z.ZodOptional<z.ZodString>;
2316
2317
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2317
2318
  }, "strict", z.ZodTypeAny, {
2318
- id: string;
2319
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2319
2320
  label: string;
2320
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2321
+ id: string;
2321
2322
  capture: "at_action" | "historical_lookup" | "fixture";
2322
2323
  locator?: string | undefined;
2323
2324
  }, {
2324
- id: string;
2325
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2325
2326
  label: string;
2326
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2327
+ id: string;
2327
2328
  capture: "at_action" | "historical_lookup" | "fixture";
2328
2329
  locator?: string | undefined;
2329
2330
  }>, "many">>;
2330
2331
  }, "strict", z.ZodTypeAny, {
2331
2332
  kind: "correction_approved";
2332
2333
  evidence: {
2333
- id: string;
2334
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2334
2335
  label: string;
2335
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2336
+ id: string;
2336
2337
  capture: "at_action" | "historical_lookup" | "fixture";
2337
2338
  locator?: string | undefined;
2338
2339
  }[];
2339
2340
  correctionId: string;
2340
2341
  approvedBy: {
2341
- id: string;
2342
- label: string;
2343
2342
  kind: "agent" | "human";
2343
+ label: string;
2344
+ id: string;
2344
2345
  };
2345
2346
  note?: string | undefined;
2346
2347
  }, {
2347
2348
  kind: "correction_approved";
2348
2349
  correctionId: string;
2349
2350
  approvedBy: {
2350
- id: string;
2351
- label: string;
2352
2351
  kind: "agent" | "human";
2352
+ label: string;
2353
+ id: string;
2353
2354
  };
2354
2355
  note?: string | undefined;
2355
2356
  evidence?: {
2356
- id: string;
2357
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2357
2358
  label: string;
2358
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2359
+ id: string;
2359
2360
  capture: "at_action" | "historical_lookup" | "fixture";
2360
2361
  locator?: string | undefined;
2361
2362
  }[] | undefined;
@@ -2371,24 +2372,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2371
2372
  locator: z.ZodOptional<z.ZodString>;
2372
2373
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2373
2374
  }, "strict", z.ZodTypeAny, {
2374
- id: string;
2375
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2375
2376
  label: string;
2376
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2377
+ id: string;
2377
2378
  capture: "at_action" | "historical_lookup" | "fixture";
2378
2379
  locator?: string | undefined;
2379
2380
  }, {
2380
- id: string;
2381
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2381
2382
  label: string;
2382
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2383
+ id: string;
2383
2384
  capture: "at_action" | "historical_lookup" | "fixture";
2384
2385
  locator?: string | undefined;
2385
2386
  }>, "many">>;
2386
2387
  }, "strict", z.ZodTypeAny, {
2387
2388
  kind: "decision_superseded";
2388
2389
  evidence: {
2389
- id: string;
2390
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2390
2391
  label: string;
2391
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2392
+ id: string;
2392
2393
  capture: "at_action" | "historical_lookup" | "fixture";
2393
2394
  locator?: string | undefined;
2394
2395
  }[];
@@ -2401,9 +2402,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2401
2402
  correctionId: string;
2402
2403
  replacementDecisionId: string;
2403
2404
  evidence?: {
2404
- id: string;
2405
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2405
2406
  label: string;
2406
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2407
+ id: string;
2407
2408
  capture: "at_action" | "historical_lookup" | "fixture";
2408
2409
  locator?: string | undefined;
2409
2410
  }[] | undefined;
@@ -2419,15 +2420,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2419
2420
  locator: z.ZodOptional<z.ZodString>;
2420
2421
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2421
2422
  }, "strict", z.ZodTypeAny, {
2422
- id: string;
2423
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2423
2424
  label: string;
2424
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2425
+ id: string;
2425
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2426
2427
  locator?: string | undefined;
2427
2428
  }, {
2428
- id: string;
2429
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2429
2430
  label: string;
2430
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2431
+ id: string;
2431
2432
  capture: "at_action" | "historical_lookup" | "fixture";
2432
2433
  locator?: string | undefined;
2433
2434
  }>, "many">>;
@@ -2440,9 +2441,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2440
2441
  agentId: string;
2441
2442
  sessionId: string;
2442
2443
  evidence: {
2443
- id: string;
2444
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2444
2445
  label: string;
2445
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2446
+ id: string;
2446
2447
  capture: "at_action" | "historical_lookup" | "fixture";
2447
2448
  locator?: string | undefined;
2448
2449
  }[];
@@ -2458,9 +2459,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2458
2459
  recallReceiptId: string;
2459
2460
  capturedAtAction: boolean;
2460
2461
  evidence?: {
2461
- id: string;
2462
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2463
  label: string;
2463
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2464
+ id: string;
2464
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2465
2466
  locator?: string | undefined;
2466
2467
  }[] | undefined;
@@ -2476,15 +2477,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2476
2477
  locator: z.ZodOptional<z.ZodString>;
2477
2478
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2478
2479
  }, "strict", z.ZodTypeAny, {
2479
- id: string;
2480
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2480
2481
  label: string;
2481
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2482
+ id: string;
2482
2483
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2484
  locator?: string | undefined;
2484
2485
  }, {
2485
- id: string;
2486
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2486
2487
  label: string;
2487
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2488
+ id: string;
2488
2489
  capture: "at_action" | "historical_lookup" | "fixture";
2489
2490
  locator?: string | undefined;
2490
2491
  }>, "many">>;
@@ -2496,9 +2497,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2496
2497
  agentId: string;
2497
2498
  sessionId: string;
2498
2499
  evidence: {
2499
- id: string;
2500
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2500
2501
  label: string;
2501
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2502
+ id: string;
2502
2503
  capture: "at_action" | "historical_lookup" | "fixture";
2503
2504
  locator?: string | undefined;
2504
2505
  }[];
@@ -2515,9 +2516,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2515
2516
  recallReceiptId: string;
2516
2517
  staleDecisionAbsent: boolean;
2517
2518
  evidence?: {
2518
- id: string;
2519
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2519
2520
  label: string;
2520
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2521
+ id: string;
2521
2522
  capture: "at_action" | "historical_lookup" | "fixture";
2522
2523
  locator?: string | undefined;
2523
2524
  }[] | undefined;
@@ -2532,37 +2533,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2532
2533
  locator: z.ZodOptional<z.ZodString>;
2533
2534
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2534
2535
  }, "strict", z.ZodTypeAny, {
2535
- id: string;
2536
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2537
  label: string;
2537
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2538
+ id: string;
2538
2539
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2540
  locator?: string | undefined;
2540
2541
  }, {
2541
- id: string;
2542
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2543
  label: string;
2543
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2544
+ id: string;
2544
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2546
  locator?: string | undefined;
2546
2547
  }>, "many">>;
2547
2548
  }, "strict", z.ZodTypeAny, {
2548
- summary: string;
2549
2549
  kind: "mission_completed";
2550
+ summary: string;
2550
2551
  outcome: "failed" | "recovered" | "inconclusive";
2551
2552
  evidence: {
2552
- id: string;
2553
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2553
2554
  label: string;
2554
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2555
+ id: string;
2555
2556
  capture: "at_action" | "historical_lookup" | "fixture";
2556
2557
  locator?: string | undefined;
2557
2558
  }[];
2558
2559
  }, {
2559
- summary: string;
2560
2560
  kind: "mission_completed";
2561
+ summary: string;
2561
2562
  outcome: "failed" | "recovered" | "inconclusive";
2562
2563
  evidence?: {
2563
- id: string;
2564
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2564
2565
  label: string;
2565
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2566
+ id: string;
2566
2567
  capture: "at_action" | "historical_lookup" | "fixture";
2567
2568
  locator?: string | undefined;
2568
2569
  }[] | undefined;
@@ -2570,38 +2571,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2570
2571
  kind: "mission_started";
2571
2572
  title: string;
2572
2573
  evidence: {
2573
- id: string;
2574
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2574
2575
  label: string;
2575
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2576
+ id: string;
2576
2577
  capture: "at_action" | "historical_lookup" | "fixture";
2577
2578
  locator?: string | undefined;
2578
2579
  }[];
2579
2580
  objective: string;
2580
2581
  runMode: "replay" | "fixture" | "live";
2581
2582
  } | {
2582
- label: string;
2583
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2584
2583
  kind: "agent_status";
2584
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2585
+ label: string;
2585
2586
  role: string;
2586
2587
  agentId: string;
2587
2588
  sessionId: string;
2588
2589
  evidence: {
2589
- id: string;
2590
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2591
  label: string;
2591
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2592
+ id: string;
2592
2593
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2594
  locator?: string | undefined;
2594
2595
  }[];
2595
2596
  detail?: string | undefined;
2596
2597
  } | {
2597
- summary: string;
2598
2598
  kind: "agent_output";
2599
+ summary: string;
2599
2600
  agentId: string;
2600
2601
  sessionId: string;
2601
2602
  evidence: {
2602
- id: string;
2603
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2603
2604
  label: string;
2604
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2605
+ id: string;
2605
2606
  capture: "at_action" | "historical_lookup" | "fixture";
2606
2607
  locator?: string | undefined;
2607
2608
  }[];
@@ -2612,9 +2613,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2612
2613
  statement: string;
2613
2614
  sessionId: string;
2614
2615
  evidence: {
2615
- id: string;
2616
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2616
2617
  label: string;
2617
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2618
+ id: string;
2618
2619
  capture: "at_action" | "historical_lookup" | "fixture";
2619
2620
  locator?: string | undefined;
2620
2621
  }[];
@@ -2622,12 +2623,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2622
2623
  decisionId: string;
2623
2624
  confidence?: number | undefined;
2624
2625
  } | {
2625
- summary: string;
2626
2626
  kind: "conflict_detected";
2627
+ summary: string;
2627
2628
  evidence: {
2628
- id: string;
2629
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2629
2630
  label: string;
2630
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2631
+ id: string;
2631
2632
  capture: "at_action" | "historical_lookup" | "fixture";
2632
2633
  locator?: string | undefined;
2633
2634
  }[];
@@ -2635,14 +2636,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2635
2636
  decisionIds: string[];
2636
2637
  agentIds: string[];
2637
2638
  } | {
2639
+ kind: "test_result";
2638
2640
  summary: string;
2639
2641
  status: "error" | "failed" | "passed";
2640
- kind: "test_result";
2641
2642
  command: string;
2642
2643
  evidence: {
2643
- id: string;
2644
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2644
2645
  label: string;
2645
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2646
+ id: string;
2646
2647
  capture: "at_action" | "historical_lookup" | "fixture";
2647
2648
  locator?: string | undefined;
2648
2649
  }[];
@@ -2655,9 +2656,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2655
2656
  rationale: string;
2656
2657
  statement: string;
2657
2658
  evidence: {
2658
- id: string;
2659
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2659
2660
  label: string;
2660
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2661
+ id: string;
2661
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2662
2663
  locator?: string | undefined;
2663
2664
  }[];
@@ -2669,25 +2670,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2669
2670
  } | {
2670
2671
  kind: "correction_approved";
2671
2672
  evidence: {
2672
- id: string;
2673
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2674
  label: string;
2674
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2675
+ id: string;
2675
2676
  capture: "at_action" | "historical_lookup" | "fixture";
2676
2677
  locator?: string | undefined;
2677
2678
  }[];
2678
2679
  correctionId: string;
2679
2680
  approvedBy: {
2680
- id: string;
2681
- label: string;
2682
2681
  kind: "agent" | "human";
2682
+ label: string;
2683
+ id: string;
2683
2684
  };
2684
2685
  note?: string | undefined;
2685
2686
  } | {
2686
2687
  kind: "decision_superseded";
2687
2688
  evidence: {
2688
- id: string;
2689
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2689
2690
  label: string;
2690
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2691
+ id: string;
2691
2692
  capture: "at_action" | "historical_lookup" | "fixture";
2692
2693
  locator?: string | undefined;
2693
2694
  }[];
@@ -2700,9 +2701,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2700
2701
  agentId: string;
2701
2702
  sessionId: string;
2702
2703
  evidence: {
2703
- id: string;
2704
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2704
2705
  label: string;
2705
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2706
+ id: string;
2706
2707
  capture: "at_action" | "historical_lookup" | "fixture";
2707
2708
  locator?: string | undefined;
2708
2709
  }[];
@@ -2714,9 +2715,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2714
2715
  agentId: string;
2715
2716
  sessionId: string;
2716
2717
  evidence: {
2717
- id: string;
2718
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2718
2719
  label: string;
2719
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2720
+ id: string;
2720
2721
  capture: "at_action" | "historical_lookup" | "fixture";
2721
2722
  locator?: string | undefined;
2722
2723
  }[];
@@ -2725,13 +2726,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2725
2726
  recallReceiptId: string;
2726
2727
  staleDecisionAbsent: boolean;
2727
2728
  } | {
2728
- summary: string;
2729
2729
  kind: "mission_completed";
2730
+ summary: string;
2730
2731
  outcome: "failed" | "recovered" | "inconclusive";
2731
2732
  evidence: {
2732
- id: string;
2733
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2734
  label: string;
2734
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2735
+ id: string;
2735
2736
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2737
  locator?: string | undefined;
2737
2738
  }[];
@@ -2741,37 +2742,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2741
2742
  objective: string;
2742
2743
  runMode: "replay" | "fixture" | "live";
2743
2744
  evidence?: {
2744
- id: string;
2745
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2745
2746
  label: string;
2746
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2747
+ id: string;
2747
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2748
2749
  locator?: string | undefined;
2749
2750
  }[] | undefined;
2750
2751
  } | {
2751
- label: string;
2752
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2753
2752
  kind: "agent_status";
2753
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2754
+ label: string;
2754
2755
  role: string;
2755
2756
  agentId: string;
2756
2757
  sessionId: string;
2757
2758
  detail?: string | undefined;
2758
2759
  evidence?: {
2759
- id: string;
2760
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2760
2761
  label: string;
2761
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2762
+ id: string;
2762
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2763
2764
  locator?: string | undefined;
2764
2765
  }[] | undefined;
2765
2766
  } | {
2766
- summary: string;
2767
2767
  kind: "agent_output";
2768
+ summary: string;
2768
2769
  agentId: string;
2769
2770
  sessionId: string;
2770
2771
  outputId: string;
2771
2772
  evidence?: {
2772
- id: string;
2773
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2773
2774
  label: string;
2774
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2775
+ id: string;
2775
2776
  capture: "at_action" | "historical_lookup" | "fixture";
2776
2777
  locator?: string | undefined;
2777
2778
  }[] | undefined;
@@ -2784,37 +2785,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2784
2785
  decisionId: string;
2785
2786
  confidence?: number | undefined;
2786
2787
  evidence?: {
2787
- id: string;
2788
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2788
2789
  label: string;
2789
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2790
+ id: string;
2790
2791
  capture: "at_action" | "historical_lookup" | "fixture";
2791
2792
  locator?: string | undefined;
2792
2793
  }[] | undefined;
2793
2794
  } | {
2794
- summary: string;
2795
2795
  kind: "conflict_detected";
2796
+ summary: string;
2796
2797
  conflictId: string;
2797
2798
  decisionIds: string[];
2798
2799
  agentIds: string[];
2799
2800
  evidence?: {
2800
- id: string;
2801
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2802
  label: string;
2802
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2803
+ id: string;
2803
2804
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2805
  locator?: string | undefined;
2805
2806
  }[] | undefined;
2806
2807
  } | {
2808
+ kind: "test_result";
2807
2809
  summary: string;
2808
2810
  status: "error" | "failed" | "passed";
2809
- kind: "test_result";
2810
2811
  command: string;
2811
2812
  decisionId: string;
2812
2813
  testId: string;
2813
2814
  durationMs?: number | undefined;
2814
2815
  evidence?: {
2815
- id: string;
2816
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2816
2817
  label: string;
2817
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2818
+ id: string;
2818
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2819
2820
  locator?: string | undefined;
2820
2821
  }[] | undefined;
@@ -2829,9 +2830,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2829
2830
  supersedesDecisionIds: string[];
2830
2831
  proposedBy: string;
2831
2832
  evidence?: {
2832
- id: string;
2833
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2834
  label: string;
2834
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2835
+ id: string;
2835
2836
  capture: "at_action" | "historical_lookup" | "fixture";
2836
2837
  locator?: string | undefined;
2837
2838
  }[] | undefined;
@@ -2839,15 +2840,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2839
2840
  kind: "correction_approved";
2840
2841
  correctionId: string;
2841
2842
  approvedBy: {
2842
- id: string;
2843
- label: string;
2844
2843
  kind: "agent" | "human";
2844
+ label: string;
2845
+ id: string;
2845
2846
  };
2846
2847
  note?: string | undefined;
2847
2848
  evidence?: {
2848
- id: string;
2849
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2849
2850
  label: string;
2850
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2851
+ id: string;
2851
2852
  capture: "at_action" | "historical_lookup" | "fixture";
2852
2853
  locator?: string | undefined;
2853
2854
  }[] | undefined;
@@ -2857,9 +2858,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2857
2858
  correctionId: string;
2858
2859
  replacementDecisionId: string;
2859
2860
  evidence?: {
2860
- id: string;
2861
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2861
2862
  label: string;
2862
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2863
+ id: string;
2863
2864
  capture: "at_action" | "historical_lookup" | "fixture";
2864
2865
  locator?: string | undefined;
2865
2866
  }[] | undefined;
@@ -2872,9 +2873,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2872
2873
  recallReceiptId: string;
2873
2874
  capturedAtAction: boolean;
2874
2875
  evidence?: {
2875
- id: string;
2876
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2877
  label: string;
2877
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2878
+ id: string;
2878
2879
  capture: "at_action" | "historical_lookup" | "fixture";
2879
2880
  locator?: string | undefined;
2880
2881
  }[] | undefined;
@@ -2887,20 +2888,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2887
2888
  recallReceiptId: string;
2888
2889
  staleDecisionAbsent: boolean;
2889
2890
  evidence?: {
2890
- id: string;
2891
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2891
2892
  label: string;
2892
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2893
+ id: string;
2893
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2894
2895
  locator?: string | undefined;
2895
2896
  }[] | undefined;
2896
2897
  } | {
2897
- summary: string;
2898
2898
  kind: "mission_completed";
2899
+ summary: string;
2899
2900
  outcome: "failed" | "recovered" | "inconclusive";
2900
2901
  evidence?: {
2901
- id: string;
2902
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2902
2903
  label: string;
2903
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2904
+ id: string;
2904
2905
  capture: "at_action" | "historical_lookup" | "fixture";
2905
2906
  locator?: string | undefined;
2906
2907
  }[] | undefined;
@@ -2910,38 +2911,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2910
2911
  kind: "mission_started";
2911
2912
  title: string;
2912
2913
  evidence: {
2913
- id: string;
2914
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2914
2915
  label: string;
2915
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2916
+ id: string;
2916
2917
  capture: "at_action" | "historical_lookup" | "fixture";
2917
2918
  locator?: string | undefined;
2918
2919
  }[];
2919
2920
  objective: string;
2920
2921
  runMode: "replay" | "fixture" | "live";
2921
2922
  } | {
2922
- label: string;
2923
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2924
2923
  kind: "agent_status";
2924
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2925
+ label: string;
2925
2926
  role: string;
2926
2927
  agentId: string;
2927
2928
  sessionId: string;
2928
2929
  evidence: {
2929
- id: string;
2930
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2930
2931
  label: string;
2931
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2932
+ id: string;
2932
2933
  capture: "at_action" | "historical_lookup" | "fixture";
2933
2934
  locator?: string | undefined;
2934
2935
  }[];
2935
2936
  detail?: string | undefined;
2936
2937
  } | {
2937
- summary: string;
2938
2938
  kind: "agent_output";
2939
+ summary: string;
2939
2940
  agentId: string;
2940
2941
  sessionId: string;
2941
2942
  evidence: {
2942
- id: string;
2943
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2943
2944
  label: string;
2944
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2945
+ id: string;
2945
2946
  capture: "at_action" | "historical_lookup" | "fixture";
2946
2947
  locator?: string | undefined;
2947
2948
  }[];
@@ -2952,9 +2953,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2952
2953
  statement: string;
2953
2954
  sessionId: string;
2954
2955
  evidence: {
2955
- id: string;
2956
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2956
2957
  label: string;
2957
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2958
+ id: string;
2958
2959
  capture: "at_action" | "historical_lookup" | "fixture";
2959
2960
  locator?: string | undefined;
2960
2961
  }[];
@@ -2962,12 +2963,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2962
2963
  decisionId: string;
2963
2964
  confidence?: number | undefined;
2964
2965
  } | {
2965
- summary: string;
2966
2966
  kind: "conflict_detected";
2967
+ summary: string;
2967
2968
  evidence: {
2968
- id: string;
2969
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2969
2970
  label: string;
2970
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2971
+ id: string;
2971
2972
  capture: "at_action" | "historical_lookup" | "fixture";
2972
2973
  locator?: string | undefined;
2973
2974
  }[];
@@ -2975,14 +2976,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2975
2976
  decisionIds: string[];
2976
2977
  agentIds: string[];
2977
2978
  } | {
2979
+ kind: "test_result";
2978
2980
  summary: string;
2979
2981
  status: "error" | "failed" | "passed";
2980
- kind: "test_result";
2981
2982
  command: string;
2982
2983
  evidence: {
2983
- id: string;
2984
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2984
2985
  label: string;
2985
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2986
+ id: string;
2986
2987
  capture: "at_action" | "historical_lookup" | "fixture";
2987
2988
  locator?: string | undefined;
2988
2989
  }[];
@@ -2995,9 +2996,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2995
2996
  rationale: string;
2996
2997
  statement: string;
2997
2998
  evidence: {
2998
- id: string;
2999
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2999
3000
  label: string;
3000
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3001
+ id: string;
3001
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3002
3003
  locator?: string | undefined;
3003
3004
  }[];
@@ -3009,25 +3010,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3009
3010
  } | {
3010
3011
  kind: "correction_approved";
3011
3012
  evidence: {
3012
- id: string;
3013
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3013
3014
  label: string;
3014
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3015
+ id: string;
3015
3016
  capture: "at_action" | "historical_lookup" | "fixture";
3016
3017
  locator?: string | undefined;
3017
3018
  }[];
3018
3019
  correctionId: string;
3019
3020
  approvedBy: {
3020
- id: string;
3021
- label: string;
3022
3021
  kind: "agent" | "human";
3022
+ label: string;
3023
+ id: string;
3023
3024
  };
3024
3025
  note?: string | undefined;
3025
3026
  } | {
3026
3027
  kind: "decision_superseded";
3027
3028
  evidence: {
3028
- id: string;
3029
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3029
3030
  label: string;
3030
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3031
+ id: string;
3031
3032
  capture: "at_action" | "historical_lookup" | "fixture";
3032
3033
  locator?: string | undefined;
3033
3034
  }[];
@@ -3040,9 +3041,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3040
3041
  agentId: string;
3041
3042
  sessionId: string;
3042
3043
  evidence: {
3043
- id: string;
3044
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3044
3045
  label: string;
3045
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3046
+ id: string;
3046
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3047
3048
  locator?: string | undefined;
3048
3049
  }[];
@@ -3054,9 +3055,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3054
3055
  agentId: string;
3055
3056
  sessionId: string;
3056
3057
  evidence: {
3057
- id: string;
3058
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3058
3059
  label: string;
3059
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3060
+ id: string;
3060
3061
  capture: "at_action" | "historical_lookup" | "fixture";
3061
3062
  locator?: string | undefined;
3062
3063
  }[];
@@ -3065,13 +3066,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3065
3066
  recallReceiptId: string;
3066
3067
  staleDecisionAbsent: boolean;
3067
3068
  } | {
3068
- summary: string;
3069
3069
  kind: "mission_completed";
3070
+ summary: string;
3070
3071
  outcome: "failed" | "recovered" | "inconclusive";
3071
3072
  evidence: {
3072
- id: string;
3073
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3074
  label: string;
3074
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3075
+ id: string;
3075
3076
  capture: "at_action" | "historical_lookup" | "fixture";
3076
3077
  locator?: string | undefined;
3077
3078
  }[];
@@ -3085,37 +3086,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3085
3086
  objective: string;
3086
3087
  runMode: "replay" | "fixture" | "live";
3087
3088
  evidence?: {
3088
- id: string;
3089
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3089
3090
  label: string;
3090
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3091
+ id: string;
3091
3092
  capture: "at_action" | "historical_lookup" | "fixture";
3092
3093
  locator?: string | undefined;
3093
3094
  }[] | undefined;
3094
3095
  } | {
3095
- label: string;
3096
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3097
3096
  kind: "agent_status";
3097
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3098
+ label: string;
3098
3099
  role: string;
3099
3100
  agentId: string;
3100
3101
  sessionId: string;
3101
3102
  detail?: string | undefined;
3102
3103
  evidence?: {
3103
- id: string;
3104
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3104
3105
  label: string;
3105
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3106
+ id: string;
3106
3107
  capture: "at_action" | "historical_lookup" | "fixture";
3107
3108
  locator?: string | undefined;
3108
3109
  }[] | undefined;
3109
3110
  } | {
3110
- summary: string;
3111
3111
  kind: "agent_output";
3112
+ summary: string;
3112
3113
  agentId: string;
3113
3114
  sessionId: string;
3114
3115
  outputId: string;
3115
3116
  evidence?: {
3116
- id: string;
3117
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3117
3118
  label: string;
3118
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3119
+ id: string;
3119
3120
  capture: "at_action" | "historical_lookup" | "fixture";
3120
3121
  locator?: string | undefined;
3121
3122
  }[] | undefined;
@@ -3128,37 +3129,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3128
3129
  decisionId: string;
3129
3130
  confidence?: number | undefined;
3130
3131
  evidence?: {
3131
- id: string;
3132
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3132
3133
  label: string;
3133
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3134
+ id: string;
3134
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3135
3136
  locator?: string | undefined;
3136
3137
  }[] | undefined;
3137
3138
  } | {
3138
- summary: string;
3139
3139
  kind: "conflict_detected";
3140
+ summary: string;
3140
3141
  conflictId: string;
3141
3142
  decisionIds: string[];
3142
3143
  agentIds: string[];
3143
3144
  evidence?: {
3144
- id: string;
3145
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3145
3146
  label: string;
3146
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3147
+ id: string;
3147
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3148
3149
  locator?: string | undefined;
3149
3150
  }[] | undefined;
3150
3151
  } | {
3152
+ kind: "test_result";
3151
3153
  summary: string;
3152
3154
  status: "error" | "failed" | "passed";
3153
- kind: "test_result";
3154
3155
  command: string;
3155
3156
  decisionId: string;
3156
3157
  testId: string;
3157
3158
  durationMs?: number | undefined;
3158
3159
  evidence?: {
3159
- id: string;
3160
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3160
3161
  label: string;
3161
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3162
+ id: string;
3162
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3163
3164
  locator?: string | undefined;
3164
3165
  }[] | undefined;
@@ -3173,9 +3174,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3173
3174
  supersedesDecisionIds: string[];
3174
3175
  proposedBy: string;
3175
3176
  evidence?: {
3176
- id: string;
3177
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3178
  label: string;
3178
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3179
+ id: string;
3179
3180
  capture: "at_action" | "historical_lookup" | "fixture";
3180
3181
  locator?: string | undefined;
3181
3182
  }[] | undefined;
@@ -3183,15 +3184,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3183
3184
  kind: "correction_approved";
3184
3185
  correctionId: string;
3185
3186
  approvedBy: {
3186
- id: string;
3187
- label: string;
3188
3187
  kind: "agent" | "human";
3188
+ label: string;
3189
+ id: string;
3189
3190
  };
3190
3191
  note?: string | undefined;
3191
3192
  evidence?: {
3192
- id: string;
3193
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3193
3194
  label: string;
3194
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3195
+ id: string;
3195
3196
  capture: "at_action" | "historical_lookup" | "fixture";
3196
3197
  locator?: string | undefined;
3197
3198
  }[] | undefined;
@@ -3201,9 +3202,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3201
3202
  correctionId: string;
3202
3203
  replacementDecisionId: string;
3203
3204
  evidence?: {
3204
- id: string;
3205
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3205
3206
  label: string;
3206
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3207
+ id: string;
3207
3208
  capture: "at_action" | "historical_lookup" | "fixture";
3208
3209
  locator?: string | undefined;
3209
3210
  }[] | undefined;
@@ -3216,9 +3217,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3216
3217
  recallReceiptId: string;
3217
3218
  capturedAtAction: boolean;
3218
3219
  evidence?: {
3219
- id: string;
3220
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3220
3221
  label: string;
3221
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3222
+ id: string;
3222
3223
  capture: "at_action" | "historical_lookup" | "fixture";
3223
3224
  locator?: string | undefined;
3224
3225
  }[] | undefined;
@@ -3231,20 +3232,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3231
3232
  recallReceiptId: string;
3232
3233
  staleDecisionAbsent: boolean;
3233
3234
  evidence?: {
3234
- id: string;
3235
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3235
3236
  label: string;
3236
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3237
+ id: string;
3237
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3238
3239
  locator?: string | undefined;
3239
3240
  }[] | undefined;
3240
3241
  } | {
3241
- summary: string;
3242
3242
  kind: "mission_completed";
3243
+ summary: string;
3243
3244
  outcome: "failed" | "recovered" | "inconclusive";
3244
3245
  evidence?: {
3245
- id: string;
3246
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3246
3247
  label: string;
3247
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3248
+ id: string;
3248
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3249
3250
  locator?: string | undefined;
3250
3251
  }[] | undefined;
@@ -3274,15 +3275,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3274
3275
  locator: z.ZodOptional<z.ZodString>;
3275
3276
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3276
3277
  }, "strict", z.ZodTypeAny, {
3277
- id: string;
3278
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3278
3279
  label: string;
3279
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3280
+ id: string;
3280
3281
  capture: "at_action" | "historical_lookup" | "fixture";
3281
3282
  locator?: string | undefined;
3282
3283
  }, {
3283
- id: string;
3284
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3284
3285
  label: string;
3285
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3286
+ id: string;
3286
3287
  capture: "at_action" | "historical_lookup" | "fixture";
3287
3288
  locator?: string | undefined;
3288
3289
  }>, "many">>;
@@ -3290,9 +3291,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3290
3291
  kind: "mission_started";
3291
3292
  title: string;
3292
3293
  evidence: {
3293
- id: string;
3294
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3294
3295
  label: string;
3295
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3296
+ id: string;
3296
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3297
3298
  locator?: string | undefined;
3298
3299
  }[];
@@ -3304,9 +3305,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3304
3305
  objective: string;
3305
3306
  runMode: "replay" | "fixture" | "live";
3306
3307
  evidence?: {
3307
- id: string;
3308
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3309
  label: string;
3309
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3310
+ id: string;
3310
3311
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3312
  locator?: string | undefined;
3312
3313
  }[] | undefined;
@@ -3322,15 +3323,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3322
3323
  locator: z.ZodOptional<z.ZodString>;
3323
3324
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3324
3325
  }, "strict", z.ZodTypeAny, {
3325
- id: string;
3326
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3326
3327
  label: string;
3327
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3328
+ id: string;
3328
3329
  capture: "at_action" | "historical_lookup" | "fixture";
3329
3330
  locator?: string | undefined;
3330
3331
  }, {
3331
- id: string;
3332
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3332
3333
  label: string;
3333
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3334
+ id: string;
3334
3335
  capture: "at_action" | "historical_lookup" | "fixture";
3335
3336
  locator?: string | undefined;
3336
3337
  }>, "many">>;
@@ -3338,32 +3339,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3338
3339
  sessionId: z.ZodString;
3339
3340
  kind: z.ZodLiteral<"agent_status">;
3340
3341
  }, "strict", z.ZodTypeAny, {
3341
- label: string;
3342
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3343
3342
  kind: "agent_status";
3343
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3344
+ label: string;
3344
3345
  role: string;
3345
3346
  agentId: string;
3346
3347
  sessionId: string;
3347
3348
  evidence: {
3348
- id: string;
3349
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3349
3350
  label: string;
3350
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3351
+ id: string;
3351
3352
  capture: "at_action" | "historical_lookup" | "fixture";
3352
3353
  locator?: string | undefined;
3353
3354
  }[];
3354
3355
  detail?: string | undefined;
3355
3356
  }, {
3356
- label: string;
3357
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3358
3357
  kind: "agent_status";
3358
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3359
+ label: string;
3359
3360
  role: string;
3360
3361
  agentId: string;
3361
3362
  sessionId: string;
3362
3363
  detail?: string | undefined;
3363
3364
  evidence?: {
3364
- id: string;
3365
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3365
3366
  label: string;
3366
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3367
+ id: string;
3367
3368
  capture: "at_action" | "historical_lookup" | "fixture";
3368
3369
  locator?: string | undefined;
3369
3370
  }[] | undefined;
@@ -3377,15 +3378,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3377
3378
  locator: z.ZodOptional<z.ZodString>;
3378
3379
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3379
3380
  }, "strict", z.ZodTypeAny, {
3380
- id: string;
3381
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3381
3382
  label: string;
3382
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3383
+ id: string;
3383
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3384
3385
  locator?: string | undefined;
3385
3386
  }, {
3386
- id: string;
3387
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3388
  label: string;
3388
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3389
+ id: string;
3389
3390
  capture: "at_action" | "historical_lookup" | "fixture";
3390
3391
  locator?: string | undefined;
3391
3392
  }>, "many">>;
@@ -3393,28 +3394,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3393
3394
  sessionId: z.ZodString;
3394
3395
  kind: z.ZodLiteral<"agent_output">;
3395
3396
  }, "strict", z.ZodTypeAny, {
3396
- summary: string;
3397
3397
  kind: "agent_output";
3398
+ summary: string;
3398
3399
  agentId: string;
3399
3400
  sessionId: string;
3400
3401
  evidence: {
3401
- id: string;
3402
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3402
3403
  label: string;
3403
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3404
+ id: string;
3404
3405
  capture: "at_action" | "historical_lookup" | "fixture";
3405
3406
  locator?: string | undefined;
3406
3407
  }[];
3407
3408
  outputId: string;
3408
3409
  }, {
3409
- summary: string;
3410
3410
  kind: "agent_output";
3411
+ summary: string;
3411
3412
  agentId: string;
3412
3413
  sessionId: string;
3413
3414
  outputId: string;
3414
3415
  evidence?: {
3415
- id: string;
3416
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3417
  label: string;
3417
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3418
+ id: string;
3418
3419
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3420
  locator?: string | undefined;
3420
3421
  }[] | undefined;
@@ -3430,15 +3431,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3430
3431
  locator: z.ZodOptional<z.ZodString>;
3431
3432
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3432
3433
  }, "strict", z.ZodTypeAny, {
3433
- id: string;
3434
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3434
3435
  label: string;
3435
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3436
+ id: string;
3436
3437
  capture: "at_action" | "historical_lookup" | "fixture";
3437
3438
  locator?: string | undefined;
3438
3439
  }, {
3439
- id: string;
3440
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3440
3441
  label: string;
3441
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3442
+ id: string;
3442
3443
  capture: "at_action" | "historical_lookup" | "fixture";
3443
3444
  locator?: string | undefined;
3444
3445
  }>, "many">>;
@@ -3451,9 +3452,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3451
3452
  statement: string;
3452
3453
  sessionId: string;
3453
3454
  evidence: {
3454
- id: string;
3455
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3455
3456
  label: string;
3456
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3457
+ id: string;
3457
3458
  capture: "at_action" | "historical_lookup" | "fixture";
3458
3459
  locator?: string | undefined;
3459
3460
  }[];
@@ -3469,9 +3470,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3469
3470
  decisionId: string;
3470
3471
  confidence?: number | undefined;
3471
3472
  evidence?: {
3472
- id: string;
3473
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3473
3474
  label: string;
3474
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3475
+ id: string;
3475
3476
  capture: "at_action" | "historical_lookup" | "fixture";
3476
3477
  locator?: string | undefined;
3477
3478
  }[] | undefined;
@@ -3488,25 +3489,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3488
3489
  locator: z.ZodOptional<z.ZodString>;
3489
3490
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3490
3491
  }, "strict", z.ZodTypeAny, {
3491
- id: string;
3492
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3493
  label: string;
3493
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3494
+ id: string;
3494
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3495
3496
  locator?: string | undefined;
3496
3497
  }, {
3497
- id: string;
3498
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3498
3499
  label: string;
3499
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3500
+ id: string;
3500
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3501
3502
  locator?: string | undefined;
3502
3503
  }>, "many">>;
3503
3504
  }, "strict", z.ZodTypeAny, {
3504
- summary: string;
3505
3505
  kind: "conflict_detected";
3506
+ summary: string;
3506
3507
  evidence: {
3507
- id: string;
3508
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3508
3509
  label: string;
3509
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3510
+ id: string;
3510
3511
  capture: "at_action" | "historical_lookup" | "fixture";
3511
3512
  locator?: string | undefined;
3512
3513
  }[];
@@ -3514,15 +3515,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3514
3515
  decisionIds: string[];
3515
3516
  agentIds: string[];
3516
3517
  }, {
3517
- summary: string;
3518
3518
  kind: "conflict_detected";
3519
+ summary: string;
3519
3520
  conflictId: string;
3520
3521
  decisionIds: string[];
3521
3522
  agentIds: string[];
3522
3523
  evidence?: {
3523
- id: string;
3524
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3524
3525
  label: string;
3525
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3526
+ id: string;
3526
3527
  capture: "at_action" | "historical_lookup" | "fixture";
3527
3528
  locator?: string | undefined;
3528
3529
  }[] | undefined;
@@ -3542,27 +3543,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3542
3543
  locator: z.ZodOptional<z.ZodString>;
3543
3544
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3544
3545
  }, "strict", z.ZodTypeAny, {
3545
- id: string;
3546
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3546
3547
  label: string;
3547
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3548
+ id: string;
3548
3549
  capture: "at_action" | "historical_lookup" | "fixture";
3549
3550
  locator?: string | undefined;
3550
3551
  }, {
3551
- id: string;
3552
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3552
3553
  label: string;
3553
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3554
+ id: string;
3554
3555
  capture: "at_action" | "historical_lookup" | "fixture";
3555
3556
  locator?: string | undefined;
3556
3557
  }>, "many">>;
3557
3558
  }, "strict", z.ZodTypeAny, {
3559
+ kind: "test_result";
3558
3560
  summary: string;
3559
3561
  status: "error" | "failed" | "passed";
3560
- kind: "test_result";
3561
3562
  command: string;
3562
3563
  evidence: {
3563
- id: string;
3564
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3564
3565
  label: string;
3565
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3566
+ id: string;
3566
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3567
3568
  locator?: string | undefined;
3568
3569
  }[];
@@ -3571,17 +3572,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3571
3572
  durationMs?: number | undefined;
3572
3573
  correctionId?: string | undefined;
3573
3574
  }, {
3575
+ kind: "test_result";
3574
3576
  summary: string;
3575
3577
  status: "error" | "failed" | "passed";
3576
- kind: "test_result";
3577
3578
  command: string;
3578
3579
  decisionId: string;
3579
3580
  testId: string;
3580
3581
  durationMs?: number | undefined;
3581
3582
  evidence?: {
3582
- id: string;
3583
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3583
3584
  label: string;
3584
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3585
+ id: string;
3585
3586
  capture: "at_action" | "historical_lookup" | "fixture";
3586
3587
  locator?: string | undefined;
3587
3588
  }[] | undefined;
@@ -3602,15 +3603,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3602
3603
  locator: z.ZodOptional<z.ZodString>;
3603
3604
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3604
3605
  }, "strict", z.ZodTypeAny, {
3605
- id: string;
3606
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3607
  label: string;
3607
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3608
+ id: string;
3608
3609
  capture: "at_action" | "historical_lookup" | "fixture";
3609
3610
  locator?: string | undefined;
3610
3611
  }, {
3611
- id: string;
3612
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3612
3613
  label: string;
3613
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3614
+ id: string;
3614
3615
  capture: "at_action" | "historical_lookup" | "fixture";
3615
3616
  locator?: string | undefined;
3616
3617
  }>, "many">>;
@@ -3619,9 +3620,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3619
3620
  rationale: string;
3620
3621
  statement: string;
3621
3622
  evidence: {
3622
- id: string;
3623
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3624
  label: string;
3624
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3625
+ id: string;
3625
3626
  capture: "at_action" | "historical_lookup" | "fixture";
3626
3627
  locator?: string | undefined;
3627
3628
  }[];
@@ -3640,9 +3641,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3640
3641
  supersedesDecisionIds: string[];
3641
3642
  proposedBy: string;
3642
3643
  evidence?: {
3643
- id: string;
3644
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3644
3645
  label: string;
3645
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3646
+ id: string;
3646
3647
  capture: "at_action" | "historical_lookup" | "fixture";
3647
3648
  locator?: string | undefined;
3648
3649
  }[] | undefined;
@@ -3654,13 +3655,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3654
3655
  id: z.ZodString;
3655
3656
  label: z.ZodString;
3656
3657
  }, "strict", z.ZodTypeAny, {
3657
- id: string;
3658
- label: string;
3659
3658
  kind: "agent" | "human";
3660
- }, {
3661
- id: string;
3662
3659
  label: string;
3660
+ id: string;
3661
+ }, {
3663
3662
  kind: "agent" | "human";
3663
+ label: string;
3664
+ id: string;
3664
3665
  }>;
3665
3666
  note: z.ZodOptional<z.ZodString>;
3666
3667
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3670,47 +3671,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3670
3671
  locator: z.ZodOptional<z.ZodString>;
3671
3672
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3672
3673
  }, "strict", z.ZodTypeAny, {
3673
- id: string;
3674
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3674
3675
  label: string;
3675
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3676
+ id: string;
3676
3677
  capture: "at_action" | "historical_lookup" | "fixture";
3677
3678
  locator?: string | undefined;
3678
3679
  }, {
3679
- id: string;
3680
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3680
3681
  label: string;
3681
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3682
+ id: string;
3682
3683
  capture: "at_action" | "historical_lookup" | "fixture";
3683
3684
  locator?: string | undefined;
3684
3685
  }>, "many">>;
3685
3686
  }, "strict", z.ZodTypeAny, {
3686
3687
  kind: "correction_approved";
3687
3688
  evidence: {
3688
- id: string;
3689
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3689
3690
  label: string;
3690
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3691
+ id: string;
3691
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3692
3693
  locator?: string | undefined;
3693
3694
  }[];
3694
3695
  correctionId: string;
3695
3696
  approvedBy: {
3696
- id: string;
3697
- label: string;
3698
3697
  kind: "agent" | "human";
3698
+ label: string;
3699
+ id: string;
3699
3700
  };
3700
3701
  note?: string | undefined;
3701
3702
  }, {
3702
3703
  kind: "correction_approved";
3703
3704
  correctionId: string;
3704
3705
  approvedBy: {
3705
- id: string;
3706
- label: string;
3707
3706
  kind: "agent" | "human";
3707
+ label: string;
3708
+ id: string;
3708
3709
  };
3709
3710
  note?: string | undefined;
3710
3711
  evidence?: {
3711
- id: string;
3712
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3712
3713
  label: string;
3713
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3714
+ id: string;
3714
3715
  capture: "at_action" | "historical_lookup" | "fixture";
3715
3716
  locator?: string | undefined;
3716
3717
  }[] | undefined;
@@ -3726,24 +3727,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3726
3727
  locator: z.ZodOptional<z.ZodString>;
3727
3728
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3728
3729
  }, "strict", z.ZodTypeAny, {
3729
- id: string;
3730
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3730
3731
  label: string;
3731
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3732
+ id: string;
3732
3733
  capture: "at_action" | "historical_lookup" | "fixture";
3733
3734
  locator?: string | undefined;
3734
3735
  }, {
3735
- id: string;
3736
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3736
3737
  label: string;
3737
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3738
+ id: string;
3738
3739
  capture: "at_action" | "historical_lookup" | "fixture";
3739
3740
  locator?: string | undefined;
3740
3741
  }>, "many">>;
3741
3742
  }, "strict", z.ZodTypeAny, {
3742
3743
  kind: "decision_superseded";
3743
3744
  evidence: {
3744
- id: string;
3745
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3745
3746
  label: string;
3746
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3747
+ id: string;
3747
3748
  capture: "at_action" | "historical_lookup" | "fixture";
3748
3749
  locator?: string | undefined;
3749
3750
  }[];
@@ -3756,9 +3757,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3756
3757
  correctionId: string;
3757
3758
  replacementDecisionId: string;
3758
3759
  evidence?: {
3759
- id: string;
3760
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3760
3761
  label: string;
3761
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3762
+ id: string;
3762
3763
  capture: "at_action" | "historical_lookup" | "fixture";
3763
3764
  locator?: string | undefined;
3764
3765
  }[] | undefined;
@@ -3774,15 +3775,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3774
3775
  locator: z.ZodOptional<z.ZodString>;
3775
3776
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3776
3777
  }, "strict", z.ZodTypeAny, {
3777
- id: string;
3778
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3778
3779
  label: string;
3779
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3780
+ id: string;
3780
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3781
3782
  locator?: string | undefined;
3782
3783
  }, {
3783
- id: string;
3784
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3784
3785
  label: string;
3785
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3786
+ id: string;
3786
3787
  capture: "at_action" | "historical_lookup" | "fixture";
3787
3788
  locator?: string | undefined;
3788
3789
  }>, "many">>;
@@ -3795,9 +3796,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3795
3796
  agentId: string;
3796
3797
  sessionId: string;
3797
3798
  evidence: {
3798
- id: string;
3799
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3799
3800
  label: string;
3800
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3801
+ id: string;
3801
3802
  capture: "at_action" | "historical_lookup" | "fixture";
3802
3803
  locator?: string | undefined;
3803
3804
  }[];
@@ -3813,9 +3814,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3813
3814
  recallReceiptId: string;
3814
3815
  capturedAtAction: boolean;
3815
3816
  evidence?: {
3816
- id: string;
3817
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3818
  label: string;
3818
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3819
+ id: string;
3819
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3820
3821
  locator?: string | undefined;
3821
3822
  }[] | undefined;
@@ -3831,15 +3832,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3831
3832
  locator: z.ZodOptional<z.ZodString>;
3832
3833
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3833
3834
  }, "strict", z.ZodTypeAny, {
3834
- id: string;
3835
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3835
3836
  label: string;
3836
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3837
+ id: string;
3837
3838
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3839
  locator?: string | undefined;
3839
3840
  }, {
3840
- id: string;
3841
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3841
3842
  label: string;
3842
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3843
+ id: string;
3843
3844
  capture: "at_action" | "historical_lookup" | "fixture";
3844
3845
  locator?: string | undefined;
3845
3846
  }>, "many">>;
@@ -3851,9 +3852,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3851
3852
  agentId: string;
3852
3853
  sessionId: string;
3853
3854
  evidence: {
3854
- id: string;
3855
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3855
3856
  label: string;
3856
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3857
+ id: string;
3857
3858
  capture: "at_action" | "historical_lookup" | "fixture";
3858
3859
  locator?: string | undefined;
3859
3860
  }[];
@@ -3870,9 +3871,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3870
3871
  recallReceiptId: string;
3871
3872
  staleDecisionAbsent: boolean;
3872
3873
  evidence?: {
3873
- id: string;
3874
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3874
3875
  label: string;
3875
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3876
+ id: string;
3876
3877
  capture: "at_action" | "historical_lookup" | "fixture";
3877
3878
  locator?: string | undefined;
3878
3879
  }[] | undefined;
@@ -3887,37 +3888,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3887
3888
  locator: z.ZodOptional<z.ZodString>;
3888
3889
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3889
3890
  }, "strict", z.ZodTypeAny, {
3890
- id: string;
3891
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3892
  label: string;
3892
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3893
+ id: string;
3893
3894
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3895
  locator?: string | undefined;
3895
3896
  }, {
3896
- id: string;
3897
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3898
  label: string;
3898
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3899
+ id: string;
3899
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3901
  locator?: string | undefined;
3901
3902
  }>, "many">>;
3902
3903
  }, "strict", z.ZodTypeAny, {
3903
- summary: string;
3904
3904
  kind: "mission_completed";
3905
+ summary: string;
3905
3906
  outcome: "failed" | "recovered" | "inconclusive";
3906
3907
  evidence: {
3907
- id: string;
3908
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3908
3909
  label: string;
3909
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3910
+ id: string;
3910
3911
  capture: "at_action" | "historical_lookup" | "fixture";
3911
3912
  locator?: string | undefined;
3912
3913
  }[];
3913
3914
  }, {
3914
- summary: string;
3915
3915
  kind: "mission_completed";
3916
+ summary: string;
3916
3917
  outcome: "failed" | "recovered" | "inconclusive";
3917
3918
  evidence?: {
3918
- id: string;
3919
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3919
3920
  label: string;
3920
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3921
+ id: string;
3921
3922
  capture: "at_action" | "historical_lookup" | "fixture";
3922
3923
  locator?: string | undefined;
3923
3924
  }[] | undefined;
@@ -3925,38 +3926,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3925
3926
  kind: "mission_started";
3926
3927
  title: string;
3927
3928
  evidence: {
3928
- id: string;
3929
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3929
3930
  label: string;
3930
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3931
+ id: string;
3931
3932
  capture: "at_action" | "historical_lookup" | "fixture";
3932
3933
  locator?: string | undefined;
3933
3934
  }[];
3934
3935
  objective: string;
3935
3936
  runMode: "replay" | "fixture" | "live";
3936
3937
  } | {
3937
- label: string;
3938
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3939
3938
  kind: "agent_status";
3939
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3940
+ label: string;
3940
3941
  role: string;
3941
3942
  agentId: string;
3942
3943
  sessionId: string;
3943
3944
  evidence: {
3944
- id: string;
3945
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3946
  label: string;
3946
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3947
+ id: string;
3947
3948
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3949
  locator?: string | undefined;
3949
3950
  }[];
3950
3951
  detail?: string | undefined;
3951
3952
  } | {
3952
- summary: string;
3953
3953
  kind: "agent_output";
3954
+ summary: string;
3954
3955
  agentId: string;
3955
3956
  sessionId: string;
3956
3957
  evidence: {
3957
- id: string;
3958
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3958
3959
  label: string;
3959
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3960
+ id: string;
3960
3961
  capture: "at_action" | "historical_lookup" | "fixture";
3961
3962
  locator?: string | undefined;
3962
3963
  }[];
@@ -3967,9 +3968,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3967
3968
  statement: string;
3968
3969
  sessionId: string;
3969
3970
  evidence: {
3970
- id: string;
3971
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3971
3972
  label: string;
3972
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3973
+ id: string;
3973
3974
  capture: "at_action" | "historical_lookup" | "fixture";
3974
3975
  locator?: string | undefined;
3975
3976
  }[];
@@ -3977,12 +3978,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3977
3978
  decisionId: string;
3978
3979
  confidence?: number | undefined;
3979
3980
  } | {
3980
- summary: string;
3981
3981
  kind: "conflict_detected";
3982
+ summary: string;
3982
3983
  evidence: {
3983
- id: string;
3984
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3984
3985
  label: string;
3985
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3986
+ id: string;
3986
3987
  capture: "at_action" | "historical_lookup" | "fixture";
3987
3988
  locator?: string | undefined;
3988
3989
  }[];
@@ -3990,14 +3991,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3990
3991
  decisionIds: string[];
3991
3992
  agentIds: string[];
3992
3993
  } | {
3994
+ kind: "test_result";
3993
3995
  summary: string;
3994
3996
  status: "error" | "failed" | "passed";
3995
- kind: "test_result";
3996
3997
  command: string;
3997
3998
  evidence: {
3998
- id: string;
3999
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3999
4000
  label: string;
4000
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4001
+ id: string;
4001
4002
  capture: "at_action" | "historical_lookup" | "fixture";
4002
4003
  locator?: string | undefined;
4003
4004
  }[];
@@ -4010,9 +4011,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4010
4011
  rationale: string;
4011
4012
  statement: string;
4012
4013
  evidence: {
4013
- id: string;
4014
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4014
4015
  label: string;
4015
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4016
+ id: string;
4016
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4017
4018
  locator?: string | undefined;
4018
4019
  }[];
@@ -4024,25 +4025,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4024
4025
  } | {
4025
4026
  kind: "correction_approved";
4026
4027
  evidence: {
4027
- id: string;
4028
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4029
  label: string;
4029
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4030
+ id: string;
4030
4031
  capture: "at_action" | "historical_lookup" | "fixture";
4031
4032
  locator?: string | undefined;
4032
4033
  }[];
4033
4034
  correctionId: string;
4034
4035
  approvedBy: {
4035
- id: string;
4036
- label: string;
4037
4036
  kind: "agent" | "human";
4037
+ label: string;
4038
+ id: string;
4038
4039
  };
4039
4040
  note?: string | undefined;
4040
4041
  } | {
4041
4042
  kind: "decision_superseded";
4042
4043
  evidence: {
4043
- id: string;
4044
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4044
4045
  label: string;
4045
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4046
+ id: string;
4046
4047
  capture: "at_action" | "historical_lookup" | "fixture";
4047
4048
  locator?: string | undefined;
4048
4049
  }[];
@@ -4055,9 +4056,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4055
4056
  agentId: string;
4056
4057
  sessionId: string;
4057
4058
  evidence: {
4058
- id: string;
4059
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4059
4060
  label: string;
4060
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4061
+ id: string;
4061
4062
  capture: "at_action" | "historical_lookup" | "fixture";
4062
4063
  locator?: string | undefined;
4063
4064
  }[];
@@ -4069,9 +4070,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4069
4070
  agentId: string;
4070
4071
  sessionId: string;
4071
4072
  evidence: {
4072
- id: string;
4073
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4073
4074
  label: string;
4074
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4075
+ id: string;
4075
4076
  capture: "at_action" | "historical_lookup" | "fixture";
4076
4077
  locator?: string | undefined;
4077
4078
  }[];
@@ -4080,13 +4081,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4080
4081
  recallReceiptId: string;
4081
4082
  staleDecisionAbsent: boolean;
4082
4083
  } | {
4083
- summary: string;
4084
4084
  kind: "mission_completed";
4085
+ summary: string;
4085
4086
  outcome: "failed" | "recovered" | "inconclusive";
4086
4087
  evidence: {
4087
- id: string;
4088
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4089
  label: string;
4089
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4090
+ id: string;
4090
4091
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4092
  locator?: string | undefined;
4092
4093
  }[];
@@ -4096,37 +4097,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4096
4097
  objective: string;
4097
4098
  runMode: "replay" | "fixture" | "live";
4098
4099
  evidence?: {
4099
- id: string;
4100
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4100
4101
  label: string;
4101
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4102
+ id: string;
4102
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4103
4104
  locator?: string | undefined;
4104
4105
  }[] | undefined;
4105
4106
  } | {
4106
- label: string;
4107
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4108
4107
  kind: "agent_status";
4108
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4109
+ label: string;
4109
4110
  role: string;
4110
4111
  agentId: string;
4111
4112
  sessionId: string;
4112
4113
  detail?: string | undefined;
4113
4114
  evidence?: {
4114
- id: string;
4115
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4115
4116
  label: string;
4116
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4117
+ id: string;
4117
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4118
4119
  locator?: string | undefined;
4119
4120
  }[] | undefined;
4120
4121
  } | {
4121
- summary: string;
4122
4122
  kind: "agent_output";
4123
+ summary: string;
4123
4124
  agentId: string;
4124
4125
  sessionId: string;
4125
4126
  outputId: string;
4126
4127
  evidence?: {
4127
- id: string;
4128
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4128
4129
  label: string;
4129
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4130
+ id: string;
4130
4131
  capture: "at_action" | "historical_lookup" | "fixture";
4131
4132
  locator?: string | undefined;
4132
4133
  }[] | undefined;
@@ -4139,37 +4140,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4139
4140
  decisionId: string;
4140
4141
  confidence?: number | undefined;
4141
4142
  evidence?: {
4142
- id: string;
4143
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4143
4144
  label: string;
4144
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4145
+ id: string;
4145
4146
  capture: "at_action" | "historical_lookup" | "fixture";
4146
4147
  locator?: string | undefined;
4147
4148
  }[] | undefined;
4148
4149
  } | {
4149
- summary: string;
4150
4150
  kind: "conflict_detected";
4151
+ summary: string;
4151
4152
  conflictId: string;
4152
4153
  decisionIds: string[];
4153
4154
  agentIds: string[];
4154
4155
  evidence?: {
4155
- id: string;
4156
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4157
  label: string;
4157
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4158
+ id: string;
4158
4159
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4160
  locator?: string | undefined;
4160
4161
  }[] | undefined;
4161
4162
  } | {
4163
+ kind: "test_result";
4162
4164
  summary: string;
4163
4165
  status: "error" | "failed" | "passed";
4164
- kind: "test_result";
4165
4166
  command: string;
4166
4167
  decisionId: string;
4167
4168
  testId: string;
4168
4169
  durationMs?: number | undefined;
4169
4170
  evidence?: {
4170
- id: string;
4171
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4171
4172
  label: string;
4172
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4173
+ id: string;
4173
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4174
4175
  locator?: string | undefined;
4175
4176
  }[] | undefined;
@@ -4184,9 +4185,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4184
4185
  supersedesDecisionIds: string[];
4185
4186
  proposedBy: string;
4186
4187
  evidence?: {
4187
- id: string;
4188
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4189
  label: string;
4189
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4190
+ id: string;
4190
4191
  capture: "at_action" | "historical_lookup" | "fixture";
4191
4192
  locator?: string | undefined;
4192
4193
  }[] | undefined;
@@ -4194,15 +4195,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4194
4195
  kind: "correction_approved";
4195
4196
  correctionId: string;
4196
4197
  approvedBy: {
4197
- id: string;
4198
- label: string;
4199
4198
  kind: "agent" | "human";
4199
+ label: string;
4200
+ id: string;
4200
4201
  };
4201
4202
  note?: string | undefined;
4202
4203
  evidence?: {
4203
- id: string;
4204
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4204
4205
  label: string;
4205
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4206
+ id: string;
4206
4207
  capture: "at_action" | "historical_lookup" | "fixture";
4207
4208
  locator?: string | undefined;
4208
4209
  }[] | undefined;
@@ -4212,9 +4213,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4212
4213
  correctionId: string;
4213
4214
  replacementDecisionId: string;
4214
4215
  evidence?: {
4215
- id: string;
4216
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4216
4217
  label: string;
4217
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4218
+ id: string;
4218
4219
  capture: "at_action" | "historical_lookup" | "fixture";
4219
4220
  locator?: string | undefined;
4220
4221
  }[] | undefined;
@@ -4227,9 +4228,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4227
4228
  recallReceiptId: string;
4228
4229
  capturedAtAction: boolean;
4229
4230
  evidence?: {
4230
- id: string;
4231
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4231
4232
  label: string;
4232
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4233
+ id: string;
4233
4234
  capture: "at_action" | "historical_lookup" | "fixture";
4234
4235
  locator?: string | undefined;
4235
4236
  }[] | undefined;
@@ -4242,64 +4243,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4242
4243
  recallReceiptId: string;
4243
4244
  staleDecisionAbsent: boolean;
4244
4245
  evidence?: {
4245
- id: string;
4246
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4246
4247
  label: string;
4247
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4248
+ id: string;
4248
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4249
4250
  locator?: string | undefined;
4250
4251
  }[] | undefined;
4251
4252
  } | {
4252
- summary: string;
4253
4253
  kind: "mission_completed";
4254
+ summary: string;
4254
4255
  outcome: "failed" | "recovered" | "inconclusive";
4255
4256
  evidence?: {
4256
- id: string;
4257
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4257
4258
  label: string;
4258
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4259
+ id: string;
4259
4260
  capture: "at_action" | "historical_lookup" | "fixture";
4260
4261
  locator?: string | undefined;
4261
4262
  }[] | undefined;
4262
4263
  }>;
4263
4264
  }, "strict", z.ZodTypeAny, {
4264
- namespace: string;
4265
- recordedAt: string;
4266
4265
  schemaVersion: "1";
4266
+ recordedAt: string;
4267
4267
  payload: {
4268
4268
  kind: "mission_started";
4269
4269
  title: string;
4270
4270
  evidence: {
4271
- id: string;
4271
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4272
  label: string;
4273
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4273
+ id: string;
4274
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4275
4275
  locator?: string | undefined;
4276
4276
  }[];
4277
4277
  objective: string;
4278
4278
  runMode: "replay" | "fixture" | "live";
4279
4279
  } | {
4280
- label: string;
4281
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4282
4280
  kind: "agent_status";
4281
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4282
+ label: string;
4283
4283
  role: string;
4284
4284
  agentId: string;
4285
4285
  sessionId: string;
4286
4286
  evidence: {
4287
- id: string;
4287
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4288
  label: string;
4289
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4289
+ id: string;
4290
4290
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4291
  locator?: string | undefined;
4292
4292
  }[];
4293
4293
  detail?: string | undefined;
4294
4294
  } | {
4295
- summary: string;
4296
4295
  kind: "agent_output";
4296
+ summary: string;
4297
4297
  agentId: string;
4298
4298
  sessionId: string;
4299
4299
  evidence: {
4300
- id: string;
4300
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4301
  label: string;
4302
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4302
+ id: string;
4303
4303
  capture: "at_action" | "historical_lookup" | "fixture";
4304
4304
  locator?: string | undefined;
4305
4305
  }[];
@@ -4310,9 +4310,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4310
  statement: string;
4311
4311
  sessionId: string;
4312
4312
  evidence: {
4313
- id: string;
4313
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4314
4314
  label: string;
4315
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4315
+ id: string;
4316
4316
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4317
  locator?: string | undefined;
4318
4318
  }[];
@@ -4320,12 +4320,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4320
4320
  decisionId: string;
4321
4321
  confidence?: number | undefined;
4322
4322
  } | {
4323
- summary: string;
4324
4323
  kind: "conflict_detected";
4324
+ summary: string;
4325
4325
  evidence: {
4326
- id: string;
4326
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4327
4327
  label: string;
4328
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4328
+ id: string;
4329
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4330
4330
  locator?: string | undefined;
4331
4331
  }[];
@@ -4333,14 +4333,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4333
4333
  decisionIds: string[];
4334
4334
  agentIds: string[];
4335
4335
  } | {
4336
+ kind: "test_result";
4336
4337
  summary: string;
4337
4338
  status: "error" | "failed" | "passed";
4338
- kind: "test_result";
4339
4339
  command: string;
4340
4340
  evidence: {
4341
- id: string;
4341
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4342
4342
  label: string;
4343
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4343
+ id: string;
4344
4344
  capture: "at_action" | "historical_lookup" | "fixture";
4345
4345
  locator?: string | undefined;
4346
4346
  }[];
@@ -4353,9 +4353,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4353
4353
  rationale: string;
4354
4354
  statement: string;
4355
4355
  evidence: {
4356
- id: string;
4356
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4357
4357
  label: string;
4358
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4358
+ id: string;
4359
4359
  capture: "at_action" | "historical_lookup" | "fixture";
4360
4360
  locator?: string | undefined;
4361
4361
  }[];
@@ -4367,25 +4367,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4367
  } | {
4368
4368
  kind: "correction_approved";
4369
4369
  evidence: {
4370
- id: string;
4370
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4371
  label: string;
4372
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4372
+ id: string;
4373
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4374
  locator?: string | undefined;
4375
4375
  }[];
4376
4376
  correctionId: string;
4377
4377
  approvedBy: {
4378
- id: string;
4379
- label: string;
4380
4378
  kind: "agent" | "human";
4379
+ label: string;
4380
+ id: string;
4381
4381
  };
4382
4382
  note?: string | undefined;
4383
4383
  } | {
4384
4384
  kind: "decision_superseded";
4385
4385
  evidence: {
4386
- id: string;
4386
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4387
4387
  label: string;
4388
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4388
+ id: string;
4389
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4390
  locator?: string | undefined;
4391
4391
  }[];
@@ -4398,9 +4398,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4398
4398
  agentId: string;
4399
4399
  sessionId: string;
4400
4400
  evidence: {
4401
- id: string;
4401
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4402
  label: string;
4403
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4403
+ id: string;
4404
4404
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4405
  locator?: string | undefined;
4406
4406
  }[];
@@ -4412,9 +4412,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4412
4412
  agentId: string;
4413
4413
  sessionId: string;
4414
4414
  evidence: {
4415
- id: string;
4415
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4416
4416
  label: string;
4417
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4417
+ id: string;
4418
4418
  capture: "at_action" | "historical_lookup" | "fixture";
4419
4419
  locator?: string | undefined;
4420
4420
  }[];
@@ -4423,63 +4423,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4423
4423
  recallReceiptId: string;
4424
4424
  staleDecisionAbsent: boolean;
4425
4425
  } | {
4426
- summary: string;
4427
4426
  kind: "mission_completed";
4427
+ summary: string;
4428
4428
  outcome: "failed" | "recovered" | "inconclusive";
4429
4429
  evidence: {
4430
- id: string;
4430
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4431
4431
  label: string;
4432
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4432
+ id: string;
4433
4433
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4434
  locator?: string | undefined;
4435
4435
  }[];
4436
4436
  };
4437
+ namespace: string;
4437
4438
  eventId: string;
4438
4439
  occurredAt: string;
4439
4440
  missionId: string;
4440
4441
  authenticatedPrincipal?: string | undefined;
4441
4442
  idempotencyKey?: string | undefined;
4442
4443
  }, {
4443
- namespace: string;
4444
- recordedAt: string;
4445
4444
  schemaVersion: "1";
4445
+ recordedAt: string;
4446
4446
  payload: {
4447
4447
  kind: "mission_started";
4448
4448
  title: string;
4449
4449
  objective: string;
4450
4450
  runMode: "replay" | "fixture" | "live";
4451
4451
  evidence?: {
4452
- id: string;
4452
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4453
4453
  label: string;
4454
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4454
+ id: string;
4455
4455
  capture: "at_action" | "historical_lookup" | "fixture";
4456
4456
  locator?: string | undefined;
4457
4457
  }[] | undefined;
4458
4458
  } | {
4459
- label: string;
4460
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4461
4459
  kind: "agent_status";
4460
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4461
+ label: string;
4462
4462
  role: string;
4463
4463
  agentId: string;
4464
4464
  sessionId: string;
4465
4465
  detail?: string | undefined;
4466
4466
  evidence?: {
4467
- id: string;
4467
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4468
4468
  label: string;
4469
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4469
+ id: string;
4470
4470
  capture: "at_action" | "historical_lookup" | "fixture";
4471
4471
  locator?: string | undefined;
4472
4472
  }[] | undefined;
4473
4473
  } | {
4474
- summary: string;
4475
4474
  kind: "agent_output";
4475
+ summary: string;
4476
4476
  agentId: string;
4477
4477
  sessionId: string;
4478
4478
  outputId: string;
4479
4479
  evidence?: {
4480
- id: string;
4480
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4481
4481
  label: string;
4482
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4482
+ id: string;
4483
4483
  capture: "at_action" | "historical_lookup" | "fixture";
4484
4484
  locator?: string | undefined;
4485
4485
  }[] | undefined;
@@ -4492,37 +4492,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4492
4492
  decisionId: string;
4493
4493
  confidence?: number | undefined;
4494
4494
  evidence?: {
4495
- id: string;
4495
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4496
4496
  label: string;
4497
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4497
+ id: string;
4498
4498
  capture: "at_action" | "historical_lookup" | "fixture";
4499
4499
  locator?: string | undefined;
4500
4500
  }[] | undefined;
4501
4501
  } | {
4502
- summary: string;
4503
4502
  kind: "conflict_detected";
4503
+ summary: string;
4504
4504
  conflictId: string;
4505
4505
  decisionIds: string[];
4506
4506
  agentIds: string[];
4507
4507
  evidence?: {
4508
- id: string;
4508
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4509
4509
  label: string;
4510
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4510
+ id: string;
4511
4511
  capture: "at_action" | "historical_lookup" | "fixture";
4512
4512
  locator?: string | undefined;
4513
4513
  }[] | undefined;
4514
4514
  } | {
4515
+ kind: "test_result";
4515
4516
  summary: string;
4516
4517
  status: "error" | "failed" | "passed";
4517
- kind: "test_result";
4518
4518
  command: string;
4519
4519
  decisionId: string;
4520
4520
  testId: string;
4521
4521
  durationMs?: number | undefined;
4522
4522
  evidence?: {
4523
- id: string;
4523
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4524
4524
  label: string;
4525
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4525
+ id: string;
4526
4526
  capture: "at_action" | "historical_lookup" | "fixture";
4527
4527
  locator?: string | undefined;
4528
4528
  }[] | undefined;
@@ -4537,9 +4537,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4537
4537
  supersedesDecisionIds: string[];
4538
4538
  proposedBy: string;
4539
4539
  evidence?: {
4540
- id: string;
4540
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4541
4541
  label: string;
4542
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4542
+ id: string;
4543
4543
  capture: "at_action" | "historical_lookup" | "fixture";
4544
4544
  locator?: string | undefined;
4545
4545
  }[] | undefined;
@@ -4547,15 +4547,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4547
4547
  kind: "correction_approved";
4548
4548
  correctionId: string;
4549
4549
  approvedBy: {
4550
- id: string;
4551
- label: string;
4552
4550
  kind: "agent" | "human";
4551
+ label: string;
4552
+ id: string;
4553
4553
  };
4554
4554
  note?: string | undefined;
4555
4555
  evidence?: {
4556
- id: string;
4556
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4557
4557
  label: string;
4558
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4558
+ id: string;
4559
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4560
4560
  locator?: string | undefined;
4561
4561
  }[] | undefined;
@@ -4565,9 +4565,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4565
4565
  correctionId: string;
4566
4566
  replacementDecisionId: string;
4567
4567
  evidence?: {
4568
- id: string;
4568
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4569
4569
  label: string;
4570
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4570
+ id: string;
4571
4571
  capture: "at_action" | "historical_lookup" | "fixture";
4572
4572
  locator?: string | undefined;
4573
4573
  }[] | undefined;
@@ -4580,9 +4580,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4580
4580
  recallReceiptId: string;
4581
4581
  capturedAtAction: boolean;
4582
4582
  evidence?: {
4583
- id: string;
4583
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4584
4584
  label: string;
4585
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4585
+ id: string;
4586
4586
  capture: "at_action" | "historical_lookup" | "fixture";
4587
4587
  locator?: string | undefined;
4588
4588
  }[] | undefined;
@@ -4595,24 +4595,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4595
4595
  recallReceiptId: string;
4596
4596
  staleDecisionAbsent: boolean;
4597
4597
  evidence?: {
4598
- id: string;
4598
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4599
4599
  label: string;
4600
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4600
+ id: string;
4601
4601
  capture: "at_action" | "historical_lookup" | "fixture";
4602
4602
  locator?: string | undefined;
4603
4603
  }[] | undefined;
4604
4604
  } | {
4605
- summary: string;
4606
4605
  kind: "mission_completed";
4606
+ summary: string;
4607
4607
  outcome: "failed" | "recovered" | "inconclusive";
4608
4608
  evidence?: {
4609
- id: string;
4609
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4610
4610
  label: string;
4611
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4611
+ id: string;
4612
4612
  capture: "at_action" | "historical_lookup" | "fixture";
4613
4613
  locator?: string | undefined;
4614
4614
  }[] | undefined;
4615
4615
  };
4616
+ namespace: string;
4616
4617
  eventId: string;
4617
4618
  occurredAt: string;
4618
4619
  missionId: string;