@remnic/core 9.25.7 → 9.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/access-admin-ops-surface.d.ts +5 -5
  2. package/dist/access-admin-ops-surface.js +41 -41
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +5 -5
  5. package/dist/access-authorization-probe.js +42 -42
  6. package/dist/access-boundary.d.ts +5 -5
  7. package/dist/access-boundary.js +41 -41
  8. package/dist/access-cli.js +98 -97
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-http-lcm-compaction.d.ts +130 -0
  11. package/dist/access-http-lcm-compaction.js +10 -0
  12. package/dist/access-http.d.ts +5 -5
  13. package/dist/access-http.js +53 -52
  14. package/dist/access-identity-continuity-surface.d.ts +4 -4
  15. package/dist/access-identity-continuity-surface.js +41 -41
  16. package/dist/access-lcm-surface.d.ts +5 -5
  17. package/dist/access-lcm-surface.js +41 -41
  18. package/dist/access-mcp.d.ts +5 -5
  19. package/dist/access-mcp.js +47 -47
  20. package/dist/access-namespace-preflight.js +41 -41
  21. package/dist/access-observe-write-surface.d.ts +5 -5
  22. package/dist/access-observe-write-surface.js +41 -41
  23. package/dist/access-operations-batch.js +43 -43
  24. package/dist/access-operations.d.ts +8 -8
  25. package/dist/access-operations.js +45 -45
  26. package/dist/access-recall-concurrency.d.ts +5 -5
  27. package/dist/access-recall-concurrency.js +41 -41
  28. package/dist/access-recall-response.d.ts +5 -5
  29. package/dist/access-recall-response.js +41 -41
  30. package/dist/access-recall-surface.d.ts +5 -5
  31. package/dist/access-recall-surface.js +41 -41
  32. package/dist/access-schema.d.ts +92 -77
  33. package/dist/access-schema.js +8 -8
  34. package/dist/{access-service-CIdWkP6J.d.ts → access-service-B4-Fu9x2.d.ts} +4 -4
  35. package/dist/access-service.d.ts +5 -5
  36. package/dist/access-service.js +41 -41
  37. package/dist/access-surface-catalog.d.ts +5 -5
  38. package/dist/access-wearables-meetings-surface.d.ts +2 -2
  39. package/dist/adapters/index.js +7 -7
  40. package/dist/adapters/registry.js +3 -3
  41. package/dist/{auto-sync-5OE5QOZB.js → auto-sync-UPTUVE4X.js} +3 -3
  42. package/dist/bootstrap.d.ts +4 -4
  43. package/dist/briefing.d.ts +1 -1
  44. package/dist/briefing.js +5 -5
  45. package/dist/buffer.d.ts +1 -1
  46. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  47. package/dist/capsule-crypto-YO5QJ6L3.js.map +1 -0
  48. package/dist/causal-behavior.js +2 -2
  49. package/dist/causal-chain.js +2 -2
  50. package/dist/causal-consolidation.js +11 -11
  51. package/dist/causal-retrieval.js +2 -2
  52. package/dist/causal-trajectory.js +1 -1
  53. package/dist/{chunk-JBPKEARU.js → chunk-2QSZNTDO.js} +7 -7
  54. package/dist/{chunk-UMFLAACL.js → chunk-2RAC4JIG.js} +9 -9
  55. package/dist/{chunk-OIE242WM.js → chunk-4MJZTF42.js} +3 -3
  56. package/dist/chunk-4Z4XNEWZ.js +86 -0
  57. package/dist/chunk-4Z4XNEWZ.js.map +1 -0
  58. package/dist/{chunk-IR4LGIH6.js → chunk-5BRT4Z2I.js} +2 -2
  59. package/dist/{chunk-2PHX3I5C.js → chunk-6NNNURLK.js} +8 -8
  60. package/dist/{chunk-BLAKS3CP.js → chunk-77CNV7DY.js} +4 -4
  61. package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
  62. package/dist/{chunk-227UFSEQ.js → chunk-7RZJWZ46.js} +5 -5
  63. package/dist/{chunk-7CPOZH6Y.js → chunk-AJ7QCSIS.js} +2 -2
  64. package/dist/{chunk-TPYZ727G.js → chunk-BHLN7L7M.js} +6 -6
  65. package/dist/{chunk-WIGBTWXA.js → chunk-BNGPHGVZ.js} +2 -2
  66. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  67. package/dist/{chunk-PS5OG75R.js → chunk-CI26JDZA.js} +2 -2
  68. package/dist/{chunk-K4DP5KZA.js → chunk-CIQXI47W.js} +684 -22
  69. package/dist/chunk-CIQXI47W.js.map +1 -0
  70. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  71. package/dist/{chunk-W33DEUKR.js → chunk-EOLC6EXV.js} +2 -2
  72. package/dist/{chunk-UOURUMBN.js → chunk-EUSLKI4X.js} +2 -2
  73. package/dist/{chunk-ZPUFQGUF.js → chunk-EYJSW2RV.js} +5 -5
  74. package/dist/{chunk-3CHQZVAL.js → chunk-FRVTCCGD.js} +5 -5
  75. package/dist/{chunk-AQ2ZQYDI.js → chunk-HEXSNYJD.js} +6 -6
  76. package/dist/{chunk-E5A6C4A5.js → chunk-HORJVJ6K.js} +48 -48
  77. package/dist/{chunk-3UOSVTFR.js → chunk-JCVQV6QX.js} +11 -11
  78. package/dist/{chunk-37VPMR4E.js → chunk-JDOJZTFF.js} +6 -6
  79. package/dist/{chunk-P25IPRXP.js → chunk-KGTD2KZJ.js} +28 -8
  80. package/dist/chunk-KGTD2KZJ.js.map +1 -0
  81. package/dist/{chunk-WSEA52RI.js → chunk-MEBQFQ26.js} +2 -2
  82. package/dist/{chunk-G6MGAE36.js → chunk-MG6MNSP4.js} +5 -5
  83. package/dist/{chunk-BL4JHZSO.js → chunk-NUWMZIYZ.js} +40 -40
  84. package/dist/{chunk-ES36HTSC.js → chunk-PTN6UAUA.js} +4 -4
  85. package/dist/{chunk-KZVPTJNZ.js → chunk-RGJBM7Z3.js} +75 -75
  86. package/dist/{chunk-7IGWPXVC.js → chunk-RNY3BO35.js} +2 -2
  87. package/dist/{chunk-JA4HEXV7.js → chunk-RPA2RX5P.js} +2 -2
  88. package/dist/{chunk-32XTXKIA.js → chunk-RSYJV25N.js} +22 -14
  89. package/dist/chunk-RSYJV25N.js.map +1 -0
  90. package/dist/{chunk-S2BBISHU.js → chunk-RYHWZ52A.js} +4 -4
  91. package/dist/{chunk-ZN4UZWMT.js → chunk-SK3EYPKC.js} +2 -2
  92. package/dist/{chunk-BUK2FXOL.js → chunk-TKBDJTXG.js} +4 -4
  93. package/dist/{chunk-D7MAWMMK.js → chunk-U3TH5Q2Q.js} +2 -2
  94. package/dist/{chunk-SSYBI43M.js → chunk-UT3OQPFA.js} +6 -6
  95. package/dist/{chunk-4B77XSG5.js → chunk-UV72DEZD.js} +5 -5
  96. package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
  97. package/dist/{chunk-NRV4Y3PM.js → chunk-W4FBGYGK.js} +1 -1
  98. package/dist/{chunk-5J7HJ7RT.js → chunk-WEAO45M4.js} +2 -2
  99. package/dist/{chunk-MU7ZHSZE.js → chunk-WZFAPHIK.js} +2 -2
  100. package/dist/{chunk-NY6W6CJW.js → chunk-XKO7BM2C.js} +2 -2
  101. package/dist/{chunk-7KXQ44PA.js → chunk-XQ4EH6DI.js} +5 -5
  102. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  103. package/dist/{chunk-VPSAVXHM.js → chunk-YSGBD3QN.js} +7 -7
  104. package/dist/{cli-Da5kesWC.d.ts → cli-Bz7X7dGx.d.ts} +3 -3
  105. package/dist/cli.d.ts +6 -6
  106. package/dist/cli.js +75 -74
  107. package/dist/compounding/engine.d.ts +1 -1
  108. package/dist/compounding/engine.js +5 -5
  109. package/dist/connectors/codex-materialize-runner.js +5 -5
  110. package/dist/connectors/index.js +5 -5
  111. package/dist/consolidation-provenance-check.d.ts +1 -1
  112. package/dist/consolidation-undo.d.ts +1 -1
  113. package/dist/contradiction/index.d.ts +1 -1
  114. package/dist/conversation-index/backend.js +2 -2
  115. package/dist/corpus-watermark.js +16 -16
  116. package/dist/dashboard-runtime.js +2 -2
  117. package/dist/entity-retrieval.d.ts +1 -1
  118. package/dist/entity-retrieval.js +5 -5
  119. package/dist/explicit-capture.d.ts +4 -4
  120. package/dist/extraction.js +3 -3
  121. package/dist/{first-start-migration-BKNGOFED.js → first-start-migration-LEXL3XYL.js} +4 -4
  122. package/dist/index.d.ts +398 -398
  123. package/dist/index.js +177 -176
  124. package/dist/lcm/engine.js +3 -3
  125. package/dist/lcm/index.js +9 -9
  126. package/dist/maintenance/memory-governance.js +6 -6
  127. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +1 -1
  128. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
  129. package/dist/maintenance/rebuild-memory-projection.d.ts +1 -1
  130. package/dist/maintenance/rebuild-memory-projection.js +7 -7
  131. package/dist/{maintenance-DD22oIx9.d.ts → maintenance-DgnD2z8S.d.ts} +1 -1
  132. package/dist/mcp-memory-inspector-app.d.ts +5 -5
  133. package/dist/memory-worth-outcomes.d.ts +1 -1
  134. package/dist/namespaces/migrate.d.ts +1 -1
  135. package/dist/namespaces/migrate.js +15 -15
  136. package/dist/namespaces/search.js +9 -9
  137. package/dist/namespaces/storage.d.ts +1 -1
  138. package/dist/namespaces/storage.js +5 -5
  139. package/dist/operator-doctor-corpus.js +17 -17
  140. package/dist/operator-toolkit.d.ts +1 -1
  141. package/dist/operator-toolkit.js +28 -28
  142. package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
  143. package/dist/orchestration/maintenance.d.ts +2 -2
  144. package/dist/orchestration/maintenance.js +11 -11
  145. package/dist/{orchestrator-CFJ_TG6D.d.ts → orchestrator-rIHmHpv1.d.ts} +3 -3
  146. package/dist/orchestrator.d.ts +4 -4
  147. package/dist/orchestrator.js +98 -97
  148. package/dist/resume-bundles.js +1 -1
  149. package/dist/schemas.d.ts +76 -76
  150. package/dist/search/factory.js +8 -8
  151. package/dist/search/index.js +13 -13
  152. package/dist/search/lancedb-backend.js +2 -2
  153. package/dist/search/meilisearch-backend.js +2 -2
  154. package/dist/search/orama-backend.js +2 -2
  155. package/dist/semantic-consolidation.js +7 -7
  156. package/dist/semantic-rule-promotion.js +5 -5
  157. package/dist/semantic-rule-verifier.js +6 -6
  158. package/dist/{service-Z8uzoAST.d.ts → service-cTvil7D_.d.ts} +1 -1
  159. package/dist/session-namespace-bindings.d.ts +27 -0
  160. package/dist/session-namespace-bindings.js +243 -0
  161. package/dist/session-namespace-bindings.js.map +1 -0
  162. package/dist/shared-context/manager.d.ts +8 -8
  163. package/dist/{storage-BZVMn8yJ.d.ts → storage-C9ibpTme.d.ts} +0 -3
  164. package/dist/storage.d.ts +1 -1
  165. package/dist/storage.js +4 -4
  166. package/dist/temporal-supersession.d.ts +1 -1
  167. package/dist/testing/lifecycle-matrix.d.ts +100 -0
  168. package/dist/testing/lifecycle-matrix.js +149 -0
  169. package/dist/testing/lifecycle-matrix.js.map +1 -0
  170. package/dist/tier-migration.d.ts +1 -1
  171. package/dist/transfer/backup.js +4 -4
  172. package/dist/transfer/capsule-export.js +4 -4
  173. package/dist/transfer/capsule-import.js +3 -3
  174. package/dist/transfer/types.d.ts +66 -66
  175. package/dist/verified-recall.js +6 -6
  176. package/package.json +22 -2
  177. package/src/access-http-lcm-compaction.ts +116 -0
  178. package/src/access-http.test.ts +218 -0
  179. package/src/access-http.ts +8 -8
  180. package/src/access-schema-pi.test.ts +9 -0
  181. package/src/access-schema.ts +29 -4
  182. package/src/access-surface-catalog.test.ts +1 -0
  183. package/src/session-namespace-bindings.test.ts +358 -0
  184. package/src/session-namespace-bindings.ts +301 -0
  185. package/src/storage/profile-header.ts +897 -0
  186. package/src/storage-profile-timestamp.test.ts +3290 -0
  187. package/src/storage.ts +5 -8
  188. package/src/testing/lifecycle-matrix.ts +17 -7
  189. package/src/testing/subjects/profile-header-write.test.ts +71 -0
  190. package/dist/chunk-32XTXKIA.js.map +0 -1
  191. package/dist/chunk-K4DP5KZA.js.map +0 -1
  192. package/dist/chunk-P25IPRXP.js.map +0 -1
  193. /package/dist/{capsule-crypto-7FJQINUR.js.map → access-http-lcm-compaction.js.map} +0 -0
  194. /package/dist/{auto-sync-5OE5QOZB.js.map → auto-sync-UPTUVE4X.js.map} +0 -0
  195. /package/dist/{chunk-JBPKEARU.js.map → chunk-2QSZNTDO.js.map} +0 -0
  196. /package/dist/{chunk-UMFLAACL.js.map → chunk-2RAC4JIG.js.map} +0 -0
  197. /package/dist/{chunk-OIE242WM.js.map → chunk-4MJZTF42.js.map} +0 -0
  198. /package/dist/{chunk-IR4LGIH6.js.map → chunk-5BRT4Z2I.js.map} +0 -0
  199. /package/dist/{chunk-2PHX3I5C.js.map → chunk-6NNNURLK.js.map} +0 -0
  200. /package/dist/{chunk-BLAKS3CP.js.map → chunk-77CNV7DY.js.map} +0 -0
  201. /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
  202. /package/dist/{chunk-227UFSEQ.js.map → chunk-7RZJWZ46.js.map} +0 -0
  203. /package/dist/{chunk-7CPOZH6Y.js.map → chunk-AJ7QCSIS.js.map} +0 -0
  204. /package/dist/{chunk-TPYZ727G.js.map → chunk-BHLN7L7M.js.map} +0 -0
  205. /package/dist/{chunk-WIGBTWXA.js.map → chunk-BNGPHGVZ.js.map} +0 -0
  206. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  207. /package/dist/{chunk-PS5OG75R.js.map → chunk-CI26JDZA.js.map} +0 -0
  208. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  209. /package/dist/{chunk-W33DEUKR.js.map → chunk-EOLC6EXV.js.map} +0 -0
  210. /package/dist/{chunk-UOURUMBN.js.map → chunk-EUSLKI4X.js.map} +0 -0
  211. /package/dist/{chunk-ZPUFQGUF.js.map → chunk-EYJSW2RV.js.map} +0 -0
  212. /package/dist/{chunk-3CHQZVAL.js.map → chunk-FRVTCCGD.js.map} +0 -0
  213. /package/dist/{chunk-AQ2ZQYDI.js.map → chunk-HEXSNYJD.js.map} +0 -0
  214. /package/dist/{chunk-E5A6C4A5.js.map → chunk-HORJVJ6K.js.map} +0 -0
  215. /package/dist/{chunk-3UOSVTFR.js.map → chunk-JCVQV6QX.js.map} +0 -0
  216. /package/dist/{chunk-37VPMR4E.js.map → chunk-JDOJZTFF.js.map} +0 -0
  217. /package/dist/{chunk-WSEA52RI.js.map → chunk-MEBQFQ26.js.map} +0 -0
  218. /package/dist/{chunk-G6MGAE36.js.map → chunk-MG6MNSP4.js.map} +0 -0
  219. /package/dist/{chunk-BL4JHZSO.js.map → chunk-NUWMZIYZ.js.map} +0 -0
  220. /package/dist/{chunk-ES36HTSC.js.map → chunk-PTN6UAUA.js.map} +0 -0
  221. /package/dist/{chunk-KZVPTJNZ.js.map → chunk-RGJBM7Z3.js.map} +0 -0
  222. /package/dist/{chunk-7IGWPXVC.js.map → chunk-RNY3BO35.js.map} +0 -0
  223. /package/dist/{chunk-JA4HEXV7.js.map → chunk-RPA2RX5P.js.map} +0 -0
  224. /package/dist/{chunk-S2BBISHU.js.map → chunk-RYHWZ52A.js.map} +0 -0
  225. /package/dist/{chunk-ZN4UZWMT.js.map → chunk-SK3EYPKC.js.map} +0 -0
  226. /package/dist/{chunk-BUK2FXOL.js.map → chunk-TKBDJTXG.js.map} +0 -0
  227. /package/dist/{chunk-D7MAWMMK.js.map → chunk-U3TH5Q2Q.js.map} +0 -0
  228. /package/dist/{chunk-SSYBI43M.js.map → chunk-UT3OQPFA.js.map} +0 -0
  229. /package/dist/{chunk-4B77XSG5.js.map → chunk-UV72DEZD.js.map} +0 -0
  230. /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
  231. /package/dist/{chunk-NRV4Y3PM.js.map → chunk-W4FBGYGK.js.map} +0 -0
  232. /package/dist/{chunk-5J7HJ7RT.js.map → chunk-WEAO45M4.js.map} +0 -0
  233. /package/dist/{chunk-MU7ZHSZE.js.map → chunk-WZFAPHIK.js.map} +0 -0
  234. /package/dist/{chunk-NY6W6CJW.js.map → chunk-XKO7BM2C.js.map} +0 -0
  235. /package/dist/{chunk-7KXQ44PA.js.map → chunk-XQ4EH6DI.js.map} +0 -0
  236. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  237. /package/dist/{chunk-VPSAVXHM.js.map → chunk-YSGBD3QN.js.map} +0 -0
  238. /package/dist/{first-start-migration-BKNGOFED.js.map → first-start-migration-LEXL3XYL.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
2
2
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
3
3
  export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
5
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-CFJ_TG6D.js';
5
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-rIHmHpv1.js';
6
6
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
7
7
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
8
8
  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';
@@ -12,8 +12,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
12
12
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
13
13
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
14
14
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
15
- import { S as StorageManager, a as MeetingRecordStore } from './storage-BZVMn8yJ.js';
16
- 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-BZVMn8yJ.js';
15
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-C9ibpTme.js';
16
+ 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-C9ibpTme.js';
17
17
  import { SealedMemoryEnvelope } from './write-envelope.js';
18
18
  export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
19
19
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -27,8 +27,8 @@ export { bs as ActivityExtractionMode, aA as ActivitySourceConfig, a8 as AgentAc
27
27
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
28
28
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
29
29
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
30
- import { z as EngramAccessService } from './access-service-CIdWkP6J.js';
31
- export { P as ProcedureStatsConfigSnapshot, B as ProcedureStatsRecent, F as ProcedureStatsReport, G as ProcedureStatusCounts, H as computeProcedureStats, I as formatProcedureStatsText } from './access-service-CIdWkP6J.js';
30
+ import { d as EngramAccessService } from './access-service-B4-Fu9x2.js';
31
+ export { P as ProcedureStatsConfigSnapshot, B as ProcedureStatsRecent, F as ProcedureStatsReport, G as ProcedureStatusCounts, H as computeProcedureStats, I as formatProcedureStatsText } from './access-service-B4-Fu9x2.js';
32
32
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
33
33
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
34
34
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -88,11 +88,11 @@ export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
88
88
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
89
89
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
90
90
  export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-Bq5zU6Bp.js';
91
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-Da5kesWC.js';
92
- 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-Z8uzoAST.js';
93
- 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-Z8uzoAST.js';
94
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DD22oIx9.js';
95
- 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-DD22oIx9.js';
91
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-Bz7X7dGx.js';
92
+ 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-cTvil7D_.js';
93
+ 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-cTvil7D_.js';
94
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DgnD2z8S.js';
95
+ 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-DgnD2z8S.js';
96
96
  import { SearchExecutionOptions } from './search/port.js';
97
97
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
98
98
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -872,15 +872,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
872
872
  locator: z.ZodOptional<z.ZodString>;
873
873
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
874
874
  }, "strict", z.ZodTypeAny, {
875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
876
875
  id: string;
877
876
  label: string;
877
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
878
878
  capture: "at_action" | "historical_lookup" | "fixture";
879
879
  locator?: string | undefined;
880
880
  }, {
881
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
882
881
  id: string;
883
882
  label: string;
883
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
884
884
  capture: "at_action" | "historical_lookup" | "fixture";
885
885
  locator?: string | undefined;
886
886
  }>;
@@ -897,15 +897,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
897
897
  locator: z.ZodOptional<z.ZodString>;
898
898
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
899
899
  }, "strict", z.ZodTypeAny, {
900
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
901
900
  id: string;
902
901
  label: string;
902
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
903
903
  capture: "at_action" | "historical_lookup" | "fixture";
904
904
  locator?: string | undefined;
905
905
  }, {
906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
907
906
  id: string;
908
907
  label: string;
908
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
909
909
  capture: "at_action" | "historical_lookup" | "fixture";
910
910
  locator?: string | undefined;
911
911
  }>, "many">>;
@@ -913,9 +913,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
913
913
  kind: "mission_started";
914
914
  title: string;
915
915
  evidence: {
916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
917
916
  id: string;
918
917
  label: string;
918
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
919
919
  capture: "at_action" | "historical_lookup" | "fixture";
920
920
  locator?: string | undefined;
921
921
  }[];
@@ -927,9 +927,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
927
927
  objective: string;
928
928
  runMode: "replay" | "fixture" | "live";
929
929
  evidence?: {
930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
931
930
  id: string;
932
931
  label: string;
932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
933
933
  capture: "at_action" | "historical_lookup" | "fixture";
934
934
  locator?: string | undefined;
935
935
  }[] | undefined;
@@ -945,15 +945,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
945
945
  locator: z.ZodOptional<z.ZodString>;
946
946
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
947
947
  }, "strict", z.ZodTypeAny, {
948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
949
948
  id: string;
950
949
  label: string;
950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
951
951
  capture: "at_action" | "historical_lookup" | "fixture";
952
952
  locator?: string | undefined;
953
953
  }, {
954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
955
954
  id: string;
956
955
  label: string;
956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
957
957
  capture: "at_action" | "historical_lookup" | "fixture";
958
958
  locator?: string | undefined;
959
959
  }>, "many">>;
@@ -961,32 +961,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
961
961
  sessionId: z.ZodString;
962
962
  kind: z.ZodLiteral<"agent_status">;
963
963
  }, "strict", z.ZodTypeAny, {
964
- kind: "agent_status";
964
+ label: string;
965
965
  status: "failed" | "blocked" | "working" | "complete" | "idle";
966
+ kind: "agent_status";
966
967
  role: string;
967
- label: string;
968
968
  agentId: string;
969
969
  sessionId: string;
970
970
  evidence: {
971
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
972
971
  id: string;
973
972
  label: string;
973
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
974
974
  capture: "at_action" | "historical_lookup" | "fixture";
975
975
  locator?: string | undefined;
976
976
  }[];
977
977
  detail?: string | undefined;
978
978
  }, {
979
- kind: "agent_status";
979
+ label: string;
980
980
  status: "failed" | "blocked" | "working" | "complete" | "idle";
981
+ kind: "agent_status";
981
982
  role: string;
982
- label: string;
983
983
  agentId: string;
984
984
  sessionId: string;
985
985
  detail?: string | undefined;
986
986
  evidence?: {
987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
988
987
  id: string;
989
988
  label: string;
989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
990
990
  capture: "at_action" | "historical_lookup" | "fixture";
991
991
  locator?: string | undefined;
992
992
  }[] | undefined;
@@ -1000,15 +1000,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1000
1000
  locator: z.ZodOptional<z.ZodString>;
1001
1001
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1002
1002
  }, "strict", z.ZodTypeAny, {
1003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1004
1003
  id: string;
1005
1004
  label: string;
1005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1006
1006
  capture: "at_action" | "historical_lookup" | "fixture";
1007
1007
  locator?: string | undefined;
1008
1008
  }, {
1009
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1010
1009
  id: string;
1011
1010
  label: string;
1011
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1012
1012
  capture: "at_action" | "historical_lookup" | "fixture";
1013
1013
  locator?: string | undefined;
1014
1014
  }>, "many">>;
@@ -1016,28 +1016,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1016
1016
  sessionId: z.ZodString;
1017
1017
  kind: z.ZodLiteral<"agent_output">;
1018
1018
  }, "strict", z.ZodTypeAny, {
1019
- kind: "agent_output";
1020
1019
  summary: string;
1020
+ kind: "agent_output";
1021
1021
  agentId: string;
1022
1022
  sessionId: string;
1023
1023
  evidence: {
1024
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1025
1024
  id: string;
1026
1025
  label: string;
1026
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
1027
  capture: "at_action" | "historical_lookup" | "fixture";
1028
1028
  locator?: string | undefined;
1029
1029
  }[];
1030
1030
  outputId: string;
1031
1031
  }, {
1032
- kind: "agent_output";
1033
1032
  summary: string;
1033
+ kind: "agent_output";
1034
1034
  agentId: string;
1035
1035
  sessionId: string;
1036
1036
  outputId: string;
1037
1037
  evidence?: {
1038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1039
1038
  id: string;
1040
1039
  label: string;
1040
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1041
1041
  capture: "at_action" | "historical_lookup" | "fixture";
1042
1042
  locator?: string | undefined;
1043
1043
  }[] | undefined;
@@ -1053,15 +1053,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1053
1053
  locator: z.ZodOptional<z.ZodString>;
1054
1054
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1055
1055
  }, "strict", z.ZodTypeAny, {
1056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1057
1056
  id: string;
1058
1057
  label: string;
1058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1059
1059
  capture: "at_action" | "historical_lookup" | "fixture";
1060
1060
  locator?: string | undefined;
1061
1061
  }, {
1062
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1063
1062
  id: string;
1064
1063
  label: string;
1064
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1065
1065
  capture: "at_action" | "historical_lookup" | "fixture";
1066
1066
  locator?: string | undefined;
1067
1067
  }>, "many">>;
@@ -1074,9 +1074,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1074
1074
  statement: string;
1075
1075
  sessionId: string;
1076
1076
  evidence: {
1077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1078
1077
  id: string;
1079
1078
  label: string;
1079
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1080
1080
  capture: "at_action" | "historical_lookup" | "fixture";
1081
1081
  locator?: string | undefined;
1082
1082
  }[];
@@ -1092,9 +1092,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1092
1092
  decisionId: string;
1093
1093
  confidence?: number | undefined;
1094
1094
  evidence?: {
1095
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1096
1095
  id: string;
1097
1096
  label: string;
1097
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1098
1098
  capture: "at_action" | "historical_lookup" | "fixture";
1099
1099
  locator?: string | undefined;
1100
1100
  }[] | undefined;
@@ -1111,25 +1111,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1111
1111
  locator: z.ZodOptional<z.ZodString>;
1112
1112
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1113
1113
  }, "strict", z.ZodTypeAny, {
1114
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1115
1114
  id: string;
1116
1115
  label: string;
1116
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
1117
  capture: "at_action" | "historical_lookup" | "fixture";
1118
1118
  locator?: string | undefined;
1119
1119
  }, {
1120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1121
1120
  id: string;
1122
1121
  label: string;
1122
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1123
1123
  capture: "at_action" | "historical_lookup" | "fixture";
1124
1124
  locator?: string | undefined;
1125
1125
  }>, "many">>;
1126
1126
  }, "strict", z.ZodTypeAny, {
1127
- kind: "conflict_detected";
1128
1127
  summary: string;
1128
+ kind: "conflict_detected";
1129
1129
  evidence: {
1130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1131
1130
  id: string;
1132
1131
  label: string;
1132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1133
1133
  capture: "at_action" | "historical_lookup" | "fixture";
1134
1134
  locator?: string | undefined;
1135
1135
  }[];
@@ -1137,15 +1137,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1137
1137
  decisionIds: string[];
1138
1138
  agentIds: string[];
1139
1139
  }, {
1140
- kind: "conflict_detected";
1141
1140
  summary: string;
1141
+ kind: "conflict_detected";
1142
1142
  conflictId: string;
1143
1143
  decisionIds: string[];
1144
1144
  agentIds: string[];
1145
1145
  evidence?: {
1146
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1147
1146
  id: string;
1148
1147
  label: string;
1148
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1149
1149
  capture: "at_action" | "historical_lookup" | "fixture";
1150
1150
  locator?: string | undefined;
1151
1151
  }[] | undefined;
@@ -1165,27 +1165,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1165
1165
  locator: z.ZodOptional<z.ZodString>;
1166
1166
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1167
1167
  }, "strict", z.ZodTypeAny, {
1168
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1169
1168
  id: string;
1170
1169
  label: string;
1170
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1171
1171
  capture: "at_action" | "historical_lookup" | "fixture";
1172
1172
  locator?: string | undefined;
1173
1173
  }, {
1174
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1175
1174
  id: string;
1176
1175
  label: string;
1176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1177
1177
  capture: "at_action" | "historical_lookup" | "fixture";
1178
1178
  locator?: string | undefined;
1179
1179
  }>, "many">>;
1180
1180
  }, "strict", z.ZodTypeAny, {
1181
- kind: "test_result";
1182
1181
  summary: string;
1183
1182
  status: "error" | "failed" | "passed";
1183
+ kind: "test_result";
1184
1184
  command: string;
1185
1185
  evidence: {
1186
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1187
1186
  id: string;
1188
1187
  label: string;
1188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1189
1189
  capture: "at_action" | "historical_lookup" | "fixture";
1190
1190
  locator?: string | undefined;
1191
1191
  }[];
@@ -1194,17 +1194,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1194
1194
  durationMs?: number | undefined;
1195
1195
  correctionId?: string | undefined;
1196
1196
  }, {
1197
- kind: "test_result";
1198
1197
  summary: string;
1199
1198
  status: "error" | "failed" | "passed";
1199
+ kind: "test_result";
1200
1200
  command: string;
1201
1201
  decisionId: string;
1202
1202
  testId: string;
1203
1203
  durationMs?: number | undefined;
1204
1204
  evidence?: {
1205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1206
1205
  id: string;
1207
1206
  label: string;
1207
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1208
1208
  capture: "at_action" | "historical_lookup" | "fixture";
1209
1209
  locator?: string | undefined;
1210
1210
  }[] | undefined;
@@ -1225,15 +1225,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1225
1225
  locator: z.ZodOptional<z.ZodString>;
1226
1226
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1227
1227
  }, "strict", z.ZodTypeAny, {
1228
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1229
1228
  id: string;
1230
1229
  label: string;
1230
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1231
1231
  capture: "at_action" | "historical_lookup" | "fixture";
1232
1232
  locator?: string | undefined;
1233
1233
  }, {
1234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
1234
  id: string;
1236
1235
  label: string;
1236
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1237
1237
  capture: "at_action" | "historical_lookup" | "fixture";
1238
1238
  locator?: string | undefined;
1239
1239
  }>, "many">>;
@@ -1242,9 +1242,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1242
1242
  rationale: string;
1243
1243
  statement: string;
1244
1244
  evidence: {
1245
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1246
1245
  id: string;
1247
1246
  label: string;
1247
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1248
1248
  capture: "at_action" | "historical_lookup" | "fixture";
1249
1249
  locator?: string | undefined;
1250
1250
  }[];
@@ -1263,9 +1263,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1263
1263
  supersedesDecisionIds: string[];
1264
1264
  proposedBy: string;
1265
1265
  evidence?: {
1266
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1267
1266
  id: string;
1268
1267
  label: string;
1268
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1269
1269
  capture: "at_action" | "historical_lookup" | "fixture";
1270
1270
  locator?: string | undefined;
1271
1271
  }[] | undefined;
@@ -1277,13 +1277,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1277
1277
  id: z.ZodString;
1278
1278
  label: z.ZodString;
1279
1279
  }, "strict", z.ZodTypeAny, {
1280
- kind: "agent" | "human";
1281
1280
  id: string;
1282
1281
  label: string;
1283
- }, {
1284
1282
  kind: "agent" | "human";
1283
+ }, {
1285
1284
  id: string;
1286
1285
  label: string;
1286
+ kind: "agent" | "human";
1287
1287
  }>;
1288
1288
  note: z.ZodOptional<z.ZodString>;
1289
1289
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1293,47 +1293,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1293
1293
  locator: z.ZodOptional<z.ZodString>;
1294
1294
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1295
1295
  }, "strict", z.ZodTypeAny, {
1296
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1297
1296
  id: string;
1298
1297
  label: string;
1298
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1299
1299
  capture: "at_action" | "historical_lookup" | "fixture";
1300
1300
  locator?: string | undefined;
1301
1301
  }, {
1302
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1303
1302
  id: string;
1304
1303
  label: string;
1304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1305
1305
  capture: "at_action" | "historical_lookup" | "fixture";
1306
1306
  locator?: string | undefined;
1307
1307
  }>, "many">>;
1308
1308
  }, "strict", z.ZodTypeAny, {
1309
1309
  kind: "correction_approved";
1310
1310
  evidence: {
1311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
1311
  id: string;
1313
1312
  label: string;
1313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1314
  capture: "at_action" | "historical_lookup" | "fixture";
1315
1315
  locator?: string | undefined;
1316
1316
  }[];
1317
1317
  correctionId: string;
1318
1318
  approvedBy: {
1319
- kind: "agent" | "human";
1320
1319
  id: string;
1321
1320
  label: string;
1321
+ kind: "agent" | "human";
1322
1322
  };
1323
1323
  note?: string | undefined;
1324
1324
  }, {
1325
1325
  kind: "correction_approved";
1326
1326
  correctionId: string;
1327
1327
  approvedBy: {
1328
- kind: "agent" | "human";
1329
1328
  id: string;
1330
1329
  label: string;
1330
+ kind: "agent" | "human";
1331
1331
  };
1332
1332
  note?: string | undefined;
1333
1333
  evidence?: {
1334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
1334
  id: string;
1336
1335
  label: string;
1336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1337
1337
  capture: "at_action" | "historical_lookup" | "fixture";
1338
1338
  locator?: string | undefined;
1339
1339
  }[] | undefined;
@@ -1349,24 +1349,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1349
1349
  locator: z.ZodOptional<z.ZodString>;
1350
1350
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1351
1351
  }, "strict", z.ZodTypeAny, {
1352
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1353
1352
  id: string;
1354
1353
  label: string;
1354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1355
1355
  capture: "at_action" | "historical_lookup" | "fixture";
1356
1356
  locator?: string | undefined;
1357
1357
  }, {
1358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1359
1358
  id: string;
1360
1359
  label: string;
1360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1361
1361
  capture: "at_action" | "historical_lookup" | "fixture";
1362
1362
  locator?: string | undefined;
1363
1363
  }>, "many">>;
1364
1364
  }, "strict", z.ZodTypeAny, {
1365
1365
  kind: "decision_superseded";
1366
1366
  evidence: {
1367
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1368
1367
  id: string;
1369
1368
  label: string;
1369
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1370
1370
  capture: "at_action" | "historical_lookup" | "fixture";
1371
1371
  locator?: string | undefined;
1372
1372
  }[];
@@ -1379,9 +1379,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1379
1379
  correctionId: string;
1380
1380
  replacementDecisionId: string;
1381
1381
  evidence?: {
1382
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
1382
  id: string;
1384
1383
  label: string;
1384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1385
1385
  capture: "at_action" | "historical_lookup" | "fixture";
1386
1386
  locator?: string | undefined;
1387
1387
  }[] | undefined;
@@ -1397,15 +1397,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1397
1397
  locator: z.ZodOptional<z.ZodString>;
1398
1398
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1399
1399
  }, "strict", z.ZodTypeAny, {
1400
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1401
1400
  id: string;
1402
1401
  label: string;
1402
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1403
1403
  capture: "at_action" | "historical_lookup" | "fixture";
1404
1404
  locator?: string | undefined;
1405
1405
  }, {
1406
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1407
1406
  id: string;
1408
1407
  label: string;
1408
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1409
1409
  capture: "at_action" | "historical_lookup" | "fixture";
1410
1410
  locator?: string | undefined;
1411
1411
  }>, "many">>;
@@ -1418,9 +1418,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1418
1418
  agentId: string;
1419
1419
  sessionId: string;
1420
1420
  evidence: {
1421
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1421
  id: string;
1423
1422
  label: string;
1423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1424
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1425
  locator?: string | undefined;
1426
1426
  }[];
@@ -1436,9 +1436,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1436
1436
  recallReceiptId: string;
1437
1437
  capturedAtAction: boolean;
1438
1438
  evidence?: {
1439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1440
1439
  id: string;
1441
1440
  label: string;
1441
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1442
1442
  capture: "at_action" | "historical_lookup" | "fixture";
1443
1443
  locator?: string | undefined;
1444
1444
  }[] | undefined;
@@ -1454,15 +1454,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1454
1454
  locator: z.ZodOptional<z.ZodString>;
1455
1455
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1456
1456
  }, "strict", z.ZodTypeAny, {
1457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1458
1457
  id: string;
1459
1458
  label: string;
1459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1460
  capture: "at_action" | "historical_lookup" | "fixture";
1461
1461
  locator?: string | undefined;
1462
1462
  }, {
1463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1464
1463
  id: string;
1465
1464
  label: string;
1465
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1466
1466
  capture: "at_action" | "historical_lookup" | "fixture";
1467
1467
  locator?: string | undefined;
1468
1468
  }>, "many">>;
@@ -1474,9 +1474,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1474
1474
  agentId: string;
1475
1475
  sessionId: string;
1476
1476
  evidence: {
1477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
1477
  id: string;
1479
1478
  label: string;
1479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1480
  capture: "at_action" | "historical_lookup" | "fixture";
1481
1481
  locator?: string | undefined;
1482
1482
  }[];
@@ -1493,9 +1493,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1493
1493
  recallReceiptId: string;
1494
1494
  staleDecisionAbsent: boolean;
1495
1495
  evidence?: {
1496
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1497
1496
  id: string;
1498
1497
  label: string;
1498
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1499
1499
  capture: "at_action" | "historical_lookup" | "fixture";
1500
1500
  locator?: string | undefined;
1501
1501
  }[] | undefined;
@@ -1510,37 +1510,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1510
1510
  locator: z.ZodOptional<z.ZodString>;
1511
1511
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1512
1512
  }, "strict", z.ZodTypeAny, {
1513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1514
1513
  id: string;
1515
1514
  label: string;
1515
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1516
1516
  capture: "at_action" | "historical_lookup" | "fixture";
1517
1517
  locator?: string | undefined;
1518
1518
  }, {
1519
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1520
1519
  id: string;
1521
1520
  label: string;
1521
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1522
1522
  capture: "at_action" | "historical_lookup" | "fixture";
1523
1523
  locator?: string | undefined;
1524
1524
  }>, "many">>;
1525
1525
  }, "strict", z.ZodTypeAny, {
1526
- kind: "mission_completed";
1527
1526
  summary: string;
1527
+ kind: "mission_completed";
1528
1528
  outcome: "failed" | "recovered" | "inconclusive";
1529
1529
  evidence: {
1530
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1531
1530
  id: string;
1532
1531
  label: string;
1532
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1533
1533
  capture: "at_action" | "historical_lookup" | "fixture";
1534
1534
  locator?: string | undefined;
1535
1535
  }[];
1536
1536
  }, {
1537
- kind: "mission_completed";
1538
1537
  summary: string;
1538
+ kind: "mission_completed";
1539
1539
  outcome: "failed" | "recovered" | "inconclusive";
1540
1540
  evidence?: {
1541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
1541
  id: string;
1543
1542
  label: string;
1543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
1544
  capture: "at_action" | "historical_lookup" | "fixture";
1545
1545
  locator?: string | undefined;
1546
1546
  }[] | undefined;
@@ -1548,38 +1548,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1548
1548
  kind: "mission_started";
1549
1549
  title: string;
1550
1550
  evidence: {
1551
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1552
1551
  id: string;
1553
1552
  label: string;
1553
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1554
1554
  capture: "at_action" | "historical_lookup" | "fixture";
1555
1555
  locator?: string | undefined;
1556
1556
  }[];
1557
1557
  objective: string;
1558
1558
  runMode: "replay" | "fixture" | "live";
1559
1559
  } | {
1560
- kind: "agent_status";
1560
+ label: string;
1561
1561
  status: "failed" | "blocked" | "working" | "complete" | "idle";
1562
+ kind: "agent_status";
1562
1563
  role: string;
1563
- label: string;
1564
1564
  agentId: string;
1565
1565
  sessionId: string;
1566
1566
  evidence: {
1567
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1568
1567
  id: string;
1569
1568
  label: string;
1569
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1570
1570
  capture: "at_action" | "historical_lookup" | "fixture";
1571
1571
  locator?: string | undefined;
1572
1572
  }[];
1573
1573
  detail?: string | undefined;
1574
1574
  } | {
1575
- kind: "agent_output";
1576
1575
  summary: string;
1576
+ kind: "agent_output";
1577
1577
  agentId: string;
1578
1578
  sessionId: string;
1579
1579
  evidence: {
1580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1581
1580
  id: string;
1582
1581
  label: string;
1582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
1583
  capture: "at_action" | "historical_lookup" | "fixture";
1584
1584
  locator?: string | undefined;
1585
1585
  }[];
@@ -1590,9 +1590,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1590
1590
  statement: string;
1591
1591
  sessionId: string;
1592
1592
  evidence: {
1593
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1593
  id: string;
1595
1594
  label: string;
1595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1597
  locator?: string | undefined;
1598
1598
  }[];
@@ -1600,12 +1600,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1600
1600
  decisionId: string;
1601
1601
  confidence?: number | undefined;
1602
1602
  } | {
1603
- kind: "conflict_detected";
1604
1603
  summary: string;
1604
+ kind: "conflict_detected";
1605
1605
  evidence: {
1606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1607
1606
  id: string;
1608
1607
  label: string;
1608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1609
  capture: "at_action" | "historical_lookup" | "fixture";
1610
1610
  locator?: string | undefined;
1611
1611
  }[];
@@ -1613,14 +1613,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1613
1613
  decisionIds: string[];
1614
1614
  agentIds: string[];
1615
1615
  } | {
1616
- kind: "test_result";
1617
1616
  summary: string;
1618
1617
  status: "error" | "failed" | "passed";
1618
+ kind: "test_result";
1619
1619
  command: string;
1620
1620
  evidence: {
1621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
1621
  id: string;
1623
1622
  label: string;
1623
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1624
1624
  capture: "at_action" | "historical_lookup" | "fixture";
1625
1625
  locator?: string | undefined;
1626
1626
  }[];
@@ -1633,9 +1633,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1633
1633
  rationale: string;
1634
1634
  statement: string;
1635
1635
  evidence: {
1636
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1637
1636
  id: string;
1638
1637
  label: string;
1638
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1639
1639
  capture: "at_action" | "historical_lookup" | "fixture";
1640
1640
  locator?: string | undefined;
1641
1641
  }[];
@@ -1647,25 +1647,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1647
1647
  } | {
1648
1648
  kind: "correction_approved";
1649
1649
  evidence: {
1650
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1651
1650
  id: string;
1652
1651
  label: string;
1652
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1653
1653
  capture: "at_action" | "historical_lookup" | "fixture";
1654
1654
  locator?: string | undefined;
1655
1655
  }[];
1656
1656
  correctionId: string;
1657
1657
  approvedBy: {
1658
- kind: "agent" | "human";
1659
1658
  id: string;
1660
1659
  label: string;
1660
+ kind: "agent" | "human";
1661
1661
  };
1662
1662
  note?: string | undefined;
1663
1663
  } | {
1664
1664
  kind: "decision_superseded";
1665
1665
  evidence: {
1666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1667
1666
  id: string;
1668
1667
  label: string;
1668
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1669
1669
  capture: "at_action" | "historical_lookup" | "fixture";
1670
1670
  locator?: string | undefined;
1671
1671
  }[];
@@ -1678,9 +1678,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1678
1678
  agentId: string;
1679
1679
  sessionId: string;
1680
1680
  evidence: {
1681
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1682
1681
  id: string;
1683
1682
  label: string;
1683
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1684
1684
  capture: "at_action" | "historical_lookup" | "fixture";
1685
1685
  locator?: string | undefined;
1686
1686
  }[];
@@ -1692,9 +1692,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1692
1692
  agentId: string;
1693
1693
  sessionId: string;
1694
1694
  evidence: {
1695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1696
1695
  id: string;
1697
1696
  label: string;
1697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1698
  capture: "at_action" | "historical_lookup" | "fixture";
1699
1699
  locator?: string | undefined;
1700
1700
  }[];
@@ -1703,13 +1703,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1703
1703
  recallReceiptId: string;
1704
1704
  staleDecisionAbsent: boolean;
1705
1705
  } | {
1706
- kind: "mission_completed";
1707
1706
  summary: string;
1707
+ kind: "mission_completed";
1708
1708
  outcome: "failed" | "recovered" | "inconclusive";
1709
1709
  evidence: {
1710
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1711
1710
  id: string;
1712
1711
  label: string;
1712
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
1713
  capture: "at_action" | "historical_lookup" | "fixture";
1714
1714
  locator?: string | undefined;
1715
1715
  }[];
@@ -1719,37 +1719,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1719
1719
  objective: string;
1720
1720
  runMode: "replay" | "fixture" | "live";
1721
1721
  evidence?: {
1722
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1723
1722
  id: string;
1724
1723
  label: string;
1724
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1725
1725
  capture: "at_action" | "historical_lookup" | "fixture";
1726
1726
  locator?: string | undefined;
1727
1727
  }[] | undefined;
1728
1728
  } | {
1729
- kind: "agent_status";
1729
+ label: string;
1730
1730
  status: "failed" | "blocked" | "working" | "complete" | "idle";
1731
+ kind: "agent_status";
1731
1732
  role: string;
1732
- label: string;
1733
1733
  agentId: string;
1734
1734
  sessionId: string;
1735
1735
  detail?: string | undefined;
1736
1736
  evidence?: {
1737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1738
1737
  id: string;
1739
1738
  label: string;
1739
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1740
1740
  capture: "at_action" | "historical_lookup" | "fixture";
1741
1741
  locator?: string | undefined;
1742
1742
  }[] | undefined;
1743
1743
  } | {
1744
- kind: "agent_output";
1745
1744
  summary: string;
1745
+ kind: "agent_output";
1746
1746
  agentId: string;
1747
1747
  sessionId: string;
1748
1748
  outputId: string;
1749
1749
  evidence?: {
1750
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1751
1750
  id: string;
1752
1751
  label: string;
1752
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1753
1753
  capture: "at_action" | "historical_lookup" | "fixture";
1754
1754
  locator?: string | undefined;
1755
1755
  }[] | undefined;
@@ -1762,37 +1762,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1762
1762
  decisionId: string;
1763
1763
  confidence?: number | undefined;
1764
1764
  evidence?: {
1765
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1765
  id: string;
1767
1766
  label: string;
1767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1768
1768
  capture: "at_action" | "historical_lookup" | "fixture";
1769
1769
  locator?: string | undefined;
1770
1770
  }[] | undefined;
1771
1771
  } | {
1772
- kind: "conflict_detected";
1773
1772
  summary: string;
1773
+ kind: "conflict_detected";
1774
1774
  conflictId: string;
1775
1775
  decisionIds: string[];
1776
1776
  agentIds: string[];
1777
1777
  evidence?: {
1778
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1779
1778
  id: string;
1780
1779
  label: string;
1780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1781
  capture: "at_action" | "historical_lookup" | "fixture";
1782
1782
  locator?: string | undefined;
1783
1783
  }[] | undefined;
1784
1784
  } | {
1785
- kind: "test_result";
1786
1785
  summary: string;
1787
1786
  status: "error" | "failed" | "passed";
1787
+ kind: "test_result";
1788
1788
  command: string;
1789
1789
  decisionId: string;
1790
1790
  testId: string;
1791
1791
  durationMs?: number | undefined;
1792
1792
  evidence?: {
1793
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1794
1793
  id: string;
1795
1794
  label: string;
1795
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1796
1796
  capture: "at_action" | "historical_lookup" | "fixture";
1797
1797
  locator?: string | undefined;
1798
1798
  }[] | undefined;
@@ -1807,9 +1807,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1807
1807
  supersedesDecisionIds: string[];
1808
1808
  proposedBy: string;
1809
1809
  evidence?: {
1810
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1811
1810
  id: string;
1812
1811
  label: string;
1812
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1813
1813
  capture: "at_action" | "historical_lookup" | "fixture";
1814
1814
  locator?: string | undefined;
1815
1815
  }[] | undefined;
@@ -1817,15 +1817,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1817
1817
  kind: "correction_approved";
1818
1818
  correctionId: string;
1819
1819
  approvedBy: {
1820
- kind: "agent" | "human";
1821
1820
  id: string;
1822
1821
  label: string;
1822
+ kind: "agent" | "human";
1823
1823
  };
1824
1824
  note?: string | undefined;
1825
1825
  evidence?: {
1826
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
1826
  id: string;
1828
1827
  label: string;
1828
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1829
  capture: "at_action" | "historical_lookup" | "fixture";
1830
1830
  locator?: string | undefined;
1831
1831
  }[] | undefined;
@@ -1835,9 +1835,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1835
1835
  correctionId: string;
1836
1836
  replacementDecisionId: string;
1837
1837
  evidence?: {
1838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1839
1838
  id: string;
1840
1839
  label: string;
1840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1841
1841
  capture: "at_action" | "historical_lookup" | "fixture";
1842
1842
  locator?: string | undefined;
1843
1843
  }[] | undefined;
@@ -1850,9 +1850,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1850
1850
  recallReceiptId: string;
1851
1851
  capturedAtAction: boolean;
1852
1852
  evidence?: {
1853
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1854
1853
  id: string;
1855
1854
  label: string;
1855
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
1856
  capture: "at_action" | "historical_lookup" | "fixture";
1857
1857
  locator?: string | undefined;
1858
1858
  }[] | undefined;
@@ -1865,20 +1865,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1865
1865
  recallReceiptId: string;
1866
1866
  staleDecisionAbsent: boolean;
1867
1867
  evidence?: {
1868
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1869
1868
  id: string;
1870
1869
  label: string;
1870
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
1871
  capture: "at_action" | "historical_lookup" | "fixture";
1872
1872
  locator?: string | undefined;
1873
1873
  }[] | undefined;
1874
1874
  } | {
1875
- kind: "mission_completed";
1876
1875
  summary: string;
1876
+ kind: "mission_completed";
1877
1877
  outcome: "failed" | "recovered" | "inconclusive";
1878
1878
  evidence?: {
1879
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1880
1879
  id: string;
1881
1880
  label: string;
1881
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1882
1882
  capture: "at_action" | "historical_lookup" | "fixture";
1883
1883
  locator?: string | undefined;
1884
1884
  }[] | undefined;
@@ -1899,15 +1899,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1899
1899
  locator: z.ZodOptional<z.ZodString>;
1900
1900
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1901
1901
  }, "strict", z.ZodTypeAny, {
1902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
1902
  id: string;
1904
1903
  label: string;
1904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1905
  capture: "at_action" | "historical_lookup" | "fixture";
1906
1906
  locator?: string | undefined;
1907
1907
  }, {
1908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1909
1908
  id: string;
1910
1909
  label: string;
1910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
1911
  capture: "at_action" | "historical_lookup" | "fixture";
1912
1912
  locator?: string | undefined;
1913
1913
  }>, "many">>;
@@ -1915,9 +1915,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1915
1915
  kind: "mission_started";
1916
1916
  title: string;
1917
1917
  evidence: {
1918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1919
1918
  id: string;
1920
1919
  label: string;
1920
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1921
1921
  capture: "at_action" | "historical_lookup" | "fixture";
1922
1922
  locator?: string | undefined;
1923
1923
  }[];
@@ -1929,9 +1929,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1929
1929
  objective: string;
1930
1930
  runMode: "replay" | "fixture" | "live";
1931
1931
  evidence?: {
1932
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
1932
  id: string;
1934
1933
  label: string;
1934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1936
1936
  locator?: string | undefined;
1937
1937
  }[] | undefined;
@@ -1947,15 +1947,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1947
1947
  locator: z.ZodOptional<z.ZodString>;
1948
1948
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1949
1949
  }, "strict", z.ZodTypeAny, {
1950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1951
1950
  id: string;
1952
1951
  label: string;
1952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1953
  capture: "at_action" | "historical_lookup" | "fixture";
1954
1954
  locator?: string | undefined;
1955
1955
  }, {
1956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
1956
  id: string;
1958
1957
  label: string;
1958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
1959
  capture: "at_action" | "historical_lookup" | "fixture";
1960
1960
  locator?: string | undefined;
1961
1961
  }>, "many">>;
@@ -1963,32 +1963,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1963
1963
  sessionId: z.ZodString;
1964
1964
  kind: z.ZodLiteral<"agent_status">;
1965
1965
  }, "strict", z.ZodTypeAny, {
1966
- kind: "agent_status";
1966
+ label: string;
1967
1967
  status: "failed" | "blocked" | "working" | "complete" | "idle";
1968
+ kind: "agent_status";
1968
1969
  role: string;
1969
- label: string;
1970
1970
  agentId: string;
1971
1971
  sessionId: string;
1972
1972
  evidence: {
1973
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1974
1973
  id: string;
1975
1974
  label: string;
1975
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
1976
  capture: "at_action" | "historical_lookup" | "fixture";
1977
1977
  locator?: string | undefined;
1978
1978
  }[];
1979
1979
  detail?: string | undefined;
1980
1980
  }, {
1981
- kind: "agent_status";
1981
+ label: string;
1982
1982
  status: "failed" | "blocked" | "working" | "complete" | "idle";
1983
+ kind: "agent_status";
1983
1984
  role: string;
1984
- label: string;
1985
1985
  agentId: string;
1986
1986
  sessionId: string;
1987
1987
  detail?: string | undefined;
1988
1988
  evidence?: {
1989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1990
1989
  id: string;
1991
1990
  label: string;
1991
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1992
1992
  capture: "at_action" | "historical_lookup" | "fixture";
1993
1993
  locator?: string | undefined;
1994
1994
  }[] | undefined;
@@ -2002,15 +2002,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2002
2002
  locator: z.ZodOptional<z.ZodString>;
2003
2003
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2004
2004
  }, "strict", z.ZodTypeAny, {
2005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2006
2005
  id: string;
2007
2006
  label: string;
2007
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2008
2008
  capture: "at_action" | "historical_lookup" | "fixture";
2009
2009
  locator?: string | undefined;
2010
2010
  }, {
2011
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2012
2011
  id: string;
2013
2012
  label: string;
2013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
2014
  capture: "at_action" | "historical_lookup" | "fixture";
2015
2015
  locator?: string | undefined;
2016
2016
  }>, "many">>;
@@ -2018,28 +2018,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2018
2018
  sessionId: z.ZodString;
2019
2019
  kind: z.ZodLiteral<"agent_output">;
2020
2020
  }, "strict", z.ZodTypeAny, {
2021
- kind: "agent_output";
2022
2021
  summary: string;
2022
+ kind: "agent_output";
2023
2023
  agentId: string;
2024
2024
  sessionId: string;
2025
2025
  evidence: {
2026
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2027
2026
  id: string;
2028
2027
  label: string;
2028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
2029
  capture: "at_action" | "historical_lookup" | "fixture";
2030
2030
  locator?: string | undefined;
2031
2031
  }[];
2032
2032
  outputId: string;
2033
2033
  }, {
2034
- kind: "agent_output";
2035
2034
  summary: string;
2035
+ kind: "agent_output";
2036
2036
  agentId: string;
2037
2037
  sessionId: string;
2038
2038
  outputId: string;
2039
2039
  evidence?: {
2040
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
2040
  id: string;
2042
2041
  label: string;
2042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2043
2043
  capture: "at_action" | "historical_lookup" | "fixture";
2044
2044
  locator?: string | undefined;
2045
2045
  }[] | undefined;
@@ -2055,15 +2055,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2055
2055
  locator: z.ZodOptional<z.ZodString>;
2056
2056
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2057
2057
  }, "strict", z.ZodTypeAny, {
2058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2059
2058
  id: string;
2060
2059
  label: string;
2060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2061
  capture: "at_action" | "historical_lookup" | "fixture";
2062
2062
  locator?: string | undefined;
2063
2063
  }, {
2064
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2065
2064
  id: string;
2066
2065
  label: string;
2066
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2067
2067
  capture: "at_action" | "historical_lookup" | "fixture";
2068
2068
  locator?: string | undefined;
2069
2069
  }>, "many">>;
@@ -2076,9 +2076,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2076
2076
  statement: string;
2077
2077
  sessionId: string;
2078
2078
  evidence: {
2079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2080
2079
  id: string;
2081
2080
  label: string;
2081
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2082
  capture: "at_action" | "historical_lookup" | "fixture";
2083
2083
  locator?: string | undefined;
2084
2084
  }[];
@@ -2094,9 +2094,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2094
2094
  decisionId: string;
2095
2095
  confidence?: number | undefined;
2096
2096
  evidence?: {
2097
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2098
2097
  id: string;
2099
2098
  label: string;
2099
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2100
2100
  capture: "at_action" | "historical_lookup" | "fixture";
2101
2101
  locator?: string | undefined;
2102
2102
  }[] | undefined;
@@ -2113,25 +2113,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2113
2113
  locator: z.ZodOptional<z.ZodString>;
2114
2114
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2115
2115
  }, "strict", z.ZodTypeAny, {
2116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
2116
  id: string;
2118
2117
  label: string;
2118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
2119
  capture: "at_action" | "historical_lookup" | "fixture";
2120
2120
  locator?: string | undefined;
2121
2121
  }, {
2122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2123
2122
  id: string;
2124
2123
  label: string;
2124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
2125
  capture: "at_action" | "historical_lookup" | "fixture";
2126
2126
  locator?: string | undefined;
2127
2127
  }>, "many">>;
2128
2128
  }, "strict", z.ZodTypeAny, {
2129
- kind: "conflict_detected";
2130
2129
  summary: string;
2130
+ kind: "conflict_detected";
2131
2131
  evidence: {
2132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
2132
  id: string;
2134
2133
  label: string;
2134
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2135
2135
  capture: "at_action" | "historical_lookup" | "fixture";
2136
2136
  locator?: string | undefined;
2137
2137
  }[];
@@ -2139,15 +2139,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2139
2139
  decisionIds: string[];
2140
2140
  agentIds: string[];
2141
2141
  }, {
2142
- kind: "conflict_detected";
2143
2142
  summary: string;
2143
+ kind: "conflict_detected";
2144
2144
  conflictId: string;
2145
2145
  decisionIds: string[];
2146
2146
  agentIds: string[];
2147
2147
  evidence?: {
2148
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2149
2148
  id: string;
2150
2149
  label: string;
2150
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2151
2151
  capture: "at_action" | "historical_lookup" | "fixture";
2152
2152
  locator?: string | undefined;
2153
2153
  }[] | undefined;
@@ -2167,27 +2167,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2167
2167
  locator: z.ZodOptional<z.ZodString>;
2168
2168
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2169
2169
  }, "strict", z.ZodTypeAny, {
2170
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2171
2170
  id: string;
2172
2171
  label: string;
2172
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2173
2173
  capture: "at_action" | "historical_lookup" | "fixture";
2174
2174
  locator?: string | undefined;
2175
2175
  }, {
2176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2177
2176
  id: string;
2178
2177
  label: string;
2178
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2179
2179
  capture: "at_action" | "historical_lookup" | "fixture";
2180
2180
  locator?: string | undefined;
2181
2181
  }>, "many">>;
2182
2182
  }, "strict", z.ZodTypeAny, {
2183
- kind: "test_result";
2184
2183
  summary: string;
2185
2184
  status: "error" | "failed" | "passed";
2185
+ kind: "test_result";
2186
2186
  command: string;
2187
2187
  evidence: {
2188
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2189
2188
  id: string;
2190
2189
  label: string;
2190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2191
2191
  capture: "at_action" | "historical_lookup" | "fixture";
2192
2192
  locator?: string | undefined;
2193
2193
  }[];
@@ -2196,17 +2196,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2196
2196
  durationMs?: number | undefined;
2197
2197
  correctionId?: string | undefined;
2198
2198
  }, {
2199
- kind: "test_result";
2200
2199
  summary: string;
2201
2200
  status: "error" | "failed" | "passed";
2201
+ kind: "test_result";
2202
2202
  command: string;
2203
2203
  decisionId: string;
2204
2204
  testId: string;
2205
2205
  durationMs?: number | undefined;
2206
2206
  evidence?: {
2207
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2208
2207
  id: string;
2209
2208
  label: string;
2209
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2210
2210
  capture: "at_action" | "historical_lookup" | "fixture";
2211
2211
  locator?: string | undefined;
2212
2212
  }[] | undefined;
@@ -2227,15 +2227,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2227
2227
  locator: z.ZodOptional<z.ZodString>;
2228
2228
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2229
2229
  }, "strict", z.ZodTypeAny, {
2230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2231
2230
  id: string;
2232
2231
  label: string;
2232
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
2233
  capture: "at_action" | "historical_lookup" | "fixture";
2234
2234
  locator?: string | undefined;
2235
2235
  }, {
2236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2237
2236
  id: string;
2238
2237
  label: string;
2238
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2239
  capture: "at_action" | "historical_lookup" | "fixture";
2240
2240
  locator?: string | undefined;
2241
2241
  }>, "many">>;
@@ -2244,9 +2244,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2244
2244
  rationale: string;
2245
2245
  statement: string;
2246
2246
  evidence: {
2247
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2248
2247
  id: string;
2249
2248
  label: string;
2249
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2250
2250
  capture: "at_action" | "historical_lookup" | "fixture";
2251
2251
  locator?: string | undefined;
2252
2252
  }[];
@@ -2265,9 +2265,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2265
2265
  supersedesDecisionIds: string[];
2266
2266
  proposedBy: string;
2267
2267
  evidence?: {
2268
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2269
2268
  id: string;
2270
2269
  label: string;
2270
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2271
2271
  capture: "at_action" | "historical_lookup" | "fixture";
2272
2272
  locator?: string | undefined;
2273
2273
  }[] | undefined;
@@ -2279,13 +2279,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2279
2279
  id: z.ZodString;
2280
2280
  label: z.ZodString;
2281
2281
  }, "strict", z.ZodTypeAny, {
2282
- kind: "agent" | "human";
2283
2282
  id: string;
2284
2283
  label: string;
2285
- }, {
2286
2284
  kind: "agent" | "human";
2285
+ }, {
2287
2286
  id: string;
2288
2287
  label: string;
2288
+ kind: "agent" | "human";
2289
2289
  }>;
2290
2290
  note: z.ZodOptional<z.ZodString>;
2291
2291
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2295,47 +2295,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2295
2295
  locator: z.ZodOptional<z.ZodString>;
2296
2296
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2297
2297
  }, "strict", z.ZodTypeAny, {
2298
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2299
2298
  id: string;
2300
2299
  label: string;
2300
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2301
2301
  capture: "at_action" | "historical_lookup" | "fixture";
2302
2302
  locator?: string | undefined;
2303
2303
  }, {
2304
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2305
2304
  id: string;
2306
2305
  label: string;
2306
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2307
2307
  capture: "at_action" | "historical_lookup" | "fixture";
2308
2308
  locator?: string | undefined;
2309
2309
  }>, "many">>;
2310
2310
  }, "strict", z.ZodTypeAny, {
2311
2311
  kind: "correction_approved";
2312
2312
  evidence: {
2313
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
2313
  id: string;
2315
2314
  label: string;
2315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2316
  capture: "at_action" | "historical_lookup" | "fixture";
2317
2317
  locator?: string | undefined;
2318
2318
  }[];
2319
2319
  correctionId: string;
2320
2320
  approvedBy: {
2321
- kind: "agent" | "human";
2322
2321
  id: string;
2323
2322
  label: string;
2323
+ kind: "agent" | "human";
2324
2324
  };
2325
2325
  note?: string | undefined;
2326
2326
  }, {
2327
2327
  kind: "correction_approved";
2328
2328
  correctionId: string;
2329
2329
  approvedBy: {
2330
- kind: "agent" | "human";
2331
2330
  id: string;
2332
2331
  label: string;
2332
+ kind: "agent" | "human";
2333
2333
  };
2334
2334
  note?: string | undefined;
2335
2335
  evidence?: {
2336
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
2336
  id: string;
2338
2337
  label: string;
2338
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2339
2339
  capture: "at_action" | "historical_lookup" | "fixture";
2340
2340
  locator?: string | undefined;
2341
2341
  }[] | undefined;
@@ -2351,24 +2351,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2351
2351
  locator: z.ZodOptional<z.ZodString>;
2352
2352
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2353
2353
  }, "strict", z.ZodTypeAny, {
2354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2355
2354
  id: string;
2356
2355
  label: string;
2356
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2357
2357
  capture: "at_action" | "historical_lookup" | "fixture";
2358
2358
  locator?: string | undefined;
2359
2359
  }, {
2360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2361
2360
  id: string;
2362
2361
  label: string;
2362
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2363
2363
  capture: "at_action" | "historical_lookup" | "fixture";
2364
2364
  locator?: string | undefined;
2365
2365
  }>, "many">>;
2366
2366
  }, "strict", z.ZodTypeAny, {
2367
2367
  kind: "decision_superseded";
2368
2368
  evidence: {
2369
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2370
2369
  id: string;
2371
2370
  label: string;
2371
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2372
2372
  capture: "at_action" | "historical_lookup" | "fixture";
2373
2373
  locator?: string | undefined;
2374
2374
  }[];
@@ -2381,9 +2381,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2381
2381
  correctionId: string;
2382
2382
  replacementDecisionId: string;
2383
2383
  evidence?: {
2384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
2384
  id: string;
2386
2385
  label: string;
2386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2387
2387
  capture: "at_action" | "historical_lookup" | "fixture";
2388
2388
  locator?: string | undefined;
2389
2389
  }[] | undefined;
@@ -2399,15 +2399,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2399
2399
  locator: z.ZodOptional<z.ZodString>;
2400
2400
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2401
2401
  }, "strict", z.ZodTypeAny, {
2402
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2403
2402
  id: string;
2404
2403
  label: string;
2404
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2405
2405
  capture: "at_action" | "historical_lookup" | "fixture";
2406
2406
  locator?: string | undefined;
2407
2407
  }, {
2408
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2409
2408
  id: string;
2410
2409
  label: string;
2410
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2411
2411
  capture: "at_action" | "historical_lookup" | "fixture";
2412
2412
  locator?: string | undefined;
2413
2413
  }>, "many">>;
@@ -2420,9 +2420,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2420
2420
  agentId: string;
2421
2421
  sessionId: string;
2422
2422
  evidence: {
2423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2423
  id: string;
2425
2424
  label: string;
2425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2426
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2427
  locator?: string | undefined;
2428
2428
  }[];
@@ -2438,9 +2438,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2438
2438
  recallReceiptId: string;
2439
2439
  capturedAtAction: boolean;
2440
2440
  evidence?: {
2441
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2442
2441
  id: string;
2443
2442
  label: string;
2443
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2444
2444
  capture: "at_action" | "historical_lookup" | "fixture";
2445
2445
  locator?: string | undefined;
2446
2446
  }[] | undefined;
@@ -2456,15 +2456,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2456
2456
  locator: z.ZodOptional<z.ZodString>;
2457
2457
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2458
2458
  }, "strict", z.ZodTypeAny, {
2459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2460
2459
  id: string;
2461
2460
  label: string;
2461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2462
  capture: "at_action" | "historical_lookup" | "fixture";
2463
2463
  locator?: string | undefined;
2464
2464
  }, {
2465
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2466
2465
  id: string;
2467
2466
  label: string;
2467
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2468
2468
  capture: "at_action" | "historical_lookup" | "fixture";
2469
2469
  locator?: string | undefined;
2470
2470
  }>, "many">>;
@@ -2476,9 +2476,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2476
2476
  agentId: string;
2477
2477
  sessionId: string;
2478
2478
  evidence: {
2479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
2479
  id: string;
2481
2480
  label: string;
2481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2482
  capture: "at_action" | "historical_lookup" | "fixture";
2483
2483
  locator?: string | undefined;
2484
2484
  }[];
@@ -2495,9 +2495,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2495
2495
  recallReceiptId: string;
2496
2496
  staleDecisionAbsent: boolean;
2497
2497
  evidence?: {
2498
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2499
2498
  id: string;
2500
2499
  label: string;
2500
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2501
2501
  capture: "at_action" | "historical_lookup" | "fixture";
2502
2502
  locator?: string | undefined;
2503
2503
  }[] | undefined;
@@ -2512,37 +2512,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2512
2512
  locator: z.ZodOptional<z.ZodString>;
2513
2513
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2514
2514
  }, "strict", z.ZodTypeAny, {
2515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2516
2515
  id: string;
2517
2516
  label: string;
2517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2518
2518
  capture: "at_action" | "historical_lookup" | "fixture";
2519
2519
  locator?: string | undefined;
2520
2520
  }, {
2521
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2522
2521
  id: string;
2523
2522
  label: string;
2523
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2524
2524
  capture: "at_action" | "historical_lookup" | "fixture";
2525
2525
  locator?: string | undefined;
2526
2526
  }>, "many">>;
2527
2527
  }, "strict", z.ZodTypeAny, {
2528
- kind: "mission_completed";
2529
2528
  summary: string;
2529
+ kind: "mission_completed";
2530
2530
  outcome: "failed" | "recovered" | "inconclusive";
2531
2531
  evidence: {
2532
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2533
2532
  id: string;
2534
2533
  label: string;
2534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2535
2535
  capture: "at_action" | "historical_lookup" | "fixture";
2536
2536
  locator?: string | undefined;
2537
2537
  }[];
2538
2538
  }, {
2539
- kind: "mission_completed";
2540
2539
  summary: string;
2540
+ kind: "mission_completed";
2541
2541
  outcome: "failed" | "recovered" | "inconclusive";
2542
2542
  evidence?: {
2543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
2543
  id: string;
2545
2544
  label: string;
2545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
2546
  capture: "at_action" | "historical_lookup" | "fixture";
2547
2547
  locator?: string | undefined;
2548
2548
  }[] | undefined;
@@ -2550,38 +2550,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2550
2550
  kind: "mission_started";
2551
2551
  title: string;
2552
2552
  evidence: {
2553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2554
2553
  id: string;
2555
2554
  label: string;
2555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2556
2556
  capture: "at_action" | "historical_lookup" | "fixture";
2557
2557
  locator?: string | undefined;
2558
2558
  }[];
2559
2559
  objective: string;
2560
2560
  runMode: "replay" | "fixture" | "live";
2561
2561
  } | {
2562
- kind: "agent_status";
2562
+ label: string;
2563
2563
  status: "failed" | "blocked" | "working" | "complete" | "idle";
2564
+ kind: "agent_status";
2564
2565
  role: string;
2565
- label: string;
2566
2566
  agentId: string;
2567
2567
  sessionId: string;
2568
2568
  evidence: {
2569
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2570
2569
  id: string;
2571
2570
  label: string;
2571
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2572
2572
  capture: "at_action" | "historical_lookup" | "fixture";
2573
2573
  locator?: string | undefined;
2574
2574
  }[];
2575
2575
  detail?: string | undefined;
2576
2576
  } | {
2577
- kind: "agent_output";
2578
2577
  summary: string;
2578
+ kind: "agent_output";
2579
2579
  agentId: string;
2580
2580
  sessionId: string;
2581
2581
  evidence: {
2582
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2583
2582
  id: string;
2584
2583
  label: string;
2584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
2585
  capture: "at_action" | "historical_lookup" | "fixture";
2586
2586
  locator?: string | undefined;
2587
2587
  }[];
@@ -2592,9 +2592,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2592
2592
  statement: string;
2593
2593
  sessionId: string;
2594
2594
  evidence: {
2595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2595
  id: string;
2597
2596
  label: string;
2597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2599
  locator?: string | undefined;
2600
2600
  }[];
@@ -2602,12 +2602,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2602
2602
  decisionId: string;
2603
2603
  confidence?: number | undefined;
2604
2604
  } | {
2605
- kind: "conflict_detected";
2606
2605
  summary: string;
2606
+ kind: "conflict_detected";
2607
2607
  evidence: {
2608
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2609
2608
  id: string;
2610
2609
  label: string;
2610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2611
  capture: "at_action" | "historical_lookup" | "fixture";
2612
2612
  locator?: string | undefined;
2613
2613
  }[];
@@ -2615,14 +2615,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2615
2615
  decisionIds: string[];
2616
2616
  agentIds: string[];
2617
2617
  } | {
2618
- kind: "test_result";
2619
2618
  summary: string;
2620
2619
  status: "error" | "failed" | "passed";
2620
+ kind: "test_result";
2621
2621
  command: string;
2622
2622
  evidence: {
2623
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
2623
  id: string;
2625
2624
  label: string;
2625
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2626
2626
  capture: "at_action" | "historical_lookup" | "fixture";
2627
2627
  locator?: string | undefined;
2628
2628
  }[];
@@ -2635,9 +2635,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2635
2635
  rationale: string;
2636
2636
  statement: string;
2637
2637
  evidence: {
2638
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2639
2638
  id: string;
2640
2639
  label: string;
2640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2641
2641
  capture: "at_action" | "historical_lookup" | "fixture";
2642
2642
  locator?: string | undefined;
2643
2643
  }[];
@@ -2649,25 +2649,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2649
2649
  } | {
2650
2650
  kind: "correction_approved";
2651
2651
  evidence: {
2652
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2653
2652
  id: string;
2654
2653
  label: string;
2654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2655
2655
  capture: "at_action" | "historical_lookup" | "fixture";
2656
2656
  locator?: string | undefined;
2657
2657
  }[];
2658
2658
  correctionId: string;
2659
2659
  approvedBy: {
2660
- kind: "agent" | "human";
2661
2660
  id: string;
2662
2661
  label: string;
2662
+ kind: "agent" | "human";
2663
2663
  };
2664
2664
  note?: string | undefined;
2665
2665
  } | {
2666
2666
  kind: "decision_superseded";
2667
2667
  evidence: {
2668
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2669
2668
  id: string;
2670
2669
  label: string;
2670
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2671
2671
  capture: "at_action" | "historical_lookup" | "fixture";
2672
2672
  locator?: string | undefined;
2673
2673
  }[];
@@ -2680,9 +2680,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2680
2680
  agentId: string;
2681
2681
  sessionId: string;
2682
2682
  evidence: {
2683
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2684
2683
  id: string;
2685
2684
  label: string;
2685
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2686
2686
  capture: "at_action" | "historical_lookup" | "fixture";
2687
2687
  locator?: string | undefined;
2688
2688
  }[];
@@ -2694,9 +2694,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2694
2694
  agentId: string;
2695
2695
  sessionId: string;
2696
2696
  evidence: {
2697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2698
2697
  id: string;
2699
2698
  label: string;
2699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2700
  capture: "at_action" | "historical_lookup" | "fixture";
2701
2701
  locator?: string | undefined;
2702
2702
  }[];
@@ -2705,13 +2705,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2705
2705
  recallReceiptId: string;
2706
2706
  staleDecisionAbsent: boolean;
2707
2707
  } | {
2708
- kind: "mission_completed";
2709
2708
  summary: string;
2709
+ kind: "mission_completed";
2710
2710
  outcome: "failed" | "recovered" | "inconclusive";
2711
2711
  evidence: {
2712
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2713
2712
  id: string;
2714
2713
  label: string;
2714
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
2715
  capture: "at_action" | "historical_lookup" | "fixture";
2716
2716
  locator?: string | undefined;
2717
2717
  }[];
@@ -2721,37 +2721,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2721
2721
  objective: string;
2722
2722
  runMode: "replay" | "fixture" | "live";
2723
2723
  evidence?: {
2724
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2725
2724
  id: string;
2726
2725
  label: string;
2726
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2727
2727
  capture: "at_action" | "historical_lookup" | "fixture";
2728
2728
  locator?: string | undefined;
2729
2729
  }[] | undefined;
2730
2730
  } | {
2731
- kind: "agent_status";
2731
+ label: string;
2732
2732
  status: "failed" | "blocked" | "working" | "complete" | "idle";
2733
+ kind: "agent_status";
2733
2734
  role: string;
2734
- label: string;
2735
2735
  agentId: string;
2736
2736
  sessionId: string;
2737
2737
  detail?: string | undefined;
2738
2738
  evidence?: {
2739
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2740
2739
  id: string;
2741
2740
  label: string;
2741
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2742
2742
  capture: "at_action" | "historical_lookup" | "fixture";
2743
2743
  locator?: string | undefined;
2744
2744
  }[] | undefined;
2745
2745
  } | {
2746
- kind: "agent_output";
2747
2746
  summary: string;
2747
+ kind: "agent_output";
2748
2748
  agentId: string;
2749
2749
  sessionId: string;
2750
2750
  outputId: string;
2751
2751
  evidence?: {
2752
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2753
2752
  id: string;
2754
2753
  label: string;
2754
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2755
2755
  capture: "at_action" | "historical_lookup" | "fixture";
2756
2756
  locator?: string | undefined;
2757
2757
  }[] | undefined;
@@ -2764,37 +2764,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2764
2764
  decisionId: string;
2765
2765
  confidence?: number | undefined;
2766
2766
  evidence?: {
2767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2767
  id: string;
2769
2768
  label: string;
2769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2770
2770
  capture: "at_action" | "historical_lookup" | "fixture";
2771
2771
  locator?: string | undefined;
2772
2772
  }[] | undefined;
2773
2773
  } | {
2774
- kind: "conflict_detected";
2775
2774
  summary: string;
2775
+ kind: "conflict_detected";
2776
2776
  conflictId: string;
2777
2777
  decisionIds: string[];
2778
2778
  agentIds: string[];
2779
2779
  evidence?: {
2780
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2781
2780
  id: string;
2782
2781
  label: string;
2782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2783
  capture: "at_action" | "historical_lookup" | "fixture";
2784
2784
  locator?: string | undefined;
2785
2785
  }[] | undefined;
2786
2786
  } | {
2787
- kind: "test_result";
2788
2787
  summary: string;
2789
2788
  status: "error" | "failed" | "passed";
2789
+ kind: "test_result";
2790
2790
  command: string;
2791
2791
  decisionId: string;
2792
2792
  testId: string;
2793
2793
  durationMs?: number | undefined;
2794
2794
  evidence?: {
2795
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2796
2795
  id: string;
2797
2796
  label: string;
2797
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2798
2798
  capture: "at_action" | "historical_lookup" | "fixture";
2799
2799
  locator?: string | undefined;
2800
2800
  }[] | undefined;
@@ -2809,9 +2809,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2809
2809
  supersedesDecisionIds: string[];
2810
2810
  proposedBy: string;
2811
2811
  evidence?: {
2812
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2813
2812
  id: string;
2814
2813
  label: string;
2814
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2815
2815
  capture: "at_action" | "historical_lookup" | "fixture";
2816
2816
  locator?: string | undefined;
2817
2817
  }[] | undefined;
@@ -2819,15 +2819,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2819
2819
  kind: "correction_approved";
2820
2820
  correctionId: string;
2821
2821
  approvedBy: {
2822
- kind: "agent" | "human";
2823
2822
  id: string;
2824
2823
  label: string;
2824
+ kind: "agent" | "human";
2825
2825
  };
2826
2826
  note?: string | undefined;
2827
2827
  evidence?: {
2828
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
2828
  id: string;
2830
2829
  label: string;
2830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2831
  capture: "at_action" | "historical_lookup" | "fixture";
2832
2832
  locator?: string | undefined;
2833
2833
  }[] | undefined;
@@ -2837,9 +2837,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2837
2837
  correctionId: string;
2838
2838
  replacementDecisionId: string;
2839
2839
  evidence?: {
2840
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2841
2840
  id: string;
2842
2841
  label: string;
2842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2843
2843
  capture: "at_action" | "historical_lookup" | "fixture";
2844
2844
  locator?: string | undefined;
2845
2845
  }[] | undefined;
@@ -2852,9 +2852,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2852
2852
  recallReceiptId: string;
2853
2853
  capturedAtAction: boolean;
2854
2854
  evidence?: {
2855
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2856
2855
  id: string;
2857
2856
  label: string;
2857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
2858
  capture: "at_action" | "historical_lookup" | "fixture";
2859
2859
  locator?: string | undefined;
2860
2860
  }[] | undefined;
@@ -2867,20 +2867,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2867
2867
  recallReceiptId: string;
2868
2868
  staleDecisionAbsent: boolean;
2869
2869
  evidence?: {
2870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2871
2870
  id: string;
2872
2871
  label: string;
2872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
2873
  capture: "at_action" | "historical_lookup" | "fixture";
2874
2874
  locator?: string | undefined;
2875
2875
  }[] | undefined;
2876
2876
  } | {
2877
- kind: "mission_completed";
2878
2877
  summary: string;
2878
+ kind: "mission_completed";
2879
2879
  outcome: "failed" | "recovered" | "inconclusive";
2880
2880
  evidence?: {
2881
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2882
2881
  id: string;
2883
2882
  label: string;
2883
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2884
2884
  capture: "at_action" | "historical_lookup" | "fixture";
2885
2885
  locator?: string | undefined;
2886
2886
  }[] | undefined;
@@ -2890,38 +2890,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2890
2890
  kind: "mission_started";
2891
2891
  title: string;
2892
2892
  evidence: {
2893
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2894
2893
  id: string;
2895
2894
  label: string;
2895
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
2896
  capture: "at_action" | "historical_lookup" | "fixture";
2897
2897
  locator?: string | undefined;
2898
2898
  }[];
2899
2899
  objective: string;
2900
2900
  runMode: "replay" | "fixture" | "live";
2901
2901
  } | {
2902
- kind: "agent_status";
2902
+ label: string;
2903
2903
  status: "failed" | "blocked" | "working" | "complete" | "idle";
2904
+ kind: "agent_status";
2904
2905
  role: string;
2905
- label: string;
2906
2906
  agentId: string;
2907
2907
  sessionId: string;
2908
2908
  evidence: {
2909
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
2909
  id: string;
2911
2910
  label: string;
2911
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2912
2912
  capture: "at_action" | "historical_lookup" | "fixture";
2913
2913
  locator?: string | undefined;
2914
2914
  }[];
2915
2915
  detail?: string | undefined;
2916
2916
  } | {
2917
- kind: "agent_output";
2918
2917
  summary: string;
2918
+ kind: "agent_output";
2919
2919
  agentId: string;
2920
2920
  sessionId: string;
2921
2921
  evidence: {
2922
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2923
2922
  id: string;
2924
2923
  label: string;
2924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2925
2925
  capture: "at_action" | "historical_lookup" | "fixture";
2926
2926
  locator?: string | undefined;
2927
2927
  }[];
@@ -2932,9 +2932,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2932
2932
  statement: string;
2933
2933
  sessionId: string;
2934
2934
  evidence: {
2935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
2935
  id: string;
2937
2936
  label: string;
2937
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2938
2938
  capture: "at_action" | "historical_lookup" | "fixture";
2939
2939
  locator?: string | undefined;
2940
2940
  }[];
@@ -2942,12 +2942,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2942
2942
  decisionId: string;
2943
2943
  confidence?: number | undefined;
2944
2944
  } | {
2945
- kind: "conflict_detected";
2946
2945
  summary: string;
2946
+ kind: "conflict_detected";
2947
2947
  evidence: {
2948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
2948
  id: string;
2950
2949
  label: string;
2950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
2951
  capture: "at_action" | "historical_lookup" | "fixture";
2952
2952
  locator?: string | undefined;
2953
2953
  }[];
@@ -2955,14 +2955,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2955
  decisionIds: string[];
2956
2956
  agentIds: string[];
2957
2957
  } | {
2958
- kind: "test_result";
2959
2958
  summary: string;
2960
2959
  status: "error" | "failed" | "passed";
2960
+ kind: "test_result";
2961
2961
  command: string;
2962
2962
  evidence: {
2963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2964
2963
  id: string;
2965
2964
  label: string;
2965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2966
2966
  capture: "at_action" | "historical_lookup" | "fixture";
2967
2967
  locator?: string | undefined;
2968
2968
  }[];
@@ -2975,9 +2975,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2975
2975
  rationale: string;
2976
2976
  statement: string;
2977
2977
  evidence: {
2978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2979
2978
  id: string;
2980
2979
  label: string;
2980
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2981
2981
  capture: "at_action" | "historical_lookup" | "fixture";
2982
2982
  locator?: string | undefined;
2983
2983
  }[];
@@ -2989,25 +2989,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2989
2989
  } | {
2990
2990
  kind: "correction_approved";
2991
2991
  evidence: {
2992
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2993
2992
  id: string;
2994
2993
  label: string;
2994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2995
2995
  capture: "at_action" | "historical_lookup" | "fixture";
2996
2996
  locator?: string | undefined;
2997
2997
  }[];
2998
2998
  correctionId: string;
2999
2999
  approvedBy: {
3000
- kind: "agent" | "human";
3001
3000
  id: string;
3002
3001
  label: string;
3002
+ kind: "agent" | "human";
3003
3003
  };
3004
3004
  note?: string | undefined;
3005
3005
  } | {
3006
3006
  kind: "decision_superseded";
3007
3007
  evidence: {
3008
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3009
3008
  id: string;
3010
3009
  label: string;
3010
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3011
3011
  capture: "at_action" | "historical_lookup" | "fixture";
3012
3012
  locator?: string | undefined;
3013
3013
  }[];
@@ -3020,9 +3020,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3020
3020
  agentId: string;
3021
3021
  sessionId: string;
3022
3022
  evidence: {
3023
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3024
3023
  id: string;
3025
3024
  label: string;
3025
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3026
3026
  capture: "at_action" | "historical_lookup" | "fixture";
3027
3027
  locator?: string | undefined;
3028
3028
  }[];
@@ -3034,9 +3034,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3034
3034
  agentId: string;
3035
3035
  sessionId: string;
3036
3036
  evidence: {
3037
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3038
3037
  id: string;
3039
3038
  label: string;
3039
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
3040
  capture: "at_action" | "historical_lookup" | "fixture";
3041
3041
  locator?: string | undefined;
3042
3042
  }[];
@@ -3045,13 +3045,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3045
3045
  recallReceiptId: string;
3046
3046
  staleDecisionAbsent: boolean;
3047
3047
  } | {
3048
- kind: "mission_completed";
3049
3048
  summary: string;
3049
+ kind: "mission_completed";
3050
3050
  outcome: "failed" | "recovered" | "inconclusive";
3051
3051
  evidence: {
3052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3053
3052
  id: string;
3054
3053
  label: string;
3054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3055
3055
  capture: "at_action" | "historical_lookup" | "fixture";
3056
3056
  locator?: string | undefined;
3057
3057
  }[];
@@ -3065,37 +3065,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3065
3065
  objective: string;
3066
3066
  runMode: "replay" | "fixture" | "live";
3067
3067
  evidence?: {
3068
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3069
3068
  id: string;
3070
3069
  label: string;
3070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3071
  capture: "at_action" | "historical_lookup" | "fixture";
3072
3072
  locator?: string | undefined;
3073
3073
  }[] | undefined;
3074
3074
  } | {
3075
- kind: "agent_status";
3075
+ label: string;
3076
3076
  status: "failed" | "blocked" | "working" | "complete" | "idle";
3077
+ kind: "agent_status";
3077
3078
  role: string;
3078
- label: string;
3079
3079
  agentId: string;
3080
3080
  sessionId: string;
3081
3081
  detail?: string | undefined;
3082
3082
  evidence?: {
3083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
3083
  id: string;
3085
3084
  label: string;
3085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
3086
  capture: "at_action" | "historical_lookup" | "fixture";
3087
3087
  locator?: string | undefined;
3088
3088
  }[] | undefined;
3089
3089
  } | {
3090
- kind: "agent_output";
3091
3090
  summary: string;
3091
+ kind: "agent_output";
3092
3092
  agentId: string;
3093
3093
  sessionId: string;
3094
3094
  outputId: string;
3095
3095
  evidence?: {
3096
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3097
3096
  id: string;
3098
3097
  label: string;
3098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
3099
  capture: "at_action" | "historical_lookup" | "fixture";
3100
3100
  locator?: string | undefined;
3101
3101
  }[] | undefined;
@@ -3108,37 +3108,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3108
3108
  decisionId: string;
3109
3109
  confidence?: number | undefined;
3110
3110
  evidence?: {
3111
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
3111
  id: string;
3113
3112
  label: string;
3113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3114
3114
  capture: "at_action" | "historical_lookup" | "fixture";
3115
3115
  locator?: string | undefined;
3116
3116
  }[] | undefined;
3117
3117
  } | {
3118
- kind: "conflict_detected";
3119
3118
  summary: string;
3119
+ kind: "conflict_detected";
3120
3120
  conflictId: string;
3121
3121
  decisionIds: string[];
3122
3122
  agentIds: string[];
3123
3123
  evidence?: {
3124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3125
3124
  id: string;
3126
3125
  label: string;
3126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
3127
  capture: "at_action" | "historical_lookup" | "fixture";
3128
3128
  locator?: string | undefined;
3129
3129
  }[] | undefined;
3130
3130
  } | {
3131
- kind: "test_result";
3132
3131
  summary: string;
3133
3132
  status: "error" | "failed" | "passed";
3133
+ kind: "test_result";
3134
3134
  command: string;
3135
3135
  decisionId: string;
3136
3136
  testId: string;
3137
3137
  durationMs?: number | undefined;
3138
3138
  evidence?: {
3139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
3139
  id: string;
3141
3140
  label: string;
3141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3142
3142
  capture: "at_action" | "historical_lookup" | "fixture";
3143
3143
  locator?: string | undefined;
3144
3144
  }[] | undefined;
@@ -3153,9 +3153,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3153
3153
  supersedesDecisionIds: string[];
3154
3154
  proposedBy: string;
3155
3155
  evidence?: {
3156
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3157
3156
  id: string;
3158
3157
  label: string;
3158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3159
3159
  capture: "at_action" | "historical_lookup" | "fixture";
3160
3160
  locator?: string | undefined;
3161
3161
  }[] | undefined;
@@ -3163,15 +3163,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3163
3163
  kind: "correction_approved";
3164
3164
  correctionId: string;
3165
3165
  approvedBy: {
3166
- kind: "agent" | "human";
3167
3166
  id: string;
3168
3167
  label: string;
3168
+ kind: "agent" | "human";
3169
3169
  };
3170
3170
  note?: string | undefined;
3171
3171
  evidence?: {
3172
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3173
3172
  id: string;
3174
3173
  label: string;
3174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
3175
  capture: "at_action" | "historical_lookup" | "fixture";
3176
3176
  locator?: string | undefined;
3177
3177
  }[] | undefined;
@@ -3181,9 +3181,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3181
3181
  correctionId: string;
3182
3182
  replacementDecisionId: string;
3183
3183
  evidence?: {
3184
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3185
3184
  id: string;
3186
3185
  label: string;
3186
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3187
3187
  capture: "at_action" | "historical_lookup" | "fixture";
3188
3188
  locator?: string | undefined;
3189
3189
  }[] | undefined;
@@ -3196,9 +3196,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3196
3196
  recallReceiptId: string;
3197
3197
  capturedAtAction: boolean;
3198
3198
  evidence?: {
3199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3199
  id: string;
3201
3200
  label: string;
3201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
3202
  capture: "at_action" | "historical_lookup" | "fixture";
3203
3203
  locator?: string | undefined;
3204
3204
  }[] | undefined;
@@ -3211,20 +3211,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3211
3211
  recallReceiptId: string;
3212
3212
  staleDecisionAbsent: boolean;
3213
3213
  evidence?: {
3214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
3214
  id: string;
3216
3215
  label: string;
3216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
3217
  capture: "at_action" | "historical_lookup" | "fixture";
3218
3218
  locator?: string | undefined;
3219
3219
  }[] | undefined;
3220
3220
  } | {
3221
- kind: "mission_completed";
3222
3221
  summary: string;
3222
+ kind: "mission_completed";
3223
3223
  outcome: "failed" | "recovered" | "inconclusive";
3224
3224
  evidence?: {
3225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3226
3225
  id: string;
3227
3226
  label: string;
3227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3228
3228
  capture: "at_action" | "historical_lookup" | "fixture";
3229
3229
  locator?: string | undefined;
3230
3230
  }[] | undefined;
@@ -3254,15 +3254,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3254
3254
  locator: z.ZodOptional<z.ZodString>;
3255
3255
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3256
3256
  }, "strict", z.ZodTypeAny, {
3257
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3258
3257
  id: string;
3259
3258
  label: string;
3259
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3260
3260
  capture: "at_action" | "historical_lookup" | "fixture";
3261
3261
  locator?: string | undefined;
3262
3262
  }, {
3263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3264
3263
  id: string;
3265
3264
  label: string;
3265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3266
3266
  capture: "at_action" | "historical_lookup" | "fixture";
3267
3267
  locator?: string | undefined;
3268
3268
  }>, "many">>;
@@ -3270,9 +3270,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3270
3270
  kind: "mission_started";
3271
3271
  title: string;
3272
3272
  evidence: {
3273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3274
3273
  id: string;
3275
3274
  label: string;
3275
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3276
  capture: "at_action" | "historical_lookup" | "fixture";
3277
3277
  locator?: string | undefined;
3278
3278
  }[];
@@ -3284,9 +3284,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3284
3284
  objective: string;
3285
3285
  runMode: "replay" | "fixture" | "live";
3286
3286
  evidence?: {
3287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3288
3287
  id: string;
3289
3288
  label: string;
3289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
3290
  capture: "at_action" | "historical_lookup" | "fixture";
3291
3291
  locator?: string | undefined;
3292
3292
  }[] | undefined;
@@ -3302,15 +3302,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3302
3302
  locator: z.ZodOptional<z.ZodString>;
3303
3303
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3304
3304
  }, "strict", z.ZodTypeAny, {
3305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
3305
  id: string;
3307
3306
  label: string;
3307
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3308
  capture: "at_action" | "historical_lookup" | "fixture";
3309
3309
  locator?: string | undefined;
3310
3310
  }, {
3311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3312
3311
  id: string;
3313
3312
  label: string;
3313
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3314
3314
  capture: "at_action" | "historical_lookup" | "fixture";
3315
3315
  locator?: string | undefined;
3316
3316
  }>, "many">>;
@@ -3318,32 +3318,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3318
3318
  sessionId: z.ZodString;
3319
3319
  kind: z.ZodLiteral<"agent_status">;
3320
3320
  }, "strict", z.ZodTypeAny, {
3321
- kind: "agent_status";
3321
+ label: string;
3322
3322
  status: "failed" | "blocked" | "working" | "complete" | "idle";
3323
+ kind: "agent_status";
3323
3324
  role: string;
3324
- label: string;
3325
3325
  agentId: string;
3326
3326
  sessionId: string;
3327
3327
  evidence: {
3328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3329
3328
  id: string;
3330
3329
  label: string;
3330
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3331
3331
  capture: "at_action" | "historical_lookup" | "fixture";
3332
3332
  locator?: string | undefined;
3333
3333
  }[];
3334
3334
  detail?: string | undefined;
3335
3335
  }, {
3336
- kind: "agent_status";
3336
+ label: string;
3337
3337
  status: "failed" | "blocked" | "working" | "complete" | "idle";
3338
+ kind: "agent_status";
3338
3339
  role: string;
3339
- label: string;
3340
3340
  agentId: string;
3341
3341
  sessionId: string;
3342
3342
  detail?: string | undefined;
3343
3343
  evidence?: {
3344
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3345
3344
  id: string;
3346
3345
  label: string;
3346
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3347
3347
  capture: "at_action" | "historical_lookup" | "fixture";
3348
3348
  locator?: string | undefined;
3349
3349
  }[] | undefined;
@@ -3357,15 +3357,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3357
3357
  locator: z.ZodOptional<z.ZodString>;
3358
3358
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3359
3359
  }, "strict", z.ZodTypeAny, {
3360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3361
3360
  id: string;
3362
3361
  label: string;
3362
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3363
3363
  capture: "at_action" | "historical_lookup" | "fixture";
3364
3364
  locator?: string | undefined;
3365
3365
  }, {
3366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3367
3366
  id: string;
3368
3367
  label: string;
3368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3369
3369
  capture: "at_action" | "historical_lookup" | "fixture";
3370
3370
  locator?: string | undefined;
3371
3371
  }>, "many">>;
@@ -3373,28 +3373,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3373
3373
  sessionId: z.ZodString;
3374
3374
  kind: z.ZodLiteral<"agent_output">;
3375
3375
  }, "strict", z.ZodTypeAny, {
3376
- kind: "agent_output";
3377
3376
  summary: string;
3377
+ kind: "agent_output";
3378
3378
  agentId: string;
3379
3379
  sessionId: string;
3380
3380
  evidence: {
3381
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3382
3381
  id: string;
3383
3382
  label: string;
3383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3385
3385
  locator?: string | undefined;
3386
3386
  }[];
3387
3387
  outputId: string;
3388
3388
  }, {
3389
- kind: "agent_output";
3390
3389
  summary: string;
3390
+ kind: "agent_output";
3391
3391
  agentId: string;
3392
3392
  sessionId: string;
3393
3393
  outputId: string;
3394
3394
  evidence?: {
3395
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3396
3395
  id: string;
3397
3396
  label: string;
3397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3398
3398
  capture: "at_action" | "historical_lookup" | "fixture";
3399
3399
  locator?: string | undefined;
3400
3400
  }[] | undefined;
@@ -3410,15 +3410,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3410
3410
  locator: z.ZodOptional<z.ZodString>;
3411
3411
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3412
3412
  }, "strict", z.ZodTypeAny, {
3413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3414
3413
  id: string;
3415
3414
  label: string;
3415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3416
  capture: "at_action" | "historical_lookup" | "fixture";
3417
3417
  locator?: string | undefined;
3418
3418
  }, {
3419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3420
3419
  id: string;
3421
3420
  label: string;
3421
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3422
3422
  capture: "at_action" | "historical_lookup" | "fixture";
3423
3423
  locator?: string | undefined;
3424
3424
  }>, "many">>;
@@ -3431,9 +3431,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3431
3431
  statement: string;
3432
3432
  sessionId: string;
3433
3433
  evidence: {
3434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3435
3434
  id: string;
3436
3435
  label: string;
3436
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
3437
  capture: "at_action" | "historical_lookup" | "fixture";
3438
3438
  locator?: string | undefined;
3439
3439
  }[];
@@ -3449,9 +3449,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3449
3449
  decisionId: string;
3450
3450
  confidence?: number | undefined;
3451
3451
  evidence?: {
3452
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3453
3452
  id: string;
3454
3453
  label: string;
3454
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3455
3455
  capture: "at_action" | "historical_lookup" | "fixture";
3456
3456
  locator?: string | undefined;
3457
3457
  }[] | undefined;
@@ -3468,25 +3468,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3468
3468
  locator: z.ZodOptional<z.ZodString>;
3469
3469
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3470
3470
  }, "strict", z.ZodTypeAny, {
3471
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
3471
  id: string;
3473
3472
  label: string;
3473
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
3474
  capture: "at_action" | "historical_lookup" | "fixture";
3475
3475
  locator?: string | undefined;
3476
3476
  }, {
3477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3478
3477
  id: string;
3479
3478
  label: string;
3479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3480
3480
  capture: "at_action" | "historical_lookup" | "fixture";
3481
3481
  locator?: string | undefined;
3482
3482
  }>, "many">>;
3483
3483
  }, "strict", z.ZodTypeAny, {
3484
- kind: "conflict_detected";
3485
3484
  summary: string;
3485
+ kind: "conflict_detected";
3486
3486
  evidence: {
3487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
3487
  id: string;
3489
3488
  label: string;
3489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3490
  capture: "at_action" | "historical_lookup" | "fixture";
3491
3491
  locator?: string | undefined;
3492
3492
  }[];
@@ -3494,15 +3494,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3494
3494
  decisionIds: string[];
3495
3495
  agentIds: string[];
3496
3496
  }, {
3497
- kind: "conflict_detected";
3498
3497
  summary: string;
3498
+ kind: "conflict_detected";
3499
3499
  conflictId: string;
3500
3500
  decisionIds: string[];
3501
3501
  agentIds: string[];
3502
3502
  evidence?: {
3503
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3504
3503
  id: string;
3505
3504
  label: string;
3505
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3506
3506
  capture: "at_action" | "historical_lookup" | "fixture";
3507
3507
  locator?: string | undefined;
3508
3508
  }[] | undefined;
@@ -3522,27 +3522,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3522
3522
  locator: z.ZodOptional<z.ZodString>;
3523
3523
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3524
3524
  }, "strict", z.ZodTypeAny, {
3525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3526
3525
  id: string;
3527
3526
  label: string;
3527
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3528
3528
  capture: "at_action" | "historical_lookup" | "fixture";
3529
3529
  locator?: string | undefined;
3530
3530
  }, {
3531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
3531
  id: string;
3533
3532
  label: string;
3533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3534
3534
  capture: "at_action" | "historical_lookup" | "fixture";
3535
3535
  locator?: string | undefined;
3536
3536
  }>, "many">>;
3537
3537
  }, "strict", z.ZodTypeAny, {
3538
- kind: "test_result";
3539
3538
  summary: string;
3540
3539
  status: "error" | "failed" | "passed";
3540
+ kind: "test_result";
3541
3541
  command: string;
3542
3542
  evidence: {
3543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3544
3543
  id: string;
3545
3544
  label: string;
3545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3546
3546
  capture: "at_action" | "historical_lookup" | "fixture";
3547
3547
  locator?: string | undefined;
3548
3548
  }[];
@@ -3551,17 +3551,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3551
3551
  durationMs?: number | undefined;
3552
3552
  correctionId?: string | undefined;
3553
3553
  }, {
3554
- kind: "test_result";
3555
3554
  summary: string;
3556
3555
  status: "error" | "failed" | "passed";
3556
+ kind: "test_result";
3557
3557
  command: string;
3558
3558
  decisionId: string;
3559
3559
  testId: string;
3560
3560
  durationMs?: number | undefined;
3561
3561
  evidence?: {
3562
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3563
3562
  id: string;
3564
3563
  label: string;
3564
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
3565
  capture: "at_action" | "historical_lookup" | "fixture";
3566
3566
  locator?: string | undefined;
3567
3567
  }[] | undefined;
@@ -3582,15 +3582,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3582
3582
  locator: z.ZodOptional<z.ZodString>;
3583
3583
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3584
3584
  }, "strict", z.ZodTypeAny, {
3585
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3586
3585
  id: string;
3587
3586
  label: string;
3587
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3588
3588
  capture: "at_action" | "historical_lookup" | "fixture";
3589
3589
  locator?: string | undefined;
3590
3590
  }, {
3591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3592
3591
  id: string;
3593
3592
  label: string;
3593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3594
3594
  capture: "at_action" | "historical_lookup" | "fixture";
3595
3595
  locator?: string | undefined;
3596
3596
  }>, "many">>;
@@ -3599,9 +3599,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3599
3599
  rationale: string;
3600
3600
  statement: string;
3601
3601
  evidence: {
3602
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3603
3602
  id: string;
3604
3603
  label: string;
3604
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3605
3605
  capture: "at_action" | "historical_lookup" | "fixture";
3606
3606
  locator?: string | undefined;
3607
3607
  }[];
@@ -3620,9 +3620,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3620
3620
  supersedesDecisionIds: string[];
3621
3621
  proposedBy: string;
3622
3622
  evidence?: {
3623
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
3623
  id: string;
3625
3624
  label: string;
3625
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3626
3626
  capture: "at_action" | "historical_lookup" | "fixture";
3627
3627
  locator?: string | undefined;
3628
3628
  }[] | undefined;
@@ -3634,13 +3634,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3634
3634
  id: z.ZodString;
3635
3635
  label: z.ZodString;
3636
3636
  }, "strict", z.ZodTypeAny, {
3637
- kind: "agent" | "human";
3638
3637
  id: string;
3639
3638
  label: string;
3640
- }, {
3641
3639
  kind: "agent" | "human";
3640
+ }, {
3642
3641
  id: string;
3643
3642
  label: string;
3643
+ kind: "agent" | "human";
3644
3644
  }>;
3645
3645
  note: z.ZodOptional<z.ZodString>;
3646
3646
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3650,47 +3650,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3650
3650
  locator: z.ZodOptional<z.ZodString>;
3651
3651
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3652
3652
  }, "strict", z.ZodTypeAny, {
3653
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3654
3653
  id: string;
3655
3654
  label: string;
3655
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3656
3656
  capture: "at_action" | "historical_lookup" | "fixture";
3657
3657
  locator?: string | undefined;
3658
3658
  }, {
3659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3660
3659
  id: string;
3661
3660
  label: string;
3661
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
3662
  capture: "at_action" | "historical_lookup" | "fixture";
3663
3663
  locator?: string | undefined;
3664
3664
  }>, "many">>;
3665
3665
  }, "strict", z.ZodTypeAny, {
3666
3666
  kind: "correction_approved";
3667
3667
  evidence: {
3668
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
3668
  id: string;
3670
3669
  label: string;
3670
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3671
  capture: "at_action" | "historical_lookup" | "fixture";
3672
3672
  locator?: string | undefined;
3673
3673
  }[];
3674
3674
  correctionId: string;
3675
3675
  approvedBy: {
3676
- kind: "agent" | "human";
3677
3676
  id: string;
3678
3677
  label: string;
3678
+ kind: "agent" | "human";
3679
3679
  };
3680
3680
  note?: string | undefined;
3681
3681
  }, {
3682
3682
  kind: "correction_approved";
3683
3683
  correctionId: string;
3684
3684
  approvedBy: {
3685
- kind: "agent" | "human";
3686
3685
  id: string;
3687
3686
  label: string;
3687
+ kind: "agent" | "human";
3688
3688
  };
3689
3689
  note?: string | undefined;
3690
3690
  evidence?: {
3691
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3691
  id: string;
3693
3692
  label: string;
3693
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3694
3694
  capture: "at_action" | "historical_lookup" | "fixture";
3695
3695
  locator?: string | undefined;
3696
3696
  }[] | undefined;
@@ -3706,24 +3706,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3706
3706
  locator: z.ZodOptional<z.ZodString>;
3707
3707
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3708
3708
  }, "strict", z.ZodTypeAny, {
3709
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3710
3709
  id: string;
3711
3710
  label: string;
3711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3712
3712
  capture: "at_action" | "historical_lookup" | "fixture";
3713
3713
  locator?: string | undefined;
3714
3714
  }, {
3715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3716
3715
  id: string;
3717
3716
  label: string;
3717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3718
3718
  capture: "at_action" | "historical_lookup" | "fixture";
3719
3719
  locator?: string | undefined;
3720
3720
  }>, "many">>;
3721
3721
  }, "strict", z.ZodTypeAny, {
3722
3722
  kind: "decision_superseded";
3723
3723
  evidence: {
3724
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3725
3724
  id: string;
3726
3725
  label: string;
3726
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3727
3727
  capture: "at_action" | "historical_lookup" | "fixture";
3728
3728
  locator?: string | undefined;
3729
3729
  }[];
@@ -3736,9 +3736,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3736
3736
  correctionId: string;
3737
3737
  replacementDecisionId: string;
3738
3738
  evidence?: {
3739
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
3739
  id: string;
3741
3740
  label: string;
3741
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3742
3742
  capture: "at_action" | "historical_lookup" | "fixture";
3743
3743
  locator?: string | undefined;
3744
3744
  }[] | undefined;
@@ -3754,15 +3754,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3754
3754
  locator: z.ZodOptional<z.ZodString>;
3755
3755
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3756
3756
  }, "strict", z.ZodTypeAny, {
3757
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3758
3757
  id: string;
3759
3758
  label: string;
3759
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3760
3760
  capture: "at_action" | "historical_lookup" | "fixture";
3761
3761
  locator?: string | undefined;
3762
3762
  }, {
3763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3764
3763
  id: string;
3765
3764
  label: string;
3765
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3766
3766
  capture: "at_action" | "historical_lookup" | "fixture";
3767
3767
  locator?: string | undefined;
3768
3768
  }>, "many">>;
@@ -3775,9 +3775,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3775
3775
  agentId: string;
3776
3776
  sessionId: string;
3777
3777
  evidence: {
3778
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3778
  id: string;
3780
3779
  label: string;
3780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3781
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3782
  locator?: string | undefined;
3783
3783
  }[];
@@ -3793,9 +3793,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3793
3793
  recallReceiptId: string;
3794
3794
  capturedAtAction: boolean;
3795
3795
  evidence?: {
3796
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3797
3796
  id: string;
3798
3797
  label: string;
3798
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3799
3799
  capture: "at_action" | "historical_lookup" | "fixture";
3800
3800
  locator?: string | undefined;
3801
3801
  }[] | undefined;
@@ -3811,15 +3811,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3811
3811
  locator: z.ZodOptional<z.ZodString>;
3812
3812
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3813
3813
  }, "strict", z.ZodTypeAny, {
3814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3815
3814
  id: string;
3816
3815
  label: string;
3816
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3817
  capture: "at_action" | "historical_lookup" | "fixture";
3818
3818
  locator?: string | undefined;
3819
3819
  }, {
3820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3821
3820
  id: string;
3822
3821
  label: string;
3822
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3823
3823
  capture: "at_action" | "historical_lookup" | "fixture";
3824
3824
  locator?: string | undefined;
3825
3825
  }>, "many">>;
@@ -3831,9 +3831,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3831
3831
  agentId: string;
3832
3832
  sessionId: string;
3833
3833
  evidence: {
3834
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
3834
  id: string;
3836
3835
  label: string;
3836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3837
  capture: "at_action" | "historical_lookup" | "fixture";
3838
3838
  locator?: string | undefined;
3839
3839
  }[];
@@ -3850,9 +3850,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3850
3850
  recallReceiptId: string;
3851
3851
  staleDecisionAbsent: boolean;
3852
3852
  evidence?: {
3853
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3854
3853
  id: string;
3855
3854
  label: string;
3855
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3856
3856
  capture: "at_action" | "historical_lookup" | "fixture";
3857
3857
  locator?: string | undefined;
3858
3858
  }[] | undefined;
@@ -3867,37 +3867,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3867
3867
  locator: z.ZodOptional<z.ZodString>;
3868
3868
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3869
3869
  }, "strict", z.ZodTypeAny, {
3870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3871
3870
  id: string;
3872
3871
  label: string;
3872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3873
3873
  capture: "at_action" | "historical_lookup" | "fixture";
3874
3874
  locator?: string | undefined;
3875
3875
  }, {
3876
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3877
3876
  id: string;
3878
3877
  label: string;
3878
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3879
3879
  capture: "at_action" | "historical_lookup" | "fixture";
3880
3880
  locator?: string | undefined;
3881
3881
  }>, "many">>;
3882
3882
  }, "strict", z.ZodTypeAny, {
3883
- kind: "mission_completed";
3884
3883
  summary: string;
3884
+ kind: "mission_completed";
3885
3885
  outcome: "failed" | "recovered" | "inconclusive";
3886
3886
  evidence: {
3887
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3888
3887
  id: string;
3889
3888
  label: string;
3889
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3890
3890
  capture: "at_action" | "historical_lookup" | "fixture";
3891
3891
  locator?: string | undefined;
3892
3892
  }[];
3893
3893
  }, {
3894
- kind: "mission_completed";
3895
3894
  summary: string;
3895
+ kind: "mission_completed";
3896
3896
  outcome: "failed" | "recovered" | "inconclusive";
3897
3897
  evidence?: {
3898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
3898
  id: string;
3900
3899
  label: string;
3900
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
3901
  capture: "at_action" | "historical_lookup" | "fixture";
3902
3902
  locator?: string | undefined;
3903
3903
  }[] | undefined;
@@ -3905,38 +3905,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3905
3905
  kind: "mission_started";
3906
3906
  title: string;
3907
3907
  evidence: {
3908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3909
3908
  id: string;
3910
3909
  label: string;
3910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3911
3911
  capture: "at_action" | "historical_lookup" | "fixture";
3912
3912
  locator?: string | undefined;
3913
3913
  }[];
3914
3914
  objective: string;
3915
3915
  runMode: "replay" | "fixture" | "live";
3916
3916
  } | {
3917
- kind: "agent_status";
3917
+ label: string;
3918
3918
  status: "failed" | "blocked" | "working" | "complete" | "idle";
3919
+ kind: "agent_status";
3919
3920
  role: string;
3920
- label: string;
3921
3921
  agentId: string;
3922
3922
  sessionId: string;
3923
3923
  evidence: {
3924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3925
3924
  id: string;
3926
3925
  label: string;
3926
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3927
3927
  capture: "at_action" | "historical_lookup" | "fixture";
3928
3928
  locator?: string | undefined;
3929
3929
  }[];
3930
3930
  detail?: string | undefined;
3931
3931
  } | {
3932
- kind: "agent_output";
3933
3932
  summary: string;
3933
+ kind: "agent_output";
3934
3934
  agentId: string;
3935
3935
  sessionId: string;
3936
3936
  evidence: {
3937
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3938
3937
  id: string;
3939
3938
  label: string;
3939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
3940
  capture: "at_action" | "historical_lookup" | "fixture";
3941
3941
  locator?: string | undefined;
3942
3942
  }[];
@@ -3947,9 +3947,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3947
3947
  statement: string;
3948
3948
  sessionId: string;
3949
3949
  evidence: {
3950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3950
  id: string;
3952
3951
  label: string;
3952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3954
3954
  locator?: string | undefined;
3955
3955
  }[];
@@ -3957,12 +3957,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3957
3957
  decisionId: string;
3958
3958
  confidence?: number | undefined;
3959
3959
  } | {
3960
- kind: "conflict_detected";
3961
3960
  summary: string;
3961
+ kind: "conflict_detected";
3962
3962
  evidence: {
3963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3964
3963
  id: string;
3965
3964
  label: string;
3965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3966
  capture: "at_action" | "historical_lookup" | "fixture";
3967
3967
  locator?: string | undefined;
3968
3968
  }[];
@@ -3970,14 +3970,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3970
3970
  decisionIds: string[];
3971
3971
  agentIds: string[];
3972
3972
  } | {
3973
- kind: "test_result";
3974
3973
  summary: string;
3975
3974
  status: "error" | "failed" | "passed";
3975
+ kind: "test_result";
3976
3976
  command: string;
3977
3977
  evidence: {
3978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
3978
  id: string;
3980
3979
  label: string;
3980
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3981
3981
  capture: "at_action" | "historical_lookup" | "fixture";
3982
3982
  locator?: string | undefined;
3983
3983
  }[];
@@ -3990,9 +3990,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3990
3990
  rationale: string;
3991
3991
  statement: string;
3992
3992
  evidence: {
3993
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3994
3993
  id: string;
3995
3994
  label: string;
3995
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3996
3996
  capture: "at_action" | "historical_lookup" | "fixture";
3997
3997
  locator?: string | undefined;
3998
3998
  }[];
@@ -4004,25 +4004,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4004
4004
  } | {
4005
4005
  kind: "correction_approved";
4006
4006
  evidence: {
4007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4008
4007
  id: string;
4009
4008
  label: string;
4009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4010
4010
  capture: "at_action" | "historical_lookup" | "fixture";
4011
4011
  locator?: string | undefined;
4012
4012
  }[];
4013
4013
  correctionId: string;
4014
4014
  approvedBy: {
4015
- kind: "agent" | "human";
4016
4015
  id: string;
4017
4016
  label: string;
4017
+ kind: "agent" | "human";
4018
4018
  };
4019
4019
  note?: string | undefined;
4020
4020
  } | {
4021
4021
  kind: "decision_superseded";
4022
4022
  evidence: {
4023
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4024
4023
  id: string;
4025
4024
  label: string;
4025
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4026
4026
  capture: "at_action" | "historical_lookup" | "fixture";
4027
4027
  locator?: string | undefined;
4028
4028
  }[];
@@ -4035,9 +4035,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4035
4035
  agentId: string;
4036
4036
  sessionId: string;
4037
4037
  evidence: {
4038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4039
4038
  id: string;
4040
4039
  label: string;
4040
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4041
4041
  capture: "at_action" | "historical_lookup" | "fixture";
4042
4042
  locator?: string | undefined;
4043
4043
  }[];
@@ -4049,9 +4049,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4049
4049
  agentId: string;
4050
4050
  sessionId: string;
4051
4051
  evidence: {
4052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4053
4052
  id: string;
4054
4053
  label: string;
4054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4055
  capture: "at_action" | "historical_lookup" | "fixture";
4056
4056
  locator?: string | undefined;
4057
4057
  }[];
@@ -4060,13 +4060,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4060
4060
  recallReceiptId: string;
4061
4061
  staleDecisionAbsent: boolean;
4062
4062
  } | {
4063
- kind: "mission_completed";
4064
4063
  summary: string;
4064
+ kind: "mission_completed";
4065
4065
  outcome: "failed" | "recovered" | "inconclusive";
4066
4066
  evidence: {
4067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4068
4067
  id: string;
4069
4068
  label: string;
4069
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
4070
  capture: "at_action" | "historical_lookup" | "fixture";
4071
4071
  locator?: string | undefined;
4072
4072
  }[];
@@ -4076,37 +4076,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4076
4076
  objective: string;
4077
4077
  runMode: "replay" | "fixture" | "live";
4078
4078
  evidence?: {
4079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4080
4079
  id: string;
4081
4080
  label: string;
4081
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4082
4082
  capture: "at_action" | "historical_lookup" | "fixture";
4083
4083
  locator?: string | undefined;
4084
4084
  }[] | undefined;
4085
4085
  } | {
4086
- kind: "agent_status";
4086
+ label: string;
4087
4087
  status: "failed" | "blocked" | "working" | "complete" | "idle";
4088
+ kind: "agent_status";
4088
4089
  role: string;
4089
- label: string;
4090
4090
  agentId: string;
4091
4091
  sessionId: string;
4092
4092
  detail?: string | undefined;
4093
4093
  evidence?: {
4094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4095
4094
  id: string;
4096
4095
  label: string;
4096
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4097
4097
  capture: "at_action" | "historical_lookup" | "fixture";
4098
4098
  locator?: string | undefined;
4099
4099
  }[] | undefined;
4100
4100
  } | {
4101
- kind: "agent_output";
4102
4101
  summary: string;
4102
+ kind: "agent_output";
4103
4103
  agentId: string;
4104
4104
  sessionId: string;
4105
4105
  outputId: string;
4106
4106
  evidence?: {
4107
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4108
4107
  id: string;
4109
4108
  label: string;
4109
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4110
4110
  capture: "at_action" | "historical_lookup" | "fixture";
4111
4111
  locator?: string | undefined;
4112
4112
  }[] | undefined;
@@ -4119,37 +4119,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4119
4119
  decisionId: string;
4120
4120
  confidence?: number | undefined;
4121
4121
  evidence?: {
4122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4122
  id: string;
4124
4123
  label: string;
4124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4125
4125
  capture: "at_action" | "historical_lookup" | "fixture";
4126
4126
  locator?: string | undefined;
4127
4127
  }[] | undefined;
4128
4128
  } | {
4129
- kind: "conflict_detected";
4130
4129
  summary: string;
4130
+ kind: "conflict_detected";
4131
4131
  conflictId: string;
4132
4132
  decisionIds: string[];
4133
4133
  agentIds: string[];
4134
4134
  evidence?: {
4135
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4136
4135
  id: string;
4137
4136
  label: string;
4137
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4138
  capture: "at_action" | "historical_lookup" | "fixture";
4139
4139
  locator?: string | undefined;
4140
4140
  }[] | undefined;
4141
4141
  } | {
4142
- kind: "test_result";
4143
4142
  summary: string;
4144
4143
  status: "error" | "failed" | "passed";
4144
+ kind: "test_result";
4145
4145
  command: string;
4146
4146
  decisionId: string;
4147
4147
  testId: string;
4148
4148
  durationMs?: number | undefined;
4149
4149
  evidence?: {
4150
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4151
4150
  id: string;
4152
4151
  label: string;
4152
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4153
4153
  capture: "at_action" | "historical_lookup" | "fixture";
4154
4154
  locator?: string | undefined;
4155
4155
  }[] | undefined;
@@ -4164,9 +4164,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4164
4164
  supersedesDecisionIds: string[];
4165
4165
  proposedBy: string;
4166
4166
  evidence?: {
4167
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4168
4167
  id: string;
4169
4168
  label: string;
4169
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4170
4170
  capture: "at_action" | "historical_lookup" | "fixture";
4171
4171
  locator?: string | undefined;
4172
4172
  }[] | undefined;
@@ -4174,15 +4174,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4174
4174
  kind: "correction_approved";
4175
4175
  correctionId: string;
4176
4176
  approvedBy: {
4177
- kind: "agent" | "human";
4178
4177
  id: string;
4179
4178
  label: string;
4179
+ kind: "agent" | "human";
4180
4180
  };
4181
4181
  note?: string | undefined;
4182
4182
  evidence?: {
4183
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
4183
  id: string;
4185
4184
  label: string;
4185
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4186
  capture: "at_action" | "historical_lookup" | "fixture";
4187
4187
  locator?: string | undefined;
4188
4188
  }[] | undefined;
@@ -4192,9 +4192,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4192
4192
  correctionId: string;
4193
4193
  replacementDecisionId: string;
4194
4194
  evidence?: {
4195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4196
4195
  id: string;
4197
4196
  label: string;
4197
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4198
4198
  capture: "at_action" | "historical_lookup" | "fixture";
4199
4199
  locator?: string | undefined;
4200
4200
  }[] | undefined;
@@ -4207,9 +4207,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4207
4207
  recallReceiptId: string;
4208
4208
  capturedAtAction: boolean;
4209
4209
  evidence?: {
4210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4211
4210
  id: string;
4212
4211
  label: string;
4212
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
4213
  capture: "at_action" | "historical_lookup" | "fixture";
4214
4214
  locator?: string | undefined;
4215
4215
  }[] | undefined;
@@ -4222,63 +4222,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4222
4222
  recallReceiptId: string;
4223
4223
  staleDecisionAbsent: boolean;
4224
4224
  evidence?: {
4225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4226
4225
  id: string;
4227
4226
  label: string;
4227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
4228
  capture: "at_action" | "historical_lookup" | "fixture";
4229
4229
  locator?: string | undefined;
4230
4230
  }[] | undefined;
4231
4231
  } | {
4232
- kind: "mission_completed";
4233
4232
  summary: string;
4233
+ kind: "mission_completed";
4234
4234
  outcome: "failed" | "recovered" | "inconclusive";
4235
4235
  evidence?: {
4236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4237
4236
  id: string;
4238
4237
  label: string;
4238
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4239
4239
  capture: "at_action" | "historical_lookup" | "fixture";
4240
4240
  locator?: string | undefined;
4241
4241
  }[] | undefined;
4242
4242
  }>;
4243
4243
  }, "strict", z.ZodTypeAny, {
4244
- schemaVersion: "1";
4244
+ namespace: string;
4245
4245
  recordedAt: string;
4246
+ schemaVersion: "1";
4246
4247
  payload: {
4247
4248
  kind: "mission_started";
4248
4249
  title: string;
4249
4250
  evidence: {
4250
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4251
4251
  id: string;
4252
4252
  label: string;
4253
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
4254
  capture: "at_action" | "historical_lookup" | "fixture";
4254
4255
  locator?: string | undefined;
4255
4256
  }[];
4256
4257
  objective: string;
4257
4258
  runMode: "replay" | "fixture" | "live";
4258
4259
  } | {
4259
- kind: "agent_status";
4260
+ label: string;
4260
4261
  status: "failed" | "blocked" | "working" | "complete" | "idle";
4262
+ kind: "agent_status";
4261
4263
  role: string;
4262
- label: string;
4263
4264
  agentId: string;
4264
4265
  sessionId: string;
4265
4266
  evidence: {
4266
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4267
4267
  id: string;
4268
4268
  label: string;
4269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4269
4270
  capture: "at_action" | "historical_lookup" | "fixture";
4270
4271
  locator?: string | undefined;
4271
4272
  }[];
4272
4273
  detail?: string | undefined;
4273
4274
  } | {
4274
- kind: "agent_output";
4275
4275
  summary: string;
4276
+ kind: "agent_output";
4276
4277
  agentId: string;
4277
4278
  sessionId: string;
4278
4279
  evidence: {
4279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4280
4280
  id: string;
4281
4281
  label: string;
4282
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4282
4283
  capture: "at_action" | "historical_lookup" | "fixture";
4283
4284
  locator?: string | undefined;
4284
4285
  }[];
@@ -4289,9 +4290,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4289
4290
  statement: string;
4290
4291
  sessionId: string;
4291
4292
  evidence: {
4292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4293
4293
  id: string;
4294
4294
  label: string;
4295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4295
4296
  capture: "at_action" | "historical_lookup" | "fixture";
4296
4297
  locator?: string | undefined;
4297
4298
  }[];
@@ -4299,12 +4300,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4299
4300
  decisionId: string;
4300
4301
  confidence?: number | undefined;
4301
4302
  } | {
4302
- kind: "conflict_detected";
4303
4303
  summary: string;
4304
+ kind: "conflict_detected";
4304
4305
  evidence: {
4305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
4306
  id: string;
4307
4307
  label: string;
4308
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4308
4309
  capture: "at_action" | "historical_lookup" | "fixture";
4309
4310
  locator?: string | undefined;
4310
4311
  }[];
@@ -4312,14 +4313,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4313
  decisionIds: string[];
4313
4314
  agentIds: string[];
4314
4315
  } | {
4315
- kind: "test_result";
4316
4316
  summary: string;
4317
4317
  status: "error" | "failed" | "passed";
4318
+ kind: "test_result";
4318
4319
  command: string;
4319
4320
  evidence: {
4320
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4321
4321
  id: string;
4322
4322
  label: string;
4323
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4324
  capture: "at_action" | "historical_lookup" | "fixture";
4324
4325
  locator?: string | undefined;
4325
4326
  }[];
@@ -4332,9 +4333,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4332
4333
  rationale: string;
4333
4334
  statement: string;
4334
4335
  evidence: {
4335
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4336
4336
  id: string;
4337
4337
  label: string;
4338
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
4339
  capture: "at_action" | "historical_lookup" | "fixture";
4339
4340
  locator?: string | undefined;
4340
4341
  }[];
@@ -4346,25 +4347,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4346
4347
  } | {
4347
4348
  kind: "correction_approved";
4348
4349
  evidence: {
4349
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4350
4350
  id: string;
4351
4351
  label: string;
4352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4352
4353
  capture: "at_action" | "historical_lookup" | "fixture";
4353
4354
  locator?: string | undefined;
4354
4355
  }[];
4355
4356
  correctionId: string;
4356
4357
  approvedBy: {
4357
- kind: "agent" | "human";
4358
4358
  id: string;
4359
4359
  label: string;
4360
+ kind: "agent" | "human";
4360
4361
  };
4361
4362
  note?: string | undefined;
4362
4363
  } | {
4363
4364
  kind: "decision_superseded";
4364
4365
  evidence: {
4365
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4366
4366
  id: string;
4367
4367
  label: string;
4368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4368
4369
  capture: "at_action" | "historical_lookup" | "fixture";
4369
4370
  locator?: string | undefined;
4370
4371
  }[];
@@ -4377,9 +4378,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4377
4378
  agentId: string;
4378
4379
  sessionId: string;
4379
4380
  evidence: {
4380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4381
4381
  id: string;
4382
4382
  label: string;
4383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4384
  capture: "at_action" | "historical_lookup" | "fixture";
4384
4385
  locator?: string | undefined;
4385
4386
  }[];
@@ -4391,9 +4392,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4391
4392
  agentId: string;
4392
4393
  sessionId: string;
4393
4394
  evidence: {
4394
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4395
4395
  id: string;
4396
4396
  label: string;
4397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4397
4398
  capture: "at_action" | "historical_lookup" | "fixture";
4398
4399
  locator?: string | undefined;
4399
4400
  }[];
@@ -4402,63 +4403,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4402
4403
  recallReceiptId: string;
4403
4404
  staleDecisionAbsent: boolean;
4404
4405
  } | {
4405
- kind: "mission_completed";
4406
4406
  summary: string;
4407
+ kind: "mission_completed";
4407
4408
  outcome: "failed" | "recovered" | "inconclusive";
4408
4409
  evidence: {
4409
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4410
4410
  id: string;
4411
4411
  label: string;
4412
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4413
  capture: "at_action" | "historical_lookup" | "fixture";
4413
4414
  locator?: string | undefined;
4414
4415
  }[];
4415
4416
  };
4416
- namespace: string;
4417
4417
  eventId: string;
4418
4418
  occurredAt: string;
4419
4419
  missionId: string;
4420
4420
  authenticatedPrincipal?: string | undefined;
4421
4421
  idempotencyKey?: string | undefined;
4422
4422
  }, {
4423
- schemaVersion: "1";
4423
+ namespace: string;
4424
4424
  recordedAt: string;
4425
+ schemaVersion: "1";
4425
4426
  payload: {
4426
4427
  kind: "mission_started";
4427
4428
  title: string;
4428
4429
  objective: string;
4429
4430
  runMode: "replay" | "fixture" | "live";
4430
4431
  evidence?: {
4431
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4432
4432
  id: string;
4433
4433
  label: string;
4434
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4434
4435
  capture: "at_action" | "historical_lookup" | "fixture";
4435
4436
  locator?: string | undefined;
4436
4437
  }[] | undefined;
4437
4438
  } | {
4438
- kind: "agent_status";
4439
+ label: string;
4439
4440
  status: "failed" | "blocked" | "working" | "complete" | "idle";
4441
+ kind: "agent_status";
4440
4442
  role: string;
4441
- label: string;
4442
4443
  agentId: string;
4443
4444
  sessionId: string;
4444
4445
  detail?: string | undefined;
4445
4446
  evidence?: {
4446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4447
4447
  id: string;
4448
4448
  label: string;
4449
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4449
4450
  capture: "at_action" | "historical_lookup" | "fixture";
4450
4451
  locator?: string | undefined;
4451
4452
  }[] | undefined;
4452
4453
  } | {
4453
- kind: "agent_output";
4454
4454
  summary: string;
4455
+ kind: "agent_output";
4455
4456
  agentId: string;
4456
4457
  sessionId: string;
4457
4458
  outputId: string;
4458
4459
  evidence?: {
4459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
4460
  id: string;
4461
4461
  label: string;
4462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
4463
  capture: "at_action" | "historical_lookup" | "fixture";
4463
4464
  locator?: string | undefined;
4464
4465
  }[] | undefined;
@@ -4471,37 +4472,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4471
4472
  decisionId: string;
4472
4473
  confidence?: number | undefined;
4473
4474
  evidence?: {
4474
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4475
  id: string;
4476
4476
  label: string;
4477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4477
4478
  capture: "at_action" | "historical_lookup" | "fixture";
4478
4479
  locator?: string | undefined;
4479
4480
  }[] | undefined;
4480
4481
  } | {
4481
- kind: "conflict_detected";
4482
4482
  summary: string;
4483
+ kind: "conflict_detected";
4483
4484
  conflictId: string;
4484
4485
  decisionIds: string[];
4485
4486
  agentIds: string[];
4486
4487
  evidence?: {
4487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4488
  id: string;
4489
4489
  label: string;
4490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4492
  locator?: string | undefined;
4492
4493
  }[] | undefined;
4493
4494
  } | {
4494
- kind: "test_result";
4495
4495
  summary: string;
4496
4496
  status: "error" | "failed" | "passed";
4497
+ kind: "test_result";
4497
4498
  command: string;
4498
4499
  decisionId: string;
4499
4500
  testId: string;
4500
4501
  durationMs?: number | undefined;
4501
4502
  evidence?: {
4502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4503
4503
  id: string;
4504
4504
  label: string;
4505
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4505
4506
  capture: "at_action" | "historical_lookup" | "fixture";
4506
4507
  locator?: string | undefined;
4507
4508
  }[] | undefined;
@@ -4516,9 +4517,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4516
4517
  supersedesDecisionIds: string[];
4517
4518
  proposedBy: string;
4518
4519
  evidence?: {
4519
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4520
4520
  id: string;
4521
4521
  label: string;
4522
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4522
4523
  capture: "at_action" | "historical_lookup" | "fixture";
4523
4524
  locator?: string | undefined;
4524
4525
  }[] | undefined;
@@ -4526,15 +4527,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4526
4527
  kind: "correction_approved";
4527
4528
  correctionId: string;
4528
4529
  approvedBy: {
4529
- kind: "agent" | "human";
4530
4530
  id: string;
4531
4531
  label: string;
4532
+ kind: "agent" | "human";
4532
4533
  };
4533
4534
  note?: string | undefined;
4534
4535
  evidence?: {
4535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4536
4536
  id: string;
4537
4537
  label: string;
4538
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
4539
  capture: "at_action" | "historical_lookup" | "fixture";
4539
4540
  locator?: string | undefined;
4540
4541
  }[] | undefined;
@@ -4544,9 +4545,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4544
4545
  correctionId: string;
4545
4546
  replacementDecisionId: string;
4546
4547
  evidence?: {
4547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4548
4548
  id: string;
4549
4549
  label: string;
4550
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4550
4551
  capture: "at_action" | "historical_lookup" | "fixture";
4551
4552
  locator?: string | undefined;
4552
4553
  }[] | undefined;
@@ -4559,9 +4560,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4559
4560
  recallReceiptId: string;
4560
4561
  capturedAtAction: boolean;
4561
4562
  evidence?: {
4562
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4563
4563
  id: string;
4564
4564
  label: string;
4565
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
4566
  capture: "at_action" | "historical_lookup" | "fixture";
4566
4567
  locator?: string | undefined;
4567
4568
  }[] | undefined;
@@ -4574,25 +4575,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4574
4575
  recallReceiptId: string;
4575
4576
  staleDecisionAbsent: boolean;
4576
4577
  evidence?: {
4577
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4578
4578
  id: string;
4579
4579
  label: string;
4580
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
4581
  capture: "at_action" | "historical_lookup" | "fixture";
4581
4582
  locator?: string | undefined;
4582
4583
  }[] | undefined;
4583
4584
  } | {
4584
- kind: "mission_completed";
4585
4585
  summary: string;
4586
+ kind: "mission_completed";
4586
4587
  outcome: "failed" | "recovered" | "inconclusive";
4587
4588
  evidence?: {
4588
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4589
4589
  id: string;
4590
4590
  label: string;
4591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
4592
  capture: "at_action" | "historical_lookup" | "fixture";
4592
4593
  locator?: string | undefined;
4593
4594
  }[] | undefined;
4594
4595
  };
4595
- namespace: string;
4596
4596
  eventId: string;
4597
4597
  occurredAt: string;
4598
4598
  missionId: string;